/* ========================================================================
   IslandEats — Design Tokens
   ======================================================================== */
:root {
  --navy-900: #081525;
  --navy-800: #0d1f33;
  --navy-700: #142c46;
  --teal-500: #1fa98a;
  --teal-400: #2ec39f;
  --teal-300: #6fdcc0;
  --cream-100: #faf6ee;
  --cream-200: #f3ecdd;
  --white: #ffffff;
  --ink-900: #12202b;
  --ink-600: #45535c;
  --ink-400: #6b7a83;
  --line: #e7e0d1;

  --shadow-sm: 0 2px 8px rgba(8, 21, 37, 0.06);
  --shadow-md: 0 12px 32px rgba(8, 21, 37, 0.12);
  --shadow-lg: 0 24px 60px rgba(8, 21, 37, 0.18);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --font-head: "Poppins", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ========================================================================
   Reset
   ======================================================================== */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * , *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body, h1, h2, h3, h4, p, figure, blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream-100);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: clamp(64px, 9vw, 120px); }

:focus-visible {
  outline: 3px solid var(--teal-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal-500);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

/* ========================================================================
   Buttons
   ======================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease), color 220ms var(--ease);
  white-space: nowrap;
  min-height: 44px;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--teal-500);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--teal-400); box-shadow: var(--shadow-md); }

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

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline-light:hover { background: var(--white); color: var(--navy-900); border-color: var(--white); }

.btn-whatsapp {
  background: #25d366;
  color: #0b3320;
  box-shadow: var(--shadow-sm);
}
.btn-whatsapp:hover { background: #22c15e; box-shadow: var(--shadow-md); }

.btn-sm { padding: 10px 20px; font-size: 0.9rem; min-height: 40px; }
.btn-block { width: 100%; }

/* ========================================================================
   Header
   ======================================================================== */
.site-header {
  /* relative (not static) so it still anchors the mobile nav dropdown
     (.main-nav uses position:absolute/top:100% under 1280px) — behaves
     identically to static for normal document flow/scrolling since no
     top/left/right/bottom offset is set here. */
  position: relative;
  z-index: 500;
  background: rgba(8, 21, 37, 0.92);
  backdrop-filter: blur(10px);
  transition: box-shadow 240ms var(--ease);
}
.site-header.scrolled { box-shadow: 0 8px 24px rgba(0,0,0,0.18); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
}

/* The header uses a wider container than the 1200px reading-width content
   column, so the logo and nav have real room to breathe, but it's still
   capped rather than full-bleed so things stay balanced on ultra-wide
   screens. */
.site-header .container { max-width: 1460px; padding-inline: 24px; }

.brand {
  display: flex;
  align-items: center;
  margin-right: 20px;
  flex: none;
}
.brand-logo {
  /* Scales continuously with viewport width — never jumps at a breakpoint,
     never shrinks below a readable floor, saturates near its cap by a
     typical laptop width instead of only reaching it on very wide monitors. */
  height: clamp(94px, 13.4vw, 188px);
  width: auto;
  max-width: none;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

.main-nav { flex-shrink: 0; }
.main-nav ul { display: flex; gap: 18px; }
.main-nav a {
  color: rgba(255,255,255,0.82);
  font-weight: 500;
  font-size: 0.94rem;
  white-space: nowrap;
  transition: color 180ms var(--ease);
  position: relative;
}
.main-nav a:hover { color: var(--white); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--teal-400);
  transition: width 220ms var(--ease);
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }
/* Slightly tighter than the shared .btn-sm so the CTA doesn't eat more
   navbar width than it needs to — height/font untouched. */
.header-actions .btn-sm { padding-inline: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  /* Matches .cart-toggle's 68px box so the two controls share a baseline
     and an equal tap target. The bars stay 20px so the hamburger's visual
     weight doesn't grow with the box — only the cart gains prominence.
     Bar height/gap stay at 2px/5px so the aria-expanded X transforms
     below keep their 7px offset. */
  width: 68px;
  height: 68px;
  background: transparent;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  margin-inline: auto;
  transition: transform 220ms var(--ease), opacity 220ms var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========================================================================
   Eyebrow / section heads
   ======================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 14px;
}
.eyebrow.center { justify-content: center; width: 100%; }
.eyebrow.light { color: var(--teal-300); }
.eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal-500);
  flex: none;
}
.eyebrow.light .eyebrow-dot { background: var(--teal-300); }

.section-head { max-width: 640px; margin-inline: auto; text-align: center; margin-bottom: 56px; }
.section-head.light h2 { color: var(--white); }
.section-sub { color: var(--ink-600); margin-top: 14px; font-size: 1.05rem; }
.section-head.light .section-sub { color: rgba(255,255,255,0.75); }

/* ========================================================================
   Hero
   ======================================================================== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 92vh;
  background: var(--cream-100);
}

.hero-copy {
  display: flex;
  align-items: center;
  padding: 60px clamp(24px, 6vw, 90px);
}
.hero-copy-inner { max-width: 560px; }

.hero-sub {
  margin-top: 20px;
  font-size: 1.08rem;
  color: var(--ink-600);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 44px;
}
.hero-trust-statement {
  font-size: 0.92rem;
  color: var(--ink-600);
  margin: 0;
}

.hero-trust-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.hero-trust-benefit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-900);
}
.hero-trust-benefit svg { color: var(--teal-500); flex: none; }

.hero-visual {
  position: relative;
  background: var(--navy-900);
  overflow: hidden;
}
.hero-visual-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.hero-visual-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-ring {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border: 1.5px dashed rgba(111, 220, 192, 0.35);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ========================================================================
   Trust strip
   ======================================================================== */
.strip { background: var(--navy-900); padding-block: 26px; }
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  font-weight: 500;
}
.strip-item svg { color: var(--teal-400); flex: none; }

/* ========================================================================
   About
   ======================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}

.about-visual { position: relative; }
.about-visual img {
  width: 100%;
  aspect-ratio: 4/3.2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.about-badge {
  position: absolute;
  bottom: -22px;
  right: -22px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 18px 22px;
  text-align: center;
  min-width: 140px;
}
.about-badge strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--teal-500); font-weight: 800; }
.about-badge span { font-size: 0.82rem; color: var(--ink-600); }

.about-copy p { color: var(--ink-600); margin-top: 16px; font-size: 1.02rem; }
.about-copy h2 { margin-top: 4px; }

.about-stats {
  display: flex;
  gap: clamp(20px, 4vw, 40px);
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.about-stats strong { display: block; font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--navy-900); }
.about-stats span { font-size: 0.85rem; color: var(--ink-400); }

/* ========================================================================
   How it works
   ======================================================================== */
.how { background: var(--cream-200); }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.how-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}
.how-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.how-number {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal-500);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.how-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--navy-900);
  color: var(--teal-300);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.how-card p { color: var(--ink-600); margin-top: 10px; font-size: 0.98rem; }

/* ========================================================================
   Meal packages
   ======================================================================== */
.packages { background: var(--white); }
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--cream-100);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease);
}
.package-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.package-card.package-popular {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}
.package-badge {
  position: absolute;
  top: -14px;
  left: 30px;
  background: var(--teal-500);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.package-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--navy-900);
  color: var(--teal-300);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.package-popular .package-icon { background: rgba(255,255,255,0.1); }
.package-card h3 { font-size: 1.3rem; }
.package-desc { color: var(--ink-600); margin-top: 10px; font-size: 0.98rem; }
.package-popular .package-desc { color: rgba(255,255,255,0.75); }

.package-features { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.package-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink-600);
}
.package-features li svg { flex: none; color: var(--teal-500); }
.package-popular .package-features li { color: rgba(255,255,255,0.85); }
.package-popular .package-features li svg { color: var(--teal-300); }

.package-price {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.package-popular .package-price { border-top-color: rgba(255,255,255,0.15); }
.price-amount { display: block; font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--navy-900); }
.package-popular .price-amount { color: var(--white); }
.price-period { font-size: 0.82rem; color: var(--ink-400); }
.package-popular .price-period { color: rgba(255,255,255,0.6); }

.package-card .btn { margin-top: 22px; }
.package-popular .btn-outline { border-color: rgba(255,255,255,0.5); color: var(--white); }
.package-popular .btn-outline:hover { background: var(--white); color: var(--navy-900); }

.package-note {
  text-align: center;
  margin-top: 36px;
  color: var(--ink-400);
  font-size: 0.92rem;
}

.package-loading,
.package-error {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-400);
  padding: 40px 0;
}
.package-error { color: #b3261e; }

/* ========================================================================
   Menu filters
   ======================================================================== */
.menu-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  min-height: 44px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink-600);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease), transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.filter-chip svg { flex: none; }
.filter-chip:hover { border-color: var(--teal-500); color: var(--navy-900); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.filter-chip.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}
.filter-chip.active svg { color: var(--teal-300); }

.dish-card.is-hidden { display: none; }

/* ========================================================================
   Menu grid
   ======================================================================== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.dish-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 22px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}
.dish-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.dish-photo {
  display: block;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 18px;
  border: 3px solid var(--cream-200);
}
.dish-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease);
}
.dish-card:hover .dish-photo img { transform: scale(1.06); }

.dish-card h3 { margin-bottom: 6px; }
.dish-card p { color: var(--ink-600); font-size: 0.94rem; min-height: 42px; }

.dish-tag {
  display: inline-block;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-500);
}

/* ========================================================================
   Reviews
   ======================================================================== */
.reviews {
  position: relative;
  padding-block: clamp(64px, 9vw, 120px);
  overflow: hidden;
}
.reviews-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.reviews-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,21,37,0.94), rgba(8,21,37,0.88));
}
.reviews-inner { position: relative; z-index: 2; }

.section-head.early-invite { margin-bottom: 0; }
.section-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.review-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-md);
  padding: 30px 26px;
}
.stars { display: flex; gap: 3px; color: #ffb648; margin-bottom: 16px; }
.review-card blockquote {
  color: rgba(255,255,255,0.92);
  font-size: 1.02rem;
  line-height: 1.65;
}
.review-card figcaption {
  margin-top: 18px;
  color: var(--teal-300);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ========================================================================
   Contact
   ======================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.contact-copy > p { color: var(--ink-600); margin-top: 14px; max-width: 460px; }

.contact-list { margin-top: 34px; display: flex; flex-direction: column; gap: 22px; }
.contact-list li { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  width: 42px; height: 42px; flex: none;
  border-radius: 12px;
  background: var(--white);
  color: var(--teal-500);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.contact-list strong { display: block; color: var(--navy-900); font-size: 0.98rem; }
.contact-list span { color: var(--ink-600); font-size: 0.92rem; }

.contact-card {
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}
.contact-card h3 { color: var(--white); font-size: 1.4rem; }
.contact-card > p { color: rgba(255,255,255,0.72); margin-top: 10px; font-size: 0.96rem; }
.contact-actions { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.contact-note {
  margin-top: 22px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 16px;
}
.contact-note code {
  background: rgba(255,255,255,0.1);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--teal-300);
}

/* ========================================================================
   Footer
   ======================================================================== */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.7); padding-top: 72px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { margin-top: 16px; max-width: 320px; font-size: 0.92rem; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}
.footer-social a:hover { background: var(--teal-500); border-color: var(--teal-500); }

.footer-nav { display: flex; gap: 60px; justify-content: flex-end; }
.footer-nav h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 18px; }
.footer-nav div { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { font-size: 0.92rem; transition: color 180ms var(--ease); }
.footer-nav a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-block: 24px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* ========================================================================
   Back to top
   ======================================================================== */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 240ms var(--ease), transform 240ms var(--ease), background 200ms var(--ease);
  z-index: 400;
}
.to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--teal-500); }

/* ========================================================================
   Scroll reveal
   ======================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ========================================================================
   Responsive
   ======================================================================== */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { min-height: 420px; }
  .hero-visual-inner { padding: 32px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-badge { position: static; margin-top: -40px; margin-inline: auto; width: fit-content; transform: translateY(0); }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .package-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
}

/* The larger logo plus a fully spaced-out nav (restored link gaps, 15px
   font, untrimmed CTA) plus the 7th "Performance Meals" link needed more
   room than 1280px to lay out on one line — nav link gap was tightened
   (28px -> 18px) to bring the fit back down; verified empirically down to
   ~1390px, so the hamburger breakpoint sits at 1420px with margin. */
@media (max-width: 1419px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy-800);
    max-height: 0;
    overflow-y: auto;
    transition: max-height 320ms var(--ease);
  }
  .main-nav.open { max-height: 75vh; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 24px 20px; }
  .main-nav li { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .main-nav a { display: block; padding: 14px 0; }
  .header-actions .btn-sm { display: none; }
  .nav-toggle { display: flex; }
  /* Below this breakpoint the CTA is hidden, so header-actions holds only
     the cart + hamburger — tighten them from 16px into a single action
     group. Desktop keeps the 16px gap against the "Browse Packages" CTA. */
  .header-actions { gap: 6px; }
}

@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .about-stats { flex-wrap: wrap; row-gap: 20px; }
  .footer-nav { flex-direction: column; gap: 30px; }
}
