/* ════════════════════════════════════════════════════════════════════════
   QUISQUEYA PRIME — hoja de estilos del sitio
   Identidad: fintech caribeño espacioso. Marfil cálido, azul océano,
   turquesa y un toque de sol dorado. Sora (títulos) + Inter (texto).
   Radio 20px en tarjetas, botones en píldora, banda océano en el pie.
   ════════════════════════════════════════════════════════════════════════ */

/* ── Fuentes locales (subset latin, variable) ─────────────────────────── */
@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 600 800;
    font-display: swap;
    src: url('/assets/fonts/sora-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url('/assets/fonts/inter-latin.woff2') format('woff2');
}

/* ── Tokens ────────────────────────────────────────────────────────────── */
:root {
    --bg: #FAF6EE;            /* marfil cálido */
    --surface: #FFFFFF;
    --surface-2: #EFF4F2;     /* banda menta */
    --border: #D8E2DE;
    --text: #1F2E38;          /* tinta océano */
    --text-muted: #3F5862;
    --accent: #0E5A8A;        /* azul océano */
    --accent-hover: #0B4768;
    --accent-2: #2BB3A3;      /* turquesa */
    --accent-2-deep: #17776B;
    --tint: #DDF1ED;          /* turquesa muy diluido */
    --gold: #D9A441;          /* sol */
    --on-accent: #FAF6EE;

    --font-head: 'Sora', 'Segoe UI', Arial, sans-serif;
    --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 20px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(14, 90, 138, .06), 0 2px 8px rgba(14, 90, 138, .07);
    --shadow-md: 0 2px 4px rgba(14, 90, 138, .07), 0 10px 28px rgba(14, 90, 138, .10);
    --shadow-lg: 0 4px 8px rgba(11, 71, 104, .09), 0 18px 44px rgba(11, 71, 104, .16);

    --container: 1160px;
}

/* ── Base ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 16.5px/1.65 var(--font-body);
    letter-spacing: .002em;
}

img, svg, iframe, video, canvas { max-width: 100%; }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 800;
    line-height: 1.18;
    color: var(--text);
    margin: 0 0 .5em;
    letter-spacing: -.012em;
}
h1 { font-size: clamp(30px, 4.6vw, 46px); }
h2 { font-size: clamp(24px, 3.2vw, 34px); }
h3 { font-size: 19px; font-weight: 600; }
h4 { font-size: 16px; font-weight: 600; }

p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .45em; }
strong { font-weight: 600; }

:focus-visible {
    outline: 3px solid var(--accent-2);
    outline-offset: 2px;
    border-radius: 4px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(16px, 4vw, 40px);
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -52px;
    z-index: 400;
    background: var(--accent);
    color: var(--on-accent);
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-weight: 500;
    transition: top .16s ease;
}
.skip-link:focus { top: 12px; color: var(--on-accent); text-decoration: none; }

.icon { width: 22px; height: 22px; flex: none; }
.icon-sm { width: 17px; height: 17px; }
.icon-xs { width: 14px; height: 14px; }

/* ── Botones (píldora) ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 28px;
    min-height: 48px;
    border-radius: var(--radius-pill);
    border: 1.5px solid transparent;
    font: 600 15.5px/1 var(--font-body);
    letter-spacing: .01em;
    cursor: pointer;
    white-space: nowrap;
    transition: background .16s ease, color .16s ease, border-color .16s ease,
                transform .16s ease, box-shadow .16s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
    background: var(--accent);
    color: var(--on-accent);
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background: var(--accent-hover);
    color: var(--on-accent);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}
.btn-ghost:hover {
    background: var(--tint);
    color: var(--accent-hover);
    border-color: var(--accent-hover);
}
.btn-block { width: 100%; }
.btn-lg { padding: 16px 36px; min-height: 54px; font-size: 16.5px; }

/* ── Encabezado fijo marfil ───────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(250, 246, 238, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .18s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 26px;
    min-height: 74px;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand svg { width: 208px; height: 38px; display: block; }
.brand__fallback {
    font: 800 21px var(--font-head);
    color: var(--accent);
}
.brand-footer svg { width: 208px; height: 38px; }

.site-nav { margin-inline: auto; }
.site-nav__list {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-nav__item { position: relative; }
.site-nav__trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border: 0;
    background: none;
    border-radius: var(--radius-pill);
    font: 500 15px var(--font-body);
    color: var(--text);
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.site-nav__trigger:hover { background: var(--tint); color: var(--accent-hover); }
.site-nav__trigger .icon { transition: transform .16s ease; }
.site-nav__item.is-open .site-nav__trigger { background: var(--tint); color: var(--accent-hover); }
.site-nav__item.is-open .site-nav__trigger .icon { transform: rotate(180deg); }

/* Menú desplegable: superficie real con muesca */
.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 262px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    transform: translateY(6px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
    z-index: 210;
}
.dropdown::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 26px;
    width: 12px;
    height: 12px;
    background: var(--surface);
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
    transform: rotate(45deg);
}
.dropdown--right { left: auto; right: 0; }
.dropdown--right::before { left: auto; right: 26px; }
.site-nav__item.is-open .dropdown {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}
.dropdown__list { list-style: none; margin: 0; padding: 0; }
.dropdown__link {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 14.5px;
    transition: background .13s ease, color .13s ease;
}
.dropdown__link:hover {
    background: var(--tint);
    color: var(--accent-hover);
    text-decoration: none;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--surface);
    color: var(--accent);
    cursor: pointer;
    flex: none;
}

.mobile-menu {
    border-top: 1px solid var(--border);
    background: var(--bg);
    padding: 14px 0 22px;
}
.mobile-menu__inner { display: grid; gap: 8px; }
.mobile-menu__group {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 4px 14px;
}
.mobile-menu__group summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font: 600 15px var(--font-head);
    color: var(--text);
    cursor: pointer;
    list-style: none;
}
.mobile-menu__group summary::-webkit-details-marker { display: none; }
.mobile-menu__group ul { list-style: none; margin: 0 0 10px; padding: 0; }
.mobile-menu__group a {
    display: block;
    padding: 9px 0;
    color: var(--text-muted);
    border-top: 1px dashed var(--border);
    font-size: 14.5px;
}

@media (max-width: 1080px) {
    .site-nav { display: none; }
    .btn-header { margin-left: auto; }
    .nav-toggle { display: inline-flex; }
}
@media (max-width: 640px) {
    .btn-header { display: none; }
    .brand svg { width: 176px; height: 32px; }
}

/* ── Hero centrado con arcos ──────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(52px, 7vw, 92px) 0 0;
    background:
        radial-gradient(58% 64% at 82% 8%, rgba(43, 179, 163, .13), transparent 70%),
        radial-gradient(48% 56% at 12% 20%, rgba(14, 90, 138, .09), transparent 72%),
        linear-gradient(180deg, #FBF8F1 0%, var(--bg) 78%);
}
.hero__art {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.hero__art img {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: max(1440px, 114vw);
    height: auto;
    max-height: 88%;
    object-fit: cover;
    object-position: bottom center;
    opacity: .9;
}
.hero__canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    padding: 8px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font: 500 13px var(--font-body);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent-2-deep);
    box-shadow: var(--shadow-sm);
}
.hero__kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-2);
}
.hero__title {
    max-width: 17ch;
    color: var(--accent);
    margin-bottom: 18px;
}
.hero__title .hi { font-style: italic; color: var(--accent-2-deep); }
.hero__lead {
    max-width: 60ch;
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 22px;
}
.hero__flag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 500;
    color: var(--text);
    background: var(--tint);
    border: 1px solid rgba(43, 179, 163, .35);
    padding: 9px 20px;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
}
.hero__flag .icon { color: var(--accent-2-deep); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 14px; }
.trust-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    background: var(--surface);
    border: 1.5px solid var(--border);
    color: var(--accent);
    font-weight: 500;
    font-size: 15px;
    box-shadow: var(--shadow-sm);
    transition: border-color .16s ease, transform .16s ease, color .16s ease;
}
.trust-link:hover {
    border-color: var(--accent-2);
    color: var(--accent-hover);
    text-decoration: none;
    transform: translateY(-1px);
}
.hero__risk { font-size: 13.5px; color: var(--text-muted); margin-bottom: 34px; }

/* Formulario del hero: tarjeta ancha con filo turquesa, debajo del texto */
.hero__form-card {
    width: min(780px, 100%);
    margin: 0 auto clamp(56px, 7vw, 88px);
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 4px solid var(--accent-2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: clamp(22px, 4vw, 40px);
    text-align: left;
}

/* ── Bloque de formulario compartido ──────────────────────────────────── */
.form-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 4px solid var(--accent-2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: clamp(20px, 3.4vw, 34px);
}
.form-block--additional { box-shadow: var(--shadow-sm); }
.form-block__headline {
    font: 600 17px var(--font-head);
    color: var(--accent);
    margin: 0 0 4px;
}
.form-block__intro { color: var(--text-muted); font-size: 15px; margin-bottom: 14px; }
.form-legal { font-size: 12.5px; color: var(--text-muted); margin: 12px 0 0; }
.form-manager {
    font-size: 13px;
    color: var(--accent-2-deep);
    margin: 6px 0 0;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
}
.beacon-form { --bf-radius: 12px; }

/* ── Franja de exchanges (chips tipográficos) ─────────────────────────── */
.exchanges { border-block: 1px solid var(--border); background: var(--surface); }
.exchanges .container { padding-block: 20px; }
.exchanges__label {
    text-align: center;
    font-size: 12.5px;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 12px;
}
.exchanges__row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.chip {
    padding: 8px 22px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font: 600 14.5px var(--font-head);
    color: var(--accent);
    letter-spacing: .01em;
}

/* ── Secciones y bandas alternas ──────────────────────────────────────── */
.section { padding: clamp(48px, 6.5vw, 84px) 0; position: relative; }
.section--mint { background: var(--surface-2); }
.section--tint {
    background:
        radial-gradient(70% 90% at 88% 6%, rgba(43, 179, 163, .12), transparent 70%),
        var(--tint);
}
.section__head { max-width: 68ch; margin-bottom: clamp(26px, 3.6vw, 44px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head .lead { font-size: 17px; color: var(--text-muted); max-width: 62ch; }
.section__head--center .lead { margin-inline: auto; }

/* Etiqueta de sección (racionada: máximo una cada tres secciones) */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 500 12.5px var(--font-body);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-2-deep);
    margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent-2); border-radius: 2px; }

/* Divisor de ola turquesa (encima de la calculadora) */
.wave { display: block; width: 100%; height: clamp(34px, 5vw, 64px); margin-bottom: -1px; }

/* ── Pasos numerados (círculos pequeños) ─────────────────────────────── */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
    counter-reset: paso;
}
.step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 24px 22px 20px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-2);
    color: var(--on-accent);
    font: 600 14px var(--font-head);
    margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 15px; margin: 0; }

/* ── Tablas ───────────────────────────────────────────────────────────── */
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    background: var(--surface);
}
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
caption {
    caption-side: top;
    text-align: left;
    font: 600 15px var(--font-head);
    color: var(--text);
    padding: 14px 18px 10px;
}
th, td { padding: 13px 18px; text-align: left; vertical-align: top; }
thead th {
    background: var(--accent-2);
    color: var(--on-accent);
    font: 600 14px var(--font-head);
    letter-spacing: .015em;
}
tbody tr:nth-child(even) { background: var(--surface-2); }
tbody tr + tr { border-top: 1px solid var(--border); }
td.yes { color: var(--accent-2-deep); font-weight: 500; }
td.no { color: var(--text-muted); }

/* ── Tarjetas e insignias de ícono ───────────────────────────────────── */
.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex: none;
    border-radius: 14px;
    background: var(--tint);
    color: var(--accent);
    margin-bottom: 16px;
}
.icon-badge .icon { width: 24px; height: 24px; }
.icon-badge--ocean { background: rgba(14, 90, 138, .1); }
.icon-badge--gold { background: rgba(217, 164, 65, .16); color: var(--gold); }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 26px 24px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(43, 179, 163, .5); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 15px; margin: 0; }
a.card { display: block; color: inherit; }
a.card:hover { text-decoration: none; color: inherit; }
a.card .card__go {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    color: var(--accent-2-deep);
    font-weight: 500;
    font-size: 14.5px;
}

/* Subrayado de ola para tarjetas de seguridad */
.card--wave { position: relative; overflow: hidden; }
.card--wave::after {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 14px;
    height: 8px;
    background:
        radial-gradient(circle at 8px -3px, transparent 8px, var(--tint) 8.5px) 0 0 / 22px 100%;
    opacity: .8;
}

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); }

/* Rejilla asimétrica: la primera celda domina */
.grid--lead { grid-template-columns: 1.35fr 1fr; }
.grid--lead .card--lead { grid-row: span 2; }
@media (max-width: 900px) { .grid--lead { grid-template-columns: 1fr; } .grid--lead .card--lead { grid-row: auto; } }

/* ── Reseñas (avatar SVG neutral para DO) ────────────────────────────── */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.review {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.review__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex: none;
    border-radius: 50%;
    background: var(--tint);
    border: 2px solid var(--accent-2);
    color: var(--accent);
}
.review__avatar .icon { width: 26px; height: 26px; }
.review__photo { display:block; width:56px; height:56px; flex:0 0 56px; object-fit:cover; border-radius:50%; border:2px solid var(--accent-2); }
.review__name { font: 600 15.5px var(--font-head); color: var(--text); margin: 0 0 2px; }
.review__meta { font-size: 13px; color: var(--text-muted); margin: 0 0 8px; }
.review p:last-of-type { margin-bottom: 0; }
.reviews-note {
    margin-top: 18px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

/* ── Calculadora ──────────────────────────────────────────────────────── */
.calc-note { text-align: center; font-size: 13px; color: var(--text-muted); margin: 18px 0 0; }
.calc-widget { margin-inline: auto; }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; max-width: 780px; }
.faq details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 20px;
    font: 600 15.5px var(--font-head);
    color: var(--text);
    cursor: pointer;
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--accent-2); transition: transform .16s ease; flex: none; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--text-muted); font-size: 15px; }

/* ── Preguntas de migas ───────────────────────────────────────────────── */
.breadcrumbs { padding: 14px 0 0; }
.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: var(--text-muted);
}
.breadcrumbs__list li + li::before { content: "/"; margin-right: 6px; color: var(--border); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }

/* ── Páginas internas: héroe dividido con formulario ─────────────────── */
.page-hero {
    position: relative;
    padding: clamp(40px, 5.5vw, 68px) 0 clamp(44px, 6vw, 76px);
    background:
        radial-gradient(56% 70% at 90% 0%, rgba(43, 179, 163, .11), transparent 68%),
        radial-gradient(46% 60% at 4% 12%, rgba(14, 90, 138, .07), transparent 70%),
        var(--bg);
    overflow: hidden;
}
.page-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -68% -10%;
    height: 78%;
    background: radial-gradient(50% 60% at 50% 0%, rgba(14, 90, 138, .08), transparent 72%);
    pointer-events: none;
}
.split { position: relative; z-index: 1; display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: 1.2fr .9fr; } }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); }
.page-hero .lead { font-size: 17px; color: var(--text-muted); max-width: 58ch; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pill-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 13.5px;
    color: var(--text-muted);
    box-shadow: var(--shadow-sm);
}
.pill-note .icon { color: var(--accent-2-deep); }

/* ── Prosas de documentación ─────────────────────────────────────────── */
.prose { max-width: 76ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: var(--text); }
.prose p { color: var(--text-muted); }
.prose strong { color: var(--text); }
.doc-section { padding: clamp(40px, 5vw, 64px) 0; }
.doc-section + .doc-section { border-top: 1px solid var(--border); }

.note-box {
    background: var(--tint);
    border: 1px solid rgba(43, 179, 163, .4);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin: 0 0 1.4em;
}
.note-box p { margin: 0; color: var(--text); font-size: 15px; }
.note-box p + p { margin-top: 8px; }
.alert-box {
    display: flex;
    gap: 14px;
    background: #FBF2E2;
    border: 1px solid rgba(217, 164, 65, .5);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin: 0 0 1.4em;
}
.alert-box .icon { color: var(--gold); flex: none; margin-top: 2px; }
.alert-box p { margin: 0; color: var(--text); font-size: 15px; }

/* Lista con viñetas de verificación */
.check-list { list-style: none; padding: 0; }
.check-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding-left: 0;
}
.check-list .icon { color: var(--accent-2-deep); margin-top: 3px; }

/* ── Mapa de contacto ────────────────────────────────────────────────── */
.map-embed {
    width: 100%;
    max-width: 860px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    min-height: 320px;
    background: var(--surface-2);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ── Pie de página: banda océano ─────────────────────────────────────── */
.site-footer {
    background:
        radial-gradient(60% 120% at 88% -20%, rgba(43, 179, 163, .22), transparent 62%),
        var(--accent);
    color: var(--on-accent);
    padding: clamp(44px, 6vw, 72px) 0 30px;
    margin-top: clamp(48px, 6vw, 80px);
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 30px 24px;
}
@media (max-width: 1080px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__tagline { font-size: 14px; color: #CFE4EE; margin: 14px 0 12px; max-width: 34ch; }
.site-footer__mail { font-size: 14px; margin: 0; display: flex; align-items: center; gap: 8px; }
.site-footer__mail a { color: var(--on-accent); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__mail .icon { color: var(--tint); }
.site-footer__col h3 {
    color: var(--on-accent);
    font-size: 14.5px;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col a {
    display: inline-block;
    color: #D8EAF2;
    font-size: 14px;
    padding: 4.5px 0;
}
.site-footer__col a:hover { color: var(--on-accent); }
.site-footer__disclaimer {
    margin-top: 36px;
    padding: 20px 24px;
    border: 1px solid rgba(250, 246, 238, .28);
    border-radius: var(--radius);
}
.site-footer__disclaimer h3 { color: var(--on-accent); font-size: 15px; margin-bottom: 6px; }
.site-footer__disclaimer p { margin: 0; font-size: 13.5px; color: #D8EAF2; }
.site-footer__bottom {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(250, 246, 238, .22);
    font-size: 13px;
    color: #CFE4EE;
}
.site-footer__bottom p { margin: 0; }

/* ── Oferta especial (variante intensa de los mismos tokens) ─────────── */
.so-strip {
    background: var(--accent-hover);
    color: var(--on-accent);
    font-size: 13.5px;
}
.so-strip__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 30px;
    justify-content: center;
    padding-block: 10px;
}
.so-strip__item { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.so-strip__item::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); }
.so-hero { padding-top: clamp(40px, 5vw, 62px); }
.so-hero__grid { display: grid; gap: 34px; }
@media (min-width: 960px) { .so-hero__grid { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.so-hero h1 { font-size: clamp(28px, 4.2vw, 44px); }
.so-reinforce {
    font-size: 14px;
    color: var(--text-muted);
    border-left: 4px solid var(--accent-2);
    padding-left: 14px;
    margin-top: 16px;
}
.so-band {
    background:
        radial-gradient(70% 130% at 10% -30%, rgba(43, 179, 163, .3), transparent 60%),
        var(--accent-hover);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 4vw, 44px);
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    align-items: center;
    justify-content: space-between;
}
.so-band h2 { color: var(--on-accent); margin-bottom: 8px; }
.so-band p { color: #D8EAF2; margin: 0; max-width: 52ch; }
.so-modal { position: fixed; inset: 0; z-index: 300; display: none; }
.so-modal.is-open { display: block; }
.so-modal__overlay { position: absolute; inset: 0; background: rgba(11, 71, 104, .58); }
.so-modal__card {
    position: relative;
    max-width: 480px;
    margin: 7vh auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 4px solid var(--accent-2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 30px 26px 26px;
    text-align: center;
}
.so-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    transition: background .14s ease, color .14s ease;
}
.so-modal__close:hover { background: var(--tint); color: var(--accent-hover); }
.so-modal__card img { width: 100%; max-width: 380px; height: auto; margin: 0 auto 8px; }
.so-count { display: inline-flex; gap: 7px; align-items: center; margin: 14px 0 18px; }
.so-count__seg {
    display: inline-flex;
    min-width: 58px;
    justify-content: center;
    padding: 9px 6px;
    background: var(--accent);
    color: var(--on-accent);
    font: 600 24px var(--font-head);
    border-radius: var(--radius-sm);
}
.so-count__sep { font: 600 24px var(--font-head); color: var(--accent); }

/* ── Aparición al hacer scroll ───────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal]:nth-child(2) { transition-delay: .06s; }
[data-reveal]:nth-child(3) { transition-delay: .12s; }
[data-reveal]:nth-child(4) { transition-delay: .18s; }

/* ── Accesibilidad y movimiento reducido ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    [data-reveal] { opacity: 1; transform: none; }
    .hero__canvas { display: none; }
}

/* ── Utilidades ───────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-s { margin-top: 14px; }
.mt-m { margin-top: 26px; }
.mt-l { margin-top: 44px; }
.mb-0 { margin-bottom: 0; }
.claim { font-size: 13px; color: var(--text-muted); }

.tv-ticker-wrapper {
    padding-top: 0 !important;
    height: 58px !important;
}

.iti__selected-country, .iti__selected-dial-code {
    color: #18212f !important;
}
