/* IA para Profesionales — estilos del sitio. Sin frameworks. Mobile-first. */
:root {
  --brand: #2f5d57;
  --brand-dark: #244a45;
  --accent: #e7b26b;
  --accent-dark: #d99c4c;
  --accent-ink: #2b1d08;
  --cream: #f6f1e7;
  --cream-2: #efe7d8;
  --paper: #fffdf8;
  --ink: #1f2a28;
  --muted: #56625f;
  --line: #e2d9c8;
  --ok: #2e7d4f;
  --err: #a33a2b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 42, 40, .10);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Ubuntu, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4.4vw, 2.1rem); color: var(--brand); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.w { max-width: 1120px; margin: 0 auto; padding: 0 18px; }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Barra superior y header */
.topbar { background: var(--brand-dark); color: #f3ede1; font-size: .82rem; text-align: center; padding: 7px 12px; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .w { display: flex; align-items: center; justify-content: space-between; min-height: 58px; gap: 12px; }
.logo { white-space: nowrap; font-weight: 800; color: var(--ink); text-decoration: none; font-size: 1.02rem; display: flex; align-items: center; gap: 8px; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: .95rem; margin-left: 16px; }
.site-header nav a:hover { color: var(--brand); }
.site-header .header-cta { display: none; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 1.1rem; text-decoration: none; padding: 16px 20px; border-radius: 12px; border: 0; cursor: pointer; box-shadow: 0 4px 0 var(--accent-dark); transition: transform .08s, box-shadow .08s, background .15s; font-family: inherit; line-height: 1.2; min-height: 56px; text-align: center; }
.btn:hover { background: #ebbd7d; }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--accent-dark); }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn-sm { width: auto; font-size: .98rem; padding: 10px 16px; min-height: 44px; }
.btn-ghost { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 2px var(--brand); }
.btn-ghost:hover { background: rgba(0,0,0,.03); }

.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; font-size: .9rem; font-weight: 600; color: var(--muted); margin: 12px 0 0; padding: 0; list-style: none; }
.trust li { white-space: nowrap; }
.on-dark .trust { color: #e9efe9; }

/* Hero */
.hero { background: var(--brand); color: #f6f1e7; padding: 34px 0 40px; }
.hero .w { display: grid; gap: 26px; }
.eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #f4d39f; margin: 0 0 10px; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.12rem; color: #e6eee9; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; }
.chips li { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); padding: 5px 11px; border-radius: 999px; font-size: .9rem; font-weight: 600; }
.price-line { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 4px 0 10px; }
.price { font-size: 2rem; font-weight: 800; color: var(--accent); }
.price-note { font-size: .95rem; color: #dbe6e1; }
.hero-img { max-width: 420px; width: 100%; margin: 0 auto; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }

/* Secciones */
section { padding: 52px 0; }
.sec-alt { background: var(--paper); }
.sec-head { max-width: 760px; margin: 0 auto 26px; }
.sec-head p { color: var(--muted); }
.center { text-align: center; }
.check { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.check li { padding: 8px 0 8px 34px; position: relative; }
.check li::before { content: ""; position: absolute; left: 0; top: 11px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; }
.grid-2 { display: grid; gap: 28px; }

/* Mirá adentro */
.peek { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 18px 16px; margin: 0 -18px; -webkit-overflow-scrolling: touch; }
.peek figure { flex: 0 0 auto; width: 62%; max-width: 260px; margin: 0; scroll-snap-align: center; }
.peek img { border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.peek figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; text-align: center; }
.peek-hint { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 4px; }
.duo { display: grid; gap: 16px; margin-top: 26px; }
.duo img { border-radius: 14px; box-shadow: var(--shadow); }

/* Ejemplo de prompt */
.prompt { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 20px; font-size: 1rem; }
.prompt .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--brand); margin-bottom: 8px; }
.var { background: #fbe8cc; color: #6f4510; border-radius: 4px; padding: 0 4px; font-weight: 600; }

/* Capítulos */
.caps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: cap; }
.caps li { counter-increment: cap; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; }
.caps li::before { content: counter(cap); flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--cream-2); color: var(--brand); font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.caps .t { flex: 1; font-weight: 600; }
.caps .n { font-size: .85rem; font-weight: 700; color: var(--brand); background: var(--cream); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.caps-note { margin-top: 12px; color: var(--muted); font-size: .95rem; }

/* Bonos */
.bonus-banner { border-radius: 16px; box-shadow: var(--shadow); margin: 0 auto 24px; width: 100%; max-width: 520px; }
.bonos { display: grid; gap: 14px; }
.bono { display: grid; grid-template-columns: 86px 1fr; gap: 14px; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.bono img { border-radius: 6px; box-shadow: 0 6px 14px rgba(0,0,0,.15); }
.bono .tag { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 2px; }
.bono h3 { margin: 0 0 4px; font-size: 1.05rem; }
.bono p { margin: 0; font-size: .95rem; color: var(--muted); }

/* Comparativa */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .95rem; }
.compare th, .compare td { padding: 12px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--cream-2); font-size: .85rem; }
.compare thead th:last-child { background: var(--brand); color: #fff; }
.compare td:first-child { font-weight: 600; width: 30%; }

/* Nota destacada */
.note { background: #fdf6ec; border-left: 5px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 18px; }

/* Caja de compra */
.buy { background: var(--paper); border: 2px solid var(--brand); border-radius: 20px; padding: 22px 18px; box-shadow: var(--shadow); max-width: 560px; margin: 0 auto; }
.buy h2 { font-size: 1.45rem; margin-bottom: 14px; }
.buy-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 6px 0; }
.buy-row .what { font-weight: 600; }
.buy-row .amt { font-weight: 800; white-space: nowrap; }
.buy-includes { list-style: none; padding: 0; margin: 0 0 14px; font-size: .92rem; color: var(--muted); }
.buy-includes li::before { content: "✓ "; color: var(--brand); font-weight: 800; }
.bump { display: grid; grid-template-columns: 26px 1fr; gap: 10px; background: #fff8ec; border: 2px dashed var(--accent-dark); border-radius: 14px; padding: 14px; margin: 14px 0; cursor: pointer; }
.bump input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--brand); cursor: pointer; }
.bump strong { display: block; }
.bump .bump-price { font-weight: 800; color: var(--brand); }
.bump small { display: block; color: var(--muted); font-size: .88rem; margin-top: 4px; line-height: 1.45; }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; font-size: 1.1rem; }
.total b { font-size: 1.7rem; color: var(--ink); }
.field { margin: 14px 0 6px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid #cfc5b3; border-radius: 10px; background: #fff; color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
.field .hint { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.form-msg { min-height: 1.4em; font-size: .95rem; margin: 10px 0 0; text-align: center; }
.form-msg.err { color: var(--err); font-weight: 600; }
.pay-methods { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 10px; }
.mp-badge { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #00589c; }
.mp-dot { width: 18px; height: 18px; border-radius: 50%; background: #009ee3; display: inline-block; }

/* Tranquilizadores */
.reassure { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.reassure li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; grid-template-columns: 36px 1fr; gap: 10px; }
.reassure .ico { font-size: 1.5rem; line-height: 1.2; }
.reassure b { display: block; }
.reassure span { color: var(--muted); font-size: .95rem; }

/* FAQ */
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; padding: 15px 44px 15px 16px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--brand); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 16px 14px; margin: 0; color: var(--muted); }

/* Cierre */
.final { background: var(--brand); color: #f6f1e7; text-align: center; }
.final h2 { color: #fff; }
.final .btn { max-width: 460px; }
.disclaimer { font-size: .82rem; color: var(--muted); }

/* Barra fija mobile */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.08); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; transform: translateY(110%); transition: transform .2s; }
.sticky-cta.show { transform: none; }
.sticky-cta .p { font-weight: 800; font-size: 1.15rem; white-space: nowrap; }
.sticky-cta .p small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); }
.sticky-cta .btn { min-height: 48px; padding: 12px 14px; font-size: 1rem; }

/* Footer */
.site-footer { background: #1d2624; color: #c9d1ce; font-size: .9rem; padding: 34px 0 90px; }
.site-footer a { color: #e7ece9; }
.site-footer .cols { display: grid; gap: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer .legal { border-top: 1px solid #34403d; margin-top: 22px; padding-top: 16px; font-size: .8rem; color: #9aa6a2; }
.arrep-link { display: inline-block; border: 1px solid #e7ece9; border-radius: 8px; padding: 6px 10px; text-decoration: none; font-weight: 700; }

/* Home */
.home-hero { background: var(--brand); color: #f6f1e7; padding: 46px 0; text-align: center; }
.home-hero h1 { color: #fff; max-width: 820px; margin: 0 auto .5em; }
.home-hero p { max-width: 640px; margin: 0 auto 1em; color: #e3ebe7; font-size: 1.1rem; }
.kits { display: grid; gap: 22px; }
.kit-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.kit-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.kit-card .body { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.kit-card h2 { font-size: 1.35rem; margin: 0; }
.kit-card p { color: var(--muted); margin: 0 0 8px; }
.kit-card .price-sm { font-weight: 800; font-size: 1.3rem; margin-top: auto; }
.kit-card .btn { margin-top: 8px; }
.steps { display: grid; gap: 14px; counter-reset: st; list-style: none; padding: 0; }
.steps li { counter-increment: st; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 16px 60px; position: relative; }
.steps li::before { content: counter(st); position: absolute; left: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; }

/* Páginas simples (legales, gracias, contacto) */
.page-simple main { padding: 40px 0 60px; }
.page-simple h1 { font-size: clamp(1.7rem, 5vw, 2.3rem); color: var(--brand); }
.legal-text h2 { font-size: 1.25rem; margin-top: 1.6em; }
.legal-text li { margin-bottom: .4em; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px; box-shadow: var(--shadow); }
.dl-list { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 10px; }
.dl-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; text-decoration: none; color: var(--ink); font-weight: 600; min-height: 56px; }
.dl-list a:hover { border-color: var(--brand); }
.dl-list .go { color: var(--brand); font-weight: 800; white-space: nowrap; }
.spinner { width: 38px; height: 38px; border: 4px solid var(--cream-2); border-top-color: var(--brand); border-radius: 50%; animation: spin 1s linear infinite; margin: 10px auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }
.state[hidden] { display: none; }
.code-box { font-family: ui-monospace, monospace; font-size: 1.4rem; font-weight: 800; letter-spacing: .06em; background: var(--cream-2); border-radius: 10px; padding: 10px 14px; display: inline-block; }

@media (max-width: 459px) { .site-header nav a:not(.btn) { display: none; } }

/* Desktop */
@media (min-width: 760px) {
  body { font-size: 18px; }
  .hero { padding: 56px 0 64px; }
  .hero .w { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
  .hero-cta { max-width: 460px; }
  .grid-2 { grid-template-columns: 1fr 1fr; align-items: start; }
  .peek { overflow: visible; flex-wrap: wrap; justify-content: center; margin: 0; padding: 4px 0 8px; }
  .peek figure { width: 220px; }
  .peek-hint { display: none; }
  .duo { grid-template-columns: 1fr 1fr; }
  .bonos { grid-template-columns: repeat(3, 1fr); }
  .bono { grid-template-columns: 1fr; text-align: left; }
  .bono img { height: 190px; width: auto; max-width: 100%; }
  .reassure { grid-template-columns: 1fr 1fr; }
  .buy { padding: 30px 32px; }
  .kits { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .site-footer .cols { grid-template-columns: 2fr 1fr 1fr; }
  .site-footer { padding-bottom: 34px; }
  .sticky-cta { display: none; }
  .site-header .header-cta { display: inline-flex; }
}
@media (min-width: 1000px) {
  .caps { grid-template-columns: 1fr 1fr; }
}
