/* =========================================================
   Green-on India — Homepage
   ========================================================= */

:root {
  --forest: #174A35;
  --green: #2E8B57;
  --leaf: #72B84B;
  --sage: #DDE9D8;
  --bg: #F7F8F4;
  --ink: #17201C;
  --muted: #68736D;
  --white: #FFFFFF;
  --terra: #C96B3D;
  --sand: #F0E7DA;
  --sand-ink: #5E5A52;
  --night: #111714;

  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;

  --g: clamp(20px, 5.56vw, 80px);   /* page gutter */
  --gw: clamp(12px, 2.78vw, 40px);  /* wide-card gutter */
  --header-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, figure, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--leaf); color: var(--ink); }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Primitives ---------- */
.ic { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.btn .ic, .text-link .ic { stroke-width: 1.8; }

.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--g); }
.serif { font-family: var(--serif); font-weight: 400; }
.serif--it { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.tint { color: var(--sage); }
.tint-forest { color: var(--forest); }
.stack-18 { display: flex; flex-direction: column; gap: 18px; }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green);
}
.eyebrow--line::before { content: ""; width: 28px; height: 1.5px; background: currentColor; transform-origin: left; }
.eyebrow--leaf { color: var(--leaf); }
.eyebrow--terra { color: var(--terra); }

.h2 { font-size: clamp(34px, 3.9vw, 56px); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.h2--light { color: var(--white); }
.body-lg { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.body-lg--light { color: rgba(255,255,255,.72); }
.lead { max-width: 540px; font-size: clamp(16.5px, 1.32vw, 19px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }

/* Split words */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.serif--it .w, .serif--it.w { padding-right: .08em; margin-right: -.08em; }
.wi { display: inline-block; will-change: transform; }
[data-fill] .w { overflow: visible; padding: 0; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  --fill: var(--green);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px; border-radius: 999px;
  font-size: 16px; font-weight: 700; white-space: nowrap;
  transition: color .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; z-index: -1;
  left: -10%; right: -10%; top: 0; height: 120%;
  background: var(--fill);
  border-radius: 50% 50% 0 0 / 60% 60% 0 0;
  transform: translateY(100%);
  transition: transform .6s var(--ease), border-radius .6s var(--ease);
}
.btn:hover::before { transform: translateY(-10%); border-radius: 0; }
.btn .ic { transition: transform .5s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn__label { position: relative; }

.btn--dark { background: var(--forest); color: var(--white); --fill: var(--green); }
.btn--dark:hover { box-shadow: 0 14px 30px -14px rgba(23,74,53,.6); }
.btn--outline { border: 1.5px solid rgba(23,74,53,.25); color: var(--forest); --fill: var(--forest); }
.btn--outline:hover { color: var(--white); border-color: var(--forest); }
.btn--leaf { background: var(--leaf); color: var(--ink); font-weight: 800; --fill: var(--white); }
.btn--ghost-light { border: 1.5px solid rgba(255,255,255,.4); color: var(--white); --fill: var(--white); }
.btn--ghost-light:hover { color: var(--forest); border-color: var(--white); }
.btn--xs { height: 40px; padding: 0 16px; font-size: 14px; }
.btn--sm { height: 48px; padding: 0 22px; font-size: 15px; }
.btn--md { height: 52px; padding: 0 24px; font-size: 15px; }
.btn--lg { height: 58px; padding: 0 30px; }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--forest); }
.text-link .ic { transition: transform .5s var(--ease); }
.text-link:hover .ic { transform: translateX(5px); }

/* ---------- Preloader ---------- */
.preloader { display: none; }
.js-anim .preloader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--forest); color: var(--white);
}
.js-anim.no-preload .preloader { display: none; }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.preloader__word { overflow: hidden; }
.preloader__word span { display: block; font-size: 15px; font-weight: 800; letter-spacing: .32em; padding-left: .32em; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(247,248,244,.92);
  border-bottom: 1px solid rgba(23,32,28,.08);
  transition: height .5s var(--ease), background-color .5s, box-shadow .5s, transform .6s var(--ease), border-color .5s;
}
.header.is-scrolled {
  height: 72px;
  background: rgba(247,248,244,.78);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  border-color: transparent;
  box-shadow: 0 1px 0 rgba(23,32,28,.06), 0 12px 32px -24px rgba(23,32,28,.35);
}
.header.is-hidden { transform: translateY(-101%); }
.header__inner { max-width: 1440px; height: 100%; margin: 0 auto; padding-inline: var(--g); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--forest); }
.logo svg { transition: transform .8s var(--ease); }
.logo:hover svg { transform: rotate(-120deg); }
.logo__word { font-size: 17px; font-weight: 800; letter-spacing: .08em; white-space: nowrap; }
.logo--light { color: var(--white); }

.nav { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 36px); font-size: 15px; font-weight: 600; }
.nav__link { position: relative; color: var(--muted); padding: 6px 0; transition: color .3s; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--forest); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after { transform: scaleX(1); background: var(--leaf); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.header__cta-m, .burger { display: none; }

.burger { position: relative; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(23,32,28,.14); background: var(--white); z-index: 70; transition: background .4s, border-color .4s; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.8px; border-radius: 2px; background: var(--ink); transition: transform .5s var(--ease), background .4s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 24px; }
.menu-open .burger { background: transparent; border-color: rgba(255,255,255,.35); }
.menu-open .burger span { background: var(--white); }
.menu-open .burger span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--leaf)); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--forest); color: var(--white);
  clip-path: circle(0px at calc(100% - var(--g) - 22px) 34px);
  visibility: hidden;
  transition: clip-path .9s var(--ease-in-out), visibility 0s linear .9s;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - var(--g) - 22px) 34px); visibility: visible; transition: clip-path .9s var(--ease-in-out), visibility 0s; }
.menu__inner { height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 110px var(--g) 36px; overflow-y: auto; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a, .menu__foot {
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s, transform .7s var(--ease);
}
.menu-open .menu__nav a, .menu-open .menu__foot { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * .06s); }
.menu__nav a { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-family: var(--serif); font-size: clamp(34px, 9vw, 48px); line-height: 1.1; }
.menu__nav a span { font-family: var(--sans); font-size: 12px; font-weight: 800; color: var(--leaf); letter-spacing: .1em; }
.menu__foot { display: flex; flex-direction: column; gap: 10px; padding-top: 32px; font-size: 15px; color: rgba(255,255,255,.8); }
.menu__foot .btn { margin-top: 12px; }

/* ---------- Header over the full-screen hero ---------- */
.header--overlay:not(.is-scrolled) { background: transparent; border-color: transparent; }
.header--overlay:not(.is-scrolled) .logo { color: var(--white); }
.header--overlay:not(.is-scrolled) .nav__link { color: rgba(255,255,255,.78); }
.header--overlay:not(.is-scrolled) .nav__link:hover,
.header--overlay:not(.is-scrolled) .nav__link.is-active { color: var(--white); }
.header--overlay:not(.is-scrolled) .nav__link::after { background: var(--white); }
.header--overlay:not(.is-scrolled) .nav__link.is-active::after { background: var(--leaf); }
.header--overlay:not(.is-scrolled) .header__cta,
.header--overlay:not(.is-scrolled) .header__cta-m { background: var(--white); color: var(--forest); --fill: var(--leaf); }
.header--overlay:not(.is-scrolled) .burger { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.header--overlay:not(.is-scrolled) .burger span { background: var(--white); }
.header--overlay:not(.is-scrolled) .progress { opacity: 0; }

/* ---------- Hero (full-screen photo) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: max(640px, 100vh); min-height: max(640px, 100svh);
  color: var(--white); background: var(--night);
}
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--forest); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform-origin: 50% 40%; will-change: transform; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10,30,21,.82) 0%, rgba(13,38,27,.6) 38%, rgba(13,38,27,.14) 68%, rgba(13,38,27,0) 100%),
  linear-gradient(0deg, rgba(10,24,17,.72) 0%, rgba(10,24,17,0) 42%),
  linear-gradient(180deg, rgba(10,24,17,.45) 0%, rgba(10,24,17,0) 22%); }
.hero__inner { position: relative; width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; padding-block: calc(var(--header-h) + 64px) clamp(72px, 9vh, 112px); }
.hero__copy { display: flex; flex-direction: column; gap: 28px; max-width: 780px; }
.hero__title { font-size: clamp(46px, 6.1vw, 96px); line-height: 1; font-weight: 700; letter-spacing: -0.035em; text-wrap: balance; }
.hero__title .serif--it { color: var(--sage); }
.hero .lead { max-width: 580px; color: rgba(255,255,255,.84); }
.hero .btn-row { padding-top: 8px; }
.hero .float-card { position: relative; left: auto; bottom: auto; flex-shrink: 0; color: var(--ink); }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 999px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--white); animation: scrollCue 2s var(--ease) infinite; }
@keyframes scrollCue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
.apps-sec { padding-top: 8px; }
.apps-sec .apps { border-top: 0; }

.parallax-img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; will-change: transform; }

.float-card {
  position: absolute; left: 24px; bottom: 24px;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px 16px 16px; border-radius: 16px;
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px -12px rgba(23,32,28,.25);
}
.float-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sage); color: var(--forest); }
.float-card__title { font-size: 15px; font-weight: 700; }
.float-card__sub { font-size: 13.5px; color: var(--muted); }

/* ---------- Applications ---------- */
.apps { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 28px 0; border-top: 1px solid rgba(23,32,28,.1); border-bottom: 1px solid rgba(23,32,28,.1); }
.apps__label { font-size: 14px; font-weight: 600; color: var(--muted); }
.apps__list { display: flex; align-items: center; gap: clamp(24px, 3.3vw, 48px); font-size: 16px; font-weight: 700; color: var(--forest); }
.apps__list li { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.apps__list .ic { transition: transform .6s var(--ease); }
.apps__list li:hover .ic { transform: translateY(-3px) rotate(-8deg); }

/* ---------- Principles ---------- */
.principles { display: flex; flex-direction: column; gap: 56px; padding-block: 120px 96px; }
.split-head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: end; }
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pcard {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 20px;
  padding: 32px 28px 36px; border-radius: 20px;
  background: var(--white); border: 1px solid rgba(23,32,28,.06);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s;
}
.pcard::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(114,184,75,.16), transparent 60%);
  transition: opacity .5s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(23,74,53,.35); border-color: rgba(46,139,87,.2); }
.pcard:hover::before { opacity: 1; }
.pcard__text { display: flex; flex-direction: column; gap: 20px; }
.pcard h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.pcard p { font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.tile { display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; background: var(--sage); color: var(--forest); transition: background .5s var(--ease), color .5s var(--ease), transform .6s var(--ease); }
.pcard:hover .tile, .cert:hover .tile { background: var(--forest); color: var(--white); transform: rotate(-6deg) scale(1.05); }

/* ---------- Banner 1: Promise ---------- */
.promise { padding-inline: var(--gw); background: linear-gradient(180deg, var(--bg) 50%, var(--forest) 50%); }
.promise__card { position: relative; max-width: 1520px; margin: 0 auto; min-height: 580px; border-radius: 32px; overflow: hidden; background: var(--forest); color: var(--white); }
.promise__shade { position: absolute; inset: 0; background:
  linear-gradient(0deg, rgba(13,38,27,.7) 0%, rgba(13,38,27,0) 34%),
  linear-gradient(90deg, rgba(13,38,27,.9) 0%, rgba(20,62,44,.74) 40%, rgba(23,74,53,.12) 72%, rgba(23,74,53,0) 100%); }
.promise__body { position: relative; min-height: 580px; display: flex; flex-direction: column; justify-content: space-between; gap: 56px; padding: 80px clamp(24px, 5vw, 72px) 44px; }
.promise__top { display: flex; flex-direction: column; gap: 22px; max-width: 700px; }
.promise__title { font-size: clamp(36px, 4.45vw, 64px); line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; }
.promise__points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.2); }
.promise__points li { display: flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 600; }
.ring-ic { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); color: var(--leaf); transition: background .5s, border-color .5s; }
.promise__points li:hover .ring-ic { background: rgba(114,184,75,.16); border-color: var(--leaf); }

/* ---------- Why ---------- */
.why { background: var(--forest); padding-block: 120px; }
.why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 96px; align-items: start; }
.why__intro { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 130px; }
.why__intro .body-lg { max-width: 520px; }
.why__list { display: flex; flex-direction: column; }
.why__item { position: relative; display: flex; gap: 28px; padding: 32px 0; }
.why__item::before, .why__item:last-child::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: rgba(255,255,255,.14); transform-origin: left;
  transform: scaleX(var(--line, 1)); transition: transform 1.2s var(--ease);
}
.why__item::before { top: 0; }
.why__item:last-child::after { bottom: 0; }
.why__icon { display: grid; place-items: center; width: 56px; height: 56px; flex-shrink: 0; border-radius: 16px; background: rgba(114,184,75,.14); color: var(--leaf); transition: background .5s var(--ease), color .5s var(--ease), transform .6s var(--ease); }
.why__item:hover .why__icon { background: var(--leaf); color: var(--forest); transform: rotate(-6deg); }
.why__text { display: flex; flex-direction: column; gap: 8px; transition: transform .6s var(--ease); }
.why__item:hover .why__text { transform: translateX(6px); }
.why__text h3 { font-size: 24px; font-weight: 700; color: var(--white); letter-spacing: -0.01em; }
.why__text p { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.68); }

/* ---------- Products ---------- */
.products { display: flex; flex-direction: column; gap: 56px; padding-block: 120px 96px; }
.products__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 64px; }
.products__intro { max-width: 720px; }
.products__all-m { display: none; }
.rail-wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--g); }
.rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.rail-progress { display: none; }

.prod {
  position: relative; display: flex; flex-direction: column;
  padding: 10px; border-radius: 20px; background: var(--white); border: 1px solid rgba(23,32,28,.06);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.prod:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -34px rgba(23,74,53,.4); }
.prod__link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.prod__img { position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: var(--sage); }
.prod__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.prod:hover .prod__img img { transform: scale(1.07); }
.prod__body { display: flex; flex-direction: column; gap: 10px; flex-grow: 1; padding: 22px 16px 18px; }
.prod__body h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.prod__body p { flex-grow: 1; font-size: 15px; line-height: 1.55; color: var(--muted); }
.prod__more { display: inline-flex; align-items: center; gap: 8px; padding-top: 10px; font-size: 15px; font-weight: 700; color: var(--forest); }
.prod__more .ic { stroke-width: 2; transition: transform .5s var(--ease); }
.prod:hover .prod__more .ic { transform: translate(3px, -3px); }

/* ---------- Banner 2: Custom ---------- */
.custom-sec { padding-bottom: 120px; }
.custom { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: 500px; border-radius: 28px; overflow: hidden; background: var(--sand); }
.custom__copy { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 56px 64px 56px clamp(28px, 5vw, 72px); }
.custom__title { font-size: clamp(34px, 3.75vw, 54px); line-height: 1.04; }
.custom__text { max-width: 520px; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; color: var(--sand-ink); text-wrap: pretty; }
.custom__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 10px; }
.dots { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--sand-ink); }
.dots i { width: 4px; height: 4px; border-radius: 999px; background: var(--terra); }
.custom__media { position: relative; overflow: hidden; min-height: 280px; }
.pill-label { position: absolute; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: 14px; font-weight: 700; color: var(--ink); }
.pill-label i { position: relative; width: 8px; height: 8px; border-radius: 999px; background: var(--leaf); }
.pill-label i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--leaf); animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.8); opacity: 0; } }

/* ---------- Life cycle ---------- */
.cycle { padding-inline: var(--gw); }
.cycle__box {
  max-width: 1520px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(340px, 1fr) minmax(0, 720px); gap: 48px; align-items: center;
  padding: 96px 40px 96px clamp(28px, 5vw, 72px); border-radius: 32px; background: var(--sage);
}
.cycle__copy { display: flex; flex-direction: column; gap: 24px; }
.cycle__title { font-size: clamp(40px, 4.17vw, 60px); line-height: 1.02; letter-spacing: -0.015em; color: var(--forest); text-wrap: balance; }
.cycle__text { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.65; color: #4F5B55; text-wrap: pretty; }
.cycle__cta { display: flex; padding-top: 8px; }
.cycle__cta-m, .ring-m, .steps { display: none; }

.ring { position: relative; width: 100%; max-width: 720px; aspect-ratio: 720 / 640; justify-self: center; container-type: inline-size; }
.ring svg, .ring-m svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ring__img { position: absolute; left: 31.25%; top: 28.9%; width: 37.5%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1.4cqw rgba(255,255,255,.45); }
.ring__img img, .ring-m__img img { width: 100%; height: 100%; object-fit: cover; }
.ring__label { position: absolute; font-size: max(13px, 2.36cqw); font-weight: 700; line-height: 1.3; color: var(--ink); transition: color .5s, transform .6s var(--ease); cursor: default; }
.ring__label.is-active { color: var(--green); }
.l1 { left: 36.11%; top: 3.44%; width: 27.78%; text-align: center; }
.l4 { left: 36.11%; top: 89.7%; width: 27.78%; text-align: center; }
.l2 { left: 80.83%; top: 31.56%; width: 19.17%; }
.l3 { left: 80.83%; top: 64.53%; width: 19.17%; }
.l5 { left: 0; top: 64.53%; width: 19.17%; text-align: right; }
.l6 { left: 0; top: 31.56%; width: 19.17%; text-align: right; }

.node { cursor: default; }
.node .bg { fill: var(--white); stroke: rgba(23,74,53,.12); transition: fill .5s var(--ease); }
.node text { fill: var(--forest); transition: fill .5s var(--ease); }
.node .pulse { fill: none; stroke: var(--green); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.node.is-active .bg { fill: var(--forest); stroke: var(--forest); }
.node.is-active text { fill: var(--white); }
.node.is-active .pulse { animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.9); opacity: 0; } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 96px; align-items: start; padding-block: 140px 104px; }
.about__head { display: flex; flex-direction: column; gap: 20px; }
.about__title { font-size: clamp(44px, 5vw, 72px); line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
.about__body { display: flex; flex-direction: column; gap: 32px; padding-top: 40px; }
.about__lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.about__text { font-size: 17px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }

/* ---------- Banner 3: Vision ---------- */
.vision-sec { padding: 0 var(--gw) 120px; }
.vision { position: relative; max-width: 1520px; margin: 0 auto; min-height: 560px; border-radius: 32px; overflow: hidden; background: var(--night); color: var(--white); }
.vision__media { position: absolute; inset: 0; overflow: hidden; }
.vision__media img { object-position: 30% 60%; }
.vision__shade { position: absolute; inset: 0; background: linear-gradient(270deg, rgba(16,22,19,.94) 0%, rgba(16,22,19,.82) 40%, rgba(16,22,19,.2) 70%, rgba(16,22,19,0) 100%); }
.vision__body { position: relative; min-height: 560px; display: flex; flex-direction: column; justify-content: center; gap: 24px; margin-left: auto; width: min(620px, 52%); padding: 64px clamp(28px, 5.5vw, 80px) 64px 0; }
.vision__title { font-size: clamp(52px, 6.1vw, 88px); line-height: .98; letter-spacing: -0.02em; }
.vision__text { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; color: rgba(255,255,255,.74); text-wrap: pretty; }
.vision__mission { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); }
.vision__mission-k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.vision__mission-v { font-size: 17px; font-weight: 700; }

/* ---------- Certifications ---------- */
.certs-sec { padding-bottom: 120px; }
.certs { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; padding: clamp(28px, 3.9vw, 56px); border-radius: 24px; background: var(--white); border: 1px solid rgba(23,32,28,.06); }
.certs__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.certs__title { font-size: clamp(30px, 2.8vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; }
.certs__intro p { font-size: 17px; line-height: 1.65; color: var(--muted); }
.certs__intro .text-link { padding-top: 8px; }
.certs__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cert {
  display: flex; flex-direction: column; gap: 28px; padding: 28px; border-radius: 18px;
  background: var(--bg); border: 1px solid rgba(23,32,28,.06);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), background .5s, border-color .5s;
}
.cert:hover { transform: translateY(-6px); background: var(--white); border-color: rgba(46,139,87,.25); box-shadow: 0 24px 48px -30px rgba(23,74,53,.4); }
.cert__top { display: flex; align-items: center; justify-content: space-between; }
.cert__arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; color: var(--forest); transition: background .5s, color .5s, transform .6s var(--ease); }
.cert__arrow .ic { stroke-width: 1.8; }
.cert:hover .cert__arrow { background: var(--leaf); color: var(--ink); transform: rotate(45deg); }
.cert__text { display: flex; flex-direction: column; gap: 6px; }
.cert h3 { font-size: 22px; font-weight: 700; }
.cert p { font-size: 14.5px; color: var(--muted); }

/* ---------- Final CTA ---------- */
.cta-sec { padding: 0 var(--gw) var(--gw); }
.cta { position: relative; max-width: 1520px; margin: 0 auto; overflow: hidden; border-radius: 32px; background: var(--forest); color: var(--white); }
.cta__glow { position: absolute; inset: 0; background:
  radial-gradient(circle at 88% 12%, rgba(114,184,75,.26) 0%, rgba(114,184,75,0) 42%),
  radial-gradient(circle at 0% 100%, rgba(46,139,87,.4) 0%, rgba(46,139,87,0) 48%); }
.cta__rings { position: absolute; right: -210px; top: -250px; width: 820px; height: 820px; max-width: none; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta__grid { position: relative; display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; padding: 104px clamp(24px, 5.56vw, 80px) 96px; }
.cta__copy { display: flex; flex-direction: column; gap: 24px; }
.cta__title { font-size: clamp(42px, 5vw, 72px); line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; text-wrap: balance; }
.cta__text { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: rgba(255,255,255,.78); }
.cta .btn-row { padding-top: 12px; }
.contact-card { display: flex; flex-direction: column; padding: 12px 28px; border-radius: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.contact-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-row:last-child { border-bottom: 0; }
.contact-row__ic { color: var(--leaf); transition: transform .6s var(--ease); }
a.contact-row:hover .contact-row__ic { transform: scale(1.15) rotate(-8deg); }
.contact-row__v { display: block; font-size: 17px; font-weight: 700; overflow-wrap: anywhere; transition: color .4s; }
a.contact-row:hover .contact-row__v { color: var(--leaf); }
.contact-row__s { display: block; font-size: 14px; color: rgba(255,255,255,.65); }

/* ---------- Footer ---------- */
.footer { background: var(--forest); color: rgba(255,255,255,.7); padding-block: 88px 40px; }
.footer__grid { display: grid; grid-template-columns: 5fr 2fr 3fr 3fr; gap: 48px; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-right: 48px; }
.footer__tag { font-size: 28px; line-height: 1.2; color: var(--white); }
.footer__brand p { font-size: 15px; line-height: 1.65; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; font-size: 15px; line-height: 1.55; }
.footer__h { padding-bottom: 6px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); }
.footer__col a { position: relative; color: rgba(255,255,255,.8); transition: color .3s; }
.footer__col a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--leaf); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.footer__col a:hover { color: var(--white); }
.footer__col a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; }
.footer__legal { display: flex; align-items: center; gap: 28px; }
.footer__legal a { color: rgba(255,255,255,.7); transition: color .3s; }
.footer__legal a:hover { color: var(--white); }
.to-top { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); color: var(--white); transition: background .4s, color .4s, transform .6s var(--ease); }
.to-top:hover { background: var(--leaf); color: var(--ink); transform: translateY(-4px); }

/* ---------- Initial hidden states (only when motion JS is active) ---------- */
.js-anim [data-reveal], .js-anim [data-stagger] > *, .js-anim [data-hero] { opacity: 0; }
.js-anim [data-split] { visibility: hidden; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav { gap: 22px; font-size: 14.5px; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cycle__box { grid-template-columns: 1fr; gap: 56px; padding: 88px clamp(28px, 6vw, 72px); }
  .cycle__copy { max-width: 720px; }
  .ring { max-width: 680px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 48px 32px; }
  .footer__brand { grid-column: 1 / -1; padding-right: 0; max-width: 560px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .nav, .header__cta { display: none; }
  .header__cta-m, .burger { display: inline-flex; }
  .burger { display: block; }
  .header.is-scrolled { height: 64px; }

  .hero__inner { flex-direction: column; align-items: flex-start; gap: 36px; }
  .hero__title { font-size: clamp(44px, 8.4vw, 76px); }
  .hero__shade { background:
    linear-gradient(0deg, rgba(10,24,17,.92) 0%, rgba(10,28,20,.72) 45%, rgba(10,28,20,.28) 75%, rgba(10,24,17,.5) 100%); }
  .hero__scroll { display: none; }
  .lead { max-width: 640px; }

  .apps { flex-direction: column; align-items: flex-start; gap: 18px; }
  .apps__list { flex-wrap: wrap; gap: 14px 32px; }

  .principles, .products { padding-block: 96px 80px; }
  .split-head { grid-template-columns: 1fr; gap: 20px; }

  .promise__points { grid-template-columns: 1fr; gap: 16px; }

  .why { padding-block: 96px; }
  .why__grid { grid-template-columns: 1fr; gap: 48px; }
  .why__intro { position: static; }

  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products__head { flex-direction: column; align-items: flex-start; gap: 28px; }

  .about { grid-template-columns: 1fr; gap: 28px; padding-block: 112px 88px; }
  .about__body { padding-top: 0; max-width: 720px; }

  .vision__body { width: min(560px, 62%); }
  .certs { grid-template-columns: 1fr; gap: 40px; }
  .cta__grid { grid-template-columns: 1fr; gap: 48px; align-items: start; padding-block: 88px 72px; }
  .contact-card { max-width: 520px; }
}

@media (max-width: 900px) {
  .promise__card, .promise__body { min-height: 500px; }
  .promise__title { font-size: clamp(36px, 5.6vw, 48px); }
  .custom { grid-template-columns: 1fr; }
  .custom__media { order: -1; height: clamp(250px, 50vw, 380px); }
  .custom__copy { padding: 40px clamp(24px, 5vw, 48px) 44px; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; --g: 20px; --gw: 12px; }
  .header.is-scrolled { height: 60px; }
  .logo { gap: 10px; }
  .logo svg { width: 28px; height: 28px; }
  .logo__word { font-size: 14.5px; }

  .eyebrow { font-size: 12px; letter-spacing: .15em; }
  .hero { min-height: max(620px, 100vh); min-height: max(620px, 100svh); }
  .hero__inner { gap: 24px; padding-block: calc(var(--header-h) + 72px) 32px; }
  .hero__copy { gap: 20px; width: 100%; }
  .hero__title { font-size: clamp(40px, 11.8vw, 52px); line-height: 1.04; }
  .hero .lead { font-size: 16px; }
  .hero .btn-row { flex-direction: column; align-items: stretch; }
  .hero .btn-row .btn { height: 54px; }
  .hero .float-card { width: 100%; padding: 12px 14px; background: rgba(255,255,255,.12); color: var(--white); border: 1px solid rgba(255,255,255,.18); box-shadow: none; }
  .hero .float-card__icon { width: 38px; height: 38px; background: rgba(114,184,75,.22); color: var(--leaf); }
  .hero .float-card__sub { color: rgba(255,255,255,.7); }
  .float-card { left: 14px; right: 14px; bottom: 14px; padding: 14px; }

  .apps { padding: 24px 0; }
  .apps__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; font-size: 14.5px; }
  .apps__list li { padding: 14px; border-radius: 14px; background: var(--white); border: 1px solid rgba(23,32,28,.06); white-space: normal; }

  .principles { gap: 36px; padding-block: 80px 64px; }
  .h2 { font-size: clamp(32px, 9vw, 38px); }
  .pgrid { grid-template-columns: 1fr; gap: 12px; }
  .pcard { flex-direction: row; gap: 16px; padding: 22px 20px; border-radius: 18px; }
  .pcard__text { gap: 6px; }
  .pcard h3 { font-size: 18px; }
  .pcard p { font-size: 15px; }
  .tile { width: 48px; height: 48px; }

  .promise__card { border-radius: 24px; min-height: 560px; }
  .promise__shade { background: linear-gradient(0deg, rgba(13,38,27,.96) 0%, rgba(13,38,27,.84) 48%, rgba(13,38,27,.25) 80%, rgba(13,38,27,.1) 100%); }
  .promise__body { min-height: 560px; justify-content: flex-end; gap: 32px; padding: 40px 22px 28px; }
  .promise__title { font-size: 36px; }
  .promise__points { gap: 12px; padding-top: 22px; }
  .promise__points li { font-size: 15px; }
  .ring-ic { width: 38px; height: 38px; }
  .promise .parallax-img { object-position: 70% 50%; }

  .why { padding-block: 80px; }
  .why__item { gap: 18px; padding: 24px 0; }
  .why__icon { width: 50px; height: 50px; border-radius: 14px; }
  .why__text h3 { font-size: 20px; }
  .why__text p { font-size: 15px; }

  .products { gap: 32px; padding-block: 80px 64px; }
  .products__all { display: none; }
  .products__all-m { display: block; }
  .rail-wrap { padding-inline: 0; }
  .rail {
    display: flex; gap: 12px; overflow-x: auto; padding: 0 20px 4px;
    scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .rail::-webkit-scrollbar { display: none; }
  .prod { width: 272px; flex-shrink: 0; padding: 8px; border-radius: 18px; scroll-snap-align: start; }
  .prod:hover { transform: none; }
  .prod__body { padding: 18px 12px 14px; }
  .prod__body h3 { font-size: 18px; }
  .rail-progress { display: block; position: relative; height: 3px; margin: 22px 20px 0; border-radius: 3px; background: rgba(23,74,53,.1); overflow: hidden; }
  .rail-progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 34%; border-radius: inherit; background: var(--forest); transform: translateX(calc(var(--rp, 0) * 194%)); }

  .custom-sec { padding-bottom: 80px; padding-inline: 12px; }
  .custom { border-radius: 24px; }
  .custom__copy { padding: 30px 22px 28px; gap: 16px; }
  .custom__title { font-size: 34px; }
  .custom__actions { flex-direction: column-reverse; align-items: stretch; }
  .custom__actions .btn { width: 100%; }
  .dots { justify-content: center; }

  .cycle__box { gap: 28px; padding: 56px 16px 40px; border-radius: 24px; }
  .cycle__copy { padding: 0 4px; gap: 14px; }
  .cycle__title { font-size: 40px; line-height: 1.04; }
  .cycle__cta, .ring { display: none; }
  .ring-m { display: block; position: relative; width: 100%; max-width: 334px; aspect-ratio: 1; justify-self: center; }
  .ring-m__img { position: absolute; left: 27.5%; top: 27.5%; width: 45%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 7px rgba(255,255,255,.45); }
  .steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; padding: 0 4px; counter-reset: none; }
  .steps li { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid rgba(23,74,53,.14); font-size: 14.5px; font-weight: 700; line-height: 1.3; transition: color .5s; }
  .steps li span { font-size: 12px; font-weight: 800; color: var(--green); display: grid; place-items: center; min-width: 26px; height: 26px; border-radius: 999px; transition: background .5s, color .5s; }
  .steps li.is-active { color: var(--forest); }
  .steps li.is-active span { background: var(--forest); color: var(--white); }
  .cycle__cta-m { display: block; }
  .cycle__cta-m .btn { height: 54px; font-size: 15px; }

  .about { gap: 22px; padding-block: 80px 56px; }
  .about__head { gap: 14px; }
  .about__title { font-size: 46px; }
  .about__body { gap: 22px; }
  .about__body .btn { width: 100%; }

  .vision-sec { padding-bottom: 80px; }
  .vision { min-height: 0; border-radius: 24px; background: var(--night); }
  .vision__media { position: relative; inset: auto; height: 290px; }
  .vision__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,23,20,0) 45%, var(--night) 100%); }
  .vision__media img { object-position: 30% 55%; }
  .vision__shade { display: none; }
  .vision__body { min-height: 0; width: 100%; margin: 0; gap: 18px; padding: 4px 22px 32px; }
  .vision__title { font-size: 52px; }
  .vision__mission { flex-direction: column; align-items: flex-start; gap: 6px; }

  .certs-sec { padding-bottom: 64px; }
  .certs { gap: 24px; padding: 28px 20px; border-radius: 20px; }
  .certs__intro .text-link { display: none; }
  .certs__grid { grid-template-columns: 1fr; gap: 10px; }
  .cert { flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 14px; padding: 16px; border-radius: 16px; }
  .cert__top { flex-direction: row-reverse; gap: 14px; }
  .cert .tile { display: none; }
  .cert h3 { font-size: 18px; }
  .cert p { font-size: 13.5px; }

  .cta { border-radius: 24px; }
  .cta__rings { width: 460px; height: 460px; right: -170px; top: -150px; }
  .cta__grid { gap: 36px; padding: 64px 22px 22px; }
  .cta__title { font-size: 42px; }
  .cta .btn-row { flex-direction: column; align-items: stretch; }
  .contact-card { padding: 6px 20px; }
  .contact-row__v { font-size: 16px; }

  .footer { padding-block: 64px 32px; }
  .footer__grid { gap: 40px 20px; }
  .footer__tag { font-size: 26px; }
  .footer__contact { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column-reverse; align-items: flex-start; margin-top: 44px; }
  .footer__legal { width: 100%; gap: 20px; }
  .to-top { margin-left: auto; }
}

@media (max-width: 380px) {
  .logo__word { font-size: 13px; letter-spacing: .06em; }
  .header__cta-m { padding: 0 12px; font-size: 13px; }
  .apps__list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .parallax-img { top: 0; height: 100%; }
}
