/* =========================================================
   PROLEGAL — Landing Page LSD (Lahan Sawah) — stylesheet
   Standalone: HTML + CSS + JS only, no build step.
   Palette/tokens extracted from the Prolegal reference pages
   (project-pelaporan-lkpm / project-pelaporan-rups-tahunan).
   Green is reserved STRICTLY for WhatsApp buttons.
   ========================================================= */

:root {
  /* brand (verified from reference CSS variables) */
  --clay: #D3501B;
  --gold: #FFDE59;
  --brand: #DE6C1D;          /* color-mix(lch, gold 18%, clay) */
  --brand-dark: #B2581C;
  --brand-tint: #FFF0E8;
  --gradient-primary: linear-gradient(135deg, var(--clay) 0%, var(--brand) 55%, var(--gold) 100%);
  --gradient-text: linear-gradient(95deg, var(--clay) 0%, var(--brand) 100%);

  /* WhatsApp — Rule 1 */
  --wa: #1A9E4A;
  --wa-hover: #15803D;
  --wa-active: #116C34;
  --shadow-cta: 0 8px 20px rgba(0, 0, 0, .14);

  /* neutrals (warm) */
  --ink: #221A12;
  --ink-soft: #5B4E40;
  --ink-faint: #8A7C6C;
  --paper: #FFFCF7;
  --paper-alt: #FBF2E4;
  --card: #FFFFFF;
  --line: #ECE1CE;
  --line-soft: #F3EAD9;
  --on-dark: #FFFCF7;
  --on-dark-soft: rgba(255, 252, 247, .78);

  /* type */
  --font-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* shape */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --shadow-card: 0 20px 50px -24px rgba(30, 20, 10, .18);

  /* layout — Rule 3: navbar + footer share ONE horizontal padding var */
  --container: 1200px;
  --footer-max: 1400px;
  --container-pad: clamp(20px, 3.2vw, 40px);
  --nav-h: 72px;

  --ease: cubic-bezier(.22, .9, .3, 1);
  --section-y: clamp(64px, 9vw, 112px);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.15; }
h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -.01em; }
strong { color: var(--ink); font-weight: 700; }
section[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -64px; z-index: 100; background: var(--ink); color: var(--on-dark); padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--container-pad); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--paper-alt); }
.accent-text { color: var(--clay); }

/* icons: single-colour outline only */
.icon { width: 1.5rem; height: 1.5rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- section head ---------- */
.section-head { max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 16px; font-size: 1.125rem; }
.divider { display: block; width: 64px; height: 5px; border-radius: 99px; background: var(--gradient-primary); margin-top: 18px; transform-origin: left center; }
.section-head--center .divider { margin-inline: auto; transform-origin: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 28px; border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: var(--shadow-cta); }
.btn--wa:hover { background: var(--wa-hover); }
.btn--wa:active { background: var(--wa-active); }
.btn--wa[disabled] { opacity: .7; cursor: progress; }
.btn__icon { width: 24px; height: 24px; flex: none; }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: .9rem; gap: 8px; }
.btn--sm .btn__icon { width: 20px; height: 20px; }
.btn--block { width: 100%; }
.cta-row { margin-top: 32px; }
.cta-row--center { display: flex; justify-content: center; }

/* ---------- navbar ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 252, 247, .9); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line-soft); transition: box-shadow .25s ease; }
.nav.is-scrolled { box-shadow: 0 6px 24px -14px rgba(30, 20, 10, .25); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav__brand img { height: 46px; width: auto; }
.nav__links { display: flex; gap: clamp(14px, 2.2vw, 30px); font-family: var(--font-display); font-weight: 700; font-size: .92rem; }
.nav__links a { text-decoration: none; color: var(--ink); padding: 6px 2px; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--gradient-primary); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(36px, 6vw, 84px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.hero::before { width: 760px; height: 760px; right: -220px; top: -340px; background: radial-gradient(closest-side, rgba(255, 222, 89, .5), rgba(255, 222, 89, 0)); }
.hero::after { width: 560px; height: 560px; left: -260px; bottom: -300px; background: radial-gradient(closest-side, rgba(211, 80, 27, .12), rgba(211, 80, 27, 0)); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__lead { margin-top: 20px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 56ch; }

/* lead form (UI only) */
.lead-form { margin-top: 28px; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: clamp(20px, 3vw, 28px); }
.lead-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: var(--ink); }
.req { color: var(--clay); font-weight: 800; }
#lead-form { scroll-margin-top: calc(var(--nav-h) + 20px); }
.lead-form.is-pulse { animation: form-pulse 1.4s var(--ease) 1; }
@keyframes form-pulse { 0% { box-shadow: var(--shadow-card), 0 0 0 0 rgba(222, 108, 29, .55); } 100% { box-shadow: var(--shadow-card), 0 0 0 22px rgba(222, 108, 29, 0); } }
.field input { width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s, background .2s; }
.field input::placeholder { color: #A69A8B; opacity: 1; }
.field input:hover { border-color: #DCCDB2; }
.field input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(222, 108, 29, .16); }
.field input[aria-invalid="true"] { border-color: #B42318; background: #FFF6F5; }
.field__error { min-height: 0; font-size: .8rem; color: #B42318; font-weight: 600; }
.field__error:empty { display: none; }
.lead-form .btn { margin-top: 20px; }
.lead-thanks { margin-top: 28px; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: clamp(20px, 3vw, 28px); }
.lead-thanks:focus { outline: none; }
.lead-thanks p { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.5; color: var(--ink); }

/* image slots (placeholders w/ locked aspect-ratio) */
.slot { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: var(--ratio, 4 / 5); border-radius: var(--radius-lg); border: 2px dashed rgba(211, 80, 27, .42); background: linear-gradient(135deg, rgba(211, 80, 27, .07), rgba(255, 222, 89, .26)); text-align: center; overflow: hidden; }
.slot--filled { border: 0; background: var(--paper-alt); box-shadow: var(--shadow-card); }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot__inner { display: grid; justify-items: center; gap: 8px; padding: 20px; max-width: 30ch; }
.slot__inner .icon { width: 40px; height: 40px; color: var(--clay); stroke-width: 1.5; }
.slot__title { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--ink); }
.slot__hint { font-size: .85rem; line-height: 1.45; color: var(--ink-soft); }
.slot__ratio { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-dark); background: rgba(255, 255, 255, .7); border-radius: 99px; padding: 3px 10px; }
.hero__media { position: relative; }
.hero__media::before { content: ""; position: absolute; inset: 8% -6% -6% 8%; border-radius: var(--radius-lg); background: var(--gradient-primary); opacity: .22; filter: blur(2px); z-index: 0; }
.hero__media .slot { position: relative; z-index: 1; background-color: #FFF8EC; }

/* trust strip */
.trust { position: relative; z-index: 1; margin-top: clamp(36px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); }
.trust__label { font-family: var(--font-display); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.trust__logos { flex: 1; min-width: 0; }
.trust__track { display: flex; flex-wrap: wrap; align-items: center; gap: 20px clamp(24px, 4vw, 48px); }
.trust__track img { height: 30px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1) opacity(.72); transition: filter .25s; }
.trust__track img:hover { filter: none; }
.trust__track img.logo--tall { height: 46px; }
.trust__track .is-clone { display: none; }
@keyframes trust-scroll { to { transform: translateX(-50%); } }

/* ---------- problem ---------- */
.problem__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.problem__head { position: sticky; top: calc(var(--nav-h) + 28px); }
.pain-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pain { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius-md); padding: 24px; display: grid; gap: 14px; align-content: start; box-shadow: 0 10px 30px -22px rgba(30, 20, 10, .3); transition: transform .3s var(--ease), box-shadow .3s; }
.pain:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.pain p { color: var(--ink); font-weight: 600; line-height: 1.5; }
.icon-chip { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-tint); color: var(--clay); }

/* ---------- 2026 shift (dark panel) ---------- */
.shift { padding-block: 0 var(--section-y); }
.shift__panel { position: relative; overflow: hidden; background: var(--ink); border-radius: var(--radius-lg); padding: clamp(32px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.shift__panel::before { content: ""; position: absolute; width: 620px; height: 620px; right: -200px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 222, 89, .16), rgba(255, 222, 89, 0)); }
.shift__panel::after { content: ""; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -280px; border-radius: 50%; background: radial-gradient(closest-side, rgba(211, 80, 27, .35), rgba(211, 80, 27, 0)); }
.shift__panel > * { position: relative; z-index: 1; }
.figure { display: grid; gap: 6px; }
.figure__label { font-family: var(--font-display); font-weight: 700; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-soft); }
.figure__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.6rem, 10vw, 7.5rem); line-height: .95; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--gold); white-space: nowrap; }
.figure .divider { margin-top: 14px; width: 96px; }
.shift h2 { color: var(--on-dark); }
.shift p { margin-top: 18px; font-size: 1.15rem; color: var(--on-dark-soft); }
.shift p strong { color: var(--gold); }
.shift .divider { background: var(--gradient-primary); }

/* ---------- solusi ---------- */
.solution__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); margin-top: clamp(36px, 5vw, 56px); align-items: start; }
.solution__media { position: sticky; top: calc(var(--nav-h) + 28px); }
.steps-v { display: grid; gap: 16px; }
.step-v { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius-md); padding: 22px 24px; box-shadow: 0 10px 30px -22px rgba(30, 20, 10, .3); }
.step-v__num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--gold); background: var(--ink); }
.step-v h3 { margin-bottom: 4px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.step-v .icon { width: 1.25rem; height: 1.25rem; color: var(--clay); }
.receive { margin-top: 22px; border-radius: var(--radius-md); padding: 26px 28px; background: linear-gradient(135deg, var(--brand-tint), #FFF3CF); border: 1px solid #F4D3BF; }
.receive__label { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.receive__label .icon { color: var(--clay); }
.receive p { color: var(--ink); }

/* ---------- kenapa ---------- */
.why__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); margin-top: clamp(36px, 5vw, 56px); align-items: start; }
.why__list { display: grid; gap: 18px; }
.why-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius-md); padding: 26px; box-shadow: 0 10px 30px -22px rgba(30, 20, 10, .3); }
.why-card__no { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--clay); min-width: 2.2ch; }
.why-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.why-card h3 .icon { width: 1.3rem; height: 1.3rem; color: var(--clay); }
.why__media { position: sticky; top: calc(var(--nav-h) + 28px); }

/* ---------- cara kerja ---------- */
.steps-h { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; counter-reset: s; position: relative; }
.steps-h::before { content: ""; position: absolute; left: 10%; right: 10%; top: 27px; height: 3px; border-radius: 3px; background: var(--gradient-primary); opacity: .55; }
.step-h { position: relative; display: grid; justify-items: center; text-align: center; gap: 16px; }
.step-h__num { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--gold); background: var(--ink); border: 5px solid var(--paper); box-sizing: content-box; margin-top: -5px; }
.step-h p { color: var(--ink); font-weight: 600; line-height: 1.45; }

/* ---------- proof ---------- */
.proof__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 22px; margin-top: clamp(36px, 5vw, 56px); align-items: stretch; }
.ph-card { position: relative; background: var(--card); border: 2px dashed rgba(211, 80, 27, .38); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; align-content: start; }
.ph-badge { justify-self: start; font-size: .8rem; font-weight: 800; color: #8F4512; background: var(--brand-tint); border-radius: 99px; padding: 4px 12px; }
.ph-card h3 { font-size: 1.3rem; }
.case-rows { display: grid; gap: 14px; }
.case-row { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.case-row dt { font-family: var(--font-display); font-weight: 800; color: var(--ink); }
.case-row dd { color: var(--ink-soft); font-size: .95rem; }
.ph-lines { display: grid; gap: 10px; }
.ph-lines span { display: block; height: 12px; border-radius: 99px; background: var(--line-soft); }
.ph-lines span:nth-child(2) { width: 88%; }
.ph-lines span:nth-child(3) { width: 64%; }
.quote-mark { font-family: var(--font-display); font-weight: 800; font-size: 4rem; line-height: .6; color: var(--clay); height: 28px; }
.person { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 6px; }
.person .slot { border-radius: 50%; border-width: 2px; }
.person .slot .slot__inner { padding: 0; }
.person .slot .icon { width: 26px; height: 26px; }
.person strong { display: block; }

/* testimonials: ID-badge card stack (auto-advancing carousel) */
#bukti { overflow-x: clip; }
@supports not (overflow: clip) { #bukti { overflow-x: hidden; } }
.tstage { position: relative; max-width: 640px; margin: clamp(40px, 5vw, 64px) auto 0; }
.tstage::before { content: ""; position: absolute; inset: -36px -16px; z-index: 0; pointer-events: none; background-image: linear-gradient(rgba(34, 26, 18, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(34, 26, 18, .07) 1px, transparent 1px); background-size: 52px 52px; -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent 100%); mask-image: radial-gradient(closest-side, #000 45%, transparent 100%); }
.tstack { position: relative; z-index: 1; display: grid; padding: 30px 0 60px; touch-action: manipulation; cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.tstack__clip { position: absolute; z-index: 6; left: 50%; top: 12px; width: 76px; height: 30px; transform: translateX(-50%); border-radius: 14px 14px 10px 10px; background: linear-gradient(180deg, #F6F1E8 0%, #C9BFAE 100%); box-shadow: 0 6px 14px -6px rgba(30, 20, 10, .5), inset 0 1px 0 rgba(255, 255, 255, .85); }
.tstack__clip::after { content: ""; position: absolute; left: 50%; top: 50%; width: 34px; height: 8px; transform: translate(-50%, -50%); border-radius: 6px; background: linear-gradient(180deg, #3A2F24, #221A12); }
.tcard { grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 4vw, 36px); padding-top: clamp(38px, 5vw, 48px); background: #fff; border: 1px solid var(--line-soft); border-radius: 22px; box-shadow: 0 26px 60px -30px rgba(30, 20, 10, .38), 0 2px 6px rgba(30, 20, 10, .05); transform-origin: 50% 0; transition: transform .65s var(--ease), opacity .4s ease, box-shadow .65s var(--ease); will-change: transform; }
html:not(.js) .tstack { display: block; }
html:not(.js) .tcard { margin-bottom: 18px; }
html:not(.js) .tstack__clip { display: none; }
.js .tcard[data-pos="0"] { transform: none; z-index: 3; }
.js .tcard[data-pos="1"] { transform: translate(-8px, calc(var(--card-h, 0px) * .05 + 16px)) rotate(-3deg) scale(.95); z-index: 2; box-shadow: 0 14px 30px -20px rgba(30, 20, 10, .3); }
.js .tcard[data-pos="2"] { transform: translate(10px, calc(var(--card-h, 0px) * .1 + 32px)) rotate(3.2deg) scale(.9); z-index: 1; box-shadow: 0 10px 24px -18px rgba(30, 20, 10, .28); }
.js .tcard > * { transition: opacity .35s ease .12s; }
.js .tcard:not([data-pos="0"]) > * { opacity: 0; transition-delay: 0s; }
.tcard.is-leaving { transform: translateY(56px) rotate(8deg) !important; opacity: 0; z-index: 4 !important; transition: transform .45s cubic-bezier(.55, 0, .9, .45), opacity .4s ease .05s; }
.tcard.no-trans, .tcard.no-trans > * { transition: none !important; }
.tcard__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 30px; }
.tcard__brand { display: flex; align-items: center; height: 30px; }
.tcard__brand img { height: 26px; width: auto; max-width: 150px; object-fit: contain; }
.tcard__brand--text { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; line-height: 1.2; color: var(--ink); }
.tcard__dots { display: flex; align-items: center; gap: 5px; flex: none; }
.tcard__dots i { width: 5px; height: 5px; border-radius: 50%; background: #D8CCB6; }
.tcard__dots i.on { width: 10px; border-radius: 4px; background: var(--ink); }
.tcard__mark { display: block; height: 1.5rem; font-family: var(--font-display); font-weight: 800; font-size: 3.6rem; line-height: .75; color: var(--clay); }
.tcard__quote { margin: 0; flex: 1; color: var(--ink-soft); font-size: clamp(.98rem, 1.5vw, 1.07rem); line-height: 1.7; }
.tcard__by { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.tcard__avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .92rem; letter-spacing: .02em; color: var(--brand-dark); background: var(--brand-tint); border: 1.5px solid #F4D3BF; }
.tcard__who { min-width: 0; }
.tcard__name { font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; line-height: 1.3; color: var(--ink); }
.tcard__company { margin-top: 2px; font-weight: 600; font-size: .88rem; line-height: 1.4; color: var(--brand-dark); }
.tcard__stars { margin-left: auto; display: flex; gap: 3px; flex: none; color: var(--clay); }
.tcard__stars .icon { width: 16px; height: 16px; }
[hidden] { display: none !important; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--nav-h) + 28px); }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius-md); transition: box-shadow .3s, border-color .3s; }
.faq-item[open] { border-color: #F4D3BF; box-shadow: var(--shadow-card); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; line-height: 1.35; color: var(--ink); border-radius: var(--radius-md); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--clay); transition: transform .3s var(--ease); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item__a { padding: 0 24px 22px; }

/* ---------- closing CTA ---------- */
.closing { padding-block: 0 var(--section-y); }
.closing__card { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 64px); background: linear-gradient(135deg, var(--brand-tint) 0%, #FFE9B5 62%, #FFDE59 130%); border: 1px solid #F4D3BF; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.closing__card > * { position: relative; z-index: 1; }
.closing h2 { max-width: 20ch; }
.closing p { margin-top: 16px; font-size: 1.15rem; color: var(--ink-soft); }
.closing .slot { background-color: rgba(255, 255, 255, .55); }

/* ---------- footer (Rule 3: max 1400, centred, shares --container-pad with navbar) ---------- */
.footer { background: var(--ink); color: var(--on-dark-soft); padding: 0; margin: 0; }
.footer__panel { width: 100%; max-width: var(--footer-max); margin-inline: auto; padding: clamp(48px, 6vw, 72px) var(--container-pad) 28px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.footer__logo { height: 64px; width: auto; }
.footer__disclaimer { margin-top: 22px; max-width: 52ch; font-size: .92rem; line-height: 1.75; }
.footer h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 14px; }
.footer ul { display: grid; gap: 10px; }
.footer a { text-decoration: none; color: var(--on-dark-soft); transition: color .2s; }
.footer a:hover { color: var(--gold); }
.footer address { font-style: normal; display: grid; gap: 14px; font-size: .95rem; }
.footer .contact { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 14px; align-items: start; margin: 0; line-height: 1.55; }
/* icons share one optical size (~18px visible glyph) inside a 24px column */
.footer .contact .icon { width: 22px; height: 22px; margin-top: 1px; justify-self: center; color: var(--on-dark); }
.footer .contact[href^="mailto"] .icon { width: 24px; height: 24px; margin-top: 0; }
.footer .contact__wa { width: 29px; height: 29px; max-width: none; margin: -3px -2.5px -3px; justify-self: center; }
.footer__legal { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255, 252, 247, .14); display: grid; gap: 14px; font-size: .88rem; line-height: 1.7; }
.footer__legal p { max-width: none; }

/* ---------- floating / sticky WhatsApp ---------- */
.wa-float { position: fixed; right: clamp(16px, 2.4vw, 28px); bottom: clamp(16px, 2.4vw, 28px); z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); box-shadow: var(--shadow-cta); transition: background-color .2s, transform .2s var(--ease), opacity .3s; }
.wa-float:hover { background: var(--wa-hover); transform: translateY(-2px); }
.wa-float:active { background: var(--wa-active); }
.wa-float img { width: 30px; height: 30px; }
.wa-bar { display: none; }

/* ---------- scroll reveal (Rule 2) ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: opacity, transform; }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-28px); }
[data-reveal="right"] { transform: translateX(28px); }
[data-reveal="scale"] { transform: scale(.95); }
[data-reveal="line"] { transform: scaleX(0); }
[data-reveal].is-visible { opacity: 1; transform: none; }
html:not(.js) [data-reveal] { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .steps-h { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .steps-h::before { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav__links { display: none; }
  .hero__grid, .problem__grid, .shift__panel, .solution__body, .why__body, .proof__grid, .faq__grid, .closing__card { grid-template-columns: minmax(0, 1fr); }
  .problem__head, .solution__media, .why__media, .faq__head { position: static; }
  .hero__media { max-width: 560px; }
  .hero__media .slot { --ratio: 4 / 3 !important; }
  .why__media { order: -1; max-width: 560px; }
  .why__media .slot, .solution__media .slot { --ratio: 16 / 10 !important; }
  .shift__panel { text-align: left; }
  .closing .slot { --ratio: 16 / 10 !important; }
}
@media (max-width: 768px) {
  .footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .wa-float { display: none; }
  .wa-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px var(--container-pad) calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 252, 247, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transition: transform .35s var(--ease); }
  .wa-bar.is-hidden { transform: translateY(110%); }
  .trust { flex-direction: column; align-items: stretch; gap: 16px; }
  /* logo strip becomes a slider: swipeable, auto-scrolling when JS is on */
  .trust__logos { width: 100%; overflow-x: auto; scrollbar-width: none; }
  .trust__logos::-webkit-scrollbar { display: none; }
  .trust__track { flex-wrap: nowrap; width: max-content; gap: 0; align-items: center; }
  .trust__track img { height: 26px; margin-right: 44px; flex: none; filter: none; }
  .trust__track img.logo--tall { height: 40px; }
  .trust__logos.is-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
  .trust__logos.is-marquee .trust__track { animation: trust-scroll 26s linear infinite; }
  .trust__logos.is-marquee .trust__track .is-clone { display: block; }
  .trust__logos.is-marquee:hover .trust__track, .trust__logos.is-marquee:active .trust__track { animation-play-state: paused; }
  .steps-h { grid-template-columns: minmax(0, 1fr); gap: 0; margin-left: 4px; }
  .step-h { grid-template-columns: auto minmax(0, 1fr); justify-items: start; text-align: left; align-items: start; gap: 18px; padding-bottom: 26px; }
  .step-h::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 3px; border-radius: 3px; background: var(--gradient-primary); opacity: .45; }
  .step-h:last-child { padding-bottom: 0; }
  .step-h:last-child::before { display: none; }
  .step-h p { padding-top: 14px; }
  .case-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  /* tall cards on narrow screens: smaller tilt; offsets follow the card height so the cards behind always peek out */
  .js .tcard[data-pos="1"] { transform: translate(-5px, calc(var(--card-h, 0px) * .06 + 16px)) rotate(-1.6deg) scale(.94); }
  .js .tcard[data-pos="2"] { transform: translate(6px, calc(var(--card-h, 0px) * .12 + 32px)) rotate(1.8deg) scale(.88); }
  .tcard.is-leaving { transform: translateY(48px) rotate(5deg) !important; }
  .tcard__by { flex-wrap: wrap; }
  .tcard__stars { margin-left: 0; width: 100%; }
  .tstack__clip { width: 64px; height: 26px; }
  body { font-size: 1rem; }
  .pain-grid, .lead-form__grid { grid-template-columns: minmax(0, 1fr); }
  .field--full { grid-column: auto; }
  .nav__brand img { height: 40px; }
  .btn:not(.btn--sm) { width: 100%; }
  .cta-row--center { display: block; }
  .step-v { gap: 14px; padding: 18px; }
  .step-v__num { width: 32px; height: 32px; font-size: .95rem; }
  .why-card { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .why-card__no { font-size: 2rem; }
  .receive { padding: 22px; }
  .figure__num { font-size: clamp(3rem, 17vw, 4.6rem); }
}
@media (max-width: 360px) {
  .nav__inner { gap: 10px; }
  .btn--sm { padding: 8px 14px; font-size: .85rem; }
}
