/* ==============================================
   SERWIS INFORMACYJNY v3 — Katowice
   Nowoczesny, jasny, SEO-friendly, 2030-ready
   ============================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Kolory */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --primary-50: #eff6ff;
    --accent: #f59e0b;
    --accent-light: #fef3c7;
    --success: #10b981;
    --danger: #ef4444;

    --text: #1a1f36;
    --text-secondary: #5e6687;
    --text-muted: #8e94ab;
    --bg: #f7f8fb;
    --bg-alt: #f0f2f7;
    --bg-card: #ffffff;
    --border: #e4e7ef;
    --border-light: #eef0f6;

    /* Cienie */
    --shadow-xs: 0 1px 2px rgba(30,41,89,.04);
    --shadow-sm: 0 1px 3px rgba(30,41,89,.06), 0 1px 2px rgba(30,41,89,.04);
    --shadow-md: 0 4px 12px rgba(30,41,89,.07);
    --shadow-lg: 0 8px 24px rgba(30,41,89,.09);
    --shadow-xl: 0 16px 40px rgba(30,41,89,.12);

    /* Zaokrąglenia */
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Fonty */
    --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Outfit', 'DM Sans', sans-serif;

    /* Layout */
    --max-w: 1280px;
    --transition: .22s cubic-bezier(.4, 0, .2, 1);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.2; color: var(--text); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* === ANIMACJE === */
.anim {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .5s ease, transform .5s ease;
}
.anim.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === PRZYCISKI === */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; font-weight: 600; font-size: .9rem;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    border: 2px solid transparent;
    letter-spacing: -.01em;
    white-space: nowrap;
}
.btn--primary {
    background: var(--primary); color: #fff; border-color: var(--primary);
}
.btn--primary:hover {
    background: var(--primary-dark); border-color: var(--primary-dark); color: #fff;
    transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.btn--outline {
    background: var(--bg-card); color: var(--text); border-color: var(--border);
}
.btn--outline:hover {
    border-color: var(--primary); color: var(--primary); background: var(--primary-50);
}

/* ======================================
   HEADER
   ====================================== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(228,231,239,.6);
    transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled {
    background: rgba(255,255,255,.95);
    box-shadow: var(--shadow-sm);
}
.header__inner {
    max-width: var(--max-w); margin: 0 auto;
    display: flex; align-items: center; gap: 16px;
    padding: 0 24px; height: 64px;
}
.header__brand {
    display: flex; align-items: center; gap: 10px;
    color: var(--text); text-decoration: none; flex-shrink: 0;
}
.header__brand > div {
    display: flex; flex-direction: column; justify-content: center;
    line-height: 1;
}
.header__herb { width: auto; height: 38px; display: block; }
.header__city {
    font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
    line-height: 1; letter-spacing: -.025em;
    color: var(--text-primary);
    display: block;
}
.header__sub {
    font-size: .62rem; font-weight: 700;
    color: var(--primary, var(--accent));
    letter-spacing: .22em; text-transform: uppercase;
    margin-top: 3px;
    display: block;
}

.header__nav {
    display: flex; align-items: center; gap: 4px; margin-left: auto;
}
.header__nav a {
    padding: 6px 14px; font-size: .875rem; font-weight: 500;
    color: var(--text-secondary); border-radius: var(--radius-full);
    transition: all var(--transition);
}
.header__nav a:hover, .header__nav a.active {
    color: var(--primary); background: var(--primary-50);
}

.header__right { display: flex; align-items: center; gap: 12px; margin-left: 16px; }

.header__weather {
    display: flex; align-items: center; gap: 6px;
    padding: 5px 12px; font-size: .82rem; font-weight: 600;
    color: var(--text-secondary); background: var(--bg-alt);
    border-radius: var(--radius-full); transition: all var(--transition);
}
.header__weather:hover { background: var(--primary-50); color: var(--primary); }
.header__weather i { color: var(--accent); }

.header__burger {
    display: none; flex-direction: column; gap: 5px;
    width: 36px; height: 36px; align-items: center; justify-content: center;
    border-radius: var(--radius); padding: 6px;
}
.header__burger span {
    display: block; width: 20px; height: 2px;
    background: var(--text); border-radius: 2px;
    transition: all .3s ease;
}

/* ======================================
   HERO
   ====================================== */
.hero {
    position: relative; min-height: 85vh;
    display: flex; align-items: center; justify-content: center;
    padding: 100px 24px 60px; overflow: hidden;
}
.hero__bg {
    position: absolute; inset: 0; z-index: 0;
}
.hero__bg img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center 40%;
    filter: saturate(1.15) brightness(1.05);
}
.hero__overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        radial-gradient(ellipse 80% 50% at 50% 45%, rgba(15, 23, 42, .52) 0%, transparent 70%),
        linear-gradient(to bottom, rgba(15, 23, 42, .15) 0%, rgba(15, 23, 42, .08) 25%, rgba(15, 23, 42, .30) 55%, rgba(15, 23, 42, .62) 85%, rgba(15, 23, 42, .70) 100%);
}
.hero__content {
    position: relative; z-index: 2;
    max-width: 780px; text-align: center; color: #fff;
}
.hero__badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; font-size: .78rem; font-weight: 600;
    background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius-full); margin-bottom: 24px;
    letter-spacing: .02em;
}
.hero__badge i { color: var(--accent); }

.hero h1 {
    font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 800; line-height: 1.05; margin-bottom: 16px;
    letter-spacing: -.03em; color: #fff;
}
.hero h1 span {
    display: block; font-weight: 500; font-size: .52em;
    opacity: .85; letter-spacing: -.01em; margin-top: 4px;
}
.hero__desc {
    font-size: 1.05rem; line-height: 1.6; opacity: .88;
    max-width: 600px; margin: 0 auto 32px;
}

/* Wyszukiwarka w hero */
.hero__search { margin-bottom: 32px; }
.hero__search-box {
    display: flex; align-items: center;
    background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
    border-radius: var(--radius-xl); padding: 6px 6px 6px 20px;
    max-width: 600px; margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0,0,0,.15);
}
.hero__search-box i { color: var(--text-muted); font-size: 1rem; flex-shrink: 0; }
.hero__search-box input {
    flex: 1; border: none; background: transparent; outline: none;
    padding: 12px 12px; font-size: .95rem; color: var(--text);
    min-width: 0;
}
.hero__search-box input::placeholder { color: var(--text-muted); }
.hero__search-btn {
    background: var(--primary); color: #fff;
    padding: 12px 28px; border: none; border-radius: 18px;
    font-weight: 600; font-size: .9rem; cursor: pointer;
    transition: background var(--transition);
    flex-shrink: 0;
}
.hero__search-btn:hover { background: var(--primary-dark); }

.hero__search-tags {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; margin-top: 12px; flex-wrap: wrap;
    font-size: .8rem;
}
.hero__search-tags span { color: rgba(255,255,255,.5); }
.hero__search-tags a {
    color: rgba(255,255,255,.7); padding: 3px 10px;
    background: rgba(255,255,255,.1); border-radius: var(--radius-full);
    transition: all var(--transition);
}
.hero__search-tags a:hover { background: rgba(255,255,255,.2); color: #fff; }

.hero__stats {
    display: flex; justify-content: center; gap: 40px;
}
.hero__stat { text-align: center; }
.hero__stat strong {
    display: block; font-family: var(--font-display); font-size: 1.25rem;
    font-weight: 700;
}
.hero__stat span { font-size: .78rem; opacity: .6; text-transform: uppercase; letter-spacing: .04em; }

/* ======================================
   SZYBKI DOSTĘP
   ====================================== */
.quick-access {
    position: relative; z-index: 10; margin-top: -40px; padding-bottom: 24px;
}
.quick-access__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 8px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
}
.quick-access__item {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 12px 4px; border-radius: var(--radius);
    color: var(--text-secondary); font-size: .72rem; font-weight: 500;
    text-align: center; transition: all var(--transition);
    line-height: 1.2;
}
.quick-access__item:hover {
    background: var(--primary-50); color: var(--primary);
}
.quick-access__icon {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-alt); border-radius: var(--radius);
    font-size: 1rem; color: var(--primary);
    transition: all var(--transition);
}
.quick-access__item:hover .quick-access__icon {
    background: var(--primary); color: #fff;
}

/* ======================================
   SEKCJE
   ====================================== */
.section { padding: 56px 0; }
.section--alt { background: var(--bg-alt); }
.section--categories { padding-top: 40px; }

.section__head {
    text-align: center; margin-bottom: 40px;
}
.section__head h2 {
    font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700;
    margin-bottom: 8px; letter-spacing: -.02em;
}
.section__head p {
    color: var(--text-secondary); font-size: .95rem; max-width: 500px; margin: 0 auto;
}
.section__cta {
    display: flex; justify-content: center; gap: 12px;
    margin-top: 36px; flex-wrap: wrap;
}

/* ======================================
   KATEGORIE GRID
   ====================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.cat-card {
    display: flex; flex-direction: column; gap: 10px;
    padding: 24px 20px;
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    color: var(--text); transition: all var(--transition);
    text-decoration: none;
}
.cat-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    color: var(--text);
}
.cat-card__icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--cat-clr) 10%, transparent);
    color: var(--cat-clr);
    border-radius: var(--radius); font-size: 1.2rem;
    transition: all var(--transition);
}
.cat-card:hover .cat-card__icon {
    background: var(--cat-clr); color: #fff;
}
.cat-card h3 { font-size: .95rem; font-weight: 700; }
.cat-card p { font-size: .8rem; color: var(--text-secondary); line-height: 1.4; }
.cat-card__count {
    font-size: .72rem; font-weight: 600; color: var(--text-muted);
    margin-top: auto; padding-top: 4px;
}

/* ======================================
   FIRMY
   ====================================== */
.firms-tags {
    display: flex; gap: 6px; justify-content: center;
    margin-bottom: 28px; flex-wrap: wrap;
}
.firms-tags button {
    padding: 7px 18px; font-size: .82rem; font-weight: 500;
    background: var(--bg-alt); border-radius: var(--radius-full);
    color: var(--text-secondary); border: 1px solid transparent;
    transition: all var(--transition);
}
.firms-tags button:hover { border-color: var(--primary-light); color: var(--primary); }
.firms-tags button.active {
    background: var(--primary); color: #fff; border-color: var(--primary);
}

.firms-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.firm-card {
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--radius-lg); padding: 24px;
    transition: all var(--transition); position: relative; overflow: hidden;
}
.firm-card:hover {
    border-color: var(--primary-light); box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.firm-card__badge {
    position: absolute; top: 16px; right: 16px;
    font-size: .68rem; font-weight: 600; padding: 3px 10px;
    background: var(--primary-50); color: var(--primary);
    border-radius: var(--radius-full);
}
.firm-card__header {
    display: flex; align-items: center; gap: 14px; margin-bottom: 12px;
}
.firm-card__logo {
    width: 48px; height: 48px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-alt); border-radius: var(--radius);
    color: var(--primary); font-size: 1.15rem;
}
.firm-card__header h3 { font-size: .95rem; font-weight: 700; }
.firm-card__rating {
    display: flex; align-items: center; gap: 2px;
    color: var(--accent); font-size: .72rem; margin-top: 2px;
}
.firm-card__rating span { color: var(--text-muted); margin-left: 4px; }
.firm-card p { font-size: .84rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 14px; }
.firm-card__meta {
    display: flex; flex-direction: column; gap: 4px;
    font-size: .78rem; color: var(--text-muted);
}
.firm-card__meta i { width: 16px; text-align: center; color: var(--text-muted); }

/* ======================================
   ATRAKCJE
   ====================================== */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto auto auto;
    gap: 14px;
}
.attr-card {
    background: var(--bg-card); border-radius: var(--radius-lg);
    overflow: hidden; border: 1px solid var(--border-light);
    transition: all var(--transition);
}
.attr-card:hover {
    box-shadow: var(--shadow-lg); transform: translateY(-3px);
}
/* Duża karta: 2 kolumny x 2 wiersze (lewa góra) */
.attr-card--large {
    grid-column: 1 / 3; grid-row: 1 / 3;
    display: flex; flex-direction: column;
}
.attr-card--large .attr-card__img { flex: 1; min-height: 300px; }
/* Karty 2-5 (po prawej od dużej, siatka 2x2) */
.attr-card--small:nth-child(2) { grid-column: 3; grid-row: 1; }
.attr-card--small:nth-child(3) { grid-column: 4; grid-row: 1; }
.attr-card--small:nth-child(4) { grid-column: 3; grid-row: 2; }
.attr-card--small:nth-child(5) { grid-column: 4; grid-row: 2; }
/* Karty 6-9 (trzeci rząd) */
.attr-card--small:nth-child(6) { grid-column: 1; grid-row: 3; }
.attr-card--small:nth-child(7) { grid-column: 2; grid-row: 3; }
.attr-card--small:nth-child(8) { grid-column: 3; grid-row: 3; }
.attr-card--small:nth-child(9) { grid-column: 4; grid-row: 3; }
/* Karty 10-13 (czwarty rząd) */
.attr-card--small:nth-child(10) { grid-column: 1; grid-row: 4; }
.attr-card--small:nth-child(11) { grid-column: 2; grid-row: 4; }
.attr-card--small:nth-child(12) { grid-column: 3; grid-row: 4; }
.attr-card--small:nth-child(13) { grid-column: 4; grid-row: 4; }
.attr-card--small .attr-card__img { aspect-ratio: 4/3; }
.attr-card--small .attr-card__body { padding: 10px 14px; }
.attr-card--small .attr-card__body h3 { font-size: .82rem; margin-bottom: 0; }
.attr-card__img {
    position: relative; overflow: hidden;
}
.attr-card__img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s ease;
}
.attr-card:hover .attr-card__img img { transform: scale(1.04); }
.attr-card__tag {
    position: absolute; top: 10px; left: 10px;
    font-size: .65rem; font-weight: 600; padding: 3px 10px;
    background: rgba(255,255,255,.92); backdrop-filter: blur(4px);
    border-radius: var(--radius-full); color: var(--text);
}
.attr-card__body { padding: 18px 20px; }
.attr-card__body h3 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.attr-card__body h3 a { color: var(--text); }
.attr-card__body h3 a:hover { color: var(--primary); }
.attr-card__body p { font-size: .82rem; color: var(--text-secondary); line-height: 1.5; }

/* ======================================
   DZIELNICE
   ====================================== */
.districts-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.district-card {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition);
}
.district-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
    color: var(--text-primary);
}
.district-card__icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark, var(--accent)));
    color: #fff;
    font-size: 1.25rem;
    transition: transform var(--transition);
}
.district-card:hover .district-card__icon { transform: scale(1.08) rotate(-3deg); }
.district-card__body { min-width: 0; }
.district-card__body h3 {
    font-size: .95rem; font-weight: 700; margin-bottom: 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.district-card__body span {
    font-size: .75rem; color: var(--text-secondary);
    display: block; line-height: 1.35;
}

/* ======================================
   WIADOMOŚCI MIEJSKIE
   ====================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.news-card {
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition);
}
.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
    color: var(--text-primary);
}

/* Karta DUŻA — zajmuje 3 kolumny x 2 wiersze (siatka 6 kol) */
.news-card--lg {
    grid-column: span 3;
    grid-row: span 2;
}
.news-card--lg .news-card__media {
    aspect-ratio: 16/8;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    font-size: 3.5rem;
}
.news-card--lg .news-card__media--purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.news-card--lg .news-card__body {
    padding: 18px 20px; display: flex; flex-direction: column; gap: 8px;
    flex: 1;
}
.news-card--lg h3 {
    font-size: 1.05rem; font-weight: 700; line-height: 1.3;
    color: var(--text-primary);
}
.news-card--lg p {
    font-size: .85rem; color: var(--text-secondary);
    line-height: 1.5; flex: 1;
}

/* Karta MAŁA — układ poziomy ikona + treść */
.news-card--sm {
    grid-column: span 2;
    flex-direction: row;
    align-items: stretch;
}
.news-card--sm .news-card__icon {
    flex-shrink: 0;
    width: 70px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark, var(--accent)));
    color: #fff;
    font-size: 1.4rem;
}
.news-card__icon--orange { background: linear-gradient(135deg, #f97316, #c2410c) !important; }
.news-card__icon--pink   { background: linear-gradient(135deg, #ec4899, #be185d) !important; }
.news-card__icon--green  { background: linear-gradient(135deg, #10b981, #047857) !important; }
.news-card__icon--amber  { background: linear-gradient(135deg, #f59e0b, #b45309) !important; }
.news-card__icon--cyan   { background: linear-gradient(135deg, #06b6d4, #0e7490) !important; }
.news-card__icon--rose   { background: linear-gradient(135deg, #f43f5e, #be123c) !important; }

.news-card--sm .news-card__body {
    padding: 12px 14px;
    display: flex; flex-direction: column; gap: 4px;
    min-width: 0; flex: 1;
}
.news-card--sm h3 {
    font-size: .85rem; font-weight: 600; line-height: 1.35;
    color: var(--text-primary);
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}

/* Tag (badge kategorii) */
.news-card__tag {
    display: inline-block; align-self: flex-start;
    font-size: .68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .04em;
    padding: 3px 9px; border-radius: var(--radius-full);
}
.news-card__tag--blue   { background: #dbeafe; color: #1d4ed8; }
.news-card__tag--purple { background: #ede9fe; color: #6d28d9; }
.news-card__tag--orange { background: #ffedd5; color: #c2410c; }
.news-card__tag--pink   { background: #fce7f3; color: #be185d; }
.news-card__tag--green  { background: #d1fae5; color: #047857; }
.news-card__tag--amber  { background: #fef3c7; color: #b45309; }
.news-card__tag--cyan   { background: #cffafe; color: #0e7490; }
.news-card__tag--rose   { background: #ffe4e6; color: #be123c; }

.news-card__date {
    font-size: .72rem; color: var(--text-muted);
    margin-top: auto;
}
.news-card__date i { margin-right: 4px; }

/* Responsywność wiadomości */
@media (max-width: 1024px) {
    .news-grid { grid-template-columns: repeat(4, 1fr); }
    .news-card--lg { grid-column: span 2; grid-row: span 2; }
    .news-card--sm { grid-column: span 2; }
}
@media (max-width: 640px) {
    .news-grid { grid-template-columns: 1fr; }
    .news-card--lg, .news-card--sm { grid-column: span 1; grid-row: auto; }
    .news-card--lg .news-card__media { aspect-ratio: 16/6; font-size: 2.5rem; }
}

/* ======================================
   WIADOMOŚCI — STRONA LISTY + ARTYKUŁ
   ====================================== */

/* Tytuł sekcji wewnątrz listy wiadomości */
.news-section-title {
    font-size: 1.1rem; font-weight: 700;
    margin: 24px 0 14px; padding-bottom: 8px;
    border-bottom: 2px solid var(--border-light);
    display: flex; align-items: center; gap: 8px;
}
.news-section-title:first-child { margin-top: 0; }
.news-section-title i { color: var(--accent); font-size: .9rem; }

/* Wyróżnione — siatka 2 dużych kart */
.news-grid--featured {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 8px;
}
.news-grid--featured .news-card--lg {
    grid-column: auto; grid-row: auto;
}
.news-grid--featured .news-card--lg .news-card__media {
    aspect-ratio: 16/7; font-size: 3rem;
}

/* Lista — siatka 3 kart medium */
.news-grid--list {
    grid-template-columns: repeat(3, 1fr);
}

/* Karta MEDIUM — pionowa, z ikoną u góry + treść */
.news-card--md {
    grid-column: auto; grid-row: auto;
    display: block; padding: 0;
}
.news-card__link {
    display: flex; flex-direction: column; height: 100%;
    text-decoration: none; color: inherit;
}
.news-card__media--md {
    aspect-ratio: 16/7;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff; font-size: 2.4rem;
}
.news-card--md .news-card__body {
    padding: 14px 16px; display: flex; flex-direction: column; gap: 8px;
    flex: 1;
}
.news-card--md h3 {
    font-size: .95rem; font-weight: 700; line-height: 1.35;
    color: var(--text-primary);
}
.news-card--md p {
    font-size: .82rem; color: var(--text-secondary);
    line-height: 1.5; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}

@media (max-width: 1024px) {
    .news-grid--list { grid-template-columns: repeat(2, 1fr); }
    .news-grid--featured { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .news-grid--list { grid-template-columns: 1fr; }
}

/* Counter w widget-list (np. liczba wiadomości w kategorii) */
.widget-list li a span {
    margin-left: auto;
    font-size: .72rem; font-weight: 700;
    background: var(--primary-50, var(--bg-alt));
    color: var(--primary);
    padding: 2px 8px; border-radius: var(--radius-full);
    min-width: 28px; text-align: center;
}

/* Newsletter w widgecie */
.newsletter-form {
    display: flex; flex-direction: column; gap: 8px;
}
.newsletter-form input {
    padding: 10px 12px; font-size: .85rem;
    border: 1px solid var(--border); border-radius: var(--radius);
    background: #fff; color: var(--text-primary);
    font-family: inherit;
}
.newsletter-form input:focus {
    outline: none; border-color: var(--primary);
}
.newsletter-form button {
    padding: 10px 14px; font-size: .85rem; font-weight: 600;
    background: var(--primary); color: #fff;
    border: none; border-radius: var(--radius);
    cursor: pointer; transition: all var(--transition);
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    font-family: inherit;
}
.newsletter-form button:hover { background: var(--primary-dark, var(--primary)); transform: translateY(-1px); }

/* Paginacja */
.pagination {
    display: flex; justify-content: center; align-items: center;
    gap: 6px; margin: 32px 0 8px;
    flex-wrap: wrap;
}
.pagination__btn {
    min-width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 10px;
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary); text-decoration: none;
    font-size: .88rem; font-weight: 600;
    transition: all var(--transition);
}
.pagination__btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.pagination__btn--active {
    background: var(--accent); color: #fff;
    border-color: var(--accent);
}
.pagination__btn--active:hover { color: #fff; }
.pagination__sep {
    padding: 0 4px; color: var(--text-muted); font-weight: 600;
}

/* ======================================
   ARTYKUŁ — POJEDYNCZA AKTUALNOŚĆ
   ====================================== */
.article {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.article__hero {
    aspect-ratio: 16/6;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff; font-size: 5rem;
}
.article__meta {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 16px; padding: 18px 28px 0;
    font-size: .8rem; color: var(--text-muted);
}
.article__meta-item { display: inline-flex; align-items: center; gap: 5px; }
.article__meta-item i { font-size: .8rem; opacity: .8; }

.article__title {
    font-size: 1.85rem; font-weight: 800; line-height: 1.25;
    padding: 14px 28px 0; margin: 0;
    color: var(--text-primary);
    font-family: var(--font-display, inherit);
}
.article__lead {
    padding: 18px 28px 0;
    font-size: 1.05rem; line-height: 1.6;
    color: var(--text-secondary);
    font-weight: 500;
}
.article__body {
    padding: 24px 28px;
    font-size: .95rem; line-height: 1.75;
    color: var(--text-primary);
}
.article__body h2 {
    font-size: 1.3rem; font-weight: 700;
    margin: 28px 0 12px;
    color: var(--text-primary);
    font-family: var(--font-display, inherit);
}
.article__body h3 {
    font-size: 1.1rem; font-weight: 700;
    margin: 22px 0 10px;
}
.article__body p { margin: 0 0 14px; }
.article__body ul {
    margin: 0 0 14px; padding-left: 24px;
}
.article__body ul li { margin-bottom: 6px; }
.article__body strong { color: var(--text-primary); font-weight: 700; }
.article__body a { color: var(--primary); text-decoration: underline; }

.article__quote {
    border-left: 4px solid var(--accent);
    background: var(--bg-alt);
    padding: 18px 22px;
    margin: 22px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}
.article__quote p {
    font-size: 1.05rem; font-style: italic;
    color: var(--text-primary); margin-bottom: 8px;
    line-height: 1.5;
}
.article__quote cite {
    font-size: .82rem; color: var(--text-muted);
    font-style: normal; font-weight: 600;
}

.article__tags {
    padding: 16px 28px;
    border-top: 1px solid var(--border-light);
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.article__tags-label {
    font-size: .82rem; font-weight: 600; color: var(--text-muted);
    margin-right: 4px;
}
.article__tags-label i { margin-right: 4px; color: var(--accent); }

.article__share {
    padding: 14px 28px;
    border-top: 1px solid var(--border-light);
    display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
    font-size: .85rem; color: var(--text-secondary);
}
.article__share span { font-weight: 600; margin-right: 4px; }
.article__share-btn {
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--bg-alt); color: var(--text-primary);
    border: 1px solid var(--border-light);
    cursor: pointer; text-decoration: none;
    transition: all var(--transition);
    font-size: .9rem;
}
.article__share-btn:hover {
    background: var(--accent); color: #fff;
    border-color: var(--accent); transform: translateY(-2px);
}

/* Bio autora */
.article__author {
    margin: 0 28px 28px;
    padding: 18px;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    display: flex; gap: 16px; align-items: flex-start;
}
.article__author-avatar {
    flex-shrink: 0;
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark, var(--accent)));
    color: #fff; font-size: 1.4rem;
    border-radius: 50%;
}
.article__author-info strong {
    display: block; font-size: .95rem; font-weight: 700;
    color: var(--text-primary); margin-bottom: 4px;
}
.article__author-info p {
    font-size: .85rem; color: var(--text-secondary);
    line-height: 1.5; margin-bottom: 6px;
}
.article__author-link {
    font-size: .82rem; font-weight: 600; color: var(--primary);
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 4px;
}
.article__author-link:hover { text-decoration: underline; }

/* Czytaj również */
.article__related {
    padding: 24px 28px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-alt);
}
.article__related h2 {
    font-size: 1.2rem; font-weight: 700;
    margin: 0 0 16px;
    display: flex; align-items: center; gap: 8px;
}
.article__related h2 i { color: var(--accent); font-size: 1rem; }

/* Spis treści */
.article-toc .widget-list li a {
    font-size: .82rem;
}
.article-toc .widget-list li a span { display: none; }

/* Responsywność artykułu */
@media (max-width: 768px) {
    .article__hero { font-size: 3.5rem; aspect-ratio: 16/8; }
    .article__title { font-size: 1.4rem; padding: 14px 18px 0; }
    .article__meta { padding: 16px 18px 0; gap: 12px; font-size: .75rem; }
    .article__lead { font-size: .95rem; padding: 14px 18px 0; }
    .article__body { padding: 18px; font-size: .9rem; }
    .article__body h2 { font-size: 1.15rem; }
    .article__quote { padding: 14px 16px; }
    .article__tags, .article__share { padding: 14px 18px; }
    .article__author { margin: 0 18px 18px; padding: 14px; }
    .article__related { padding: 18px; }
}

/* ======================================
   OGŁOSZENIA
   ====================================== */
.ads-list { display: flex; flex-direction: column; gap: 12px; }
.ads-list .ad-card {
    display: flex; align-items: center; gap: 20px;
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--radius-lg); padding: 20px 24px;
    transition: all var(--transition); color: var(--text); text-decoration: none;
    grid-template-columns: none; overflow: visible;
}
.ads-list .ad-card:hover {
    border-color: var(--primary-light); box-shadow: var(--shadow-sm);
    color: var(--text);
}
.ads-list .ad-card__date {
    flex-shrink: 0; text-align: center; width: 52px;
    padding: 8px 4px; background: var(--bg-alt); border-radius: var(--radius);
}
.ads-list .ad-card__day {
    font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
    line-height: 1; display: block; color: var(--text);
}
.ads-list .ad-card__month {
    font-size: .7rem; text-transform: uppercase; color: var(--text-muted);
    letter-spacing: .04em; font-weight: 500;
}
.ads-list .ad-card__body { flex: 1; min-width: 0; padding: 0; gap: 0; display: block; }
.ads-list .ad-card__body h3 { font-size: .95rem; font-weight: 600; margin-bottom: 4px; }
.ads-list .ad-card__body p { font-size: .82rem; color: var(--text-secondary); }
.ads-list .ad-card__tag {
    display: inline-block; font-size: .68rem; font-weight: 600;
    padding: 2px 10px; border-radius: var(--radius-full);
    margin-bottom: 6px; vertical-align: middle;
}
.ads-list .ad-card__tag--blue { background: #dbeafe; color: #1d4ed8; }
.ads-list .ad-card__tag--amber { background: #fef3c7; color: #b45309; }
.ads-list .ad-card__tag--green { background: #d1fae5; color: #047857; }
.ads-list .ad-card__tag--gray { background: #f1f5f9; color: #475569; }
.ads-list .ad-card__arrow { color: var(--text-muted); font-size: .85rem; flex-shrink: 0; transition: color var(--transition); }
.ads-list .ad-card:hover .ad-card__arrow { color: var(--primary); }

/* ======================================
   LAYOUT INFO (ważne miejsca + sidebar)
   ====================================== */
.info-layout {
    display: grid; grid-template-columns: 1fr 360px; gap: 32px;
    align-items: start;
}
.info-layout__main .section__head { text-align: left; }

.places-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.place-card {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px 18px;
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--radius); transition: all var(--transition);
}
.place-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-sm); }
.place-card__icon {
    width: 40px; height: 40px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary-50); color: var(--primary);
    border-radius: var(--radius); font-size: .95rem;
}
.place-card h3 { font-size: .85rem; font-weight: 700; margin-bottom: 2px; }
.place-card p { font-size: .76rem; color: var(--text-secondary); line-height: 1.45; }
.place-card a { color: var(--primary); font-weight: 500; }

/* ======================================
   WIDGETY SIDEBAR
   ====================================== */
.widget {
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--radius-lg); padding: 22px;
    margin-bottom: 16px;
}
.widget h3 {
    font-size: .9rem; font-weight: 700;
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 16px; padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}
.widget h3 i { color: var(--primary); font-size: .9rem; }
.widget__link {
    display: block; text-align: center; margin-top: 14px;
    font-size: .82rem; font-weight: 600; color: var(--primary);
    padding: 8px; background: var(--primary-50); border-radius: var(--radius);
    transition: all var(--transition);
}
.widget__link:hover { background: var(--primary-light); }

/* Pogoda widget */
.widget--weather { background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%); }
.weather-widget__main {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    margin-bottom: 16px;
}
.weather-widget__icon { font-size: 2.8rem; color: var(--accent); }
.weather-widget__temp {
    font-family: var(--font-display); font-size: 3rem; font-weight: 700;
    color: var(--text); line-height: 1;
}
.weather-widget__details {
    display: flex; flex-direction: column; gap: 6px;
    font-size: .8rem; color: var(--text-secondary);
}
.weather-widget__details i { width: 18px; color: var(--text-muted); }

/* Lista widgetowa */
.widget-list { display: flex; flex-direction: column; gap: 10px; }
.widget-list li a {
    display: flex; align-items: center; gap: 10px;
    font-size: .84rem; font-weight: 500; color: var(--text);
    padding: 8px 12px; border-radius: var(--radius);
    transition: all var(--transition);
}
.widget-list li a:hover { background: var(--primary-50); color: var(--primary); }

/* Widget info */
.widget-info { display: flex; flex-direction: column; gap: 8px; }
.widget-info__row {
    display: flex; justify-content: space-between; align-items: center;
    font-size: .82rem; padding: 6px 0;
    border-bottom: 1px solid var(--border-light);
}
.widget-info__row:last-child { border-bottom: none; }
.widget-info__row span { color: var(--text-secondary); }
.widget-info__row strong { color: var(--text); font-weight: 600; }

/* ======================================
   FOOTER
   ====================================== */
.footer {
    background: var(--text); color: rgba(255,255,255,.7);
    padding: 56px 0 0;
}
.footer a { color: rgba(255,255,255,.6); }
.footer a:hover { color: #fff; }

.footer__grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px; padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__col h4 {
    color: #fff; font-size: .85rem; font-weight: 700;
    margin-bottom: 16px; text-transform: uppercase;
    letter-spacing: .04em;
}
.footer__col ul { display: flex; flex-direction: column; gap: 8px; }
.footer__col ul a { font-size: .84rem; }

.footer__col--brand { }
.footer__brand {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 14px;
}
.footer__brand img { width: 32px; }
.footer__brand strong { display: block; color: #fff; font-size: .9rem; }
.footer__brand span { font-size: .72rem; opacity: .5; }
.footer__col--brand > p { font-size: .82rem; line-height: 1.6; margin-bottom: 18px; }

.footer__socials { display: flex; gap: 10px; }
.footer__socials a {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.08); border-radius: var(--radius);
    font-size: .9rem; transition: all var(--transition);
}
.footer__socials a:hover { background: var(--primary); color: #fff; }

.footer__bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 0; font-size: .78rem;
}
.footer__bottom-links { display: flex; gap: 20px; }
.footer__bottom-links a { font-size: .78rem; }

/* ======================================
   RESPONSIVE
   ====================================== */
@media (max-width: 1280px) {
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .header__nav { display: none; }
    .header__burger { display: flex; }

    /* Mobile nav overlay — przeniesione do <body> przez JS */
    .header__nav.open {
        display: flex !important; flex-direction: column;
        align-items: stretch; justify-content: flex-start;
        position: fixed !important; inset: 64px 0 0 0;
        background: #fff;
        padding: 20px; gap: 4px;
        z-index: 99999 !important;
        box-shadow: 0 12px 24px rgba(0,0,0,.08);
        overflow-y: auto;
        margin: 0;
    }
    .header__nav.open a {
        display: block; width: 100%;
        padding: 14px 18px; font-size: 1rem; font-weight: 600;
        border-radius: var(--radius);
        text-align: left;
        background: var(--bg-alt);
        color: var(--text-primary);
    }
    .header__nav.open a:hover,
    .header__nav.open a.active {
        background: var(--primary-50);
        color: var(--primary);
    }

    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .firms-grid { grid-template-columns: repeat(2, 1fr); }
    .attractions-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; }
    .attr-card--large { grid-column: 1 / -1; grid-row: auto; }
    .attr-card--large .attr-card__img { aspect-ratio: 21/9; min-height: 200px; }
    .attr-card--small:nth-child(n) { grid-column: auto; grid-row: auto; }
    .districts-grid { grid-template-columns: repeat(3, 1fr); }

    .info-layout { grid-template-columns: 1fr; }
    .info-layout__sidebar {
        display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px;
    }
    .info-layout__sidebar .widget { margin-bottom: 0; }

    .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .hero { min-height: 80vh; padding: 80px 20px 40px; }
    .hero h1 { font-size: 2rem; }
    .hero__desc { font-size: .9rem; }
    .hero__stats { gap: 24px; }
    .hero__stats strong { font-size: 1rem; }

    .quick-access__grid {
        grid-template-columns: repeat(6, 1fr);
        padding: 14px 12px;
    }

    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .cat-card { padding: 18px 16px; }

    .firms-grid { grid-template-columns: 1fr 1fr; }
    .attractions-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .attr-card--large { grid-column: 1 / -1; grid-row: auto; }
    .attr-card--large .attr-card__img { min-height: auto; aspect-ratio: 16/9; }
    .attr-card--small:nth-child(n) { grid-column: auto; grid-row: auto; }
    .districts-grid { grid-template-columns: repeat(2, 1fr); }
    .places-grid { grid-template-columns: 1fr; }

    .info-layout__sidebar { grid-template-columns: 1fr; }

    .footer__grid { grid-template-columns: 1fr; gap: 28px; }
    .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .section { padding: 40px 0; }

    .quick-access { margin-top: -32px; }
    .quick-access__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 4px; padding: 10px 8px;
    }
    .quick-access__item { font-size: .65rem; padding: 8px 2px; }
    .quick-access__icon { width: 34px; height: 34px; font-size: .85rem; }

    .districts-grid { grid-template-columns: 1fr; gap: 8px; }
    .district-card__icon { width: 38px; height: 38px; font-size: 1rem; }
    .district-card__body h3 { font-size: .9rem; }

    .categories-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .cat-card { padding: 14px 12px; }
    .cat-card__icon { width: 40px; height: 40px; font-size: 1rem; }
    .cat-card h3 { font-size: .85rem; }
    .cat-card p { font-size: .72rem; }

    .firms-grid { grid-template-columns: 1fr; }
    .firms-tags { gap: 4px; }
    .firms-tags button { padding: 6px 12px; font-size: .75rem; }

    .districts-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .district-card { padding: 10px 12px; gap: 10px; }
    .district-card__icon { width: 40px; height: 40px; font-size: 1.05rem; border-radius: 10px; }
    .district-card__body h3 {
        font-size: .85rem;
        white-space: normal; overflow: visible; text-overflow: clip;
        line-height: 1.25;
    }
    .district-card__body span { font-size: .72rem; line-height: 1.3; }

    .ads-list .ad-card { padding: 14px 16px; gap: 14px; }
    .ads-list .ad-card__date { width: 44px; }
    .ads-list .ad-card__day { font-size: 1.1rem; }
    .ads-list .ad-card__body h3 { font-size: .85rem; }

    .hero__search-box { flex-direction: column; padding: 8px; border-radius: var(--radius-lg); }
    .hero__search-box input { padding: 10px 12px; width: 100%; }
    .hero__search-btn { width: 100%; border-radius: var(--radius); }

    .btn { padding: 10px 22px; font-size: .84rem; }
}

/* ======================================
   PODSTRONY — PAGE HERO
   ====================================== */
.page-hero {
    background: var(--bg-alt);
    padding: 88px 0 32px;
    border-bottom: 1px solid var(--border);
}
.page-hero__bread {
    display: flex; align-items: center; gap: 8px;
    font-size: .82rem; color: var(--text-muted); margin-bottom: 12px;
}
.page-hero__bread a { color: var(--primary); }
.page-hero__bread a:hover { text-decoration: underline; }
.page-hero__sep { font-size: .6rem; color: var(--text-muted); }
.page-hero__current { color: var(--text-secondary); }

/* Standalone breadcrumbs (partial _breadcrumbs.php) */
.breadcrumbs {
    background: var(--bg-alt);
    padding: 84px 0 12px;
    border-bottom: 1px solid var(--border);
    font-size: .82rem;
}
.breadcrumbs ol {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
    color: var(--text-muted);
}
.breadcrumbs li {
    display: inline-flex; align-items: center; gap: 6px;
}
.breadcrumbs li + li::before {
    content: "›";
    color: var(--text-muted);
    font-size: .9rem;
    margin-right: 2px;
}
.breadcrumbs a { color: var(--primary); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span[aria-current] { color: var(--text-secondary); font-weight: 500; }

.page-hero h1 {
    font-family: var(--font-display); font-size: 2rem; font-weight: 800;
    color: var(--text); margin-bottom: 8px;
}
.page-hero p {
    font-size: .92rem; color: var(--text-secondary); max-width: 640px; line-height: 1.6;
}

/* ======================================
   TOOLBAR
   ====================================== */
.toolbar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    position: sticky; top: 64px; z-index: 50;
}
.toolbar__inner {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.toolbar__search {
    position: relative; flex: 1; min-width: 220px;
}
.toolbar__search i {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: var(--text-muted); font-size: .85rem;
}
.toolbar__search input {
    width: 100%; padding: 10px 14px 10px 40px;
    border: 1px solid var(--border); border-radius: var(--radius);
    font-size: .88rem; font-family: var(--font);
    background: var(--bg); color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.toolbar__search input:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-50);
}
.toolbar__filters { display: flex; gap: 8px; }
.toolbar__select {
    padding: 10px 32px 10px 14px; border: 1px solid var(--border);
    border-radius: var(--radius); font-size: .84rem; font-family: var(--font);
    background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235e6687' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 12px center;
    appearance: none; cursor: pointer; color: var(--text);
    transition: border-color var(--transition);
}
.toolbar__select:focus { outline: none; border-color: var(--primary); }
.toolbar__count {
    font-size: .84rem; color: var(--text-secondary); white-space: nowrap;
    margin-left: auto;
}
.toolbar__count strong {
    font-weight: 700; color: var(--text);
    font-family: var(--font-display);
}

/* ======================================
   FIRMS LAYOUT (lista + sidebar)
   ====================================== */
.firms-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start;
}
.firms-grid--page {
    grid-template-columns: repeat(2, 1fr);
}

/* Dodatkowe elementy firm-card dla podstrony */
.firm-card__footer {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 12px; margin-top: 12px;
    border-top: 1px solid var(--border-light);
    font-size: .78rem;
}
.firm-card__hours { color: var(--text-muted); }
.firm-card__hours i { margin-right: 4px; }
.firm-card__link {
    color: var(--primary); font-weight: 600;
    transition: color var(--transition);
}
.firm-card__link:hover { color: var(--primary-dark); }
.firm-card h3 a { color: var(--text); transition: color var(--transition); }
.firm-card h3 a:hover { color: var(--primary); }

/* Badge kolorowanie wg kategorii */
.firm-card__badge--zdrowie { background: #fef2f2; color: #dc2626; }
.firm-card__badge--motor { background: #f0fdf4; color: #16a34a; }
.firm-card__badge--uroda { background: #fdf4ff; color: #c026d3; }
.firm-card__badge--it { background: #eff6ff; color: #2563eb; }
.firm-card__badge--finanse { background: #fefce8; color: #ca8a04; }
.firm-card__badge--bud { background: #fff7ed; color: #ea580c; }
.firm-card__badge--inne { background: #f0f2f7; color: #5e6687; }

/* ======================================
   SIDEBAR — kategorie
   ====================================== */
.sidebar-cats {
    display: flex; flex-direction: column; gap: 2px;
}
.sidebar-cats__item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: var(--radius);
    font-size: .85rem; color: var(--text-secondary);
    transition: all var(--transition);
}
.sidebar-cats__item:hover {
    background: var(--bg-alt); color: var(--text);
}
.sidebar-cats__item.active {
    background: var(--primary-50); color: var(--primary); font-weight: 600;
}
.sidebar-cats__item i {
    width: 20px; text-align: center; font-size: .82rem;
    color: var(--text-muted);
}
.sidebar-cats__item.active i { color: var(--primary); }
.sidebar-cats__item:hover i { color: var(--text-secondary); }
.sidebar-cats__count {
    margin-left: auto; font-size: .75rem;
    color: var(--text-muted); font-weight: 500;
}
.sidebar-cats__sub {
    display: block; padding: 0 12px 8px 36px;
    font-size: .7rem; color: var(--text-muted);
    line-height: 1.35; margin-top: -4px;
    font-style: italic;
}

/* ======================================
   SIDEBAR — CTA dodaj firmę
   ====================================== */
.sidebar-cta {
    text-align: center; background: linear-gradient(135deg, var(--primary-50), #dbeafe);
    border: 1px solid var(--primary-light);
}
.sidebar-cta__icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin: 0 auto 14px;
}
.sidebar-cta h3 {
    font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
    margin-bottom: 8px; color: var(--text);
}
.sidebar-cta p {
    font-size: .82rem; color: var(--text-secondary);
    margin-bottom: 16px; line-height: 1.5;
}
.btn--block { display: block; width: 100%; text-align: center; }

/* ======================================
   SIDEBAR — popularne tagi
   ====================================== */
.sidebar-tags {
    display: flex; flex-wrap: wrap; gap: 6px;
}
.sidebar-tags__item {
    padding: 5px 12px; font-size: .78rem;
    background: var(--bg-alt); border-radius: var(--radius-full);
    color: var(--text-secondary); border: 1px solid var(--border-light);
    transition: all var(--transition);
}
.sidebar-tags__item:hover {
    background: var(--primary-50); color: var(--primary);
    border-color: var(--primary-light);
}

/* ======================================
   PAGINACJA
   ====================================== */
.pagination {
    display: flex; align-items: center; justify-content: center;
    gap: 6px; margin-top: 32px; padding-top: 24px;
    border-top: 1px solid var(--border-light);
}
.pagination__btn {
    min-width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border); border-radius: var(--radius);
    font-size: .85rem; font-family: var(--font-display); font-weight: 500;
    color: var(--text-secondary); background: var(--bg-card);
    cursor: pointer; transition: all var(--transition);
}
.pagination__btn:hover:not(:disabled):not(.active) {
    border-color: var(--primary); color: var(--primary);
    background: var(--primary-50);
}
.pagination__btn.active {
    background: var(--primary); color: #fff;
    border-color: var(--primary); font-weight: 700;
}
.pagination__btn:disabled {
    opacity: .4; cursor: not-allowed;
}
.pagination__dots {
    font-size: .85rem; color: var(--text-muted);
    padding: 0 4px;
}

/* ======================================
   WIDGET — ogólny tytuł
   ====================================== */
.widget__title {
    font-family: var(--font-display); font-size: .95rem; font-weight: 700;
    color: var(--text); margin-bottom: 14px;
    display: flex; align-items: center; gap: 8px;
}
.widget__title i { color: var(--primary); font-size: .85rem; }

/* ======================================
   PODSTRONY — RESPONSIVE
   ====================================== */
@media (max-width: 1024px) {
    .firms-layout {
        grid-template-columns: 1fr;
    }
    .firms-layout__sidebar {
        display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    }
    .toolbar__inner { gap: 10px; }
}

@media (max-width: 768px) {
    .page-hero h1 { font-size: 1.6rem; }
    .firms-grid--page { grid-template-columns: 1fr 1fr; }
    .firms-layout__sidebar { grid-template-columns: 1fr; }
    .toolbar__inner { flex-direction: column; align-items: stretch; }
    .toolbar__filters { flex-direction: column; }
    .toolbar__count { margin-left: 0; text-align: center; }
}

@media (max-width: 480px) {
    .page-hero { padding: 76px 0 24px; }
    .page-hero h1 { font-size: 1.35rem; }
    .firms-grid--page { grid-template-columns: 1fr; }
    .pagination__btn { min-width: 36px; height: 36px; font-size: .8rem; }
}

/* ======================================
   GASTRONOMIA — podkategorie hero + mapa
   ====================================== */

/* Podkategorie — grid ikon w hero */
.gastro-cats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px; margin-top: 24px;
}
.gastro-cats__item {
    display: flex; flex-direction: column; align-items: center;
    gap: 6px; padding: 14px 6px; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--border);
    text-decoration: none; color: var(--text-secondary);
    font-size: .78rem; font-weight: 500; font-family: var(--font-display);
    transition: all .2s ease; text-align: center;
}
.gastro-cats__item i {
    font-size: 1.35rem; color: var(--primary);
    transition: transform .2s ease;
}
.gastro-cats__item:hover {
    border-color: var(--primary); background: var(--primary-50);
    color: var(--primary); transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, .1);
}
.gastro-cats__item:hover i { transform: scale(1.15); }
.gastro-cats__item.active {
    background: var(--primary); color: #fff;
    border-color: var(--primary);
}
.gastro-cats__item.active i { color: #fff; }

/* Mapa restauracji */
.gastro-map-section {
    padding: 24px 0;
    background: var(--bg);
}
.gastro-map-wrap {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.gastro-map__header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 20px; border-bottom: 1px solid var(--border);
}
.gastro-map__header h2 {
    font-family: var(--font-display); font-size: 1rem; font-weight: 600;
    color: var(--text); display: flex; align-items: center; gap: 8px;
    margin: 0;
}
.gastro-map__header h2 i { color: var(--primary); }
.gastro-map__count {
    font-size: .82rem; color: var(--text-muted); font-weight: 500;
}
.gastro-map {
    height: 340px; width: 100%;
}

/* Badge gastronomiczne */
.firm-card__badge--gastro { background: #fff7ed; color: #ea580c; }
.firm-card__badge--kawiarnia { background: #fdf4ff; color: #a855f7; }
.firm-card__badge--pizza { background: #fefce8; color: #ca8a04; }
.firm-card__badge--bar { background: #f0fdf4; color: #16a34a; }
.firm-card__badge--sushi { background: #eff6ff; color: #2563eb; }
.firm-card__badge--wege { background: #ecfdf5; color: #059669; }

/* Responsywność gastronomia */
@media (max-width: 1024px) {
    .gastro-cats { grid-template-columns: repeat(4, 1fr); }
    .gastro-map { height: 280px; }
}
@media (max-width: 768px) {
    .gastro-cats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .gastro-cats__item { padding: 10px 4px; font-size: .72rem; }
    .gastro-cats__item i { font-size: 1.15rem; }
    .gastro-map { height: 220px; }
}
@media (max-width: 480px) {
    .gastro-cats { grid-template-columns: repeat(2, 1fr); }
    .gastro-map { height: 180px; }
}

/* ======================================
   OGŁOSZENIA — karty, badge, hero CTA
   ====================================== */

/* Przyciski CTA w hero */
.hero-actions {
    display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap;
}
.btn--outline {
    background: var(--bg-card); color: var(--text);
    border: 1px solid var(--border); padding: 10px 20px;
    border-radius: var(--radius); font-family: var(--font-display);
    font-size: .85rem; font-weight: 600; text-decoration: none;
    display: inline-flex; align-items: center; gap: 6px;
    transition: all .2s ease; cursor: pointer;
}
.btn--outline:hover {
    border-color: var(--primary); color: var(--primary);
    background: var(--primary-50);
}

/* Siatka ogłoszeń — 1 kolumna (karty poziome) */
.ads-grid {
    display: flex; flex-direction: column; gap: 14px;
}

/* Karta ogłoszenia — układ poziomy */
.ads-grid .ad-card {
    display: grid; grid-template-columns: 200px 1fr;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: box-shadow .2s ease, transform .15s ease;
}
.ads-grid .ad-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    transform: translateY(-1px);
}

/* Miniaturka */
.ads-grid .ad-card__img {
    position: relative; background: var(--bg-alt);
    display: flex; align-items: center; justify-content: center;
    min-height: 160px;
}
.ads-grid .ad-card__img-placeholder {
    font-size: 2.5rem; color: var(--text-muted); opacity: .3;
}
.ads-grid .ad-card__badge {
    position: absolute; top: 10px; left: 10px;
    font-size: .7rem; font-weight: 600; font-family: var(--font-display);
    padding: 4px 10px; border-radius: 20px;
    background: var(--primary-light); color: var(--primary);
}

/* Treść */
.ads-grid .ad-card__body {
    padding: 18px 20px; display: flex; flex-direction: column; gap: 6px;
}
.ads-grid .ad-card__body h3 {
    font-family: var(--font-display); font-size: .95rem; font-weight: 700;
    margin: 0; line-height: 1.3;
}
.ads-grid .ad-card__body h3 a {
    color: var(--text); text-decoration: none;
}
.ads-grid .ad-card__body h3 a:hover { color: var(--primary); }
.ads-grid .ad-card__price {
    font-family: var(--font-display); font-size: 1.1rem; font-weight: 800;
    color: var(--primary);
}
.ads-grid .ad-card__body p {
    font-size: .82rem; color: var(--text-secondary); line-height: 1.5;
    margin: 0; display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.ads-grid .ad-card__meta {
    display: flex; gap: 16px; font-size: .78rem; color: var(--text-muted);
    margin-top: auto; padding-top: 6px;
}
.ads-grid .ad-card__meta i { color: var(--text-muted); margin-right: 4px; }

/* Badge kolory ogłoszeń */
.ad-card__badge--praca { background: #eff6ff; color: #2563eb; }
.ad-card__badge--nieruchomosci { background: #fef3c7; color: #b45309; }
.ad-card__badge--motor { background: #f0fdf4; color: #16a34a; }
.ad-card__badge--elektro { background: #f5f3ff; color: #7c3aed; }
.ad-card__badge--uslugi { background: #fff7ed; color: #ea580c; }
.ad-card__badge--dom { background: #ecfdf5; color: #059669; }
.ad-card__badge--moda { background: #fdf4ff; color: #a855f7; }
.ad-card__badge--sport { background: #f0f9ff; color: #0284c7; }
.ad-card__badge--zwierzeta { background: #fef9ee; color: #ca8a04; }
.ad-card__badge--oddam { background: #fce7f3; color: #db2777; }

/* Responsywność ogłoszenia */
@media (max-width: 768px) {
    .ads-grid .ad-card { grid-template-columns: 140px 1fr; }
    .ads-grid .ad-card__img { min-height: 130px; }
    .ads-grid .ad-card__body { padding: 14px 16px; }
    .ads-grid .ad-card__price { font-size: 1rem; }
}
@media (max-width: 480px) {
    .ads-grid .ad-card { grid-template-columns: 1fr; }
    .ads-grid .ad-card__img { min-height: 120px; }
    .ads-grid .ad-card__body h3 { font-size: .88rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { text-align: center; justify-content: center; }
}

/* ======================================
   OGŁOSZENIA USŁUGI — badge podkategorii
   ====================================== */
.ad-card__badge--usl-remonty { background: #fff7ed; color: #ea580c; }
.ad-card__badge--usl-sprzat { background: #ecfdf5; color: #059669; }
.ad-card__badge--usl-transport { background: #eff6ff; color: #2563eb; }
.ad-card__badge--usl-korep { background: #fdf4ff; color: #a855f7; }
.ad-card__badge--usl-naprawa { background: #fef9ee; color: #ca8a04; }
.ad-card__badge--usl-foto { background: #fce7f3; color: #db2777; }
.ad-card__badge--usl-it { background: #f0f9ff; color: #0284c7; }
.ad-card__badge--usl-ogrod { background: #f0fdf4; color: #16a34a; }
.ad-card__badge--usl-instal { background: #fefce8; color: #b45309; }
.ad-card__badge--usl-uroda { background: #fdf2f8; color: #c026d3; }
.ad-card__badge--usl-opieka { background: #fef2f2; color: #dc2626; }

/* ======================================
   ATRAKCJE — podstrona: grid, karty, badge, top5
   ====================================== */

/* Grid 2 kolumny (oddzielna od attractions-grid z index.html) */
.attr-grid--page {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

/* Karta atrakcji — wersja podstronowa z pełnym contentem */
.attr-card--page {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}
.attr-card--page:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}
.attr-card--page .attr-card__img {
    position: relative; overflow: hidden;
    aspect-ratio: 16 / 9;
}
.attr-card--page .attr-card__img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s ease;
}
.attr-card--page:hover .attr-card__img img {
    transform: scale(1.04);
}
.attr-card--page .attr-card__tag {
    position: absolute; top: 12px; left: 12px;
    font-size: .7rem; font-weight: 600; font-family: var(--font-display);
    padding: 4px 12px; border-radius: 20px;
}
.attr-card--page .attr-card__body {
    padding: 18px 20px; display: flex; flex-direction: column; gap: 6px;
}
.attr-card--page .attr-card__body h3 {
    font-family: var(--font-display); font-size: .95rem; font-weight: 700;
    margin: 0; line-height: 1.3;
}
.attr-card--page .attr-card__body h3 a {
    color: var(--text); text-decoration: none;
}
.attr-card--page .attr-card__body h3 a:hover { color: var(--primary); }
.attr-card--page .attr-card__rating {
    display: flex; align-items: center; gap: 2px;
    color: var(--accent); font-size: .72rem;
}
.attr-card--page .attr-card__rating span {
    color: var(--text-muted); margin-left: 4px; font-weight: 500;
}
.attr-card--page .attr-card__desc {
    font-size: .84rem; color: var(--text-secondary); line-height: 1.5;
    margin: 0; display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.attr-card--page .attr-card__addr {
    font-size: .78rem; color: var(--text-muted); margin-top: 2px;
}
.attr-card--page .attr-card__addr i {
    color: var(--text-muted); margin-right: 4px; font-size: .72rem;
}

/* Badge kolory kategorii atrakcji */
.attr-card__tag--zabytki { background: #fef3c7; color: #b45309; }
.attr-card__tag--muzea { background: #f5f3ff; color: #7c3aed; }
.attr-card__tag--parki { background: #ecfdf5; color: #059669; }
.attr-card__tag--kultura { background: #dbeafe; color: #1d4ed8; }
.attr-card__tag--industrialne { background: #f1f5f9; color: #475569; }
.attr-card__tag--sakralne { background: #ffe4e6; color: #be123c; }
.attr-card__tag--rozrywka { background: #fce7f3; color: #db2777; }
.attr-card__tag--dzieci { background: #fff7ed; color: #ea580c; }
.attr-card__tag--sport { background: #ecfeff; color: #0891b2; }
.attr-card__tag--zakupy { background: #fefce8; color: #ca8a04; }

/* Widget TOP 5 — ranking atrakcji */
.widget-top5 {
    display: flex; flex-direction: column; gap: 6px;
}
.widget-top5__item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px; border-radius: var(--radius);
    text-decoration: none; color: var(--text);
    transition: all var(--transition);
}
.widget-top5__item:hover {
    background: var(--primary-50); color: var(--primary);
}
.widget-top5__rank {
    width: 26px; height: 26px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-alt); border-radius: 50%;
    font-family: var(--font-display); font-size: .78rem; font-weight: 700;
    color: var(--text-secondary);
}
.widget-top5__item:first-child .widget-top5__rank {
    background: var(--accent); color: #fff;
}
.widget-top5__item:nth-child(2) .widget-top5__rank {
    background: #94a3b8; color: #fff;
}
.widget-top5__item:nth-child(3) .widget-top5__rank {
    background: #d97706; color: #fff;
}
.widget-top5__name {
    flex: 1; font-size: .85rem; font-weight: 500;
}
.widget-top5__score {
    font-size: .78rem; color: var(--accent); font-weight: 600;
    white-space: nowrap;
}
.widget-top5__score i { font-size: .68rem; margin-right: 2px; }

/* ======================================
   ATRAKCJE — DETAIL PAGE (pojedyncza atrakcja)
   ====================================== */

/* Hero ze zdjęciem */
.detail-hero {
    position: relative; min-height: 380px;
    display: flex; align-items: flex-end;
    overflow: hidden;
}
.detail-hero__img {
    position: absolute; inset: 0;
}
.detail-hero__img img {
    width: 100%; height: 100%; object-fit: cover;
}
.detail-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.15) 50%, rgba(0,0,0,.25) 100%);
}
.detail-hero__content {
    position: relative; z-index: 2;
    padding: 32px 0; color: #fff;
}
.detail-hero__content .page-hero__bread {
    margin-bottom: 16px;
}
.detail-hero__content .page-hero__bread a,
.detail-hero__content .page-hero__bread span {
    color: rgba(255,255,255,.7);
}
.detail-hero__content .page-hero__bread a:hover { color: #fff; }
.detail-hero__tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .75rem; font-weight: 600; font-family: var(--font-display);
    padding: 5px 14px; border-radius: 20px;
    margin-bottom: 12px;
}
.detail-hero__content h1 {
    font-family: var(--font-display); font-size: 2.4rem; font-weight: 800;
    line-height: 1.15; margin-bottom: 14px;
    text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.detail-hero__meta {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    font-size: .88rem; color: rgba(255,255,255,.85);
}
.detail-hero__meta i { margin-right: 4px; }
.detail-hero__rating {
    display: flex; align-items: center; gap: 3px;
    color: var(--accent);
}
.detail-hero__rating strong {
    color: #fff; margin-left: 4px; font-weight: 700;
}
.detail-hero__rating span { color: rgba(255,255,255,.6); font-size: .82rem; }
.detail-hero__sep { color: rgba(255,255,255,.35); }

/* Sekcje główne */
.detail-section {
    margin-bottom: 36px; padding-bottom: 36px;
    border-bottom: 1px solid var(--border-light);
}
.detail-section:last-child { border-bottom: none; margin-bottom: 0; }
.detail-section h2 {
    font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
    color: var(--text); margin-bottom: 18px;
    display: flex; align-items: center; gap: 10px;
}
.detail-section h2 i { color: var(--primary); font-size: 1rem; }
.detail-section__count {
    font-size: .8rem; font-weight: 500; color: var(--text-muted);
    margin-left: 4px;
}
.detail-section p {
    font-size: .92rem; color: var(--text-secondary); line-height: 1.7;
    margin-bottom: 12px;
}
.detail-section p:last-child { margin-bottom: 0; }

/* Co zobaczyć — highlights */
.detail-highlights {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.detail-highlight {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px 18px;
    background: var(--bg); border: 1px solid var(--border-light);
    border-radius: var(--radius); transition: all var(--transition);
}
.detail-highlight:hover {
    border-color: var(--primary-light); box-shadow: var(--shadow-sm);
}
.detail-highlight__icon {
    width: 40px; height: 40px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary-50); color: var(--primary);
    border-radius: var(--radius); font-size: .95rem;
}
.detail-highlight h4 {
    font-family: var(--font-display); font-size: .88rem; font-weight: 700;
    color: var(--text); margin-bottom: 4px;
}
.detail-highlight p {
    font-size: .8rem; color: var(--text-secondary); line-height: 1.5;
    margin: 0;
}

/* Galeria zdjęć */
.detail-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 8px;
}
.detail-gallery__item {
    border-radius: var(--radius); overflow: hidden;
    position: relative; cursor: pointer;
}
.detail-gallery__item img {
    width: 100%; height: 100%; object-fit: cover;
    aspect-ratio: 4/3;
    transition: transform .4s ease;
}
.detail-gallery__item:hover img { transform: scale(1.05); }
.detail-gallery__item--large {
    grid-column: 1 / 3; grid-row: 1 / 3;
}
.detail-gallery__item--large img { aspect-ratio: auto; height: 100%; }
.detail-gallery__more::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(0,0,0,.5); border-radius: var(--radius);
}
.detail-gallery__more span {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-family: var(--font-display); font-weight: 700;
    font-size: .95rem; z-index: 1;
}

/* Mapa */
.detail-map {
    height: 320px; border-radius: var(--radius-lg);
    border: 1px solid var(--border-light); overflow: hidden;
}
.detail-map__hint {
    display: flex; align-items: flex-start; gap: 10px;
    margin-top: 12px; padding: 14px 18px;
    background: var(--primary-50); border-radius: var(--radius);
    font-size: .84rem; color: var(--text-secondary); line-height: 1.5;
}
.detail-map__hint i { color: var(--primary); font-size: .95rem; margin-top: 2px; flex-shrink: 0; }

/* Opinie — podsumowanie */
.detail-reviews-summary {
    display: flex; gap: 32px; align-items: center;
    padding: 20px 24px; background: var(--bg);
    border-radius: var(--radius-lg); margin-bottom: 20px;
}
.detail-reviews-summary__score {
    text-align: center; flex-shrink: 0; min-width: 100px;
}
.detail-reviews-summary__num {
    font-family: var(--font-display); font-size: 3rem; font-weight: 800;
    color: var(--text); line-height: 1;
}
.detail-reviews-summary__stars {
    color: var(--accent); font-size: .85rem; margin: 6px 0 4px;
}
.detail-reviews-summary__total {
    font-size: .78rem; color: var(--text-muted);
}
.detail-reviews-summary__bars { flex: 1; }
.detail-bar {
    display: flex; align-items: center; gap: 8px; margin-bottom: 4px;
}
.detail-bar > span:first-child {
    width: 14px; font-size: .78rem; font-weight: 600; color: var(--text-secondary);
    text-align: right;
}
.detail-bar__track {
    flex: 1; height: 8px; background: var(--border-light);
    border-radius: 4px; overflow: hidden;
}
.detail-bar__fill {
    height: 100%; background: var(--accent); border-radius: 4px;
    transition: width .6s ease;
}
.detail-bar__pct {
    width: 32px; font-size: .72rem; color: var(--text-muted); text-align: right;
}

/* Opinie — lista */
.detail-reviews { display: flex; flex-direction: column; gap: 16px; }
.detail-review {
    padding: 18px 20px; background: var(--bg-card);
    border: 1px solid var(--border-light); border-radius: var(--radius-lg);
}
.detail-review__header {
    display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.detail-review__avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: .82rem; font-weight: 700;
    flex-shrink: 0;
}
.detail-review__header strong {
    display: block; font-size: .88rem; color: var(--text);
}
.detail-review__date {
    display: block; font-size: .75rem; color: var(--text-muted);
}
.detail-review__stars {
    margin-left: auto; color: var(--accent); font-size: .72rem;
    display: flex; gap: 1px;
}
.detail-review p {
    font-size: .86rem; color: var(--text-secondary); line-height: 1.6; margin: 0;
}

/* Sidebar — kiedy odwiedzić */
.detail-best-time {
    display: flex; flex-direction: column; gap: 8px;
}
.detail-best-time__item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 14px; border-radius: var(--radius);
    background: var(--bg); border: 1px solid var(--border-light);
}
.detail-best-time__item i {
    color: var(--text-muted); font-size: .9rem; margin-top: 2px; flex-shrink: 0;
}
.detail-best-time__item strong {
    display: block; font-size: .84rem; color: var(--text);
}
.detail-best-time__item span {
    font-size: .78rem; color: var(--text-secondary); line-height: 1.4;
}
.detail-best-time__item--best {
    background: var(--accent-light); border-color: #fde68a;
}
.detail-best-time__item--best i { color: var(--accent); }

/* Sidebar — podobne atrakcje */
.detail-similar {
    display: flex; flex-direction: column; gap: 8px;
}
.detail-similar__item {
    display: flex; align-items: center; gap: 12px;
    padding: 8px 10px; border-radius: var(--radius);
    text-decoration: none; color: var(--text);
    transition: all var(--transition);
}
.detail-similar__item:hover { background: var(--bg-alt); }
.detail-similar__img {
    width: 56px; height: 56px; flex-shrink: 0;
    border-radius: var(--radius); overflow: hidden;
}
.detail-similar__img img {
    width: 100%; height: 100%; object-fit: cover;
}
.detail-similar__item strong {
    display: block; font-size: .84rem; font-weight: 600; margin-bottom: 2px;
}
.detail-similar__item span {
    font-size: .76rem; color: var(--text-muted);
}
.detail-similar__item span i {
    color: var(--accent); font-size: .68rem; margin-right: 2px;
}

/* Responsywność detail page */
@media (max-width: 1024px) {
    .detail-hero { min-height: 320px; }
    .detail-hero__content h1 { font-size: 2rem; }
}
@media (max-width: 768px) {
    .detail-hero { min-height: 280px; }
    .detail-hero__content h1 { font-size: 1.6rem; }
    .detail-hero__meta { font-size: .82rem; }
    .detail-highlights { grid-template-columns: 1fr; }
    .detail-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .detail-gallery__item--large { grid-column: 1 / -1; grid-row: auto; }
    .detail-gallery__item--large img { aspect-ratio: 16/9; }
    .detail-reviews-summary { flex-direction: column; gap: 16px; }
    .detail-map { height: 250px; }
}
@media (max-width: 480px) {
    .detail-hero { min-height: 240px; }
    .detail-hero__content h1 { font-size: 1.35rem; }
    .detail-gallery { grid-template-columns: 1fr 1fr; }
}

/* Responsywność atrakcje podstrona */
@media (max-width: 768px) {
    .attr-grid--page { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .attr-card--page .attr-card__body { padding: 14px 16px; }
    .attr-card--page .attr-card__body h3 { font-size: .88rem; }
}
@media (max-width: 480px) {
    .attr-grid--page { grid-template-columns: 1fr; }
}

/* ==========================================================
   WIDOK POJEDYNCZEJ FIRMY / OGŁOSZENIA — wspólne komponenty
   ========================================================== */

.page-hero--compact { padding-bottom: 0; }
.page-hero--compact .page-hero__bread { margin-bottom: 0; }

/* Page hero z CTA po prawej */
.page-hero__row {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 24px;
}
.page-hero__text { flex: 1; min-width: 0; }
.page-hero__text h1 { margin-top: 0; }
.page-hero__cta {
    flex-shrink: 0;
    margin-top: 8px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, .25);
}
@media (max-width: 768px) {
    .page-hero__row { flex-direction: column; align-items: stretch; }
    .page-hero__cta { width: 100%; justify-content: center; }
}

.firm-page,
.ad-page {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.firm-page__header,
.ad-page__header {
    display: flex; align-items: center; gap: 28px;
    padding: 32px 32px 28px;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border-bottom: 1px solid var(--border-light);
}
.firm-page__icon,
.ad-page__icon {
    flex-shrink: 0;
    width: 96px; height: 96px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--primary, #2563eb), #1e40af);
    color: #fff; font-size: 2.6rem;
    box-shadow: 0 8px 24px rgba(37, 99, 235, .25);
}
.firm-page__title,
.ad-page__title { flex: 1; min-width: 0; }
.firm-page__badges,
.ad-page__badges {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
    margin-bottom: 8px;
}
.firm-page__verified {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: .72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .04em; color: #047857;
    padding: 3px 10px; border-radius: var(--radius-full);
    background: #d1fae5;
}
.ad-page__id {
    display: inline-flex; align-items: center; gap: 4px;
    margin-left: auto;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: .72rem; font-weight: 600;
    color: var(--text-muted);
    padding: 3px 9px; border-radius: var(--radius-full);
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
}

/* ==========================================================
   FORMULARZ DODAWANIA OGŁOSZENIA
   ========================================================== */
.ad-form {
    display: flex; flex-direction: column; gap: 18px;
}
.form-step {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    margin: 0;
}
.form-step legend {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 18px;
    padding: 0;
}
.form-step__num {
    flex-shrink: 0;
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary, #2563eb), #1e40af);
    color: #fff; font-weight: 800; font-size: 1rem;
    border-radius: 50%;
}
.form-step legend > span:last-child { display: block; }
.form-step legend strong {
    display: block; font-size: 1.05rem; font-weight: 700;
    color: var(--text-primary); line-height: 1.2;
    font-family: var(--font-display, inherit);
}
.form-step legend small {
    display: block; font-size: .82rem; color: var(--text-secondary);
    margin-top: 2px; font-weight: 500;
}

/* Pole formularza */
.form-field { margin-bottom: 16px; }
.form-field:last-child { margin-bottom: 0; }
.form-field > label {
    display: block; font-size: .88rem; font-weight: 600;
    color: var(--text-primary); margin-bottom: 6px;
}
.form-required { color: #dc2626; font-weight: 700; }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="url"],
.form-field input[type="number"],
.form-field input[type="search"],
.form-field input[type="time"],
.form-field input[type="date"],
.form-field select,
.form-field textarea,
.form-field .form-grid input[type="url"],
.form-field .form-grid input[type="text"],
.form-field .form-grid input[type="email"],
.form-field .form-grid input[type="tel"] {
    width: 100%;
    padding: 10px 14px;
    font-size: .92rem; font-family: inherit;
    color: var(--text-primary);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition);
    box-sizing: border-box;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.form-field .form-grid input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23666' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
    background-size: 14px; padding-right: 36px;
}

/* Hint pod polem */
.form-hint {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 6px;
    font-size: .78rem; color: var(--text-muted);
}
.form-hint i { margin-right: 4px; opacity: .8; }
.form-counter {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-weight: 600; color: var(--text-muted);
}

/* Form grid */
.form-grid { display: grid; gap: 14px; }
.form-grid--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) {
    .form-grid--2 { grid-template-columns: 1fr; }
}

/* Checkbox / radio jako pole */
.form-field--check label {
    display: flex; align-items: flex-start; gap: 10px;
    cursor: pointer;
    font-weight: 500 !important; color: var(--text-primary);
    font-size: .88rem; line-height: 1.5;
    margin-bottom: 0 !important;
}
.form-field--check input[type="checkbox"] {
    margin-top: 3px; width: 16px; height: 16px;
    accent-color: var(--primary); cursor: pointer;
    flex-shrink: 0;
}
.form-field--check a { color: var(--primary); }

/* Kategorie - kafelki */
.form-cats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}
.form-cat {
    position: relative;
    display: flex; flex-direction: column; align-items: center;
    gap: 8px; padding: 16px 10px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: #fff;
    cursor: pointer;
    transition: all var(--transition);
}
.form-cat:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.form-cat input[type="radio"] {
    position: absolute;
    opacity: 0; pointer-events: none;
}
.form-cat i {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-alt); color: var(--primary);
    border-radius: 12px; font-size: 1.2rem;
    transition: all var(--transition);
}
.form-cat span {
    font-size: .82rem; font-weight: 600;
    color: var(--text-primary); text-align: center;
}
.form-cat input[type="radio"]:checked ~ i,
.form-cat:has(input:checked) i {
    background: linear-gradient(135deg, var(--primary), #1e40af);
    color: #fff;
    transform: scale(1.05);
}
.form-cat:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-50, #eff6ff);
}

/* Wyszukiwarka specjalizacji (skrót w kroku 1) */
.form-search {
    position: relative;
    margin-bottom: 14px;
}
.form-search__icon {
    position: absolute; left: 16px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted); font-size: .95rem;
    pointer-events: none;
}
.form-search input[type="text"] {
    width: 100%;
    padding: 14px 44px 14px 44px;
    font-size: .95rem; font-family: inherit;
    color: var(--text-primary);
    background: #fff;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}
.form-search input[type="text"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}
.form-search__clear {
    position: absolute; right: 12px; top: 50%;
    transform: translateY(-50%);
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-alt); color: var(--text-muted);
    border: none; border-radius: 50%;
    cursor: pointer;
    font-size: .8rem;
    transition: all var(--transition);
}
.form-search__clear:hover { background: var(--text-muted); color: #fff; }

/* Dropdown z wynikami */
.form-search__results {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0;
    z-index: 100;
    max-height: 360px; overflow-y: auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    padding: 6px;
}
.form-search__item {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; gap: 12px;
    padding: 10px 14px;
    background: transparent; border: none;
    border-radius: var(--radius);
    cursor: pointer; text-align: left;
    font-family: inherit;
    transition: background var(--transition);
}
.form-search__item:hover,
.form-search__item--active {
    background: var(--primary-50, #eff6ff);
}
.form-search__item-label {
    font-size: .9rem; color: var(--text-primary);
    font-weight: 500;
}
.form-search__item-label mark {
    background: #fef3c7; color: var(--text-primary);
    padding: 1px 2px; border-radius: 3px;
    font-weight: 700;
}
.form-search__item-cat {
    font-size: .75rem; color: var(--text-muted);
    background: var(--bg-alt);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}
.form-search__empty {
    padding: 20px;
    text-align: center;
    font-size: .85rem; color: var(--text-muted);
}

/* Separator "albo wybierz z listy" */
.form-search__sep {
    display: flex; align-items: center; gap: 12px;
    margin: 18px 0;
    color: var(--text-muted);
    font-size: .82rem;
}
.form-search__sep::before,
.form-search__sep::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-light);
}
.form-search__sep span {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
}

/* Subkategorie / specjalizacje — pojawiają się po wyborze głównej kategorii */
.form-subcats {
    margin-top: 22px;
    padding: 18px 20px;
    background: var(--bg-alt);
    border: 1.5px dashed var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}
.form-subcats--active {
    background: linear-gradient(180deg, rgba(37,99,235,.04) 0%, rgba(37,99,235,.01) 100%);
    border: 1.5px solid var(--primary);
    border-style: solid;
    box-shadow: 0 4px 16px rgba(37, 99, 235, .08);
}
.form-subcats__empty {
    text-align: center; padding: 12px;
    font-size: .9rem; color: var(--text-muted);
    margin: 0; font-weight: 500;
}
.form-subcats__empty i {
    margin-right: 6px; color: var(--primary);
    animation: bounce 1.5s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
.form-subcats__title {
    font-size: .95rem; font-weight: 600;
    color: var(--text-primary); margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(37, 99, 235, .15);
    display: flex; align-items: center; gap: 8px;
    flex-wrap: wrap;
}
.form-subcats__title i {
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--primary); color: #fff;
    border-radius: 50%; font-size: .8rem;
    flex-shrink: 0;
}
.form-subcats__title strong.form-subcats__category {
    color: var(--primary); font-weight: 700;
}
.form-subcats__title span {
    font-weight: 400; color: var(--text-muted);
    font-size: .82rem;
    margin-left: auto;
}

/* Animacja pojawiania się grupy */
.form-subcats__group--appearing {
    animation: subcatAppear .4s ease-out;
}
@keyframes subcatAppear {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tagi-checkboxy (specjalizacje) */
.form-tags {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.form-tag {
    position: relative;
    display: inline-flex; align-items: center;
    padding: 7px 14px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    font-size: .85rem; font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition);
    user-select: none;
}
.form-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.form-tag input[type="checkbox"] {
    position: absolute; opacity: 0; pointer-events: none;
}
.form-tag span::before {
    content: '+';
    margin-right: 6px;
    font-weight: 700; color: var(--text-muted);
    font-size: .9rem;
    transition: all var(--transition);
}
.form-tag:has(input:checked) {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.form-tag:has(input:checked) span::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free'; font-weight: 900;
    color: #fff; font-size: .75rem;
}

/* Drop zone na zdjęcia */
.form-photos {
    display: flex; flex-direction: column; align-items: center;
    gap: 8px; padding: 36px 20px;
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-alt);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}
.form-photos:hover {
    border-color: var(--primary);
    background: var(--primary-50, #eff6ff);
}
.form-photos i {
    font-size: 2.4rem; color: var(--primary); opacity: .7;
}
.form-photos strong {
    font-size: .95rem; font-weight: 700; color: var(--text-primary);
}
.form-photos span {
    font-size: .82rem; color: var(--text-secondary);
}

/* Czas trwania - opcje */
.form-duration {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}
.form-duration__opt {
    position: relative;
    display: flex; flex-direction: column; align-items: center;
    gap: 4px; padding: 16px 14px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: #fff;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}
.form-duration__opt:hover {
    border-color: var(--primary);
}
.form-duration__opt input[type="radio"] {
    position: absolute; opacity: 0; pointer-events: none;
}
.form-duration__opt strong {
    font-size: .95rem; font-weight: 700; color: var(--text-primary);
}
.form-duration__opt span {
    font-size: .78rem; color: var(--text-secondary);
}
.form-duration__opt:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-50, #eff6ff);
}
.form-duration__opt--featured {
    border-color: var(--accent, #f59e0b);
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
}
.form-duration__opt--featured strong { color: #b45309; }
.form-duration__opt--featured:has(input:checked) {
    background: #fef3c7;
}

/* Akcje formularza */
.form-actions {
    display: flex; justify-content: space-between; align-items: center;
    gap: 14px; flex-wrap: wrap;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.btn--large {
    padding: 14px 28px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
}
.form-disclaimer {
    margin-top: 12px;
    padding: 14px 18px;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    font-size: .85rem; color: var(--text-secondary);
    line-height: 1.5;
    display: flex; gap: 10px; align-items: flex-start;
}
.form-disclaimer i {
    color: var(--primary); margin-top: 3px; flex-shrink: 0;
}

/* Tipy / lista wskazówek (sidebar) */
.tips-list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 8px;
}
.tips-list li {
    position: relative;
    padding-left: 24px;
    font-size: .85rem; color: var(--text-secondary);
    line-height: 1.55;
}
.tips-list li i {
    position: absolute;
    left: 4px; top: 6px;
    font-size: .8rem;
}
.tips-list li i.fa-check { color: #10b981; }
.tips-list li i.fa-times,
.tips-list li i.fa-xmark { color: #dc2626; }
.tips-list li strong {
    color: var(--text-primary); font-weight: 600;
    margin-right: 2px;
}

/* FAQ items */
.faq-item {
    border-bottom: 1px solid var(--border-light);
    padding: 10px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
    display: flex; justify-content: space-between; align-items: center;
    font-size: .88rem; font-weight: 600;
    color: var(--text-primary); cursor: pointer;
    list-style: none;
    padding: 4px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.2rem; font-weight: 400;
    color: var(--primary);
    transition: transform var(--transition);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
    margin: 8px 0 0;
    font-size: .82rem; line-height: 1.5;
    color: var(--text-secondary);
}

/* Pakiety / plany w formularzu */
.form-plans {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 640px) {
    .form-plans { grid-template-columns: 1fr; }
}
.form-plan {
    position: relative;
    display: flex; flex-direction: column;
    padding: 20px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: #fff;
    cursor: pointer;
    transition: all var(--transition);
}
.form-plan:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.form-plan input[type="radio"] {
    position: absolute; opacity: 0; pointer-events: none;
}
.form-plan:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-50, #eff6ff);
}
.form-plan__head {
    display: flex; justify-content: space-between; align-items: baseline;
    padding-bottom: 12px; margin-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
}
.form-plan__head > strong {
    font-size: 1.4rem; font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-display, inherit);
    letter-spacing: -.02em;
}
.form-plan__price {
    font-size: .95rem; color: var(--text-secondary);
    font-weight: 500;
}
.form-plan__price strong {
    color: var(--text-primary);
    font-size: 1.05rem; font-weight: 800;
    margin-right: 2px;
}
.form-plan__features {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 8px;
}
.form-plan__features li {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: .85rem; line-height: 1.5;
    color: var(--text-primary);
}
.form-plan__features li i {
    margin-top: 4px; font-size: .75rem; flex-shrink: 0;
    color: #10b981;
}
.form-plan__features-off { color: var(--text-muted) !important; }
.form-plan__features-off i { color: var(--text-muted) !important; }

/* Wariant PRO — złoty akcent */
.form-plan--pro {
    border-color: #f59e0b;
    background: linear-gradient(180deg, #fffbeb 0%, #fff 60%);
}
.form-plan--pro:hover { border-color: #d97706; }
.form-plan--pro:has(input:checked) {
    border-color: #d97706;
    background: linear-gradient(180deg, #fef3c7 0%, #fffbeb 60%);
}
.form-plan--pro .form-plan__head > strong {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.form-plan__ribbon {
    position: absolute; top: -10px; right: 16px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: .7rem; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(217, 119, 6, .3);
}

/* Odznaka PRO w widoku firmy */
.firm-page__pro {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: .72rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: .08em; color: #fff;
    padding: 3px 10px; border-radius: var(--radius-full);
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 2px 8px rgba(217, 119, 6, .3);
}
.firm-page__pro i { font-size: .65rem; }

/* Pole "opcjonalnie" przy labelu */
.form-optional {
    font-size: .75rem; font-weight: 500;
    color: var(--text-muted); margin-left: 4px;
}

/* Panel skrótów dla godzin otwarcia */
.form-hours__quick {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
    border-radius: var(--radius-lg);
    margin-bottom: 14px;
}
.form-hours__quick-label {
    font-size: .82rem; font-weight: 600;
    color: #92400e;
    margin-right: 4px;
}
.form-hours__quick-label i { margin-right: 4px; }
.form-hours__btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #fde68a;
    border-radius: var(--radius);
    font-size: .82rem; font-weight: 600;
    color: #92400e;
    cursor: pointer;
    font-family: inherit;
    transition: all var(--transition);
}
.form-hours__btn:hover {
    background: #fbbf24; color: #fff;
    border-color: #fbbf24;
    transform: translateY(-1px);
}
.form-hours__btn--ghost {
    background: transparent;
    border-color: transparent;
    color: #92400e;
}
.form-hours__btn--ghost:hover {
    background: rgba(146, 64, 14, .1);
    color: #92400e;
    border-color: transparent;
}
.form-hours__btn i { font-size: .75rem; }
.form-hours__feedback {
    margin-left: auto;
    font-size: .82rem; font-weight: 600;
    color: #047857;
    animation: fadeIn .25s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Wewnętrzny kontener dwóch checkboxów (24h + nieczynne) w wierszu */
.form-hours__opts {
    display: flex; flex-wrap: wrap; gap: 14px;
    align-items: center;
}
.form-hours__opts label {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .82rem; color: var(--text-secondary);
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
}
.form-hours__opts label input[type="checkbox"] {
    width: 14px; height: 14px;
    accent-color: var(--primary);
}
@media (max-width: 640px) {
    .form-hours__quick { padding: 10px; gap: 6px; }
    .form-hours__btn { padding: 5px 10px; font-size: .75rem; }
    .form-hours__feedback { margin-left: 0; width: 100%; }
}

/* Tabela godzin otwarcia w formularzu */
.form-hours {
    display: flex; flex-direction: column; gap: 8px;
}
.form-hours__row {
    display: grid;
    grid-template-columns: 110px 110px 14px 110px 1fr;
    gap: 10px; align-items: center;
    padding: 8px 12px;
    background: var(--bg-alt);
    border-radius: var(--radius);
}
.form-hours__day {
    font-size: .88rem; font-weight: 600;
    color: var(--text-primary);
}
.form-hours__sep {
    text-align: center; color: var(--text-muted);
    font-weight: 600;
}
.form-hours__row input[type="time"] {
    padding: 6px 10px;
    font-size: .85rem; font-family: inherit;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
}
.form-hours__row input[type="time"]:disabled {
    background: var(--bg-alt); color: var(--text-muted);
    cursor: not-allowed;
}
@media (max-width: 640px) {
    .form-hours__row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .form-hours__sep { display: none; }
}

/* Steps lista (numbered) */
.steps-list {
    list-style: none; margin: 0; padding: 0;
    counter-reset: step;
    display: flex; flex-direction: column; gap: 8px;
}
.steps-list li {
    counter-increment: step;
    display: flex; align-items: flex-start; gap: 10px;
    padding: 8px 0;
    font-size: .85rem; color: var(--text-secondary);
}
.steps-list li::before {
    content: counter(step);
    flex-shrink: 0;
    width: 22px; height: 22px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--primary); color: #fff;
    border-radius: 50%;
    font-size: .72rem; font-weight: 700;
}
.ad-page__id i { font-size: .65rem; opacity: .7; }
@media (max-width: 540px) {
    .ad-page__id { margin-left: 0; }
}
.firm-page__title h1,
.ad-page__title h1 {
    font-size: 1.8rem; font-weight: 800; line-height: 1.15;
    margin: 0 0 10px;
    font-family: var(--font-display, inherit);
    color: var(--text-primary);
}
.firm-page__rating {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 8px; font-size: .9rem;
}
.firm-page__rating strong { font-size: 1.1rem; color: var(--text-primary); }
.firm-page__rating-count { color: var(--text-muted); font-size: .85rem; }
.firm-page__stars { color: #f59e0b; font-size: .95rem; letter-spacing: 1px; }
.firm-page__stars--small { font-size: .8rem; letter-spacing: 0; }
.firm-page__tagline,
.ad-page__tagline {
    font-size: .95rem; color: var(--text-secondary);
    margin: 0; line-height: 1.5;
}

.ad-page__price {
    display: flex; align-items: baseline; gap: 10px;
    margin: 8px 0 12px;
}
.ad-page__price strong {
    font-size: 2rem; font-weight: 800; color: var(--primary);
    font-family: var(--font-display, inherit);
}
.ad-page__price span { font-size: .9rem; color: var(--text-muted); }

.firm-page__quick {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1px; background: var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.firm-quick {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 22px; background: #fff;
    text-decoration: none; color: var(--text-primary);
    transition: background var(--transition);
}
.firm-quick:hover { background: var(--bg-alt); color: var(--text-primary); }
.firm-quick i {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: var(--primary-50, #eff6ff); color: var(--primary);
    font-size: 1rem; flex-shrink: 0;
}
.firm-quick > div { min-width: 0; flex: 1; }
.firm-quick span {
    display: block; font-size: .72rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px;
}
.firm-quick strong {
    display: block; font-size: .88rem; font-weight: 600;
    color: var(--text-primary);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.firm-section,
.ad-section {
    padding: 28px 32px;
    border-bottom: 1px solid var(--border-light);
}
.firm-section:last-child,
.ad-section:last-child { border-bottom: none; }
.firm-section h2,
.ad-section h2 {
    font-size: 1.25rem; font-weight: 700;
    margin: 0 0 16px;
    display: flex; align-items: center; gap: 10px;
    color: var(--text-primary);
    font-family: var(--font-display, inherit);
}
.firm-section h2 i,
.ad-section h2 i {
    color: var(--primary); font-size: 1rem;
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--primary-50, #eff6ff); border-radius: 10px;
}
.firm-section__count,
.ad-section__count {
    font-size: .85rem; font-weight: 500;
    color: var(--text-muted); margin-left: 4px;
}
.firm-section p,
.ad-section p {
    font-size: .95rem; line-height: 1.7;
    color: var(--text-primary); margin-bottom: 14px;
}
.firm-section p:last-child,
.ad-section p:last-child { margin-bottom: 0; }

.firm-services {
    list-style: none; margin: 0; padding: 0;
    border: 1px solid var(--border-light);
    border-radius: var(--radius); overflow: hidden;
}
.firm-services li {
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px; padding: 14px 18px;
    border-bottom: 1px solid var(--border-light);
}
.firm-services li:last-child { border-bottom: none; }
.firm-services li:hover { background: var(--bg-alt); }
.firm-services strong { display: block; font-size: .95rem; font-weight: 600; margin-bottom: 2px; }
.firm-services span { display: block; font-size: .82rem; color: var(--text-secondary); line-height: 1.4; }
.firm-services__price {
    flex-shrink: 0; font-size: .95rem; font-weight: 700;
    color: var(--primary); text-align: right; white-space: nowrap;
}
.firm-services__note {
    font-size: .82rem; color: var(--text-muted);
    margin-top: 12px; display: flex; align-items: center; gap: 6px;
}

.ad-specs {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1px; background: var(--border-light);
    border: 1px solid var(--border-light); border-radius: var(--radius);
    overflow: hidden;
}
.ad-spec {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; background: #fff;
}
.ad-spec i {
    width: 36px; height: 36px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary-50, #eff6ff); color: var(--primary);
    border-radius: 8px; font-size: .9rem;
}
.ad-spec > div { min-width: 0; flex: 1; }
.ad-spec span {
    display: block; font-size: .72rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px;
}
.ad-spec strong { display: block; font-size: .88rem; font-weight: 600; color: var(--text-primary); }

.firm-staff {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}
.firm-staff__card {
    text-align: center; padding: 18px 14px;
    background: var(--bg-alt); border-radius: var(--radius-lg);
}
.firm-staff__avatar {
    width: 56px; height: 56px; margin: 0 auto 10px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary), #1e40af);
    color: #fff; font-size: 1.4rem; border-radius: 50%;
}
.firm-staff__card strong {
    display: block; font-size: .88rem; font-weight: 700;
    color: var(--text-primary); margin-bottom: 4px;
}
.firm-staff__card span { font-size: .78rem; color: var(--text-secondary); line-height: 1.4; }

.firm-hours-table {
    width: 100%; border-collapse: collapse;
    border: 1px solid var(--border-light); border-radius: var(--radius);
    overflow: hidden;
}
.firm-hours-table th,
.firm-hours-table td {
    padding: 12px 18px; text-align: left;
    border-bottom: 1px solid var(--border-light); font-size: .9rem;
}
.firm-hours-table tr:last-child th,
.firm-hours-table tr:last-child td { border-bottom: none; }
.firm-hours-table th {
    font-weight: 600; color: var(--text-primary);
    width: 50%; background: var(--bg-alt);
}
.firm-hours-table td { font-weight: 500; color: var(--text-secondary); }
.firm-hours-table__off td { color: var(--text-muted); font-style: italic; }

.firm-map,
.ad-map {
    aspect-ratio: 16/8; border-radius: var(--radius-lg);
    overflow: hidden; border: 1px solid var(--border);
}
.firm-map iframe,
.ad-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.firm-map__caption,
.ad-map__caption { margin-top: 12px; font-size: .85rem; color: var(--text-secondary); }
.firm-map__caption a,
.ad-map__caption a { color: var(--primary); font-weight: 600; text-decoration: none; }

.firm-no-gallery__box,
.ad-no-gallery__box {
    border: 2px dashed var(--border); background: var(--bg-alt);
    padding: 32px 20px; border-radius: var(--radius-lg); text-align: center;
}
.firm-no-gallery__box i,
.ad-no-gallery__box i {
    font-size: 2.4rem; color: var(--text-muted);
    opacity: .5; margin-bottom: 10px; display: block;
}
.firm-no-gallery__box p,
.ad-no-gallery__box p {
    font-size: .95rem; font-weight: 600;
    color: var(--text-primary); margin-bottom: 6px;
}
.firm-no-gallery__box span,
.ad-no-gallery__box span { font-size: .82rem; color: var(--text-secondary); }
.firm-no-gallery__box a,
.ad-no-gallery__box a { color: var(--primary); font-weight: 600; text-decoration: none; }
.firm-no-gallery__box a:hover,
.ad-no-gallery__box a:hover { text-decoration: underline; }

.firm-reviews__summary {
    display: grid; grid-template-columns: 200px 1fr;
    gap: 28px; align-items: center;
    padding: 22px; background: var(--bg-alt);
    border-radius: var(--radius-lg); margin-bottom: 22px;
}
.firm-reviews__avg { text-align: center; }
.firm-reviews__avg strong {
    display: block; font-size: 3rem; font-weight: 800;
    color: var(--text-primary); line-height: 1;
    font-family: var(--font-display, inherit);
}
.firm-reviews__avg .firm-page__stars { margin: 6px 0 4px; font-size: 1rem; }
.firm-reviews__avg span { font-size: .78rem; color: var(--text-muted); }
.firm-reviews__bars { display: flex; flex-direction: column; gap: 6px; }
.firm-reviews__bar {
    display: grid; grid-template-columns: 16px 1fr 32px;
    align-items: center; gap: 10px;
    font-size: .82rem; color: var(--text-secondary);
}
.firm-reviews__progress {
    height: 8px; background: #e5e7eb;
    border-radius: 4px; overflow: hidden;
}
.firm-reviews__progress i {
    display: block; height: 100%;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-radius: 4px;
}
.firm-reviews__list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 14px;
}
.firm-review {
    padding: 18px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
}
.firm-review__head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 10px; flex-wrap: wrap; gap: 8px;
}
.firm-review__author { display: flex; align-items: center; gap: 10px; }
.firm-review__avatar {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--accent, #f59e0b), #d97706);
    color: #fff; font-weight: 700; font-size: .9rem; border-radius: 50%;
}
.firm-review__author strong { display: block; font-size: .88rem; font-weight: 600; }
.firm-review__author span { display: block; font-size: .75rem; color: var(--text-muted); }
.firm-review p { font-size: .9rem; line-height: 1.6; color: var(--text-primary); margin: 0; }

.firm-reviews__cta {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-top: 18px; justify-content: center;
}

.firm-cta-widget,
.ad-cta-widget { display: flex; flex-direction: column; gap: 8px; }
.firm-cta-btn,
.ad-cta-btn {
    display: grid; grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
    gap: 0 12px; align-items: center;
    padding: 12px 14px; background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    text-decoration: none; color: var(--text-primary);
    transition: all var(--transition);
}
.firm-cta-btn:hover,
.ad-cta-btn:hover {
    border-color: var(--primary);
    background: var(--primary-50, #eff6ff);
    color: var(--primary); transform: translateY(-1px);
}
.firm-cta-btn i,
.ad-cta-btn i {
    grid-row: 1 / 3;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary); color: #fff;
    border-radius: 8px; font-size: 1rem;
}
.firm-cta-btn span,
.ad-cta-btn span {
    grid-column: 2; font-size: .72rem;
    color: var(--text-muted); text-transform: uppercase;
    letter-spacing: .04em;
}
.firm-cta-btn strong,
.ad-cta-btn strong {
    grid-column: 2; font-size: .9rem; font-weight: 700;
    color: var(--text-primary);
}
.firm-cta-btn--primary,
.ad-cta-btn--primary {
    background: var(--primary); color: #fff; border-color: var(--primary);
}
.firm-cta-btn--primary i,
.ad-cta-btn--primary i { background: rgba(255,255,255,.2); }
.firm-cta-btn--primary span,
.ad-cta-btn--primary span { color: rgba(255,255,255,.8); }
.firm-cta-btn--primary strong,
.ad-cta-btn--primary strong { color: #fff; }
.firm-cta-btn--primary:hover,
.ad-cta-btn--primary:hover {
    background: #1e40af; border-color: #1e40af; color: #fff;
}

.firm-status {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px; background: var(--bg-alt);
    border-radius: var(--radius); margin-bottom: 12px;
}
.firm-status i { font-size: .7rem; color: var(--text-muted); }
.firm-status--open i { color: #10b981; animation: pulse 2s infinite; }
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}
.firm-status strong { display: block; font-size: .9rem; font-weight: 700; }
.firm-status--open strong { color: #047857; }
.firm-status span { display: block; font-size: .78rem; color: var(--text-secondary); }
.firm-status__hours {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 4px;
}
.firm-status__hours li {
    display: flex; justify-content: space-between; align-items: center;
    padding: 6px 4px; font-size: .82rem;
    border-bottom: 1px solid var(--border-light);
}
.firm-status__hours li:last-child { border-bottom: none; }
.firm-status__hours span { color: var(--text-secondary); text-transform: capitalize; }
.firm-status__hours strong { font-weight: 600; color: var(--text-primary); }
.firm-status__today { background: var(--primary-50, #eff6ff); border-radius: var(--radius); padding: 6px 8px !important; }
.firm-status__off { color: var(--text-muted) !important; font-weight: 500 !important; }

.firm-similar,
.ad-similar {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 4px;
}
.firm-similar li a,
.ad-similar li a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: var(--radius);
    text-decoration: none; color: var(--text-primary);
    transition: background var(--transition);
}
.firm-similar li a:hover,
.ad-similar li a:hover { background: var(--bg-alt); }
.firm-similar li a i,
.ad-similar li a i {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-alt); color: var(--primary);
    border-radius: 8px; font-size: .85rem; flex-shrink: 0;
}
.firm-similar strong,
.ad-similar strong {
    display: block; font-size: .85rem; font-weight: 600;
    line-height: 1.3;
}
.firm-similar span,
.ad-similar span {
    display: block; font-size: .75rem; color: var(--text-muted);
    margin-top: 2px;
}
.firm-similar__more,
.ad-similar__more {
    display: block !important;
    text-align: center; padding: 10px !important;
    font-size: .82rem; color: var(--primary) !important;
    font-weight: 600;
}

.firm-report-widget p,
.ad-report-widget p {
    font-size: .85rem; color: var(--text-secondary);
    line-height: 1.5; margin-bottom: 12px;
}

.ad-stats {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 8px;
}
.ad-stats li {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; font-size: .85rem;
    border-bottom: 1px solid var(--border-light);
}
.ad-stats li:last-child { border-bottom: none; }
.ad-stats li i { color: var(--primary); font-size: .85rem; margin-right: 6px; }
.ad-stats strong { color: var(--text-primary); font-weight: 700; }

.btn--block { width: 100%; justify-content: center; display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 768px) {
    .firm-page__header,
    .ad-page__header {
        flex-direction: column; align-items: flex-start;
        gap: 18px; padding: 22px;
    }
    .firm-page__icon,
    .ad-page__icon { width: 72px; height: 72px; font-size: 2rem; border-radius: 18px; }
    .firm-page__title h1,
    .ad-page__title h1 { font-size: 1.4rem; }
    .firm-section,
    .ad-section { padding: 22px; }
    .firm-section h2,
    .ad-section h2 { font-size: 1.05rem; }
    .firm-reviews__summary { grid-template-columns: 1fr; gap: 18px; }
    .firm-services li { flex-direction: column; align-items: flex-start; gap: 6px; }
    .firm-services__price { text-align: left; }
    .firm-staff { grid-template-columns: 1fr 1fr; }
    .ad-page__price strong { font-size: 1.5rem; }
}
@media (max-width: 480px) {
    .firm-staff { grid-template-columns: 1fr; }
}
