/* ==========================================================================
   AmbooLi: single-page site
   Art direction: warm paper page, near-black rounded panels with film grain,
   one lime "growth" accent, tight uppercase Inter Tight headlines.
   ========================================================================== */

:root {
  --paper: #f3eee6;
  --paper-2: #e9e2d6;
  --card: #fbf9f5;
  --ink: #0f100d;
  --ink-2: #171914;
  --ink-3: #22251f;
  --muted: #6a6d64;
  --line: rgba(15, 16, 13, .12);
  --lime: #c8f25a;
  --lime-2: #a9dc35;
  --green: #1f7a4c;
  --on-dark: #f3f1ea;
  --on-dark-muted: rgba(243, 241, 234, .62);
  --on-dark-line: rgba(243, 241, 234, .12);
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --r: 28px;
  --gap: 10px;
  --pad: clamp(20px, 4vw, 64px);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* Film grain overlay for dark panels */
.grain { position: relative; isolation: isolate; }
.grain::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: .16; mix-blend-mode: soft-light; pointer-events: none; border-radius: inherit; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }

.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.kicker--lime { color: var(--on-dark-muted); }
.kicker--lime::before { background: var(--lime); }
.h2 { font: 700 clamp(34px, 5.2vw, 80px)/.94 var(--display); letter-spacing: -.035em; text-transform: uppercase; }
.h2--light { color: var(--on-dark); }
.sec-head { margin-bottom: clamp(36px, 6vw, 72px); }
.sec-head--split { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; }
.sec-head__aside { color: var(--muted); max-width: 44ch; margin-top: 18px; }
.sec-head__aside a { color: var(--ink); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn { --bp: 15px 26px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: var(--bp); border-radius: 100px; border: 1px solid transparent; font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s, transform .35s var(--ease); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #d6fa76; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-3); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); }
.btn--sm { --bp: 12px 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 400; background: var(--paper); display: grid; place-content: center; justify-items: center; gap: 18px; transition: opacity .7s var(--ease), visibility .7s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__word { font: 800 clamp(40px, 8vw, 88px)/1 var(--display); letter-spacing: -.04em; }
.loader__bar { width: 160px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 40%; background: var(--ink); animation: load 1s var(--ease) infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 12px; left: 0; right: 0; z-index: 100; display: flex; justify-content: center; padding: 0 12px; transition: transform .6s var(--ease); pointer-events: none; }
.nav.is-hidden { transform: translateY(-140%); }
.nav__pill { pointer-events: auto; width: 100%; max-width: 1180px; display: flex; align-items: center; gap: 24px; padding: 8px 8px 8px 22px; border-radius: 100px; background: rgba(251, 249, 245, .86); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 10px 40px -18px rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .6); }
.nav__brand img { height: 22px; width: auto; filter: brightness(0); }
.nav__links { display: flex; gap: 30px; margin: 0 auto; }
.nav__links a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink); opacity: .7; transition: opacity .3s; }
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--on-dark); display: flex; flex-direction: column; justify-content: space-between; padding: 110px 24px max(24px, env(safe-area-inset-bottom)); }
.menu[hidden] { display: none; }
.menu nav { display: grid; }
.menu nav a { font: 700 clamp(36px, 11vw, 56px)/1.1 var(--display); letter-spacing: -.03em; text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--on-dark-line); }
.menu__foot { display: grid; gap: 10px; }

/* ---------- Hero ---------- */
.hero { padding: var(--gap); }
.hero__frame {
  position: relative; overflow: hidden; border-radius: var(--r); color: var(--on-dark);
  min-height: calc(100svh - 2 * var(--gap));
  display: grid; grid-template-columns: 1.05fr .95fr; grid-template-rows: 1fr auto; column-gap: 40px;
  padding: 110px var(--pad) 24px;
  background:
    radial-gradient(70% 80% at 82% 30%, rgba(46, 140, 88, .55) 0%, transparent 60%),
    radial-gradient(50% 50% at 70% 85%, rgba(200, 242, 90, .18) 0%, transparent 70%),
    linear-gradient(160deg, #101a14 0%, #0b0d0a 55%, #0e120e 100%);
}
.hero__glow { position: absolute; width: 46vmax; height: 46vmax; right: -8vmax; top: -6vmax; border-radius: 50%; background: radial-gradient(circle, rgba(200, 242, 90, .16), transparent 60%); filter: blur(20px); pointer-events: none; animation: breathe 9s ease-in-out infinite alternate; }
@keyframes breathe { to { transform: translate(-4vmax, 4vmax) scale(1.1); } }

.hero__copy { align-self: end; padding-bottom: clamp(16px, 4vh, 48px); position: relative; z-index: 2; }
.trust { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(18px, 3.4vh, 34px); }
.trust__faces { display: flex; }
.trust__faces img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #0e130f; margin-left: -10px; background: #fff; }
.trust__faces img:first-child { margin-left: 0; }
.trust p { font-size: 13px; line-height: 1.3; color: var(--on-dark-muted); }

.hero__title { font: 800 clamp(44px, min(6.2vw, 10.6vh), 100px)/.9 var(--display); letter-spacing: -.045em; text-transform: uppercase; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; }
.lime { color: var(--lime); }
.hero__lead { max-width: 44ch; color: var(--on-dark-muted); font-size: clamp(15px, 1.15vw, 18px); margin-top: clamp(16px, 3vh, 26px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(20px, 3.4vh, 32px); }

.hero__stage { position: relative; z-index: 1; align-self: center; height: min(66vh, 600px); perspective: 1400px; }
.card3d { position: absolute; left: 50%; top: 48%; width: clamp(200px, 19vw, 290px); aspect-ratio: .63; translate: -50% -50%; transform-style: preserve-3d; }
.card3d__inner { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(-22deg) rotateX(10deg) rotateZ(-6deg); }
.card3d__face {
  position: absolute; inset: 0; border-radius: 22px; overflow: hidden; padding: 22px; display: flex; flex-direction: column;
  background: linear-gradient(145deg, #253b2d 0%, #0d1510 42%, #0a0f0b 60%, #1f3427 100%);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 40px 80px -30px rgba(0, 0, 0, .9);
}
.card3d__top { display: flex; justify-content: space-between; align-items: center; }
.card3d__top img { height: 16px; width: auto; }
.card3d__top span { font: 600 9px/1 var(--sans); letter-spacing: .2em; color: var(--on-dark-muted); }
.card3d__chip { width: 44px; height: 34px; border-radius: 7px; margin-top: 26px; background: linear-gradient(135deg, #e8e4d8, #a9a493 50%, #dcd8cb); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); }
.card3d__amt { margin-top: auto; }
.card3d__amt small { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.card3d__amt strong { font: 700 clamp(30px, 3vw, 42px)/1.05 var(--display); letter-spacing: -.03em; color: var(--lime); }
.card3d__bottom { display: flex; justify-content: space-between; margin-top: 18px; font: 500 11px/1 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .08em; color: var(--on-dark-muted); }
.card3d__sheen { position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .22) 48%, transparent 56%); transform: translateX(-60%); animation: sheen 6s var(--ease) infinite; pointer-events: none; }
@keyframes sheen { 0%, 55% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
.card3d__shadow { position: absolute; left: 50%; top: 86%; width: 46%; height: 26px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .65), transparent); filter: blur(6px); }

.pills { position: absolute; inset: 0; pointer-events: none; }
.pill { position: absolute; left: var(--x); top: var(--y); display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px 11px 11px; border-radius: 100px; font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--on-dark); background: rgba(20, 24, 20, .62); border: 1px solid var(--on-dark-line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); }
.pill i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; background: var(--lime); color: var(--ink); }

.hero__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid var(--on-dark-line); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); position: relative; z-index: 2; }
.hero__scroll { display: inline-flex; align-items: center; gap: 10px; }
.hero__scroll i { width: 40px; height: 1px; background: var(--on-dark-muted); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--lime); animation: line 2s var(--ease) infinite; }
@keyframes line { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ---------- Ticker ---------- */
.ticker { padding: clamp(40px, 7vw, 80px) 0 clamp(30px, 5vw, 60px); text-align: center; }
.ticker__label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.ticker__mask { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker__track { display: flex; gap: clamp(36px, 5vw, 72px); width: max-content; animation: marquee 45s linear infinite; }
.ticker__track span { font: 700 clamp(18px, 2vw, 28px)/1 var(--display); letter-spacing: -.02em; text-transform: uppercase; color: var(--ink); opacity: .35; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Ring: 3D cylinder ---------- */
.ring { padding: var(--gap); }
.ring__panel { border-radius: var(--r); overflow: hidden; background: radial-gradient(60% 60% at 50% 50%, #1a2119 0%, #0b0c0a 70%); color: var(--on-dark); }
.ring__pin { position: relative; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; perspective: 1100px; }
.ring__scene { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.ring__cyl { --R: 620px; position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.ring__cyl--a { top: calc(50% - 24vh); }
.ring__cyl--b { top: calc(50% + 24vh); }
.tile { position: absolute; width: var(--tw, 150px); height: var(--th, 190px); margin: calc(var(--th, 190px) / -2) 0 0 calc(var(--tw, 150px) / -2); border-radius: 14px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; transform: rotateY(var(--a)) translateZ(var(--R)); background: var(--ink-3); border: 1px solid var(--on-dark-line); transition: opacity .25s linear; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile--avatar img { object-fit: contain; padding-top: 18%; }
.tile--photo img { filter: saturate(.9) brightness(.85); }
.tile--svc { display: flex; flex-direction: column; justify-content: space-between; padding: 16px; background: linear-gradient(160deg, #233026, #121612); }
.tile--svc svg { width: 34px; height: 34px; fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile--svc b { font: 700 17px/1.05 var(--display); letter-spacing: -.02em; text-transform: uppercase; }

.ring__center { position: relative; z-index: 2; text-align: center; display: grid; justify-items: center; padding: 0 20px; }
.mini-card { width: clamp(110px, 10vw, 150px); aspect-ratio: .63; border-radius: 14px; margin-bottom: 26px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(145deg, #2a4433, #0d1510 50%, #22392b); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); transform: rotateY(-14deg) rotateX(6deg); }
.mini-card img { height: 11px; width: auto; }
.mini-card span { display: block; width: 30px; height: 22px; border-radius: 5px; background: linear-gradient(135deg, #e8e4d8, #a9a493 50%, #dcd8cb); }
.ring__title { font: 800 clamp(34px, 5.4vw, 84px)/.92 var(--display); letter-spacing: -.045em; text-transform: uppercase; }
.ring__now { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 100px; background: rgba(255, 255, 255, .06); border: 1px solid var(--on-dark-line); font-size: 13px; }
.ring__label { color: var(--on-dark-muted); }
.ring__service { padding: 6px 14px; border-radius: 100px; background: var(--lime); color: var(--ink); font-weight: 600; min-width: 9ch; }

/* ---------- Services ---------- */
.services { padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 8vw, 120px); }
.svc { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.svc__panel { position: sticky; top: 96px; min-height: min(620px, calc(100vh - 130px)); border-radius: var(--r); padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; color: var(--on-dark); overflow: hidden; background: radial-gradient(90% 70% at 100% 0%, rgba(46, 140, 88, .45), transparent 60%), linear-gradient(160deg, #121a14, #0b0c0a); }
.svc__bignum { position: absolute; right: 24px; top: 4px; font: 800 clamp(110px, 12vw, 180px)/1 var(--display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .16); }
.svc__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--lime); }
.svc__icon svg { width: 32px; height: 32px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.svc__ptitle { margin-top: auto; font: 800 clamp(32px, 3.4vw, 52px)/.95 var(--display); letter-spacing: -.04em; text-transform: uppercase; }
.svc__ptext { color: var(--on-dark-muted); margin-top: 16px; max-width: 40ch; }
.svc__pbul { margin: 20px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc__pbul li { padding: 7px 13px; border-radius: 100px; font-size: 13px; border: 1px solid var(--on-dark-line); background: rgba(255, 255, 255, .04); }
.svc__panel .btn { align-self: flex-start; }
.svc__panel > *:not(.svc__bignum) { transition: opacity .35s var(--ease), transform .45s var(--ease); }
.svc__panel.is-swapping > *:not(.svc__bignum) { opacity: 0; transform: translateY(12px); }

.svc__row { display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; padding: 26px 0; border-top: 1px solid var(--line); cursor: pointer; opacity: .38; transition: opacity .45s var(--ease); }
.svc__row:last-child { border-bottom: 1px solid var(--line); }
.svc__row.is-active, .svc__row:hover { opacity: 1; }
.svc__n { font: 600 13px/2.4 var(--sans); color: var(--muted); }
.svc__row h3 { font: 700 clamp(24px, 2.6vw, 40px)/1.05 var(--display); letter-spacing: -.035em; text-transform: uppercase; }
.svc__row p { grid-column: 2; color: var(--muted); margin-top: 8px; max-width: 52ch; }

/* ---------- Why: bento ---------- */
.why { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 140px); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.bento__photo { grid-column: span 2; grid-row: span 2; position: relative; margin: 0; border-radius: var(--r); overflow: hidden; min-height: 470px; }
.bento__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.bento__photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 28px 26px; color: #fff; font-size: 15px; background: linear-gradient(to top, rgba(8, 10, 8, .88), transparent); }
.bento__photo strong { display: block; font: 700 26px/1.05 var(--display); letter-spacing: -.03em; text-transform: uppercase; margin-bottom: 8px; }
.bento__card { min-height: 230px; border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.bento__card h3 { margin-top: auto; font: 700 20px/1.1 var(--display); letter-spacing: -.02em; text-transform: uppercase; }
.bento__card p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.bento__card .count { font: 800 clamp(64px, 6vw, 96px)/.9 var(--display); letter-spacing: -.06em; }
.bento__ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; background: var(--paper-2); }
.bento__card--dark { background: linear-gradient(160deg, #151c16, #0b0c0a); color: var(--on-dark); border-color: transparent; }
.bento__card--dark p { color: var(--on-dark-muted); }
.bento__card--dark .count { color: var(--lime); }
.bento__card--dark .bento__ic { background: var(--lime); color: var(--ink); }
.bento__card--dark a { color: var(--lime); font-weight: 600; text-decoration: none; }
.bento__card--lime { background: var(--lime); border-color: transparent; }
.bento__card--lime p { color: rgba(15, 16, 13, .7); }
.bento > :last-child { grid-column: span 4; min-height: 0; padding-top: 22px; padding-bottom: 22px; flex-direction: row; align-items: center; gap: 22px; }
.bento > :last-child h3 { margin: 0; }
.bento > :last-child p { margin: 0 0 0 auto; }

/* ---------- Calculator ---------- */
.calc { padding: var(--gap); }
.calc__panel { border-radius: var(--r); padding: clamp(48px, 7vw, 100px) var(--pad); color: var(--on-dark); background: radial-gradient(60% 70% at 0% 100%, rgba(46, 140, 88, .35), transparent 60%), linear-gradient(160deg, #121712, #0b0c0a); }
.calc__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.calc__note { color: var(--on-dark-muted); margin-top: 20px; max-width: 44ch; font-size: 15px; }
.calc__controls { display: grid; gap: 28px; margin-top: 40px; }
.range { display: block; }
.range__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; color: var(--on-dark-muted); font-size: 14px; }
.range output { font: 700 24px/1 var(--display); letter-spacing: -.02em; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.range input { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; outline: none; cursor: pointer; background: linear-gradient(90deg, var(--lime) var(--p, 50%), rgba(255, 255, 255, .14) var(--p, 50%)); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); border: 6px solid #0f130f; box-shadow: 0 0 0 1px var(--lime); }
.range input::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--lime); border: 6px solid #0f130f; }
.range input:focus-visible { box-shadow: 0 0 0 4px rgba(200, 242, 90, .25); }
.calc__result { border-radius: 24px; padding: clamp(24px, 3vw, 36px); background: rgba(255, 255, 255, .05); border: 1px solid var(--on-dark-line); }
.calc__result > small { color: var(--on-dark-muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.calc__result > strong { display: block; font: 800 clamp(44px, 5vw, 72px)/1 var(--display); letter-spacing: -.045em; color: var(--lime); margin-top: 8px; font-variant-numeric: tabular-nums; }
.calc__bars { display: flex; align-items: flex-end; gap: 4px; height: 120px; margin: 26px 0 22px; }
.calc__bars i { flex: 1; position: relative; border-radius: 4px 4px 0 0; background: var(--lime); height: var(--v); transition: height .7s var(--ease); }
.calc__bars i::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--inv); background: rgba(255, 255, 255, .28); border-radius: inherit; transition: height .7s var(--ease); }
.calc__result dl { margin: 0 0 24px; display: grid; gap: 12px; }
.calc__result dl div { display: flex; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--on-dark-line); font-size: 15px; }
.calc__result dt { color: var(--on-dark-muted); display: flex; align-items: center; gap: 10px; }
.calc__result dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.sw { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.sw--inv { background: rgba(255, 255, 255, .4); }
.sw--gain { background: var(--lime); }

/* ---------- Steps ---------- */
.steps { padding: clamp(80px, 12vw, 150px) 0 clamp(40px, 6vw, 80px); }
.steps__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); counter-reset: s; }
.step { border-radius: var(--r); padding: clamp(26px, 3vw, 40px); background: var(--card); border: 1px solid var(--line); min-height: 300px; display: flex; flex-direction: column; }
.step__n { font: 800 clamp(64px, 7vw, 110px)/.85 var(--display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.step:nth-child(2) { background: var(--lime); border-color: transparent; }
.step:nth-child(3) { background: var(--ink); color: var(--on-dark); border-color: transparent; }
.step:nth-child(3) .step__n { -webkit-text-stroke-color: var(--lime); }
.step:nth-child(3) p { color: var(--on-dark-muted); }
.step h3 { margin-top: auto; padding-top: 40px; font: 700 26px/1.05 var(--display); letter-spacing: -.03em; text-transform: uppercase; }
.step p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.step:nth-child(2) p { color: rgba(15, 16, 13, .7); }

/* ---------- FAQ ---------- */
.faq { padding: clamp(60px, 10vw, 130px) 0; }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 96px); align-items: start; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; position: relative; padding: 24px 56px 24px 0; font-size: clamp(16px, 1.3vw, 19px); font-weight: 600; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; font-weight: 400; background: var(--card); border: 1px solid var(--line); transition: transform .45s var(--ease), background .3s, color .3s; }
.faq__list details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq__list p { color: var(--muted); padding: 0 56px 24px 0; }

/* ---------- Contact ---------- */
.contact { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 130px); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 96px); align-items: start; }
.contact__list { margin-top: 40px; display: grid; }
.contact__list li { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); }
.contact__list li:last-child { border-bottom: 1px solid var(--line); }
.contact__list span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.contact__list a { font: 700 22px/1.2 var(--display); letter-spacing: -.02em; text-decoration: none; }
.contact__list address { font-style: normal; color: var(--muted); }
.form { border-radius: var(--r); padding: clamp(26px, 3.4vw, 44px); background: var(--card); border: 1px solid var(--line); display: grid; gap: 16px; }
.form h3 { font: 700 26px/1.1 var(--display); letter-spacing: -.03em; text-transform: uppercase; margin-bottom: 6px; }
.form label { display: grid; gap: 7px; font-size: 13px; font-weight: 500; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 400 16px var(--sans); transition: border-color .3s, box-shadow .3s; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(15, 16, 13, .08); }
.form input.is-invalid { border-color: #c4473a; }
.form__note { font-size: 14px; min-height: 1.4em; color: var(--green); }

/* ---------- Footer ---------- */
.footer { padding: var(--gap); }
.footer__panel { border-radius: var(--r); overflow: hidden; padding: clamp(40px, 6vw, 80px) var(--pad) 24px; color: var(--on-dark); background: linear-gradient(160deg, #121712, #0b0c0a); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer__logo { height: 42px; width: auto; margin-bottom: 16px; }
.footer__top p { color: var(--on-dark-muted); font-size: 14px; }
.footer nav { display: flex; flex-direction: column; gap: 10px; }
.footer h4 { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--lime); margin-bottom: 8px; }
.footer nav a { text-decoration: none; color: var(--on-dark-muted); font-size: 14px; transition: color .3s; }
.footer nav a:hover { color: #fff; }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--on-dark-line); transition: background .3s, color .3s; }
.socials a:hover { background: var(--lime); color: var(--ink); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }
.footer__disclaimer { margin-top: 48px; font-size: 12.5px; color: var(--on-dark-muted); max-width: 90ch; }
.footer__word { font: 800 clamp(64px, 19.5vw, 330px)/.8 var(--display); letter-spacing: -.06em; text-align: center; margin: clamp(30px, 5vw, 60px) 0 0; padding-bottom: .06em; background: linear-gradient(180deg, rgba(243, 241, 234, .9), rgba(243, 241, 234, .04)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--on-dark-line); font-size: 13px; color: var(--on-dark-muted); }
.footer__bottom a { text-decoration: none; }

.wa { position: fixed; right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 80; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .35s var(--ease); }
.wa:hover { transform: scale(1.08); }
.wa svg { width: 27px; height: 27px; fill: #fff; }

/* Reveal helper (JS adds it; a missing library leaves content visible) */
.rv { opacity: 0; transform: translateY(36px); }

/* ==========================================================================
   Responsive: tablet & phone
   ========================================================================== */
@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__pill { padding-left: 20px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento > :last-child { grid-column: span 2; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --r: 22px; --gap: 8px; }
  /* Hero stacks: copy first, card scene below */
  .hero__frame { grid-template-columns: 1fr; grid-template-rows: auto auto; min-height: 0; padding: 96px 20px 22px; }
  .hero__copy { align-self: start; padding-bottom: 0; }
  .hero__title { font-size: clamp(46px, 14vw, 72px); }
  .hero__stage { height: 380px; margin-top: 10px; }
  .card3d { width: 200px; }
  .card3d__face { padding: 18px; }
  .card3d__top span, .card3d__bottom span:last-child { display: none; }
  /* keep every pill inside the frame on narrow screens */
  .pill:nth-child(1) { left: 0; top: 4%; }
  .pill:nth-child(2) { left: auto; right: 0; top: 24%; }
  .pill:nth-child(3) { left: auto; right: 0; top: 68%; }
  .pill:nth-child(4) { left: 0; top: 91%; }
  .pill { font-size: 12.5px; padding: 8px 13px 8px 8px; gap: 8px; }
  .pill i { width: 20px; height: 20px; font-size: 10px; }
  .hero__foot { display: none; }

  .ring__pin { perspective: 720px; }
  .ring__cyl { --R: 240px; }
  .ring__cyl--a { top: calc(50% - 25vh); }
  .ring__cyl--b { top: calc(50% + 25vh); }
  .tile { --tw: 104px; --th: 132px; border-radius: 12px; }
  .tile--svc { padding: 10px; }
  .tile--svc svg { width: 22px; height: 22px; }
  .tile--svc b { font-size: 11px; }
  .mini-card { margin-bottom: 18px; }

  .sec-head--split { grid-template-columns: 1fr; gap: 0; }
  .svc { grid-template-columns: 1fr; }
  .svc__panel { display: none; }
  .svc__row { opacity: 1; padding: 22px 0; grid-template-columns: 40px 1fr; }
  .calc__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .steps__row { grid-template-columns: 1fr; }
  .step { min-height: 230px; }
}

@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .hero__actions .btn { flex: 1; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__card { min-height: 190px; }
  .bento__photo { min-height: 380px; }
  .bento__card { padding: 20px; }
  .bento__card h3 { font-size: 16px; }
  .bento__card p { font-size: 13px; }
  .bento > :last-child { flex-direction: column; align-items: flex-start; gap: 10px; }
  .bento > :last-child p { margin: 0; }
  .contact__list li { grid-template-columns: 1fr; gap: 4px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__top > div:first-child { grid-column: span 2; }
  .faq__list summary { padding-right: 50px; }
  .faq__list p { padding-right: 0; }
}

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