/* Estilos de las páginas internas (guías y comunas). Misma paleta y look que index.html (04-11-2026).
   Paleta azul por daltonismo de Felipe; estrellas siempre doradas. */
:root {
  --bg: #07111d; --bg-2: #0c1a2b;
  --ink: #eaf4ff; --ink-soft: rgba(234,244,255,.70); --ink-faint: rgba(234,244,255,.46);
  --line: rgba(140,190,255,.16);
  --gold: #2fd6ec; --gold-2: #8ff0f8; --ember: #2563eb; --ok: #2fd6ec; --star: #f5b83d; --on-accent: #04121f;
  --radius-xl: 28px; --radius-pill: 999px;
  --font-head: 'Instrument Serif', Georgia, serif;
  --font-body: 'Barlow', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; }
h1 em, h2 em { color: var(--gold); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--gold); }

.glass { background: rgba(255,255,255,.025); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 1px 1px rgba(255,255,255,.08); position: relative; overflow: hidden; }
.glass::before, .glass-strong::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.2px;
  background: linear-gradient(180deg, rgba(255,255,255,.42) 0%, rgba(255,255,255,.12) 22%, rgba(255,255,255,0) 42%, rgba(255,255,255,0) 60%, rgba(255,255,255,.12) 80%, rgba(255,255,255,.36) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.glass-strong { background: rgba(7,17,29,.82); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); box-shadow: 0 10px 40px rgba(0,0,0,.35), inset 0 1px 1px rgba(255,255,255,.14); position: relative; overflow: hidden; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: var(--radius-pill); font-family: var(--font-body); font-weight: 600; font-size: 16px; border: 0; cursor: pointer; min-height: 48px; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; text-align: center; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--on-accent); box-shadow: 0 10px 30px rgba(47,214,236,.25); }
.btn-gold:hover { transform: translateY(-2px); }
.btn-glass { color: var(--ink); }
.btn-glass:hover { transform: translateY(-2px); background: rgba(255,255,255,.07); }

.nav { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(1180px, 100% - 24px); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; border-radius: var(--radius-pill); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #1e3550, #0a1626); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.brand b { font-family: var(--font-head); font-style: italic; font-weight: 400; font-size: 22px; color: var(--gold); margin-right: 1px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: var(--radius-pill); font-size: 15px; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.nav .btn { padding: 10px 18px; min-height: 42px; font-size: 15px; }

/* Hero interno */
.page-hero { position: relative; padding: 150px 0 80px; overflow: hidden; isolation: isolate; }
.aurora { position: absolute; inset: -20%; z-index: -2; filter: blur(70px); opacity: .85; }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.aurora span:nth-child(1) { width: 46vw; height: 46vw; left: 50%; top: 0; background: radial-gradient(circle, rgba(47,214,236,.36), transparent 65%); }
.aurora span:nth-child(2) { width: 38vw; height: 38vw; left: 8%; top: 40%; background: radial-gradient(circle, rgba(37,99,235,.28), transparent 65%); }
.crumbs { font-size: 14px; color: var(--ink-faint); margin-bottom: 22px; }
.crumbs a { color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.crumbs a:hover { color: var(--gold); }
.page-hero h1 { font-size: clamp(42px, 6vw, 84px); margin: 16px 0 22px; max-width: 980px; }
.page-hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); max-width: 680px; font-weight: 300; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--radius-pill); font-size: 14px; color: var(--ink-soft); }
.chip svg { color: var(--ok); }
.stars { display: inline-flex; gap: 2px; color: var(--star); }

/* Secciones y paneles */
section { position: relative; }
.section { padding: 100px 0; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(36px, 4.8vw, 64px); margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--ink-soft); font-size: 18px; font-weight: 300; max-width: 640px; }
.band { margin: 14px 14px 0; border-radius: 44px; overflow: hidden; }
.band-dark { background: radial-gradient(90% 70% at 50% 0%, rgba(47,214,236,.10), transparent 60%), #07111d; box-shadow: inset 0 0 0 1px rgba(140,190,255,.08); }
.band-mid { background: linear-gradient(180deg, #0f2440 0%, #0b1a30 100%); box-shadow: inset 0 0 0 1px rgba(140,190,255,.10); }
.band-light { background: linear-gradient(180deg, #f2f8ff 0%, #e6f1fc 100%);
  --ink: #0b1a2c; --ink-soft: rgba(11,26,44,.74); --ink-faint: rgba(11,26,44,.54); --line: rgba(11,26,44,.12);
  --gold: #0a7fb4; --gold-2: #1aa6d6; --ok: #0a7fb4; color: var(--ink); }
.band-light .glass { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 14px 40px rgba(7,17,29,.08), inset 0 0 0 1px rgba(11,26,44,.07); }
.band-light .glass::before { display: none; }

/* Texto largo (guías y contexto local) */
.prose { color: var(--ink-soft); font-size: 18px; font-weight: 400; }
.prose p + p, .prose p + ul, .prose ul + p, .prose p + ol, .prose ol + p { margin-top: 16px; }
.prose h2 { font-size: clamp(32px, 4vw, 52px); color: var(--ink); margin: 64px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 30px; color: var(--ink); margin: 36px 0 12px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 8px; }
.prose a { color: var(--gold); border-bottom: 1px solid currentColor; }
.prose code, .url { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86em; background: rgba(10,127,180,.10); padding: 2px 7px; border-radius: 6px; word-break: break-all; color: var(--ink); }
.callout { border-radius: 22px; padding: 26px 28px; margin: 28px 0; }
.callout h3 { margin-top: 0 !important; font-size: 26px; }
.callout ol, .callout ul { margin-top: 10px; }
.steps { list-style: none; padding: 0 !important; counter-reset: s; gap: 14px !important; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-style: italic; font-size: 19px; color: #fff; background: var(--gold); }
.quote-msg { border-left: 3px solid var(--gold); padding: 12px 18px; margin: 14px 0; background: rgba(10,127,180,.06); border-radius: 0 14px 14px 0; color: var(--ink); font-style: italic; }

/* Rubros con sus dos momentos */
.rubro-block { margin-top: 56px; }
.rubro-block:first-of-type { margin-top: 0; }
.rubro-block > h3 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 10px; }
.rubro-block > p { color: var(--ink-soft); max-width: 760px; margin-bottom: 22px; }
.moments { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.moment { margin: 0; border-radius: 22px; overflow: hidden; background: #f4f9ff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.band-dark .moment, .band-mid .moment { background: rgba(255,255,255,.03); }
.moment img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.moment figcaption { display: flex; gap: 16px; padding: 20px 22px 24px; }
.m-n { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-style: italic; font-size: 22px; color: #fff; background: #0a7fb4; }
.moment small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.moment h4 { font-family: var(--font-head); font-weight: 400; font-size: 28px; line-height: 1.1; margin: 4px 0 6px; }
.moment p { color: var(--ink-soft); font-weight: 400; }
.rubro-note { margin-top: 14px; color: var(--ink-soft); font-size: 15.5px; }

/* Datos */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { border-radius: var(--radius-xl); padding: 28px; }
.stat strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: clamp(50px, 5.6vw, 76px); line-height: 1; color: var(--gold); }
.stat p { color: var(--ink-soft); margin-top: 10px; }
.stat b { color: var(--ink); font-weight: 600; }
.source { margin-top: 14px; font-size: 12.5px; color: var(--ink-faint); }

/* Cómo llega */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how-item { border-radius: var(--radius-xl); padding: 28px; }
.how-item .num { font-family: var(--font-head); font-style: italic; font-size: 52px; color: var(--gold); line-height: 1; }
.how-item h3 { font-size: 28px; margin: 18px 0 10px; }
.how-item p { color: var(--ink-soft); font-weight: 300; }

/* Precios */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 20px; align-items: stretch; }
.plan { border-radius: var(--radius-xl); padding: 34px 30px; display: flex; flex-direction: column; }
.plan.featured { background: linear-gradient(170deg, rgba(47,214,236,.16), rgba(47,214,236,.03)); }
.plan .tag { align-self: flex-start; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--ink-soft); }
.plan.featured .tag { background: var(--gold); color: var(--on-accent); font-weight: 600; }
.plan h3 { font-size: 34px; margin: 20px 0 6px; }
.plan .for { color: var(--ink-faint); font-size: 15px; }
.price { font-family: var(--font-head); font-size: 58px; line-height: 1; margin: 24px 0 4px; }
.price-note { color: var(--ink-faint); font-size: 14px; }
.plan ul { list-style: none; margin: 24px 0 28px; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 10px; color: var(--ink-soft); font-size: 15.5px; }
.plan li svg { flex: none; margin-top: 4px; color: var(--gold); }
.plan .btn { width: 100%; }
.gold { color: var(--gold); font-weight: 600; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border-radius: 22px; padding: 4px 26px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 18px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: transform .3s ease; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding: 0 0 22px; max-width: 680px; }

/* CTA final */
.final { text-align: center; padding: 120px 0 110px; overflow: hidden; isolation: isolate; position: relative; }
.final .aurora { inset: 0; opacity: .7; }
.final h2 { font-size: clamp(42px, 6.5vw, 92px); max-width: 980px; margin: 18px auto 22px; }
.final p { color: var(--ink-soft); max-width: 580px; margin: 0 auto 34px; font-size: 18px; font-weight: 300; }
.final .hero-cta { justify-content: center; }

/* Pie */
footer { border-top: 1px solid var(--line); padding: 44px 0 56px; color: var(--ink-faint); font-size: 14px; margin-top: 14px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a:hover { color: var(--ink); }
.foot-areas { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; }
.foot-areas strong { color: var(--ink-soft); font-weight: 500; }
.foot-areas a { color: var(--ink-faint); border-bottom: 1px solid var(--line); }
.foot-areas a[aria-current="page"] { color: var(--gold); }
.legal { margin-top: 26px; font-size: 12.5px; line-height: 1.6; max-width: 820px; }

@media (max-width: 980px) {
  .how, .plans, .stats { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .band { margin: 8px 8px 0; border-radius: 28px; }
  .section { padding: 72px 0; }
  .page-hero { padding: 120px 0 60px; }
  .moments { grid-template-columns: 1fr; }
  .prose { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Ajustes UX/accesibilidad (auditoría 04-11-2026): contraste WCAG AA, toques de 24px o más, textos de 13px o más, preguntas en 2 columnas en escritorio */
:root { --ink-faint: rgba(234,244,255,.62); }
.band-light { --ink-faint: rgba(11,26,44,.66); --gold: #08719f; --ok: #08719f; }
.band-light .where-tabs button[aria-selected="true"] { background: #08719f; }
.bad .vs-tag { background: rgba(140,190,255,.12); color: #c9d6e3; }
.band-light .bad .vs-tag { background: rgba(11,26,44,.08); color: #3d4f63; }
.vs-tag, .moment small { font-size: 13px; }
.source, .legal { font-size: 13px; }
.foot nav a, .foot-areas a { display: inline-block; padding-block: 10px; } .foot-areas a { border-bottom: 0; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; }
.crumbs a { display: inline-block; padding-block: 8px; }
@media (min-width: 1024px) {
  #preguntas .wrap { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.55fr); gap: 64px; align-items: start; }
  #preguntas .section-head { position: sticky; top: 120px; margin-bottom: 0; }
  #preguntas .faq { max-width: none; }
}
