/* ============================================================
   Lakeside Nutrition — Design System (re-skin)
   Ported from the new homepage design into clean, editable,
   fully responsive CSS. Used by index.html.
   (index-old.html still uses styles.css — leave that alone.)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand base */
  --lake-blue: #1E90C6;
  --lake-blue-deep: #14627F;
  --lake-blue-soft: #D6EEF8;
  --lake-blue-ink: #0B2F3F;
  --aqua: #18B7A6;
  --aqua-soft: #D2F2EE;

  /* Energy warmth */
  --coral: #FF6B4A;
  --coral-deep: #E8492A;
  --coral-soft: #FFE2DA;
  --sunshine: #FFB22E;
  --sunshine-soft: #FFEFCF;

  /* Flavor accents */
  --berry: #F0468B;
  --berry-soft: #FCDDEA;
  --grape: #8A5BD6;
  --grape-soft: #EADFFA;
  --lime: #7CC242;
  --lime-soft: #E4F3D3;
  --cocoa: #7A4A32;
  --cocoa-soft: #EBDDD3;

  /* Neutrals */
  --paper: #FBF5EB;
  --paper-2: #F4EADB;
  --white: #FFFFFF;
  --ink: #173A43;
  --ink-muted: #5C7177;
  --ink-faint: #93A4A8;
  --line: #E7DECF;
  --line-cool: #DDEAEF;

  /* Semantic */
  --color-primary: var(--lake-blue);
  --color-primary-hover: var(--lake-blue-deep);
  --color-primary-tint: var(--lake-blue-soft);
  --color-accent: var(--coral);
  --color-accent-hover: var(--coral-deep);
  --color-accent-tint: var(--coral-soft);
  --surface-page: var(--paper);
  --surface-band: var(--paper-2);
  --surface-card: var(--white);
  --surface-ink: var(--lake-blue-ink);
  --text-strong: var(--lake-blue-ink);
  --text-body: var(--ink);
  --text-muted: var(--ink-muted);
  --text-faint: var(--ink-faint);
  --text-on-dark: #F4F8F6;
  --rating: var(--sunshine);

  /* Type */
  --font-display: 'Fredoka', 'Trebuchet MS', sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-script: 'Caveat', 'Comic Sans MS', cursive;

  --fs-hero: clamp(2.05rem, 6vw, 5rem);
  --fs-display: clamp(2rem, 4vw, 3.5rem);
  --fs-h1: clamp(1.8rem, 3vw, 2.75rem);
  --fs-h3: 1.375rem;
  --fs-lead: clamp(1.05rem, 1.6vw, 1.25rem);

  /* Layout */
  --container: 1200px;
  --container-wide: 1380px;
  --section-y: clamp(3.5rem, 7vw, 6.5rem);

  /* Radii */
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(11, 47, 63, 0.06);
  --shadow-sm: 0 4px 12px rgba(11, 47, 63, 0.07);
  --shadow-md: 0 12px 28px rgba(11, 47, 63, 0.10);
  --shadow-lg: 0 22px 48px rgba(11, 47, 63, 0.14);
  --shadow-coral: 0 12px 26px rgba(255, 107, 74, 0.34);
  --shadow-blue: 0 12px 26px rgba(30, 144, 198, 0.30);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur: 240ms;
  --dur-slow: 460ms;
}

/* ---------- Reset / base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 24px; }

@media (max-width: 600px) {
  .container, .container-wide { padding: 0 18px; }
}

.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--coral);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-md) 0;
  z-index: 200;
  font-weight: 600;
}
.skip-to-content:focus { left: 0; }

:focus-visible { outline: 3px solid var(--lake-blue); outline-offset: 2px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              background var(--dur) var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.97); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 34px; font-size: 18px; }

.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-hover); box-shadow: var(--shadow-blue); }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: var(--color-accent-hover); box-shadow: var(--shadow-coral); }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-ghost:hover { background: var(--color-primary-tint); }
.btn-light { background: #fff; color: var(--text-strong); }
.btn-light:hover { box-shadow: var(--shadow-md); }
.btn .icon { width: 17px; height: 17px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 245, 235, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; overflow: hidden; }
.brand img { height: 46px; width: auto; flex-shrink: 0; }
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--lake-blue-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-text span { color: var(--coral); }

.nav { display: flex; gap: 26px; margin-left: 8px; flex: 1; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  transition: color var(--dur) var(--ease-out);
}
.nav a:hover { color: var(--color-accent); }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-toggle { flex-shrink: 0; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--lake-blue-deep);
  text-decoration: none;
}
.header-phone .icon { width: 16px; height: 16px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 6px;
  color: var(--lake-blue-ink);
}
.nav-toggle .icon { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--surface-page); overflow: hidden; }
.hero-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  min-height: 540px;
}
.hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 56px 0; }
.hero-eyebrow { font-family: var(--font-script); font-size: 1.9rem; font-weight: 700; color: var(--coral); line-height: 1; }
.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.025em;
  color: var(--text-strong);
  white-space: pre-line;
  text-wrap: balance;
}
.hero-sub { max-width: 460px; font-size: var(--fs-lead); line-height: 1.6; color: var(--text-muted); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }

.hero-media { position: relative; display: flex; justify-content: center; align-items: center; min-height: 540px; }
.hero-blob {
  position: absolute;
  width: 440px; height: 440px;
  max-width: 92%;
  border-radius: 50%;
  background: var(--lake-blue);
  opacity: 0.16;
  filter: blur(8px);
}
.hero-photo {
  position: relative;
  width: min(420px, 88%);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid #fff;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  bottom: 56px; left: 0;
  background: #fff;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-strong);
}
.hero-badge .icon { width: 18px; height: 18px; color: var(--lake-blue); }

.hero-dots { display: flex; justify-content: center; gap: 10px; padding-bottom: 24px; }
.hero-dots button {
  width: 11px; height: 11px;
  border-radius: var(--radius-pill);
  border: 0;
  cursor: pointer;
  background: var(--line);
  padding: 0;
  transition: width var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.hero-dots button.active { width: 30px; background: var(--color-accent); }

/* ---------- Order bar ---------- */
.order-bar { background: var(--lake-blue-ink); color: var(--text-on-dark); }
.order-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 26px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.order-bar h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.order-bar p { font-size: 15px; color: rgba(244, 248, 246, 0.7); }
.order-platforms { display: flex; gap: 12px; flex-wrap: wrap; }
.order-platform {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-decoration: none;
  transition: background var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.order-platform:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }
.order-platform .name { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: #fff; }
.order-platform .tag { font-size: 12px; color: var(--sunshine); }

/* ---------- Section + heading ---------- */
.section { padding: var(--section-y) 0; }
.section.band { background: var(--surface-band); }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  align-items: center;
  max-width: 740px;
  margin: 0 auto 8px;
}
.section-head.left { text-align: left; align-items: flex-start; margin-left: 0; }
.eyebrow { font-family: var(--font-script); font-size: 1.6rem; font-weight: 700; color: var(--coral); line-height: 1.25; }
.eyebrow.blue { color: var(--lake-blue); }
.eyebrow.berry { color: var(--berry); }
.section-head h2 {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  text-wrap: balance;
}
.section-head p { font-size: var(--fs-lead); line-height: 1.6; color: var(--text-muted); text-wrap: pretty; }

/* ---------- Category sub-nav (sticky) ---------- */
.menu-nav {
  position: sticky;
  top: 71px;
  z-index: 90;
  background: rgba(251, 245, 235, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.menu-nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.menu-nav-inner::-webkit-scrollbar { display: none; }
.menu-nav a {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.menu-nav a:hover, .menu-nav a.active {
  background: var(--lake-blue);
  border-color: var(--lake-blue);
  color: #fff;
}

/* ---------- Menu categories ---------- */
.menu-category { padding-top: clamp(2.5rem, 5vw, 4rem); scroll-margin-top: 130px; }
.menu-category:first-of-type { padding-top: 0; }
.category-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.category-head img {
  width: 84px; height: 84px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.category-head h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--text-strong); line-height: 1.1; }
.category-price {
  display: inline-block;
  margin: 4px 0 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--coral);
}
.category-meta { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* ---------- Card grid (rich items) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
/* Image cards keep equal heights per row (stretch). Text-only cards (no photo)
   opt out so they stay compact instead of inflating to match a neighbor's image. */
.product-card:has(.product-photo.placeholder) { align-self: start; }
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card:hover .product-photo img { transform: scale(1.06); }
.product-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}
.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.product-photo.placeholder {
  display: none; /* no-photo items render as compact text-only cards */
  place-items: center;
  background: radial-gradient(120% 120% at 30% 20%, var(--lake-blue-soft) 0%, #fff 100%);
}
.product-photo.placeholder .ph-icon { width: 30%; height: 30%; color: var(--lake-blue); opacity: 0.85; }
.product-photo.placeholder.t-coral { background: radial-gradient(120% 120% at 30% 20%, var(--coral-soft) 0%, #fff 100%); }
.product-photo.placeholder.t-coral .ph-icon { color: var(--coral); }
.product-photo.placeholder.t-berry { background: radial-gradient(120% 120% at 30% 20%, var(--berry-soft) 0%, #fff 100%); }
.product-photo.placeholder.t-berry .ph-icon { color: var(--berry); }
.product-photo.placeholder.t-lime { background: radial-gradient(120% 120% at 30% 20%, var(--lime-soft) 0%, #fff 100%); }
.product-photo.placeholder.t-lime .ph-icon { color: #4f7d1f; }
.product-photo.placeholder.t-grape { background: radial-gradient(120% 120% at 30% 20%, var(--grape-soft) 0%, #fff 100%); }
.product-photo.placeholder.t-grape .ph-icon { color: var(--grape); }
.product-photo.placeholder.t-gold { background: radial-gradient(120% 120% at 30% 20%, var(--sunshine-soft) 0%, #fff 100%); }
.product-photo.placeholder.t-gold .ph-icon { color: #b9791a; }
.product-photo.placeholder.t-aqua { background: radial-gradient(120% 120% at 30% 20%, var(--aqua-soft) 0%, #fff 100%); }
.product-photo.placeholder.t-aqua .ph-icon { color: var(--aqua); }
.product-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.product-body { display: flex; flex-direction: column; gap: 11px; padding: 22px; flex: 1; }
.product-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.product-body h4 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; color: var(--text-strong); line-height: 1.2; }
.product-desc { font-size: 14px; line-height: 1.6; color: var(--text-muted); text-wrap: pretty; }
.product-macros { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.product-link {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: gap var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.product-link:hover { gap: 10px; color: var(--color-accent); }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  color: #fff;
  background: var(--aqua);
  box-shadow: var(--shadow-sm);
}
.badge.sm { padding: 3px 9px; font-size: 11px; box-shadow: none; }
.badge.soft { background: var(--lake-blue-soft); color: var(--lake-blue-deep); box-shadow: none; }
.badge.new { background: var(--aqua); }
.badge.bestseller { background: var(--coral); }
.badge.protein { background: var(--lake-blue); }
.badge.caffeine { background: var(--grape); }
.badge.fiber { background: var(--lime); }
.badge.berry { background: var(--berry); }
.badge.gold { background: var(--sunshine); color: var(--lake-blue-ink); }
.badge.soft.protein { background: var(--lake-blue-soft); color: var(--lake-blue-deep); }
.badge.soft.fiber { background: var(--lime-soft); color: #4f7d1f; }
.badge.soft.gold { background: var(--sunshine-soft); color: #9a6a00; }
.badge.soft.caffeine { background: var(--grape-soft); color: #5d3a9e; }

/* ---------- Compact list (café drinks) ---------- */
.menu-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px 28px;
}
.menu-list-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 4px;
  border-bottom: 1px dashed var(--line);
}
.menu-list-item .name { font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; color: var(--text-strong); }
.menu-list-item .price { font-weight: 600; font-size: 14px; color: var(--coral); white-space: nowrap; }

/* ---------- Promo banner ---------- */
.promo { padding: 0 24px var(--section-y); }
.promo-card {
  max-width: var(--container);
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  box-shadow: var(--shadow-md);
}
.promo.in-container .promo-card { margin: 0 auto; max-width: var(--container); }
.promo-card.coral { background: var(--coral); }
.promo-card.blue { background: var(--lake-blue); }
.promo-text { padding: clamp(32px, 5vw, 60px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; }
.promo-text .eyebrow { color: rgba(255, 255, 255, 0.92); }
.promo-text h3 { font-family: var(--font-display); font-size: var(--fs-h1); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
.promo-text p { max-width: 420px; font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, 0.88); }
.promo-media { position: relative; min-height: 300px; overflow: hidden; }
.promo-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-card.reverse .promo-text { order: 2; }
.promo-card.reverse .promo-media { order: 1; }

/* ---------- Nutrition story ---------- */
.nutrition-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 5vw, 56px);
  margin-top: clamp(2rem, 5vw, 3.5rem);
}
.nutrition-item { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.nutrition-circle {
  width: 104px; height: 104px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease-out);
}
.nutrition-circle:hover { transform: scale(1.08); box-shadow: var(--shadow-md); }
.nutrition-circle .icon { width: 44px; height: 44px; }
.nutrition-item .label { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; color: var(--text-strong); }
.n-protein { background: var(--lake-blue-soft); color: var(--lake-blue); }
.n-b12 { background: var(--grape-soft); color: var(--grape); }
.n-electrolytes { background: var(--aqua-soft); color: var(--aqua); }
.n-fiber { background: var(--lime-soft); color: #4f7d1f; }
.n-probiotics { background: var(--berry-soft); color: var(--berry); }
.n-antioxidants { background: var(--sunshine-soft); color: #b9791a; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: clamp(2rem, 4vw, 3rem); }
.testimonial {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}
.testimonial .stars { display: flex; gap: 3px; color: var(--rating); font-size: 18px; line-height: 1; }
.testimonial .t-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text-strong); }
.testimonial blockquote { font-size: 15px; line-height: 1.65; color: var(--text-muted); text-wrap: pretty; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testimonial .t-name { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--text-strong); }
.testimonial .t-role { font-size: 14px; color: var(--text-faint); }

/* ---------- Newsletter ---------- */
.newsletter { padding: 0 0 var(--section-y); }
.newsletter-card {
  position: relative;
  overflow: hidden;
  max-width: var(--container);
  margin: 0 24px;
  background: var(--lake-blue);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 6vw, 60px);
  text-align: center;
  box-shadow: var(--shadow-md);
}
@media (min-width: 1248px) { .newsletter-card { margin: 0 auto; } }
.newsletter-card::before { content: ""; position: absolute; top: -60px; right: -40px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }
.newsletter-card::after { content: ""; position: absolute; bottom: -70px; left: -30px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 178, 46, 0.16); }
.newsletter-card > * { position: relative; }
.newsletter-card .eyebrow { color: var(--sunshine); }
.newsletter-card h3 { font-family: var(--font-display); font-size: var(--fs-h1); font-weight: 700; color: #fff; line-height: 1.1; text-wrap: balance; max-width: 600px; margin: 12px auto 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--lake-blue-ink); color: rgba(244, 248, 246, 0.78); }
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 30px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer-brand img { height: 50px; width: auto; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 300px; font-size: 14px; line-height: 1.6; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background var(--dur) var(--ease-out);
}
.footer-social a:hover { background: var(--color-accent); }
.footer-col h4 { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.footer-col a, .footer-col p, .footer-col span { display: block; font-size: 14px; color: rgba(244, 248, 246, 0.78); text-decoration: none; line-height: 1.9; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 24px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  text-align: center;
  font-size: 13px;
  color: rgba(244, 248, 246, 0.5);
}
.footer-bottom a { color: rgba(244, 248, 246, 0.5); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Social / Instagram ---------- */
.social-embed { margin-top: clamp(2rem, 4vw, 3rem); }

/* ============================================================
   RESPONSIVE — the part the bundled design couldn't do cleanly
   ============================================================ */

/* Tablet / small laptop */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 8px; min-height: 0; text-align: center; }
  .hero-text { align-items: center; padding: 48px 0 8px; order: 1; }
  .hero-sub { margin: 0 auto; }
  .hero-cta { justify-content: center; }
  .hero-media { order: 0; min-height: 0; padding-top: 40px; }
  .hero-badge { left: 50%; transform: translateX(-130px); }

  .promo-card, .promo-card.reverse .promo-text, .promo-card.reverse .promo-media { grid-template-columns: 1fr; }
  .promo-card { grid-template-columns: 1fr; }
  .promo-media { min-height: 220px; order: 0 !important; }
  .promo-text { order: 1 !important; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Mobile: show hamburger, hide inline nav */
@media (max-width: 860px) {
  .nav, .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-inner { padding: 12px 20px; gap: 12px; justify-content: space-between; }

  .nav.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 8px 20px 16px;
  }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav.open a:last-child { border-bottom: none; }

  .menu-nav { top: 67px; }
}

/* Phones */
@media (max-width: 600px) {
  .hero-eyebrow { font-size: 1.6rem; }
  .hero-photo { border-width: 6px; }
  .hero-badge { transform: translateX(-110px); bottom: 30px; font-size: 13px; padding: 8px 14px; }

  .order-bar-inner { flex-direction: column; align-items: flex-start; }
  .order-platforms { width: 100%; }
  .order-platform { flex: 1; min-width: 0; align-items: center; padding: 12px 14px; }

  .category-head { gap: 14px; }
  .category-head img { width: 64px; height: 64px; }

  .card-grid { grid-template-columns: 1fr; gap: 18px; }
  .menu-list { grid-template-columns: 1fr; }

  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .newsletter-card { margin: 0 18px; }
  .promo { padding-left: 18px; padding-right: 18px; }
}

/* Small phones: free up header space so the hamburger always fits */
@media (max-width: 480px) {
  .brand-text { display: none; }
  .brand img { height: 40px; }
  .header-inner { gap: 8px; padding: 10px 16px; }
  .header-actions { gap: 8px; }
  .header-actions .btn { padding: 9px 16px; font-size: 14px; }
  .hero-badge { transform: translateX(-96px); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* Scroll-reveal (progressive enhancement; JS adds .reveal-in) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
