/* ==========================================================================
   Diner.mt — Styles
   Design system: Tried & Tested (TriedAndTested.mt)
   Palette: Navy #0F1219, Orange #E8500A accent
   Type: Playfair Display (serif) + Inter (sans)
   Fonts loaded via Google Fonts <link> in HTML
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colour palette — T&T brand */
  --navy: #0F1219;
  --navy-light: #1A1D2B;
  --navy-mid: #252839;
  --charcoal: #2C2F3E;
  --accent: #E8500A;
  --accent-light: #F06A2A;
  --accent-dark: #C23D08;
  --accent-glow: rgba(232, 80, 10, 0.15);
  --tnt-navy: #1B3A6B;
  --white: #FFFFFF;
  --off-white: #F5F3EF;
  --cream: #FAF8F4;
  --text: #B8BACA;
  --text-light: #8A8D9E;
  --text-dark: #3a3d4e;

  /* Typography — T&T design system */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container-max: 1280px;
  --container-pad: 40px;
  --section-pad: 120px;
  --card-gap: 28px;
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 100px;

  /* Animation */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

@media (max-width: 768px) {
  :root {
    --container-pad: 24px;
    --section-pad: 80px;
  }
}

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

/* The [hidden] attribute must always win over component display rules
   (fixes grid/map/empty-state view toggling and any hidden badges). */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Navy canvas so iOS rubber-band overscroll / address-bar resize never flashes white */
  background: var(--navy);
  /* Stop the rubber-band bounce that exposed white behind the hero on iOS */
  overscroll-behavior-y: none;
}

body {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text);
  background: var(--navy);
  overscroll-behavior-y: none;
}

img {
  max-width: 100%;
  display: block;
}

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

a:hover {
  color: var(--accent-light);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--white);
  line-height: 1.2;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 500;
}

::selection {
  background: rgba(232, 80, 10, 0.25);
  color: var(--white);
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--accent);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  z-index: 10000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 16px;
}

/* ---------- Container ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 8px 24px;
  border: 1px solid rgba(232, 80, 10, 0.3);
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.15rem;
  color: var(--text);
  max-width: 600px;
  margin: 16px auto 0;
  font-weight: 300;
  line-height: 1.7;
}

/* Light-background section overrides */
.collections .section-header h2,
.why-tnt .section-header h2,
.regions .section-header h2 {
  color: var(--navy);
}

.collections .section-sub,
.why-tnt .section-sub,
.regions .section-sub {
  color: var(--text-dark);
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--accent);
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--accent-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 80, 10, 0.3);
}

.btn-outline {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: transparent;
  padding: 14px 32px;
  border: 1px solid rgba(232, 80, 10, 0.4);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
}

.btn-outline:hover {
  background: rgba(232, 80, 10, 0.1);
  border-color: var(--accent);
  color: var(--accent-light);
  transform: translateY(-2px);
}

/* ---------- Dividers ---------- */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 80, 10, 0.3), transparent);
  border: none;
  margin: 0;
}

/* ========================================================================
   1. NAVIGATION
   ======================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 18, 25, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.4s ease;
}

.site-header.nav-scrolled {
  background: rgba(15, 18, 25, 0.95);
  border-bottom: 1px solid rgba(232, 80, 10, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 72px;
}

.nav-logo {
  text-decoration: none;
  z-index: 1001;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--white);
}

.logo-dot {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px;
}

.nav-menu a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}

.nav-menu a:hover {
  color: var(--white);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-cta {
  color: var(--accent) !important;
  border: 1px solid rgba(232, 80, 10, 0.4);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: rgba(232, 80, 10, 0.1);
  border-color: var(--accent);
}

.nav-cta::after {
  display: none !important;
}

/* Diners Club — highlighted member pill (subtle filled tint + icon so it stands
   out from the plain outlined "List Your Restaurant" beside it) */
.nav-club {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-light) !important;
  font-weight: 600 !important;
  border: 1px solid rgba(232, 80, 10, 0.5);
  background: var(--accent-glow);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.nav-club:hover {
  background: var(--accent);
  color: #fff !important;
  border-color: var(--accent);
}
.nav-club::after { display: none !important; }
.nav-club svg { width: 15px; height: 15px; }

/* "Map view" pill — shown in the mobile nav only (the hero pill covers desktop) */
.nav-mapview {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 600 !important;
  border: 1px solid var(--accent);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  text-decoration: none;
}
.nav-mapview:hover { background: var(--accent-light); border-color: var(--accent-light); }
.nav-mapview::after { display: none !important; }
.nav-mapview svg { width: 15px; height: 15px; }
@media (min-width: 1025px) { .nav-cta-group .nav-mapview { display: none; } }

/* Get-the-app + List-your-restaurant sit together as one unit */
.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* "Get the app" is a mobile-first CTA (add to home screen) — hide it on desktop */
@media (min-width: 1025px) {
  .nav-cta-group .app-nav {
    display: none;
  }
  /* breathing room between the wordmark and the first nav link */
  .nav-logo {
    margin-right: 36px;
  }
  .nav-menu {
    gap: 16px;
  }
}

@media (max-width: 1024px) {
  .nav-cta-group {
    width: 100%;
    margin-top: 2px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .nav-cta-group .app-nav,
  .nav-cta-group .nav-club,
  .nav-cta-group .nav-mapview,
  .nav-cta-group .nav-cta {
    font-size: 0.82rem;
    padding: 9px 14px;
    white-space: nowrap;
  }
}

/* Desktop-only "Get the app" pill floating in the hero's top-right corner,
   below the "List Your Restaurant" nav button (the nav pill is hidden ≥1025px). */
.hero-getapp {
  display: none;
}
@media (min-width: 1025px) {
  .hero-getapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    line-height: normal;
    gap: 7px;
    position: absolute;
    /* sits just below the 72px nav bar */
    top: 84px;
    /* right edge aligned under the "List Your Restaurant" nav button — the nav's
       right cluster (D-icon + Tried & Tested badge, ~314px) sits to its right */
    right: calc(var(--container-pad) + 314px);
    z-index: 5;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
    transition: background 0.2s ease, transform 0.15s ease;
  }
  .hero-getapp:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
  }
  .hero-getapp svg {
    width: 15px;
    height: 15px;
  }
}

/* Desktop-only "Map view" pill — stacked directly below the hero "Get the app" pill */
.hero-mapview {
  display: none;
}
@media (min-width: 1025px) {
  .hero-mapview {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    line-height: normal;
    gap: 7px;
    position: absolute;
    /* sits just below the "Get the app" pill (84px + pill height + gap) */
    top: 132px;
    right: calc(var(--container-pad) + 314px);
    z-index: 5;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
    transition: background 0.2s ease, transform 0.15s ease;
  }
  .hero-mapview:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
  }
  .hero-mapview svg {
    width: 15px;
    height: 15px;
  }
}

/* Get-the-app button (PWA install) */
.app-nav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.app-nav:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

.app-nav svg {
  width: 15px;
  height: 15px;
}

.app-nav.is-installed {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted, #9aa0b0);
  cursor: default;
}

.app-nav.is-installed:hover {
  transform: none;
}

/* Compact "Get the app" button shown in the header on mobile (≤1024px) */
.app-nav-m {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  z-index: 1001;
}

.app-nav-m svg {
  width: 14px;
  height: 14px;
}

.app-nav-m.is-installed {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
}

/* App icon used as a logo mark on the right of the header */
.nav-app-mark {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-app-mark img {
  width: 40px;
  height: 40px;
  display: block;
  transition: transform 0.2s ease;
}
.nav-app-mark:hover img {
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .nav-app-mark {
    position: absolute;
    top: 12px;
    right: 20px;
    z-index: 1001;
  }
  .nav-app-mark img {
    width: 42px;
    height: 42px;
  }
}

.nav-tnt-badge {
  display: flex;
  align-items: center;
}

.nav-tnt-badge img {
  height: 19px;
  width: auto;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.nav-tnt-badge:hover img {
  opacity: 0.8;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  position: relative;
  transition: background 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s ease;
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

.nav-open .hamburger {
  background: transparent;
}

.nav-open .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-open .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

@media (max-width: 1024px) {
  /* careers.mt-style header: NO hamburger — every link wraps tidily into rows */
  .nav-toggle { display: none; }
  .app-nav-m { display: none; }

  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--navy);
  }

  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 14px;
  }

  .nav-menu {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px 16px;
    width: 100%;
    height: auto;
    background: none;
    opacity: 1;
    visibility: visible;
  }

  /* app button shows inline within the wrapped nav */
  .nav-app-li { display: list-item; }

  .nav-menu a {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text);
  }
  .nav-menu a:hover { color: var(--white); }

  .nav-tnt-badge { display: none; }
}

/* ========================================================================
   2. HERO
   ======================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  /* svh = smallest (address-bar-shown) viewport height: stays fixed as the mobile
     address bar hides/shows, so the hero no longer resizes/"slips" on scroll. */
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* Always fill the LARGEST viewport height (address-bar-hidden state), clipped by the hero's
     overflow:hidden. Combined with the image over-scale, this stops any white gap opening when
     the mobile address bar collapses/expands and the 100dvh hero resizes on scroll. */
  min-height: 100lvh;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Permanent slight over-scale so the image always bleeds past the edges — prevents a white
     gap on mobile when the address bar hides/shows and the 100dvh hero resizes. Also covers the
     reduced-motion case (no animation) since this baseline transform still applies. */
  transform: scale(1.04);
  animation: heroZoom 20s var(--ease-in-out) forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.09); }
  to { transform: scale(1.04); }
}

/* Minimal full-image overlay — just a very light bottom edge */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 18, 25, 0.25) 0%, transparent 20%);
  z-index: 1;
}

/* Mask the sparkle watermark in the bottom-right */
.hero-bg::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, transparent 30%, rgba(15, 18, 25, 0.9) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 40px var(--container-pad);
  padding-top: 100px;
  padding-bottom: 48px;
  width: 100%;
  max-width: 680px;
  margin-left: calc(var(--container-pad) + 4vw);
  animation: fadeUp 1.2s var(--ease-out) 0.3s both;
  /* Localised navy scrim behind the text block only */
  background: linear-gradient(135deg,
    rgba(15, 18, 25, 0.70) 0%,
    rgba(15, 18, 25, 0.55) 60%,
    rgba(15, 18, 25, 0.15) 100%
  );
  border-radius: var(--radius-lg);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.2rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 500px;
}

/* Hero Search */
.hero-search {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 24px;
  max-width: 480px;
}

.hero-search-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 24px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
}

.hero-search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.hero-search-btn {
  background: var(--accent);
  border: none;
  padding: 14px 20px;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.3s ease;
}

.hero-search-btn:hover {
  background: var(--accent-light);
}

/* Mood Chips */
.mood-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mood-chip {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.mood-chip:hover {
  background: rgba(232, 80, 10, 0.15);
  border-color: var(--accent);
  color: var(--white);
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.hero-scroll-indicator span {
  display: block;
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

@media (max-width: 768px) {
  .hero-content {
    margin-left: auto;
    margin-right: auto;
    padding-top: 120px;
    text-align: left;
  }

  .hero-search {
    max-width: 100%;
  }

  .hero-scroll-indicator {
    display: none;
  }
}

/* ========================================================================
   3. CONFIGURATOR
   ======================================================================== */
.configurator {
  padding: var(--section-pad) 0;
  background: var(--navy);
  position: relative;
  isolation: isolate;
}

/* Hero-style photographic band behind the finder heading — MOBILE ONLY */
@media (max-width: 1024px) {
  .configurator::before {
    content: '';
    position: absolute;
    /* start below a navy break so the backdrop doesn't butt against the hero image */
    top: 84px;
    left: 0;
    right: 0;
    height: 600px;
    z-index: -1;
    background-image:
      linear-gradient(rgba(15, 18, 25, 0.35), rgba(15, 18, 25, 0.5) 55%, var(--navy) 100%),
      url('/assets/hero-harbour.png');
    background-size: cover;
    background-position: center;
  }
}

.configurator-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 1024px) {
  .configurator-layout {
    grid-template-columns: 1fr;
  }
}

/* Filters Panel */
.filters-panel {
  background: var(--navy-light);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Active-filter count badge */
.filters-count[hidden] {
  display: none;
}
.filters-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  margin-left: 8px;
  border-radius: 100px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  vertical-align: middle;
}
.filters-hint {
  font-size: 0.78rem;
  color: var(--text-light);
  margin: -8px 0 16px;
  display: none;
}

@media (max-width: 1024px) {
  .filters-hint {
    display: block;
  }
}

@media (max-width: 1024px) {
  .filters-panel {
    position: static;
  }
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.filters-header h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.filters-clear {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.filters-clear:hover {
  color: var(--accent);
}

/* Facet Groups */
/* Desktop: original plain expanded filter list */
.facet-group {
  margin-bottom: 20px;
}

.facet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 0;
  cursor: pointer;
  text-align: left;
}

.facet-chevron {
  transition: transform 0.3s ease;
  opacity: 0.5;
}

.facet-group.facet-collapsed .facet-chevron {
  transform: rotate(-90deg);
}

/* Mobile / PWA only: facet headings become tappable orange pills */
@media (max-width: 1024px) {
  .facet-group {
    margin-bottom: 12px;
  }
  .facet-header {
    display: inline-flex;
    width: auto;
    justify-content: flex-start;
    gap: 9px;
    background: rgba(232, 80, 10, 0.12);
    border: 1px solid rgba(232, 80, 10, 0.5);
    color: var(--accent-light);
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }
  .facet-header:hover {
    background: rgba(232, 80, 10, 0.2);
  }
  .facet-group:not(.facet-collapsed) .facet-header {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
  }
  .facet-chevron {
    opacity: 0.85;
  }
}

.facet-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), opacity 0.3s ease, padding 0.3s ease;
}

.facet-group.facet-collapsed .facet-options {
  max-height: 0 !important;
  opacity: 0;
  padding-top: 0;
}

/* Filter Pills */
.filter-pill {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filter-pill:hover {
  border-color: rgba(232, 80, 10, 0.4);
  color: var(--white);
}

.filter-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy);
  font-weight: 600;
}

/* Price Slider — plain block so the slider spans full width (was wrapping into a
   second flex column and running off the right edge on mobile) */
.facet-slider {
  display: block;
}

.price-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 12px;
}

.price-label strong {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.05rem;
}

/* Slider wrapper for the filled-track effect */
.slider-wrap {
  position: relative;
  padding: 8px 0;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: var(--navy-mid);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

/* Filled track (WebKit) */
input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right,
    var(--accent) 0%,
    var(--accent) var(--slider-fill, 100%),
    var(--navy-mid) var(--slider-fill, 100%),
    var(--navy-mid) 100%
  );
}

/* Filled track (Firefox) */
input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 4px;
  background: var(--navy-mid);
}

input[type="range"]::-moz-range-progress {
  height: 8px;
  border-radius: 4px;
  background: var(--accent);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: var(--accent);
  border: 3px solid var(--navy-light);
  border-radius: 50%;
  cursor: pointer;
  margin-top: -8px;
  box-shadow: 0 2px 8px rgba(232, 80, 10, 0.35);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 8px rgba(232, 80, 10, 0.15), 0 2px 8px rgba(232, 80, 10, 0.35);
  transform: scale(1.1);
}

input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: var(--accent);
  border: 3px solid var(--navy-light);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(232, 80, 10, 0.35);
}

input[type="range"]:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px var(--accent-light), 0 2px 8px rgba(232, 80, 10, 0.35);
}

/* Mobile: taller touch target + reliable dragging (was 8px tall and eaten by page scroll) */
@media (max-width: 1024px) {
  input[type="range"] {
    padding: 16px 0;
    background-clip: content-box;
    touch-action: none;
  }
  input[type="range"]::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
    margin-top: -10px;
  }
  input[type="range"]::-moz-range-thumb {
    width: 28px;
    height: 28px;
  }
}

.price-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light);
  margin-top: 8px;
}

/* Results Panel */
.results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.results-count {
  font-size: 0.9rem;
  color: var(--text-light);
}

.results-count strong {
  color: var(--white);
}

.results-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sort-control select {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text);
  background: var(--navy-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 32px 8px 12px;
  border-radius: var(--radius-sm);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238A8D9E' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.sort-control select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* View Toggle */
.view-toggle {
  display: flex;
  background: var(--navy-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.view-btn {
  background: transparent;
  border: none;
  padding: 8px 12px;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.view-btn.active {
  background: var(--accent);
  color: var(--navy);
}

.view-btn:hover:not(.active) {
  color: var(--white);
}

/* Results Grid */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
}

@media (max-width: 1024px) {
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .results-grid {
    grid-template-columns: 1fr;
  }
}

/* Restaurant Card */
.restaurant-card {
  background: var(--navy-light);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s ease;
}

.restaurant-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.restaurant-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  border-color: rgba(232, 80, 10, 0.2);
}

.card-image {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

/* Image (real or placeholder photo) */
.card-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.restaurant-card:hover .card-image img {
  transform: scale(1.05);
}

.card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(26, 29, 43, 0.6), transparent);
  z-index: 2;
}

/* Rating Circle — positioned top-left of card image */
.rating-circle {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 700;
  z-index: 3;
}

.rating-number {
  font-size: 0.95rem;
  line-height: 1;
}

.rating-star, .rating-tick {
  flex-shrink: 0;
}

/* Launch rating (aggregated) */
.rating-circle--launch {
  background: var(--accent);
  color: var(--navy);
  box-shadow: 0 2px 12px rgba(232, 80, 10, 0.4);
}

/* Tried & Tested verified score */
.rating-circle--verified {
  background: var(--navy);
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: 0 2px 12px rgba(232, 80, 10, 0.3);
}

/* Newly listed — no score yet (deliberately understated, not the orange score pill) */
.rating-circle--new {
  background: rgba(15, 18, 25, 0.72);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.rating-circle--new .rating-number {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Rating caption below tags in card body */
.rating-caption {
  display: block;
  font-size: 0.68rem;
  color: var(--text-light);
  margin-bottom: 10px;
  line-height: 1.4;
}

.rating-caption a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rating-caption a:hover {
  color: var(--accent-light);
}

/* Card Badges */
.card-badges {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 3;
}

.badge {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.badge-michelin {
  background: #C9A84C;
  color: #1a1200;
}

.badge-bib {
  background: #e07c3f;
  color: #1a0e00;
}

.badge-verified {
  background: var(--accent);
  color: var(--navy);
}

.badge-editors {
  background: #E8500A;
  color: var(--white);
}

/* Card Body */
.card-body {
  padding: 20px;
}

.card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.card-tag {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.card-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.card-link:hover {
  color: var(--accent-light);
}

/* Booking & Order Buttons on cards */
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.btn-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  border: none;
}

.btn-book--primary {
  background: var(--accent);
  color: var(--white);
}

.btn-book--primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 80, 10, 0.3);
}

.btn-book--secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-book--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-book--directions {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(232, 80, 10, 0.35);
}

.btn-book--directions:hover {
  background: rgba(232, 80, 10, 0.1);
  border-color: var(--accent);
  color: var(--accent-light);
}

/* ==========================================================================
   LEAFLET MAP
   ========================================================================== */
.map-container {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  scroll-margin-top: 90px;
}

/* Home / back-to-top button floating on the map (clear of Leaflet's top-left zoom) */
.map-home {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 600;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  transition: background 0.2s ease, transform 0.15s ease;
}
.map-home:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}
.map-home svg {
  width: 21px;
  height: 21px;
}

#restaurant-map {
  width: 100%;
  height: 520px;
  background: var(--navy-light);
}

@media (max-width: 768px) {
  #restaurant-map {
    height: 400px;
  }
}

/* Custom pin icon — the review score IS the pin (rounded rating chip with a tail) */
.map-pin {
  background: none !important;
  border: none !important;
}

.score-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 26px;
  padding: 0 10px;
  background: #fff;
  color: var(--navy, #0F1219);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 13px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
  position: relative;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease;
}

/* little downward tail so it reads as a map pin, not a floating chip */
.score-pin::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #fff;
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.18));
  transition: border-top-color 0.12s ease;
}

/* verified restaurants: a small orange dot before the score */
.score-pin.is-verified::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent, #E8500A);
  margin-right: 5px;
}

.score-pin:hover {
  transform: scale(1.08);
}

/* selected pin (popup open) — brand orange, matches the highlighted card */
.score-pin.is-active {
  background: var(--accent, #E8500A);
  color: #fff;
  transform: scale(1.12);
}
.score-pin.is-active::after {
  border-top-color: var(--accent, #E8500A);
}
.score-pin.is-active.is-verified::before {
  background: #fff;
}

/* Leaflet popup overrides */
.leaflet-popup-content-wrapper {
  background: var(--navy) !important;
  color: var(--white) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
  padding: 0 !important;
}

.leaflet-popup-content {
  margin: 0 !important;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  line-height: 1.5;
}

.leaflet-popup-tip {
  background: var(--navy) !important;
}

.leaflet-popup-close-button {
  color: var(--text-light) !important;
  font-size: 18px !important;
  padding: 6px 10px !important;
}

.leaflet-popup-close-button:hover {
  color: var(--white) !important;
}

.map-popup {
  padding: 16px;
  min-width: 180px;
}

.map-popup strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.popup-meta {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.popup-book {
  display: block;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 12px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-bottom: 8px;
  transition: background 0.2s;
}

.popup-book:hover {
  background: var(--accent-light);
}

.popup-link {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent) !important;
}

.popup-directions {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent) !important;
  margin-bottom: 4px;
  text-decoration: none;
}

.popup-directions:hover {
  text-decoration: underline;
}

/* ==========================================================================
   BOOKING MODAL
   ========================================================================== */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  display: none;
}

.booking-modal.is-open {
  display: flex;
}

.booking-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 25, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.booking-dialog {
  position: relative;
  width: 90vw;
  max-width: 560px;
  height: 85vh;
  max-height: 700px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.booking-close {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.06);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.booking-close:hover {
  background: rgba(0, 0, 0, 0.12);
}

#booking-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 80px 20px;
}

.empty-state h3 {
  margin: 16px 0 8px;
  font-size: 1.3rem;
}

.empty-state p {
  color: var(--text-light);
  margin-bottom: 24px;
}

/* ========================================================================
   4. CURATED COLLECTIONS
   ======================================================================== */
.collections {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
}

.collections-grid .collection-card:nth-child(4),
.collections-grid .collection-card:nth-child(5) {
  /* Last two cards span wider on desktop */
}

@media (max-width: 1024px) {
  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .collections-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Photo-based collection cards */
.collection-card--photo {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  text-decoration: none;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.collection-card--photo:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.collection-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.collection-card--photo:hover .collection-photo {
  transform: scale(1.05);
}

.collection-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(15, 18, 25, 0.85) 0%, rgba(15, 18, 25, 0.4) 60%, transparent 100%);
  z-index: 1;
}

.collection-overlay h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 4px;
}

.collection-overlay p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

/* ========================================================================
   5. WHY TRIED & TESTED
   ======================================================================== */
.why-tnt {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

/* Split layout: photo + text */
.why-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 768px) {
  .why-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.why-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.why-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
  border-radius: var(--radius-lg);
}

.why-text h2 {
  color: var(--navy);
  margin: 16px 0;
}

.why-lead {
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 32px;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-feature svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.why-feature h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.why-feature p {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.6;
}

/* ========================================================================
   6. EXPLORE BY REGION
   ======================================================================== */
/* ── Cafés, Coffee & Bars ─────────────────── */
.casual {
  padding: var(--section-pad) 0;
  background: var(--navy);
}

.casual-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 6px 0 40px;
}

.casual-chip {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  background: var(--navy-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  padding: 9px 20px;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.casual-chip:hover {
  color: #fff;
  border-color: rgba(232, 80, 10, 0.5);
}

.casual-chip.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.casual-empty {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 28px;
  background: var(--navy-light);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  color: var(--text);
}

.casual-empty svg {
  color: var(--accent);
  margin: 0 auto 14px;
  display: block;
}

.casual-empty h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.3;
}

.casual-empty p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 22px;
}

.btn-casual {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  border: 1px solid rgba(232, 80, 10, 0.4);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-casual:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.regions {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

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

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

.region-tile {
  position: relative;
  min-height: 170px;
  padding: 20px;
  background-color: var(--navy-light);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.region-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 18, 25, 0.9) 0%, rgba(15, 18, 25, 0.35) 55%, rgba(15, 18, 25, 0.12) 100%);
  transition: background 0.4s ease;
}

.region-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.region-tile:hover::before {
  background: linear-gradient(to top, rgba(15, 18, 25, 0.82) 0%, rgba(232, 80, 10, 0.3) 60%, rgba(15, 18, 25, 0.1) 100%);
}

.region-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  display: block;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.region-count {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.82);
  display: block;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}

/* Full-width image break between sections */
.image-break {
  width: 100%;
  max-height: 320px;
  overflow: hidden;
}

.image-break img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

/* ========================================================================
   7. LATEST REVIEWS
   ======================================================================== */
.latest-reviews {
  padding: var(--section-pad) 0;
  background: var(--navy);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
}

@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

.review-card {
  display: flex;
  gap: 20px;
  background: var(--navy-light);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform 0.4s var(--ease-out), border-color 0.4s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 80, 10, 0.2);
}

.review-rating {
  width: 52px;
  height: 52px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}

.review-body h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.review-meta {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.review-excerpt {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 12px;
}

.review-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

/* ========================================================================
   8. LIST YOUR RESTAURANT CTA
   ======================================================================== */
.list-cta {
  padding: var(--section-pad) 0;
  background: var(--navy-light);
  border-top: 1px solid rgba(232, 80, 10, 0.1);
  border-bottom: 1px solid rgba(232, 80, 10, 0.1);
}

.list-cta-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.list-cta-content h2 {
  margin-bottom: 16px;
}

.list-cta-content > p {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 32px;
}

.list-cta-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
  text-align: left;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 640px) {
  .list-cta-features {
    grid-template-columns: 1fr;
  }
}

.list-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--white);
}

.list-cta-content .btn-primary {
  margin-bottom: 0;
}

/* ========================================================================
   9. FAQ ACCORDION
   ======================================================================== */
.faq {
  padding: var(--section-pad) 0;
  background: var(--navy);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item summary {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item[open] summary {
  color: var(--accent);
}

.faq-answer {
  padding: 0 0 20px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
}

.faq-item summary:hover {
  color: var(--accent);
}

/* Focus styles for keyboard nav */
.faq-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ========================================================================
   10. FOOTER
   ======================================================================== */
.site-footer {
  padding: 80px 0 40px;
  background: var(--navy-light);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-logo {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.footer-tnt-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-tnt-link img {
  height: 20px;
  width: auto;
  opacity: 0.5;
}

.footer-tnt-link span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.footer-tnt-link:hover {
  opacity: 0.8;
}

.footer-tnt-link:hover img {
  opacity: 0.7;
}

.footer-nav h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a {
  font-size: 0.88rem;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-newsletter h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-newsletter p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  padding: 10px 16px;
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
  border-color: var(--accent);
}

.newsletter-form input::placeholder {
  color: var(--text-light);
}

.newsletter-form .btn-primary {
  padding: 10px 20px;
  font-size: 0.75rem;
  white-space: nowrap;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-light);
}

.footer-bottom a {
  color: var(--text-light);
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ========================================================================
   HOW WE RATE PAGE
   ======================================================================== */
.page-content {
  padding-top: 120px;
  padding-bottom: var(--section-pad);
  background: var(--navy);
  min-height: 80vh;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
}

.article-body h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin: 16px 0 24px;
}

.article-lead {
  font-size: 1.2rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 48px;
  font-weight: 300;
}

.rate-type {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rate-type h2 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.rate-type p {
  margin-bottom: 12px;
  line-height: 1.8;
}

.rate-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 4px;
}

.rate-badge--launch {
  background: var(--accent);
  color: var(--navy);
}

.rate-badge--verified {
  background: var(--navy-light);
  color: var(--accent);
  border: 2px solid var(--accent);
}

.rate-section {
  margin-bottom: 40px;
}

.rate-section h2 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.rate-section p {
  line-height: 1.8;
  margin-bottom: 12px;
}

.rate-section ul {
  list-style: none;
  padding: 0;
}

.rate-section li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  line-height: 1.7;
}

.rate-section li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.rate-scale {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rate-row {
  display: flex;
  gap: 16px;
  padding: 12px 16px;
  background: var(--navy-light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.rate-row strong {
  color: var(--accent);
  min-width: 100px;
  font-family: var(--font-sans);
}

.article-cta {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 640px) {
  .rate-type {
    flex-direction: column;
  }
}

/* ========================================================================
   ANIMATIONS
   ======================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

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

button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--navy);
}

::-webkit-scrollbar-thumb {
  background: var(--navy-mid);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--charcoal);
}
