/* =========================================================
   BURBANK'S CREATIVE BACKLOT — Design System
   Premium, cinematic, editorial directory styling
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Dark surface palette */
  --bg-darkest: #08080C;
  --bg-dark: #0E0E14;
  --bg-surface: #15151E;
  --bg-elevated: #1D1D28;
  --bg-raised: #262634;

  /* Light surfaces */
  --bg-light: #FFFFFF;
  --bg-muted: #F6F6F9;
  --bg-muted-2: #EEEEF3;

  /* Text */
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: #B0B0BE;
  --text-on-dark-subtle: #76768A;

  --text-on-light: #0A0A0F;
  --text-on-light-muted: #4A4A5A;
  --text-on-light-subtle: #8A8A99;

  /* Accent (gold yellow — brand primary) */
  --accent: #FFD700;                        /* primary gold */
  --accent-hover: #FFE14A;                  /* brighter for hover states on yellow bg */
  --accent-deep: #B8860B;                   /* darker gold — readable as TEXT on light backgrounds */
  --accent-soft: rgba(255, 215, 0, 0.18);   /* translucent fill */
  --accent-glow: rgba(255, 215, 0, 0.45);   /* glow / shadow */
  --accent-ink: #0A0A0F;                    /* dark text to use ON solid yellow backgrounds (buttons, badges) */

  /* --accent-text: semantic text color.
     Defaults to the readable dark-gold on light backgrounds.
     Overridden to pure --accent (bright yellow) in dark contexts below. */
  --accent-text: var(--accent-deep);

  /* Borders */
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-dark-2: rgba(255, 255, 255, 0.14);
  --border-light: #E6E6EC;
  --border-light-2: #D6D6DE;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.18);
  --shadow-dark: 0 20px 50px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 10px 40px var(--accent-glow);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Typography */
  --font-display: "Space Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1240px;
  --container-wide: 1400px;
  --container-narrow: 960px;
  --nav-h: 142px;

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 180ms;
  --t-med: 320ms;
  --t-slow: 600ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-on-light);
  background: var(--bg-light);
  overflow-x: hidden;
}
img, svg, video {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
input, select, textarea {
  font: inherit;
  color: inherit;
}
ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
p { margin: 0; }

::selection {
  background: var(--accent);
  color: #fff;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 100px 0;
  position: relative;
}
.section-sm {
  padding: 64px 0;
}
.section-dark {
  background: var(--bg-darkest);
  color: var(--text-on-dark);
}
.section-surface {
  background: var(--bg-surface);
  color: var(--text-on-dark);
}
.section-muted {
  background: var(--bg-muted);
}
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: inline-block;
}
.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-on-light-muted);
  max-width: 640px;
  line-height: 1.6;
}
.section-dark .section-sub,
.section-surface .section-sub {
  color: var(--text-on-dark-muted);
}
.section-head {
  margin-bottom: 56px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.section-head .head-text { max-width: 680px; }
.section-head .head-link {
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.section-head .head-link:hover { color: var(--accent-hover); gap: 12px; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  transition: all var(--t-med) var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 28px -10px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px var(--accent-glow);
}
.btn-outline {
  background: transparent;
  color: var(--text-on-dark);
  border-color: var(--border-dark-2);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.28);
}
.btn-light {
  background: #fff;
  color: var(--text-on-light);
}
.btn-light:hover {
  background: #f0f0f5;
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
}
.btn-ghost:hover { color: var(--accent-hover); }
.btn-sm {
  padding: 10px 18px;
  font-size: 15px;
}
.btn-lg {
  padding: 18px 32px;
  font-size: 18px;
}

.btn-arrow::after {
  content: "→";
  font-size: 16px;
  transition: transform var(--t-med) var(--ease);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---------- Chips / Pills ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
}
.chip-dark {
  background: rgba(255,255,255,0.1);
  color: var(--text-on-dark);
}
.chip-light {
  background: var(--bg-muted);
  color: var(--text-on-light-muted);
}
.chip-featured {
  background: linear-gradient(135deg, #FFD700, #FFE97A);
  color: #fff;
}
.chip-dot::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

/* ---------- Navigation ---------- */
.nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 6px 0;
  transition: background var(--t-med) var(--ease), backdrop-filter var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.nav-wrap.is-scrolled {
  background: rgba(8, 8, 12, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-on-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.nav-logo-mark {
  width: 38px; height: 38px;
  background: var(--accent);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}
.nav-logo-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent 60%);
}
.nav-logo-mark span { position: relative; z-index: 1; }
.nav-logo em {
  color: var(--accent);
  font-style: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  position: relative;
  padding: 10px 14px;
  font-size: 16.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  border-radius: 8px;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--accent); }
.nav-link-drop {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-link-drop::after {
  content: "";
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.6;
}

.nav-cta {
  display: flex; align-items: center; gap: 10px;
}
.nav-icon-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--text-on-dark);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-dark);
  transition: all var(--t-fast) var(--ease);
}
.nav-icon-btn:hover { background: rgba(255,255,255,0.12); border-color: var(--border-dark-2); }

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: rgba(20,20,28,0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--t-fast) var(--ease);
  box-shadow: var(--shadow-dark);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 11px 14px;
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  border-radius: 8px;
}
.nav-dropdown-menu a:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-dark);
  color: #fff;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px; right: 11px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--t-med) var(--ease);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(8,8,12,0.98);
  backdrop-filter: blur(16px);
  z-index: 99;
  padding: 100px 24px 40px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med) var(--ease), visibility var(--t-med);
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: 22px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  border-bottom: 1px solid var(--border-dark);
  font-family: var(--font-display);
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .mobile-cta { margin-top: 28px; }
.mobile-menu .mobile-cta .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  display: flex;
  align-items: center;
  color: var(--text-on-dark);
  background: var(--bg-darkest);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  /* On-set cinematographer shooting a scene — iconic film production
     imagery with moody, cinematic lighting. */
  background-image:
    linear-gradient(to bottom, rgba(8,8,12,0.55) 0%, rgba(8,8,12,0.7) 55%, rgba(8,8,12,0.98) 100%),
    url("https://images.unsplash.com/photo-1485846234645-a62644f84728?auto=format&fit=crop&w=2400&q=80");
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 1.5s var(--ease);
}
.hero.loaded .hero-bg { transform: scale(1); }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 20% 30%, var(--accent-soft), transparent 40%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 215, 0, 0.1), transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-dark-2);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero-eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.24);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.hero-title {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 500;
}
.hero-title .accent-word {
  position: relative;
  display: inline-block;
  color: var(--accent);
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--text-on-dark-muted);
  max-width: 680px;
  margin: 0 auto 40px;
}

/* Hero search bar */
.search-bar {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.98);
  color: var(--text-on-light);
  border-radius: var(--radius-pill);
  padding: 8px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}
.search-bar-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  min-width: 0;
  position: relative;
}
.search-bar-field + .search-bar-field::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 28px;
  background: var(--border-light);
}
.search-bar-field .icon {
  width: 20px; height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}
.search-bar-field .fields {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.search-bar-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-light-subtle);
}
.search-bar-field input,
.search-bar-field select {
  border: none;
  outline: none;
  background: none;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-on-light);
  width: 100%;
  min-width: 0;
  appearance: none;
  -webkit-appearance: none;
}
.search-bar-field input::placeholder {
  color: var(--text-on-light-subtle);
  font-weight: 400;
}
.search-bar .search-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  transition: all var(--t-med) var(--ease);
  flex-shrink: 0;
}
.search-bar .search-btn:hover {
  background: var(--accent-hover);
}

/* Hero quick categories */
.hero-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.hero-categories .cat {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
  transition: all var(--t-fast) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-categories .cat:hover {
  background: rgba(255, 215, 0, 0.18);
  border-color: var(--accent);
  color: #fff;
}

/* Stats strip */
.hero-stats {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid var(--border-dark);
}
.hero-stats .stat-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.hero-stats .stat-num em {
  color: var(--accent);
  font-style: normal;
}
.hero-stats .stat-label {
  font-size: 13px;
  color: var(--text-on-dark-muted);
  margin-top: 4px;
}

/* Page hero (simpler, for inner pages) */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 0 80px;
  background: var(--bg-darkest);
  color: var(--text-on-dark);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(8,8,12,0.65), rgba(8,8,12,0.98));
  z-index: -1;
}
.page-hero h1 {
  font-size: clamp(34px, 5vw, 60px);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.page-hero p {
  font-size: 18px;
  color: var(--text-on-dark-muted);
  max-width: 640px;
  margin: 0 auto 28px;
}
.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-on-dark-subtle);
  margin-bottom: 18px;
}
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { opacity: 0.5; }

/* ---------- Listing Cards ---------- */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med);
  display: flex;
  flex-direction: column;
  position: relative;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--bg-muted);
}
.card-media img,
.card-media .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  transition: transform 1.4s var(--ease);
}
.card:hover .card-media img,
.card:hover .card-media .bg {
  transform: scale(1.06);
}
.card-media .overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 60%);
  pointer-events: none;
}
.card-media .featured-badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 12px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(255, 215, 0, 0.48);
}
.card-media .category-badge {
  position: absolute;
  top: 14px; right: 14px;
  padding: 6px 12px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-pill);
}
.card-media .bookmark-btn {
  position: absolute;
  bottom: 14px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--text-on-light);
  display: grid; place-items: center;
  transition: all var(--t-fast) var(--ease);
  opacity: 0;
  transform: translateY(6px);
}
.card:hover .card-media .bookmark-btn { opacity: 1; transform: translateY(0); }
.card-media .bookmark-btn:hover { color: var(--accent); }
.card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--text-on-light-subtle);
}
.card-meta .loc {
  display: inline-flex; align-items: center; gap: 4px;
}
.card-rating {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--accent);
  font-weight: 600;
}
.card-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--text-on-light);
}
.card-title a { color: inherit; }
.card-title a:hover { color: var(--accent); }
.card-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-on-light-muted);
}
.card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  font-size: 13.5px;
}
.card-foot .tag {
  color: var(--text-on-light-muted);
  display: inline-flex; align-items: center; gap: 6px;
}
.card-foot .view {
  color: var(--accent);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
}
.card-foot .view:hover { gap: 8px; }

/* Dark card variant */
.card-dark {
  background: var(--bg-elevated);
  border-color: var(--border-dark);
  color: var(--text-on-dark);
}
.card-dark:hover {
  border-color: var(--border-dark-2);
  box-shadow: var(--shadow-dark);
}
.card-dark .card-title { color: #fff; }
.card-dark .card-desc { color: var(--text-on-dark-muted); }
.card-dark .card-foot { border-top-color: var(--border-dark); }
.card-dark .card-foot .tag { color: var(--text-on-dark-muted); }
.card-dark .card-meta { color: var(--text-on-dark-subtle); }

/* ---------- Category Cards (industry) ---------- */
.cat-card {
  position: relative;
  padding: 28px 24px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: all var(--t-med) var(--ease);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 180px;
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
  z-index: -1;
}
.cat-card:hover {
  color: #fff;
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}
.cat-card:hover::before { opacity: 1; }
.cat-card:hover .cat-card-icon { background: rgba(255,255,255,0.18); color: #fff; }
.cat-card:hover .cat-card-count { color: rgba(255,255,255,0.85); }

.cat-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  transition: all var(--t-med) var(--ease);
}
.cat-card-icon svg { width: 26px; height: 26px; }
.cat-card-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.cat-card-count {
  font-size: 13px;
  color: var(--text-on-light-subtle);
  margin-top: auto;
  transition: color var(--t-med) var(--ease);
}

/* Dark variant */
.cat-card.dark {
  background: var(--bg-elevated);
  border-color: var(--border-dark);
  color: var(--text-on-dark);
}
.cat-card.dark .cat-card-count { color: var(--text-on-dark-muted); }

/* ---------- Event Card ---------- */
.event-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 18px;
  transition: all var(--t-med) var(--ease);
  align-items: center;
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-light-2);
}
.event-card .date-tile {
  background: var(--bg-darkest);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 18px 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.event-card .date-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.28), transparent 60%);
  z-index: -1;
}
.event-card .date-month {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.event-card .date-day {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  margin: 4px 0;
}
.event-card .date-year {
  font-size: 11px;
  color: var(--text-on-dark-muted);
}
.event-card .event-body h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.event-card .event-body h3 a:hover { color: var(--accent); }
.event-card .event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--text-on-light-muted);
}
.event-card .event-meta span {
  display: inline-flex; align-items: center; gap: 5px;
}

/* ---------- Deal Card ---------- */
.deal-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--t-med) var(--ease);
  display: flex;
  flex-direction: column;
}
.deal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.deal-card .deal-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.deal-card .deal-media .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.2s var(--ease); }
.deal-card:hover .deal-media .bg { transform: scale(1.06); }
.deal-card .discount {
  position: absolute;
  top: 14px; left: 14px;
  padding: 8px 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.48);
}
.deal-card .deal-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.deal-card .deal-body h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.deal-card .deal-body .biz {
  font-size: 13px;
  color: var(--text-on-light-subtle);
}
.deal-card .deal-body .desc {
  font-size: 14px;
  color: var(--text-on-light-muted);
  line-height: 1.55;
}
.deal-card .deal-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
}
.deal-card .deal-foot .expires { color: var(--text-on-light-subtle); }
.deal-card .deal-foot a { color: var(--accent); font-weight: 600; }

/* ---------- Pricing Card ---------- */
.price-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: all var(--t-med) var(--ease);
  position: relative;
}
.price-card:hover {
  border-color: var(--border-light-2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.price-card.featured {
  background: var(--bg-darkest);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 20px 60px -20px var(--accent-glow);
  transform: translateY(-8px);
}
.price-card.featured .price-desc { color: var(--text-on-dark-muted); }
.price-card.featured .price-feats li { color: var(--text-on-dark); }
.price-card.featured .price-feats .check { background: var(--accent); color: #fff; }
.price-card .badge-pop {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.price-name {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.price-amount {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.price-amount small {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-on-light-muted);
}
.price-card.featured .price-amount small { color: var(--text-on-dark-muted); }
.price-desc {
  font-size: 14.5px;
  color: var(--text-on-light-muted);
  line-height: 1.55;
}
.price-feats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14.5px;
}
.price-feats li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-on-light);
}
.price-feats .check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 12px;
  margin-top: 2px;
}
.price-card .btn { margin-top: auto; }

/* ---------- Testimonial ---------- */
.testimonial {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.testimonial .quote-mark {
  position: absolute;
  top: 20px; right: 28px;
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-soft);
  pointer-events: none;
}
.testimonial .stars {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 2px;
}
.testimonial .quote {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-on-light);
  font-weight: 500;
}
.testimonial .author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}
.testimonial .avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
}
.testimonial .author-name { font-weight: 700; font-size: 15px; }
.testimonial .author-role { font-size: 13px; color: var(--text-on-light-subtle); }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-darkest);
  color: var(--text-on-dark);
  padding: 80px 0 0;
  border-top: 1px solid var(--border-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}
.footer-brand p {
  color: var(--text-on-dark-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 20px 0 28px;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  color: var(--text-on-dark-muted);
  font-size: 14.5px;
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
  display: inline-block;
}
.footer-col a:hover { color: var(--accent); padding-left: 4px; }
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-dark);
  color: #fff;
  display: grid;
  place-items: center;
  transition: all var(--t-fast) var(--ease);
}
.footer-socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; padding-left: 0; transform: translateY(-2px); }

.footer-bottom {
  padding: 28px 0;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: var(--text-on-dark-muted);
}
.footer-bottom a { color: var(--text-on-dark-muted); }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom .legal-links { display: flex; gap: 24px; }

/* ---------- Newsletter ---------- */
.newsletter {
  background: linear-gradient(135deg, var(--bg-darkest) 0%, #1A1425 100%);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at top right, var(--accent-soft), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(99, 102, 241, 0.12), transparent 50%);
}
.newsletter h2 {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 14px;
  max-width: 580px;
}
.newsletter p { color: var(--text-on-dark-muted); max-width: 540px; margin-bottom: 28px; }
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 540px;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 240px;
  padding: 16px 22px;
  border: 1px solid var(--border-dark-2);
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-pill);
  color: #fff;
  outline: none;
  transition: border-color var(--t-fast) var(--ease);
}
.newsletter-form input::placeholder { color: var(--text-on-dark-subtle); }
.newsletter-form input:focus { border-color: var(--accent); }

/* ---------- Filter Bar (directory) ---------- */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}
.toolbar .search-field {
  flex: 1;
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  transition: border-color var(--t-fast) var(--ease);
}
.toolbar .search-field:focus-within { border-color: var(--accent); }
.toolbar .search-field svg { width: 18px; height: 18px; color: var(--text-on-light-subtle); flex-shrink: 0; }
.toolbar .search-field input {
  border: none; outline: none; background: none; flex: 1;
  font-size: 15px;
}
.toolbar select {
  padding: 12px 40px 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238A8A99' d='M6 8 0 0h12z'/%3E%3C/svg%3E") no-repeat right 16px center;
  appearance: none;
  -webkit-appearance: none;
  font-size: 14.5px;
  cursor: pointer;
  font-weight: 500;
}
.toolbar .view-toggle {
  display: flex;
  padding: 4px;
  background: var(--bg-muted);
  border-radius: var(--radius-pill);
  gap: 2px;
}
.toolbar .view-toggle button {
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-on-light-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--t-fast) var(--ease);
}
.toolbar .view-toggle button.active {
  background: #fff;
  color: var(--text-on-light);
  box-shadow: var(--shadow-sm);
}

/* ---------- Filters (sidebar) ---------- */
.page-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}
.filter-panel {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 100px;
}
.filter-panel h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-on-light);
  margin-bottom: 14px;
}
.filter-panel .filter-group { margin-bottom: 28px; }
.filter-panel .filter-group:last-child { margin-bottom: 0; }
.filter-panel label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 14px;
  color: var(--text-on-light-muted);
  cursor: pointer;
  transition: color var(--t-fast) var(--ease);
}
.filter-panel label:hover { color: var(--text-on-light); }
.filter-panel input[type="checkbox"],
.filter-panel input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border: 1.5px solid var(--border-light-2);
  border-radius: 5px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.filter-panel input[type="radio"] { border-radius: 50%; }
.filter-panel input:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.filter-panel input:checked::after {
  content: "";
  position: absolute;
  left: 5px; top: 2px;
  width: 5px; height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.filter-panel input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: none;
  background: #fff;
  border-radius: 50%;
  transform: none;
}
.filter-panel .count {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-on-light-subtle);
}

/* ---------- Results bar ---------- */
.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 14px;
}
.results-bar .count {
  font-size: 14.5px;
  color: var(--text-on-light-muted);
}
.results-bar .count strong { color: var(--text-on-light); }

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
}
.pagination a, .pagination span {
  min-width: 42px; height: 42px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-on-light-muted);
  transition: all var(--t-fast) var(--ease);
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .current {
  background: var(--bg-darkest);
  color: #fff;
  border-color: var(--bg-darkest);
}

/* ---------- Profile Page ---------- */
.profile-cover {
  height: 360px;
  position: relative;
  background-size: cover;
  background-position: center;
  margin-top: var(--nav-h);
}
.profile-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(8,8,12,0.95));
}
.profile-head {
  position: relative;
  margin-top: -80px;
  z-index: 1;
  padding: 0 0 40px;
  color: #fff;
}
.profile-head .container { display: flex; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.profile-logo {
  width: 140px; height: 140px;
  border-radius: var(--radius-xl);
  background: #fff;
  border: 4px solid #fff;
  box-shadow: var(--shadow-lg);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.profile-heading { flex: 1; min-width: 260px; }
.profile-heading .chips { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.profile-heading h1 {
  font-size: clamp(28px, 3.5vw, 44px);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.profile-heading .meta {
  display: flex; flex-wrap: wrap; gap: 18px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}
.profile-heading .meta span { display: inline-flex; align-items: center; gap: 6px; }
.profile-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.profile-body { background: var(--bg-muted); padding: 48px 0 100px; }
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}
.profile-section {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 32px;
  margin-bottom: 24px;
}
.profile-section h2 {
  font-size: 22px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.profile-section p { color: var(--text-on-light-muted); line-height: 1.65; font-size: 15.5px; }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery > div {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-md);
  transition: transform var(--t-med) var(--ease);
  cursor: pointer;
}
.gallery > div:hover { transform: scale(1.02); }

.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  margin-top: 10px;
}
.services-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14.5px;
  color: var(--text-on-light);
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-light);
}
.services-list li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.sidebar-widget {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 28px;
  margin-bottom: 20px;
}
.sidebar-widget h3 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  color: var(--text-on-light);
}
.contact-list { display: flex; flex-direction: column; gap: 16px; }
.contact-list .item { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .item .ic {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-list .label { font-size: 12px; color: var(--text-on-light-subtle); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-list .value { font-weight: 500; font-size: 14.5px; color: var(--text-on-light); line-height: 1.4; }
.contact-list .value a:hover { color: var(--accent); }

.map-widget {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #d6e4e6 0%, #c9d7d9 100%) center/cover;
  background-image:
    linear-gradient(rgba(20,20,28,0.08), rgba(20,20,28,0.08)),
    url("https://api.mapbox.com/styles/v1/mapbox/light-v10/static/-118.3287,34.1808,13/600x600@2x?access_token=pk");
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}
.map-widget::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(10,10,15,0.05) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(10,10,15,0.05) 39px 40px),
    linear-gradient(135deg, #e9eef1 0%, #dde5e8 100%);
}
.map-widget::after {
  content: "📍";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -100%);
  font-size: 36px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

/* ---------- FAQ Accordion ---------- */
.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 16.5px;
  cursor: pointer;
  user-select: none;
}
.faq-q::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--accent);
  transition: transform var(--t-fast) var(--ease);
  flex-shrink: 0;
}
.faq-item.open .faq-q::after { content: "−"; }
.faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  color: var(--text-on-light-muted);
  font-size: 15px;
  line-height: 1.65;
  transition: max-height var(--t-med) var(--ease), padding var(--t-med) var(--ease);
}
.faq-item.open .faq-a {
  padding: 0 24px 22px;
  max-height: 400px;
}

/* ---------- CTA block ---------- */
.cta-block {
  background: linear-gradient(135deg, #0E0E14 0%, #221221 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 80px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at top left, var(--accent-soft), transparent 45%),
    radial-gradient(ellipse at bottom right, rgba(255, 215, 0, 0.14), transparent 55%);
}
.cta-block h2 {
  font-size: clamp(32px, 4vw, 54px);
  letter-spacing: -0.02em;
  max-width: 700px;
  margin: 0 auto 18px;
}
.cta-block p {
  font-size: 17px;
  color: var(--text-on-dark-muted);
  max-width: 580px;
  margin: 0 auto 36px;
}
.cta-block .actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- Benefit grid (For Businesses) ---------- */
.benefit-card {
  padding: 32px 28px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: all var(--t-med) var(--ease);
  display: flex; flex-direction: column; gap: 12px;
}
.benefit-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit-card .num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.benefit-card h3 {
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.benefit-card p {
  color: var(--text-on-light-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- Form Styles ---------- */
.form-group {
  margin-bottom: 22px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-on-light);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 15px;
  background: #fff;
  outline: none;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }
.reveal.delay-5 { transition-delay: 0.40s; }
.reveal.delay-6 { transition-delay: 0.48s; }

/* ---------- Marquee (partner strip) ---------- */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
  padding: 20px 0;
}
.marquee-track {
  display: flex;
  gap: 64px;
  align-items: center;
  animation: marquee 34s linear infinite;
  width: max-content;
}
.marquee-track .item {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease);
}
.marquee-track .item:hover { color: var(--accent); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}
.step {
  text-align: center;
  padding: 40px 28px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  position: relative;
  transition: all var(--t-med) var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.step .step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0 auto 20px;
}
.step h3 { font-size: 20px; margin-bottom: 10px; letter-spacing: -0.01em; }
.step p { color: var(--text-on-light-muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .profile-grid { grid-template-columns: 1fr; }
  .page-grid { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
}
@media (max-width: 880px) {
  .section { padding: 72px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .search-bar { flex-direction: column; padding: 12px; border-radius: var(--radius-lg); }
  .search-bar-field { width: 100%; padding: 14px 16px; }
  .search-bar-field + .search-bar-field::before { display: none; }
  .search-bar-field + .search-bar-field { border-top: 1px solid var(--border-light); }
  .search-bar .search-btn { width: 100%; padding: 16px; }
  .cta-block { padding: 56px 24px; }
  .newsletter { padding: 48px 28px; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 88px 1fr; gap: 14px; padding: 14px; }
  .event-card .date-day { font-size: 26px; }
  .services-list { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer { padding-top: 56px; }
  .cta-block h2 { font-size: 32px; }
  .price-card.featured { transform: none; }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero { min-height: auto; padding: calc(var(--nav-h) + 48px) 0 64px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .toolbar .search-field { min-width: 0; }
  .section-title { font-size: 28px; }
}

/* ---------- No scroll when mobile nav open ---------- */
body.no-scroll { overflow: hidden; }

/* =========================================================
   CUSTOM SELECT DROPDOWN
   Replaces native <select> with animated, dark-glass menu.
   Enhanced via JS in main.js.
   ========================================================= */

.ui-select {
  position: relative;
  width: 100%;
  display: block;
}
.ui-select > select.ui-select-native {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  clip: rect(0 0 0 0);
  z-index: -1;
}

/* Base trigger — inherits its parent's type/color styling */
.ui-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 0;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  outline: none;
  position: relative;
}
.ui-select-trigger .ui-select-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.ui-select-trigger .ui-select-caret {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: currentColor;
  opacity: 0.55;
  transition: transform 280ms var(--ease-out), opacity var(--t-fast);
}
.ui-select-trigger:hover .ui-select-caret,
.ui-select.is-open .ui-select-caret {
  opacity: 1;
}
.ui-select.is-open .ui-select-caret {
  transform: rotate(180deg);
  color: var(--accent);
}

/* Menu — dark premium glass
   position:fixed escapes any ancestor overflow clipping (hero, cards, etc.)
   JS computes top/left/width from the trigger's bounding rect. */
.ui-select-menu {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 200px;
  padding: 6px;
  background: rgba(15, 15, 22, 0.96);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid var(--border-dark-2);
  border-radius: 14px;
  box-shadow:
    0 28px 64px -20px rgba(0, 0, 0, 0.5),
    0 4px 12px -4px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transform-origin: top left;
  transition:
    opacity 220ms var(--ease-out),
    transform 320ms var(--ease-out),
    visibility 220ms;
  max-height: 340px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.ui-select.is-open .ui-select-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
/* Menu aligned to right (useful for toolbar sorts) */
.ui-select.align-right .ui-select-menu {
  left: auto;
  right: 0;
  transform-origin: top right;
}

/* Menu items */
.ui-select-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 14px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  text-align: left;
  border-radius: 9px;
  cursor: pointer;
  outline: none;
  white-space: nowrap;
  transition:
    color 140ms var(--ease),
    background 160ms var(--ease),
    padding-left 200ms var(--ease);
}
.ui-select-item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  flex-shrink: 0;
  transition: background 180ms var(--ease), transform 180ms var(--ease);
}
.ui-select-item:hover,
.ui-select-item:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding-left: 18px;
}
.ui-select-item:hover::before,
.ui-select-item:focus-visible::before {
  background: rgba(255, 215, 0, 0.58);
}
.ui-select-item.is-selected {
  color: var(--accent);
  background: rgba(255, 215, 0, 0.12);
}
.ui-select-item.is-selected::before {
  background: var(--accent);
  transform: scale(1.3);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.24);
}

/* Staggered fade-in for items when menu opens */
.ui-select.is-open .ui-select-item {
  animation: uiSelectItemIn 360ms var(--ease-out) backwards;
}
.ui-select.is-open .ui-select-item:nth-child(1) { animation-delay: 30ms; }
.ui-select.is-open .ui-select-item:nth-child(2) { animation-delay: 60ms; }
.ui-select.is-open .ui-select-item:nth-child(3) { animation-delay: 90ms; }
.ui-select.is-open .ui-select-item:nth-child(4) { animation-delay: 120ms; }
.ui-select.is-open .ui-select-item:nth-child(5) { animation-delay: 150ms; }
.ui-select.is-open .ui-select-item:nth-child(6) { animation-delay: 175ms; }
.ui-select.is-open .ui-select-item:nth-child(7) { animation-delay: 200ms; }
.ui-select.is-open .ui-select-item:nth-child(8) { animation-delay: 220ms; }
.ui-select.is-open .ui-select-item:nth-child(n+9) { animation-delay: 240ms; }
@keyframes uiSelectItemIn {
  from { opacity: 0; transform: translateX(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ---- Context-specific trigger styling ---- */

/* Inside search-bar-field — seamless, no chrome */
.search-bar-field .ui-select-trigger {
  padding: 0;
  color: var(--text-on-light);
  font-size: 15px;
}

/* Toolbar (directory page) — pill chrome */
.toolbar .ui-select {
  width: auto;
  flex-shrink: 0;
}
.toolbar .ui-select-trigger {
  padding: 12px 18px 12px 18px;
  padding-right: 42px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--text-on-light);
  font-size: 14.5px;
  font-weight: 500;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.toolbar .ui-select-trigger:hover {
  border-color: var(--border-light-2);
}
.toolbar .ui-select.is-open .ui-select-trigger {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.toolbar .ui-select-trigger .ui-select-caret {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}
.toolbar .ui-select.is-open .ui-select-trigger .ui-select-caret {
  transform: translateY(-50%) rotate(180deg);
}

/* Form group selects (inquiry, join, contact forms) */
.form-group .ui-select-trigger {
  padding: 14px 44px 14px 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--text-on-light);
  font-size: 15px;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.form-group .ui-select-trigger:hover {
  border-color: var(--border-light-2);
}
.form-group .ui-select.is-open .ui-select-trigger {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.form-group .ui-select-trigger .ui-select-caret {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}
.form-group .ui-select.is-open .ui-select-trigger .ui-select-caret {
  transform: translateY(-50%) rotate(180deg);
}

/* Inline event-page sort select */
.section-head .ui-select-trigger,
[class*="sort"] .ui-select-trigger {
  padding: 10px 40px 10px 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-on-light);
}
.section-head .ui-select-trigger .ui-select-caret {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}
.section-head .ui-select.is-open .ui-select-trigger .ui-select-caret {
  transform: translateY(-50%) rotate(180deg);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ui-select-menu,
  .ui-select-item,
  .ui-select-caret {
    transition: none !important;
    animation: none !important;
  }
}

/* =========================================================
   ACCENT COLOR CONTEXT OVERRIDES
   In dark sections/components, --accent-text becomes the
   bright pure yellow. On light backgrounds it stays as the
   darker readable gold (--accent-deep).
   ========================================================= */
.section-dark,
.section-surface,
.hero,
.page-hero,
.footer,
.nav-wrap,
.mobile-menu,
.profile-head,
.profile-cover,
.cta-block,
.newsletter,
.price-card.featured,
.card-dark,
.cat-card.dark,
.event-card .date-tile,
.ui-select-menu {
  --accent-text: var(--accent);
}

/* =========================================================
   CONTRAST FIXES FOR YELLOW ACCENT
   Yellow #FFD700 against white = poor contrast. These rules
   switch to --accent-text (dark gold on light, yellow on dark)
   or to --accent-ink (dark text on yellow backgrounds).
   ========================================================= */

/* Text-on-light usages previously using --accent directly */
.section-eyebrow        { color: var(--accent-text); }
.section-head .head-link{ color: var(--accent-text); }
.section-head .head-link:hover { color: var(--accent); }
.btn-ghost              { color: var(--accent-text); }
.btn-ghost:hover        { color: var(--accent-deep); }
.card-title a:hover     { color: var(--accent-text); }
.card-rating            { color: var(--accent-text); }
.card-foot .view        { color: var(--accent-text); }
.event-card .event-body h3 a:hover { color: var(--accent-text); }
.deal-card .deal-foot a { color: var(--accent-text); }
.price-name             { color: var(--accent-text); }
.testimonial .stars     { color: var(--accent-text); }
.pagination a:hover     { color: var(--accent-text); border-color: var(--accent-text); }
.contact-list .value a:hover { color: var(--accent-text); }
.contact-list .item .ic { color: var(--accent-text); background: var(--accent-soft); }
.faq-q::after           { color: var(--accent-text); }
.benefit-card .num      { color: var(--accent-text); }
.step .step-num         { color: var(--accent-text); }
.cat-card-icon          { color: var(--accent-text); }
.chip                   { color: var(--accent-text); }
.search-bar-field .icon { color: var(--accent-text); }
.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }
.price-feats .check     { color: var(--accent-text); }

/* price-card.featured is a DARK card — inner check badges should use
   --accent-ink (dark) on the bright yellow circle for contrast */
.price-card.featured .price-feats .check {
  background: var(--accent);
  color: var(--accent-ink);
}

/* Text ON solid yellow backgrounds must be dark to be readable */
.btn-primary,
.btn-primary:hover,
.search-bar .search-btn,
.search-bar .search-btn:hover,
.nav-logo-mark,
.card-media .featured-badge,
.card-media .featured-badge *,
.deal-card .discount,
.badge-pop,
.chip-featured,
.footer-socials a:hover,
.filter-panel input:checked {
  color: var(--accent-ink);
}

/* Outline / ghost-style buttons on dark sections use pure bright yellow */
.section-dark .btn-ghost,
.section-surface .btn-ghost,
.hero .btn-ghost,
.footer .btn-ghost,
.cta-block .btn-ghost {
  color: var(--accent);
}

/* Reuse the chip-featured gradient with gold tones */
.chip-featured {
  background: linear-gradient(135deg, #FFD700, #FFE97A);
  color: var(--accent-ink);
  font-weight: 700;
}

/* Featured listing badge: add a subtle dark-text shadow so "Featured"
   remains visible even if the yellow shifts slightly */
.card-media .featured-badge {
  color: var(--accent-ink);
  font-weight: 800;
  box-shadow: 0 4px 14px var(--accent-glow);
}

/* Keep the nav-logo-mark text dark on the yellow square */
.nav-logo-mark,
.nav-logo-mark span {
  color: var(--accent-ink);
}

/* Deal discount badge dark text */
.deal-card .discount {
  color: var(--accent-ink);
  font-weight: 800;
  box-shadow: 0 6px 16px var(--accent-glow);
}

/* Price card "Most Popular" pill */
.price-card .badge-pop {
  color: var(--accent-ink);
}

/* The featured price card border & glow now use the yellow accent */
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 20px 60px -20px var(--accent-glow);
}

/* Hero categories chip hover — keep visible */
.hero-categories .cat:hover {
  background: rgba(255, 215, 0, 0.16);
  border-color: var(--accent);
  color: #fff;
}

/* Filter panel checkboxes/radios checked state */
.filter-panel input:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.filter-panel input[type="checkbox"]:checked::after {
  border-color: var(--accent-ink); /* dark check mark on yellow */
}
.filter-panel input[type="radio"]:checked::after {
  background: var(--accent-ink); /* dark dot on yellow */
}

/* Footer socials: yellow hover bg, dark icon */
.footer-socials a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

/* Cat-card hover — dark ink on yellow gradient for readability */
.cat-card:hover {
  color: var(--accent-ink);
}
.cat-card:hover .cat-card-icon {
  background: rgba(10, 10, 15, 0.14);
  color: var(--accent-ink);
}
.cat-card:hover .cat-card-count {
  color: rgba(10, 10, 15, 0.72);
}
.cat-card::before {
  /* the hover gradient — now gold tones */
  background: linear-gradient(135deg, var(--accent) 0%, #E6B800 100%);
}

/* Date-tile overlay — soften to match yellow theme */
.event-card .date-tile::before {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.28), transparent 60%);
}

/* Hero title accent word — shift gradient to gold */
.hero-title em,
.hero-title .accent-word {
  color: var(--accent);
}

/* Hero eyebrow pulse dot — now yellow */
.hero-eyebrow::before {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.22);
}

/* Toolbar / filter panel / form focus rings use yellow */
.toolbar .search-field:focus-within,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.newsletter-form input:focus {
  border-color: var(--accent);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* =========================================================
   PURPLE CTA BUTTON (Explore Burbank's Backlot)
   Rich deep purple — complements the gold accent.
   ========================================================= */
.btn-purple {
  background: #3A1E6D;
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(58, 30, 109, 0.6);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-purple::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #4C2A85 0%, #2D1252 100%);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
}
.btn-purple:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px rgba(76, 42, 133, 0.65);
}
.btn-purple:hover::before { opacity: 1; }
/* Subtle right-arrow that only appears on hover */
.btn-purple .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.25);
  margin-right: 2px;
  animation: pulsePurpleDot 2.4s var(--ease) infinite;
}
@keyframes pulsePurpleDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.25); }
}

/* =========================================================
   IFRAME WRAPPER (map page)
   Premium framed container for embedded interactive maps.
   ========================================================= */
.iframe-wrap {
  position: relative;
  width: 100%;
  height: min(85vh, 880px);
  min-height: 560px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-darkest);
  border: 1px solid var(--border-dark-2);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.45),
    0 12px 32px -12px rgba(58, 30, 109, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  isolation: isolate;
}
.iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: var(--bg-darkest);
}
/* Loading shimmer behind iframe until it paints */
.iframe-wrap::before {
  content: "Loading the interactive map…";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  color: var(--text-on-dark-subtle);
  font-size: 14px;
  letter-spacing: 0.06em;
  background:
    radial-gradient(ellipse at top, rgba(76, 42, 133, 0.22), transparent 60%),
    linear-gradient(135deg, #0E0E14 0%, #1A1030 100%);
}
.iframe-wrap iframe {
  position: relative;
  z-index: 1;
}
/* Corner "LIVE MAP" badge */
.iframe-wrap .iframe-badge {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  padding: 6px 12px 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(15, 15, 22, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.iframe-wrap .iframe-badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #33D17A;
  box-shadow: 0 0 0 4px rgba(51, 209, 122, 0.2);
  animation: pulseLive 1.8s var(--ease) infinite;
}
@keyframes pulseLive {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}
/* Fullscreen link on corner */
.iframe-wrap .iframe-open {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 2;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(15, 15, 22, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.iframe-wrap .iframe-open:hover {
  background: rgba(255, 215, 0, 0.14);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* Nav-specific purple button sizing to fit alongside gold button */
.nav-cta .btn-purple.btn-sm {
  gap: 8px;
}

/* Responsive: shrink purple button text at medium widths so both CTAs fit */
@media (max-width: 1200px) {
  .nav-cta .btn-purple .full { display: none; }
  .nav-cta .btn-purple .short { display: inline; }
}
@media (min-width: 1201px) {
  .nav-cta .btn-purple .short { display: none; }
}
/* (removed — Contact is no longer in top nav after consolidation) */

/* =========================================================
   MOBILE RESPONSIVE HARDENING
   Goal: Nothing ever overflows the viewport.
   Everything scales gracefully from 320px → 4K.
   ========================================================= */

/* Global overflow guards */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Any media never wider than its container */
img, svg, video, iframe, picture, canvas {
  max-width: 100%;
  height: auto;
}
iframe { display: block; }

/* Long, unbroken strings (URLs, emails, hashes) wrap instead of pushing layout */
p, h1, h2, h3, h4, h5, h6, a, span, li, td, div {
  overflow-wrap: anywhere;
  word-wrap: break-word;
}
/* But keep short tags / inline chips unbroken */
.chip, .btn, .nav-link, .search-bar-field label,
.section-eyebrow, .stat-label, .card-meta > *,
.card-foot .tag, .card-foot .view,
.pagination a, .pagination span,
.footer-bottom, .iframe-badge, .iframe-open,
.ui-select-item, .nav-logo {
  overflow-wrap: normal;
  word-wrap: normal;
}

/* Container padding gets tighter on smaller screens */
@media (max-width: 560px) {
  .container,
  .container-wide,
  .container-narrow { padding: 0 18px; }
}
@media (max-width: 400px) {
  .container,
  .container-wide,
  .container-narrow { padding: 0 14px; }
}

/* Hero: rein in at tiny sizes so nothing blows out */
@media (max-width: 560px) {
  .hero { padding: calc(var(--nav-h) + 40px) 0 56px; min-height: auto; }
  .hero-title { font-size: clamp(32px, 10vw, 44px); }
  .hero-sub { font-size: 15px; }
  .hero-eyebrow { font-size: 12px; padding: 6px 12px; }
  .hero-categories { gap: 6px; }
  .hero-categories .cat { font-size: 12px; padding: 6px 12px; }
  .hero-stats { margin-top: 48px; gap: 20px; padding-top: 28px; }
  .hero-stats .stat-num { font-size: 26px; }
  .hero-stats .stat-label { font-size: 11.5px; }
}
@media (max-width: 400px) {
  .hero-title { font-size: 30px; }
  .hero-sub { font-size: 14.5px; }
}

/* Page hero for inner pages */
@media (max-width: 560px) {
  .page-hero { padding: calc(var(--nav-h) + 44px) 0 48px; }
  .page-hero h1 { font-size: clamp(26px, 8vw, 38px); }
  .page-hero p { font-size: 15px; }
  .breadcrumbs { font-size: 12px; flex-wrap: wrap; }
}

/* Section headings */
@media (max-width: 560px) {
  .section-title { font-size: clamp(24px, 7vw, 30px); }
  .section-sub { font-size: 15px; }
  .section-head { margin-bottom: 36px; gap: 16px; }
  .section { padding: 56px 0; }
  .section-sm { padding: 40px 0; }
}

/* Nav logo scales down on mobile so long brand name fits */
@media (max-width: 560px) {
  .nav-logo {
    font-size: 15px;
    gap: 8px;
    min-width: 0;
    flex: 1;
  }
  .nav-logo-mark { width: 34px; height: 34px; font-size: 12px; }
  .nav-logo > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(100vw - 140px);
  }
}
@media (max-width: 400px) {
  .nav-logo { font-size: 14px; }
  .nav-logo-mark { width: 30px; height: 30px; font-size: 11px; border-radius: 8px; }
  .nav-wrap { padding: 6px 0; }
}

/* Mobile menu CTA stack should be full width and not overflow */
@media (max-width: 880px) {
  .mobile-menu .mobile-cta .btn {
    width: 100%;
    padding: 16px 18px;
    font-size: 15px;
    white-space: normal;
  }
}

/* Cards: tighter padding and no hover-lift overflow on mobile */
@media (max-width: 560px) {
  .card-body, .deal-card .deal-body { padding: 18px; }
  .card-title { font-size: 17px; }
  .card-desc { font-size: 14px; }
  .card-meta { font-size: 12.5px; gap: 10px; flex-wrap: wrap; }
  .card-foot { font-size: 12.5px; padding-top: 12px; flex-wrap: wrap; gap: 8px; }
  .card:hover { transform: none; }  /* prevent horizontal shift */
}

/* Event cards: tighter grid and date tile */
@media (max-width: 560px) {
  .event-card { grid-template-columns: 72px 1fr; gap: 12px; padding: 12px; }
  .event-card .date-tile { padding: 12px 6px; }
  .event-card .date-day { font-size: 22px; }
  .event-card .date-month { font-size: 10.5px; }
  .event-card .date-year { font-size: 10px; }
  .event-card .event-body h3 { font-size: 15.5px; }
  .event-card .event-meta { font-size: 12px; gap: 8px 10px; }
}

/* Benefit / cat cards */
@media (max-width: 560px) {
  .benefit-card { padding: 22px 20px; }
  .benefit-card h3 { font-size: 17px; }
  .cat-card { padding: 22px 18px; min-height: 150px; }
  .cat-card-title { font-size: 16px; }
  .cat-card-icon { width: 44px; height: 44px; }
  .cat-card-icon svg { width: 22px; height: 22px; }
}

/* Pricing card compact */
@media (max-width: 560px) {
  .price-card { padding: 28px 22px; gap: 18px; }
  .price-amount { font-size: 38px; }
  .price-feats { font-size: 14px; gap: 10px; }
  .price-card.featured { transform: none; }
}

/* CTA blocks */
@media (max-width: 560px) {
  .cta-block { padding: 48px 22px; }
  .cta-block h2 { font-size: 26px; }
  .cta-block p { font-size: 15px; }
  .cta-block .actions .btn { width: 100%; }
  .cta-block .actions { flex-direction: column; }
}

/* Newsletter */
@media (max-width: 560px) {
  .newsletter { padding: 40px 22px; }
  .newsletter h2 { font-size: 24px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input,
  .newsletter-form button { width: 100%; min-width: 0; }
}

/* Toolbar on directory page collapses gracefully */
@media (max-width: 720px) {
  .toolbar { padding: 16px; gap: 10px; }
  .toolbar > * { width: 100%; }
  .toolbar .view-toggle { width: auto; }
  .toolbar .search-field { min-width: 0; }
  .toolbar .ui-select { width: 100%; }
}

/* Filter panel on directory — no sticky on mobile, no hover */
@media (max-width: 1080px) {
  .filter-panel { position: static; margin-bottom: 20px; padding: 20px; }
  .filter-panel .filter-group { margin-bottom: 22px; }
}

/* Pagination wraps */
@media (max-width: 480px) {
  .pagination { flex-wrap: wrap; gap: 4px; }
  .pagination a, .pagination span { min-width: 38px; height: 38px; font-size: 13px; }
}

/* Profile page layout on mobile */
@media (max-width: 880px) {
  .profile-cover { height: 240px; }
  .profile-head { margin-top: -60px; padding: 0 0 28px; }
  .profile-logo { width: 100px; height: 100px; border-radius: var(--radius-lg); border-width: 3px; }
  .profile-heading h1 { font-size: 26px; }
  .profile-heading .meta { font-size: 13px; gap: 12px; }
  .profile-actions { width: 100%; }
  .profile-actions .btn { flex: 1; min-width: 0; }
  .profile-body { padding: 32px 0 72px; }
  .profile-section { padding: 24px; }
  .profile-section h2 { font-size: 19px; }
}
@media (max-width: 560px) {
  .profile-cover { height: 180px; }
  .profile-logo { width: 84px; height: 84px; }
  .profile-heading h1 { font-size: 22px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
}

/* Pricing comparison table scrolls horizontally on small screens */
@media (max-width: 880px) {
  .price-card .price-feats li { font-size: 14px; }
}

/* Steps (how it works) */
@media (max-width: 560px) {
  .step { padding: 28px 20px; }
  .step h3 { font-size: 18px; }
  .step .step-num { width: 48px; height: 48px; font-size: 18px; }
}

/* Search bar on hero: full stack */
@media (max-width: 720px) {
  .search-bar {
    flex-direction: column;
    padding: 10px;
    border-radius: var(--radius-lg);
  }
  .search-bar-field { width: 100%; padding: 12px 14px; }
  .search-bar-field + .search-bar-field::before { display: none; }
  .search-bar-field + .search-bar-field { border-top: 1px solid var(--border-light); }
  .search-bar .search-btn { width: 100%; padding: 14px; }
  .search-bar-field .fields { min-width: 0; width: 100%; }
}

/* Iframe map — scale height down on mobile */
@media (max-width: 880px) {
  .iframe-wrap { height: 70vh; min-height: 460px; border-radius: var(--radius-lg); }
  .iframe-wrap .iframe-badge,
  .iframe-wrap .iframe-open { top: 12px; font-size: 11px; padding: 5px 10px; }
  .iframe-wrap .iframe-badge { left: 12px; }
  .iframe-wrap .iframe-open { right: 12px; }
}
@media (max-width: 560px) {
  .iframe-wrap { height: 65vh; min-height: 400px; }
}

/* Custom select dropdown — keep menu within viewport */
@media (max-width: 560px) {
  .ui-select-menu {
    max-width: calc(100vw - 20px);
    font-size: 14px;
  }
  .ui-select-item { padding: 12px 14px; font-size: 14px; }
}

/* Forms: stack grid on mobile */
@media (max-width: 720px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-group input,
  .form-group textarea,
  .form-group select,
  .form-group .ui-select-trigger { font-size: 15px; }
}

/* Contact page grid: stack */
@media (max-width: 980px) {
  section.section > .container > div[style*="grid-template-columns: 1fr 1.3fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

/* Featured event hero (events.html) stack */
@media (max-width: 880px) {
  section.section > .container > .reveal[style*="grid-template-columns: 1.1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  section.section > .container > .reveal[style*="grid-template-columns: 1.1fr 1fr"] > div[style*="min-height: 380px"] {
    min-height: 240px !important;
  }
  section.section > .container > .reveal[style*="grid-template-columns: 1.1fr 1fr"] > div[style*="padding: 40px"] {
    padding: 28px !important;
  }
}

/* For-businesses: listing example grid stack */
@media (max-width: 880px) {
  .grid.grid-2.reveal[style*="align-items:center"] { grid-template-columns: 1fr !important; }
}

/* Stat counters on For Businesses */
@media (max-width: 560px) {
  .grid.grid-4[style*="text-align:center"] > div > div:first-child { font-size: 30px !important; }
}

/* Section-head justify-content center override still works on mobile */
@media (max-width: 560px) {
  .section-head { flex-direction: column; align-items: flex-start !important; text-align: left; }
  .section-head[style*="text-align:center"] { align-items: center !important; text-align: center !important; }
}

/* Tables (pricing comparison) */
@media (max-width: 720px) {
  .section-muted table { font-size: 13px; }
  .section-muted table th,
  .section-muted table td { padding: 12px 14px !important; }
}

/* Filter tabs row (events/deals filter bars) */
@media (max-width: 560px) {
  .section-sm > .container > div[style*="justify-content:center"] { justify-content: flex-start !important; overflow-x: auto; flex-wrap: nowrap !important; padding-bottom: 4px; }
  .section-sm > .container > div[style*="justify-content:center"] .btn { flex-shrink: 0; }
}

/* Body scroll lock class still works — already defined */

/* Very small screens (< 360px) — final safety scaling */
@media (max-width: 360px) {
  html { font-size: 15px; }
  .btn { padding: 12px 18px; font-size: 14px; }
  .btn-lg { padding: 14px 20px; font-size: 15px; }
  .nav-logo { font-size: 13px; }
  .nav-logo-mark { width: 28px; height: 28px; font-size: 10px; }
  .hero-title { font-size: 28px; line-height: 1.1; }
}

/* Prevent scrollbars from altering layout width */
html { scrollbar-gutter: stable; }

/* Anchor offset for fixed nav */
[id] { scroll-margin-top: 90px; }

/* =========================================================
   MAP PREVIEW — fallback when the iframe can't be embedded
   (Vercel app serves X-Frame-Options: DENY)
   Pure-CSS map illustration with pulsing pins and a
   frosted-glass CTA card opening the full map in a new tab.
   ========================================================= */
.map-preview {
  position: relative;
  width: 100%;
  height: min(85vh, 880px);
  min-height: 560px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 25% 30%, rgba(76, 42, 133, 0.45), transparent 45%),
    radial-gradient(ellipse at 75% 70%, rgba(255, 215, 0, 0.10), transparent 45%),
    linear-gradient(135deg, #0B0B14 0%, #1A0F2E 55%, #0B0B14 100%);
  border: 1px solid var(--border-dark-2);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.55),
    0 12px 32px -12px rgba(58, 30, 109, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Street grid */
.map-preview .grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 59px, rgba(255, 255, 255, 0.035) 59px 60px),
    repeating-linear-gradient(90deg, transparent 0 59px, rgba(255, 255, 255, 0.035) 59px 60px);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
  pointer-events: none;
}

/* Simulated freeways (Burbank is crossed by the 5 and 134) */
.map-preview .roads {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
}
.map-preview .road {
  position: absolute;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 215, 0, 0.35) 20%, rgba(255, 215, 0, 0.35) 80%, transparent 100%);
  height: 2px;
  filter: blur(0.4px);
}
.map-preview .road.r1 { top: 38%; left: -5%; right: -5%; transform: rotate(-6deg); }
.map-preview .road.r2 { top: 62%; left: -5%; right: -5%; transform: rotate(4deg); background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.18) 20%, rgba(255,255,255,0.18) 80%, transparent 100%); }
.map-preview .road.r3 { top: -10%; bottom: -10%; left: 28%; width: 2px; height: auto; transform: rotate(12deg); background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.14) 30%, rgba(255,255,255,0.14) 70%, transparent 100%); }
.map-preview .road.r4 { top: -10%; bottom: -10%; left: 68%; width: 2px; height: auto; transform: rotate(-8deg); background: linear-gradient(180deg, transparent 0%, rgba(255,215,0,0.22) 30%, rgba(255,215,0,0.22) 70%, transparent 100%); }

/* Pins */
.map-preview .pins { position: absolute; inset: 0; pointer-events: none; }
.map-preview .pin {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 0 4px rgba(255, 215, 0, 0.22),
    0 6px 14px rgba(0, 0, 0, 0.4);
  animation: pinPulse 3s ease-in-out infinite;
}
.map-preview .pin::after {
  content: attr(data-label);
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(12, 12, 20, 0.78);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.map-preview .pin.purple {
  background: #4C2A85;
  box-shadow: 0 0 0 4px rgba(76, 42, 133, 0.28), 0 6px 14px rgba(0, 0, 0, 0.4);
}
.map-preview .pin:nth-child(odd) { animation-delay: 0s; }
.map-preview .pin:nth-child(2)   { animation-delay: 0.4s; }
.map-preview .pin:nth-child(3)   { animation-delay: 0.8s; }
.map-preview .pin:nth-child(4)   { animation-delay: 1.2s; }
.map-preview .pin:nth-child(5)   { animation-delay: 1.6s; }
.map-preview .pin:nth-child(6)   { animation-delay: 2.0s; }
.map-preview .pin:nth-child(7)   { animation-delay: 2.4s; }
@keyframes pinPulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.35); opacity: 0.7; }
}

/* Scan line sweep (subtle) */
.map-preview .scan {
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: 200px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 215, 0, 0.05) 50%, transparent 100%);
  animation: mapScan 8s linear infinite;
  pointer-events: none;
}
@keyframes mapScan {
  0%   { transform: translateX(-200px); }
  100% { transform: translateX(calc(100vw + 200px)); }
}

/* Center frosted-glass CTA card */
.map-preview .launch-card {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(92%, 520px);
  padding: 40px 36px 36px;
  background: rgba(12, 12, 20, 0.78);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  text-align: center;
  color: #fff;
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 215, 0, 0.05) inset;
}
.map-preview .launch-card .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.2);
}
.map-preview .launch-card .eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #33D17A;
  box-shadow: 0 0 0 4px rgba(51, 209, 122, 0.2);
  animation: pulseLive 1.8s var(--ease) infinite;
}
.map-preview .launch-card h2 {
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.map-preview .launch-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 26px;
}
.map-preview .launch-card .btn { min-width: 240px; }
.map-preview .launch-card .hint {
  margin-top: 18px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
}

/* Mobile scaling */
@media (max-width: 880px) {
  .map-preview { height: 70vh; min-height: 520px; border-radius: var(--radius-lg); }
  .map-preview .launch-card { padding: 32px 24px 28px; }
  .map-preview .launch-card h2 { font-size: 22px; }
  .map-preview .pin::after { font-size: 10.5px; padding: 3px 8px; }
}
@media (max-width: 560px) {
  .map-preview { height: 75vh; min-height: 480px; }
  .map-preview .launch-card { width: calc(100% - 24px); padding: 28px 20px 24px; }
  /* Hide most pin labels on tiny screens so they don't clutter */
  .map-preview .pin:nth-child(n+4)::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .map-preview .pin,
  .map-preview .scan { animation: none; }
}

/* =========================================================
   BRAND LOGO IMAGE
   Replaces the text+mark placeholder with an actual image.
   Drop your file at assets/logo.png (transparent PNG
   recommended). Height-driven so proportions stay correct.
   ========================================================= */
.nav-logo {
  padding: 4px 0;
  min-width: 0;
  flex-shrink: 0;
}
.nav-logo .logo-img {
  height: 160px;
  margin-block: -15px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  /* Subtle drop shadow so the logo reads well on every bg */
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
  transition: transform var(--t-fast) var(--ease);
}
.nav-logo:hover .logo-img {
  transform: scale(1.02);
}
/* When sitting in the dark footer, keep the same treatment */
.footer .nav-logo .logo-img {
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.4));
}

/* Responsive scale-down so the detailed logo never overflows the nav */
@media (max-width: 880px) {
  .nav-logo .logo-img { height: 150px; margin-block: -15px; }
}
@media (max-width: 560px) {
  .nav-logo .logo-img { height: 120px; margin-block: -15px; }
}
@media (max-width: 400px) {
  .nav-logo .logo-img { height: 100px; margin-block: -15px; }
}

/* If the image fails to load, the alt text is styled to look brand-y */
.nav-logo .logo-img[alt]:after {
  /* Hide broken-image icon in modern browsers while alt text shows */
  content: attr(alt);
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: inherit;
}

/* =========================================================
   NAV LAYOUT — larger logo + tighter, centered items
   ========================================================= */

/* Responsive --nav-h so hero padding stays synced to the nav height */
@media (max-width: 880px) { :root { --nav-h: 132px; } }
@media (max-width: 560px) { :root { --nav-h: 102px; } }
@media (max-width: 400px) { :root { --nav-h: 82px; } }

/* Narrow the effective nav width and pull everything toward center */
.nav-wrap > .container-wide {
  max-width: 1240px;
}
.nav {
  gap: 20px;              /* was 32px */
}

/* Tighter spacing inside nav-links */
.nav-links {
  gap: 2px;               /* was 4 */
}
.nav-link {
  padding: 10px 14px;
  font-size: 16px;
}

/* Tighter spacing on the CTA cluster */
.nav-cta {
  gap: 8px;               /* was 10 */
}

/* Logo sits centered on the nav baseline, respects cap height */
.nav-logo {
  padding: 0;
  align-self: center;
  line-height: 0;
}

/* At medium/desktop widths, ensure buttons don't push too far out */
@media (min-width: 881px) {
  .nav {
    /* Keep logo at left, nav-links pulled closer to center,
       CTA cluster tighter against the right edge of inner container */
    justify-content: space-between;
  }
  .nav-links {
    margin: 0 auto;       /* auto-center between logo and CTAs */
    padding: 0 12px;
  }
}

/* Hamburger slightly larger to match bigger logo on mobile */
@media (max-width: 880px) {
  .nav-toggle { width: 46px; height: 46px; }
}

/* =========================================================
   LOGO OVERFLOW
   Nav bar is now tight (25px padding around items). The big
   logo uses negative block margins so its visual height is
   180px but it only occupies ~48px of flex height — the rest
   overflows above and below the compact nav.
   ========================================================= */
.nav-wrap { overflow: visible; }
.nav { overflow: visible; }

.nav-logo {
  align-self: center;
  line-height: 0;
}


/* Mobile scaling: smaller logos, lighter overflow */



