/* =========================
   HERO
   ========================= */
.hero{
  position:relative;
  overflow:hidden;
  min-height: clamp(560px, 78vh, 860px);
  padding: 84px 0 56px;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  z-index:0;
  opacity: .98;
}
.hero-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 560px at 18% 34%, rgba(255,255,255,.22), rgba(255,255,255,.06) 60%, rgba(255,255,255,0) 100%),
    linear-gradient(90deg,
      rgba(255,255,255,.62) 0%,
      rgba(255,255,255,.30) 34%,
      rgba(255,255,255,.12) 58%,
      rgba(255,255,255,0) 78%);
  z-index:1;
}
.hero::after{
  content:"";
  position:absolute;
  inset:-20%;
  z-index:2;
  pointer-events:none;
  background:
    radial-gradient(600px 240px at 30% 40%, rgba(255,255,255,.12), transparent 60%),
    radial-gradient(520px 200px at 62% 62%, rgba(27,138,88,.10), transparent 62%);
  opacity:.7;
}

.hero-inner{
  position:relative;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  min-height: clamp(560px, 78vh, 860px);
}
.hero-copy{
  max-width: 680px;
  transform: translateY(-4px);
}

.pill{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(15,107,67,.10);
  border:1px solid rgba(15,107,67,.18);
  font-weight:700;
  color:rgba(15,23,42,.86);
  font-size:13px;
}
.dot{width:8px; height:8px; border-radius:99px; background:var(--green2)}

.hero h1{
  margin:14px 0 10px;
  font-size:54px;
  line-height:1.02;
  letter-spacing:-.03em;
  text-shadow: 0 14px 32px rgba(0,0,0,.20);
  max-width: 640px;
}
.accent{color:rgba(15,23,42,1)}
.accent-2{color:var(--green)}

.lead{
  margin:0 0 18px;
  font-size:16px;
  color:rgba(255,255,255, 0.76);
  font-weight:900;

  max-width: 520px;
 

}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap; margin-bottom:16px}

.hero-trust{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
  margin-top:14px;
  max-width: 760px;
}
.trust-card{
  display:flex; gap:12px; align-items:center;
  padding:12px 12px;
  border-radius:18px;
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border:1px solid rgba(15,23,42,.10);
  transition: transform .16s ease, box-shadow .16s ease;
}
.trust-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(15,23,42,.12);
}
.trust-card img{width:60px; height:60px; object-fit:contain}
.trust-title{font-weight:900; font-size:13px}
.trust-sub{font-size:12px; color:rgba(22, 78, 44, 0.78)} /* fix #10: was rgba(212,120,15,0.62) — fails WCAG contrast */


.step-icon-img{
  width:70px;
  height:70px;
  flex:0 0 auto;
}



/* =========================
   PACKS
   ========================= */
.pack-grid{display:grid; grid-template-columns: 1fr 1fr; gap:16px}
.pack-card{
  position:relative;
  border-radius: var(--radius-lg);
  overflow:hidden;
  min-height: 340px;
  border:1px solid rgba(15,23,42,.10);
  box-shadow: var(--shadow2);
  background:#fff;
  transition: transform .18s ease, box-shadow .18s ease;
}
.pack-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(15,23,42,.14);
}
.pack-bg{
  position:absolute;
  inset:0;
  background-image: var(--pack-image);
  background-size: cover;
  background-position:center;
  filter:saturate(1.06) contrast(1.03);
  opacity: .999;
  transition: transform .55s ease, filter .55s ease;
}
.pack-card:hover .pack-bg{
  transform: scale(1.07);
  filter: saturate(1.20) contrast(1.08) brightness(1.04);
}

/* Neuro Vital visibility fix — keep background visible */
.pack-content{
  position:relative;
  height:100%;
  padding:22px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  background: linear-gradient(90deg,
    rgba(255,255,255,.78) 0%,
    rgba(255,255,255,.62) 44%,
    rgba(255,255,255,.28) 72%,
    rgba(255,255,255,0) 100%);
}
.pack-top{display:flex; align-items:flex-start; justify-content:space-between; gap:14px}
.tag{
  display:inline-flex;
  margin-top:10px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(27,138,88,.10);
  border:1px solid rgba(27,138,88,.18);
  font-weight:900;
  font-size:13px;
  color:rgba(15,23,42,.85);
}

/* spacing so bullets don't sit on top of the product area */
.bullets{
  margin:18px 0 14px;
  padding-left:18px;
  color:rgba(15,23,42,.86);
  max-width:420px;
  line-height:1.6;
}
.bullets li{margin:8px 0}
.bullets li + li{ margin-top: 14px; }

/* Make includes line slightly stronger */
.pack-content .muted.tiny{
  color: rgba(15,23,42,.72);
  font-weight: 700;
}

.pack-badge{
  position:absolute;
  top:16px;
  right:16px;
  padding:7px 12px;
  border-radius:999px;
  font-weight:900;
  font-size:12px;
  z-index:3;
  backdrop-filter: blur(8px);
}
.pack-badge.limited{
  background: linear-gradient(180deg, #ffcc66, #ff9f1a);
  color:#4a2c00;
  box-shadow: 0 6px 18px rgba(255,159,26,.35);
}

.pack-card .btn{
  box-shadow: 0 10px 24px rgba(15,23,42,.10);
}
.pack-card .btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(15,23,42,.14);
}

@media (max-width: 980px){
  .pack-bg{
    opacity: 1;
    filter: saturate(1.08) contrast(1.06);
  }
  .pack-content{
    background: linear-gradient(180deg,
      rgba(255,255,255,.66) 0%,
      rgba(255,255,255,.46) 42%,
      rgba(255,255,255,.16) 72%,
      rgba(255,255,255,0) 100%);
  }
  .bullets{ max-width: 100%; }
}

/* =========================
   PLANS
   ========================= */
.plan-grid{display:grid; grid-template-columns: 1fr 1fr; gap:16px; align-items:stretch}
.plan{
  background:
    radial-gradient(700px 340px at 80% 20%, rgba(27,138,88,.08), transparent 80%),
    rgba(255,255,255,.86);
  transition: transform .18s ease, box-shadow .18s ease;
}
.plan:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(15,23,42,.12);
}
.plan-title{font-weight:900; font-size:16px}
.plan-price{font-weight:900; font-size:34px; margin-top:10px}
.plan-meta{margin:10px 0 16px; color:rgba(15,23,42,.68)}

.plan-highlight{
  position: relative;
  overflow: hidden;
}
.plan-highlight::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    linear-gradient(
      115deg,
      transparent 0%,
      rgba(255,255,255,.18) 22%,
      rgba(255,255,255,.45) 28%,
      rgba(255,255,255,.18) 34%,
      transparent 60%
    );
  transform: translateX(-60%) rotate(2deg);
  opacity: 0;
  pointer-events:none;
  z-index: 0;
}
.plan-highlight > *{ position: relative; z-index: 1; }
.plan-highlight.sweep-onload::before{ animation: planSweep 1.2s ease-out forwards; }
@keyframes planSweep{
  0%   { transform: translateX(-60%) rotate(2deg); opacity: 0; }
  12%  { opacity: 1; }
  100% { transform: translateX(60%) rotate(2deg); opacity: 0; }
}
.plan-highlight:hover::before{ animation: planSweep 1.2s ease-out forwards; }

.badge{
  position:absolute;
  top:16px; right:16px;
  padding:7px 10px;
  border-radius:999px;
  font-weight:900;
  font-size:12px;
  background: rgba(27,138,88,.14);
  border:1px solid rgba(27,138,88,.22);
  color: var(--green);
}

/* =========================
   RECIPES
   ========================= */
.recipe-grid{display:grid; grid-template-columns: repeat(3, 1fr); gap:16px}
.recipe{
  cursor:pointer;
  user-select:none;
  overflow:hidden;
  transform: translateZ(0);
  transition: transform .15s ease, box-shadow .15s ease;
}
.recipe img{
  width:100%;
  height:230px;
  object-fit:cover;
  transform: scale(1.01);
  transition: transform .45s ease, filter .45s ease;
}
.recipe-title{font-weight:900}

.recipe:hover{
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(15,23,42,.16);
}
.recipe:hover img{
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}
@media (max-width: 980px){
  .recipe:active{ transform: scale(.985); }
}

/* =========================
   TESTIMONIALS
   ========================= */
.testimonial-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.testimonial .quote{
  font-weight:800;
  line-height:1.4;
  margin-bottom:10px;
}
.testimonial{
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.testimonial:hover{
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(15,23,42,.12);
  border-color: rgba(27,138,88,.18);
}

/* =========================
   FRESHNESS / PROMISE
   ========================= */
.promise-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.promise-card{
  background:rgba(255,255,255,.88);
  border:1px solid rgba(15,23,42,.08);
  border-radius:20px;
  padding:22px 20px;
  text-align:center;
  box-shadow:0 14px 38px rgba(15,23,42,.08);

  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;

  transition: transform .18s ease, box-shadow .18s ease;
}
.promise-card:hover{
  transform: translateY(-4px);
  box-shadow:0 22px 55px rgba(15,23,42,.12);
}
.promise-icon{font-size:28px}
.promise-title{font-weight:900; font-size:15px}
.promise-desc{
  font-size:13px;
  color:var(--muted);
  max-width:240px;
  margin:0 auto;
}

/* =========================
   STORY
   ========================= */
.story{display:grid; grid-template-columns: 1fr 1fr; gap:18px; overflow:hidden}
.story-copy{padding:22px}
.story-points{display:flex; flex-wrap:wrap; gap:10px; margin:6px 0 12px}
.story-points span{
  padding:8px 12px;
  border-radius:999px;
  background:rgba(15,107,67,.08);
  border:1px solid rgba(15,107,67,.12);
  font-weight:800;
  font-size:13px;
}
.story-media img{width:100%; height:100%; object-fit:cover}

/* =========================
   FAQ
   ========================= */
.faq-list details{
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px 16px;
  margin-bottom:12px;
  background:rgba(255,255,255,.88);
  box-shadow: 0 10px 26px rgba(15,23,42,.06);
}
.faq-list summary{
  font-weight:900;
  cursor:pointer;
  list-style:none;
}
.faq-list summary::-webkit-details-marker{display:none;}
.faq-list details p{margin:10px 0 0;}

/* =========================
   DELIVERY
   ========================= */
.delivery-grid{display:grid; grid-template-columns: .9fr 1.1fr; gap:16px; align-items:start}
#deliveryMap{
  width:100%;
  min-height:420px;
  border-radius: 0; /* parent .map clips Leaflet tiles */
}
.map{overflow:hidden; border-radius: var(--radius);}
.form-row{display:flex; gap:10px; margin-top:14px; flex-wrap:wrap}
.input{
  flex:1 1 240px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.12);
  padding:12px 12px;
  font-weight:700;
  outline:none;
  background:rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
}
.input:focus{
  border-color: rgba(27,138,88,.38);
  box-shadow:0 0 0 4px rgba(27,138,88,.10)
}

/* Delivery areas chips */
.delivery-areas { margin-top: 14px; }
.delivery-areas__label { font-size: 0.95rem; color: var(--muted); margin-bottom: 10px; }
.delivery-areas__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.delivery-areas__chips .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(16, 24, 40, 0.08);
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
}
.delivery-areas__chips .chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(27, 152, 85, 0.15);
}

/* Dark mode - delivery areas chips */
body[data-theme="dark"] .delivery-areas__chips .chip {
  background: rgba(12,20,16,.88);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  color: rgba(230,243,236,.92);
}
body[data-theme="dark"] .delivery-areas__chips .chip::before {
  background: #39d98a;
  box-shadow: 0 0 0 3px rgba(39,217,138,.20);
}
body[data-theme="dark"] .delivery-areas__chips .chip.coming-soon {
  border-color: rgba(79,182,232,.25);
}
body[data-theme="dark"] .delivery-areas__chips .chip.coming-soon::before {
  background: #4fb6e8;
  box-shadow: 0 0 0 3px rgba(79,182,232,.20);
}

/* =========================
   COMMUNITY
   ========================= */
.community{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:16px;
  align-items:center;
}
.community-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:14px;
}
.community-media img{
  width:100%;
  height:320px;
  object-fit:cover;
  border-radius: 18px;
  border:1px solid rgba(15,23,42,.08);
}

/* =========================
   RECIPE MODAL
   ========================= */
.recipe-modal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.45);
  z-index: 10002;
  padding: 22px;
}
.recipe-modal[aria-hidden="false"]{display:flex;}
.recipe-modal-content{
  width:min(560px, 100%);
  background:rgba(255,255,255,.92);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-radius: 22px;
  padding: 20px 18px 18px;
  border:1px solid rgba(15,23,42,.10);
  box-shadow: 0 22px 70px rgba(15,23,42,.22);
  position:relative;
}
.recipe-close{
  position:absolute;
  top:12px;
  right:12px;
  min-width:44px; /* fix #12: proper tap target */
  min-height:44px;
  width:40px;
  height:40px;
  border-radius:12px;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.88);
  cursor:pointer;
  font-weight:900;
  display:grid;
  place-items:center;
  font-size:16px;
}
.recipe-steps{display:grid; gap:10px}
.recipe-step{
  padding:12px 14px;
  border-radius:16px;
  background: rgba(27,138,88,.06);
  border:1px solid rgba(15,23,42,.08);
  font-weight:700;
}

/* =========================
   FOOTER
   ========================= */
.footer{
  background:#071a12;
  color:#d8efe4;
  padding: 44px 0 0;
}
.footer .footer-inner{
  display:grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 44px;
  align-items:start;
  padding-bottom: 26px;
}
.footer-brand{
  display:flex;
  flex-direction:column;
  gap:10px;
  max-width: 420px;
}

/* IMPORTANT: footer logo must NOT inherit navbar logo styles */
.footer .footer-mark{
  width: 110px !important;
  height: 110px !important;
  object-fit: contain;
  margin: 0 !important;
  transform: none !important;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.25)) !important;
}
.footer-brand .muted{ opacity:.85; max-width:320px; line-height:1.4; }

.footer-cols{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}
.footer-title{
  font-weight:900;
  margin:0 0 12px;
  color:#e9fff6;
}
.footer a{
  display:block;
  color: rgba(216,239,228,.88);
  margin: 10px 0;
  transition: opacity .15s ease, transform .15s ease;
  opacity:.85;
}
.footer a:hover{
  opacity:1;
  transform: translateX(2px);
  text-decoration: underline;
}
.footer-cols .tiny{
  display:block;
  margin-top: 6px;
  color: rgba(216,239,228,.70);
}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.10);
  padding: 14px 0 18px;
}
/* =========================
   TRUST STRIP (optional)
   ========================= */
.trust-strip{ padding:24px 0; }
.trust-strip-inner{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  text-align:center;
  font-weight:700;
  color:rgba(15,23,42,.75);
}
@media(max-width:900px){
  .trust-strip-inner{grid-template-columns:1fr 1fr}
}

/* =========================
   FLOW STEPS (optional)
   ========================= */
.flow-steps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:30px;
}
.flow-step{
  background:#fff;
  padding:22px;
  border-radius:18px;
  text-align:center;
  font-weight:800;
  box-shadow:0 12px 30px rgba(15,23,42,.08);
}
@media(max-width:900px){
  .flow-steps{grid-template-columns:1fr}
}

/* =========================
   HARVEST INDICATOR — premium glow + animated border
   - supports states via [data-state="delivery|harvest|growing"]
   - scroll soften via .is-scrolling (JS already adds it)
   ========================= */
.harvest-indicator{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin: 0 0 10px;
  padding:10px 14px;
  border-radius:14px;

  background: rgba(27,138,88,.12);
  border: 1px solid rgba(27,138,88,.28);
  color: var(--green);

  font-weight: 900;
  font-size: 13px;

  opacity: 0;
  transform: translateY(6px);
  transition: opacity .6s ease, transform .6s ease;

  position: relative;
  overflow: hidden;
  box-shadow:
    0 10px 26px rgba(15,23,42,.08),
    0 0 0 4px rgba(27,138,88,.08);
}
.harvest-show{ opacity: 1; transform: translateY(0); }
.harvest-hide{ opacity: 0; transform: translateY(-6px); }

/* state tint */
.harvest-indicator[data-state="delivery"]{
  background: rgba(27,138,88,.16);
  border-color: rgba(27,138,88,.34);
}
.harvest-indicator[data-state="harvest"]{
  background: rgba(255,204,102,.16);
  border-color: rgba(255,159,26,.30);
  color: rgba(74,44,0,.92);
}
.harvest-indicator[data-state="growing"]{
  background: rgba(27,138,88,.12);
  border-color: rgba(27,138,88,.28);
}

/* scroll soften (you had JS but no CSS earlier) */
.harvest-indicator.is-scrolling{
  box-shadow:
    0 10px 26px rgba(15,23,42,.06),
    0 0 0 2px rgba(27,138,88,.06) !important;
  filter: saturate(.98);
}

/* animated border light */
.harvest-indicator::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: inherit;
  padding: 2px;

  background: conic-gradient(
    from 0deg,
    rgba(27,138,88,0),
    rgba(27,138,88,.65),
    rgba(27,138,88,0),
    rgba(27,138,88,.55),
    rgba(27,138,88,0)
  );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  opacity: 0;
  transform: rotate(0deg);
}

/* soft inner pulse glow */
.harvest-indicator::after{
  content:"";
  position:absolute;
  inset:-30%;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 50%, rgba(27,138,88,.30), transparent 60%);
  opacity: 0;
  filter: blur(16px);
  transform: translateX(-10px);
}

.harvest-indicator.harvest-show::before{
  opacity: .95;
  animation: harvestBorderSpin 1.6s linear infinite;
}
.harvest-indicator.harvest-show::after{
  opacity: .9;
  animation: harvestGlowPulse 1.2s ease-in-out infinite;
}
.harvest-indicator.harvest-hide::before,
.harvest-indicator.harvest-hide::after{
  opacity: 0 !important;
  animation: none !important;
}
@keyframes harvestBorderSpin{ to { transform: rotate(360deg); } }
@keyframes harvestGlowPulse{
  0%   { transform: translateX(-10px) scale(1);   opacity: .55; }
  50%  { transform: translateX(8px)  scale(1.04); opacity: .95; }
  100% { transform: translateX(-10px) scale(1);   opacity: .55; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .harvest-indicator::before,
  .harvest-indicator::after{
    animation: none !important;
  }
}

/* =========================
   SOCIAL PROOF GRID
   ========================= */
.social-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:16px;
  margin-top:24px;
}
.social-card{
  position:relative;
  border-radius:20px;
  overflow:hidden;
  cursor:pointer;
  box-shadow: 0 16px 40px rgba(15,23,42,.10);
  transition: transform .2s ease, box-shadow .2s ease;
  transform: translateZ(0);
}
.social-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15,23,42,.16);
}
.social-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(520px 260px at 30% 40%, rgba(27,138,88,.10), transparent 60%),
    linear-gradient(180deg, rgba(15,23,42,0) 35%, rgba(15,23,42,.55) 100%);
  opacity: .55;
  transition: opacity .35s ease;
  z-index: 1;
  pointer-events:none;
}
.social-card img{
  width:100%;
  height:200px;
  object-fit:cover;
  display:block;
  transform: scale(1.02);
  transition: transform .55s ease, filter .55s ease;
}
.social-card:hover img{
  transform: scale(1.08);
  filter: saturate(1.10) contrast(1.06);
}
.social-card:hover::before{ opacity: .72; }

.social-overlay{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:14px 16px;
  font-weight:800;
  color:white;
  font-size:14px;
  background: none;
  z-index: 2;
  transform: translateY(2px);
  transition: transform .35s ease, opacity .35s ease;
  opacity: .96;
}
.social-card:hover .social-overlay{
  transform: translateY(-2px);
  opacity: 1;
}

@media(max-width:980px){
  .social-grid{ grid-template-columns: 1fr 1fr; }
  .social-card:active img{ transform: scale(1.05); }
}
@media (max-width: 640px) {
  /* fix #6: horizontal swipe carousel */
  .social-proof .container {
    padding-left: 0;
    padding-right: 0;
  }
  .social-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 0 20px 12px;
    scrollbar-width: none;
  }
  .social-grid::-webkit-scrollbar { display: none; }
  .social-card {
    scroll-snap-align: start;
    flex: 0 0 72vw;
    max-width: 260px;
  }
  .social-card img { height: 200px; }
  /* Always show overlay on touch — no hover state */
  .social-overlay {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}

/* =========================
   HERO PROOF PILL
   ========================= */
.hero-proof-pill{
  margin: -28px auto 30px;
  padding: 12px 22px;
  width: fit-content;
  max-width: 94%;

  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  font-weight:700;
  font-size:15px;
  text-align:center;
  color:#1f2937;

  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-radius: 999px;

  border:1px solid rgba(0,0,0,0.06);
  box-shadow:
    0 12px 30px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.6);

  position:relative;
  z-index:5;
}
.hero-proof-pill span{
  font-weight:800;
  color:#1b8a58;
}
@media (max-width:640px){
  .hero-proof-pill{
    font-size:13px;
    padding:10px 14px;
    margin-top:-20px;
  }
}

/* =========================
   FIX: MOBILE HERO LAYOUT
   ========================= */
@media (max-width: 640px){
  .hero{ padding: 64px 0 28px !important; min-height: auto !important; }
  .hero-inner{ min-height: auto !important; align-items: flex-start !important; padding-top: 10px !important; }
  .hero-copy{ max-width: 100% !important; transform: none !important; }
  .hero h1 br{ display: none !important; }
  .hero h1{
    font-size: clamp(24px, 8vw, 34px) !important;
    line-height: 1.12 !important;
    margin: 12px 0 10px !important;
    max-width: 100% !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }
  .lead{ margin: 0 0 12px !important; font-size: clamp(13px, 3.5vw, 15px) !important; }
  .hero-actions{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
  }
  .hero-actions .btn{ width: 100% !important; }
  .hero-trust{
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
    margin-top: 8px !important;
  }
  .trust-card{ width: 100% !important; min-width: 0 !important; padding: 12px 12px !important; }
  .trust-card img{ width: 46px !important; height: 46px !important; }
  .pill{ font-size: 12.5px !important; padding: 7px 10px !important; }
}

/* =========================
   MOBILE STICKY CTA (optional)
   ========================= */
.mobile-cta{ display:none; }
@media (max-width: 640px){
  .mobile-cta{
    display:block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    padding: 10px 14px 12px;
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.86) 40%, rgba(255,255,255,.95));
    border-top: 1px solid rgba(15,23,42,.06);
    backdrop-filter: blur(12px);
  }
  .mobile-cta .btn{
    width: 100%;
    border-radius: 16px;
    padding: 14px 16px;
    font-size: 15px;
  }
  body{ padding-bottom: 78px; }
}

/* =========================
   UI breathe helper
   ========================= */
@keyframes uiBreathe{
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.018); }
}
.ui-breathe{
  animation: uiBreathe 3.8s ease-in-out infinite;
  will-change: transform;
}
.selected-pack-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.selected-pack-actions button,
.selected-pack-actions a {
  flex: 1;
}
@media (max-width: 640px) {
  .selected-pack-actions {
    flex-direction: row !important;
  }
}
/* ============================================================================
   DELIVERY AREAS - FIXED VERSION
   Collapsible, mobile-friendly, proper alignment
   ============================================================================ */

/* Delivery Areas Container */
.delivery-areas {
  margin-top: 24px;
  margin-bottom: 32px;
}

/* Collapsible Header/Toggle Button */
.delivery-areas__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 16px;
  
  font-weight: 700;
  font-size: 16px;
  color: var(--text, #0f172a);
  
  cursor: pointer;
  transition: all 0.2s ease;
  
  text-align: left;
}

.delivery-areas__toggle:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(15, 23, 42, 0.14);
  transform: translateY(-1px);
}

.delivery-areas__toggle:active {
  transform: translateY(0);
}

.delivery-areas__toggle-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green, #16a34a);
  font-size: 14px;
}

.delivery-areas__toggle-icon svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.delivery-areas__toggle[aria-expanded="true"] .delivery-areas__toggle-icon svg {
  transform: rotate(180deg);
}

/* Collapsible Content */
.delivery-areas__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
  margin-top: 0;
}

.delivery-areas__content.is-open {
  max-height: 1000px; /* Large enough to fit all content */
  margin-top: 12px;
}

/* Areas Grid */
.delivery-areas__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  padding: 16px;
  
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
}

/* Area Chip/Badge */
.delivery-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  
  padding: 10px 14px;
  
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 12px;
  
  font-size: 14px;
  font-weight: 600;
  color: var(--text, #0f172a);
  
  transition: all 0.2s ease;
  
  /* Prevent text from breaking awkwardly */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.delivery-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.14);
}

/* Active Area Indicator (Green Dot) */
.delivery-chip--active::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green, #16a34a);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

/* Coming Soon Area (Light green badge) */
.delivery-chip--coming-soon {
  background: rgba(134, 239, 172, 0.12);
  border-color: rgba(22, 163, 74, 0.2);
  color: var(--green2, #1b8a58);
}

.delivery-chip--coming-soon::after {
  content: "Soon";
  font-size: 11px;
  font-weight: 700;
  color: var(--green, #16a34a);
  background: rgba(134, 239, 172, 0.3);
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: auto;
}

/* Section Headers */
.delivery-areas__section {
  margin-bottom: 20px;
}

.delivery-areas__section:last-child {
  margin-bottom: 0;
}

.delivery-areas__section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted, #64748b);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  padding-left: 4px;
}

/* Mobile Optimization */
@media (max-width: 640px) {
  .delivery-areas__grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
    padding: 12px;
  }
  
  .delivery-chip {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .delivery-areas__toggle {
    padding: 14px 16px;
    font-size: 15px;
  }
  
  /* Better text wrapping on mobile */
  .delivery-chip {
    white-space: normal; /* Allow wrapping on mobile if needed */
    word-break: break-word;
  }
}

/* Form Row Fix - Proper alignment */
.form-row {
  display: flex;
  gap: 12px;
  align-items: stretch; /* Make button same height as input */
  margin-bottom: 12px;
}

.form-row .input {
  flex: 1;
  min-width: 0; /* Prevent input from overflowing */
}

.form-row .btn {
  flex-shrink: 0; /* Prevent button from shrinking */
  white-space: nowrap; /* Keep button text on one line */
}

/* Mobile form stack */
@media (max-width: 640px) {
  .form-row {
    flex-direction: column;
    gap: 10px;
  }
  
  .form-row .btn {
    width: 100%; /* Full width button on mobile */
  }
}

/* Dark Mode Support */
[data-theme="dark"] .delivery-areas__toggle {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .delivery-areas__toggle:hover {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .delivery-areas__grid {
  background: rgba(15, 23, 42, 0.4);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .delivery-chip {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

[data-theme="dark"] .delivery-chip--coming-soon {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.25);
  color: rgb(134, 239, 172);
}



/* =========================
   HERO SCRIM DISABLED (by request)
   ========================= */
.hero-scrim{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
}

/* =========================
   FIX #7: Plan card fixes
   ========================= */
.plan {
  scroll-margin-top: 80px;
}
.plan-price {
  font-size: clamp(26px, 8vw, 34px);
}
.plan-per {
  font-size: 13px;
  line-height: 1.4;
  white-space: normal;
  word-break: break-word;
}
.plan-highlight .plan-title {
  padding-top: 28px;
}
@media (max-width: 640px) {
  .plan-highlight .plan-title {
    padding-top: 32px;
  }
}

/* =========================
   FIX #10: Hero trust-sub light text
   ========================= */
.hero .trust-sub {
  color: rgba(255, 255, 255, 0.82);
}

/* =========================
   FIX #12: Recipe modal title + mobile bottom-sheet
   ========================= */
#recipeModalTitle {
  padding-right: 44px;
  font-size: 18px;
  line-height: 1.3;
}
@media (max-width: 640px) {
  .recipe-modal {
    padding: 16px 12px;
    align-items: flex-end;
  }
  .recipe-modal-content {
    border-radius: 24px 24px 12px 12px;
    padding: 20px 16px 24px;
    width: 100%;
    max-width: 100%;
  }
}

/* =========================
   FIX #14: Delivery map skeleton (prevents CLS)
   ========================= */
#deliveryMap {
  min-height: 280px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(27,138,88,.06) 0%,
    rgba(27,138,88,.02) 100%
  );
}
#deliveryMap:not(.leaflet-container) {
  animation: mapSkeleton 1.6s ease-in-out infinite;
}
#deliveryMap:not(.leaflet-container)::after {
  content: "Loading map…";
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 280px;
  color: rgba(27,138,88,.5);
  font-size: 13px;
  font-weight: 600;
}
@keyframes mapSkeleton {
  0%, 100% { opacity: .7; }
  50% { opacity: 1; }
}

/* =========================
   FIX #15: Scroll-margin for ALL anchored sections
   ========================= */
section[id],
[id="top"] {
  scroll-margin-top: 80px;
}
