/* ==========================================================================
   The Sapling Co. — Design System
   A unit of Shefali Nursery. Grown in Bengal, delivered across India.
   Palette, typography, and components are fixed to the brand identity.
   ========================================================================== */

/* ---------- Design tokens ------------------------------------------------- */
:root {
  /* Brand palette (fixed) */
  --forest:        #1A3A2A;
  --forest-dark:   #15321F;
  --cream:         #FBFAF6;
  --plum:          #4A2060;
  --gold:          #F5C842;
  --lime:          #9BD649;
  --lime-deep:     #7FBF33;
  --tile-green:    #E3F0D8;
  --tile-cream:    #F7EAD2;
  --tile-pink:     #FBEAF0;
  --tile-lilac:    #EEEDFE;

  /* Semantic tokens — light (default) */
  --bg:            var(--cream);
  --surface:       #FFFFFF;
  --surface-2:     #F4F1E8;
  --text:          #26332B;
  --text-muted:    #5F5E5A;
  --heading:       var(--forest);
  --accent:        var(--plum);
  --border:        rgba(20, 40, 28, 0.12);
  --border-strong: rgba(20, 40, 28, 0.22);
  --header-bg:     #0B1E12;
  --footer-bg:     var(--forest-dark);
  --on-dark:       #FBFAF6;
  --on-dark-muted: #C6D4BD;
  --cta-bg:        var(--lime);
  --cta-bg-hover:  var(--lime-deep);
  --cta-text:      var(--forest-dark);
  --ring:          #2f7d3f;
  --shadow-sm:     0 1px 2px rgba(20,40,28,.06), 0 1px 3px rgba(20,40,28,.05);
  --shadow-md:     0 4px 14px rgba(20,40,28,.08), 0 2px 6px rgba(20,40,28,.05);
  --shadow-lg:     0 18px 40px rgba(20,40,28,.14);

  /* Typography */
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif-bn: "Tiro Bangla", "Noto Serif Bengal", "Playfair Display", serif;
  --font-sans-bn:  "Hind Siliguri", "Noto Sans Bengali", "Inter", sans-serif;

  /* Radius */
  --radius:      16px;
  --radius-lg:   22px;
  --radius-sm:   10px;
  --radius-pill: 999px;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --header-h: 118px;

  /* Motion */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --dur: 200ms;
}

:root[data-theme="dark"] {
  --bg:            #0E1712;
  --surface:       #16211B;
  --surface-2:     #1E2C24;
  --text:          #E7EDE8;
  --text-muted:    #A6B3A9;
  --heading:       #E9F3DC;
  --accent:        #C9A6E4;
  --border:        rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.22);
  --header-bg:     #0B120E;
  --footer-bg:     #0B120E;
  --tile-green:    #22331E;
  --tile-cream:    #33301F;
  --tile-pink:     #331F27;
  --tile-lilac:    #26243A;
  --shadow-sm:     0 1px 2px rgba(0,0,0,.4);
  --shadow-md:     0 6px 18px rgba(0,0,0,.45);
  --shadow-lg:     0 20px 44px rgba(0,0,0,.55);
  --ring:          #9BD649;
}

/* ---------- Reset / base -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@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;
  }
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--heading);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: -0.01em;
}

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--lime); color: var(--forest-dark); }

/* ---------- Layout helpers ------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(2.4rem, 6vw, 4.5rem); }
.section--tight { padding-block: clamp(2rem, 4.5vw, 3rem); }
.section--alt { background: var(--surface-2); }

.section-head { max-width: 62ch; margin-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
:root[data-theme="dark"] .eyebrow { color: var(--lime); }
.section-title { font-size: clamp(1.45rem, 3vw, 2.1rem); }
.section-sub { margin-top: .7rem; color: var(--text-muted); font-size: .98rem; max-width: 60ch; }
.section-head.center .section-sub { margin-inline: auto; }

.lead { font-size: 1.02rem; color: var(--text-muted); }

/* Sprout divider motif */
.leaf-rule { display: flex; align-items: center; gap: .8rem; color: var(--lime); margin: 0 0 1rem; }
.leaf-rule::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* ---------- Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .98rem; line-height: 1;
  cursor: pointer; text-align: center;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  border: 1.5px solid transparent;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--cta-bg); color: var(--cta-text); box-shadow: 0 6px 18px rgba(155,214,73,.35); }
.btn--primary:hover { background: var(--cta-bg-hover); box-shadow: 0 10px 24px rgba(155,214,73,.42); }

.btn--secondary { background: transparent; color: var(--heading); border-color: var(--border-strong); }
.btn--secondary:hover { border-color: var(--forest); background: rgba(26,58,42,.05); }
:root[data-theme="dark"] .btn--secondary { color: var(--on-dark); }
:root[data-theme="dark"] .btn--secondary:hover { background: rgba(255,255,255,.06); }

.btn--on-dark { background: transparent; color: var(--on-dark); border-color: rgba(251,250,246,.45); }
.btn--on-dark:hover { background: rgba(251,250,246,.12); border-color: var(--on-dark); }

.btn--plum { background: var(--plum); color: #fff; }
.btn--plum:hover { background: #5c2a75; }
:root[data-theme="dark"] .btn--plum { background: var(--accent); color: #241033; }

.btn--sm { padding: .6rem 1.05rem; font-size: .875rem; }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- Header -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--header-bg);
  color: var(--on-dark);
  box-shadow: 0 1px 0 rgba(255,255,255,.05), 0 2px 14px rgba(0,0,0,.18);
}
.header-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .7rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand img { height: 56px; width: auto; }
.brand__unit {
  font-family: var(--font-sans);
  font-size: .62rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--on-dark-muted); line-height: 1.25; max-width: 12ch;
  padding-left: .7rem; border-left: 1px solid rgba(251, 250, 246, .28);
}
@media (max-width: 560px) {
  .brand { flex-direction: column; align-items: flex-start; gap: .15rem; }
  .brand img { height: 40px; }
  .brand__unit { font-size: .54rem; letter-spacing: .08em; padding-left: 0; border-left: 0; max-width: none; }
}

.nav-primary { display: flex; align-items: center; gap: .2rem; }
.nav-primary a {
  position: relative; color: var(--on-dark-muted);
  font-size: .88rem; font-weight: 500; padding: .5rem .7rem; border-radius: 8px;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-primary a:hover { color: var(--on-dark); }
.nav-primary a[aria-current="page"] { color: #fff; }
.nav-primary a[aria-current="page"]::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .28rem;
  height: 2px; border-radius: 2px; background: var(--lime);
}

.header-actions { display: flex; align-items: center; gap: .35rem; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px; color: var(--on-dark);
  transition: background var(--dur) var(--ease);
}
.icon-btn:hover { background: rgba(255,255,255,.1); }
.icon-btn svg { width: 21px; height: 21px; }
.header-actions .btn { padding-block: .6rem; }

/* Language toggle (EN / বাংলা) */
.lang-toggle { display: inline-flex; border: 1px solid rgba(251,250,246,.26); border-radius: var(--radius-pill); overflow: hidden; }
.lang-toggle button {
  padding: .36rem .62rem; font-size: .78rem; font-weight: 600; line-height: 1;
  color: var(--on-dark-muted); transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lang-toggle button + button { border-left: 1px solid rgba(251,250,246,.18); }
.lang-toggle button[aria-current="true"] { background: var(--lime); color: var(--forest-dark); }
.lang-toggle button:not([aria-current="true"]):hover { color: #fff; }

/* Mobile nav */
.nav-toggle { display: none; }
.mobile-drawer {
  position: fixed; inset: 0 0 0 auto; width: min(84vw, 340px); z-index: 1400;
  background: var(--forest-dark); color: var(--on-dark);
  transform: translateX(100%); transition: transform 280ms var(--ease);
  padding: 1.4rem; display: flex; flex-direction: column; gap: .3rem;
  box-shadow: var(--shadow-lg); overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer a {
  color: var(--on-dark-muted); font-size: 1.1rem; font-weight: 500;
  padding: .85rem .6rem; border-radius: 10px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-drawer a[aria-current="page"] { color: var(--lime); }
.mobile-drawer a:hover { color: #fff; background: rgba(255,255,255,.06); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.drawer-head img { height: 40px; }
.scrim {
  position: fixed; inset: 0; background: rgba(6,12,8,.55); z-index: 1300;
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur);
}
.scrim.open { opacity: 1; visibility: visible; }

.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 2000;
  background: var(--lime); color: var(--forest-dark); padding: .7rem 1.1rem;
  border-radius: 8px; font-weight: 600; transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Hero carousel ------------------------------------------------- */
.hero { position: relative; background: #0a120d; overflow: hidden; height: clamp(520px, 84vh, 780px); }
.hero-carousel { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease); }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
a.hero-slide { color: inherit; display: block; }
.hero-slide__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #0a120d; }
.hero-slide__media img, .hero-slide__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-quad { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; }
.hero-quad img { width: 100%; height: 100%; object-fit: cover; }
/* corner black-green vignette + readable scrim so text always stands out */
.hero-slide::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6,15,10,.82) 0%, rgba(6,15,10,.35) 42%, rgba(6,15,10,.14) 66%, rgba(6,15,10,.5) 100%),
    radial-gradient(125% 135% at 50% 42%, rgba(6,15,10,0) 42%, rgba(6,15,10,.74) 100%);
}
.hero-slide__content {
  position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end;
  max-width: var(--container); margin-inline: auto; width: 100%;
  padding: 0 var(--gutter) clamp(3rem, 8vh, 5rem);
}
.hero-slide__inner { max-width: 40rem; }
.hero-slide .eyebrow { color: var(--lime); }
.hero-slide h1, .hero-slide h2 {
  color: var(--cream); font-size: clamp(1.85rem, 4.4vw, 3rem); line-height: 1.1; margin: .6rem 0;
  text-shadow: 0 2px 22px rgba(0,0,0,.45);
}
.hero-slide h1 .accent, .hero-slide h2 .accent { color: var(--lime); font-style: italic; }
.hero-slide p.hero-sub { color: #e8f0e5; font-size: clamp(.96rem, 2.2vw, 1.1rem); max-width: 44ch; margin-bottom: 1.4rem; text-shadow: 0 1px 12px rgba(0,0,0,.55); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .7rem 1.5rem; margin-top: 1.5rem; color: #cfe0c6; font-size: .84rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-trust svg { width: 16px; height: 16px; color: var(--lime); }
.hero-address { color: #e8f0e5; font-weight: 600; margin: .3rem 0 1.1rem; line-height: 1.6; text-shadow: 0 1px 12px rgba(0,0,0,.55); }

.hero-controls { position: absolute; z-index: 5; left: 0; right: 0; bottom: 1.1rem; display: flex; align-items: center; justify-content: center; gap: 1rem; }
.hero-dots { display: flex; align-items: center; gap: .5rem; }
.hero-dot { position: relative; flex: none; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.42); border: 0; padding: 0; cursor: pointer; overflow: hidden; transition: width .45s var(--ease), background .3s var(--ease); }
.hero-dot:hover { background: rgba(255,255,255,.7); }
.hero-dot.is-active { width: 34px; border-radius: 999px; background: rgba(255,255,255,.24); }
.hero-dot__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; background: var(--lime); }
.hero-dot.is-active .hero-dot__fill.run { animation: heroDotFill 5000ms linear forwards; }
@keyframes heroDotFill { from { width: 0; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .hero-dot { transition: none; }
  .hero-dot.is-active .hero-dot__fill { width: 100%; animation: none !important; }
}
.hero-arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(10,20,14,.5); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.hero-arrow:hover { background: rgba(10,20,14,.82); }
.hero-arrow svg { width: 18px; height: 18px; }
@media (max-width: 620px) { .hero { height: min(90vh, 600px); } .hero-arrow { display: none; } }

/* ---------- Stats strip --------------------------------------------------- */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.stat { background: var(--surface); padding: 1.5rem 1.2rem; text-align: center; }
.stat b { display: block; font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--heading); line-height: 1; }
.stat span { display: block; margin-top: .5rem; font-size: .86rem; color: var(--text-muted); letter-spacing: .01em; }
@media (max-width: 620px) { .stats-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards / grids ------------------------------------------------- */
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.5rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

/* Category card */
.cat-card { display: flex; flex-direction: column; height: 100%; }
a.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.cat-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
a.cat-card:hover .cat-card__media img { transform: scale(1.06); }
.cat-card__count {
  position: absolute; top: .8rem; left: .8rem; background: rgba(21,50,31,.82);
  color: var(--cream); font-size: .74rem; font-weight: 600; letter-spacing: .03em;
  padding: .32rem .7rem; border-radius: var(--radius-pill); backdrop-filter: blur(4px);
}
.cat-card__body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.cat-card__body h3 { font-size: 1.28rem; }
.cat-card__body p { color: var(--text-muted); font-size: .95rem; flex: 1; }
.cat-card__cta { display: inline-flex; align-items: center; gap: .4rem; color: var(--accent); font-weight: 600; font-size: .92rem; margin-top: .4rem; }
:root[data-theme="dark"] .cat-card__cta { color: var(--lime); }
a.cat-card:hover .cat-card__cta svg { transform: translateX(4px); }
.cat-card__cta svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }

/* Feature (why choose us) */
.feature { padding: 1.6rem 1.4rem; height: 100%; }
.feature__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--tile-green); color: var(--forest); margin-bottom: 1rem;
}
:root[data-theme="dark"] .feature__icon { color: var(--lime); }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.16rem; margin-bottom: .4rem; }
.feature p { color: var(--text-muted); font-size: .95rem; }

/* Variety card (inventory category pages) */
.variety-card { padding: 1.3rem 1.35rem 1.45rem; display: flex; flex-direction: column; gap: .85rem; height: 100%; }
.variety-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; }
.variety-card__head h3 { font-size: 1.2rem; }
.variety-card__n { font-size: .76rem; color: var(--text-muted); white-space: nowrap; }
.variety-card__lead { color: var(--text-muted); font-size: .93rem; margin-top: -.3rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  font-size: .82rem; padding: .32rem .7rem; border-radius: var(--radius-pill);
  background: var(--tile-green); color: #274d2f; border: 1px solid transparent;
}
:root[data-theme="dark"] .chip { background: var(--tile-green); color: #cbe6bf; }
.chip--cream { background: var(--tile-cream); color: #7a5a1c; }
.chip--pink  { background: var(--tile-pink);  color: #9c3560; }
.chip--lilac { background: var(--tile-lilac); color: #4f43a6; }
:root[data-theme="dark"] .chip--cream { color: #e5cf9a; }
:root[data-theme="dark"] .chip--pink  { color: #eeaecb; }
:root[data-theme="dark"] .chip--lilac { color: #bcb4f2; }
.variety-card__foot { margin-top: auto; }
.req-link {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9rem;
  color: var(--accent);
}
:root[data-theme="dark"] .req-link { color: var(--lime); }
.req-link svg { width: 15px; height: 15px; }
.req-link:hover { text-decoration: underline; }

/* Badges */
.badge {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .02em;
  padding: .3rem .65rem; border-radius: var(--radius-pill);
}
.badge--gold { background: var(--gold); color: var(--forest-dark); }
.badge--plum { background: var(--plum); color: #fff; }
.badge--lime { background: var(--lime); color: var(--forest-dark); }

/* ---------- Breadcrumb ---------------------------------------------------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .84rem; color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumb svg { width: 13px; height: 13px; opacity: .6; }
.breadcrumb [aria-current="page"] { color: var(--heading); }

/* ---------- Page header band --------------------------------------------- */
.page-head { position: relative; background: var(--forest-dark); color: var(--cream); overflow: hidden; }
.page-head__inner { position: relative; z-index: 2; padding-block: clamp(2.4rem, 6vw, 4rem); }
.page-head h1 { color: var(--cream); font-size: clamp(2rem, 4.4vw, 3rem); margin-block: .6rem .5rem; }
.page-head p { color: var(--on-dark-muted); max-width: 60ch; }
.page-head .breadcrumb { color: rgba(251,250,246,.72); }
.page-head .breadcrumb a { color: rgba(251,250,246,.72); }
.page-head .breadcrumb a:hover { color: #fff; }
.page-head .breadcrumb [aria-current="page"] { color: var(--lime); }
.page-head--photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,20,14,.4) 0%, rgba(10,20,14,.62) 100%);
}
.page-head--photo .page-head__inner { text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.page-head--photo h1, .page-head--photo p { color: #fff; }
/* Decorative photo layer — inline background is document-relative (matches <img src>) */
.band-photo { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.page-head--photo .band-photo { opacity: .62; }
.cta-band .band-photo { opacity: .18; }

/* ---------- Trust strip --------------------------------------------------- */
.trust-strip { background: var(--forest); color: var(--cream); }
:root[data-theme="dark"] .trust-strip { background: #10201700; background-color: #122019; border-block: 1px solid rgba(255,255,255,.06); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; padding-block: 2.2rem; }
.trust-item { display: flex; gap: .8rem; align-items: flex-start; }
.trust-item svg { width: 26px; height: 26px; color: var(--lime); flex: none; margin-top: .1rem; }
.trust-item b { display: block; color: var(--cream); font-weight: 600; font-size: 1rem; }
.trust-item span { color: var(--on-dark-muted); font-size: .88rem; }
@media (max-width: 780px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Split / media rows ------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

.prose { max-width: 68ch; }
.prose p { margin-bottom: 1.1rem; color: var(--text); }
.prose p.muted { color: var(--text-muted); }

/* Story quote */
.story-quote {
  font-family: var(--font-serif); font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.4; color: var(--heading); border-left: 3px solid var(--lime);
  padding-left: 1.3rem; margin: 1.6rem 0;
}

/* ---------- Journey steps ------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; counter-reset: step; }
.step { text-align: center; position: relative; }
.step__badge {
  width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center;
  background: var(--tile-green); color: var(--forest); position: relative;
}
:root[data-theme="dark"] .step__badge { color: var(--lime); }
.step__badge svg { width: 30px; height: 30px; }
.step__badge::after {
  counter-increment: step; content: counter(step);
  position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--plum); color: #fff; font-size: .78rem; font-weight: 700; display: grid; place-items: center;
  font-family: var(--font-sans);
}
:root[data-theme="dark"] .step__badge::after { background: var(--accent); color: #241033; }
.step h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.step p { color: var(--text-muted); font-size: .9rem; }
@media (max-width: 780px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; } }

/* ---------- Forms --------------------------------------------------------- */
.form-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.6rem); box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--heading); }
.field label .req { color: #c0392b; }
:root[data-theme="dark"] .field label .req { color: #ff8b7a; }
.field input, .field textarea, .field select {
  background: var(--bg); border: 1.5px solid var(--border-strong); border-radius: 10px;
  padding: .8rem .9rem; font-size: 1rem; width: 100%; color: var(--text);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--ring); box-shadow: 0 0 0 3px rgba(47,125,63,.16);
}
.field .hint { font-size: .8rem; color: var(--text-muted); }
.form-note { margin-top: 1rem; font-size: .84rem; color: var(--text-muted); }
.form-status {
  margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 10px; font-size: .92rem;
  background: var(--tile-green); color: #274d2f; border: 1px solid rgba(39,77,47,.2);
  display: none; align-items: flex-start; gap: .6rem;
}
:root[data-theme="dark"] .form-status { color: #cbe6bf; }
.form-status.show { display: flex; }
.form-status svg { width: 20px; height: 20px; flex: none; color: var(--forest); margin-top: 1px; }
:root[data-theme="dark"] .form-status svg { color: var(--lime); }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Order-on-call band ------------------------------------------- */
.call-band { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem); }
.call-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; justify-content: space-between; }
.call-phone { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--font-serif); font-size: clamp(1.5rem, 3.5vw, 2.2rem); color: var(--heading); }
.call-phone svg { width: 30px; height: 30px; color: var(--lime); }

/* ---------- Delivery table ------------------------------------------------ */
.delivery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; max-width: 640px; }
.delivery__tier { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1.5rem; text-align: center; box-shadow: var(--shadow-sm); }
.delivery__tier .dist { font-size: .9rem; color: var(--text-muted); }
.delivery__tier .price { font-family: var(--font-serif); font-size: 2rem; color: var(--accent); margin-top: .3rem; }
:root[data-theme="dark"] .delivery__tier .price { color: var(--lime); }
@media (max-width: 520px) { .delivery { grid-template-columns: 1fr; } }

/* ---------- Map ----------------------------------------------------------- */
.map-embed { border: 0; width: 100%; height: 100%; min-height: 320px; border-radius: var(--radius-lg); display: block; filter: saturate(1.05); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); }

/* ---------- CTA band ------------------------------------------------------ */
.cta-band { position: relative; background: var(--forest-dark); color: var(--cream); text-align: center; overflow: hidden; }
.cta-band__inner { position: relative; z-index: 2; padding-block: clamp(3rem, 7vw, 5rem); max-width: 720px; margin-inline: auto; }

/* Map facade (click to load embed — keeps initial load light & private) */
.map-facade {
  position: relative; width: 100%; min-height: 320px; height: 100%; cursor: pointer;
  border: 0; border-radius: var(--radius-lg); overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(135deg, #1f4130, #16281d);
  color: var(--cream); text-align: center; padding: 2rem;
}
.map-facade__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.map-facade__pin { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--forest-dark); }
.map-facade__pin svg { width: 28px; height: 28px; }
.map-facade b { font-family: var(--font-serif); font-size: 1.2rem; color: var(--cream); }
.map-facade span { font-size: .9rem; color: var(--on-dark-muted); }
.cta-band h2 { color: var(--cream); font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta-band p { color: var(--on-dark-muted); margin: 1rem auto 1.8rem; font-size: 1.1rem; max-width: 52ch; }

/* ---------- Review band --------------------------------------------------- */
.review-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem; }
.stars { display: inline-flex; gap: .2rem; color: var(--gold); }
.stars svg { width: 22px; height: 22px; }

/* ---------- Care guides --------------------------------------------------- */
.searchbar { position: relative; max-width: 560px; margin: 0 auto 1.6rem; }
.searchbar input { width: 100%; padding: .95rem 1rem .95rem 2.9rem; border-radius: var(--radius-pill); border: 1.5px solid var(--border-strong); background: var(--surface); font-size: 1rem; color: var(--text); }
.searchbar input:focus { outline: none; border-color: var(--ring); box-shadow: 0 0 0 3px rgba(47,125,63,.16); }
.searchbar svg { position: absolute; left: 1.05rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--text-muted); }
.filter-pills { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.2rem; }
.pill {
  padding: .5rem 1.1rem; border-radius: var(--radius-pill); font-size: .9rem; font-weight: 500;
  background: var(--surface); border: 1.5px solid var(--border-strong); color: var(--text);
  transition: all var(--dur) var(--ease);
}
.pill:hover { border-color: var(--forest); }
.pill[aria-pressed="true"] { background: var(--forest); color: var(--cream); border-color: var(--forest); }
:root[data-theme="dark"] .pill[aria-pressed="true"] { background: var(--lime); color: var(--forest-dark); border-color: var(--lime); }

.article-card { display: flex; flex-direction: column; height: 100%; }
a.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.article-card__media { aspect-ratio: 16/10; overflow: hidden; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
a.article-card:hover .article-card__media img { transform: scale(1.05); }
.article-card__body { padding: 1.15rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.article-card__cat { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
:root[data-theme="dark"] .article-card__cat { color: var(--lime); }
.article-card__body h3 { font-size: 1.16rem; }
.article-card__body p { color: var(--text-muted); font-size: .9rem; flex: 1; }
.article-featured { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; margin-bottom: 2.4rem; }
.article-featured .article-card__media { aspect-ratio: auto; min-height: 260px; }
.article-featured .article-card__body { justify-content: center; padding: clamp(1.4rem, 3vw, 2.4rem); }
.article-featured h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
@media (max-width: 720px) { .article-featured { grid-template-columns: 1fr; } }
.no-results { text-align: center; color: var(--text-muted); padding: 2.5rem 1rem; display: none; }

/* ---------- Contact methods ---------------------------------------------- */
.method-card { display: flex; gap: 1rem; padding: 1.3rem 1.35rem; align-items: flex-start; }
.method-card__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--tile-green); color: var(--forest); flex: none; }
:root[data-theme="dark"] .method-card__icon { color: var(--lime); }
.method-card__icon svg { width: 23px; height: 23px; }
.method-card h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.method-card p { color: var(--text-muted); font-size: .9rem; }
.method-card a.method-link { color: var(--accent); font-weight: 600; font-size: .9rem; }
:root[data-theme="dark"] .method-card a.method-link { color: var(--lime); }

/* ---------- Policy content ------------------------------------------------ */
.policy { max-width: 760px; }
.policy h2 { font-size: 1.4rem; margin: 2rem 0 .8rem; }
.policy h2:first-child { margin-top: 0; }
.policy p { color: var(--text); margin-bottom: 1rem; }
.policy ul.ticks { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1rem; }
.policy ul.ticks li { display: flex; gap: .6rem; align-items: flex-start; color: var(--text); }
.policy ul.ticks svg { width: 20px; height: 20px; color: var(--lime); flex: none; margin-top: .2rem; }

/* ---------- Footer -------------------------------------------------------- */
.site-footer { background: var(--footer-bg); color: var(--on-dark-muted); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-block: clamp(2.6rem, 5vw, 3.6rem); }
.footer-brand img { height: 48px; margin-bottom: 1rem; }
.footer-brand p { font-size: .92rem; max-width: 34ch; color: var(--on-dark-muted); }
.footer-col h4 { font-family: var(--font-sans); color: var(--cream); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 600; }
.footer-col a { display: block; padding: .3rem 0; font-size: .92rem; color: var(--on-dark-muted); transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--lime); }
.footer-contact { font-size: .9rem; display: flex; flex-direction: column; gap: .6rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: .55rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--lime); flex: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.2rem; display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; justify-content: space-between; align-items: center; font-size: .82rem; }
.footer-bottom .socials { display: flex; gap: .5rem; }
.footer-bottom .socials a { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: var(--cream); transition: background var(--dur) var(--ease); }
.footer-bottom .socials a:hover { background: var(--lime); color: var(--forest-dark); }
.footer-bottom .socials svg { width: 18px; height: 18px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Category page nav (prev/next) -------------------------------- */
.cat-nav { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 2rem; margin-top: .5rem; }
.cat-nav a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--heading); }
.cat-nav a:hover { color: var(--accent); }
.cat-nav svg { width: 18px; height: 18px; }

/* ---------- Utilities ----------------------------------------------------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.stack-lg > * + * { margin-top: 1.4rem; }
.hide-mobile { }
@media (max-width: 900px) {
  .nav-primary { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn.hide-mobile { display: none; }
}
@media (min-width: 901px) { .nav-toggle { display: none; } }

/* Reveal-on-scroll (respectful of reduced motion) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ==========================================================================
   Additions: preloader, bilingual fonts, drawer footer, collage, refinements
   ========================================================================== */

/* ---------- Preloader ----------------------------------------------------- */
#preloader { display: none; }
.js #preloader {
  display: flex; position: fixed; inset: 0; z-index: 5000;
  flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem;
  background: var(--forest-dark); color: var(--cream);
  transition: opacity .5s var(--ease), visibility .5s;
}
#preloader.done { opacity: 0; visibility: hidden; }
.preloader__mark { width: 52px; height: 52px; color: var(--lime); animation: sproutPulse 1.4s var(--ease) infinite; }
.preloader__mark svg { width: 100%; height: 100%; }
.preloader__name { font-family: var(--font-serif); font-size: 1.15rem; letter-spacing: .01em; opacity: .92; }
@keyframes sproutPulse { 0%,100% { transform: scale(.86); opacity: .55; } 50% { transform: scale(1.06); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .preloader__mark { animation: none; } }

/* ---------- Bengali typography ------------------------------------------- */
html.lang-bn { --font-serif: var(--font-serif-bn); --font-sans: var(--font-sans-bn); }
html.lang-bn body { line-height: 1.78; }
html.lang-bn .eyebrow { letter-spacing: .06em; }
html.lang-bn .nav-primary a { font-size: .92rem; }
html.lang-bn .preloader__name { font-family: var(--font-serif-bn); }

/* ---------- Drawer footer ------------------------------------------------- */
.drawer-foot { margin-top: auto; padding-top: 1.1rem; display: flex; flex-direction: column; gap: .9rem; align-items: flex-start; }

/* ---------- Inventory collage head --------------------------------------- */
.page-head--collage { min-height: 320px; display: flex; align-items: flex-end; }
.page-head--collage .band-photo { opacity: .92; }
.page-head--collage::after {
  background: linear-gradient(180deg, rgba(10,20,14,.28) 0%, rgba(10,20,14,.32) 42%, rgba(10,20,14,.86) 100%);
}

/* ---------- Minimal type refinements ------------------------------------- */
.page-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.35rem); }
.stat b { font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.cat-card__body h3 { font-size: 1.14rem; }
.feature h3 { font-size: 1.04rem; }
.variety-card__head h3 { font-size: 1.08rem; }
.method-card h3 { font-size: 1rem; }
.call-phone { font-size: clamp(1.4rem, 3vw, 1.95rem); }
.section-head { margin-bottom: clamp(1.4rem, 3.5vw, 2.2rem); }
.article-featured h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
