/*
 * in7.ba — Home page styles
 * Depends on tokens.css being loaded first.
 * Version: 37
 */

/* ── Private home page palette — do not use outside home.css ── */
:root {
    /* Dark green hero tones */
    --h-deep1:  #072219;
    --h-deep2:  #0a2e24;
    --h-deep3:  #0a3d30;
    --h-deep4:  #123d30;
    --h-deep5:  #0d4534;
    --h-deep6:  #072a20;
    --h-deep7:  #0b2b24;
    /* Navy/dark tones */
    --h-navy1:  #050916;
    --h-navy2:  #05091a;
    --h-navy3:  #060e28;
    --h-navy4:  #091428;
    --h-navy5:  #0c2248;
    --h-navy6:  #0f1e3c;
    --h-navy7:  #1a1a2e;
    /* Mint/light tones */
    --h-mint1:  #dce8e2;
    --h-mint2:  #e8f0ec;
    --h-mint3:  #e8f2ec;
    --h-mint4:  #e8f3ed;
    --h-mint5:  #edf3f0;
    --h-mint6:  #d4e8dc;
    --h-mint7:  #d9eadf;
    --h-mint8:  #e4ede9;
    --h-mint9:  #f0f4f2;
    --h-mint10: #f2f7f4;
    --h-mint11: #f5f3ef;
    --h-mint12: #f7f9f8;
    --h-mint13: #fafcfb;
    --h-blue1:  #d6e4f0;
    /* Warm/gold light mode tones */
    --h-warm1:  #f0e4cc;
    --h-warm2:  #f5ecda;
    --h-warm3:  #faf4e8;
    /* Light mode text */
    --h-lm-text: #1a1208;
    /* Accent greens */
    --h-green1: #4ade80; /* pill-new */
    --h-green2: #22c55e;
    --h-green3: #27ae60;
    --h-green4: #34c759;
    --h-green5: #4caf82; /* pill-open */
    /* Other semantic */
    --h-muted-green: #9ab8a8;
    --h-gold-text:   #7a5a12;
    --h-gold-accent: #e5cb95;
    --h-danger:      #e04f5f;
}

/* ─────────────────────────────────────────────
   BASE
───────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
    background: var(--clr-l-bg);
    color: var(--clr-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.page-home {
    background: var(--clr-l-bg);
    /* Prevent iOS/macOS rubber-band bounce revealing white behind the dark hero */
    overscroll-behavior-y: none;
}

/* Match html bg to hero so scroll-overscroll reveals correct colour, not white */
html:has(body.page-home) {
    background: var(--bg-base);
    overscroll-behavior-y: none;
}

.home-page {
    position: relative;
    --home-nav-h: var(--navbar-height, 72px);
    --home-search-h: 168px;
    --home-hero-mint: var(--h-mint1);
    --home-hero-deep: var(--bg-base);
}

.home-viewport-shell {
    position: relative;
    height: calc(100dvh - var(--home-nav-h));
    overflow: hidden;
    background:
        linear-gradient(180deg, var(--home-hero-deep) 0%, var(--h-deep2) 45%, var(--h-deep4) 80%, var(--clr-l-bg2) 100%);
}

.masthead-sentinel {
    height: 1px;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 40px);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ─────────────────────────────────────────────
   SECTION HEADERS
───────────────────────────────────────────── */
.sec-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--clr-gold-dark);
    margin-bottom: 6px;
}
.sec-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -.025em;
    color: var(--text-primary);
    line-height: 1.15;
}
.sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
}
.sec-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--clr-muted-l);
    white-space: nowrap;
    transition: color var(--t-base);
}
.sec-link:hover { color: var(--color-accent); }
.sec-link svg { flex-shrink: 0; }
.sec-lead {
    margin-top: 8px;
    max-width: 42rem;
    font-size: 14px;
    line-height: 1.65;
    color: var(--clr-muted-l);
}
.sec-head .sec-title { margin-bottom: 0; }

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero-section {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--navbar-height, 72px);
}

.hero-section.hero-section--compact {
    height: 100%;
    min-height: 0;
    max-height: none;
    padding-top: 0;
    padding-bottom: 0;
    align-items: stretch;
}

.hero-section--compact .hero-inner {
    height: 100%;
    align-items: center;
    padding: clamp(28px, 5vh, 64px) 0 clamp(122px, 17vh, 148px);
    gap: clamp(28px, 4vw, 60px);
}

.hero-section--compact .hero-scroll {
    bottom: 8px;
    opacity: .65;
}

.hero-section--compact .hero-living-hub {
    padding: 14px 14px 12px;
}

.hero-section--compact .hero-hub-events {
    margin-top: 10px;
    padding-top: 10px;
}

.hero-section--compact .hero-hub-events-list {
    gap: 6px;
}

.hero-section--compact .hero-hub-events-list a {
    padding: 8px 10px;
}

.hero-bg {
    /* Now lives in .home-viewport-shell so the photo extends through search section */
    position: absolute;
    inset: 0;
    background-position: center 32%;
    background-size: cover;
    background-repeat: no-repeat;
    filter: brightness(0.88);
    z-index: 0;
}
.hero-overlay {
    /* Covers hero-section (height:100%) — extends over search dock area naturally */
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(2,40,30,0.88) 0%, rgba(2,40,30,0.46) 50%, rgba(2,40,30,0.82) 100%);
    z-index: 1;
}
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 20%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}
.hero-glow-1 {
    position: absolute;
    width: 900px; height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45,122,82,.20) 0%, transparent 62%);
    top: -200px; left: -260px;
    pointer-events: none;
    z-index: 2;
}
.hero-glow-2 {
    position: absolute;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197,160,89,.09) 0%, transparent 62%);
    bottom: -80px; right: -100px;
    pointer-events: none;
    z-index: 2;
}
.hero-bottom-fade {
    /* Subtle darkening behind the search dock area */
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 200px;
    background: linear-gradient(
        to top,
        rgba(4, 10, 20, 0.72) 0%,
        rgba(4, 10, 20, 0.38) 30%,
        transparent 100%
    );
    z-index: 3;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
    gap: clamp(28px, 4vw, 64px);
    align-items: stretch;
    padding: 80px 0 110px;
    width: 100%;
}

/* Hero time-of-day moods (C) */
.hero-section[data-hero-period="morning"] .hero-overlay {
    background: linear-gradient(112deg, rgba(2,44,34,.82) 0%, rgba(45,90,70,.45) 48%, rgba(2,44,34,.86) 100%);
}
.hero-section[data-hero-period="morning"] .hero-bg {
    filter: saturate(1.12) brightness(1.08) hue-rotate(-8deg);
}
.hero-section[data-hero-period="day"] .hero-overlay {
    background: linear-gradient(112deg, rgba(2,44,34,.88) 0%, rgba(2,44,34,.48) 52%, rgba(2,44,34,.88) 100%);
}
.hero-section[data-hero-period="evening"] .hero-overlay {
    background: linear-gradient(112deg, rgba(18,28,48,.88) 0%, rgba(2,44,34,.55) 50%, rgba(40,24,8,.82) 100%);
}
.hero-section[data-hero-period="evening"] .hero-bg {
    filter: saturate(1.05) brightness(.92) sepia(.12);
}
.hero-section[data-hero-period="night"] .hero-overlay {
    background: linear-gradient(112deg, rgba(4,12,24,.94) 0%, rgba(2,44,34,.62) 50%, rgba(8,8,20,.94) 100%);
}
.hero-section[data-hero-period="night"] .hero-bg {
    filter: saturate(.85) brightness(.72);
}
.hero-section[data-hero-period="evening"] .hero-glow-2,
.hero-section[data-hero-period="night"] .hero-glow-1 {
    opacity: .65;
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Living hub panel (A) */
.hero-living-hub {
    background: rgba(6, 18, 14, .72);
    border: 1px solid rgba(197, 160, 89, .22);
    border-radius: var(--r-xl);
    backdrop-filter: blur(16px);
    padding: 18px 18px 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}
.hero-hub-head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.hero-hub-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    color: var(--clr-gold-light);
}
.hero-hub-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--h-green1);
    animation: in7-pulse 2s infinite;
}
.hero-hub-city {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}
.hero-hub-period {
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
    color: var(--clr-muted-d);
}
.hero-hub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.hero-hub-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 12px 10px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .06);
    text-decoration: none;
    color: inherit;
    transition: border-color var(--t-base), background var(--t-base);
}
.hero-hub-cell--cta:hover {
    border-color: rgba(197, 160, 89, .35);
    background: rgba(197, 160, 89, .1);
}
.hero-hub-cell-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--clr-muted-d);
}
.hero-hub-cell-value {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}
.hero-hub-cell-sub {
    font-size: 11px;
    color: var(--clr-muted-d);
}
.hero-hub-events {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}
.hero-hub-events-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}
.hero-hub-events-head a {
    font-size: 11px;
    font-weight: 600;
    color: var(--clr-gold-light);
    text-decoration: none;
}
.hero-hub-events-empty {
    margin: 0;
    font-size: 12px;
    color: var(--clr-muted-d);
    line-height: 1.5;
}
.hero-hub-events-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hero-hub-events-list a {
    display: block;
    padding: 10px 12px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .06);
    text-decoration: none;
    color: inherit;
    transition: border-color var(--t-base);
}
.hero-hub-events-list a:hover {
    border-color: rgba(197, 160, 89, .3);
}
.hero-hub-event-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}
.hero-hub-event-meta {
    font-size: 11px;
    color: var(--clr-muted-d);
}

.hcard--compact {
    padding: 12px 14px;
}
.hcard--compact .hcard-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
}
.hcard--compact .hcard-title {
    font-size: 13px;
}
.hcard--compact .hcard-divider,
.hcard--compact .hcard-foot {
    display: none;
}

/* ── Hero right column — glass panel ── */
.hero-cards-col {
    display: flex;
    flex-direction: column;
    background: rgba(6, 16, 12, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    padding: 18px 16px 16px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.06);
    overflow: hidden;
    /* Natural height — centered in grid cell */
}

.hero-cards-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .35);
    padding-bottom: 12px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    flex-shrink: 0;
}

.hero-cards-live-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--h-green1);
    animation: in7-pulse 2s infinite;
    flex-shrink: 0;
}

/* Cards list */
.hero-cards-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 4px 0;
}

.hero-cards-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(197, 160, 89, .55);
    text-decoration: none;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid rgba(255,255,255,.06);
    flex-shrink: 0;
    transition: color var(--t-base);
}
.hero-cards-more:hover { color: var(--clr-gold-light); }

/* hmc = hero mini card — inside glass panel */
.hmc {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
    transition: background var(--t-base), border-color var(--t-base), transform var(--t-base);
}
.hmc:hover {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(197, 160, 89, .28);
    transform: translateX(-2px);
}
.hmc--gold { border-color: rgba(197, 160, 89, .16); }

.hmc-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.hmc-icon.hi-green { background: rgba(45, 122, 82, .24); }
.hmc-icon.hi-gold  { background: rgba(197, 160, 89, .18); }
.hmc-icon.hi-blue  { background: rgba(99, 155, 245, .18); }
.hmc-icon.hi-rose  { background: rgba(220, 100, 120, .16); }

.hmc-body { flex: 1; min-width: 0; }
.hmc-title {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--h-mint5);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hmc-sub {
    font-size: 11px;
    color: var(--clr-muted-d);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hmc-right {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
.hmc-price {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--clr-gold-light);
    white-space: nowrap;
}

/* Backward-compat stubs so old spotlight markup doesn't break if anywhere */
.hcard-thumb { display: none; }
.hcard--spotlight { display: none; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px 5px 8px;
    border: 1px solid rgba(197,160,89,.3);
    border-radius: var(--r-full);
    background: rgba(197,160,89,.08);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--clr-gold-light);
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: clamp(12px, 1.8vh, 20px);
    align-self: flex-start;
}
.hero-badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--clr-gold);
    animation: in7-pulse 2s infinite;
}
@keyframes in7-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; transform: scale(.7); }
}

.hero-title {
    font-size: clamp(38px, 4.6vw, 68px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.03em;
    color: #fff;
    margin-bottom: clamp(12px, 1.8vh, 20px);
}
.hero-title .accent-gold {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(13.5px, 1.3vw, 16px);
    line-height: 1.65;
    color: var(--clr-muted-d);
    max-width: 520px;
    margin-bottom: clamp(16px, 2.2vh, 26px);
}

/* Micro-copy beneath CTA buttons */

.hero-cats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: clamp(14px, 2vh, 22px);
}
.hero-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 15px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--r-full);
    background: rgba(255,255,255,.04);
    font-size: 13px;
    font-weight: 500;
    color: var(--clr-muted-d);
    text-decoration: none;
    transition: all var(--t-base);
}
.hero-cat:hover,
.hero-cat.active {
    border-color: rgba(197,160,89,.4);
    color: var(--clr-gold-light);
    background: rgba(197,160,89,.08);
}
/* FA icon inside category chip */
.hero-cat i {
    font-size: 11px;
    opacity: .85;
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-section--compact .hero-actions {
    margin-bottom: clamp(14px, 2vh, 22px);
}

.hero-stats {
    display: flex;
    padding-top: clamp(10px, 1.4vh, 16px);
    border-top: 1px solid rgba(255,255,255,.07);
}
.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0 clamp(16px, 2.5vw, 28px);
    border-right: 1px solid rgba(255,255,255,.08);
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child  { border-right: none; }
.hero-stat-value {
    font-size: clamp(18px, 1.8vw, 24px);
    font-weight: 800;
    letter-spacing: -.03em;
    color: #fff;
    line-height: 1;
}
.hero-stat-label {
    font-size: 11px;
    color: var(--clr-muted-d);
    font-weight: 500;
    letter-spacing: .03em;
}

/* Hero scroll hint */
.hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.25);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    animation: in7-bounce 2.5s infinite;
}
.hero-scroll svg { opacity: .4; }
@keyframes in7-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(5px); }
}

/* ─────────────────────────────────────────────
   HERO — LIGHT THEME OVERRIDES
   Active when OS/browser is in light mode
───────────────────────────────────────────── */
@media (prefers-color-scheme: light) {
    html:has(body.page-home) {
        background: var(--h-warm1);
    }

    body.page-home {
        background: var(--clr-l-bg);
    }

    /* Warm gold-sand gradient — brand-consistent, no green */
    .home-viewport-shell {
        background: linear-gradient(180deg, var(--h-warm1) 0%, var(--h-warm2) 45%, var(--h-warm3) 80%, var(--clr-l-bg2) 100%);
    }

    .hero-bg {
        filter: brightness(1.04) saturate(1.0) sepia(0.08);
    }

    /* Warm golden overlay — lets the photo breathe with brand warmth */
    .hero-overlay {
        background: linear-gradient(112deg, rgba(235,210,165,0.65) 0%, rgba(255,245,220,0.35) 52%, rgba(235,210,165,0.65) 100%);
    }

    /* Subtle warm grid */
    .hero-grid-bg {
        background-image:
            linear-gradient(rgba(160,100,30,.04) 1px, transparent 1px),
            linear-gradient(90deg, rgba(160,100,30,.04) 1px, transparent 1px);
    }

    /* Brand gold glows */
    .hero-glow-1 {
        background: radial-gradient(circle, rgba(200,145,63,.22) 0%, transparent 65%);
    }
    .hero-glow-2 {
        background: radial-gradient(circle, rgba(200,145,63,.12) 0%, transparent 65%);
    }

    /* Warm fade behind search dock */
    .hero-bottom-fade {
        background: linear-gradient(
            to top,
            rgba(150,110,50,0.40) 0%,
            rgba(150,110,50,0.15) 30%,
            transparent 100%
        );
    }

    /* Hero text — dark warm-brown (NOT green) */
    .hero-title        { color: var(--h-lm-text); }
    .hero-sub          { color: rgba(60,42,18,.72); }
    .hero-scroll       { color: rgba(80,55,20,.35); }
    .hero-cats-label   { color: rgba(80,55,20,.50); }
    .hero-cards-label  { color: rgba(80,55,20,.50); }
    .hero-cat {
        border-color: rgba(160,100,30,.18);
        background: rgba(255,248,230,.65);
        color: rgba(80,55,20,.80);
    }
    .hero-badge {
        background: rgba(200,145,63,.14);
        color: var(--clr-gold-dark);
    }

    /* Living hub panel — warm white glass */
    .hero-living-hub {
        background: rgba(255,250,240,.82);
        border-color: rgba(200,145,63,.20);
        box-shadow: 0 24px 60px rgba(0,0,0,.10);
    }
    .hero-hub-head {
        border-bottom-color: rgba(160,100,30,.10);
    }
    .hero-hub-city        { color: var(--h-lm-text); }
    .hero-hub-period      { color: rgba(80,55,20,.60); }
    .hero-hub-cell {
        background: rgba(200,145,63,.06);
        border-color: rgba(160,100,30,.10);
    }
    .hero-hub-cell-label  { color: rgba(80,55,20,.55); }
    .hero-hub-cell-value  { color: var(--h-lm-text); }
    .hero-hub-cell-sub    { color: rgba(80,55,20,.55); }
    .hero-hub-events {
        border-top-color: rgba(160,100,30,.10);
    }
    .hero-hub-events-head { color: var(--h-lm-text); }
    .hero-hub-events-list a {
        background: rgba(200,145,63,.06);
        border-color: rgba(160,100,30,.10);
    }
    .hero-hub-event-title { color: var(--h-lm-text); }
    .hero-hub-event-meta  { color: rgba(80,55,20,.55); }
    .hero-hub-events-empty { color: rgba(80,55,20,.50); }

    /* Mini cards (right column) */
    .hmc {
        background: rgba(255,250,240,.85);
        border-color: rgba(160,100,30,.12);
    }
    .hmc-title { color: var(--h-lm-text); }
    .hmc-sub   { color: rgba(80,55,20,.60); }

    /* Time-of-day moods — warm gold overlays */
    .hero-section[data-hero-period="morning"] .hero-overlay {
        background: linear-gradient(112deg, rgba(255,225,160,.72) 0%, rgba(255,245,210,.38) 48%, rgba(255,225,160,.72) 100%);
    }
    .hero-section[data-hero-period="morning"] .hero-bg {
        filter: saturate(1.12) brightness(1.08) sepia(.06);
    }
    .hero-section[data-hero-period="day"] .hero-overlay {
        background: linear-gradient(112deg, rgba(235,210,165,.68) 0%, rgba(255,245,220,.36) 52%, rgba(235,210,165,.68) 100%);
    }
    .hero-section[data-hero-period="evening"] .hero-overlay {
        background: linear-gradient(112deg, rgba(255,195,120,.75) 0%, rgba(255,215,155,.42) 50%, rgba(240,170,100,.70) 100%);
    }
    .hero-section[data-hero-period="evening"] .hero-bg {
        filter: saturate(1.08) brightness(1.0) sepia(.10);
    }
    .hero-section[data-hero-period="night"] .hero-overlay {
        background: linear-gradient(112deg, rgba(225,235,248,.82) 0%, rgba(235,240,255,.48) 50%, rgba(215,225,245,.80) 100%);
    }
    .hero-section[data-hero-period="night"] .hero-bg {
        filter: saturate(0.95) brightness(0.90);
    }
}

.hcard {
    background: rgba(10,26,20,0.82);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: var(--r-lg);
    padding: 14px 16px;
    backdrop-filter: blur(28px);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform var(--t-base), border-color var(--t-base);
}
.hcard:hover {
    transform: translateX(-4px);
    border-color: rgba(255,255,255,.16);
}
.hcard--gold { border-color: rgba(197,160,89,.25); }

.hcard-icon {
    width: 40px; height: 40px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}
.hi-green { background: rgba(45,122,82,.24); }
.hi-gold  { background: rgba(197,160,89,.18); }
.hi-blue  { background: rgba(99,155,245,.18); }
.hi-rose  { background: rgba(245,99,130,.16); }

.hcard-body { flex: 1; min-width: 0; }
.hcard-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 3px;
}
.hcard-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--h-mint2);
    line-height: 1.3;
}
.hcard-pill {
    flex-shrink: 0;
    padding: 2px 8px;
    border-radius: var(--r-full);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.pill-new   { background: rgba(76,175,130,.85); color: #fff; }
.pill-today { background: rgba(197,160,89,.9);  color: var(--h-deep1); }
.pill-open  { background: rgba(76,175,130,.18); color: var(--h-green5); border: 1px solid rgba(76,175,130,.35); }

.hcard-sub {
    font-size: 11.5px;
    color: var(--clr-muted-d);
    line-height: 1.4;
    margin-bottom: 6px;
}
.hcard-meta {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 0;
}
.hcard-chip {
    padding: 2px 7px;
    border-radius: var(--r-full);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    font-size: 10.5px;
    font-weight: 600;
    color: rgba(200,225,210,.7);
}
.hcard-price {
    font-size: 13px;
    font-weight: 800;
    color: var(--clr-gold-light);
}
.hcard-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,.07);
    margin: 8px 0 6px;
}
.hcard-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hcard-view {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,.3);
}
.hcard-cta {
    padding: 3px 10px;
    border-radius: var(--r-full);
    background: rgba(197,160,89,.15);
    border: 1px solid rgba(197,160,89,.3);
    font-size: 10.5px;
    font-weight: 700;
    color: var(--clr-gold-light);
    transition: background var(--t-fast);
}
.hcard:hover .hcard-cta { background: rgba(197,160,89,.28); }

/* ─────────────────────────────────────────────
   BUTTONS (shared)
───────────────────────────────────────────── */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    background: var(--grad-gold);
    color: var(--h-deep1);
    font-size: 14.5px;
    font-weight: 700;
    border-radius: var(--r-full);
    text-decoration: none;
    transition: opacity var(--t-base), transform var(--t-base);
}
.btn-gold:hover { opacity: .9; transform: translateY(-1px); }

.btn-ghost-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border: 1.5px solid rgba(255,255,255,.12);
    color: var(--clr-muted-d);
    font-size: 14.5px;
    font-weight: 600;
    border-radius: var(--r-full);
    background: rgba(255,255,255,.03);
    text-decoration: none;
    transition: all var(--t-base);
}
.btn-ghost-dark:hover { border-color: rgba(255,255,255,.22); color: #fff; }

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border: 1.5px solid var(--clr-l-border);
    color: var(--text-secondary);
    font-size: 13.5px;
    font-weight: 700;
    border-radius: var(--r-full);
    background: rgba(14,35,24,.05);
    text-decoration: none;
    transition: all var(--t-base);
}
.btn-outline-light:hover { border-color: var(--clr-l-border2); color: var(--text-muted); }

/* ─────────────────────────────────────────────
   LIVE STRIP
───────────────────────────────────────────── */
.live-strip {
    background: var(--clr-l-bg2);
    border-bottom: 1px solid var(--clr-l-border);
    position: relative;
    overflow: hidden;
}

.live-strip::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197,160,89,.30), var(--clr-gold), rgba(197,160,89,.30), transparent);
}

.live-inner {
    display: flex;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 0;
    justify-content: center;
}
.live-inner::-webkit-scrollbar { display: none; }

.live-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    border-right: 1px solid var(--clr-l-border);
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 12.5px;
    color: var(--clr-muted-l);
    font-weight: 500;
}

.live-item:last-child { border-right: none; }

.live-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--clr-emerald4);
    box-shadow: 0 0 6px rgba(45,158,94,.5);
    flex-shrink: 0;
    animation: in7-pulse 2.4s infinite;
}

.live-item strong { color: var(--text-primary); font-weight: 700; }
.live-accent { color: var(--text-muted); font-weight: 600; margin-left: 4px; }

.live-weather-temp {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -.02em;
}

.live-weather-label {
    font-size: 11px;
    color: var(--clr-muted-l);
    margin-left: 2px;
}

.live-item--link {
    text-decoration: none;
    color: var(--clr-muted-l);
    transition: color var(--t-base), background var(--t-fast);
}
.live-item--link:hover {
    color: var(--text-muted);
    background: var(--clr-l-bg3);
}
.live-item--link i {
    color: var(--clr-gold);
    font-size: 12px;
}

.live-item--highlight strong {
    color: var(--clr-emerald4);
}
.feed-card-fav {
    cursor: pointer;
    z-index: 3;
}

/* ─────────────────────────────────────────────
   SEARCH
───────────────────────────────────────────── */
.search-section {
    background: var(--clr-l-bg);
    padding: 32px 0 20px;
}

.search-section--dock {
    /* Pinned to bottom of viewport-shell — overlaps hero, truly seamless */
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 20;
    padding: 10px 0 14px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: none;
    transition: box-shadow var(--t-base), background var(--t-base), padding var(--t-base);
}

.search-section--dock.is-pinned {
    padding-top: 8px;
    padding-bottom: 10px;
    background: rgba(247, 249, 248, .94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--clr-l-border);
    box-shadow: 0 10px 32px rgba(14, 35, 24, .08);
}

.search-section--dock.is-pinned .search-tags,
.search-section--dock.is-pinned .search-quick-chips {
    display: none;
}

.search-dock-inner {
    display: block;
}

.search-dock-main {
    width: 100%;
    min-width: 0;
}

.search-dock-row {
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.search-error--global {
    width: 100%;
    padding: 10px 14px;
    margin-top: 8px;
    margin-bottom: 8px;
    border-radius: var(--r-md);
    background: var(--clr-danger-bg);
    color: var(--clr-danger);
    font-size: 13px;
    font-weight: 600;
}

.search-filters-toggle {
    display: none;
}

.search-advanced-fields {
    display: contents;
}

.search-quick-chips {
    display: none;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 8px 2px 2px;
    mask-image: linear-gradient(90deg, #000 90%, transparent);
}

.search-quick-chips::-webkit-scrollbar {
    display: none;
}

.search-quick-chip {
    flex: 0 0 auto;
    padding: 7px 12px;
    border-radius: var(--r-full);
    border: 1px solid var(--clr-l-border);
    background: var(--clr-l-bg2);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    white-space: nowrap;
    transition: border-color var(--t-base), background var(--t-base);
}

.search-quick-chip:hover {
    border-color: rgba(45, 122, 82, .35);
    background: rgba(45, 122, 82, .08);
}

.search-tags--desktop {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.search-map-peek {
    flex: 0 0 auto;
    width: min(148px, 28vw);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--r-lg);
    border: 1px solid var(--clr-l-border);
    background: linear-gradient(145deg, var(--h-mint3) 0%, var(--h-mint12) 55%, #fff 100%);
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}

.search-map-peek:hover {
    transform: translateY(-2px);
    border-color: rgba(45, 122, 82, .28);
    box-shadow: var(--shadow-md);
}

.search-map-peek__visual {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(160deg, var(--h-deep3) 0%, var(--h-deep3) 100%);
}

.search-map-peek__grid {
    position: absolute;
    inset: 0;
    opacity: .22;
    background-image:
        linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
    background-size: 9px 9px;
}

.search-map-peek__pin {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--clr-gold);
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
}

.search-map-peek__pin--1 { top: 30%; left: 28%; }
.search-map-peek__pin--2 { top: 52%; left: 58%; }
.search-map-peek__pin--3 { top: 38%; left: 72%; }

.search-map-peek__copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.search-map-peek__copy strong {
    font-size: 12px;
    color: var(--text-primary);
}

.search-map-peek__copy span {
    font-size: 10px;
    color: var(--clr-muted-l);
    line-height: 1.3;
}

.search-map-peek__arrow {
    margin-left: auto;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
}

.search-section--dock.is-pinned .search-map-peek {
    width: min(132px, 24vw);
    padding: 8px 10px;
}

.search-section--dock.is-pinned .search-map-peek__visual {
    width: 36px;
    height: 36px;
}

.search-suggestions-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
}

.search-suggestions {
    /* Baseline: JS overrides to position:fixed for viewport-shell escape */
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    border: 1px solid var(--clr-l-border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg), 0 8px 32px rgba(14,35,24,.12);
    overflow: hidden;
    max-height: 360px;
    overflow-y: auto;
}

.search-suggestion-group {
    padding: 6px 0;
    border-bottom: 1px solid var(--clr-l-border);
}

.search-suggestion-group:last-child {
    border-bottom: none;
}

.search-suggestion-group-title {
    padding: 6px 14px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--clr-muted-l);
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    text-decoration: none;
    color: inherit;
    transition: background var(--t-base);
    cursor: pointer;
}

.search-suggestion-item:hover,
.search-suggestion-item.is-active {
    background: var(--clr-l-bg2);
}

.search-suggestion-thumb {
    width: 36px;
    height: 36px;
    border-radius: var(--r-md);
    object-fit: cover;
    background: var(--clr-l-bg3);
    flex-shrink: 0;
}

.search-suggestion-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.search-suggestion-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--clr-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-suggestion-meta {
    font-size: 11px;
    color: var(--clr-muted-l);
}

.search-suggestion-badge {
    flex-shrink: 0;
    padding: 2px 7px;
    border-radius: var(--r-full);
    background: var(--clr-l-bg3);
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
}

.search-suggestions-state {
    padding: 16px 14px;
    font-size: 13px;
    color: var(--clr-muted-l);
    text-align: center;
}

.search-section--dock .search-box {
    box-shadow: var(--shadow-lg), 0 8px 28px rgba(14, 35, 24, .1);
}

.search-section--dock.is-pinned .search-box {
    border-radius: var(--r-lg);
}

.search-section--dock .search-tags {
    margin-top: 8px;
}

/* Tags & "Popularno" label legible on dark glass background */
.search-section--dock .search-tags-lbl {
    color: rgba(255, 255, 255, 0.40);
}
.search-section--dock .search-tag {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.10);
    color: rgba(210, 230, 220, 0.75);
}
.search-section--dock .search-tag:hover {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(197, 160, 89, 0.35);
    color: var(--clr-gold-light);
}
/* Keep the search box white/light so it reads well against hero photo */
.search-section--dock .search-box {
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.48), 0 2px 8px rgba(0, 0, 0, 0.22);
}
.search-box {
    background: var(--clr-l-card);
    border: 1px solid var(--clr-l-border);
    border-radius: var(--r-xl);
    display: flex;
    align-items: stretch;
    box-shadow: var(--shadow-md), 0 1px 4px rgba(14,35,24,.06);
    overflow: hidden;
}
.search-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 20px;
    border-right: 1px solid var(--clr-l-border);
    cursor: text;
    transition: background var(--t-fast);
}
.search-field:hover { background: var(--h-mint13); }
.search-field:last-of-type { border-right: none; }
.search-field-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--clr-faint-l);
}
.search-field input,
.search-field select {
    background: transparent;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    width: 100%;
}
.search-field input::placeholder { color: var(--h-muted-green); font-weight: 400; }
.search-field select { color: var(--clr-muted-l); cursor: pointer; }
.search-submit {
    flex-shrink: 0;
    padding: 0 28px;
    background: var(--grad-gold);
    color: var(--h-deep1);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: opacity var(--t-base);
}
.search-submit:hover { opacity: .9; }

.search-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 2px 0;
    flex-wrap: wrap;
}
.search-tags-lbl {
    font-size: 12px;
    color: var(--clr-faint-l);
    font-weight: 500;
}
.search-tag {
    padding: 5px 13px;
    border: 1px solid var(--clr-l-border);
    border-radius: var(--r-full);
    font-size: 12px;
    font-weight: 500;
    color: var(--clr-muted-l);
    background: var(--clr-l-card);
    text-decoration: none;
    transition: all var(--t-base);
}
.search-tag:hover { color: var(--text-muted); border-color: var(--clr-l-border2); }

/* ─────────────────────────────────────────────
   SECTIONS (light)
───────────────────────────────────────────── */
.home-section {
    padding: 64px 0;
    background: var(--bg-base);
}
.home-section--alt { background: var(--bg-surface); }

/* ─────────────────────────────────────────────
   FEED (listings + events + businesses)
───────────────────────────────────────────── */
/* Unified activity feed (B) */
.home-section--activity {
    background: var(--clr-l-bg);
}
.activity-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}
.activity-chip {
    padding: 8px 14px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--clr-muted-l);
    border: 1px solid var(--clr-l-border);
    border-radius: var(--r-full);
    background: var(--clr-l-card);
    cursor: pointer;
    text-decoration: none;
    transition: color var(--t-base), border-color var(--t-base), background var(--t-base);
}
.activity-chip:hover,
.activity-chip.active {
    color: var(--text-secondary);
    border-color: rgba(45, 122, 82, .35);
    background: rgba(45, 122, 82, .08);
}
.activity-chip.active {
    box-shadow: inset 0 0 0 1px rgba(197, 160, 89, .25);
}
.activity-chip--map {
    margin-left: auto;
}
.activity-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.activity-grid--premium {
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 20px;
}
.activity-empty {
    text-align: center;
    padding: 48px 0;
    color: var(--clr-muted-l);
    font-size: 15px;
}
.feed-card--activity.feed-card--event .feed-card-img {
    height: 188px;
}

.feed-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--clr-l-border);
}
.feed-tab {
    padding: 8px 16px 10px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--clr-muted-l);
    border: none;
    background: transparent;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color var(--t-base);
}
.feed-tab:hover { color: var(--text-primary); }
.feed-tab.active {
    color: var(--text-secondary);
    border-bottom-color: var(--clr-gold);
}

.feed-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Feed card */
.feed-card {
    background: var(--clr-l-card);
    border: 1px solid var(--clr-l-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform var(--t-base), box-shadow var(--t-base);
}
.feed-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.feed-card--premium {
    position: relative;
    border-radius: var(--r-xl);
    border-color: rgba(14, 35, 24, .1);
    box-shadow: 0 8px 28px rgba(14, 35, 24, .06);
    transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}

.feed-card--premium::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(135deg, rgba(197, 160, 89, .12), transparent 55%);
    transition: opacity .32s ease;
}

.feed-card--premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 44px rgba(14, 35, 24, .12);
    border-color: rgba(45, 122, 82, .22);
}

.feed-card--premium:hover::before {
    opacity: 1;
}

.feed-card--premium .feed-card-img {
    height: 196px;
}

.feed-card-excerpt {
    margin: 0 0 8px;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--clr-muted-l);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feed-card-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.feed-card-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    border-radius: var(--r-full);
    background: rgba(45, 122, 82, .08);
    border: 1px solid rgba(45, 122, 82, .14);
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-secondary);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feed-card-trust-pill--verified {
    background: rgba(197, 160, 89, .12);
    border-color: rgba(197, 160, 89, .28);
    color: var(--h-gold-text);
}

.feed-card-trust-pill--biz {
    background: var(--clr-l-bg2);
    border-color: var(--clr-l-border);
    color: var(--text-primary);
}

.feed-card-trust-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 4px 9px;
    border-radius: var(--r-full);
    background: rgba(6, 15, 11, .78);
    backdrop-filter: blur(8px);
    font-size: 10px;
    font-weight: 700;
    color: var(--clr-gold-light);
}

.feed-card--premium .feed-card-body {
    padding: 16px 18px 18px;
}

.feed-card--premium .feed-card-title {
    font-size: 15px;
    margin-bottom: 6px;
}

.feed-card--premium .feed-card-price {
    font-size: 18px;
}

.feed-card-img {
    position: relative;
    height: 168px;
    overflow: hidden;
    background: var(--clr-l-bg2);
    flex-shrink: 0;
}
.feed-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.feed-card:hover .feed-card-img img { transform: scale(1.05); }

.feed-card-type {
    position: absolute;
    top: 10px; left: 10px;
    padding: 3px 9px;
    border-radius: var(--r-full);
    background: rgba(6,15,11,.72);
    backdrop-filter: blur(8px);
    font-size: 10px;
    font-weight: 700;
    color: var(--clr-gold-light);
    letter-spacing: .05em;
    text-transform: uppercase;
}
.feed-card-new {
    position: absolute;
    top: 10px; right: 10px;
    padding: 3px 8px;
    border-radius: var(--r-full);
    background: rgba(45,158,94,.9);
    font-size: 10px;
    font-weight: 700;
    color: #fff;
}
.feed-card-fav {
    position: absolute;
    bottom: 10px; right: 10px;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,.88);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border: 1px solid var(--clr-l-border);
    cursor: pointer;
    transition: all var(--t-fast);
}
.feed-card-fav:hover { background: #fff; }
.feed-card-fav.active { color: var(--h-danger); }

/* Event date overlay */
.event-date {
    position: absolute;
    bottom: 10px; left: 10px;
    background: rgba(6,15,11,.82);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(197,160,89,.35);
    border-radius: 10px;
    padding: 6px 11px;
    text-align: center;
}
.event-date-day  { font-size: 17px; font-weight: 900; color: var(--clr-gold-light); line-height: 1; }
.event-date-mon  { font-size: 9.5px; font-weight: 700; color: var(--clr-muted-d); letter-spacing: .06em; text-transform: uppercase; }

/* Business cover in feed */
.feed-card-biz-cover {
    height: 100%;
    background: var(--clr-l-bg2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.feed-card-biz-cover img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.feed-card-biz-avatar {
    width: 64px; height: 64px;
    border-radius: var(--r-lg);
    background: var(--clr-l-card);
    border: 1px solid var(--clr-l-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.feed-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.feed-card-location {
    font-size: 11.5px;
    color: var(--clr-faint-l);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.feed-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -.01em;
}
.feed-card-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.feed-card-chip {
    padding: 3px 9px;
    border-radius: var(--r-full);
    background: var(--clr-l-bg2);
    border: 1px solid var(--clr-l-border);
    font-size: 11px;
    font-weight: 600;
    color: var(--clr-muted-l);
}
.feed-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 11px;
    border-top: 1px solid var(--clr-l-border);
    margin-top: auto;
}
.feed-card-price {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -.02em;
}
.feed-card-price span { font-size: 11px; font-weight: 500; color: var(--clr-muted-l); }
.feed-card-cta {
    padding: 6px 13px;
    background: var(--clr-gold-bg);
    border: 1px solid var(--clr-gold-border);
    border-radius: var(--r-sm);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--clr-gold-dark);
    text-decoration: none;
    transition: background var(--t-fast);
}
.feed-card-cta:hover { background: rgba(197,160,89,.22); }

/* Verified badge in feed */
.feed-card-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: var(--r-full);
    background: rgba(45,122,82,.1);
    border: 1px solid rgba(45,122,82,.25);
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-muted);
}

/* ─────────────────────────────────────────────
   MAP TEASER
───────────────────────────────────────────── */
.map-teaser {
    background: var(--bg-base);
    padding: 64px 0;
}
.map-inner {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 56px;
    align-items: center;
}
.map-preview {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--clr-l-border);
    height: 340px;
    background: var(--h-mint6);
    box-shadow: var(--shadow-lg);
}
.map-preview-bar {
    position: absolute;
    bottom: 14px; left: 14px; right: 14px;
    background: color-mix(in srgb, var(--bg-card) 92%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-default);
    border-radius: var(--r-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}
.map-live-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--clr-emerald4);
    animation: in7-pulse 2s infinite;
    margin-right: 8px;
    flex-shrink: 0;
}
.map-bar-title { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.map-bar-sub   { font-size: 11px; color: var(--text-muted); }
.map-open-btn {
    padding: 8px 16px;
    background: var(--grad-gold);
    color: var(--h-deep1);
    font-size: 12.5px;
    font-weight: 700;
    border-radius: var(--r-full);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity var(--t-base);
}
.map-open-btn:hover { opacity: .9; }

.map-text { }
.map-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--clr-muted-l);
    margin-bottom: 24px;
}
.map-feats { display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.map-feat {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--clr-muted-l);
}
.map-feat-ic {
    width: 36px; height: 36px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--clr-l-card);
    border: 1px solid var(--clr-l-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: var(--shadow-xs);
}

/* Map feat-ic: FA icon color */
.map-feat-ic i {
    color: var(--color-accent);
    font-size: 15px;
}

/* Location filter pills */
.map-location-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.map-location-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color var(--transition-base), color var(--transition-base), background var(--transition-base);
    white-space: nowrap;
}

.map-location-pill:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(200,145,63,.06);
}

.map-location-pill i {
    font-size: 10px;
    color: var(--color-accent);
}

/* ─────────────────────────────────────────────
   SPOTLIGHT (events + businesses)
───────────────────────────────────────────── */
.home-section--spotlight {
    padding: 72px 0;
}
.home-section--events {
    background: var(--clr-l-bg2);
}
.home-section--businesses {
    background: var(--clr-l-bg);
}

.showcase-grid {
    display: grid;
    gap: 18px;
}
.showcase-grid--events {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.showcase-grid--businesses {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feed-card--showcase {
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
}
.feed-card--showcase .feed-card-body {
    padding: 16px 18px 18px;
}
.feed-card--showcase .feed-card-title {
    font-size: 15px;
}
.feed-card-img--tall {
    height: 220px;
}

.biz-showcase-card {
    display: flex;
    flex-direction: column;
    background: var(--clr-l-card);
    border: 1px solid var(--clr-l-border);
    border-radius: var(--r-xl);
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition: transform var(--t-base), box-shadow var(--t-base);
}
.biz-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.biz-showcase-card__media {
    position: relative;
    height: 168px;
    background: var(--clr-l-bg2);
    overflow: hidden;
}
.biz-showcase-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.biz-showcase-card:hover .biz-showcase-card__media img {
    transform: scale(1.05);
}
.biz-showcase-card__placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
}
.biz-showcase-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: var(--r-full);
    background: rgba(6, 15, 11, .78);
    backdrop-filter: blur(8px);
    font-size: 10px;
    font-weight: 700;
    color: var(--clr-gold-light);
}
.biz-showcase-card__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.biz-showcase-card__type {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--clr-gold-dark);
}
.biz-showcase-card__name {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
    margin: 0;
}
.biz-showcase-card__city {
    margin: 0;
    font-size: 12.5px;
    color: var(--clr-muted-l);
}
.biz-showcase-card__city i {
    margin-right: 4px;
    color: var(--text-muted);
}
.biz-showcase-card__desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--clr-muted-l);
    flex: 1;
}
.biz-showcase-card__cta {
    margin-top: 4px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
}

/* Legacy strip (fallback) */
.biz-strip {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.biz-strip::-webkit-scrollbar { display: none; }
.biz-card {
    flex: 0 0 190px;
    background: var(--clr-l-card);
    border: 1px solid var(--clr-l-border);
    border-radius: var(--r-lg);
    padding: 20px 16px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: transform var(--t-base), box-shadow var(--t-base);
}
.biz-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.biz-card-av {
    width: 52px; height: 52px;
    border-radius: var(--r-md);
    background: var(--clr-l-bg2);
    margin: 0 auto 10px;
    overflow: hidden;
    border: 1px solid var(--clr-l-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.biz-card-av img { width: 100%; height: 100%; object-fit: cover; }
.biz-card-name { font-size: 13.5px; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; }
.biz-card-type { font-size: 11.5px; color: var(--clr-muted-l); margin-bottom: 9px; }
.biz-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: var(--r-full);
    background: rgba(45,122,82,.1);
    border: 1px solid rgba(45,122,82,.25);
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-muted);
}

/* ─────────────────────────────────────────────
   WHY IN7
───────────────────────────────────────────── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.why-card {
    background: var(--clr-l-card);
    border: 1px solid var(--clr-l-border);
    border-radius: var(--r-lg);
    padding: 26px 22px;
    transition: border-color var(--t-base), box-shadow var(--t-base);
}
.why-card:hover { border-color: var(--clr-l-border2); box-shadow: var(--shadow-sm); }
.why-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: var(--clr-gold-bg);
    border: 1px solid var(--clr-gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--clr-gold-dark);
    margin-bottom: 14px;
}
.why-title { font-size: 14.5px; font-weight: 700; color: var(--text-primary); margin-bottom: 7px; }
.why-text  { font-size: 13px; line-height: 1.65; color: var(--clr-muted-l); }

/* ─────────────────────────────────────────────
   JOIN
───────────────────────────────────────────── */
.join-section {
    background: var(--bg-surface);
    padding: 72px 0;
}
.join-intro {
    text-align: center;
    margin-bottom: 40px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.join-note {
    font-size: 15px;
    color: var(--text-secondary);
    margin-top: 10px;
    line-height: 1.7;
}

.join-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.join-card {
    border-radius: var(--r-xl);
    padding: 36px;
    border: 1px solid var(--border-default);
    background: var(--bg-card);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.join-card--user {
    border-color: rgba(52,199,89,.25);
    background: radial-gradient(circle at top right, rgba(52,199,89,.05), transparent 40%), var(--bg-card);
}
.join-card--business {
    border-color: var(--clr-gold-border);
    background: radial-gradient(circle at top right, rgba(200,145,63,.06), transparent 40%), var(--bg-card);
}
.join-card::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197,160,89,.07) 0%, transparent 70%);
    pointer-events: none;
}
.join-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(200, 145, 63, 0.12);
    border: 1px solid rgba(200, 145, 63, 0.22);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}
.join-title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -.02em;
    margin-bottom: 12px;
}
.join-text { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }
.join-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 26px;
}
.join-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    color: var(--text-secondary);
}
.join-check {
    flex-shrink: 0;
    font-size: 14px;
    color: var(--color-accent);
}
.join-card--user .join-check {
    color: var(--h-green4);
}
.join-card__cta--agent {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--r-full);
    font-size: 13.5px;
    font-weight: 700;
    background: rgba(14,35,24,.07);
    border: 1.5px solid rgba(14,35,24,.15);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--t-base);
}
.join-card__cta--agent:hover { background: rgba(14,35,24,.12); }
.join-card__cta--business {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--r-full);
    font-size: 13.5px;
    font-weight: 700;
    background: var(--grad-gold);
    color: var(--h-deep1);
    border: none;
    text-decoration: none;
    transition: opacity var(--t-base);
}
.join-card__cta--business:hover { opacity: .9; }

.join-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 28px;
    padding: 14px 20px;
    border-radius: var(--r-lg);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: .02em;
}

.join-trust-bar i {
    color: var(--color-accent);
    margin-right: 5px;
}

.join-bottom {
    margin-top: 20px;
    text-align: center;
}
.join-bottom__text {
    font-size: 14px;
    color: var(--text-muted);
}
.join-bottom__text a {
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: none;
}
.join-bottom__text a:hover { text-decoration: underline; color: var(--color-accent); }

/* ─────────────────────────────────────────────
   PLATFORM STATS (header row)
───────────────────────────────────────────── */
.platform-strip {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    padding: 18px 0;
}
.platform-strip-inner {
    display: flex;
    align-items: center;
    gap: 0;
}
.platform-stat-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 24px;
    border-right: 1px solid var(--clr-l-border);
    text-decoration: none;
    color: inherit;
    transition: background var(--t-fast);
}
.platform-stat-item:first-child { padding-left: 0; }
.platform-stat-item:last-child  { border-right: none; }
.platform-stat-item:hover { background: rgba(14,35,24,.03); }
.platform-stat-icon {
    width: 40px; height: 40px;
    border-radius: 11px;
    background: var(--clr-gold-bg);
    border: 1px solid var(--clr-gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-gold-dark);
    font-size: 16px;
    flex-shrink: 0;
}
.platform-stat-info { }
.platform-stat-count { font-size: 18px; font-weight: 800; color: var(--text-primary); letter-spacing: -.02em; }
.platform-stat-label { font-size: 12px; color: var(--clr-muted-l); font-weight: 500; }

/* ─────────────────────────────────────────────
   FEATURED SECTIONS (Istaknute ponude)
   Two blocks: Smještaj & Nekretnine / Biznisi & Events
───────────────────────────────────────────── */
.feat-section { padding: 64px 0; background: var(--bg-base); }
.feat-section--alt { background: var(--bg-surface); }

/* ── Listing cards (Smještaj & Nekretnine) ── */
.listing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.lcard {
    background: var(--clr-l-card);
    border: 1px solid rgba(14, 35, 24, .09);
    border-radius: var(--r-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.lcard:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 44px rgba(14, 35, 24, .11);
    border-color: rgba(45, 122, 82, .2);
}
.lcard::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(135deg, rgba(197, 160, 89, .09), transparent 55%);
    transition: opacity .28s ease;
    z-index: 1;
}
.lcard:hover::before { opacity: 1; }

.lcard-img {
    position: relative;
    height: 196px;
    overflow: hidden;
    background: var(--clr-l-bg2);
    flex-shrink: 0;
}
.lcard-img img,
.lcard-img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}
.lcard-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    opacity: .28;
}
.lcard:hover .lcard-img img,
.lcard:hover .lcard-img-placeholder { transform: scale(1.06); }

.lcard-badge {
    position: absolute;
    top: 9px;
    left: 9px;
    padding: 3px 9px;
    background: rgba(6, 15, 11, .76);
    backdrop-filter: blur(8px);
    border-radius: var(--r-full);
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, .9);
    letter-spacing: .04em;
    text-transform: uppercase;
    z-index: 2;
}
.lcard-badge--prem { background: rgba(197, 160, 89, .88); color: var(--h-deep1); }

/* Purpose pill — Prodaja / Najam / Kratki najam */
.lcard-purpose {
    position: absolute;
    top: 9px;
    left: 9px;
    margin-top: 26px; /* below badge */
    padding: 2px 8px;
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--r-full);
    font-size: 9.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, .85);
    letter-spacing: .04em;
    text-transform: uppercase;
    z-index: 2;
}
.lcard-purpose--sale {
    background: rgba(197, 160, 89, .22);
    border-color: rgba(197, 160, 89, .4);
    color: var(--clr-gold-light);
}

/* Short description below title */
.lcard-desc {
    font-size: 11.5px;
    color: var(--clr-muted-l);
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lcard-fav {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: none;
    cursor: pointer;
    z-index: 2;
    transition: background var(--t-base);
}
.lcard-fav:hover { background: #fff; }
.lcard-fav.active { color: var(--h-danger); }

.lcard-agent {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    background: rgba(6, 15, 11, .78);
    backdrop-filter: blur(8px);
    border-radius: var(--r-full);
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, .88);
    z-index: 2;
}
.lcard-agent-av {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: #fff;
    flex-shrink: 0;
    overflow: hidden;
}
.lcard-agent-av img { width: 100%; height: 100%; object-fit: cover; }

.lcard-body {
    padding: 13px 15px 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.lcard-loc {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--clr-faint-l);
    font-weight: 500;
    margin-bottom: 5px;
}
.lcard-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.28;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}
.lcard-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
}
.lcard-chip {
    padding: 2px 8px;
    background: rgba(14, 35, 24, .05);
    border: 1px solid rgba(14, 35, 24, .08);
    border-radius: var(--r-full);
    font-size: 10.5px;
    font-weight: 600;
    color: var(--clr-muted-l);
}
.lcard-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid rgba(14, 35, 24, .06);
}
.lcard-price {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-secondary);
    line-height: 1;
}
.lcard-price-sub {
    font-size: 10.5px;
    font-weight: 500;
    color: var(--clr-faint-l);
    margin-top: 2px;
}
.lcard-cta {
    padding: 7px 14px;
    border: 1.5px solid rgba(45, 122, 82, .26);
    border-radius: var(--r-full);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    background: transparent;
    transition: all var(--t-base);
    white-space: nowrap;
    text-decoration: none;
}
.lcard-cta:hover {
    background: rgba(45, 122, 82, .07);
    border-color: rgba(45, 122, 82, .38);
}

/* ── Business & Event cards ── */
.biz-feat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.bcard {
    background: var(--clr-l-card);
    border: 1px solid rgba(14, 35, 24, .09);
    border-radius: var(--r-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.bcard:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 44px rgba(14, 35, 24, .11);
    border-color: rgba(197, 160, 89, .28);
}

.bcard-cover {
    position: relative;
    height: 138px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.bcard-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}
.bcard-cover-placeholder {
    font-size: 46px;
    opacity: .32;
    transition: transform .45s ease;
}
.bcard:hover .bcard-cover img,
.bcard:hover .bcard-cover-placeholder { transform: scale(1.06); }

.bcard-cat {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    background: rgba(6, 15, 11, .76);
    backdrop-filter: blur(8px);
    border-radius: var(--r-full);
    font-size: 9.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, .9);
    letter-spacing: .04em;
    text-transform: uppercase;
    z-index: 2;
}
.bcard-verif {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 8px;
    background: rgba(197, 160, 89, .88);
    border-radius: var(--r-full);
    font-size: 9px;
    font-weight: 800;
    color: var(--h-deep1);
    z-index: 2;
}
.bcard-logo {
    position: absolute;
    bottom: -18px;
    left: 12px;
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: #fff;
    border: 3px solid #fff;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 3;
}
.bcard-logo img { width: 100%; height: 100%; object-fit: cover; }

/* Event cover variant — taller, no logo offset */
.bcard-cover--event { height: 158px; }
.ecard-date {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(197, 160, 89, .92);
    border-radius: 10px;
    padding: 6px 10px;
    text-align: center;
    min-width: 44px;
    z-index: 2;
}
.ecard-date-d { font-size: 20px; font-weight: 900; color: var(--h-deep1); line-height: 1; }
.ecard-date-m { font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--h-deep1); }

.bcard-body {
    padding: 26px 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.bcard-body--event { padding-top: 14px; }

.bcard-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bcard-loc {
    font-size: 11.5px;
    color: var(--clr-faint-l);
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    gap: 3px;
}
.bcard-desc {
    font-size: 12px;
    line-height: 1.55;
    color: var(--clr-muted-l);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
    flex: 1;
}
.bcard-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid rgba(14, 35, 24, .06);
}
.bcard-trust { display: flex; gap: 5px; flex-wrap: wrap; }
.bcard-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: var(--r-full);
    background: rgba(45, 122, 82, .07);
    border: 1px solid rgba(45, 122, 82, .11);
    font-size: 10px;
    font-weight: 700;
    color: var(--text-secondary);
}
.bcard-cta {
    padding: 7px 13px;
    border-radius: var(--r-full);
    background: rgba(197, 160, 89, .11);
    border: 1.5px solid rgba(197, 160, 89, .3);
    font-size: 12px;
    font-weight: 700;
    color: var(--clr-gold-dark);
    text-decoration: none;
    transition: all var(--t-base);
    white-space: nowrap;
    flex-shrink: 0;
}
.bcard-cta:hover {
    background: rgba(197, 160, 89, .2);
    border-color: rgba(197, 160, 89, .48);
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1100px) {
    .hero-inner {
        grid-template-columns: 1fr 300px;
        gap: 24px;
    }
    .listing-grid,
    .biz-feat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .feed-grid,
    .activity-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .activity-chip--map {
        margin-left: 0;
    }
    .showcase-grid--events,
    .showcase-grid--businesses {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .map-inner {
        grid-template-columns: 1fr 380px;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .home-page {
        --home-search-h: 148px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding: 32px 0 16px;
    }
    .hero-section--compact .hero-inner {
        grid-template-columns: 1fr;
        align-items: stretch;
        padding: clamp(20px, 4vh, 40px) 0 clamp(148px, 20vh, 168px);
    }
    .hero-cards-col {
        display: none;
    }

    .listing-grid,
    .biz-feat-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-title { font-size: clamp(32px, 7vw, 46px); }
    .hero-stats { flex-wrap: wrap; gap: 10px; }
    .hero-stat { padding: 0 14px; }

    .search-dock-row {
        gap: 8px;
        align-items: stretch;
    }

    .search-map-peek {
        width: 52px;
        min-width: 52px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px 6px;
        gap: 4px;
    }

    .search-map-peek__copy,
    .search-map-peek__arrow {
        display: none;
    }

    .search-map-peek__visual {
        width: 36px;
        height: 36px;
    }

    .search-quick-chips {
        display: flex;
    }

    .search-tags--desktop {
        display: none;
    }

    .search-box--dock {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        align-items: stretch;
        border-radius: var(--r-lg);
    }

    .search-field--query {
        grid-column: 1;
        border-right: none;
        border-bottom: none;
        padding: 10px 12px;
    }

    .search-field--query .search-field-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .search-filters-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        align-self: stretch;
        padding: 0 13px;
        border: none;
        border-left: 1px solid rgba(255,255,255,.14);
        background: rgba(255,255,255,.08);
        font-family: inherit;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
        color: rgba(210,235,220,.85);
        cursor: pointer;
        transition: background var(--t-base), color var(--t-base);
        white-space: nowrap;
        position: relative;
    }

    .search-filters-toggle::after {
        content: '▾';
        font-size: 10px;
        display: inline-block;
        transition: transform var(--t-base);
    }

    .search-section--dock.is-filters-open .search-filters-toggle {
        background: rgba(45, 158, 94, .22);
        color: rgba(160,230,190,.95);
        border-left-color: rgba(45,158,94,.35);
    }

    .search-section--dock.is-filters-open .search-filters-toggle::after {
        transform: rotate(180deg);
    }

    .search-advanced-fields {
        display: none;
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
        border-top: 1px solid rgba(255,255,255,.10);
    }

    .search-section--dock.is-filters-open .search-advanced-fields {
        display: grid;
        animation: filterReveal 0.22s ease both;
    }

    @keyframes filterReveal {
        from { opacity: 0; transform: translateY(-6px); }
        to   { opacity: 1; transform: none; }
    }

    .search-advanced-fields .search-field {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.08);
        padding: 10px 12px;
        background: rgba(255,255,255,.04);
    }

    .search-advanced-fields .search-field:nth-child(2) {
        border-right: 1px solid rgba(255,255,255,.08);
    }

    /* Field labels visible on dark glass */
    .search-section--dock .search-advanced-fields .search-field-label {
        color: rgba(180,220,200,.65);
        font-size: 10px;
    }

    .search-section--dock .search-advanced-fields select,
    .search-section--dock .search-advanced-fields input {
        color: rgba(255,255,255,.90);
        background: transparent;
        border: none;
        outline: none;
        font-size: 13px;
        font-weight: 600;
    }

    .search-section--dock .search-advanced-fields select option {
        background: var(--bg-surface);
        color: #fff;
    }

    .search-box--dock > .search-submit {
        grid-column: 3;
        padding: 0 14px;
        border-radius: 0;
    }

    .search-submit-label {
        display: none;
    }

    .search-box:not(.search-box--dock) {
        flex-direction: column;
        border-radius: var(--r-lg);
    }
    .search-box:not(.search-box--dock) .search-field {
        border-right: none;
        border-bottom: 1px solid var(--clr-l-border);
    }
    .search-box:not(.search-box--dock) .search-field:last-of-type {
        border-bottom: none;
    }
    .search-box:not(.search-box--dock) .search-submit {
        justify-content: center;
        padding: 14px 28px;
    }

    .feed-grid,
    .activity-grid { grid-template-columns: 1fr 1fr; }
    .listing-grid,
    .biz-feat-grid { grid-template-columns: 1fr 1fr; }
    .why-grid  { grid-template-columns: 1fr 1fr; }
    .join-grid { grid-template-columns: 1fr 1fr; }

    .map-inner { grid-template-columns: 1fr; }
    .map-preview { height: 260px; }

    .platform-strip-inner { overflow-x: auto; }
    .platform-stat-item { flex: 0 0 180px; }
}

@media (max-width: 480px) {
    .home-page {
        --home-search-h: 132px;
    }

    .hero-section--compact .hero-inner {
        padding-bottom: 148px;
    }

    .activity-grid--premium {
        grid-template-columns: 1fr;
    }

    .feed-grid,
    .activity-grid { grid-template-columns: 1fr; }
    .showcase-grid--events,
    .showcase-grid--businesses {
        grid-template-columns: 1fr;
    }
    .why-grid  { grid-template-columns: 1fr; }
    .join-grid { grid-template-columns: 1fr; }
    .listing-grid,
    .biz-feat-grid { grid-template-columns: 1fr; }
    .hero-cats { gap: 6px; }
    .btn-gold, .btn-ghost-dark { text-align: center; justify-content: center; }
}

/* ── Search field show/hide transitions ── */
.search-date-field,
.search-purpose-field {
    transition: opacity var(--t-base), max-width var(--t-base);
    overflow: hidden;
}
.search-date-field[hidden],
.search-purpose-field[hidden] {
    display: none;
}

/* ── Hero stat counter ── */
.hero-stat-value {
    font-variant-numeric: tabular-nums;
}

/* ── v20: Hero rotation, grid fix, sticky results, map peek ── */

/* Hero cards list — transparent wrapper for JS fade */
.hero-cards-list {
    display: contents;
}

/* Card entrance animation (JS-driven rotation) */
.hero-cards-list .hmc {
    animation: hmcEnter 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-cards-list .hmc:nth-child(1) { animation-delay: 0s;    }
.hero-cards-list .hmc:nth-child(2) { animation-delay: 0.06s; }
.hero-cards-list .hmc:nth-child(3) { animation-delay: 0.12s; }

@keyframes hmcEnter {
    from { opacity: 0; transform: translateY(10px) scale(0.97); }
    to   { opacity: 1; transform: none; }
}

/* Live dot next to "Istaknuta ponuda" label */
.hero-cards-label {
    display: flex;
    align-items: center;
    gap: 6px;
}
.hero-cards-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--clr-emerald4);
    box-shadow: 0 0 0 2px rgba(76,175,125,.25);
    flex-shrink: 0;
    animation: livePulse 2.4s ease-in-out infinite;
}
@keyframes livePulse {
    0%,100% { box-shadow: 0 0 0 2px rgba(76,175,125,.25); }
    50%     { box-shadow: 0 0 0 5px rgba(76,175,125,.07); }
}

/* Activity grid: auto-fill so it never overflows on medium viewports */
.activity-grid--premium {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* Sticky search bar compact mode when search results are shown */
.home-page--results .search-section--dock.is-pinned {
    padding-top: 6px;
    padding-bottom: 6px;
}
.home-page--results .search-section--dock.is-pinned .search-tags,
.home-page--results .search-section--dock.is-pinned .search-quick-chips {
    display: none;
}
.home-page--results .search-section--dock.is-pinned .search-map-peek {
    width: 44px;
    min-width: 44px;
    justify-content: center;
    padding: 8px;
    overflow: hidden;
}
.home-page--results .search-section--dock.is-pinned .search-map-peek__copy,
.home-page--results .search-section--dock.is-pinned .search-map-peek__arrow {
    display: none;
}
.home-page--results .search-section--dock.is-pinned .search-field-label {
    display: none;
}
.home-page--results .search-section--dock.is-pinned .search-field {
    padding: 8px 14px;
}

/* Map peek: adapt to dark glass background */
.search-section--dock .search-map-peek {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.10);
    box-shadow: none;
    color: rgba(210,230,220,.9);
}
.search-section--dock .search-map-peek:hover {
    background: rgba(255,255,255,.11);
    border-color: rgba(197,160,89,.28);
    transform: translateY(-2px);
}
.search-section--dock .search-map-peek__copy strong { color: rgba(210,230,220,.95); }
.search-section--dock .search-map-peek__copy span   { color: rgba(210,230,220,.48); }
.search-section--dock .search-map-peek__arrow       { color: rgba(197,160,89,.65); }
.search-section--dock .search-map-peek__visual {
    background: linear-gradient(160deg, var(--h-deep6) 0%, var(--h-deep5) 100%);
    border: 1px solid rgba(255,255,255,.08);
}

/* ─────────────────────────────────────────────
   SKELETON LOADING
───────────────────────────────────────────── */
@keyframes in7-skel-shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

.lcard-skel {
    border-radius: var(--r-xl, 24px);
    overflow: hidden;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(2,44,34,0.06);
    display: none;
}

[data-skeleton-grid].is-skeleton .lcard-skel {
    display: block;
}

[data-skeleton-grid].is-skeleton .lcard,
[data-skeleton-grid].is-skeleton .bcard,
[data-skeleton-grid].is-skeleton .event-card,
[data-skeleton-grid].is-skeleton [class*="-card"] {
    display: none;
}

.lcard-skel-img {
    height: 200px;
    background: linear-gradient(90deg, var(--h-mint9) 25%, var(--h-mint8) 50%, var(--h-mint9) 75%);
    background-size: 800px 100%;
    animation: in7-skel-shimmer 1.4s infinite linear;
}

.lcard-skel-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lcard-skel-line {
    height: 14px;
    border-radius: 7px;
    width: 100%;
    background: linear-gradient(90deg, var(--h-mint9) 25%, var(--h-mint8) 50%, var(--h-mint9) 75%);
    background-size: 800px 100%;
    animation: in7-skel-shimmer 1.4s infinite linear;
}

.lcard-skel-line--sm  { width: 45%; height: 10px; animation-delay: 0.1s; }
.lcard-skel-line--md  { width: 70%; animation-delay: 0.2s; }

.lcard-skel-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}

.lcard-skel-btn {
    width: 90px;
    height: 36px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--h-mint9) 25%, var(--h-mint8) 50%, var(--h-mint9) 75%);
    background-size: 800px 100%;
    animation: in7-skel-shimmer 1.4s infinite linear;
    animation-delay: 0.15s;
}

[data-skeleton-grid] .lcard,
[data-skeleton-grid] .bcard,
[data-skeleton-grid] .event-card {
    animation: in7-card-fadein 0.35s ease both;
}

@keyframes in7-card-fadein {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

/* ─────────────────────────────────────────────
   v24: Mobile UX hardening
   - sec-head stack on narrow screens
   - CTA touch targets 44px+
   - join-card padding tighter on small screens
   - lcard/bcard text overflow guards
   - hero padding-top safe-area
───────────────────────────────────────────── */

@media (max-width: 575px) {
    /* Section headers: stack title + link vertically */
    .sec-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .sec-link {
        align-self: flex-start;
        white-space: normal;
    }

    /* Section padding tighter on small screens */
    .home-section {
        padding: 40px 0;
    }

    /* Join cards: reduce padding */
    .join-card {
        padding: 24px 20px;
    }

    /* Join CTAs — full width + min touch target */
    .join-card__cta--agent,
    .join-card__cta--business {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    /* Hero cats: smaller font, better wrapping */
    .hero-cat {
        font-size: 12px;
        padding: 6px 12px;
    }

    /* hero-inner compact: tight padding on small screens */
    .hero-section--compact .hero-inner {
        padding: 14px 0 122px;
    }

    /* Live strip: tighter items */
    .live-item {
        padding: 8px 12px;
        font-size: 11.5px;
    }

    /* Sec-lead shorter on mobile */
    .sec-lead {
        font-size: 13px;
    }

    /* lcard/bcard — prevent text overflow bleed */
    .lcard-title,
    .bcard-name {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Why-grid: single column on very small screens */
    .why-grid {
        grid-template-columns: 1fr;
    }

    /* Featured grid: single column */
    .listing-grid,
    .biz-feat-grid,
    .feed-grid,
    .activity-grid {
        grid-template-columns: 1fr;
    }

    /* hero safe-area: leave room for iOS home bar */
    .hero-section--compact {
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
}

/* ─────────────────────────────────────────────
   v25: Home redesign — new section classes
───────────────────────────────────────────── */

/* Hero title — 3-line split */
.hero-title-line1,
.hero-title-line3 {
    display: block;
}
.hero-title-line2 {
    display: block;
}
.hero-title--italic {
    font-style: italic;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero CTA buttons (on dark hero bg) */
.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: var(--grad-gold);
    color: var(--h-deep1);
    font-size: 14.5px;
    font-weight: 700;
    border-radius: var(--r-full);
    text-decoration: none;
    transition: opacity var(--t-base), transform var(--t-base);
}
.hero-btn-primary:hover { opacity: .9; transform: translateY(-1px); }

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border: 1.5px solid rgba(255,255,255,.14);
    color: rgba(210,230,220,.85);
    font-size: 14.5px;
    font-weight: 600;
    border-radius: var(--r-full);
    background: rgba(255,255,255,.04);
    text-decoration: none;
    transition: all var(--t-base);
}
.hero-btn-secondary:hover { border-color: rgba(255,255,255,.26); color: #fff; }

/* Why IN7 — 2-col redesign */
.home-why {
    background: var(--bg-surface);
    padding: 72px 0;
}

.why-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.why-left {
    max-width: 460px;
}

.why-stat-block {
    margin-top: 28px;
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.why-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.why-stat-num {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -.04em;
    line-height: 1;
    color: var(--color-accent);
}

.why-stat-pct {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-accent);
}

.why-stat-lbl {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.why-right {
    padding-top: 4px;
}

/* Listing / business card placeholder images */
.card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface, var(--clr-l-bg2));
    font-size: 48px;
    opacity: .28;
    transition: transform .45s ease;
}

.listing-card:hover .card-img-placeholder,
.business-card:hover .card-img-placeholder {
    transform: scale(1.06);
}

.bcard-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface, var(--clr-l-bg2));
    font-size: 56px;
    opacity: .28;
    transition: transform .45s ease;
}

/* Business card logo overlay (small logo circle, bottom-left of cover) */
.bcard-logo-overlay {
    position: absolute;
    bottom: -16px;
    left: 12px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff;
    border: 2.5px solid #fff;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}
.bcard-logo-overlay img { width: 100%; height: 100%; object-fit: cover; }

/* Badge: category (amber tint on business cards) */
.badge-category {
    background: rgba(200,145,63,.13);
    border: 1px solid rgba(200,145,63,.28);
    color: var(--color-accent);
}

/* Join CTA buttons — full width when used inside join cards */
.join-cta-btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    margin-top: 4px;
}

/* cards-grid variants (inherit layout from components.css .cards-grid) */
.cards-grid--listings,
.cards-grid--businesses {
    /* Intentionally empty — layout handled by .cards-grid in components.css */
}

/* Why layout responsive */
@media (max-width: 900px) {
    .why-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .why-left {
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .home-why {
        padding: 48px 0;
    }
    .why-stat-num {
        font-size: 2.2rem;
    }
    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}


/* ═════════════════════════════════════════════
   v28: HOME PREMIUM POLISH
   ─ Navy-blue hero (replaces dark-green)
   ─ Section gradient dividers
   ─ hmc (hero featured offers) redesign
   ─ Card border & shadow improvements
   ─ Map section enlarged (340→420px)
   ─ Typography & contrast polish
   ─ Hero image desaturate (less green cast)
═════════════════════════════════════════════ */

/* ── 1. NAVY HERO — shift from dark-emerald to midnight-navy ── */

html:has(body.page-home) {
    background: var(--h-navy2);
}

.home-page {
    --home-hero-deep: var(--h-navy2);
    --home-hero-mint: var(--h-blue1);
}

.home-viewport-shell {
    background:
        linear-gradient(180deg,
            var(--h-navy1) 0%,
            var(--h-navy4) 45%,
            var(--h-navy6) 80%,
            var(--clr-l-bg2) 100%
        );
}

/* Hero overlay: neutral midnight-navy replaces strong emerald-green */
.hero-overlay {
    background: linear-gradient(112deg,
        rgba(5,9,26,0.90) 0%,
        rgba(8,16,40,0.50) 52%,
        rgba(5,9,26,0.90) 100%
    );
}

/* Bottom fade: navy tone */
.hero-bottom-fade {
    background: linear-gradient(to top,
        rgba(7,11,26, 0.96) 0%,
        rgba(7,11,26, 0.68) 35%,
        transparent 100%
    );
}

/* Search dock: navy seamless */
.search-section--dock {
    background: linear-gradient(to bottom, rgba(5,9,22,0.06) 0%, rgba(5,9,22,0.44) 100%);
    border-top: none;
}

/* Hero ambient glows: blue-warm instead of green */
.hero-glow-1 {
    background: radial-gradient(circle, rgba(28,68,180,.14) 0%, transparent 65%);
}
.hero-glow-2 {
    background: radial-gradient(circle, rgba(197,160,89,.10) 0%, transparent 65%);
}

/* Time-of-day mood overlays — navy base */
.hero-section[data-hero-period="morning"] .hero-overlay {
    background: linear-gradient(112deg, rgba(5,9,26,.78) 0%, rgba(28,58,80,.40) 48%, rgba(5,9,26,.82) 100%);
}
.hero-section[data-hero-period="day"] .hero-overlay {
    background: linear-gradient(112deg, rgba(5,9,26,.88) 0%, rgba(8,18,42,.50) 52%, rgba(5,9,26,.88) 100%);
}
.hero-section[data-hero-period="evening"] .hero-overlay {
    background: linear-gradient(112deg, rgba(12,18,42,.88) 0%, rgba(8,20,40,.54) 50%, rgba(36,20,10,.82) 100%);
}
.hero-section[data-hero-period="night"] .hero-overlay {
    background: linear-gradient(112deg, rgba(4,6,18,.96) 0%, rgba(5,12,30,.64) 50%, rgba(5,5,16,.96) 100%);
}

/* ── 2. HERO IMAGE — reduce green cast ── */
.hero-bg {
    filter: brightness(0.88) saturate(0.80);
}
.hero-section[data-hero-period="morning"] .hero-bg {
    filter: saturate(0.90) brightness(1.04) hue-rotate(-6deg);
}
.hero-section[data-hero-period="evening"] .hero-bg {
    filter: saturate(0.82) brightness(.88) sepia(.08);
}
.hero-section[data-hero-period="night"] .hero-bg {
    filter: saturate(0.70) brightness(.72);
}

/* ── 3. HERO FEATURED OFFERS (hmc) REDESIGN ── */

.hero-cards-col {
    gap: 9px;
}

.hero-cards-label {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.36);
    padding-left: 2px;
    margin-bottom: 5px;
}

.hmc {
    padding: 13px 14px;
    background: rgba(5, 10, 26, .86);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 15px;
    backdrop-filter: blur(20px);
    box-shadow:
        0 4px 20px rgba(0,0,0,.28),
        inset 0 1px 0 rgba(255,255,255,.05);
    transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base), background var(--t-base);
}

.hmc:hover {
    transform: translateX(-4px);
    border-color: rgba(197,160,89,.36);
    box-shadow:
        0 8px 30px rgba(0,0,0,.36),
        inset 0 1px 0 rgba(255,255,255,.07);
    background: rgba(7, 13, 32, .92);
}

.hmc--gold {
    border-color: rgba(197,160,89,.24);
    background: rgba(8, 13, 30, .90);
}

.hmc-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 20px;
}

.hmc-icon.hi-green { background: rgba(28,90,65,.30); }
.hmc-icon.hi-gold  { background: rgba(197,160,89,.20); }
.hmc-icon.hi-blue  { background: rgba(55,115,235,.22); }
.hmc-icon.hi-rose  { background: rgba(215,80,110,.20); }

.hmc-title {
    font-size: 13px;
    font-weight: 700;
    color: rgba(232,244,255,.92);
    letter-spacing: -.01em;
}

.hmc-sub {
    font-size: 10.5px;
    color: rgba(130,170,200,.60);
    margin-top: 1px;
}

.hmc-price {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--clr-gold-light);
}

.hero-cards-more {
    font-size: 11px;
    font-weight: 600;
    color: rgba(197,160,89,.52);
    margin-top: 5px;
    letter-spacing: .03em;
}
.hero-cards-more:hover { color: var(--clr-gold-light); }

/* ── 4. SECTION GRADIENT DIVIDERS ── */

.home-section,
.feat-section,
.map-teaser,
.join-section,
.platform-strip {
    position: relative;
}

.home-section::before,
.feat-section::before,
.map-teaser::before,
.join-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(14,35,24,.08) 20%,
        rgba(14,35,24,.16) 50%,
        rgba(14,35,24,.08) 80%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}

#featured-listings::before {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(197,160,89,.10) 15%,
        rgba(197,160,89,.26) 50%,
        rgba(197,160,89,.10) 85%,
        transparent 100%
    );
}

#featured-businesses::before {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(45,122,82,.12) 15%,
        rgba(45,122,82,.28) 50%,
        rgba(45,122,82,.12) 85%,
        transparent 100%
    );
}

/* ── 5. CARD BORDERS & SHADOWS — more visible edges ── */

.lcard {
    border-color: rgba(14,35,24,.13);
    box-shadow:
        0 2px 8px rgba(14,35,24,.06),
        0 1px 2px rgba(14,35,24,.04);
}
.lcard:hover {
    border-color: rgba(45,122,82,.24);
    box-shadow:
        0 20px 50px rgba(14,35,24,.13),
        0 4px 8px rgba(14,35,24,.04);
}

.bcard {
    border-color: rgba(14,35,24,.13);
    box-shadow:
        0 2px 8px rgba(14,35,24,.06),
        0 1px 2px rgba(14,35,24,.04);
}
.bcard:hover {
    border-color: rgba(197,160,89,.30);
    box-shadow:
        0 20px 50px rgba(14,35,24,.13),
        0 4px 8px rgba(14,35,24,.04);
}

.why-card {
    border-color: rgba(14,35,24,.11);
    box-shadow: 0 2px 8px rgba(14,35,24,.04);
    transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.why-card:hover {
    transform: translateY(-3px);
    border-color: rgba(197,160,89,.28);
    box-shadow: 0 14px 36px rgba(14,35,24,.09);
}

.join-card {
    box-shadow: 0 4px 24px rgba(14,35,24,.07);
}

/* ── 6. MAP SECTION ENLARGED ── */

.map-preview {
    height: 420px;
}

.map-inner {
    grid-template-columns: 1fr 400px;
    gap: 56px;
    align-items: start;
}

@media (max-width: 1100px) {
    .map-inner {
        grid-template-columns: 1fr 350px;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .map-inner   { grid-template-columns: 1fr; }
    .map-preview { height: 300px; }
}

/* ── 7. TYPOGRAPHY & SECTION HEADERS ── */

.sec-kicker {
    letter-spacing: .12em;
}

.sec-title {
    font-size: clamp(1.45rem, 2.4vw, 1.95rem);
    letter-spacing: -.028em;
}

/* ── 8. FEATURED SECTIONS — slightly more padding ── */

.feat-section {
    padding: 56px 0;
}

/* ── 9. PLATFORM STRIP — cleaner white card feel ── */

.platform-strip {
    background: var(--clr-l-card);
    box-shadow:
        0 1px 0 var(--clr-l-border),
        0 -1px 0 var(--clr-l-border);
}

.platform-stat-icon {
    background: rgba(197,160,89,.09);
    border-color: rgba(197,160,89,.22);
}

/* ── 10. HERO LIVING-HUB — navy glass ── */

.hero-living-hub {
    background: rgba(5, 10, 26, .76);
    border-color: rgba(197,160,89,.20);
    box-shadow: 0 24px 64px rgba(0,0,0,.32);
}

.hero-hub-cell {
    background: rgba(255,255,255,.035);
    border-color: rgba(255,255,255,.055);
}

/* ── 11. HERO STATS ── */

.hero-stat-value {
    font-size: 22px;
    letter-spacing: -.03em;
}

.hero-stat {
    border-right-color: rgba(255,255,255,.09);
}

/* ── 12. SEARCH MAP PEEK — navy context ── */

.search-section--dock .search-map-peek__visual {
    background: linear-gradient(160deg, var(--h-navy3) 0%, var(--h-navy5) 100%);
}

/* ─────────────────────────────────────────────
   DARK THEME ENHANCEMENTS v1
   Zlatni okviri na kartice + sekcijski separatori
───────────────────────────────────────────── */

/* ── Zlatni okvir na kartice (default u dark modu) ── */
html:not([data-theme="light"]) .feed-card,
html:not([data-theme="light"]) .lcard,
html:not([data-theme="light"]) .bcard,
html:not([data-theme="light"]) .why-card,
html:not([data-theme="light"]) .biz-showcase-card {
    border-color: rgba(200, 145, 63, 0.16);
    box-shadow: inset 0 1px 0 rgba(200, 145, 63, 0.18), var(--shadow-card);
}

html:not([data-theme="light"]) .feed-card:hover,
html:not([data-theme="light"]) .lcard:hover,
html:not([data-theme="light"]) .bcard:hover,
html:not([data-theme="light"]) .biz-showcase-card:hover {
    border-color: rgba(200, 145, 63, 0.40);
    box-shadow: inset 0 1px 0 rgba(200, 145, 63, 0.45),
                0 0 0 1px rgba(200, 145, 63, 0.08),
                var(--shadow-card-hover);
}

html:not([data-theme="light"]) .why-card:hover {
    border-color: rgba(200, 145, 63, 0.38);
    box-shadow: inset 0 1px 0 rgba(200, 145, 63, 0.35), var(--shadow-sm);
}

/* Join kartice — business varijanta jača */
html:not([data-theme="light"]) .join-card {
    border-color: rgba(200, 145, 63, 0.14);
    box-shadow: inset 0 1px 0 rgba(200, 145, 63, 0.14), var(--shadow-card);
}
html:not([data-theme="light"]) .join-card--business {
    border-color: rgba(200, 145, 63, 0.28);
    box-shadow: inset 0 1px 0 rgba(200, 145, 63, 0.32), var(--shadow-card);
}

/* ── Sekcijski separatori — zlatna linija na prijelazima ── */
html:not([data-theme="light"]) .home-section--alt,
html:not([data-theme="light"]) .feat-section--alt,
html:not([data-theme="light"]) .join-section,
html:not([data-theme="light"]) .home-section--businesses {
    position: relative;
}

html:not([data-theme="light"]) .home-section--alt::before,
html:not([data-theme="light"]) .feat-section--alt::before,
html:not([data-theme="light"]) .join-section::before,
html:not([data-theme="light"]) .home-section--businesses::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(200, 145, 63, 0.20) 25%,
        rgba(200, 145, 63, 0.20) 75%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Alt sekcije — blago drugačija pozadina s navy gradijentom */
html:not([data-theme="light"]) .home-section--alt,
html:not([data-theme="light"]) .feat-section--alt {
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-base) 100%);
}

html:not([data-theme="light"]) .join-section {
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-base) 100%);
}

/* ─────────────────────────────────────────────
   End v28
───────────────────────────────────────────── */

/* ═════════════════════════════════════════════
   FIX-1: LIGHT THEME HERO — data-theme="light"
   v28 global navy styles override the hero even
   when user manually toggles to light. These rules
   restore the mint/green hero for the JS toggle.
═════════════════════════════════════════════ */

html[data-theme="light"]:has(body.page-home) {
    background: var(--h-mint4);
}
html[data-theme="light"] body.page-home {
    background: var(--clr-l-bg);
}
html[data-theme="light"] .home-viewport-shell {
    background: linear-gradient(180deg, var(--h-mint7) 0%, var(--h-mint3) 48%, var(--h-mint10) 82%, var(--clr-l-bg2) 100%);
}

/* Hero image — keep the place visible in light mode; text readability comes from the softer overlay. */
html[data-theme="light"] .hero-bg {
    filter: brightness(0.96) saturate(0.92);
    opacity: 0.78;
}

html[data-theme="light"] .hero-overlay {
    background:
        linear-gradient(112deg, rgba(245,250,247,0.50) 0%, rgba(255,255,255,0.18) 48%, rgba(236,247,241,0.56) 100%),
        linear-gradient(90deg, rgba(248,252,249,0.64) 0%, rgba(248,252,249,0.22) 42%, rgba(248,252,249,0.48) 100%);
}

html[data-theme="light"] .hero-bottom-fade {
    background: linear-gradient(to top, rgba(238,247,242,0.84) 0%, rgba(238,247,242,0.36) 36%, transparent 100%);
}

/* Grid texture — subtle */
html[data-theme="light"] .hero-grid-bg {
    background-image:
        linear-gradient(rgba(0,80,40,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,80,40,.04) 1px, transparent 1px);
}

/* Ambient glows — match original light mode */
html[data-theme="light"] .hero-glow-1 {
    background: radial-gradient(circle, rgba(100,200,140,.12) 0%, transparent 65%);
}
html[data-theme="light"] .hero-glow-2 {
    background: radial-gradient(circle, rgba(197,160,89,.10) 0%, transparent 65%);
}

html[data-theme="light"] .hero-section[data-hero-period="morning"] .hero-overlay {
    background:
        linear-gradient(112deg, rgba(255,250,236,.46) 0%, rgba(255,255,255,.16) 48%, rgba(236,247,241,.54) 100%),
        linear-gradient(90deg, rgba(248,252,249,.62) 0%, rgba(248,252,249,.20) 42%, rgba(248,252,249,.46) 100%);
}
html[data-theme="light"] .hero-section[data-hero-period="day"] .hero-overlay {
    background:
        linear-gradient(112deg, rgba(245,250,247,.50) 0%, rgba(255,255,255,.18) 48%, rgba(236,247,241,.56) 100%),
        linear-gradient(90deg, rgba(248,252,249,.64) 0%, rgba(248,252,249,.22) 42%, rgba(248,252,249,.48) 100%);
}
html[data-theme="light"] .hero-section[data-hero-period="evening"] .hero-overlay {
    background:
        linear-gradient(112deg, rgba(255,246,232,.52) 0%, rgba(255,255,255,.18) 48%, rgba(248,230,210,.54) 100%),
        linear-gradient(90deg, rgba(248,252,249,.62) 0%, rgba(248,252,249,.18) 42%, rgba(248,252,249,.44) 100%);
}
html[data-theme="light"] .hero-section[data-hero-period="night"] .hero-overlay {
    background:
        linear-gradient(112deg, rgba(226,235,248,.58) 0%, rgba(255,255,255,.20) 48%, rgba(225,225,245,.58) 100%),
        linear-gradient(90deg, rgba(248,252,249,.62) 0%, rgba(248,252,249,.20) 42%, rgba(248,252,249,.48) 100%);
}

/* Search dock light — seamless gradient, warm gold (not green) */
html[data-theme="light"] .search-section--dock {
    background: linear-gradient(to bottom, rgba(255,248,230,0.04) 0%, rgba(235,210,165,0.22) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: none;
    border-bottom: none;
}
html[data-theme="light"] .search-section--dock .search-tags-lbl {
    color: rgba(80, 55, 20, 0.45);
}
html[data-theme="light"] .search-section--dock .search-tag {
    background: rgba(255, 252, 240, 0.72);
    border-color: rgba(160, 100, 30, 0.18);
    color: rgba(80, 55, 20, 0.72);
}
html[data-theme="light"] .search-section--dock .search-tag:hover {
    background: rgba(255, 252, 240, 0.95);
    border-color: rgba(197, 160, 89, 0.38);
    color: rgba(80, 55, 20, 0.90);
}

/* Hero text — light theme: warm dark-brown on gold overlay */
html[data-theme="light"] .hero-title        { color: var(--h-lm-text); }
html[data-theme="light"] .hero-sub          { color: rgba(60,42,18,.72); }
html[data-theme="light"] .hero-scroll       { color: rgba(80,55,20,.35); }
html[data-theme="light"] .hero-cats-label   { color: rgba(80,55,20,.50); }
html[data-theme="light"] .hero-cards-label  { color: rgba(80,55,20,.50); }
html[data-theme="light"] .hero-stat         { border-right-color: rgba(160,100,30,.18); }
html[data-theme="light"] .hero-stat-value   { color: var(--h-lm-text); }
html[data-theme="light"] .hero-stat-label   { color: rgba(80,55,20,.60); }

/* Category pills — warm gold glass */
html[data-theme="light"] .hero-cat {
    border-color: rgba(160,100,30,.18);
    background: rgba(255,248,230,.65);
    color: rgba(80,55,20,.80);
}

/* Mini offer cards (hmc) — warm white glass */
html[data-theme="light"] .hmc {
    background: rgba(255,250,240,.88);
    border-color: rgba(160,100,30,.12);
    box-shadow: 0 4px 16px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.9);
}
html[data-theme="light"] .hmc:hover {
    background: rgba(255,252,245,.96);
    border-color: rgba(200,145,63,.30);
}
html[data-theme="light"] .hmc--gold       { border-color: rgba(200,145,63,.24); }
html[data-theme="light"] .hmc-title       { color: var(--h-lm-text); }
html[data-theme="light"] .hmc-sub         { color: rgba(80,55,20,.60); }
html[data-theme="light"] .hero-cards-more { color: rgba(160,100,30,.55); }

/* Living hub — warm white glass */
html[data-theme="light"] .hero-living-hub {
    background: rgba(255,250,240,.82);
    border-color: rgba(200,145,63,.20);
    box-shadow: 0 24px 60px rgba(0,0,0,.10);
}
html[data-theme="light"] .hero-hub-head          { border-bottom-color: rgba(160,100,30,.10); }
html[data-theme="light"] .hero-hub-city          { color: var(--h-lm-text); }
html[data-theme="light"] .hero-hub-period        { color: rgba(80,55,20,.60); }
html[data-theme="light"] .hero-hub-cell {
    background: rgba(200,145,63,.06);
    border-color: rgba(160,100,30,.10);
}
html[data-theme="light"] .hero-hub-cell-label    { color: rgba(80,55,20,.55); }
html[data-theme="light"] .hero-hub-cell-value    { color: var(--h-lm-text); }
html[data-theme="light"] .hero-hub-cell-sub      { color: rgba(80,55,20,.55); }
html[data-theme="light"] .hero-hub-events        { border-top-color: rgba(160,100,30,.10); }
html[data-theme="light"] .hero-hub-events-head   { color: var(--h-lm-text); }
html[data-theme="light"] .hero-hub-events-list a {
    background: rgba(200,145,63,.06);
    border-color: rgba(160,100,30,.10);
}
html[data-theme="light"] .hero-hub-event-title   { color: var(--h-lm-text); }
html[data-theme="light"] .hero-hub-event-meta    { color: rgba(80,55,20,.55); }
html[data-theme="light"] .hero-hub-events-empty  { color: rgba(80,55,20,.50); }

/* ═════════════════════════════════════════════
   FIX-2: HERO CATEGORY PILLS — dark mode visibility
   --clr-muted-d is too dark on navy hero
═════════════════════════════════════════════ */

html:not([data-theme="light"]) .hero-cat {
    color: rgba(185, 210, 255, 0.72);
    border-color: rgba(140, 170, 230, 0.18);
    background: rgba(120, 155, 220, 0.08);
}
html:not([data-theme="light"]) .hero-cat:hover,
html:not([data-theme="light"]) .hero-cat.active {
    color: var(--clr-gold-light);
    border-color: rgba(197,160,89,.40);
    background: rgba(197,160,89,.08);
}

/* ═════════════════════════════════════════════
   FIX-3: MAP SECTION — 1/3 text + 2/3 map
   User requested: text left 1/3, map right 2/3
   Height bumped to 560px so map feels large.
═════════════════════════════════════════════ */

.map-preview {
    height: 560px;
}
.map-inner {
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 1100px) {
    .map-inner {
        grid-template-columns: 1fr 2fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .map-inner   { grid-template-columns: 1fr; }
    .map-preview { height: 340px; }
}

/* ═════════════════════════════════════════════
   FIX-4: MOBILE FILTERS — overflow clip fix
   Root cause: home-viewport-shell has fixed height
   + overflow:hidden. Expanded filters push BELOW
   the shell boundary and get clipped. Fix: release
   overflow on shell when filters are open so the
   search section can grow downward freely.
═════════════════════════════════════════════ */

/* Ensure filter toggle is reachable by touch */
@media (max-width: 768px) {
    .search-filters-toggle {
        min-width: 68px;
        min-height: 44px;
    }

    /* Release overflow clip so expanded filters aren't hidden */
    .home-viewport-shell:has(.search-section--dock.is-filters-open) {
        overflow: visible;
    }

    /* Also release on the search box itself */
    .search-section--dock.is-filters-open .search-box--dock {
        overflow: visible;
        border-radius: var(--r-lg);
    }
}

/* ═════════════════════════════════════════════
   FIX-5: DARK MODE — prefers-color-scheme bleed prevention
   When OS is in light mode but JS theme is explicitly "dark",
   the @media (prefers-color-scheme: light) block (line ~684)
   overrides base styles. These explicit dark-mode rules win
   via higher specificity (html[data-theme] selector).
═════════════════════════════════════════════ */

html[data-theme="dark"] .hero-title       { color: #fff; }
html[data-theme="dark"] .hero-sub         { color: var(--clr-muted-d); }
html[data-theme="dark"] .hero-scroll      { color: rgba(255,255,255,.38); }
html[data-theme="dark"] .hero-cats-label  { color: rgba(255,255,255,.42); }
html[data-theme="dark"] .hero-cards-label { color: rgba(255,255,255,.52); }
html[data-theme="dark"] .hero-stat-value  { color: #fff; }
html[data-theme="dark"] .hero-stat-label  { color: rgba(215,225,235,.68); }

html[data-theme="dark"] .hero-overlay {
    background: linear-gradient(180deg, rgba(9,9,28,0.30) 0%, rgba(9,9,28,0.10) 55%, rgba(9,9,28,0.48) 100%);
}
html[data-theme="dark"] .hero-bottom-fade {
    background: linear-gradient(to top, var(--bg-base) 0%, rgba(9,9,28,.45) 35%, transparent 100%);
}
html[data-theme="dark"] .home-viewport-shell {
    background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface) 40%, var(--bg-base) 100%);
}

/* Search max-width — wide enough to fit all popular tags + map on one line */
.search-dock-main {
    max-width: 920px;
    width: 100%;
    margin: 0 auto;
}

/* Map tag — slightly accented to stand out at end of tags row */
.search-tag--map {
    border-color: rgba(45, 122, 82, 0.28);
}

/* ═════════════════════════════════════════════
   PREMIUM FEATURE CARDS (lfc / bfc)
   → Moved to /assets/css/cards.css
     Load cards.css alongside home.css on pages that need it.
═════════════════════════════════════════════ */

/* ── Shared card base ── */
.lfc,
.bfc {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    box-shadow: 0 18px 42px rgba(0,0,0,.08);
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

/* Gold top accent — same as pricing-card::before */
.lfc::before,
.bfc::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--h-gold-accent));
    z-index: 1;
}

.lfc:hover,
.bfc:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 56px rgba(0,0,0,.14);
    border-color: rgba(200,145,63,.32);
}

/* Featured variant */
.lfc--featured,
.bfc--featured {
    border-color: rgba(200,145,63,.30);
    box-shadow: 0 24px 52px rgba(54,43,22,.12);
}

/* ── Image area ── */
.lfc-image,
.bfc-image {
    position: relative;
    width: 100%;
    height: 196px;
    overflow: hidden;
    background: var(--bg-surface);
    flex-shrink: 0;
}

/* Favorite button on featured cards */
.lfc-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    z-index: 3;
    transition: background var(--t-base), transform var(--t-base);
    color: var(--clr-muted-d);
}
.lfc-fav:hover {
    background: #fff;
    transform: scale(1.08);
}
.lfc-fav.active { color: var(--h-danger); }

.lfc-image img,
.bfc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 400ms ease;
}

.lfc:hover .lfc-image img,
.bfc:hover .bfc-image img {
    transform: scale(1.04);
}

.lfc-img-placeholder,
.bfc-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-card-hover) 100%);
    color: var(--text-muted);
    font-weight: 900;
}

/* Type chip — bottom-left on image */
.lfc-type-chip {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(9,9,28,.72);
    color: rgba(255,255,255,.90);
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    white-space: nowrap;
}

/* Logo overlay — bfc only */
.bfc-logo-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.22);
    background: var(--bg-card);
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

.bfc-logo-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Card body ── */
.lfc-body,
.bfc-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 12px 16px 14px;
}

/* Meta row (agent + location) */
.lfc-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 3px;
}

.lfc-agent {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lfc-location,
.bfc-location {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Type chip inside body — bfc */
.bfc-type-chip {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(200,145,63,.12);
    color: var(--color-accent);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
    margin-bottom: 4px;
    align-self: flex-start;
}

/* Title */
.lfc-title,
.bfc-title {
    margin: 0 0 4px;
    color: var(--text-primary);
    font-size: 0.98rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -.01em;
}

/* Description */
.lfc-desc,
.bfc-desc {
    margin: 0 0 5px;
    color: var(--text-secondary);
    font-size: 11.5px;
    line-height: 1.4;
}

/* Price block — mirrors .billing-price */
.lfc-price {
    margin: 4px 0 8px;
}

.lfc-price strong {
    display: block;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: -.01em;
    line-height: 1.15;
}

.lfc-price span {
    display: block;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    margin-top: 1px;
}

/* Stats row — inline pills */
.lfc-stats,
.bfc-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0 0 8px;
}

.lfc-stat,
.bfc-stat {
    display: flex;
    align-items: baseline;
    gap: 3px;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
}

.lfc-stat strong,
.bfc-stat strong {
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
}

.lfc-stat span,
.bfc-stat span {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* Feature list — one horizontal line */
.lfc-features,
.bfc-features {
    flex: 1 1 auto;
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
}

.lfc-features li,
.bfc-features li {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.lfc-features li i,
.bfc-features li i {
    font-size: 11px;
    color: var(--color-accent);
}

.lfc-features li:first-child i {
    color: var(--h-green4);
}

/* CTA button — mirrors .billing-primary-btn */
.lfc-cta,
.bfc-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #e1bf7f 0%, var(--color-accent) 48%, #ae833e 100%);
    color: var(--h-deep7);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(200,145,63,.20);
    transition: box-shadow var(--transition-base), transform var(--transition-base), opacity var(--transition-base);
    margin-top: auto;
}

/* bfc-cta: hidden by default, reveal on card hover */
.bfc-cta {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.lfc:hover .lfc-cta,
.bfc:hover .bfc-cta {
    box-shadow: 0 14px 32px rgba(200,145,63,.32);
    opacity: 1;
    transform: translateY(0);
}

/* ── Light mode adjustments ── */
html[data-theme="light"] .lfc,
html[data-theme="light"] .bfc {
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
}

html[data-theme="light"] .lfc:hover,
html[data-theme="light"] .bfc:hover {
    box-shadow: 0 12px 36px rgba(0,0,0,.12);
}

html[data-theme="light"] .lfc-stat,
html[data-theme="light"] .bfc-stat {
    background: var(--h-mint11);
    border-color: rgba(0,0,0,.06);
}

html[data-theme="light"] .lfc-type-chip {
    background: rgba(0,0,0,.48);
}

/* Fav button — count badge */
.lfc-fav-count {
    font-size: 11px;
    font-weight: 800;
    color: inherit;
    line-height: 1;
    margin-left: 2px;
}


/* ── Mobile ── */
@media (max-width: 575px) {
    .lfc-body,
    .bfc-body {
        padding: 16px 18px 18px;
    }

    .lfc-price strong { font-size: 1.35rem; }

    .lfc-stats,
    .bfc-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ═════════════════════════════════════════════
   E3: HERO — mobile, light-theme, CTA + inline note
═════════════════════════════════════════════ */

/* ── Mobile: hero cats horizontal scroll + card count ── */
@media (max-width: 768px) {
    /* Scroll horizontally instead of wrapping on small screens */
    .hero-cats {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }
    .hero-cats::-webkit-scrollbar { display: none; }
    .hero-cat { flex-shrink: 0; }

    /* Show only 3 spotlight mini-cards on mobile (PHP always provides 5) */
    .hero-cards-list .hmc:nth-child(n+4) { display: none; }
}

/* ── Light theme: hero-stats dividers (currently hardcoded white) ── */
html[data-theme="light"] .hero-stats {
    border-top-color: rgba(0,0,0,.10);
}

/* ── Light theme: hero shell & overlay — warm gold (brand-consistent) ── */
html[data-theme="light"] .home-viewport-shell {
    background: linear-gradient(180deg, var(--h-warm1) 0%, var(--h-warm2) 45%, var(--h-warm3) 80%, var(--clr-l-bg2) 100%);
}
html[data-theme="light"] .hero-overlay {
    background: linear-gradient(112deg, rgba(235,210,165,0.65) 0%, rgba(255,245,220,0.35) 52%, rgba(235,210,165,0.65) 100%);
}
html[data-theme="light"] .hero-bg {
    filter: brightness(1.04) saturate(1.0) sepia(0.08);
}
html[data-theme="light"] .hero-grid-bg {
    background-image:
        linear-gradient(rgba(160,100,30,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(160,100,30,.04) 1px, transparent 1px);
}
html[data-theme="light"] .hero-glow-1 {
    background: radial-gradient(circle, rgba(200,145,63,.22) 0%, transparent 65%);
}
html[data-theme="light"] .hero-glow-2 {
    background: radial-gradient(circle, rgba(200,145,63,.12) 0%, transparent 65%);
}
html[data-theme="light"] .hero-bottom-fade {
    background: linear-gradient(to top, rgba(150,110,50,0.40) 0%, rgba(150,110,50,0.15) 30%, transparent 100%);
}

/* ── Light theme: spotlight cards panel ── */
html[data-theme="light"] .hero-cards-col {
    background: rgba(255,255,255,.72);
    border-color: rgba(0,0,0,.08);
    box-shadow: 0 24px 64px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.9);
}
html[data-theme="light"] .hero-cards-live-dot {
    background: var(--h-green3);
}

/* ── Light theme: secondary CTA button (white text/border → dark) ── */
html[data-theme="light"] .hero-btn-secondary {
    border-color: rgba(0,0,0,.16);
    color: var(--h-navy7);
    background: rgba(255,255,255,.35);
}
html[data-theme="light"] .hero-btn-secondary:hover {
    border-color: rgba(197,160,89,.35);
    color: var(--h-navy7);
    background: rgba(255,255,255,.55);
}


/* ── Time-of-day mood overrides for light theme — warm gold palette ── */
html[data-theme="light"] .hero-section[data-hero-period="morning"] .hero-overlay {
    background: linear-gradient(112deg, rgba(255,225,160,.72) 0%, rgba(255,245,210,.38) 48%, rgba(255,225,160,.72) 100%);
}
html[data-theme="light"] .hero-section[data-hero-period="morning"] .hero-bg {
    filter: saturate(1.12) brightness(1.08) sepia(.06);
}
html[data-theme="light"] .hero-section[data-hero-period="day"] .hero-overlay {
    background: linear-gradient(112deg, rgba(235,210,165,.68) 0%, rgba(255,245,220,.36) 52%, rgba(235,210,165,.68) 100%);
}
html[data-theme="light"] .hero-section[data-hero-period="evening"] .hero-overlay {
    background: linear-gradient(112deg, rgba(255,195,120,.75) 0%, rgba(255,215,155,.42) 50%, rgba(240,170,100,.70) 100%);
}
html[data-theme="light"] .hero-section[data-hero-period="evening"] .hero-bg {
    filter: saturate(1.08) brightness(1.0) sepia(.10);
}
html[data-theme="light"] .hero-section[data-hero-period="night"] .hero-overlay {
    background: linear-gradient(112deg, rgba(225,235,248,.82) 0%, rgba(235,240,255,.48) 50%, rgba(215,225,245,.80) 100%);
}
html[data-theme="light"] .hero-section[data-hero-period="night"] .hero-bg {
    filter: saturate(0.95) brightness(0.90);
}

/* ═════════════════════════════════════════════
   E4 — Search suggestions: dark mode tokens
   Replaces hardcoded #fff background so the panel
   looks correct on dark theme.
═════════════════════════════════════════════ */
html:not([data-theme="light"]) .search-suggestions {
    background: var(--clr-l-card);
    border-color: var(--clr-l-border2);
    box-shadow: var(--shadow-lg), 0 8px 32px rgba(0,0,0,.35);
}

html:not([data-theme="light"]) .search-suggestion-group {
    border-bottom-color: var(--clr-l-border);
}

html:not([data-theme="light"]) .search-suggestion-item:hover,
html:not([data-theme="light"]) .search-suggestion-item.is-active {
    background: var(--clr-l-bg2);
}

html:not([data-theme="light"]) .search-suggestion-badge {
    background: var(--clr-l-bg3);
    color: var(--clr-muted-l);
}

/* ── Dark mode: search box / field backgrounds ── */
html:not([data-theme="light"]) .search-box {
    background: var(--clr-l-card);
    border-color: var(--clr-l-border2);
}

html:not([data-theme="light"]) .search-field:hover {
    background: var(--clr-l-bg2);
}

/* ── Dark mode: pinned dock ── */
html:not([data-theme="light"]) .search-section--dock.is-pinned {
    background: rgba(14, 18, 34, 0.96);
    border-bottom-color: rgba(255,255,255,.06);
    box-shadow: 0 10px 32px rgba(0,0,0,.28);
}

/* ── Light mode: pinned dock — warm gold ── */
html[data-theme="light"] .search-section--dock.is-pinned {
    background: rgba(252, 247, 238, 0.96);
    border-bottom-color: rgba(160,100,30,.12);
    box-shadow: 0 10px 32px rgba(0,0,0,.06);
}

/* ── Light mode: search field hover — warm, not green ── */
html[data-theme="light"] .search-field:hover {
    background: rgba(255,250,238,.72);
}

/* ── Filter toggle: light-pinned state ── */
html[data-theme="light"] .search-section--dock.is-pinned .search-filters-toggle {
    border-color: rgba(160,100,30,.22);
    color: rgba(80,55,20,.75);
}

html[data-theme="light"] .search-section--dock.is-pinned .search-filters-toggle:hover {
    border-color: rgba(197,160,89,.42);
    background: rgba(255,248,225,.65);
}

/* ── Mobile: cap suggestion panel height ── */
@media (max-width: 768px) {
    .search-suggestions {
        max-height: min(280px, 50vh);
    }
}

/* ═════════════════════════════════════════════
   E4 FIX: Mobile filter panel — expands UPWARD
   .search-section--dock is position:absolute; bottom:0
   so downward expansion clips off-screen. Solution:
   float the panel above the search bar into the hero.
═════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Filters toggle: gold active state (was green) */
    .search-section--dock.is-filters-open .search-filters-toggle {
        background: rgba(197, 160, 89, .18);
        color: rgba(240,210,140,.95);
        border-left-color: rgba(197,160,89,.35);
    }

    /* Float the panel above the search bar */
    .search-section--dock.is-filters-open .search-advanced-fields {
        /* Override: take out of the grid flow */
        display: flex;
        flex-direction: column;
        gap: 4px;

        position: absolute;
        left: 0;
        right: 0;
        bottom: 100%;  /* attach to top of the search section */
        z-index: 25;

        padding: 12px clamp(12px, 3vw, 40px) 14px;
        background: rgba(10, 16, 36, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: var(--r-lg) var(--r-lg) 0 0;
        border-top: 1px solid rgba(255,255,255,.10);
        box-shadow: 0 -8px 32px rgba(0,0,0,.28);

        animation: filterRevealUp 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    @keyframes filterRevealUp {
        from { opacity: 0; transform: translateY(8px); }
        to   { opacity: 1; transform: none; }
    }

    /* Fields: single column, no right border from the 2-col grid rule */
    .search-section--dock.is-filters-open .search-advanced-fields .search-field {
        padding: 10px 12px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.08);
        background: rgba(255,255,255,.05);
        border-radius: var(--r-sm);
    }

    .search-section--dock.is-filters-open .search-advanced-fields .search-field:nth-child(2) {
        border-right: none;
    }

    .search-section--dock.is-filters-open .search-advanced-fields .search-field:last-child {
        border-bottom: none;
    }

    /* Light theme: warm gold glass */
    html[data-theme="light"] .search-section--dock.is-filters-open .search-advanced-fields {
        background: rgba(252, 248, 238, 0.98);
        border-top-color: rgba(160,100,30,.15);
        box-shadow: 0 -8px 32px rgba(0,0,0,.08);
    }

    html[data-theme="light"] .search-section--dock.is-filters-open .search-advanced-fields .search-field {
        background: rgba(255,252,242,.65);
        border-bottom-color: rgba(160,100,30,.10);
    }

    html[data-theme="light"] .search-section--dock.is-filters-open .search-advanced-fields .search-field-label {
        color: rgba(80,55,20,.55);
    }

    html[data-theme="light"] .search-section--dock.is-filters-open .search-advanced-fields select,
    html[data-theme="light"] .search-section--dock.is-filters-open .search-advanced-fields input {
        color: rgba(60,40,10,.90);
    }

    html[data-theme="light"] .search-section--dock.is-filters-open .search-filters-toggle {
        background: rgba(197, 160, 89, .15);
        color: rgba(120,80,20,.90);
        border-left-color: rgba(160,100,30,.28);
    }
}

/* ═════════════════════════════════════════════
   E5 — Live Info Track: dark mode + theme tokens
═════════════════════════════════════════════ */

/* Dark mode: live strip */
html:not([data-theme="light"]) .live-strip {
    background: var(--clr-l-bg2);
    border-bottom-color: var(--clr-l-border);
}

html:not([data-theme="light"]) .live-item--highlight strong {
    color: var(--clr-gold-light);
}

/* Light mode: live strip — warm tones */
html[data-theme="light"] .live-strip {
    background: rgba(255, 252, 244, 0.96);
    border-bottom-color: rgba(160,100,30,.12);
}

html[data-theme="light"] .live-item {
    color: rgba(60,42,18,.65);
    border-right-color: rgba(160,100,30,.10);
}

html[data-theme="light"] .live-item strong {
    color: rgba(40,25,8,.90);
}

html[data-theme="light"] .live-item i {
    color: rgba(160,100,30,.60);
}

html[data-theme="light"] .live-item--highlight strong {
    color: rgba(160,80,10,.85);
}

html[data-theme="light"] .live-item--link:hover {
    background: rgba(255,248,230,.80);
    color: rgba(40,25,8,.90);
}

html[data-theme="light"] .live-dot {
    background: var(--h-green2);
    box-shadow: 0 0 6px rgba(34,197,94,.45);
}

html[data-theme="light"] .live-strip::before {
    background: linear-gradient(90deg, transparent, rgba(197,160,89,.35), rgba(160,100,30,.50), rgba(197,160,89,.35), transparent);
}

/* Dark mode: platform strip */
html:not([data-theme="light"]) .platform-strip {
    background: var(--clr-l-card);
    box-shadow: 0 1px 0 var(--clr-l-border), 0 -1px 0 var(--clr-l-border);
}

html:not([data-theme="light"]) .platform-stat-item:hover {
    background: var(--clr-l-bg3);
}

/* Mobile: left-align live items for proper scroll behaviour */
@media (max-width: 768px) {
    .live-inner {
        justify-content: flex-start;
    }
}

/* ═════════════════════════════════════════════
   E5 — Hero mobile: prevent content overflow on
   small/short screens (portrait 375px, landscape)
═════════════════════════════════════════════ */

/* Portrait small phones (≤390px) — tighten spacing */
@media (max-width: 390px) {
    .hero-section--compact .hero-inner {
        padding: 10px 0 140px;
        gap: clamp(10px, 1.8vh, 18px);
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .hero-sub {
        font-size: 13px;
        margin-bottom: 8px;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-actions {
        gap: 8px;
        margin-bottom: 8px;
        flex-wrap: nowrap;
    }

    .hero-actions .hero-btn-primary,
    .hero-actions .hero-btn-secondary {
        flex: 1;
        justify-content: center;
        text-align: center;
        font-size: 13px;
        padding: 9px 12px;
    }

    .hero-cats {
        margin-bottom: 8px;
    }

    .hero-badge {
        margin-bottom: 8px;
    }
}

/* Landscape phones (height ≤ 500px) — minimal layout */
@media (max-height: 500px) and (max-width: 900px) {
    .hero-section--compact .hero-inner {
        padding: 8px 0 100px;
        gap: 8px;
    }

    .hero-title {
        font-size: clamp(22px, 5vw, 32px);
        margin-bottom: 6px;
    }

    .hero-sub {
        display: none;
    }

    .hero-stats {
        display: none;
    }

    .hero-cats {
        margin-bottom: 6px;
    }

    .hero-actions {
        flex-direction: row;
        margin-bottom: 8px;
    }
}

/* Very short landscape (height ≤ 380px) — ultra compact */
@media (max-height: 380px) and (max-width: 900px) {
    .hero-section--compact .hero-inner {
        padding: 4px 0 90px;
    }

    .hero-badge,
    .hero-cats {
        display: none;
    }

    .hero-actions {
        margin-bottom: 4px;
    }
}

/* ── Featured Combined Section ──────────────────────────────────────────── */
.feat-combined {
    padding: 48px 0 56px;
    background: var(--bg-base);
}

/* Compact header */
.feat-combined__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
}

.feat-combined__title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.feat-combined__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent, #c5a059);
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(197,160,89,0.10);
    border: 1px solid rgba(197,160,89,0.20);
}

.feat-combined__title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    line-height: 1.2;
}

.feat-combined__link {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent, #c5a059);
    text-decoration: none;
    white-space: nowrap;
    opacity: 0.85;
    transition: opacity 0.18s;
    flex-shrink: 0;
}
.feat-combined__link:hover { opacity: 1; }

/* Tabs */
.feat-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.feat-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid var(--clr-border, rgba(255,255,255,.10));
    background: transparent;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
}

.feat-tab:hover {
    border-color: rgba(197,160,89,0.40);
    color: var(--text-primary);
}

.feat-tab.is-active {
    background: rgba(197,160,89,0.12);
    border-color: rgba(197,160,89,0.45);
    color: var(--color-accent, #c5a059);
}

.feat-tab i { font-size: 11px; }

/* Horizontal scroll container */
.feat-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(197,160,89,0.25) transparent;
}

.feat-scroll::-webkit-scrollbar { height: 4px; }
.feat-scroll::-webkit-scrollbar-track { background: transparent; }
.feat-scroll::-webkit-scrollbar-thumb {
    background: rgba(197,160,89,0.30);
    border-radius: 2px;
}

.feat-scroll__item {
    flex: 0 0 280px;
    scroll-snap-align: start;
    min-width: 0;
}

/* Cards inside the scroll fill the item width */
.feat-scroll__item .lfc,
.feat-scroll__item .bfc {
    width: 100%;
    height: 100%;
}

@media (max-width: 767px) {
    .feat-combined { padding: 32px 0 40px; }
    .feat-combined__title { font-size: 1.25rem; }
    .feat-scroll__item { flex: 0 0 260px; }
}

/* ── Featured sections — compact header + horizontal scroll ─────────────── */

/* Compact two-line header */
.feat-compact-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.feat-compact-head__left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.feat-compact-head__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent, #c5a059);
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(197,160,89,0.10);
    border: 1px solid rgba(197,160,89,0.22);
    white-space: nowrap;
}

.feat-compact-head__title {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    line-height: 1.2;
}

.feat-compact-head__link {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent, #c5a059);
    text-decoration: none;
    opacity: 0.8;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity 0.18s;
}
.feat-compact-head__link:hover { opacity: 1; }

/* Horizontal scroll track */
.feat-hscroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbar — peek effect conveys scrollability */
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
}
.feat-hscroll::-webkit-scrollbar { display: none; }
.feat-hscroll.is-dragging { cursor: grabbing; }

.feat-hscroll__item {
    flex: 0 0 280px;
    scroll-snap-align: start;
    min-width: 0;
    /* Stretch: kartica puni visinu najviše kartice u redu */
    display: flex;
    flex-direction: column;
}

.feat-hscroll__item .lfc,
.feat-hscroll__item .bfc {
    width: 100%;
    flex: 1 1 auto; /* raste da popuni item visinu */
}

/* Fade-out right edge — premium "peek" hint */
.feat-scroll-section .container {
    position: relative;
}
.feat-scroll-section .container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(to right, transparent, var(--bg-base));
    pointer-events: none;
    z-index: 1;
}
.feat-section--alt .container::after {
    background: linear-gradient(to right, transparent, var(--bg-surface));
}

@media (max-width: 767px) {
    .feat-hscroll__item { flex: 0 0 260px; }
    .feat-compact-head__title { font-size: 1.2rem; }
}
