/* ==========================================================================
   VinSip Wine Directory — Design System
   Typography: Playfair Display (display) + Source Sans 3 (body)
   Palette: Burgundy, cream, gold — editorial wine magazine aesthetic
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ─── Custom Properties ─────────────────────────────────────────────────── */
:root {
    /* Palette */
    --burgundy: #722F37;
    --burgundy-dark: #5A252C;
    --burgundy-light: #8B3A43;
    --burgundy-glow: rgba(114, 47, 55, 0.14);
    --burgundy-subtle: rgba(114, 47, 55, 0.06);

    --cream: #FAF8F5;
    --cream-alt: #F5F0EB;
    --cream-warm: #EDE6DE;

    --gold: #D4AF37;
    --gold-dark: #B8961F;
    --gold-light: #E4C45E;
    --gold-subtle: rgba(212, 175, 55, 0.12);

    --ink: #2C1810;
    --charcoal: #3D2E28;
    --muted: #7A6B65;
    --subtle: #A99E98;
    --light: #D0C9C4;
    --white: #FFFFFF;
    --border: rgba(114, 47, 55, 0.10);
    --border-light: rgba(44, 24, 16, 0.06);

    /* Semantic */
    --bg: var(--cream);
    --bg-alt: var(--cream-alt);
    --bg-dark: #2C1810;
    --bg-card: var(--white);
    --text: var(--ink);
    --text-body: var(--charcoal);
    --text-muted: var(--muted);
    --accent: var(--burgundy);
    --accent-hover: var(--burgundy-dark);

    /* Typography */
    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Source Sans 3', 'Helvetica Neue', sans-serif;

    /* Fluid scale — clamp(min, preferred, max) */
    --text-xs: clamp(0.72rem, 0.68rem + 0.2vw, 0.8rem);
    --text-sm: clamp(0.82rem, 0.78rem + 0.2vw, 0.9rem);
    --text-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.06rem);
    --text-lg: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
    --text-xl: clamp(1.3rem, 1.1rem + 1vw, 1.7rem);
    --text-2xl: clamp(1.6rem, 1.3rem + 1.5vw, 2.2rem);
    --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
    --text-4xl: clamp(2.5rem, 1.8rem + 3.5vw, 4rem);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 5rem;
    --space-section: clamp(3rem, 5vw, 6rem);

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-pill: 100px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(44, 24, 16, 0.06);
    --shadow-md: 0 4px 16px rgba(44, 24, 16, 0.07), 0 1px 3px rgba(44, 24, 16, 0.04);
    --shadow-lg: 0 8px 32px rgba(44, 24, 16, 0.08), 0 2px 8px rgba(44, 24, 16, 0.04);
    --shadow-card: 0 2px 8px rgba(44, 24, 16, 0.05), 0 0 0 1px var(--border-light);
    --shadow-card-hover: 0 8px 24px rgba(44, 24, 16, 0.10), 0 0 0 1px var(--border);

    /* Transitions */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --duration: 0.22s;
    --duration-slow: 0.4s;
}

/* ─── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.65;
    color: var(--text-body);
    background: var(--bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--text);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h1 { font-size: var(--text-4xl); font-weight: 800; }
h2 { font-size: var(--text-2xl); margin-bottom: var(--space-lg); }
h3 { font-size: var(--text-xl); }

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ─── Container ─────────────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (min-width: 768px) {
    .container { padding: 0 var(--space-xl); }
}

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1;
    padding: 0.8em 1.6em;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    white-space: nowrap;
    text-decoration: none;
}

.btn--primary {
    background: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
}
.btn--primary:hover {
    background: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(114, 47, 55, 0.3);
}

.btn--secondary {
    background: transparent;
    color: var(--burgundy);
    border-color: var(--burgundy);
}
.btn--secondary:hover {
    background: var(--burgundy);
    color: var(--white);
    transform: translateY(-1px);
}

/* ─── Header ────────────────────────────────────────────────────────────── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-md) 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.header-nav {
    display: none;
    align-items: center;
    gap: var(--space-xl);
}

.header-nav a {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
    white-space: nowrap;
}
.header-nav a:hover { color: var(--burgundy); }

.header-right {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.header-cta {
    display: inline-flex;
    font-size: var(--text-xs);
    font-weight: 600;
    padding: 0.55em 1.2em;
    background: var(--burgundy);
    color: var(--white) !important;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: all var(--duration) var(--ease);
}
.header-cta:hover {
    background: var(--burgundy-dark);
    color: var(--white);
    transform: translateY(-1px);
}

/* Language dropdown */
.language-dropdown { position: relative; }
.language-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-muted);
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.4em 0.7em;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
}
.language-btn:hover { border-color: var(--burgundy); color: var(--burgundy); }
.language-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 120px;
    overflow: hidden;
    z-index: 50;
}
.language-menu.active { display: block; }
.language-menu a {
    display: block;
    padding: 0.6em 1em;
    font-size: var(--text-sm);
    color: var(--text-body);
    text-decoration: none;
    transition: background var(--duration) var(--ease);
}
.language-menu a:hover { background: var(--cream-alt); color: var(--burgundy); }

@media (min-width: 1024px) {
    .header-nav { display: flex; }
}

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.hero {
    padding: var(--space-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E"),
        linear-gradient(180deg, var(--cream) 0%, var(--cream-alt) 100%);
}

.hero__badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--burgundy);
    background: var(--burgundy-glow);
    border: 1px solid rgba(114, 47, 55, 0.15);
    padding: 0.45em 1.1em;
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-lg);
}

.hero__title {
    margin-bottom: var(--space-lg);
}

.hero__title-line1,
.hero__title-line2 {
    display: block;
}

.hero__title-line2 {
    color: var(--burgundy);
    font-style: italic;
}

.hero__description {
    font-size: var(--text-lg);
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto var(--space-xl);
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
}

.hero__stats {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
    max-width: 500px;
    margin: 0 auto;
}

.hero__stat {
    text-align: center;
}

.hero__stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    color: var(--ink);
    line-height: 1.2;
}

.hero__stat span {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

/* ─── How It Works / Steps ──────────────────────────────────────────────── */
.how-it-works {
    padding: var(--space-section) 0;
    text-align: center;
}

.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.step {
    padding: var(--space-xl);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.step:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--burgundy-glow);
    color: var(--burgundy);
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.step h3 {
    margin-bottom: var(--space-sm);
}

.step p {
    color: var(--text-muted);
    font-size: var(--text-sm);
}

@media (min-width: 768px) {
    .steps { grid-template-columns: repeat(3, 1fr); }
}

/* ─── Entity Grid ───────────────────────────────────────────────────────── */
.entity-types {
    padding: var(--space-section) 0;
    text-align: center;
    background: var(--cream-alt);
}

.entity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}

.entity-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl) var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    text-decoration: none;
    transition: all var(--duration) var(--ease);
    border: 1px solid transparent;
}
.entity-card:hover {
    border-color: var(--burgundy);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-3px);
}

.entity-card h3 {
    font-size: var(--text-lg);
    color: var(--ink);
    margin-bottom: var(--space-xs);
}

.entity-card__count {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .entity-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ─── City Grid ─────────────────────────────────────────────────────────── */
.top-cities {
    padding: var(--space-section) 0;
    text-align: center;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}

.city-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    text-decoration: none;
    transition: all var(--duration) var(--ease);
    border: 1px solid transparent;
}
.city-card:hover {
    border-color: var(--burgundy);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.city-card__flag {
    font-size: 1.8rem;
    margin-bottom: var(--space-sm);
}

.city-card__name {
    font-size: var(--text-base);
    color: var(--ink);
    margin-bottom: 2px;
}

.city-card__country {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.city-card__count {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--burgundy);
    background: var(--burgundy-subtle);
    padding: 0.25em 0.7em;
    border-radius: var(--radius-pill);
}

@media (min-width: 768px) {
    .city-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .city-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ─── Venue Card ────────────────────────────────────────────────────────── */
.venue-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.venue-card {
    background: var(--bg-card, #fff);
    transition: background 0.15s ease;
    cursor: pointer;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}
.venue-card:hover {
    background: var(--cream-alt, #FAF8F5);
}

.venue-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 0;
}

.venue-card__name-row {
    flex: 1;
    min-width: 0;
}

.venue-card__name {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 0;
}

.venue-card__name a {
    color: var(--ink);
    text-decoration: none;
}
.venue-card__name a:hover {
    color: var(--burgundy);
}

.venue-card__rating {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
    font-size: var(--text-sm);
    font-weight: 600;
}

.venue-card__star {
    color: var(--gold);
    font-size: 1em;
}

.venue-card__rating-value {
    color: var(--ink);
}

.venue-card__review-count {
    color: var(--text-muted);
    font-weight: 400;
}

.venue-card__type-pill {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--burgundy);
    background: var(--burgundy-subtle);
    padding: 0.2em 0.6em;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.venue-card__body {
    margin-bottom: 0;
}

.venue-card__address {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.3;
}

.venue-card__address svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--subtle);
}

.venue-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.venue-card__tag {
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--muted);
    background: var(--cream-alt);
    padding: 0.2em 0.55em;
    border-radius: var(--radius-sm);
}

.venue-card__actions {
    display: flex;
    gap: var(--space-md);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border-light);
}

.venue-card__action-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--duration) var(--ease);
}
.venue-card__action-btn:hover { color: var(--burgundy); }

@media (min-width: 768px) {
    .venue-list { grid-template-columns: 1fr; }
}

/* ─── Venue Map Container ───────────────────────────────────────────────── */
.venue-map {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--cream-alt);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    position: relative;
}

.venue-map__badge {
    position: absolute;
    bottom: var(--space-md);
    left: var(--space-md);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--white);
    background: var(--burgundy);
    padding: 0.4em 0.8em;
    border-radius: var(--radius-pill);
    z-index: 10;
}

/* Split view layout */
.directory-split {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

@media (min-width: 1024px) {
    .directory-split {
        flex-direction: row;
        min-height: 70vh;
    }
    .directory-split .venue-list-panel {
        width: 42%;
        max-height: 75vh;
        overflow-y: auto;
        padding-right: var(--space-md);
    }
    .directory-split .venue-map-panel {
        flex: 1;
        position: sticky;
        top: 80px;
        height: 75vh;
    }
    .directory-split .venue-map {
        height: 100%;
        aspect-ratio: unset;
    }
}

/* ─── Breadcrumb ────────────────────────────────────────────────────────── */
.breadcrumb {
    padding: var(--space-md) 0;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4em;
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.breadcrumb-list a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}
.breadcrumb-list a:hover { color: var(--burgundy); }

.breadcrumb-sep {
    color: var(--light);
    font-size: 0.8em;
}

.breadcrumb-current {
    color: var(--text);
    font-weight: 500;
}

/* ─── Stats Bar ─────────────────────────────────────────────────────────── */
.stats-bar {
    display: flex;
    gap: var(--space-xl);
    padding: var(--space-md) 0;
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.stats-bar strong {
    color: var(--ink);
    font-weight: 600;
}

/* ─── Filters ───────────────────────────────────────────────────────────── */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 0.4em 0.9em;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all var(--duration) var(--ease);
}
.filter-pill:hover,
.filter-pill.active {
    color: var(--burgundy);
    border-color: var(--burgundy);
    background: var(--burgundy-subtle);
}

/* ─── FAQ ───────────────────────────────────────────────────────────────── */
.faq-section {
    padding: var(--space-section) 0;
    text-align: center;
}

.faq-section h2 { margin-bottom: var(--space-2xl); }

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-lg) 0;
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--ink);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: var(--space-md);
    transition: color var(--duration) var(--ease);
}
.faq-question:hover { color: var(--burgundy); }

.faq-icon {
    flex-shrink: 0;
    transition: transform var(--duration-slow) var(--ease-out);
    color: var(--muted);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-slow) var(--ease-out);
}

.faq-answer-inner {
    padding-bottom: var(--space-lg);
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: 1.7;
}

/* ─── CTA Section ───────────────────────────────────────────────────────── */
.cta-section {
    padding: var(--space-section) 0;
}

.cta-container {
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    padding: var(--space-3xl) var(--space-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(114, 47, 55, 0.3), transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(212, 175, 55, 0.12), transparent 60%);
    pointer-events: none;
}

.cta-container h2 {
    color: var(--white);
    font-size: var(--text-3xl);
    margin-bottom: var(--space-md);
    position: relative;
}

.cta-container p {
    color: rgba(255, 255, 255, 0.65);
    font-size: var(--text-lg);
    max-width: 520px;
    margin: 0 auto var(--space-xl);
    position: relative;
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    margin-bottom: var(--space-md);
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.7em 1.4em;
    background: var(--white);
    color: var(--ink);
    font-weight: 600;
    font-size: var(--text-sm);
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: all var(--duration) var(--ease);
}
.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: var(--ink);
}

.cta-trust {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.35);
    position: relative;
}

.trust-line {
    display: block;
}

/* ─── Footer ────────────────────────────────────────────────────────────── */
/* Styles are scoped inside Footer.astro <style> — nothing global needed here */

/* ─── Cookie Banner ─────────────────────────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: var(--space-md) 0;
    z-index: 200;
    transform: translateY(100%);
    transition: transform var(--duration-slow) var(--ease-out);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}
.cookie-banner.show { transform: translateY(0); }

.cookie-banner p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.cookie-btn {
    font-size: var(--text-xs);
    font-weight: 600;
    padding: 0.45em 1em;
    border-radius: var(--radius-pill);
    cursor: pointer;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    transition: all var(--duration) var(--ease);
}
.cookie-btn-accept {
    background: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
}
.cookie-btn-accept:hover { background: var(--burgundy-dark); }

/* ─── Sticky Mobile App Bar ─────────────────────────────────────────────── */
.sticky-app-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
}

.sticky-app-info {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.sticky-app-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.sticky-app-info div {
    display: flex;
    flex-direction: column;
}

.sticky-app-info strong {
    font-size: var(--text-sm);
    color: var(--ink);
    line-height: 1.2;
}

.sticky-app-info span {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.sticky-app-btn {
    font-size: var(--text-xs);
    font-weight: 700;
    padding: 0.55em 1.2em;
    background: var(--burgundy);
    color: var(--white) !important;
    border-radius: var(--radius-pill);
    text-decoration: none;
    white-space: nowrap;
}

@media (min-width: 1024px) {
    .sticky-app-bar { display: none; }
}

/* ─── Editorial Content ─────────────────────────────────────────────────── */
.editorial-content {
    padding: var(--space-section) 0;
    max-width: 780px;
}

.editorial-content h2 {
    font-size: var(--text-xl);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-light);
}

.editorial-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.editorial-content p {
    color: var(--text-body);
    line-height: 1.75;
    margin-bottom: var(--space-md);
}

.editorial-content ul, .editorial-content ol {
    padding-left: 1.4em;
    margin-bottom: var(--space-md);
    list-style: disc;
}

.editorial-content li {
    margin-bottom: var(--space-sm);
    line-height: 1.65;
}

.editorial-content strong { color: var(--ink); }

.editorial-content em {
    font-style: italic;
    color: var(--burgundy);
}

/* ─── Tips Grid ─────────────────────────────────────────────────────────── */
.tips-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.tip-card {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--gold);
}

.tip-card__number {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    flex-shrink: 0;
}

.tip-card h4 {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
}

.tip-card p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.5;
}

@media (min-width: 768px) {
    .tips-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Nearby / Related Links ────────────────────────────────────────────── */
.related-links {
    padding: var(--space-2xl) 0;
}

.related-links h3 {
    margin-bottom: var(--space-lg);
}

.related-pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.related-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.5em 1em;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: var(--text-sm);
    color: var(--text-body);
    text-decoration: none;
    transition: all var(--duration) var(--ease);
}
.related-pill:hover {
    border-color: var(--burgundy);
    color: var(--burgundy);
    background: var(--burgundy-subtle);
}

/* ─── Country Grid (for hub pages) ──────────────────────────────────────── */
.country-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.country-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    text-decoration: none;
    transition: all var(--duration) var(--ease);
    border: 1px solid transparent;
}
.country-card:hover {
    border-color: var(--burgundy);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-1px);
}

.country-card__flag { font-size: 1.6rem; flex-shrink: 0; }
.country-card__name {
    font-family: var(--font-display);
    font-size: var(--text-base);
    color: var(--ink);
    font-weight: 600;
}
.country-card__count {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .country-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .country-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ─── Venue Detail Page ─────────────────────────────────────────────────── */
.venue-detail {
    padding: var(--space-lg) 0 var(--space-section);
}

.venue-detail__header {
    margin-bottom: var(--space-xl);
}

.venue-detail__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.venue-detail__rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: var(--ink);
}

.venue-detail__rating .star { color: var(--gold); }

.venue-detail__info {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.venue-detail__info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: var(--text-sm);
}

.venue-detail__info-item svg {
    flex-shrink: 0;
    color: var(--muted);
    margin-top: 2px;
}

.venue-detail__map {
    height: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-xl);
    border: 1px solid var(--border-light);
}

.venue-detail__description {
    margin-bottom: var(--space-xl);
    line-height: 1.75;
}

.venue-detail__hours {
    margin-bottom: var(--space-xl);
}

.venue-detail__hours-list {
    display: grid;
    gap: var(--space-xs);
    font-size: var(--text-sm);
}

.venue-detail__hours-list li {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-light);
}

@media (min-width: 768px) {
    .venue-detail__info { grid-template-columns: 1fr 1fr; }
}

/* ─── Section Headings ──────────────────────────────────────────────────── */
.section-heading {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-heading h1 {
    margin-bottom: var(--space-sm);
}

.section-heading p {
    font-size: var(--text-lg);
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
}

/* ─── Page Sections ─────────────────────────────────────────────────────── */
.page-section {
    padding: var(--space-section) 0;
}

.page-section--alt {
    background: var(--cream-alt);
}

/* ─── Scroll Reveal Animations ──────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.stagger-children > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.stagger-children.is-visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(2) { transition-delay: 0.06s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(3) { transition-delay: 0.12s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(4) { transition-delay: 0.18s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(5) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(6) { transition-delay: 0.30s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(7) { transition-delay: 0.36s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(8) { transition-delay: 0.42s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(9) { transition-delay: 0.48s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(10) { transition-delay: 0.54s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(11) { transition-delay: 0.60s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(12) { transition-delay: 0.66s; opacity: 1; transform: translateY(0); }

/* ─── Hub Pages (Entity Hub + Country Hub) ──────────────────────────────── */

/* breadcrumbs — matches the .breadcrumbs__* pattern used across hub pages */
.breadcrumbs {
    padding: var(--space-md) 0 0;
}
.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3em;
    font-size: var(--text-sm);
    color: var(--text-muted);
    list-style: none;
}
.breadcrumbs__item { display: flex; align-items: center; gap: 0.3em; }
.breadcrumbs__item::after {
    content: '›';
    color: var(--light);
    margin-left: 0.1em;
}
.breadcrumbs__item:last-child::after { display: none; }
.breadcrumbs__item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}
.breadcrumbs__item a:hover { color: var(--burgundy); }
.breadcrumbs__item--current { color: var(--text-body); font-weight: 500; }

/* Hub hero — compact, asymmetric, no full-bleed image */
.hub-hero {
    padding: var(--space-2xl) 0 var(--space-xl);
    background:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.022'/%3E%3C/svg%3E"),
        linear-gradient(160deg, var(--cream) 0%, var(--cream-alt) 100%);
    border-bottom: 1px solid var(--border-light);
}

.hub-hero__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-xl);
}

.hub-hero__text { flex: 1; min-width: 0; }

.hub-hero__title {
    font-size: var(--text-3xl);
    font-weight: 800;
    margin-bottom: var(--space-md);
    line-height: 1.15;
}

.hub-hero__flag {
    display: inline-block;
    margin-right: 0.25em;
    font-style: normal;
}

.hub-hero__intro {
    font-size: var(--text-lg);
    color: var(--text-muted);
    max-width: 640px;
    line-height: 1.65;
    margin-bottom: var(--space-lg);
}

.hub-hero__deco {
    flex-shrink: 0;
    display: none;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--burgundy-subtle);
    border: 1px solid var(--border);
}

.hub-hero__deco-icon {
    font-size: 2.5rem;
    line-height: 1;
}

@media (min-width: 768px) {
    .hub-hero__deco { display: flex; }
}

/* Stats pills in hub hero */
.hub-stats-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.hub-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-sm);
    color: var(--text-muted);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 0.35em 0.85em;
    white-space: nowrap;
}

.hub-stat-pill strong {
    font-weight: 700;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: var(--text-base);
}

/* Hub section headings */
.hub-section-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--ink);
}

.hub-section-subtitle {
    font-size: var(--text-base);
    color: var(--text-muted);
    margin-top: calc(-1 * var(--space-sm));
    margin-bottom: var(--space-xl);
}

/* Quick-link pills (popular cities horizontal scroll) */
.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

@media (max-width: 767px) {
    .quick-links {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: var(--space-xs);
        mask-image: linear-gradient(to right, black 85%, transparent);
        -webkit-mask-image: linear-gradient(to right, black 85%, transparent);
    }
    .quick-links::-webkit-scrollbar { display: none; }
}

.quick-link-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.45em 1em;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: var(--text-sm);
    color: var(--text-body);
    text-decoration: none;
    white-space: nowrap;
    transition: all var(--duration) var(--ease);
}
.quick-link-pill:hover {
    border-color: var(--burgundy);
    color: var(--burgundy);
    background: var(--burgundy-subtle);
    transform: translateY(-1px);
}

.quick-link-pill__flag { font-size: 1em; }
.quick-link-pill__name { font-weight: 500; }
.quick-link-pill__count {
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--burgundy);
    background: var(--burgundy-subtle);
    padding: 0.1em 0.5em;
    border-radius: var(--radius-pill);
    min-width: 1.6em;
    text-align: center;
}

/* Country card — enhanced with body div and arrow */
/* (extends the existing .country-card, .country-card__flag, .country-card__name) */
.country-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.country-card__arrow {
    flex-shrink: 0;
    font-size: var(--text-sm);
    color: var(--light);
    transition: color var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.country-card:hover .country-card__arrow {
    color: var(--burgundy);
    transform: translateX(3px);
}

/* Hub city grid */
.hub-city-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .hub-city-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .hub-city-grid { grid-template-columns: repeat(3, 1fr); }
}

.hub-city-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    text-decoration: none;
    border: 1px solid transparent;
    transition: all var(--duration) var(--ease);
}
.hub-city-card:hover {
    border-color: var(--burgundy);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.hub-city-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hub-city-card__name {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}

.hub-city-card__region {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.hub-city-card__meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: 2px;
}

.hub-city-card__count {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--burgundy);
    background: var(--burgundy-subtle);
    padding: 0.2em 0.55em;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.hub-city-card__rating {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--ink);
}

.hub-city-card__star { color: var(--gold); }

.hub-city-card__arrow {
    flex-shrink: 0;
    font-size: var(--text-sm);
    color: var(--light);
    transition: color var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.hub-city-card:hover .hub-city-card__arrow {
    color: var(--burgundy);
    transform: translateX(3px);
}

/* Top rated venue strip (horizontal scroll on mobile, row on desktop) */
.top-rated-row {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

@media (min-width: 768px) {
    .top-rated-row {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
        gap: var(--space-md);
    }
}

.top-rated-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    text-decoration: none;
    border: 1px solid transparent;
    transition: all var(--duration) var(--ease);
}
.top-rated-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.top-rated-card__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.top-rated-card__name {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
}

.top-rated-card__city {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.top-rated-card__rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
}

.top-rated-card__stars {
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 0.05em;
    line-height: 1;
}

.top-rated-card__score {
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--ink);
}

/* Cross-link cards (also explore / other venues in same country) */
.cross-link-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .cross-link-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .cross-link-grid { grid-template-columns: repeat(3, 1fr); }
}

.cross-link-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    text-decoration: none;
    border: 1px solid transparent;
    transition: all var(--duration) var(--ease);
}
.cross-link-card:hover {
    border-color: var(--burgundy);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.cross-link-card__icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--burgundy-subtle);
}

.cross-link-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cross-link-card__name {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
}

.cross-link-card__count {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.cross-link-card__arrow {
    flex-shrink: 0;
    font-size: var(--text-sm);
    color: var(--light);
    transition: color var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.cross-link-card:hover .cross-link-card__arrow {
    color: var(--burgundy);
    transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   City Directory — 2GIS-style split-view (list + map)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Breadcrumb bar (slim, compact) */
.breadcrumb-bar {
    padding: var(--space-sm) 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border-light);
}
.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin: 0;
    padding: 0;
}
.breadcrumb-list li { white-space: nowrap; }
.breadcrumb-list a { color: var(--text-muted); text-decoration: none; }
.breadcrumb-list a:hover { color: var(--burgundy); }
.breadcrumb-sep { margin: 0 0.4em; color: var(--light); }
.breadcrumb-current { color: var(--text-body); font-weight: 500; }

/* ── Directory section (full viewport height) ────────────────────────── */
.directory-section {
    /* Occupy remaining viewport below breadcrumb and header */
    position: relative;
}

.directory-split {
    display: flex;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .directory-split {
        flex-direction: row;
        height: calc(100vh - var(--header-height, 64px) - 42px); /* header + breadcrumb */
    }
}

/* ── Left panel (list) ───────────────────────────────────────────────── */
.directory-panel--list {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .directory-panel--list {
        width: 42%;
        min-width: 360px;
        max-width: 520px;
        border-right: 1px solid var(--border-light);
    }
}

/* Panel header (sticky within list panel) */
.directory-panel__header {
    flex-shrink: 0;
    padding: var(--space-lg) var(--space-lg) var(--space-md);
    background: var(--cream);
    border-bottom: 1px solid var(--border-light);
}

.directory-panel__h1 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 var(--space-sm);
    line-height: 1.2;
}

/* Stats bar */
.directory-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.directory-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.directory-stat strong {
    color: var(--ink);
    font-weight: 700;
}

.directory-stat--specialty {
    background: var(--burgundy-subtle);
    color: var(--burgundy);
    font-weight: 600;
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
}

/* Filters row */
.directory-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
}

.directory-sort {
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-family: var(--font-body);
    color: var(--text-body);
    background: var(--white);
    cursor: pointer;
    appearance: auto;
}

.directory-sort:focus-visible {
    outline: 2px solid var(--burgundy);
    outline-offset: 2px;
}

/* Filter pills */
.directory-filter-pills {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.directory-filter-pills::-webkit-scrollbar { display: none; }

.filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--text-muted);
    background: var(--white);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.filter-pill:hover {
    border-color: var(--burgundy);
    color: var(--burgundy);
}

.filter-pill--active {
    background: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
}

/* Scrollable venue list */
.directory-venue-list {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-sm) var(--space-md);
}

/* Empty state */
.directory-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
    color: var(--text-muted);
}

.directory-empty svg { margin-bottom: var(--space-md); opacity: 0.4; }

/* ── Right panel (map) ───────────────────────────────────────────────── */
.directory-panel--map {
    flex: 1;
    min-height: 0;
    position: relative;
}

/* Mobile: hide map by default, show via toggle */
@media (max-width: 1023px) {
    .directory-panel--map {
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
    }
    .directory-panel--map-visible {
        height: 400px;
    }
    .directory-venue-list {
        max-height: 60vh;
    }
}

@media (min-width: 1024px) {
    .directory-panel--map {
        position: sticky;
        top: var(--header-height, 64px);
        height: calc(100vh - var(--header-height, 64px) - 42px);
    }
}

/* Map panel container */
.venue-map-panel {
    width: 100%;
    height: 100%;
    position: relative;
}

.venue-map-container {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: var(--cream-alt);
    z-index: 1;
}

/* Map controls overlay */
.venue-map-controls {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.map-control-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--charcoal);
    transition: all 0.15s ease;
}

.map-control-btn:hover {
    background: var(--cream-alt);
    color: var(--burgundy);
}

/* Map badge (venue count) */
.venue-map-badge {
    position: absolute;
    bottom: var(--space-md);
    left: var(--space-md);
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--white);
    border-radius: var(--radius-pill);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink);
    font-family: var(--font-body);
}

.venue-map-badge svg { color: var(--burgundy); }

/* Mobile map toggle */
.mobile-map-toggle-bar {
    display: flex;
    justify-content: center;
    padding: var(--space-sm) 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border-light);
}

@media (min-width: 1024px) {
    .mobile-map-toggle-bar { display: none; }
}

.mobile-map-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--white);
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--burgundy);
    cursor: pointer;
    transition: all 0.15s ease;
}

.mobile-map-toggle:hover {
    background: var(--burgundy-subtle);
    border-color: var(--burgundy);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Venue Card — 2GIS-style numbered card
   ═══════════════════════════════════════════════════════════════════════════ */

.venue-card {
    border-bottom: 1px solid var(--border-light);
    transition: background 0.15s ease;
    cursor: pointer;
}

.venue-card:last-child {
    border-bottom: none;
}

.venue-card:hover {
    background: var(--cream-alt, #FAF8F5);
}

.venue-card--active {
    background: var(--burgundy-subtle, rgba(114,47,55,0.08));
}

.venue-card__inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
}

/* Number badge */
.venue-card__badge {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--cream-warm, #F5F0EB);
    border: 1px solid var(--border-light, #E8E2DA);
    color: var(--muted, #9B9B9B);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 700;
    font-family: var(--font-body);
}

.venue-card--active .venue-card__badge {
    background: var(--gold);
    color: var(--ink);
    border-color: var(--gold);
}

/* Card content */
.venue-card__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.venue-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 0;
}

.venue-card__name {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
}

.venue-card__name a {
    color: var(--ink);
    text-decoration: none;
}

.venue-card__name a:hover {
    color: var(--burgundy);
}

.venue-card__type-pill {
    flex-shrink: 0;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--burgundy);
    background: var(--burgundy-subtle);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

/* Rating row */
.venue-card__rating-row {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 0;
}

.venue-card__stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
}

.venue-card__stars .star { display: block; }
.venue-card__stars .star--full { fill: var(--gold); }
.venue-card__stars .star--half { /* handled by gradient fill */ }
.venue-card__stars .star--empty { fill: var(--cream-warm); }

.venue-card__rating-value {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--ink);
}

.venue-card__review-count {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Address */
.venue-card__address {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    font-size: 0.6875rem;
    color: var(--text-muted);
    line-height: 1.3;
    margin: 0;
}

.venue-card__address svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--light);
}

/* Specialty tags */
.venue-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.venue-card__tag {
    font-size: 0.6875rem;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    background: var(--cream-alt);
    color: var(--charcoal);
    border: 1px solid var(--border-light);
}

/* Action buttons */
.venue-card__actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.venue-card__action-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
    font-size: 0.75rem;
    font-weight: 500;
    font-family: var(--font-body);
    color: var(--text-muted);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.12s ease;
}

.venue-card__action-btn:hover {
    border-color: var(--burgundy);
    color: var(--burgundy);
}

.venue-card__action-btn--details {
    margin-left: auto;
    color: var(--burgundy);
    border-color: transparent;
    background: transparent;
    font-weight: 600;
}

.venue-card__action-btn--details:hover {
    background: var(--burgundy-subtle);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Leaflet Map Markers — Custom burgundy numbered pins
   ═══════════════════════════════════════════════════════════════════════════ */

.vmap-marker {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #722F37;
    color: #fff;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2.5px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: transform 0.15s ease, background 0.15s ease;
}

.vmap-marker--active {
    background: #D4AF37;
    color: #2C1810;
    transform: scale(1.25);
    box-shadow: 0 3px 12px rgba(212,175,55,0.4);
    z-index: 999 !important;
}

/* Leaflet popup customization */
.vmap-popup-wrapper .leaflet-popup-content-wrapper {
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.06);
    padding: 0;
}

.vmap-popup-wrapper .leaflet-popup-content {
    margin: 0;
    font-family: 'Source Sans 3', sans-serif;
}

.vmap-popup-wrapper .leaflet-popup-tip {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.vmap-popup {
    padding: 14px 16px;
}

.vmap-popup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.vmap-popup-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #722F37;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vmap-popup-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.vmap-popup-type {
    font-size: 11px;
    font-weight: 600;
    color: #722F37;
    background: rgba(114,47,55,0.08);
    padding: 1px 7px;
    border-radius: 10px;
}

.vmap-popup-rating {
    font-size: 12px;
    font-weight: 600;
    color: #2C1810;
}

.vmap-popup-rating::before { content: ''; }

.vmap-popup-name {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    font-weight: 600;
    color: #2C1810;
    margin: 0 0 4px;
    line-height: 1.3;
}

.vmap-popup-address {
    font-size: 12px;
    color: #7A6B65;
    margin: 0 0 8px;
    line-height: 1.4;
}

.vmap-popup-link {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #722F37;
    text-decoration: none;
}

.vmap-popup-link:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════════════════
   Below-the-fold editorial, tips, related nav
   ═══════════════════════════════════════════════════════════════════════════ */

.page-section {
    padding: var(--space-section) 0;
}

.page-section--alt {
    background: var(--cream-alt);
}

.section-label {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: var(--space-xl);
}

/* Editorial grid (content + sidebar) */
.editorial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 1024px) {
    .editorial-grid {
        grid-template-columns: 1fr 320px;
    }
}

.editorial-content {
    max-width: 680px;
}

.editorial-section {
    margin-bottom: var(--space-xl);
}

.editorial-section h2 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    margin-bottom: var(--space-md);
}

.editorial-section p,
.editorial-section li {
    font-size: var(--text-base);
    line-height: 1.75;
    color: var(--text-body);
}

/* Sidebar CTA */
.editorial-sidebar {
    position: relative;
}

@media (min-width: 1024px) {
    .editorial-sidebar {
        position: sticky;
        top: calc(var(--header-height, 64px) + var(--space-lg));
        align-self: start;
    }
}

.sidebar-app-cta {
    background: var(--cream-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
}

.sidebar-app-cta img {
    border-radius: 14px;
    margin-bottom: var(--space-md);
}

.sidebar-app-cta h3 {
    font-family: var(--font-display);
    font-size: var(--text-base);
    margin-bottom: var(--space-sm);
}

.sidebar-app-cta p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: var(--space-md);
}

.sidebar-trust {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: var(--space-sm);
}

/* Tips grid */
.tips-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .tips-grid { grid-template-columns: repeat(2, 1fr); }
}

.tip-card {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.tip-card__number {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--burgundy);
    opacity: 0.35;
    line-height: 1;
}

.tip-card h4 {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    margin: 0 0 4px;
    color: var(--ink);
}

.tip-card p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Related navigation pills */
.related-nav-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .related-nav-grid { grid-template-columns: repeat(2, 1fr); }
}

.related-nav-heading {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--ink);
    margin-bottom: var(--space-md);
}

.related-pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.related-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-body);
    text-decoration: none;
    transition: all 0.15s ease;
}

.related-pill:hover {
    border-color: var(--burgundy);
    color: var(--burgundy);
    transform: translateY(-1px);
}

.related-pill-count {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--burgundy);
    background: var(--burgundy-subtle);
    padding: 1px 6px;
    border-radius: var(--radius-pill);
}

/* ─── Grain Overlay ────────────────────────────────────────────────────── */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

/* ─── Focus Visible ────────────────────────────────────────────────────── */
:focus-visible {
    outline: 2px solid var(--burgundy);
    outline-offset: 2px;
}

button:focus-visible,
.btn:focus-visible,
.cta-btn:focus-visible {
    outline: 2px solid var(--burgundy);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px var(--burgundy-glow);
}

/* ─── Reduced Motion ──────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal,
    .reveal-left,
    .reveal-right,
    .stagger-children > * {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ─── Utility ───────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mb-0 { margin-bottom: 0; }
.mt-section { margin-top: var(--space-section); }

/* Safe area padding for mobile */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .sticky-app-bar {
        padding-bottom: calc(var(--space-sm) + env(safe-area-inset-bottom));
    }
    body {
        padding-bottom: calc(60px + env(safe-area-inset-bottom));
    }
}

@media (min-width: 1024px) {
    body { padding-bottom: 0; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Global Entity Hub — value proposition cards
   ═══════════════════════════════════════════════════════════════════════════ */

.value-props-section {
    /* Slightly tighter vertical rhythm than a full page section */
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.value-props-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .value-props-grid { grid-template-columns: repeat(3, 1fr); }
}

.value-prop-card {
    padding: var(--space-lg) var(--space-md);
    background: var(--cream);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    position: relative;
    /* Gradient border accent on top edge */
    border-top: 2px solid var(--burgundy);
    transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.value-prop-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-3px);
}

.value-prop-card__icon {
    display: block;
    font-size: 1.25rem;
    color: var(--burgundy);
    margin-bottom: var(--space-sm);
    line-height: 1;
    /* Use a geometric symbol — crisp at all sizes */
    font-family: var(--font-body);
}

.value-prop-card__title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 var(--space-xs);
}

.value-prop-card__body {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Global Entity Hub — continent section headers with stats
   ═══════════════════════════════════════════════════════════════════════════ */

.continent-header {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
    .continent-header {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: var(--space-md);
    }
}

.continent-header__main {
    flex: 1;
    min-width: 0;
}

/* Override hub-section-title margin when nested in continent-header */
.continent-header .hub-section-title {
    margin-bottom: var(--space-xs);
}

.continent-header__desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.55;
    max-width: 60ch;
    margin: 0;
}

.continent-header__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25em;
    flex-shrink: 0;
    /* Align to baseline of the h2 on desktop */
    padding-top: 0.35em;
}

@media (min-width: 768px) {
    .continent-header__meta {
        justify-content: flex-end;
        text-align: right;
    }
}

.continent-meta-pill {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.continent-meta-sep {
    font-size: var(--text-xs);
    color: var(--light);
    padding: 0 0.1em;
}
