:root {
  --ink: #17232b;
  --muted: #55636c;
  --bg: #ffffff;
  --alt: #f3f6f5;
  --brand: #0f3d3e;
  --cta: #c2410c;
  --cta-dark: #9a3412;
  --line: #d6dfdc;
  --err: #b42318;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 12px; }
body { margin: 0; font: 17px/1.55 var(--font); color: var(--ink); background: var(--bg); -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--brand); }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.5rem; text-align: center; margin-bottom: .9em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 620px; }
.center { text-align: center; }
.note { color: var(--muted); font-size: .95rem; }
.small { font-size: .85rem; color: #cfe0dc; }

.topbar { background: var(--brand); color: #fff; text-align: center; font-size: .9rem; font-weight: 600; padding: 8px 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.brand { display: inline-block; font-weight: 800; font-size: 1.2rem; color: var(--brand); text-decoration: none; padding: 10px 0; }

.btn { display: inline-block; background: var(--cta); color: #fff; font: 700 1.05rem var(--font); text-align: center; text-decoration: none; border: 2px solid var(--cta); border-radius: 999px; padding: 14px 26px; cursor: pointer; }
.btn:hover, .btn:focus-visible { background: var(--cta-dark); border-color: var(--cta-dark); }
.btn-ghost { background: #fff; color: var(--cta); }
.btn-ghost:hover, .btn-ghost:focus-visible { color: #fff; }
.btn-block { display: block; width: 100%; }
.btn[disabled] { opacity: .65; cursor: wait; }
:focus-visible { outline: 3px solid #1d6fd1; outline-offset: 2px; }

.hero { padding: 16px 0 28px; }
.hero-grid { display: grid; gap: 18px; }
.hero-img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 75%; border-radius: var(--radius); background: var(--alt); }
.lead { font-size: 1.1rem; color: var(--muted); }
.price { margin: 0 0 14px; }
.price strong { font-size: 2rem; color: var(--ink); }
.price span { color: var(--muted); font-size: .95rem; margin-left: 6px; }
.hero .btn { display: block; }
.seals { display: grid; gap: 8px; margin-top: 16px; font-size: .95rem; font-weight: 600; }
.seals li { display: flex; align-items: center; gap: 8px; }
.seals svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }

.section { padding: 40px 0; }
.alt { background: var(--alt); }
.split { display: grid; gap: 20px; align-items: center; }
.split img { width: 100%; border-radius: var(--radius); }
.split h2 { text-align: left; }

.steps { display: grid; gap: 22px; }
.steps img { width: 100%; border-radius: var(--radius); margin-bottom: 10px; }
.steps h3 span { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 8px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .95rem; }
.steps p { color: var(--muted); margin: 0; }

.benefits { display: grid; gap: 14px; }
.benefits li { background: #fff; border-radius: var(--radius); padding: 18px; border: 1px solid var(--line); }
.benefits svg { width: 32px; height: 32px; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 8px; }
.benefits p { margin: 0; color: var(--muted); }

.checks li { padding-left: 28px; position: relative; margin-bottom: 8px; font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .35em; width: 9px; height: 15px; border: solid var(--brand); border-width: 0 3px 3px 0; transform: rotate(40deg); }

.offers { display: grid; gap: 16px; }
.offer { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center; }
.offer.featured { border-color: var(--brand); }
.offer img { border-radius: 10px; margin-bottom: 14px; }
.offer-price { font-size: 2rem; font-weight: 800; color: var(--ink); margin-bottom: .3em; }

details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 16px; list-style: none; position: relative; padding-right: 40px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--brand); }
details[open] summary::after { content: "\2212"; }
details p { padding: 0 16px; margin: 0 0 14px; color: var(--muted); }

form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-top: 14px; }
.field { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
label, legend { display: block; font-weight: 700; margin-bottom: 6px; padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
input[type=text], input[type=tel], select { width: 100%; font: inherit; font-size: 16px; padding: 12px; border: 1.5px solid #8a9a95; border-radius: 10px; background: #fff; color: var(--ink); }
input[aria-invalid=true], select[aria-invalid=true] { border-color: var(--err); }
.choices { display: grid; gap: 8px; }
.choice { display: flex; align-items: center; gap: 10px; font-weight: 500; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px; margin: 0; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--brand); background: #eef6f4; }
.choice input, .check input { width: 20px; height: 20px; flex: none; accent-color: var(--brand); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; }
.error { color: var(--err); font-size: .9rem; font-weight: 600; margin: 6px 0 0; min-height: 0; }
.error:empty { display: none; }
.form-error { margin-bottom: 12px; }
.total { font-size: 1.1rem; font-weight: 700; background: var(--alt); border-radius: 10px; padding: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.site-footer { background: var(--brand); color: #fff; padding: 32px 0 96px; }
.site-footer .brand { color: #fff; padding: 0; }
.site-footer a { color: #fff; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0; }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); transition: transform .2s; }
.sticky-cta.hide { transform: translateY(110%); }

/* Páginas de texto (políticas y gracias) */
.doc { padding: 28px 0 56px; }
.doc h1 { font-size: 1.7rem; }
.doc h2 { text-align: left; font-size: 1.2rem; margin-top: 1.6em; }
.doc li { margin-bottom: 6px; list-style: disc; margin-left: 20px; }
.draft { background: #fff4d6; border: 1px solid #e0b84a; border-radius: 10px; padding: 10px 14px; font-weight: 700; }
.thanks { text-align: center; padding: 40px 0 64px; }
.thanks .box { background: var(--alt); border-radius: var(--radius); padding: 18px; margin: 18px 0; text-align: left; }

@media (min-width: 760px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 1.9rem; }
  .hero { padding: 36px 0 48px; }
  .hero-grid { grid-template-columns: 460px 1fr; gap: 40px; align-items: center; }
  .hero-img { aspect-ratio: 1; }
  .hero .btn { display: inline-block; }
  .split { grid-template-columns: 460px 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .benefits { grid-template-columns: repeat(4, 1fr); }
  .offers { grid-template-columns: 1fr 1fr; align-items: start; }
  .sticky-cta { display: none; }
  .site-footer { padding-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sticky-cta { transition: none; }
}
