/* ==========================================================================
   ENSENADA'S SURF N TURF GRILL — Main Stylesheet
   --------------------------------------------------------------------------
   Table of contents
   1. Design tokens (colors, fonts, spacing)
   2. Base / reset
   3. Utilities (container, buttons, badges, section titles, animations)
   4. Header & navigation
   5. Hero slider
   6. Featured card slider (Baja Style / Fan Favorites)
   7. What We Serve (mini interactive menu)
   8. Our Story
   9. Parallax CTA
   10. Footer
   11. Modal
   12. Menu page (hero, search, sticky nav, menu cards)
   13. Contact page (map, location cards, form)
   14. Responsive breakpoints
   ========================================================================== */


/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  /* Brand palette (taken from the printed menu) */
  --aqua: #1fd0e3;           /* turquoise / aqua */
  --aqua-light: #8fe6ee;
  --ocean: #0a86ea;          /* bright ocean blue */
  --ocean-dark: #0a4fa3;
  --navy: #0b2a5c;           /* deep navy */
  --navy-deep: #061a3b;
  --lime: #c6f21a;           /* Baja lime / chartreuse accent */
  --lime-dark: #a7c61c;
  --white: #ffffff;
  --sand: #f3f7fa;           /* very light cool background */
  --charcoal: #1a1f2b;
  --text: #1c2740;
  --text-muted: #5a6784;

  /* Typography */
  --font-brush: 'Permanent Marker', 'Brush Script MT', cursive;
  --font-sans: 'Barlow Condensed', 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --header-h: 84px;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 12px 30px rgba(6, 26, 59, 0.14);
  --shadow-lg: 0 24px 60px rgba(6, 26, 59, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}


/* ==========================================================================
   2. BASE / RESET
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; }

h1, h2, h3, h4 { font-family: var(--font-sans); line-height: 1.1; font-weight: 800; text-transform: uppercase; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

.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;
}


/* ==========================================================================
   3. UTILITIES
   ========================================================================== */
.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }

.section { position: relative; padding: clamp(4rem, 8vw, 7rem) 0; }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: var(--white); }

/* Section heading group: brush "kicker" + big sans title + copy */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head--left { text-align: left; margin-left: 0; }

.kicker {
  font-family: var(--font-brush);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--aqua);
  text-transform: none;
  letter-spacing: 0.02em;
  transform: rotate(-2deg);
  display: inline-block;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.kicker--lime { color: var(--lime); }
.kicker--ocean { color: var(--ocean); }

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--navy);
  letter-spacing: 0.01em;
}
.section--navy .section-title { color: var(--white); }

.section-copy { margin-top: 1rem; color: var(--text-muted); font-size: 1.1rem; }
.section--navy .section-copy { color: rgba(255,255,255,0.78); }

/* Small label above headings (e.g. FAMILY OWNED) */
.label {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--ocean);
  margin-bottom: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  padding: 0.95rem 2rem;
  min-height: 48px;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--lime { background: var(--lime); color: var(--navy); box-shadow: 0 8px 20px rgba(201, 232, 58, 0.35); }
.btn--lime:hover { background: #d9f25a; box-shadow: 0 12px 26px rgba(201, 232, 58, 0.45); }

.btn--ocean { background: var(--ocean); color: var(--white); box-shadow: 0 8px 20px rgba(14, 123, 209, 0.3); }
.btn--ocean:hover { background: var(--ocean-dark); }

.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-deep); }

.btn--outline { border: 2px solid var(--white); color: var(--white); background: transparent; }
.btn--outline:hover { background: var(--white); color: var(--navy); }

.btn--outline-navy { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.btn--outline-navy:hover { background: var(--navy); color: var(--white); }

.btn--sm { padding: 0.6rem 1.25rem; font-size: 0.9rem; min-height: 44px; }
.btn--block { width: 100%; }

/* Badges */
.badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--navy);
}
.badge--aqua { background: var(--aqua); color: var(--navy-deep); }
.badge--ocean { background: var(--ocean); color: var(--white); }
.badge--white { background: var(--white); color: var(--navy); }

/* Image placeholder frames.
   Every <img> lives inside a ".img-frame" that shows a branded gradient
   until the real photo is provided. If the image fails to load, JS adds
   ".is-missing" and the frame shows the file path as a hint. */
.img-frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ocean) 0%, var(--aqua) 60%, var(--aqua-light) 100%);
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.img-frame.is-missing img { opacity: 0; }
.img-frame.is-missing::after {
  content: attr(data-placeholder);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 1rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,0.08) 14px 28px);
}

/* Decorative palm-leaf accents (pure CSS, no images) */
.palm {
  position: absolute;
  width: 220px; height: 220px;
  pointer-events: none;
  opacity: 0.14;
  z-index: 0;
}
.palm--tl { top: -60px; left: -60px; transform: rotate(-30deg); }
.palm--br { bottom: -60px; right: -60px; transform: rotate(150deg); }
.palm span {
  position: absolute; left: 50%; top: 50%;
  width: 110%; height: 16%;
  background: linear-gradient(90deg, var(--aqua), var(--lime));
  border-radius: 100% 0 100% 0;
  transform-origin: 0 50%;
}
.palm span:nth-child(1) { transform: rotate(-60deg); }
.palm span:nth-child(2) { transform: rotate(-30deg); }
.palm span:nth-child(3) { transform: rotate(0deg); }
.palm span:nth-child(4) { transform: rotate(30deg); }
.palm span:nth-child(5) { transform: rotate(60deg); }

/* Wave divider between sections */
.wave { display: block; width: 100%; height: 60px; line-height: 0; }
.wave svg { display: block; width: 100%; height: 100%; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ==========================================================================
   4. HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.35s, box-shadow 0.35s, height 0.35s;
  background: transparent;
}
.header.is-solid,
.header.is-solid-always {
  background: rgba(6, 26, 59, 0.96);
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  height: 72px;
}
.header::before {
  /* subtle gradient so white nav text stays readable on bright hero photos */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(6,26,59,0.55), transparent);
  opacity: 1; transition: opacity 0.35s; pointer-events: none;
}
.header.is-solid::before, .header.is-solid-always::before { opacity: 0; }

.header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.logo { display: flex; align-items: center; gap: 0.6rem; color: var(--white); }
.logo img { height: 56px; width: auto; max-width: 220px; object-fit: contain; transition: height 0.35s; }
.header.is-solid .logo img, .header.is-solid-always .logo img { height: 46px; }
/* Text fallback shown if logo image is missing */
.logo__text { display: none; font-family: var(--font-sans); font-weight: 800; text-transform: uppercase; line-height: 1; }
.logo__text small { display: block; font-size: 0.65rem; letter-spacing: 0.25em; color: var(--lime); }
.logo.is-missing img { display: none; }
.logo.is-missing .logo__text { display: block; }

.nav { display: flex; gap: 2.25rem; }
.nav a {
  position: relative;
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 1rem;
  color: var(--white);
  padding: 0.5rem 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0;
  background: var(--lime); border-radius: 2px; transition: width 0.3s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { width: 100%; }

.socials { display: flex; gap: 0.6rem; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  transition: background 0.25s, transform 0.25s, color 0.25s;
}
.socials a:hover { background: var(--lime); color: var(--navy); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.socials .ico-ig { fill: none; stroke: currentColor; stroke-width: 2; }
.socials .ico-ig .ico-ig__dot { fill: currentColor; stroke: none; }

.hamburger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.hamburger span { display: block; width: 26px; height: 3px; background: var(--white); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 90;
  background: linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, var(--ocean-dark));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
}
.mobile-nav.is-open { transform: none; }
.mobile-nav a.mobile-nav__link {
  font-family: var(--font-sans); font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 2rem; color: var(--white);
}
.mobile-nav a.mobile-nav__link:hover { color: var(--lime); }
.mobile-nav .socials a { width: 52px; height: 52px; }


/* ==========================================================================
   5. HERO SLIDER
   ========================================================================== */
.hero {
  position: relative;
  height: min(100vh, 900px);
  min-height: 560px;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide .img-frame { position: absolute; inset: 0; }
.hero__slide .img-frame img { transform: scale(1.08); transition: transform 7s linear; }
.hero__slide.is-active .img-frame img { transform: scale(1); }
.hero__slide::after {
  /* light gradient — keeps text readable without darkening the photo too much */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,26,59,0.7) 0%, rgba(6,26,59,0.15) 45%, rgba(6,26,59,0.15) 100%);
}

.hero__content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(5rem, 12vh, 9rem);
}
.hero__kicker { font-family: var(--font-brush); font-size: clamp(1.6rem, 3.5vw, 2.6rem); color: var(--lime); transform: rotate(-2deg); display: inline-block; }
.hero__title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 0.95;
  max-width: 14ch;
  text-shadow: 0 6px 30px rgba(0,0,0,0.35);
  margin: 0.4rem 0 1rem;
}
.hero__title em { font-style: normal; color: var(--aqua); }
.hero__sub { font-size: clamp(1rem, 1.6vw, 1.3rem); max-width: 48ch; color: rgba(255,255,255,0.9); margin-bottom: 1.75rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__text { opacity: 0; transform: translateY(20px); transition: opacity 0.9s var(--ease) 0.4s, transform 0.9s var(--ease) 0.4s; }
.hero__slide.is-active ~ .hero__content .hero__text,
.hero.is-ready .hero__text { opacity: 1; transform: none; }

/* Arrows (shared with featured slider) */
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  color: var(--white);
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.slider-arrow:hover { background: var(--lime); color: var(--navy); }
.slider-arrow svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.5; }
.slider-arrow--prev { left: 1.5rem; }
.slider-arrow--next { right: 1.5rem; }

/* Pagination dots */
.slider-dots { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 0.6rem; }
.slider-dots button {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transition: background 0.3s, width 0.3s;
}
.slider-dots button.is-active { background: var(--lime); width: 34px; border-radius: 6px; }

/* Bottom wave on hero */
.hero__wave { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 2; height: 70px; color: var(--white); }
.hero__wave svg { width: 100%; height: 100%; display: block; }


/* ==========================================================================
   6. FEATURED CARD SLIDER
   ========================================================================== */
.featured { overflow: hidden; }
.featured .container { position: relative; }
.featured__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.featured__controls { display: flex; gap: 0.75rem; }
.featured__controls .slider-arrow { position: static; transform: none; background: var(--navy); }
.featured__controls .slider-arrow:hover { background: var(--lime); }

.card-slider { position: relative; overflow: hidden; cursor: grab; user-select: none; padding: 0.5rem 0 2.5rem; margin-bottom: -2.5rem; }
.card-slider.is-dragging { cursor: grabbing; }
.card-slider__track {
  display: flex;
  gap: var(--card-gap, 1.5rem);
  will-change: transform;
  transition: transform 0.6s var(--ease);
}
.card-slider__track.no-transition { transition: none; }

.card {
  flex: 0 0 var(--card-w, calc((100% - 3 * var(--card-gap, 1.5rem)) / 4));
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: left;
  display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover { transform: translateY(-6px) scale(1.01); box-shadow: var(--shadow-lg); }
.card:hover .img-frame img { transform: scale(1.06); }
.card .img-frame { aspect-ratio: 4 / 3; }
.card__badge { position: absolute; top: 0.9rem; left: 0.9rem; z-index: 2; }
.card__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.card__title { font-size: 1.45rem; color: var(--navy); }
.card__desc { color: var(--text-muted); font-size: 0.95rem; }
.card__more { margin-top: auto; padding-top: 0.6rem; font-family: var(--font-sans); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.8rem; color: var(--ocean); }


/* ==========================================================================
   7. WHAT WE SERVE — mini interactive menu
   ========================================================================== */
.serve { position: relative; overflow: hidden; }
.serve::before {
  /* soft aqua glow accent */
  content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(53,201,216,0.25), transparent 70%);
  top: -200px; right: -200px; pointer-events: none;
}

.tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem;
  margin-bottom: 2.5rem;
  position: relative; z-index: 1;
}
.tab {
  font-family: var(--font-sans); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.95rem;
  padding: 0.65rem 1.25rem; min-height: 44px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.25);
  color: var(--white);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.tab:hover { border-color: var(--aqua); color: var(--aqua); }
.tab.is-active, .tab[aria-selected="true"] { background: var(--lime); border-color: var(--lime); color: var(--navy); }

.tab-panel { display: none; animation: fadeUp 0.5s var(--ease); }
.tab-panel.is-active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.serve__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  position: relative; z-index: 1;
}
.serve__item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
}
.serve__item:hover { background: rgba(255,255,255,0.12); border-color: var(--aqua); transform: translateY(-3px); }
.serve__item h4 { font-size: 1.25rem; color: var(--white); }
.serve__item p { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-top: 0.2rem; }
.serve__cta { text-align: center; margin-top: 3rem; position: relative; z-index: 1; }


/* ==========================================================================
   8. OUR STORY
   ========================================================================== */
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.story__media { position: relative; }
.story__media .img-frame { aspect-ratio: 4 / 5; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.story__media::before {
  /* offset lime frame behind the photo */
  content: ""; position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  border: 4px solid var(--lime); border-radius: var(--radius); z-index: -1;
}
.story__media:hover .img-frame img { transform: scale(1.04); }
.story__text .section-title { margin-bottom: 1.25rem; }
/* EDITABLE: the story paragraph lives in index.html inside #story-copy */
.story__copy { font-size: 1.12rem; color: var(--text-muted); }
.story__copy p + p { margin-top: 1rem; }
.story__actions { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }


/* ==========================================================================
   9. PARALLAX CTA
   ========================================================================== */
.parallax {
  position: relative;
  min-height: 560px;
  display: grid; place-items: center;
  text-align: center;
  color: var(--white);
  background-image: url("../assets/backgrounds/baja-fish-tacos.jpg"); /* REPLACE: parallax photo */
  background-color: var(--ocean-dark);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}
.parallax::before {
  /* subtle overlay — keep the photo bright */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(6,26,59,0.35), rgba(6,26,59,0.55));
}
.parallax__content { position: relative; z-index: 1; padding: 5rem 1rem; }
.parallax__title { font-size: clamp(2.6rem, 6.5vw, 5rem); line-height: 0.95; text-shadow: 0 6px 30px rgba(0,0,0,0.35); }
.parallax__open { font-family: var(--font-brush); font-size: clamp(2rem, 4.5vw, 3.4rem); color: var(--lime); transform: rotate(-2deg); display: inline-block; margin: 0.5rem 0 1rem; }
.parallax__sub { font-size: 1.15rem; color: rgba(255,255,255,0.9); margin-bottom: 2rem; }

/* Catering — Baja Style Ceviche Trays */
.parallax--catering {
  background-image: url("../assets/backgrounds/ceviche-trays-parallax.jpg"); /* REPLACE: catering photo */
  background-color: var(--navy);
}
.parallax--catering::before { background: linear-gradient(to right, rgba(6,26,59,0.6), rgba(6,26,59,0.3)); }
.parallax--catering .parallax__content { max-width: 760px; }
.parallax--catering .kicker { display: block; margin-bottom: 0.75rem; }
.parallax__lead { font-family: var(--font-sans); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.5rem); text-transform: uppercase; letter-spacing: 0.04em; margin: 1.25rem auto 0.75rem; max-width: 34ch; }
.parallax--catering .parallax__sub { font-size: 1rem; color: rgba(255,255,255,0.8); }


/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.footer { background: var(--navy-deep); color: var(--white); padding: 4.5rem 0 0; position: relative; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 3rem; align-items: start; }
.footer .logo img { height: 64px; }
.footer__tagline { margin-top: 1rem; color: rgba(255,255,255,0.7); max-width: 32ch; }
.footer h4 { font-size: 1rem; letter-spacing: 0.18em; color: var(--aqua); margin-bottom: 1rem; }
.footer__links li + li { margin-top: 0.6rem; }
.footer__links a { font-family: var(--font-sans); font-weight: 600; font-size: 1.1rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.85); transition: color 0.25s; }
.footer__links a:hover { color: var(--lime); }
.footer__cta p { color: rgba(255,255,255,0.8); margin-bottom: 1.25rem; }
.footer .socials { margin-top: 1rem; }
.footer__bottom {
  margin-top: 3.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: 0.9rem; color: rgba(255,255,255,0.6);
}
.footer__bottom a { color: var(--lime); font-weight: 600; }
.footer__bottom a:hover { text-decoration: underline; }


/* ==========================================================================
   11. MODAL
   ========================================================================== */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  padding: 1rem;
}
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6,26,59,0.82); backdrop-filter: blur(4px); animation: fadeIn 0.3s; }
.modal__dialog {
  position: relative;
  width: min(900px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1.1fr 1fr;
  animation: popIn 0.4s var(--ease);
}
.modal__media .img-frame { height: 100%; min-height: 320px; }
.modal__body { padding: 2.5rem 2.25rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; }
.modal__title { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--navy); }
.modal__desc { color: var(--text-muted); font-size: 1.05rem; }
.modal__actions { margin-top: auto; padding-top: 1.5rem; }
.modal__close {
  position: absolute; top: 0.8rem; right: 0.8rem; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: grid; place-items: center;
  transition: background 0.25s, transform 0.25s;
}
.modal__close:hover { background: var(--lime); color: var(--navy); transform: rotate(90deg); }
.modal__close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.5; fill: none; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(0.97); } }


/* ==========================================================================
   12. MENU PAGE
   ========================================================================== */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 5rem) 0 5rem;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 45%, var(--ocean) 100%);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.page-hero::after {
  /* soft aqua glow */
  content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(53,201,216,0.35), transparent 70%);
  bottom: -400px; left: 50%; transform: translateX(-50%); pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }

/* Menu hero — photo + parallax. REPLACE: assets/backgrounds/menu-hero.jpg */
.page-hero--menu {
  background-image: url("../assets/backgrounds/menu-hero.jpg");
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.page-hero--menu::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(6,26,59,0.55), rgba(6,26,59,0.4));
}
.page-hero--menu::after { display: none; }
.page-hero__title { font-size: clamp(3rem, 7vw, 5.5rem); line-height: 0.95; }
.page-hero__sub { font-family: var(--font-brush); font-size: clamp(1.5rem, 3vw, 2.4rem); color: var(--lime); transform: rotate(-1.5deg); display: inline-block; margin-top: 0.75rem; }
.page-hero__desc { margin-top: 1rem; color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 55ch; margin-inline: auto; }

/* Search */
.menu-search { position: relative; max-width: 620px; margin: 2.5rem auto 0; }
.menu-search input {
  width: 100%;
  padding: 1rem 3.25rem 1rem 3.25rem;
  min-height: 56px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--white);
  color: var(--text);
  font-size: 1.05rem;
  box-shadow: var(--shadow-lg);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.menu-search input:focus { outline: none; border-color: var(--lime); }
.menu-search__icon { position: absolute; left: 1.2rem; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; stroke: var(--ocean); fill: none; stroke-width: 2.5; }
.menu-search__clear {
  position: absolute; right: 0.6rem; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  display: none; place-items: center;
  color: var(--navy); background: var(--sand);
}
.menu-search__clear.is-visible { display: grid; }
.menu-search__clear svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.5; fill: none; }

/* Sticky category nav */
.menu-nav {
  position: sticky; top: 72px; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11,42,92,0.08);
  box-shadow: 0 6px 20px rgba(6,26,59,0.06);
}
.menu-nav__list {
  display: flex; gap: 0.5rem;
  overflow-x: auto;
  padding: 0.85rem 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.menu-nav__list::-webkit-scrollbar { display: none; }
.menu-nav__link {
  flex: 0 0 auto;
  font-family: var(--font-sans); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.95rem;
  padding: 0.6rem 1.15rem; min-height: 44px;
  display: inline-flex; align-items: center;
  border-radius: 999px;
  color: var(--navy);
  border: 2px solid transparent;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.menu-nav__link:hover { border-color: var(--aqua); }
.menu-nav__link.is-active { background: var(--navy); color: var(--white); }
.menu-nav__order { margin-right: 0.5rem; background: var(--lime); border-color: var(--lime); color: var(--navy); }
.menu-nav__order:hover { background: var(--aqua); border-color: var(--aqua); }

/* Menu sections */
/* Each category gets its own treatment via CSS variables:
   --sec-bg (section background) --sec-title --sec-tag --sec-accent (card bar / chips) --sec-note */
.menu-section {
  --sec-bg: var(--white); --sec-title: var(--navy); --sec-tag: var(--aqua);
  --sec-accent: var(--aqua); --sec-accent-2: var(--lime); --sec-note: var(--text-muted);
  position: relative;
  padding: 4rem 0 1rem; scroll-margin-top: 150px;
  background: var(--sec-bg);
  color: var(--sec-note);
  border-top: 4px solid var(--sec-accent);
}
.menu-section__head { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.menu-section__title { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--sec-title); padding-left: 1rem; border-left: 6px solid var(--sec-accent); line-height: 1; }
.menu-section__tag { text-shadow: 0 2px 10px rgba(6,26,59,0.25); }
.menu-section__tag { font-family: var(--font-brush); font-size: 1.5rem; color: var(--sec-tag); transform: rotate(-2deg); display: inline-block; }
.menu-section__note { color: var(--sec-note); margin-bottom: 2rem; font-size: 1rem; max-width: 60ch; }

.menu-section--aqua      { --sec-bg: linear-gradient(160deg, #24c4d6, #5fe0ec); --sec-title: var(--navy); --sec-tag: var(--white); --sec-note: var(--navy); --sec-accent: var(--lime); --sec-accent-2: var(--ocean); }
.menu-section--light     { --sec-bg: linear-gradient(160deg, #2a9df4, #6cc6ff); --sec-title: var(--white); --sec-tag: var(--lime); --sec-note: rgba(255,255,255,0.92); --sec-accent: var(--lime); --sec-accent-2: var(--aqua); }
.menu-section--deep      { --sec-bg: linear-gradient(160deg, var(--ocean-dark), var(--ocean)); --sec-title: var(--white); --sec-tag: var(--lime); --sec-note: rgba(255,255,255,0.88); --sec-accent: var(--aqua); --sec-accent-2: var(--lime); }
.menu-section--blue-lime { --sec-bg: linear-gradient(160deg, var(--ocean), #35c9d8); --sec-title: var(--white); --sec-tag: var(--lime); --sec-note: rgba(255,255,255,0.92); --sec-accent: var(--lime); --sec-accent-2: var(--white); }
.menu-section--lime      { --sec-bg: linear-gradient(160deg, #b9e22a, #d9f55a); --sec-title: var(--navy); --sec-tag: var(--ocean); --sec-note: var(--navy); --sec-accent: var(--ocean); --sec-accent-2: var(--aqua); }
.menu-section--turquoise { --sec-bg: linear-gradient(160deg, #0fb5c9, #35c9d8); --sec-title: var(--white); --sec-tag: var(--lime); --sec-note: rgba(255,255,255,0.92); --sec-accent: var(--lime); --sec-accent-2: var(--navy); }
.menu-section--ocean     { --sec-bg: linear-gradient(160deg, var(--navy), var(--ocean)); --sec-title: var(--white); --sec-tag: var(--aqua); --sec-note: rgba(255,255,255,0.88); --sec-accent: var(--aqua); --sec-accent-2: var(--lime); }
.menu-section--coastal   { --sec-bg: linear-gradient(160deg, #e3f6fb, #ffffff); --sec-title: var(--navy); --sec-tag: #7ab000; --sec-note: var(--text-muted); --sec-accent: var(--lime); --sec-accent-2: var(--ocean); }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  grid-auto-flow: dense;
  gap: 1.25rem;
  padding-bottom: 3rem;
}

/* Menu card — image is OPTIONAL. Cards without an image get a slim accent bar
   instead so the grid stays balanced. */
.menu-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(6,26,59,0.07);
  border: 1px solid rgba(11,42,92,0.06);
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.menu-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.menu-card:hover .img-frame img { transform: scale(1.05); }
.menu-card__img { aspect-ratio: 16 / 10; }
/* Cards WITH a photo: wide media card (photo left, text right) so the grid stays even */
.menu-card.has-image { grid-column: span 2; flex-direction: row; cursor: pointer; }
.menu-card.has-image .menu-card__img { aspect-ratio: auto; flex: 0 0 44%; min-height: 200px; }
.menu-card.has-image .menu-card__body { justify-content: center; }
.menu-card.has-image .menu-card__body::after { content: "View photo \2197"; margin-top: 0.6rem; font-family: var(--font-sans); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ocean); opacity: 0.8; }
.menu-card.has-image:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.menu-card:not(.has-image) { min-height: 150px; }
.menu-card:not(.has-image) .menu-card__img { display: none; }
.menu-card:not(.has-image)::before { content: ""; height: 5px; background: linear-gradient(90deg, var(--sec-accent), var(--sec-accent-2)); }
.menu-card__body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.3rem; }
.menu-card__name { font-size: 1.3rem; color: var(--navy); }
.menu-card__alt { font-family: var(--font-sans); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8rem; color: var(--ocean); }
.menu-card__desc { color: var(--text-muted); font-size: 0.95rem; }
.menu-card__opts { margin-top: 0.5rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.menu-card__opts span { font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; background: var(--sand); color: var(--navy); padding: 0.2rem 0.6rem; border-radius: 999px; border-left: 3px solid var(--sec-accent); }

.menu-card.is-hidden { display: none; }
.menu-section.is-hidden { display: none; }
.menu-empty { display: none; text-align: center; padding: 5rem 1rem; color: var(--text-muted); }
.menu-empty.is-visible { display: block; }
.menu-empty strong { display: block; font-family: var(--font-sans); font-size: 2rem; text-transform: uppercase; color: var(--navy); margin-bottom: 0.5rem; }

mark.hl { background: rgba(201,232,58,0.6); color: inherit; border-radius: 3px; padding: 0 2px; }


/* ==========================================================================
   13. CONTACT PAGE
   ========================================================================== */
.locations__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.loc-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.loc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
/* Mini map (Google Maps embed — no API key needed) */
.loc-card__map { position: relative; aspect-ratio: 16 / 8; background: var(--sand); border-bottom: 4px solid var(--aqua); }
.loc-card__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.loc-card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.loc-card__name { font-size: 1.7rem; color: var(--navy); display: flex; align-items: center; gap: 0.6rem; }
.loc-card__name::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(201,232,58,0.3); }
.loc-card address { font-style: normal; color: var(--text-muted); line-height: 1.5; }
.loc-card__phone { font-family: var(--font-sans); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.04em; color: var(--ocean); display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; }
.loc-card__phone:hover { color: var(--ocean-dark); text-decoration: underline; }
.loc-card__phone svg { width: 18px; height: 18px; fill: currentColor; }
.loc-card__actions { margin-top: auto; padding-top: 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }

/* Contact form */
.contact { overflow: hidden; }
.contact__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact__aside p { color: rgba(255,255,255,0.8); margin-top: 1rem; font-size: 1.1rem; }
.contact__aside ul { margin-top: 1.5rem; display: grid; gap: 0.6rem; }
.contact__aside li { display: flex; gap: 0.6rem; align-items: center; color: rgba(255,255,255,0.85); }
.contact__aside li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex: none; }

.form { background: var(--white); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow-lg); color: var(--text); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form__group label { font-family: var(--font-sans); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; color: var(--navy); }
.form__group input, .form__group select, .form__group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  min-height: 50px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(11,42,92,0.12);
  background: var(--sand);
  color: var(--text);
  transition: border-color 0.25s, background 0.25s;
}
.form__group textarea { min-height: 140px; resize: vertical; }
.form__group input:focus, .form__group select:focus, .form__group textarea:focus { outline: none; border-color: var(--aqua); background: var(--white); }
.form__status { margin-top: 1rem; font-weight: 600; color: var(--ocean); min-height: 1.5em; }
.form__status.is-error { color: #c0392b; }


/* ==========================================================================
   14. RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .card { --card-w: calc((100% - 2 * var(--card-gap, 1.5rem)) / 3); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav, .header .socials { display: none; }
  .hamburger { display: flex; }
  .card { --card-w: calc((100% - var(--card-gap, 1.5rem)) / 2); }
  .story__grid { grid-template-columns: 1fr; }
  .story__media { max-width: 480px; margin: 0 auto 1.5rem; }
  .modal__dialog { grid-template-columns: 1fr; }
  .modal__media .img-frame { min-height: 240px; max-height: 40vh; }
  .contact__grid { grid-template-columns: 1fr; }
  .parallax, .page-hero--menu { background-attachment: scroll; } /* fixed backgrounds are unreliable on mobile */
  .locations__grid { grid-template-columns: 1fr; }
  .menu-nav { top: 72px; }
}

@media (max-width: 600px) {
  .section { padding: 3.5rem 0; }
  .hero { min-height: 420px; height: 68vh; max-height: 640px; }
  .hero__content { padding-bottom: 4rem; }
  .hero__title { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .hero__sub { font-size: 0.95rem; margin-bottom: 1.25rem; }
  .slider-arrow--prev { left: 0.75rem; }
  .slider-arrow--next { right: 0.75rem; }
  .hero .slider-arrow { width: 44px; height: 44px; }
  .card { --card-w: 78%; } /* 1.3 cards visible → hints that you can swipe */
  .featured__head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .form__row { grid-template-columns: 1fr; }
  .loc-card__actions { grid-template-columns: 1fr; }
  .menu-section { scroll-margin-top: 140px; }
  .modal__body { padding: 1.75rem 1.5rem; }
}


/* ==========================================================================
   15. COOKIE CONSENT BANNER (shown on first visit; choice saved in localStorage)
   ========================================================================== */
.cookie { position: fixed; inset: auto 0 0 0; z-index: 300; display: none; padding: 1rem; }
.cookie.is-open { display: flex; justify-content: center; align-items: flex-end; }
.cookie__box {
  width: min(720px, 100%); background: var(--white); color: var(--text);
  border-radius: var(--radius); box-shadow: 0 20px 60px rgba(6,26,59,0.35);
  font-family: var(--font-body); overflow: hidden; animation: popIn 0.4s var(--ease);
}
.cookie__brand { display: flex; justify-content: flex-end; padding: 0.75rem 1.25rem 0.5rem; border-bottom: 1px solid rgba(11,42,92,0.1); }
.cookie__brand img { height: 30px; width: auto; object-fit: contain; }
.cookie__brand.is-missing img { display: none; }
.cookie__brand .cookie__brand-text { display: none; font-family: var(--font-sans); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); }
.cookie__brand.is-missing .cookie__brand-text { display: block; }
.cookie__tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid rgba(11,42,92,0.1); }
.cookie__tab { padding: 0.9rem; font-weight: 600; color: var(--text); border-bottom: 3px solid transparent; transition: border-color 0.25s; }
.cookie__tab[aria-selected="true"] { border-color: var(--navy); }
.cookie__panel { display: none; padding: 1.25rem; max-height: 55vh; overflow: auto; }
.cookie__panel.is-active { display: block; }
.cookie__panel h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.cookie__panel p { font-size: 0.92rem; color: var(--text-muted); }
.cookie__panel a { color: var(--ocean); text-decoration: underline; font-weight: 600; }
.cookie__cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(11,42,92,0.1); text-align: center; }
.cookie__cats label { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.95rem; }
.cookie__detail { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(11,42,92,0.1); }
.cookie__detail:last-child { border-bottom: 0; }
.cookie__detail h3 { display: flex; align-items: center; gap: 0.5rem; }
.cookie__count { font-size: 0.75rem; font-weight: 600; background: #e9edf3; border-radius: 50%; width: 22px; height: 22px; display: inline-grid; place-items: center; }
/* Toggle switch */
.switch { position: relative; width: 52px; height: 28px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; background: #d7dbe3; border-radius: 999px; transition: background 0.25s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,0.25); transition: transform 0.25s; }
.switch input:checked + span { background: var(--ocean); }
.switch input:checked + span::after { transform: translateX(24px); }
.switch input:disabled + span { background: #b8bec9; cursor: not-allowed; }
.switch input:focus-visible + span { outline: 3px solid var(--aqua); outline-offset: 2px; }
.cookie__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; padding: 1rem 1.25rem; }
.cookie__actions .btn { background: var(--charcoal); color: var(--white); border-radius: 6px; width: 100%; }
.cookie__actions .btn:hover { background: var(--navy); }
.cookie__actions .btn--lime { background: var(--lime); color: var(--navy); }
.cookie__actions .btn--lime:hover { background: var(--lime-dark); }
.cookie__foot { text-align: center; font-size: 0.75rem; color: var(--text-muted); padding: 0 1rem 0.75rem; }
@media (max-width: 620px) {
  .menu-card.has-image { grid-column: span 1; flex-direction: column; }
  .menu-card.has-image .menu-card__img { aspect-ratio: 16 / 9; flex: none; min-height: 0; }
}
@media (max-width: 600px) {
  .cookie__cats { grid-template-columns: 1fr 1fr; }
  .cookie__actions { grid-template-columns: 1fr 1fr; }
  .cookie__actions .btn--save { grid-column: 1 / -1; }
}


/* ==========================================================================
   16. LOCATION PICKER POP-UP
   ========================================================================== */
.modal__dialog.picker { display: block; grid-template-columns: none; width: min(760px, 100%); background: var(--white); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.75rem); text-align: center; }
.picker .kicker { display: block; }
.picker__title { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--navy); margin: 0.25rem 0 0.25rem; }
.picker__sub { color: var(--text-muted); margin-bottom: 1.5rem; }
.picker__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
.picker__item { display: flex; flex-direction: column; gap: 0.25rem; padding: 1rem; border-radius: var(--radius-sm); background: var(--sand); border: 2px solid transparent; text-align: left; transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s; }
.picker__item strong { font-family: var(--font-sans); font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.15rem; color: var(--navy); }
.picker__item span { font-size: 0.85rem; color: var(--text-muted); }
.picker__item:hover, .picker__item:focus-visible { transform: translateY(-3px); border-color: var(--aqua); background: #e6fbfd; }
.picker__all { display: inline-block; margin-top: 1.25rem; font-family: var(--font-sans); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ocean); text-decoration: underline; }
.loc-card.is-highlighted { outline: 4px solid var(--lime); outline-offset: 4px; animation: popIn 0.5s var(--ease); }
.loc-card { scroll-margin-top: 110px; }
@media (max-width: 700px) { .picker__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .picker__grid { grid-template-columns: 1fr; } }

/* UserWay widget: keep the button at the bottom so it doesn't cover the mobile menu */
.uwy .userway_buttons_wrapper {
  top: auto !important;
  bottom: 16px !important;
}
@media (max-width: 800px) {
  .uwy .userway_buttons_wrapper { bottom: 12px !important; }
}
