/* =========================================================
   Fruit Tech — fruittech.in
   Phone-first: farmers visit on mobile. Desktop is an enhancement.
   ========================================================= */
:root {
  --bg: #fffaf2;
  --white: #fff;
  --mint: #ecf7e4;
  --ink: #141414;
  --night: #141414;
  --muted: #5b6157;
  --line: rgba(20, 20, 20, .1);
  --leaf: #13873b;
  --lime: #8fd14f;
  --mango: #ff5a1f;
  --sun: #ffc531;
  --cream: #fff6e8;

  /* WhatsApp: darker brand green so white text passes WCAG AA (5.2:1).
     Amazon: Amazon's own yellow button with near-black text (13.6:1). */
  --wa: #0a7e3e;
  --wa-hover: #086b34;
  --amz: #ffd814;
  --amz-hover: #f7ca00;
  --amz-ink: #0f1111;

  /* Latin first; Indian scripts fall through to the Noto font main.js loads for the active language */
  --script: sans-serif;
  --display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;

  --gutter: 20px;
  --edge: max(var(--gutter), calc((100vw - 1120px) / 2 + var(--gutter)));
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.55;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 1em; height: 1em; flex: none; }
h3 { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(28px, 7.6vw, 52px); line-height: 1.12; letter-spacing: -.02em;
  margin: 0 0 20px; text-wrap: balance;
}
/* Gradient words. Padding gives the painted area room for descenders (g, y, p) so nothing is clipped. */
.h2 em, .hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--mango), #ff9a1f);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: .06em .04em .2em; margin: 0 -.04em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lead { color: var(--muted); margin: -6px 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 16px; border-radius: 999px; border: 0;
  font-weight: 800; font-size: 15px; line-height: 1.2; text-align: center; text-decoration: none;
  transition: transform .2s var(--ease), background .2s;
}
.btn svg { width: 20px; height: 20px; }
.btn:active { transform: scale(.97); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-hover); }
.btn--amz { background: var(--amz); color: var(--amz-ink); }
.btn--amz:hover { background: var(--amz-hover); }
.btn--lg { min-height: 54px; font-size: 16px; }
.btn--block { width: 100%; }
#calcCta.is-amz { background: var(--amz); color: var(--amz-ink); }
#calcCta.is-wa { background: var(--wa); color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 800; text-decoration: none; color: var(--leaf); }

/* ---------- Animated logo ---------- */
.logo { position: relative; display: inline-block; height: 40px; aspect-ratio: 869 / 426; }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.logo__sway { position: absolute; inset: 0; transform-origin: 17% 8%; animation: logoSway 4.5s 1.8s ease-in-out infinite; }
.logo__icon { transform-origin: 17% 56%; animation: logoRoll 1.1s var(--ease) both; }
.logo__text { clip-path: inset(0 68% 0 0); animation: logoWipe .8s .7s var(--ease) forwards; }
.logo--foot:not(.in) img, .logo--foot:not(.in) .logo__sway { animation-play-state: paused; }
@keyframes logoRoll { from { opacity: 0; transform: translateX(-60%) rotate(-360deg) scale(.5); } 50% { opacity: 1; } to { transform: none; } }
@keyframes logoSway { 0%, 100% { rotate: 0deg; } 30% { rotate: -7deg; } 65% { rotate: 5deg; } }
@keyframes logoWipe { to { clip-path: inset(0 0 0 0); } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; z-index: 50; top: 8px; left: 8px; right: 8px; max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 7px 7px 7px 14px; border-radius: 999px;
  background: rgba(255, 250, 242, .88); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--line); box-shadow: 0 8px 30px -18px rgba(0, 0, 0, .35);
}
.nav__cta { display: flex; align-items: center; gap: 6px; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; min-width: 42px; padding: 0 11px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: 14px; white-space: nowrap; }
.pill svg { width: 20px; height: 20px; }
.pill span { display: none; }
.pill--wa { background: var(--wa); color: #fff; }
.pill--amz { background: var(--amz); color: var(--amz-ink); }

.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 800; font-size: 14px; }
.lang__btn svg { width: 18px; height: 18px; }
.lang__menu {
  position: fixed; left: 10px; right: 10px; top: 70px; z-index: 80; margin: 0; padding: 8px; list-style: none;
  max-height: 70vh; overflow: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .35);
}
.lang__menu[hidden] { display: none; }
.lang__menu button { width: 100%; text-align: left; padding: 10px 12px; border: 0; border-radius: 12px; background: none; font-weight: 700; font-size: 16px; font-family: var(--body); }
.lang__menu button small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
.lang__menu button[aria-selected="true"] { background: var(--ink); color: #fff; }
.lang__menu button[aria-selected="true"] small { color: rgba(255, 255, 255, .7); }


/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 82px 0 28px; }
@media (max-width: 899px) {
  .hero { padding-bottom: 8px; }
  .pills { padding: 14px 0 6px; }
  .hero .deck { height: clamp(290px, 84vw, 460px); }
  /* the bottom bar already has Amazon + WhatsApp; keep the top bar clean */
  .nav .pill { display: none; }
}
.hero__glow { position: absolute; inset: -20% -30% auto; height: 80%; z-index: -1; background: radial-gradient(closest-side, #ffe1b8, transparent), radial-gradient(closest-side at 80% 60%, #d6f0c4, transparent); opacity: .8; }
.hero__inner { display: grid; gap: 16px; }
.hero__title {
  margin: 0; font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(42px, 12.4vw, 104px); line-height: 1; letter-spacing: -.035em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .18em; margin-bottom: -.14em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); animation: rise .8s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .1s; }
.hero__title .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes rise { to { transform: none; } }
.hero__sub { margin: 0; color: var(--muted); font-size: 15px; }
.hero__sub b { color: var(--leaf); }

/* Auto-shuffling deck */
.deck { position: relative; height: clamp(230px, 64vw, 440px); touch-action: pan-y; user-select: none; }
.deck__card {
  position: absolute; left: 50%; top: 4%; width: 60%; aspect-ratio: 4 / 5; margin: 0 0 0 -30%;
  border-radius: 22px; overflow: hidden; background: #fff; border: 5px solid #fff;
  box-shadow: 0 24px 50px -24px rgba(20, 20, 20, .45);
  transition: transform .7s var(--ease), opacity .5s, filter .5s;
  opacity: 0; transform: translate(0, 6%) scale(.82);
}
.deck__card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.deck__card figcaption {
  position: absolute; left: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px;
  background: rgba(20, 20, 20, .75); color: #fff; font-size: 13px; font-weight: 800;
}
.deck__card[data-pos="0"] { z-index: 5; opacity: 1; transform: rotate(-3deg); }
.deck__card[data-pos="1"] { z-index: 4; opacity: 1; transform: translate(-30%, 5%) rotate(-12deg) scale(.88); filter: brightness(.92); }
.deck__card[data-pos="2"] { z-index: 3; opacity: 1; transform: translate(30%, 7%) rotate(10deg) scale(.86); filter: brightness(.9); }
.deck__card.is-leaving { z-index: 6; opacity: 0; transform: translate(-130%, -4%) rotate(-24deg); }
.deck__badge {
  position: absolute; z-index: 7; right: 2%; top: 0; width: 88px; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; text-align: center; background: var(--sun); color: var(--ink);
  font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1; rotate: -10deg;
  box-shadow: 0 12px 28px -12px rgba(255, 170, 0, .8);
}
.deck__badge small { display: block; margin-top: 4px; font-family: var(--body); font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 0 8px; }

/* The two choices: same wording as the bottom bar, side by side, always on the first screen */
/* Phones use the always-visible bottom bar instead; these show on desktop only */
.choices { display: none; grid-template-columns: 1.15fr 1fr; gap: 10px; }
.choice {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 10px 14px;
  border-radius: 18px; text-decoration: none; font-weight: 800; font-size: 17px; line-height: 1.2; text-align: center;
  box-shadow: 0 10px 24px -14px rgba(20, 20, 20, .5); transition: transform .2s var(--ease);
}
.choice:active { transform: scale(.97); }
.choice svg { width: 26px; height: 26px; }
.choice--wa { background: var(--wa); color: #fff; }
.choice--amz { background: var(--amz); color: var(--amz-ink); }

/* ---------- Two pill rows (proof → , fruits ←) ---------- */
.pills { display: grid; gap: 10px; padding: 18px 0 22px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.pills__row { display: flex; gap: 10px; width: max-content; animation: pillsL 38s linear infinite; }
.pills__row--rev { animation-name: pillsR; animation-duration: 32s; }
@keyframes pillsL { to { transform: translateX(-50%); } }
@keyframes pillsR { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.pill-tag { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 16px -12px rgba(20, 20, 20, .35); font-weight: 700; font-size: 15px; white-space: nowrap; }
.pill-tag--num b { font-family: var(--display); font-weight: 800; color: var(--leaf); }
.pill-tag--fruit { background: var(--mint); border-color: transparent; }

/* ---------- Sections ---------- */
.sec { padding: 52px 0; }
.sec--white { background: var(--white); }
.sec--mint { background: var(--mint); }
.sec--dark { background: var(--night); color: var(--cream); }
.sec--dark .lead { color: rgba(255, 246, 232, .72); }

/* Problem chips */
.chips { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; }

/* Benefit rows */
.stats { display: grid; gap: 10px; }
.stat { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; padding: 16px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.stat__n { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1.05; color: var(--leaf); text-align: center; }
.stat__n small { display: block; font-size: 13px; color: var(--muted); }
.stat h3 { font-family: var(--display); font-size: 17px; line-height: 1.25; }
.stat p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }

/* Video buttons */
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: #000; }
.yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }
.yt__play { position: absolute; z-index: 1; left: 50%; top: 50%; translate: -50% -50%; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: var(--mango); box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.yt__play svg { width: 26px; height: 26px; margin-left: 3px; }
.yt__label { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; text-align: left; color: #fff; font-weight: 800; font-size: 15px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt--how, .yt--news { margin-bottom: 20px; }

/* Steps timeline */
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding-bottom: 18px; }
.steps li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 2px; background: var(--line); }
.steps__n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 800; }
.steps h3 { font-family: var(--display); font-size: 17px; line-height: 1.3; padding-top: 6px; }
.steps p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }

/* Horizontal rails (products, reels) */
.rail { display: flex; align-items: stretch; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--edge); padding: 4px var(--edge) 8px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; flex: none; }
.rail__dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.rail__dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(20, 20, 20, .2); transition: width .3s, background .3s; }
.rail__dots i.on { width: 22px; background: var(--ink); }

.bag { width: min(78vw, 300px); display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); padding-bottom: 14px; }
.bag__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.bag__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bag__tag { position: absolute; left: 10px; top: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .95); font-size: 13px; font-weight: 800; }
.bag h3 { margin: 12px 14px 4px; font-family: var(--display); font-size: 21px; line-height: 1.2; }
.bag p { margin: 0 14px 12px; font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bag__cta { display: grid; grid-template-columns: auto 1fr; gap: 8px; margin: auto 14px 0; }
.bag--more { justify-content: center; gap: 4px; padding: 20px 6px; background: var(--ink); color: var(--cream); }
.bag--more p { color: rgba(255, 246, 232, .75); -webkit-line-clamp: 6; }
.bag--more .btn { margin: 4px 14px 0; }

.rail--reels { margin-top: 2px; }
.reel { position: relative; width: min(40vw, 190px); aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: #000; }
.reel img { width: 100%; height: 100%; object-fit: cover; }
.reel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .8)); }
.reel::after { content: ""; position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ff5a1f' d='M8 5.5v13a1 1 0 0 0 1.5.86l10.6-6.5a1 1 0 0 0 0-1.72L9.5 4.64A1 1 0 0 0 8 5.5Z'/%3E%3C/svg%3E") center/14px no-repeat; }
.reel__t { position: absolute; left: 10px; right: 10px; bottom: 10px; text-align: left; color: #fff; font-weight: 800; font-size: 14px; line-height: 1.25; }

/* Calculator */
.calc { background: #fff; border-radius: 24px; padding: 18px; box-shadow: 0 30px 60px -40px rgba(20, 60, 20, .45); }
/* Fruit picker: one swipeable row that bleeds to the card edges */
.seg { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px 4px; padding: 2px 18px 6px; scroll-padding: 0 18px; }
.seg::-webkit-scrollbar { display: none; }
.seg label { flex: none; }
.seg label { position: relative; cursor: pointer; } /* keeps the hidden radio inside its chip (otherwise it widens the page on phones) */
.seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.seg__chip { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; font-size: 14px; transition: background .2s, color .2s; }
.seg input:checked + .seg__chip { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg input:focus-visible + .seg__chip { outline: 3px solid var(--sun); outline-offset: 2px; }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.stepper__label { font-weight: 700; font-size: 15px; line-height: 1.3; }
.stepper__ctrl { display: flex; align-items: center; gap: 4px; flex: none; }
.stepper__ctrl button { width: 44px; height: 44px; border: 0; border-radius: 14px; background: var(--mint); font-size: 24px; font-weight: 800; line-height: 1; }
.stepper__ctrl button:active { background: #d9efcb; }
.stepper__ctrl input { width: 78px; height: 44px; border: 0; background: transparent; text-align: center; font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--ink); -moz-appearance: textfield; }
.stepper__ctrl input::-webkit-outer-spin-button, .stepper__ctrl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.profit { margin: 16px 0 14px; padding: 16px; border-radius: 18px; background: var(--mint); text-align: center; }
.profit p { margin: 0; }
.profit__label { color: var(--muted); font-size: 14px; font-weight: 700; }
.profit__big { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 12vw, 56px); line-height: 1.15; color: var(--leaf); }
.profit__big.is-neg { color: var(--mango); }
.profit__roi { display: inline-block; margin: 2px 0 8px !important; padding: 4px 12px; border-radius: 999px; background: #fff; color: var(--leaf); font-weight: 800; font-size: 15px; }
.profit__meta { font-size: 14px; color: var(--ink); }
.profit__covers { margin-top: 4px !important; font-size: 13px; color: var(--muted); }
.assume { margin-top: 10px; border: 0; padding: 0; background: none; }
.assume summary { padding: 8px 0; font-size: 13px; font-weight: 700; color: var(--muted); text-align: center; }
.assume summary::after { display: none; }
.assume p { font-size: 13px; padding: 0 0 4px; }

/* Factory */
.factory { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.factory__tile { position: relative; display: block; width: 100%; padding: 0; border: 0; margin: 0; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #000; text-decoration: none; }
.factory__tile video, .factory__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.factory__tile::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); pointer-events: none; }
.factory__tile figcaption, .factory__tile > figcaption { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 12px; color: #fff; font-weight: 800; font-size: 15px; line-height: 1.25; }
.factory__tile .yt__play { width: 54px; height: 54px; }

/* Real vs fake */
.real { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: start; }
.real__img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; background: var(--cream); }
.real .h2 { font-size: clamp(22px, 6.2vw, 44px); margin-bottom: 12px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; font-size: 14px; font-weight: 600; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font-size: 12px; font-weight: 900; }

/* Bulk */
.bulk .h2 { color: var(--cream); }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.nums div { padding: 12px 10px; border-radius: 16px; background: rgba(255, 246, 232, .07); text-align: center; }
.nums b { display: block; font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--sun); line-height: 1.2; }
.nums span { font-size: 12px; color: rgba(255, 246, 232, .72); font-weight: 600; }
.quote { display: grid; gap: 12px; padding: 18px; border-radius: 22px; background: var(--cream); color: var(--ink); }
.quote h3 { font-family: var(--display); font-size: 20px; line-height: 1.25; }
.quote { gap: 8px; }
/* grid children must be allowed to shrink, or the swipe rows stretch the page sideways */
.quote > *, .hero__inner > *, .bulk > *, .stats > *, .factory > * { min-width: 0; }
.quote h3 { margin-bottom: 4px; }
.quote__q { margin: 6px 0 0; font-size: 13px; font-weight: 800; color: var(--leaf); }
.quote .seg { margin-bottom: 0; }
.quote .seg__chip { background: #fff; }
.quote .btn { margin-top: 10px; }
/* Quantity: all four options visible, big tap targets */
.seg--grid { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; margin: 0; padding: 2px 0; }
.seg--grid .seg__chip { width: 100%; justify-content: center; min-height: 46px; }
.f { display: grid; gap: 4px; min-width: 0; }
.f > span { font-size: 12px; font-weight: 800; color: var(--leaf); }
.f input, .f select {
  width: 100%; height: 50px; padding: 0 14px; border-radius: 14px; border: 2px solid var(--line); background: #fff;
  font: inherit; font-weight: 600; font-size: 16px; color: var(--ink); -webkit-appearance: none; appearance: none;
}
.f select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23141414' stroke-width='2.5' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center/16px no-repeat; padding-right: 36px; text-overflow: ellipsis; }
.f input:focus, .f select:focus { outline: none; border-color: var(--wa); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quote__alt { margin: 0; text-align: center; font-size: 14px; color: var(--muted); }
.quote__alt a { color: var(--ink); font-weight: 800; }

/* FAQ */
.faq { display: grid; gap: 8px; margin-bottom: 16px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 16px; }
summary { list-style: none; cursor: pointer; position: relative; padding: 15px 34px 15px 0; font-weight: 700; font-size: 16px; line-height: 1.35; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 26px; height: 26px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; font-size: 18px; font-weight: 800; transition: rotate .25s var(--ease); }
details[open] summary::after { rotate: 45deg; }
details p { margin: 0; padding: 0 0 16px; color: var(--muted); font-size: 15px; }
details a { color: var(--leaf); font-weight: 800; }

/* Footer */
.foot { background: var(--night); color: rgba(255, 246, 232, .75); padding: 36px 0 112px; }
.logo--foot { height: 52px; }
.foot__tag { margin: 8px 0 18px; color: var(--cream); font-weight: 700; }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 18px; }
.foot__links a { text-decoration: none; font-weight: 700; color: var(--cream); }
.foot__small { margin: 0; font-size: 12px; line-height: 1.6; }

.visit { margin: 4px 0 20px; padding: 16px; border-radius: 18px; background: rgba(255, 246, 232, .07); }
.visit__h { margin: 0 0 6px; color: var(--sun); font-weight: 800; }
.visit__addr { font-style: normal; color: var(--cream); font-size: 14px; line-height: 1.55; }
.visit__btns { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
.visit__btn { background: #fff; color: var(--ink); }
.visit__btn--ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(255, 246, 232, .35); }

/* Phone action bar */
.dock {
  position: fixed; z-index: 60; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom));
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 6px; border-radius: 20px;
  background: rgba(20, 20, 20, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .55);
  animation: dockIn .5s .9s var(--ease) both;
}
@keyframes dockIn { from { transform: translateY(150%); } to { transform: none; } }
.dock a { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 52px; padding: 6px; border-radius: 14px; text-decoration: none; font-weight: 800; font-size: clamp(13px, 4vw, 16px); line-height: 1.15; text-align: center; overflow: hidden; }
.dock a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dock svg { width: 20px; height: 20px; flex: none; }
.dock__amz { background: var(--amz); color: var(--amz-ink); }
.dock__wa { background: var(--wa); color: #fff; }
.dock__call { background: #fff; color: var(--ink); }

.fab { display: none; }

/* Video modal */
.modal { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; }
.modal::backdrop { background: rgba(20, 20, 20, .92); }
.modal[open] { display: grid; place-items: center; align-content: center; gap: 14px; }
.modal__frame { width: min(92vw, 400px); aspect-ratio: 9 / 16; max-height: 74vh; border-radius: 20px; overflow: hidden; background: #000; }
.modal__frame.is-wide { width: min(94vw, 1000px); aspect-ratio: 16 / 9; }
.modal__frame { display: grid; place-items: center; width: auto !important; max-width: 94vw; aspect-ratio: auto !important; background: transparent; }
.modal__frame video { display: block; max-width: 94vw; max-height: 74vh; border-radius: 20px; background: #000; }
.modal__cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; padding: 0 12px; }
.modal__x { position: fixed; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 18px; font-weight: 900; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

/* ---------- Indian scripts: no uppercase or tight tracking, taller lines so matras never clip ---------- */
html:not([lang="en"]) *:not(.marquee__track) { letter-spacing: 0 !important; }
html:not([lang="en"]) .hero__title { text-transform: none; line-height: 1.2; font-size: clamp(30px, 8.4vw, 72px); }
html:not([lang="en"]) .hero__title .line { padding-bottom: .3em; margin-bottom: -.24em; }
html:not([lang="en"]) .h2 { line-height: 1.32; font-size: clamp(25px, 6.6vw, 46px); }
html:not([lang="en"]) .real .h2 { font-size: clamp(20px, 5.6vw, 40px); }
html:not([lang="en"]) body { line-height: 1.65; }

/* =========================================================
   Larger screens
   ========================================================= */
@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .nav { top: 14px; padding-left: 20px; }
  .logo { height: 44px; }
  .pill { padding: 0 16px; }
  .pill span { display: inline; }
  .lang__menu { position: absolute; left: auto; right: 0; top: calc(100% + 10px); width: 260px; }

  .hero { padding: 120px 0 56px; }
  .hero__inner { grid-template-columns: 1.1fr .9fr; grid-template-areas: "title deck" "choices deck" "sub deck"; column-gap: 48px; align-items: center; }
  .hero__title { grid-area: title; }
  .deck { grid-area: deck; height: 520px; }
  .choices { grid-area: choices; max-width: 520px; display: grid; }
  .choice { min-height: 64px; font-size: 18px; }
  .hero__sub { grid-area: sub; font-size: 17px; max-width: 52ch; }
  .deck__badge { width: 120px; font-size: 28px; }
  .deck__badge small { font-size: 11px; }

  .sec { padding: 96px 0; }
  .h2 { margin-bottom: 28px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat { grid-template-columns: 1fr; text-align: left; }
  .stat__n { text-align: left; font-size: 56px; }
  .sec--white .yt--how { float: left; width: 46%; margin: 0 40px 0 0; }
  .steps { overflow: hidden; }
  .bag { width: 300px; }
  .reel { width: 200px; }
  .yt--news { max-width: 760px; }
  .real { grid-template-columns: 260px 1fr; gap: 48px; align-items: center; }
  .factory { grid-template-columns: repeat(2, 280px); }
  .visit { max-width: 520px; }
  .bulk { display: grid; grid-template-columns: 1fr 440px; gap: 56px; align-items: start; }
  .faq { max-width: 760px; }
  #faq .btn--block { width: auto; }

  .dock { display: none; }
  .fab {
    display: grid; place-items: center; position: fixed; z-index: 60; right: 22px; bottom: 22px;
    width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff;
    box-shadow: 0 12px 30px -10px rgba(10, 126, 62, .6);
  }
  .fab svg { width: 30px; height: 30px; }
  .foot { padding-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Video popup: same Call / Order / Bulk bar, sitting under the video */
.dock--static { position: static; transform: none; animation: none; width: min(94vw, 420px); background: transparent; box-shadow: none; padding: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.modal__cta.dock { display: grid; }
@media (min-width: 900px) { .modal__cta.dock { display: grid; } }

/* Factory tap-to-play (slow networks) */
.factory__play { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; width: 60px; height: 60px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: var(--mango); box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.factory__play svg { width: 24px; height: 24px; margin-left: 3px; }
.factory__play[hidden] { display: none; }
.factory__tile video { background: #2a2a2a; }
.deck__card img:not([src]) { visibility: hidden; }
body:has(.modal[open]) #dock { display: none; }

/* Language hint: pulse + tooltip under the 🌐 button */
.lang__tip {
  position: absolute; right: 0; top: calc(100% + 12px); z-index: 75; width: max-content; max-width: 220px;
  padding: 9px 14px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.3;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45); animation: tipIn .35s var(--ease) both; pointer-events: none;
}
.lang__tip::before { content: ""; position: absolute; right: 22px; top: -6px; width: 12px; height: 12px; background: var(--ink); transform: rotate(45deg); border-radius: 2px; }
.lang__tip[hidden] { display: none; }
@keyframes tipIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.lang__btn.is-hint { animation: langPulse 1.4s ease-out 3; border-color: var(--wa); }
@keyframes langPulse { 0% { box-shadow: 0 0 0 0 rgba(10, 126, 62, .55); } 100% { box-shadow: 0 0 0 12px rgba(10, 126, 62, 0); } }
