/* Hoja de estilo de las páginas de intención (HTML estático, sin React).
   Repite a mano los tokens de src/index.css porque estas páginas viven en
   public/ y se sirven tal cual: no pasan por Tailwind ni por el bundle, y así
   su contenido llega completo en el HTML inicial para Google y para los robots
   de IA (GPTBot, ClaudeBot, PerplexityBot), que no ejecutan JavaScript. */

:root {
  --deep: #1267a5;
  --sky: #76b5dc;
  --ink: #0f2c44;
  --offwhite: #f7fafc;
  --lime: #c6f432;
  --line: #dde8f1;
  --muted: #4a6b84;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--offwhite);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
}

img { max-width: 100%; height: auto; }

a { color: var(--deep); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Anillo de foco de dos tonos, igual que en el sitio principal. */
:focus-visible { outline: 3px solid #ffffff; outline-offset: 2px; box-shadow: 0 0 0 7px #08304f; }

/* ---------- Cabecera ---------- */
.topbar { background: #ffffff; border-bottom: 1px solid var(--line); }
.topbar .wrap {
  display: flex; align-items: center; gap: 16px;
  justify-content: space-between; padding-top: 14px; padding-bottom: 14px;
}
.topbar img { height: 44px; width: auto; }
.topnav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 15px; }
.topnav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.topnav a:hover, .topnav a[aria-current="page"] { color: var(--deep); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Migas ---------- */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 20px; }
.crumbs a { color: var(--muted); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 999px; padding: 14px 26px;
  font-weight: 600; font-size: 17px; text-decoration: none;
  background: var(--deep); color: #ffffff;
  transition: transform .15s ease;
}
.btn:hover { transform: scale(1.03); }
.btn--light { background: #ffffff; color: var(--deep); }
.btn--ghost { background: transparent; color: var(--deep); box-shadow: inset 0 0 0 2px var(--deep); }

/* ---------- Bloques ---------- */
.hero { padding: 34px 0 8px; }
.kicker {
  margin: 0 0 10px; font-size: 13px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--sky);
}
h1 { font-size: clamp(30px, 5.2vw, 50px); line-height: 1.12; font-weight: 300; margin: 0 0 14px; }
h1 strong { font-weight: 700; }
h2 {
  font-size: clamp(23px, 3.2vw, 31px); font-weight: 600; line-height: 1.25;
  margin: 46px 0 14px; padding-top: 22px; border-top: 1px solid var(--line);
}
h3 { font-size: 19px; font-weight: 700; margin: 26px 0 6px; }
.lead { font-size: 19px; color: var(--muted); max-width: 62ch; }

section { scroll-margin-top: 20px; }

.card {
  background: #ffffff; border: 1px solid var(--line);
  border-radius: 24px; padding: 24px 26px; margin: 18px 0;
}
.card--deep { background: var(--deep); color: #ffffff; border: 0; border-radius: 32px; padding: 34px 30px; }
.card--deep .kicker { color: rgba(255,255,255,.72); }
.card--deep a:not(.btn) { color: #ffffff; }
.card--deep .fine { color: rgba(255,255,255,.78); }

.price { font-size: clamp(32px, 6vw, 48px); font-weight: 700; line-height: 1.1; display: block; }
.price small { display: block; font-size: 15px; font-weight: 500; opacity: .8; }

.grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .grid--2 { grid-template-columns: 1fr 1fr; } }

.fine { font-size: 15px; color: var(--muted); }

ul.checks { list-style: none; padding: 0; margin: 14px 0; }
ul.checks li { padding-left: 26px; position: relative; margin: 8px 0; }
ul.checks li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 12px; height: 12px; border-radius: 50%; background: var(--lime);
}

table.tabla { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 16px; }
table.tabla th, table.tabla td { text-align: left; padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.tabla th { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
table.tabla td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }

.faq { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq h3 { margin: 0 0 6px; }
.faq p { margin: 0; color: var(--muted); }

.aviso {
  background: #fff8e6; border: 1px solid #f0dda5; border-radius: 18px;
  padding: 16px 20px; font-size: 16px; margin: 20px 0;
}

/* ---------- Pie ---------- */
footer.pie { background: var(--deep); color: #ffffff; margin-top: 60px; }
footer.pie .wrap { padding-top: 44px; padding-bottom: 30px; }
footer.pie a { color: #ffffff; }
footer.pie h2 { border: 0; padding: 0; margin: 0 0 10px; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
footer.pie .cols { display: grid; gap: 26px; }
@media (min-width: 720px) { footer.pie .cols { grid-template-columns: 1.2fr 1fr 1fr; } }
footer.pie .legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 30px; padding-top: 18px; font-size: 13px; color: rgba(255,255,255,.55); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
