/* Citaflow — decks de venta. Slides full-screen, mobile-first.
   Paleta y tipografía heredadas del landing (verde + crema). */
:root {
  --ink: #14120D;
  --ink-soft: #46423A;
  --ink-mute: #6b665c;
  --paper: #FBFAF7;
  --surface: #ffffff;
  --line: #E7E1D6;
  --accent: #0F7B57;
  --accent-ink: #0A4F38;
  --accent-soft: #E8F2EC;
  --accent-glow: rgba(15, 123, 87, 0.18);
}

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

html, body { height: 100%; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-wrap: balance;
}

/* ===== Deck / slider ===== */
.deck { position: fixed; inset: 0; overflow: hidden; }
.track {
  display: flex;
  height: 100%;
  transition: transform .55s cubic-bezier(.16, .84, .3, 1);
  will-change: transform;
}
.slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 7vw, 88px);
  padding-bottom: clamp(78px, 12vw, 110px);
  position: relative;
  overflow-y: auto;
}
.slide-inner { width: 100%; max-width: 880px; margin: 0 auto; }

/* glow de fondo en portadas y cierres */
.slide--hero::before, .slide--cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 50% at 78% 22%, var(--accent-glow), transparent 70%);
  pointer-events: none;
}

/* ===== Tipos de bloque ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: clamp(12px, 1.6vw, 14px); font-weight: 700;
  color: var(--accent-ink); background: var(--accent-soft);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.display { font-size: clamp(34px, 8.5vw, 76px); }
.h2 { font-size: clamp(27px, 6vw, 50px); }
.lead {
  font-size: clamp(17px, 2.6vw, 23px);
  color: var(--ink-soft); line-height: 1.45; max-width: 36ch;
  margin-top: 22px;
}
.kicker {
  font-size: clamp(11px, 1.5vw, 13px); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.note { color: var(--ink-mute); font-size: clamp(13px, 1.8vw, 15px); margin-top: 24px; }

/* listas de dolor / beneficio */
.list { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.list li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: clamp(16px, 2.3vw, 21px); color: var(--ink-soft); line-height: 1.4;
}
.list li .ic {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center; font-size: 16px; margin-top: 1px;
}
.list--pain li .ic { background: #fdeceA; color: #c0563f; }
.list--win li .ic { background: var(--accent-soft); color: var(--accent-ink); }
.list li strong { color: var(--ink); font-weight: 700; }

/* pasos numerados */
.steps { display: grid; gap: 18px; margin-top: 30px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.step {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 24px;
  box-shadow: 0 10px 30px -22px rgba(20,18,13,.5);
}
.step .n {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 15px;
  color: #fff; background: var(--accent); width: 38px; height: 38px;
  border-radius: 11px; display: grid; place-items: center; margin-bottom: 14px;
  box-shadow: 0 8px 18px -8px var(--accent-glow);
}
.step h3 { font-size: clamp(17px, 2.2vw, 20px); }
.step p { color: var(--ink-soft); font-size: clamp(14px, 1.9vw, 16px); margin-top: 6px; line-height: 1.4; }

/* grid de features */
.grid { display: grid; gap: 16px; margin-top: 30px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 22px;
}
.card .ci { font-size: 24px; margin-bottom: 10px; display: block; }
.card h3 { font-size: clamp(16px, 2vw, 19px); }
.card p { color: var(--ink-soft); font-size: clamp(13px, 1.8vw, 15px); margin-top: 6px; line-height: 1.4; }

/* precio */
.price {
  display: inline-flex; align-items: baseline; gap: 10px;
  background: var(--surface); border: 1px solid var(--accent);
  border-radius: 20px; padding: 26px 34px; margin-top: 26px;
  box-shadow: 0 18px 44px -24px var(--accent-glow);
}
.price .amt { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: clamp(40px, 9vw, 66px); color: var(--ink); }
.price .per { color: var(--ink-mute); font-size: clamp(14px, 2vw, 17px); }
.pill {
  display: inline-block; background: var(--accent-soft); color: var(--accent-ink);
  font-weight: 700; font-size: clamp(13px, 1.8vw, 15px);
  padding: 8px 16px; border-radius: 999px; margin-top: 22px;
}

/* CTA */
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: clamp(15px, 2vw, 17px); font-weight: 600;
  padding: 14px 26px; border-radius: 999px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 12px 26px -10px var(--accent-glow); }
.btn--primary:hover { background: var(--accent-ink); transform: translateY(-2px); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 800;
  font-size: clamp(20px, 3vw, 26px); letter-spacing: -0.03em; color: var(--ink);
  text-decoration: none; margin-bottom: 30px;
}
.brand .b-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }

/* ===== Chrome de navegación ===== */
.progress {
  position: fixed; top: 0; left: 0; height: 4px; width: 0%;
  background: var(--accent); z-index: 40; transition: width .45s cubic-bezier(.16,.84,.3,1);
}
.nav {
  position: fixed; bottom: 20px; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  pointer-events: none;
}
.nav button {
  pointer-events: auto;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px); color: var(--ink); font-size: 19px;
  display: grid; place-items: center; cursor: pointer; transition: transform .15s, background .15s;
}
.nav button:hover { background: #fff; transform: translateY(-2px); }
.nav button:disabled { opacity: .3; cursor: default; transform: none; }
.counter {
  pointer-events: auto;
  font-size: 13px; font-weight: 600; color: var(--ink-mute);
  min-width: 54px; text-align: center; font-variant-numeric: tabular-nums;
}
.dots { position: fixed; top: 18px; right: 20px; z-index: 40; display: flex; gap: 7px; }
.dots span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background .2s, transform .2s;
}
.dots span.on { background: var(--accent); transform: scale(1.35); }

.hint {
  position: fixed; bottom: 22px; right: 22px; z-index: 39;
  font-size: 12px; color: var(--ink-mute); display: none;
}
@media (min-width: 720px) { .hint { display: block; } }
