:root {
  --ink: #f3f7f3;
  --muted: rgba(243, 247, 243, .72);
  --green: #2f8a4e;
  --green-mid: #174a2b;
  --green-deep: #0d2416;
  --gold: #e8a23a;
  --gold-soft: #f0c35d;
  --line: rgba(255,255,255,.12);
  --display: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --pad: clamp(18px, 3.2vw, 40px);
  --header-h: calc(64px + env(safe-area-inset-top));
  --content-top: calc(var(--header-h) + 20px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 600;
  background: var(--green-deep);
}
button { font: inherit; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.deck {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(47,138,78,.22), transparent 55%),
    radial-gradient(700px 380px at 10% 110%, rgba(232,162,58,.12), transparent 50%),
    linear-gradient(165deg, #0a1c12 0%, #0d2416 40%, #123221 100%);
}

.deck::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 var(--pad);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6,18,12,.72) 0%, rgba(6,18,12,.35) 70%, transparent 100%);
}
.topbar > * { pointer-events: auto; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}
.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--green-deep);
  font-weight: 800;
  font-size: 15px;
}
.brand strong {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -.03em;
}
.brand small {
  display: block;
  margin-top: 1px;
  font-size: 11px;
  opacity: .65;
  font-weight: 650;
}
.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-label {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .7;
  margin-right: 6px;
}
.counter {
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 750;
  min-width: 64px;
  text-align: right;
}
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.icon-btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: rgba(255,255,255,.08);
  z-index: 30;
}
.progress > span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--gold-soft));
  transition: width .35s ease;
}

.slides {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.slide {
  position: absolute;
  inset: 0;
  padding: calc(78px + env(safe-area-inset-top)) var(--pad) calc(48px + env(safe-area-inset-bottom));
  display: none;
  opacity: 0;
  overflow: hidden;
}
.slide.is-on {
  display: grid;
  opacity: 1;
}

.slide-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  align-self: center;
}
.slide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
}
.slide-grid.rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.05fr); }
.kicker {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 750;
  color: var(--gold-soft);
}
h1, h2 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.08;
}
h1 { font-size: clamp(34px, 5.4vw, 64px); max-width: 12em; }
h2 { font-size: clamp(28px, 4.2vw, 48px); max-width: 14em; }
.lede {
  margin: 0 0 22px;
  max-width: 36em;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.5;
}
.bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.bullets li {
  position: relative;
  padding-left: 18px;
  color: rgba(255,255,255,.9);
  font-size: 15px;
  font-weight: 700;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid {
  background: #fff;
  color: var(--green-deep);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.28);
}
.btn-ico {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn-gold {
  background: linear-gradient(125deg, #fff1c2 0%, #f6d56a 22%, #e8a23a 48%, #c96f12 72%, #f0c35d 100%);
  color: #2a2114;
  box-shadow: 0 10px 28px rgba(180,100,20,.28);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

.shot {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 28px 60px rgba(0,0,0,.38);
  background: #0a1a12;
}
.shot img { width: 100%; }

.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.problem-cards article {
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
}
.problem-cards span {
  display: block;
  font-family: var(--display);
  color: var(--green);
  margin-bottom: 8px;
}
.problem-cards h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -.02em;
}
.problem-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.flow article {
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
}
.flow strong {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  margin-bottom: 6px;
  letter-spacing: -.02em;
}
.flow span { color: var(--muted); font-size: 14px; line-height: 1.4; }

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.kpi {
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
}
.kpi b {
  display: block;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.kpi span { color: var(--muted); font-size: 13px; }

.charts {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 14px;
  margin-top: 8px;
}
.chart-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  min-height: 280px;
}
.chart-card h3 {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.chart-box { position: relative; height: 230px; }

.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 26px;
}
.who-grid article {
  padding: 20px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
}
.who-grid strong {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  margin-bottom: 8px;
}
.who-grid span { color: var(--muted); font-size: 14px; line-height: 1.4; }

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: linear-gradient(125deg, #fff1c2 0%, #f6d56a 22%, #e8a23a 48%, #c96f12 72%, #f0c35d 100%);
  color: #2a2114;
  font-weight: 800;
  font-size: 13px;
}
.ai-badge svg { width: 18px; height: 18px; fill: #2f3540; }

.hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 25;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  pointer-events: none;
  transition: opacity .3s ease;
}
.hint.is-hide { opacity: 0; }

.contact-box {
  margin-top: 22px;
  padding: 18px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  max-width: 420px;
}
.contact-box a {
  color: #fff;
  text-decoration: none;
  font-weight: 750;
}
.contact-box p { margin: 0 0 8px; color: var(--muted); }
.contact-box p:last-child { margin: 0; }

@media (max-width: 960px) {
  .slide-grid, .slide-grid.rev, .charts, .problem-cards, .flow, .who-grid {
    grid-template-columns: 1fr;
  }
  .slide { align-content: start; overflow: auto; -webkit-overflow-scrolling: touch; }
  .slide.cine.is-on { display: block; overflow: auto; }
  .shot { max-width: 640px; }
  .nav-label { display: none; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .brand strong { font-size: 17px; }
  .counter { min-width: 52px; font-size: 12px; }
}
