/* ============================================================
   Avnideep Partner Program — landing page
   Palette matches the partner portal (styles.css)
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #faf7f1;
  --surface: #ffffff;
  --surface-2: #f5f0e6;
  --line: #e8e0d2;
  --line-strong: #d9cbb0;
  --gold: #b8860b;
  --amber: #f59e0b;
  --orange: #f97316;
  --green: #15803d;
  --green-deep: #14532d;
  --green-ink: #0d3a20;
  --ink: #221c15;
  --muted: #85796a;
  --red: #b42318;
  --wa: #25d366;
  --wa-dark: #128c7e;
  --shadow-sm: 0 1px 2px rgba(34, 28, 21, .05);
  --shadow: 0 1px 3px rgba(34, 28, 21, .06), 0 16px 40px rgba(34, 28, 21, .08);
  --shadow-lg: 0 24px 64px rgba(34, 28, 21, .14);
  --radius: 20px;
  --wrap: 1160px;
  --font-body: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", "Segoe UI", serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }
::selection { background: rgba(245, 158, 11, .28); }

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

:focus-visible { outline: 3px solid rgba(245, 158, 11, .55); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff;
  box-shadow: 0 10px 24px rgba(249, 115, 22, .28);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(249, 115, 22, .36); }
.btn-ghost { background: #fff; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); background: #fdfaf2; }
.btn-outline { background: transparent; border-color: var(--green-deep); color: var(--green-deep); }
.btn-outline:hover { background: var(--green-deep); color: #fff; }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-wa { background: var(--wa); color: #053d22; box-shadow: 0 10px 24px rgba(37, 211, 102, .26); }
.btn-wa:hover { box-shadow: 0 14px 30px rgba(37, 211, 102, .34); }
.btn-wa svg { width: 20px; height: 20px; fill: currentColor; }
.btn-lg { padding: 15px 26px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary span { font-size: 18px; line-height: 1; }

.wa-cut { fill: #053d22; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 247, 241, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232, 224, 210, .9);
}
.nav-inner { display: flex; align-items: center; gap: 22px; height: 72px; }
.nav-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-size: 16px; letter-spacing: -.01em; color: var(--green-deep); }
.nav-brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 6px 16px rgba(184, 134, 11, .22); }
.nav-brand span { font-weight: 500; }
.nav-brand b { font-weight: 900; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: 12px; }
.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color .15s;
}
.nav-links a:hover { color: var(--green-deep); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 10px 16px; font-size: 14px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); border-radius: 10px; width: 42px; height: 42px; padding: 10px 9px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--green-deep); border-radius: 2px; margin: 4px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 62px 0 0; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 720px;
  background:
    radial-gradient(640px 380px at 18% 8%, rgba(245, 158, 11, .18), transparent 65%),
    radial-gradient(720px 420px at 88% 12%, rgba(21, 128, 61, .12), transparent 65%),
    radial-gradient(520px 320px at 50% 100%, rgba(184, 134, 11, .08), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 54px; align-items: center; padding-bottom: 44px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(21, 128, 61, .08);
  border: 1px solid rgba(21, 128, 61, .22);
  color: var(--green-deep);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .02em;
}
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(21, 128, 61, .14); }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.06;
  letter-spacing: -.025em;
  font-weight: 600;
  color: var(--green-ink);
  margin: 20px 0 18px;
}
.hero h1 .hl {
  background: linear-gradient(120deg, #b8860b 0%, #f59e0b 55%, #f97316 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.lead { font-size: 17px; color: #5c5348; max-width: 560px; }
.lead b { color: var(--green-deep); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.hero-chips li {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--green-deep);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  box-shadow: var(--shadow-sm);
}
.hero-chips li::before { content: "✓"; color: var(--green); margin-right: 6px; font-weight: 900; }

/* Hero visual */
.hero-visual { position: relative; height: 500px; }
.hv-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: 14px;
  overflow: hidden;
}
.hv-main { width: 292px; height: 408px; left: 4%; top: 0; transform: rotate(-3.5deg); display: flex; flex-direction: column; }
.hv-side { width: 214px; height: 300px; right: 0; bottom: 16px; transform: rotate(3deg); display: flex; flex-direction: column; }
.hv-card img { width: 100%; flex: 1 1 0; min-height: 0; object-fit: contain; object-position: center; border-radius: 14px; mix-blend-mode: multiply; }
.hv-main img { padding: 6px; }
.hv-side img { padding: 8px; }
.hv-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 6px 2px; }
.hv-foot b { font-size: 14px; color: var(--green-deep); }
.hv-foot span { font-size: 11.5px; font-weight: 800; color: var(--green); background: rgba(21, 128, 61, .1); padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.hv-tag {
  position: absolute; top: 22px; left: 22px; z-index: 2;
  background: linear-gradient(135deg, #b8860b, #f59e0b);
  color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em;
  padding: 5px 11px; border-radius: 999px; text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(184, 134, 11, .3);
}
.hv-pill {
  position: absolute; left: 0; bottom: 0; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-deep); color: #fff;
  border-radius: 999px; padding: 10px 16px;
  font-size: 12.5px; font-weight: 700;
  box-shadow: 0 14px 30px rgba(20, 83, 45, .3);
}
.hv-pill svg { width: 17px; height: 17px; fill: none; stroke: #a7f3c4; }

/* Stat strip */
.stat-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.stat-strip > div { padding: 20px 22px; border-right: 1px solid var(--line); }
.stat-strip > div:last-child { border-right: none; }
.stat-strip b { display: block; font-family: var(--font-display); font-size: 27px; line-height: 1.1; color: var(--green-deep); }
.stat-strip span { font-size: 12.5px; color: var(--muted); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 86px 0; }
section[id] { scroll-margin-top: 86px; }
.section-tint { background: linear-gradient(180deg, #f6f1e6, #faf7f1); border-top: 1px solid rgba(232, 224, 210, .7); border-bottom: 1px solid rgba(232, 224, 210, .7); }
.sec-head { max-width: 680px; margin-bottom: 38px; }
.sec-head h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 600;
  color: var(--green-ink);
  margin: 10px 0 12px;
}
.sec-head p { color: var(--muted); font-size: 15.5px; }
.kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.kicker.light { color: #f7c468; }

/* ---------- Products ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.prod-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.prod-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.prod-media {
  position: relative;
  height: 250px;
  background: linear-gradient(160deg, #f7f2e7, #ece3d0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.prod-media img { max-height: 210px; width: auto; object-fit: contain; mix-blend-mode: multiply; filter: drop-shadow(0 16px 24px rgba(34, 28, 21, .16)); }
.prod-badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(20, 83, 45, .92); color: #fff;
  font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.prod-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.prod-cat { font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.prod-body h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--green-deep); margin: 6px 0 8px; letter-spacing: -.01em; }
.prod-body p { font-size: 14px; color: var(--muted); }
.prod-money { display: flex; gap: 12px; margin: 16px 0 10px; padding-top: 14px; border-top: 1px dashed var(--line); }
.prod-money > div { flex: 1; }
.prod-money small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.prod-money b { font-size: 18px; color: var(--ink); font-weight: 800; }
.prod-money s { font-size: 13px; color: #a89a88; font-weight: 500; margin-left: 4px; }
.prod-money .commission { background: rgba(21, 128, 61, .07); border: 1px solid rgba(21, 128, 61, .16); border-radius: 12px; padding: 8px 12px; }
.prod-money .commission small { color: var(--green); }
.prod-money .commission b { color: var(--green-deep); font-size: 17px; }
.prod-note { font-size: 11.5px; color: #a89a88; margin-top: auto; }
.prod-hero { grid-column: span 6; flex-direction: row; }
.prod-hero .prod-media { width: 300px; flex-shrink: 0; height: auto; min-height: 300px; }
.prod-hero .prod-media img { max-height: 260px; }
.prod-hero .prod-body { padding: 30px; justify-content: center; }
.prod-hero .prod-body h3 { font-size: 27px; }
.prod-hero .prod-money { max-width: 480px; }
.prod-foot { font-size: 12.5px; color: var(--muted); margin-top: 18px; }

/* ---------- Calculator ---------- */
.calc-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.calc-controls { padding: 30px 32px; display: flex; flex-direction: column; justify-content: center; }
.calc-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.calc-top label { font-size: 14px; font-weight: 700; color: var(--ink); }
.calc-top strong { font-family: var(--font-display); font-size: 22px; color: var(--green-deep); white-space: nowrap; }
input[type="range"] {
  width: 100%;
  margin: 22px 0 8px;
  accent-color: var(--amber);
  height: 6px;
  cursor: pointer;
}
.calc-scale { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.calc-mix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; }
.mix-btn {
  padding: 11px 8px;
  border-radius: 11px;
  border: 1.5px solid var(--line);
  background: #faf7f1;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
}
.mix-btn:hover { border-color: var(--line-strong); color: var(--green-deep); }
.mix-btn.active { background: var(--green-deep); border-color: var(--green-deep); color: #fff; box-shadow: 0 8px 18px rgba(20, 83, 45, .22); }
.calc-hint { font-size: 12.5px; color: var(--muted); margin-top: 14px; }

.calc-results {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  background: linear-gradient(160deg, #14532d, #0d3a20);
  padding: 18px;
  gap: 10px;
}
.calc-res {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 16px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .09);
}
.calc-res small { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; color: #a7c4b0; }
.calc-res strong { font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); color: #fff; line-height: 1.15; font-variant-numeric: tabular-nums; }
.calc-res span { font-size: 11.5px; color: rgba(255, 255, 255, .55); }
.calc-res.featured { background: linear-gradient(120deg, #f59e0b, #f97316); border-color: transparent; box-shadow: 0 12px 30px rgba(249, 115, 22, .28); }
.calc-res.featured small { color: rgba(255, 255, 255, .8); }
.calc-res.featured span { color: rgba(255, 255, 255, .8); }
.calc-disclaimer { font-size: 12px; color: var(--muted); margin-top: 14px; max-width: 820px; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.steps li {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 13px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff;
  font-weight: 900;
  font-size: 17px;
  box-shadow: 0 10px 20px rgba(249, 115, 22, .26);
  margin-bottom: 16px;
}
.steps h3 { font-size: 18px; color: var(--green-deep); margin-bottom: 8px; }
.steps p { font-size: 14px; color: var(--muted); }
.text-link { display: inline-block; margin-top: 14px; font-size: 13.5px; font-weight: 800; color: var(--gold); text-decoration: none; }
.text-link:hover { color: var(--green-deep); }

/* ---------- Dashboard / link ---------- */
.section-dark {
  position: relative;
  background:
    radial-gradient(700px 380px at 85% 10%, rgba(245, 158, 11, .16), transparent 62%),
    radial-gradient(600px 420px at 10% 100%, rgba(37, 211, 102, .1), transparent 65%),
    linear-gradient(150deg, #14532d, #0b3019);
  color: #fff;
  overflow: hidden;
}
.link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.link-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 10px 0 14px;
}
.link-copy > p { color: rgba(255, 255, 255, .72); font-size: 15.5px; max-width: 480px; }
.check-list { list-style: none; margin: 22px 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; font-size: 14.5px; color: rgba(255, 255, 255, .9); }
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(37, 211, 102, .2);
  border: 1px solid rgba(37, 211, 102, .4);
  border-radius: 50%;
  color: #6ee7a0;
  font-size: 11px;
  font-weight: 900;
}
.check-list.dark li { color: #4b443a; }
.check-list.dark li::before { background: rgba(21, 128, 61, .12); border-color: rgba(21, 128, 61, .3); color: var(--green); }
.link-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.link-mock {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .32);
  overflow: hidden;
  color: var(--ink);
  transform: rotate(-1.2deg);
}
.mock-top { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #f5f0e6; border-bottom: 1px solid var(--line); }
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: #d9cbb0; }
.mock-dot:first-child { background: #ef9a8a; }
.mock-dot:nth-child(2) { background: #f0c987; }
.mock-dot:nth-child(3) { background: #a4d5a8; }
.mock-top small { margin-left: 8px; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.mock-body { padding: 22px; }
.mock-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); }
.mock-link {
  margin-top: 8px;
  background: #faf7f1;
  border: 1px dashed var(--line-strong);
  border-radius: 11px;
  padding: 13px 14px;
  font-size: 13px;
  color: #6b5f50;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mock-link b { color: var(--green-deep); }
.mock-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 16px; }
.mock-chip { font-size: 11px; font-weight: 700; color: var(--green-deep); background: rgba(21, 128, 61, .08); border: 1px solid rgba(21, 128, 61, .18); border-radius: 999px; padding: 4px 10px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.mock-stats small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.mock-stats b { font-family: var(--font-display); font-size: 19px; color: var(--green-deep); }

/* ---------- Rules ---------- */
.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rule-card { border-radius: var(--radius); padding: 26px; border: 1px solid; }
.rule-card h3 { font-size: 17px; margin-bottom: 14px; }
.rule-card ul { list-style: none; display: grid; gap: 10px; }
.rule-card li { position: relative; padding-left: 26px; font-size: 14px; }
.rule-card li::before { position: absolute; left: 0; top: 0; font-weight: 900; }
.rule-card.good { background: #f2f9f4; border-color: rgba(21, 128, 61, .22); }
.rule-card.good h3 { color: var(--green-deep); }
.rule-card.good li::before { content: "✓"; color: var(--green); }
.rule-card.bad { background: #fdf4f2; border-color: rgba(180, 35, 24, .18); }
.rule-card.bad h3 { color: var(--red); }
.rule-card.bad li::before { content: "✕"; color: var(--red); }
.rules-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 52px 17px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #faf7f1;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--gold);
  font-size: 17px;
  font-weight: 700;
  transition: transform .18s;
}
.faq[open] summary::after { content: "−"; }
.faq[open] summary { color: var(--green-deep); }
.faq p { padding: 0 20px 18px; font-size: 14px; color: var(--muted); max-width: 720px; }

/* ---------- Apply ---------- */
.apply-sec {
  background:
    radial-gradient(600px 360px at 90% 10%, rgba(245, 158, 11, .16), transparent 62%),
    radial-gradient(500px 340px at 5% 90%, rgba(21, 128, 61, .1), transparent 65%),
    #f6f1e6;
  border-top: 1px solid var(--line);
}
.apply-grid { display: grid; grid-template-columns: 1fr .92fr; gap: 54px; align-items: center; }
.apply-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--green-ink);
  margin: 10px 0 14px;
}
.apply-copy > p { font-size: 15.5px; color: #5c5348; max-width: 460px; }
.apply-alt { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 4px 0 18px; }
.apply-alt span { font-size: 13px; color: var(--muted); font-weight: 600; width: 100%; }
.wa-direct { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 800; color: var(--green-deep); text-decoration: none; }
.wa-direct svg { width: 22px; height: 22px; fill: var(--wa); }
.wa-direct:hover { color: var(--green); }

.apply-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.apply-form h3 { font-size: 18px; color: var(--green-deep); margin-bottom: 18px; }
.apply-form label { display: block; font-size: 12px; font-weight: 800; color: var(--ink); margin: 13px 0 5px; }
.apply-form input, .apply-form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.apply-form input:focus, .apply-form select:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, .16);
}
.apply-form .btn { margin-top: 20px; }
.form-err { color: var(--red); font-size: 12.5px; min-height: 17px; margin-top: 8px; }
.form-note { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 10px; }
.form-success { color: var(--green); font-size: 12.5px; font-weight: 700; text-align: center; margin-top: 8px; }

/* Detailed partner application */
.apply-form-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.apply-form h3 { margin-bottom: 0; }
.form-badge { flex: none; font-size: 11px; font-weight: 800; letter-spacing: .02em; color: var(--green-deep); background: rgba(22, 101, 52, .1); border-radius: 999px; padding: 4px 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-field { min-width: 0; }
.form-field label, .chip-field legend { display: block; font-size: 12px; font-weight: 800; color: var(--ink); margin: 13px 0 5px; }
.form-field .req, .promise .req { color: var(--red); }
.form-field label small, .chip-field legend small { font-weight: 600; color: var(--muted); font-size: 10.5px; }
.form-full { grid-column: 1 / -1; }
.field-hint { display: block; font-size: 10.5px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.apply-form textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 11px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-family: inherit;
  line-height: 1.5;
  min-height: 58px;
  resize: vertical;
  transition: border-color .15s, box-shadow .15s;
}
.apply-form textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245, 158, 11, .16); }

.chip-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.apply-form .chip { position: relative; display: inline-flex; margin: 0; }
.apply-form .chip input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.apply-form .chip span {
  display: inline-block;
  padding: 8px 12px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.apply-form .chip input:checked + span { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.apply-form .chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(245, 158, 11, .25); }

.apply-form .promise { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 0; font-size: 11.5px; font-weight: 600; line-height: 1.55; color: #5c5348; cursor: pointer; }
.apply-form .promise input { flex: none; width: 17px; height: 17px; margin: 2px 0 0; padding: 0; accent-color: var(--green); cursor: pointer; }

.apply-success { margin-top: 16px; padding: 16px; border-radius: 14px; background: rgba(22, 101, 52, .07); border: 1px solid rgba(22, 101, 52, .18); text-align: center; }
.apply-success h4 { font-size: 15px; color: var(--green-deep); margin-bottom: 6px; }
.apply-success p { font-size: 12px; color: #5c5348; margin: 3px 0; }
.apply-success b { color: var(--green-deep); letter-spacing: .06em; }
.apply-form .apply-success .btn { margin-top: 12px; }

/* ---------- Footer ---------- */
.footer { background: #0b3019; color: rgba(255, 255, 255, .72); padding: 40px 0 26px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 12px; }
.footer-brand b { display: block; color: #fff; font-size: 15px; }
.footer-brand span { font-size: 12px; color: rgba(255, 255, 255, .5); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .72); text-decoration: none; }
.footer-links a:hover { color: #f7c468; }
.footer-legal { padding-top: 20px; display: grid; gap: 8px; }
.footer-legal p { font-size: 11px; color: rgba(255, 255, 255, .42); max-width: 900px; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--wa);
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(18, 140, 126, .38);
  transition: transform .16s ease, box-shadow .16s ease;
}
.wa-float:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 18px 38px rgba(18, 140, 126, .46); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float .wa-cut { fill: var(--wa); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav-links { gap: 18px; }
  .hero-grid { gap: 34px; grid-template-columns: 1fr .85fr; }
  .hero-visual { height: 440px; }
  .hv-main { width: 250px; height: 360px; }
  .hv-side { width: 186px; height: 264px; }
  .link-grid, .apply-grid { gap: 34px; }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 22px 14px;
    box-shadow: 0 18px 30px rgba(34, 28, 21, .08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid #f2ecdf; font-size: 15px; }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }

  .hero { padding-top: 42px; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-visual { height: 400px; max-width: 430px; width: 100%; margin: 0 auto; }
  .hv-main { left: 6%; width: 250px; height: 350px; }
  .hv-side { width: 180px; height: 256px; right: 2%; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip > div:nth-child(2) { border-right: none; }
  .stat-strip > div:nth-child(3), .stat-strip > div:nth-child(4) { border-top: 1px solid var(--line); }

  .section { padding: 66px 0; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-card { grid-column: span 1; }
  .prod-hero { grid-column: span 2; flex-direction: column; }
  .prod-hero .prod-media { width: 100%; min-height: 250px; height: 250px; }
  .prod-hero .prod-body { padding: 22px; }
  .prod-hero .prod-body h3 { font-size: 22px; }

  .calc-card { grid-template-columns: 1fr; }
  .calc-results { grid-template-rows: none; grid-template-columns: repeat(3, 1fr); }
  .calc-res { padding: 14px 16px; }
  .calc-res strong { font-size: 24px; }

  .steps { grid-template-columns: 1fr; }
  .link-grid, .apply-grid { grid-template-columns: 1fr; }
  .link-mock { transform: none; max-width: 520px; }
  .apply-copy > p { max-width: none; }
  .apply-form { max-width: 560px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero h1 { font-size: clamp(34px, 9vw, 46px); }
  .hero h1 .hl { white-space: normal; }
  .lead { font-size: 15.5px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-visual { height: 360px; }
  .hv-main { width: 218px; height: 306px; left: 2%; }
  .hv-side { width: 156px; height: 222px; right: 0; bottom: 8px; }
  .hv-pill { font-size: 11px; padding: 8px 12px; left: 50%; transform: translateX(-50%); bottom: -14px; white-space: nowrap; }
  .hero-visual { margin-bottom: 18px; }
  .hv-side .hv-foot { flex-direction: column; align-items: flex-start; gap: 4px; }
  .hv-side .hv-foot b { font-size: 12.5px; }
  .hv-side .hv-foot span { font-size: 10px; }

  .stat-strip > div { padding: 16px 18px; }
  .stat-strip b { font-size: 23px; }

  .prod-grid { grid-template-columns: 1fr; }
  .prod-card, .prod-hero { grid-column: span 1; }
  .prod-media { height: 230px; }

  .section { padding: 56px 0; }
  .sec-head { margin-bottom: 28px; }

  .calc-controls { padding: 24px 20px; }
  .calc-results { grid-template-columns: 1fr; }
  .calc-res strong { font-size: 28px; }

  .rules-grid { grid-template-columns: 1fr; }
  .link-cta .btn { flex: 1 1 100%; }

  .apply-form { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
