/* ==========================================================================
   Everyday Supermarket — everydaystore.in
   Design system + page styles
   --------------------------------------------------------------------------
   Palette : deep pine green (trust / fresh) on warm paper cream,
             saffron-orange accent (Indian warmth), sage tints for surfaces.
   Type    : Fraunces (display serif, high optical size) + Plus Jakarta Sans.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* brand greens */
  --brand-900: #072A1E;
  --brand-800: #0C3A29;
  --brand-700: #12503A;
  --brand-600: #1A6B4C;
  --brand-500: #268A62;

  /* mint + sage neutrals */
  --mint-300: #8ED6A9;
  --mint-100: #DCF0E3;
  --sage-200: #D3E2D6;
  --sage-100: #E7F0E8;
  --sage-50:  #F2F7F2;

  /* warm accents */
  --accent:      #E4722A;
  --accent-600:  #C95C1B;
  --accent-100:  #FBE7D6;
  --berry:       #B5334B;

  /* paper + ink */
  --cream:  #FBF7F0;
  --paper:  #FFFFFF;
  --ink:    #12211B;
  --ink-2:  #3B564A;
  --ink-3:  #586E64;

  /* type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system,
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-display: clamp(2.6rem, 1.55rem + 4.5vw, 5rem);
  --fs-h2:      clamp(1.95rem, 1.35rem + 2.5vw, 3.15rem);
  --fs-h3:      clamp(1.125rem, 1.04rem + .35vw, 1.3rem);
  --fs-lead:    clamp(1.0625rem, 1rem + .45vw, 1.3125rem);
  --fs-body:    1.0625rem;
  --fs-sm:      .9375rem;
  --fs-xs:      .8125rem;

  /* space */
  --shell: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 8vw, 8.5rem);

  /* radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* elevation — green-tinted, never pure black */
  --sh-sm: 0 1px 2px rgba(7,42,30,.06), 0 3px 10px rgba(7,42,30,.05);
  --sh-md: 0 2px 4px rgba(7,42,30,.04), 0 14px 32px -10px rgba(7,42,30,.16);
  --sh-lg: 0 30px 70px -26px rgba(7,42,30,.32);

  --header-h: 74px;
  /* header incl. its always-present 1px bottom border */
  --header-offset: 75px;
  --ease: cubic-bezier(.22,.68,.32,1);
}

/* ---------- 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-offset) + 16px);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.022em;
  font-variation-settings: "opsz" 90;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

img, svg, iframe { display: block; max-width: 100%; }
address { font-style: normal; }

a { color: inherit; }

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

table { border-collapse: collapse; width: 100%; }

::selection { background: var(--brand-700); color: var(--cream); }

/* ---------- 3. A11y helpers --------------------------------------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  transform: translateY(-160%);
  padding: .75rem 1.15rem;
  background: var(--brand-700); color: var(--cream);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm); font-weight: 600; text-decoration: none;
  box-shadow: var(--sh-md);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

:where(a, button, input, [tabindex]):focus-visible {
  outline: 3px solid var(--accent-600);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 4. Layout primitives ---------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }

.section--sage {
  background: var(--sage-50);
  border-block: 1px solid var(--sage-200);
}

.section__head { max-width: 38rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--center { max-width: 32rem; margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }

.section__title { font-size: var(--fs-h2); }
.section__sub {
  max-width: 34rem;
  margin-top: 1.15rem;
  font-size: var(--fs-lead);
  color: var(--ink-3);
  line-height: 1.62;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 0 0 1.15rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brand-600);
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(228,114,42,.16);
}

@media (max-width: 480px) {
  .eyebrow { font-size: .75rem; letter-spacing: .1em; }
}

.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink); font-weight: 500; }

.br-lg { display: none; }
@media (min-width: 900px) { .br-lg { display: inline; } }

.link {
  color: var(--brand-700);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(228,114,42,.55);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease),
              text-underline-offset .2s var(--ease);
}
.link:hover {
  color: var(--accent-600);
  text-decoration-color: var(--accent);
  text-underline-offset: 6px;
}

/* ---------- 5. Buttons --------------------------------------------------- */
.btn {
  --btn-bg: var(--brand-700);
  --btn-fg: var(--cream);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.4rem;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background-color .22s var(--ease), border-color .22s var(--ease);
}
.btn .ico { width: 1.15em; height: 1.15em; flex: none; }

.btn--primary { box-shadow: 0 6px 18px -8px rgba(7,42,30,.55); }
.btn--primary:hover { --btn-bg: var(--brand-600); transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(7,42,30,.55); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--brand-800);
  border: 1.5px solid var(--sage-200);
  background: rgba(255,255,255,.7);
}
.btn--ghost:hover {
  --btn-fg: var(--brand-700);
  border-color: var(--brand-600);
  background: var(--paper);
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
}

.btn--lg { padding: 1.02rem 1.85rem; font-size: 1.0625rem; }
.btn--sm { padding: .62rem 1.05rem; font-size: .875rem; }

/* ---------- 6. Header ---------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,247,240,.82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--sage-200);
  box-shadow: 0 6px 24px -14px rgba(7,42,30,.32);
  background: rgba(251,247,240,.94);
}

.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--header-h);
}

/* brand lockup */
.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  text-decoration: none;
  flex: none;
}
.brand__mark { width: 40px; height: 40px; flex: none; transition: transform .4s var(--ease); }
.brand__mark svg { width: 100%; height: 100%; }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.05); }

.brand__text { display: grid; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 30;
  font-size: 1.22rem; font-weight: 600; letter-spacing: -.02em;
  color: var(--brand-800);
}
.brand__sub {
  margin-top: .22rem;
  font-size: .6rem; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink-3);
}

/* always-visible actions cluster */
.header__actions { display: flex; align-items: center; gap: .5rem; flex: none; }
.header__cta .ico { width: 1.25em; height: 1.25em; }

/* nav */
.nav { display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: .35rem; }

.nav__link {
  position: relative;
  display: block;
  padding: .5rem .78rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm); font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute; left: .78rem; right: .78rem; bottom: .28rem;
  height: 2px; border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav__link:hover { color: var(--brand-800); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--brand-800); font-weight: 600; }

/* hamburger */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  place-items: center;
  padding: 0;
  border-radius: var(--r-sm);
}
.hamburger__box {
  position: relative; display: block; width: 22px; height: 14px;
}
.hamburger__bar,
.hamburger__bar::before,
.hamburger__bar::after {
  position: absolute; left: 0;
  width: 22px; height: 2px; border-radius: 2px;
  background: var(--brand-800);
  transition: transform .3s var(--ease), opacity .2s var(--ease), width .3s var(--ease);
}
.hamburger__bar { top: 6px; }
.hamburger__bar::before { content: ""; top: -6px; }
.hamburger__bar::after  { content: ""; top: 6px; width: 15px; }

.hamburger[aria-expanded="true"] .hamburger__bar { transform: rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger__bar::before { transform: translateY(6px) rotate(-90deg); }
.hamburger[aria-expanded="true"] .hamburger__bar::after { opacity: 0; }

.nav-scrim {
  position: fixed; inset: var(--header-offset) 0 0; z-index: 90;
  background: rgba(7,42,30,.42);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.nav-scrim.is-visible { opacity: 1; }

/* ---------- 7. Hero ------------------------------------------------------ */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}

.hero__wash {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(58% 62% at 88% 8%,  rgba(228,114,42,.13), transparent 62%),
    radial-gradient(52% 55% at 4% 22%,  rgba(38,138,98,.14),  transparent 60%),
    radial-gradient(80% 60% at 50% 100%, rgba(220,240,227,.9), transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(currentColor 1px, transparent 1px);
  background-size: 26px 26px;
  color: rgba(18,80,58,.07);
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 78%);
  pointer-events: none;
}

.hero__inner {
  position: relative; z-index: 1;
  display: grid; gap: clamp(2.75rem, 6vw, 4rem);
  align-items: center;
}

.hero__title {
  font-size: var(--fs-display);
  font-variation-settings: "opsz" 144;
  letter-spacing: -.032em;
  line-height: .99;
}
.hero__title .mark {
  position: relative;
  font-style: italic;
  color: var(--brand-700);
  white-space: nowrap;
}
.hero__title .mark::after {
  content: "";
  position: absolute; left: -.02em; right: -.02em; bottom: .04em;
  height: .12em;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--accent), #F0A461);
  opacity: .42;
  z-index: -1;
}

.hero__lead {
  max-width: 54ch;
  margin-top: 1.6rem;
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--ink-2);
}

.hero__actions {
  display: flex; flex-wrap: wrap; gap: .85rem;
  margin-top: 2.25rem;
}

.trust {
  display: flex; flex-wrap: wrap; gap: .6rem 1.65rem;
  margin-top: 2.5rem;
  padding-top: 1.85rem;
  border-top: 1px solid var(--sage-200);
}
.trust__item {
  display: flex; align-items: center; gap: .55rem;
  font-size: var(--fs-sm);
  color: var(--ink-3);
}
.trust__item strong { color: var(--ink); font-weight: 600; }
.trust__item .ico { width: 18px; height: 18px; flex: none; color: var(--brand-600); }
.ico--accent { color: var(--accent-600) !important; }

/* hero art */
.hero__art { position: relative; }
.storefront {
  width: 100%; height: auto;
  filter: drop-shadow(0 26px 40px rgba(7,42,30,.13));
}

.float-card {
  position: absolute;
  display: flex; align-items: center; gap: .7rem;
  padding: .7rem .95rem;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--sage-200);
  box-shadow: var(--sh-md);
}
.float-card__body { display: grid; line-height: 1.28; }
.float-card__body strong { font-size: .9375rem; font-weight: 700; color: var(--ink); }
.float-card__body small { font-size: .75rem; color: var(--ink-3); }

.float-card__icon {
  display: grid; place-items: center;
  width: 34px; height: 34px; flex: none;
  border-radius: var(--r-sm);
  background: var(--accent-100);
  color: var(--accent-600);
}
.float-card__icon svg { width: 19px; height: 19px; }

.float-card__pulse {
  position: relative;
  width: 10px; height: 10px; flex: none;
  margin-inline: .3rem;
  border-radius: 50%;
  background: var(--brand-500);
}
.float-card__pulse::after {
  content: "";
  position: absolute; inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--brand-500);
  opacity: .5;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%   { transform: scale(.6); opacity: .7; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.float-card--rating { top: 7%; right: -2%; animation: bob 7s ease-in-out infinite; }
.float-card--open   { bottom: 12%; left: -3%; animation: bob 7s ease-in-out .9s infinite reverse; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* ---------- 8. Ticker ---------------------------------------------------- */
.ticker {
  overflow: hidden;
  padding-block: .9rem;
  background: var(--brand-800);
  color: var(--mint-300);
  border-block: 1px solid var(--brand-900);
  user-select: none;
}
.ticker__track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.ticker__group { display: flex; align-items: center; gap: 2.25rem; padding-right: 2.25rem; }
.ticker__group span {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 40;
  font-size: clamp(1rem, .9rem + .5vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -.01em;
  white-space: nowrap;
  color: var(--cream);
}
.ticker__group i { font-style: normal; font-size: .7rem; color: var(--accent); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- 9. About ----------------------------------------------------- */
.about__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
.about__body p { color: var(--ink-2); }
.about__body .lead { margin-bottom: 1.35rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 2.75rem;
  background: var(--sage-200);
  border: 1px solid var(--sage-200);
  border-radius: var(--r-md);
  overflow: hidden;
}
.stat {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 1.15rem 1.25rem;
  background: var(--cream);
}
.stat dt {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.stat dd {
  margin-top: auto;
  padding-top: .3rem;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 72;
  font-size: 1.75rem; font-weight: 600; line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--brand-700);
}

/* ---------- 10. Departments --------------------------------------------- */
.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.card {
  position: relative;
  padding: 1.75rem 1.6rem 1.85rem;
  background: var(--paper);
  border: 1px solid var(--sage-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card::before {
  content: "";
  position: absolute; inset: auto -40px -60px auto;
  width: 150px; height: 150px; border-radius: 50%;
  background: var(--sage-100);
  opacity: 0;
  transition: opacity .35s var(--ease), transform .45s var(--ease);
  transform: scale(.6);
}
.card > * { position: relative; }
.card:hover {
  transform: translateY(-5px);
  border-color: var(--mint-300);
  box-shadow: var(--sh-md);
}
.card:hover::before { opacity: 1; transform: scale(1); }

.card__icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 1.15rem;
  border-radius: 16px;
  transition: transform .35s var(--ease);
}
.card__icon svg { width: 32px; height: 32px; }
.card:hover .card__icon { transform: rotate(-5deg) scale(1.06); }

.card__icon--green { background: var(--mint-100); color: var(--brand-600); }
.card__icon--amber { background: var(--accent-100); color: var(--accent-600); }
.card__icon--blue  { background: #E1ECF6; color: #2C5F8E; }
.card__icon--rose  { background: #F8E2E6; color: var(--berry); }
.card__icon--ink   { background: var(--sage-100); color: var(--brand-800); }

.card__title { font-size: var(--fs-h3); font-variation-settings: "opsz" 40; margin-bottom: .5rem; }
.card__text { font-size: var(--fs-sm); color: var(--ink-3); line-height: 1.62; }

.departments__foot {
  display: grid;
  gap: 1.15rem;
  justify-items: start;
  margin-top: clamp(2.25rem, 4vw, 3rem);
  padding: 1.6rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--sage-200);
  border-radius: var(--r-lg);
}

.departments__note {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--ink-3);
}

.departments__delivery {
  margin: 0;
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

/* ---------- 11. Why ------------------------------------------------------ */
.features { display: grid; gap: clamp(1.75rem, 3.5vw, 2.75rem); }

.feature { display: flex; gap: 1.15rem; align-items: flex-start; }
.feature__icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; flex: none;
  border-radius: var(--r-md);
  background: var(--brand-700);
  color: var(--mint-300);
  box-shadow: 0 8px 20px -12px rgba(7,42,30,.7);
}
.feature__icon svg { width: 29px; height: 29px; }
.feature__title { font-size: var(--fs-h3); font-variation-settings: "opsz" 40; margin-bottom: .45rem; }
.feature__body p { font-size: var(--fs-sm); color: var(--ink-3); line-height: 1.65; }

/* ---------- 12. Location ------------------------------------------------- */
.location__grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: stretch; }

.map-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--sage-200);
  box-shadow: var(--sh-md);
  background: var(--sage-100);
  aspect-ratio: 4 / 3;
}
@media (max-width: 480px) { .map-frame { aspect-ratio: 1 / 1; } }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: saturate(.92); }

.location__info { display: grid; gap: 1rem; }

.info-block {
  padding: 1.6rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--sage-200);
  border-radius: var(--r-lg);
}
.info-block__title {
  display: flex; align-items: center; gap: .55rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.info-block__title .ico { width: 17px; height: 17px; }
.info-block__body {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  font-weight: 500;
}
.info-block .btn { margin-top: 1.35rem; }

.hours th, .hours td {
  padding: .52rem 0;
  font-size: var(--fs-sm);
  text-align: left;
  border-bottom: 1px dashed var(--sage-200);
}
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { font-weight: 500; color: var(--ink-2); }
.hours td { text-align: right; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.hours__note { margin-top: 1rem; font-size: var(--fs-xs); color: var(--ink-3); }

/* ---------- 13. Contact band --------------------------------------------- */
.cta-band {
  position: relative;
  padding: clamp(2.5rem, 5.5vw, 4.5rem) clamp(1.5rem, 4vw, 4rem);
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, var(--brand-800), var(--brand-900) 62%);
  color: var(--sage-100);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.cta-band__pattern {
  position: absolute; inset: 0;
  color: rgba(142,214,169,.12);
  pointer-events: none;
}
.cta-band__pattern svg { width: 100%; height: 100%; }
.cta-band__inner { position: relative; }

.cta-band__head { max-width: 34rem; margin-bottom: clamp(2.25rem, 4.5vw, 3.25rem); }
.cta-band__title {
  font-size: var(--fs-h2);
  color: var(--cream);
  font-variation-settings: "opsz" 120;
}
.cta-band__sub {
  margin-top: 1.15rem;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: rgba(231,240,232,.78);
}

.contact-cards { display: grid; gap: 1rem; }

.contact-card {
  display: flex; flex-direction: column;
  padding: 1.6rem 1.5rem;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(142,214,169,.2);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.contact-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(142,214,169,.45);
  transform: translateY(-4px);
}
.contact-card__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: var(--mint-300);
  color: var(--brand-900);
}
.contact-card__icon svg { width: 25px; height: 25px; }
.contact-card__title {
  font-size: var(--fs-h3);
  font-variation-settings: "opsz" 40;
  color: var(--cream);
  margin-bottom: .45rem;
}
.contact-card__text {
  font-size: var(--fs-sm);
  color: rgba(231,240,232,.7);
  line-height: 1.6;
  margin-bottom: 1.35rem;
}
.contact-card__link {
  display: inline-flex; align-items: center; gap: .45rem;
  min-height: 44px;
  margin-top: auto;
  font-size: var(--fs-sm); font-weight: 600;
  color: var(--mint-300);
  text-decoration: none;
}
.contact-card__link svg { width: 17px; height: 17px; transition: transform .28s var(--ease); }
.contact-card__link:hover { color: var(--cream); }
.contact-card__link:hover svg { transform: translateX(4px); }
.contact-card__link:focus-visible { outline-color: var(--mint-300); }

/* ---------- 14. Instagram follow band ------------------------------------ */
/* Sits between the contact band and the footer, so it only needs bottom room. */
.follow { padding-block: 0 var(--section-y); }

.follow__band {
  position: relative;
  display: grid;
  gap: 1.35rem;
  justify-items: start;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--paper);
  border: 1px solid var(--sage-200);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
.follow__band::before {
  content: "";
  position: absolute; inset: auto -70px -110px auto;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(228,114,42,.16), rgba(38,138,98,.12) 70%, transparent 72%);
  pointer-events: none;
}
.follow__band > * { position: relative; }

.follow__chip {
  display: grid; place-items: center;
  width: 56px; height: 56px; flex: none;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--brand-600), var(--brand-500) 40%, var(--accent) 115%);
  color: var(--cream);
  box-shadow: 0 10px 22px -12px rgba(7,42,30,.7);
}
.follow__chip svg { width: 30px; height: 30px; }

.follow__body .eyebrow { margin-bottom: .85rem; }

.follow__title {
  font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.4rem);
  font-variation-settings: "opsz" 72;
  word-break: break-word;
}
.follow__text {
  max-width: 46ch;
  margin: .85rem 0 0;
  font-size: var(--fs-sm);
  color: var(--ink-3);
  line-height: 1.65;
}

.follow__cta .ico { width: 1.25em; height: 1.25em; }

/* ---------- 15. Footer --------------------------------------------------- */
.site-footer {
  padding-top: clamp(3rem, 6vw, 5rem);
  background: var(--sage-50);
  border-top: 1px solid var(--sage-200);
}

.footer__grid {
  display: grid; gap: 2.5rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.brand--footer { margin-bottom: 1.1rem; }
.footer__tagline {
  max-width: 34ch;
  font-size: var(--fs-sm);
  color: var(--ink-3);
  line-height: 1.65;
}

.social { display: flex; gap: .6rem; margin-top: 1.35rem; }
.social__link {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: var(--r-pill);
  border: 1px solid var(--sage-200);
  background: var(--paper);
  color: var(--brand-700);
  transition: background-color .25s var(--ease), color .25s var(--ease),
              transform .25s var(--ease), border-color .25s var(--ease);
}
.social__link svg { width: 21px; height: 21px; }
.social__link:hover {
  background: var(--brand-700);
  border-color: var(--brand-700);
  color: var(--cream);
  transform: translateY(-3px);
}

.footer__heading {
  margin-bottom: .6rem;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.footer__links { display: grid; gap: .1rem; }
.footer__links a {
  display: inline-block;
  justify-self: start;
  padding-block: .5rem;
  font-size: var(--fs-sm);
  color: var(--ink-2);
  text-decoration: none;
  transition: color .2s var(--ease), padding-left .25s var(--ease);
}
.footer__links a:hover { color: var(--brand-700); padding-left: 5px; }

.footer__address { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.75; }
.footer__hours { margin-top: .85rem; font-size: var(--fs-sm); font-weight: 600; color: var(--brand-700); }

.footer__map {
  height: 200px;
  margin-top: 1.25rem;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--sage-200);
  background: var(--sage-100);
  box-shadow: var(--sh-sm);
}
.footer__map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.92); }

.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--sage-200);
  font-size: var(--fs-xs);
  color: var(--ink-3);
}
.footer__base p { margin: 0; }

/* ---------- 16. Scroll reveal -------------------------------------------- */
/* Scoped to .js so that with JavaScript disabled everything renders normally. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .72s var(--ease), transform .72s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
.reveal-off [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ---------- 17. Floating WhatsApp button --------------------------------- */
.wa-fab {
  position: fixed;
  z-index: 80;
  right: clamp(.9rem, 3vw, 1.6rem);
  bottom: calc(clamp(.9rem, 3vw, 1.6rem) + env(safe-area-inset-bottom, 0px));
  display: grid; place-items: center;
  width: 58px; height: 58px;
  border-radius: var(--r-pill);
  background: var(--brand-700);
  color: var(--cream);
  text-decoration: none;
  box-shadow: 0 12px 26px -10px rgba(7,42,30,.6), 0 2px 6px rgba(7,42,30,.18);
  transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s,
              background-color .25s var(--ease), box-shadow .3s var(--ease);
}
.wa-fab svg { position: relative; width: 31px; height: 31px; }
.wa-fab:hover { background: var(--brand-600); transform: translateY(-3px); box-shadow: 0 18px 34px -12px rgba(7,42,30,.6); }
.wa-fab:active { transform: translateY(0); }

/* soft emanating ring — purely decorative */
.wa-fab__ring {
  position: absolute; inset: 0;
  border-radius: inherit;
  border: 2px solid var(--brand-500);
  pointer-events: none;
  animation: fabRing 3.2s var(--ease) infinite;
}
@keyframes fabRing {
  0%        { transform: scale(1);    opacity: .5; }
  70%, 100% { transform: scale(1.42); opacity: 0; }
}

/* With JS the button fades in past the hero and tucks away over the footer.
   Without JS it simply stays visible. */
.js .wa-fab {
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.85);
  pointer-events: none;
}
.js .wa-fab.is-in {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.js .wa-fab.is-in:hover { transform: translateY(-3px); }
.js .wa-fab.is-in.is-tucked { opacity: .62; transform: scale(.84); }
.js .wa-fab.is-in.is-tucked:hover { opacity: 1; transform: scale(.94) translateY(-2px); }

@media (max-width: 480px) {
  .wa-fab { width: 54px; height: 54px; }
  .wa-fab svg { width: 28px; height: 28px; }
}

/* ==========================================================================
   18. Breakpoints
   ========================================================================== */

/* --- ≥ 560px : two-up stats / cards ------------------------------------- */
@media (min-width: 560px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
}

/* --- ≤ 900px : mobile navigation ---------------------------------------- */
@media (max-width: 900px) {
  .hamburger { display: grid; }

  /* CTA collapses to an icon-only pill so it stays visible next to the logo */
  .header__cta { padding: .6rem; width: 42px; height: 42px; }
  .header__cta .ico { width: 22px; height: 22px; }
  .header__cta-label {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }

  .nav {
    position: fixed;
    top: var(--header-offset); left: 0; right: 0;
    z-index: 95;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 1.5rem var(--gutter) 2rem;
    background: var(--cream);
    border-bottom: 1px solid var(--sage-200);
    box-shadow: 0 20px 40px -22px rgba(7,42,30,.4);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: transform .32s var(--ease), opacity .28s var(--ease), visibility .32s;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    padding: .95rem .25rem;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--sage-200);
    border-radius: 0;
  }
  .nav__link::after { left: .25rem; right: auto; width: 26px; bottom: .55rem; }

  body.nav-open { overflow: hidden; }
}

/* --- ≥ 901px : desktop -------------------------------------------------- */
@media (min-width: 901px) {
  .nav-scrim { display: none !important; }

  .hero__inner { grid-template-columns: 1.06fr .94fr; }

  .about__grid { grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 6vw, 5.5rem); }
  .about__intro { position: sticky; top: calc(var(--header-h) + 2.5rem); align-self: start; }

  .cards { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .card--wide { grid-column: span 3; display: grid; grid-template-columns: auto 1fr; column-gap: 1.6rem; align-items: center; }
  .card--wide .card__icon { margin-bottom: 0; grid-row: span 2; }
  .card--wide .card__title { align-self: end; }
  .card--wide .card__text { max-width: 46rem; align-self: start; }

  .features { grid-template-columns: repeat(2, 1fr); column-gap: clamp(2rem, 5vw, 4.5rem); }

  .location__grid { grid-template-columns: 1.1fr .9fr; }
  .map-frame { aspect-ratio: auto; height: 100%; min-height: 460px; }

  .contact-cards { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

  /* note left, button right, delivery line under the note */
  .departments__foot {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: .75rem 2rem;
    padding: 1.75rem 1.9rem;
  }
  .departments__cta { grid-column: 2; grid-row: 1 / span 2; }
  .departments__delivery { grid-column: 1; grid-row: 2; }

  .follow__band {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem 2.25rem;
  }

  .footer__grid { grid-template-columns: 1.7fr 1fr 1.15fr 1.05fr; gap: 2.5rem 2.75rem; }
}

/* --- ≥ 1120px : roomier ------------------------------------------------- */
@media (min-width: 1120px) {
  .cards { gap: 1.5rem; }
  .contact-cards { gap: 1.5rem; }
  .float-card--rating { right: -6%; }
  .float-card--open { left: -7%; }
}

/* --- very small phones -------------------------------------------------- */
@media (max-width: 560px) {
  .hero__actions { display: grid; }
  .hero__actions .btn { width: 100%; }
  .departments__foot, .follow__band { justify-items: stretch; }
  .departments__cta, .follow__cta { width: 100%; }
}

@media (max-width: 380px) {
  .brand__sub { letter-spacing: .2em; font-size: .55rem; }
  .float-card--rating { right: 0; top: 3%; }
  .float-card--open { left: 0; bottom: 6%; }
  .trust { gap: .55rem 1.1rem; }
}

/* ---------- 19. Motion / print preferences ------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
  .float-card--rating, .float-card--open { animation: none; }
  .wa-fab__ring { animation: none; opacity: 0; }
  /* still show / hide the button, just without the slide or scale */
  .js .wa-fab { transform: none; }
  .js .wa-fab.is-in.is-tucked { transform: none; }
}

@media print {
  .site-header, .ticker, .hero__wash, .nav-scrim, .map-frame,
  .footer__map, .wa-fab { display: none !important; }
  body { background: #fff; color: #000; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
