/* =====================================================================
   Mente Cripto — ai-neural-editorial (ciruela grafito oscuro, editorial)
   Serif display Georgia para h1/h2 y citas; sans en todo lo demás.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
    --bg: #191024;
    --bg-deep: #140D1E;
    --surface: #221831;
    --surface-2: #2C2038;
    --border: rgba(239, 234, 246, 0.10);
    --border-strong: rgba(239, 234, 246, 0.18);

    --text: #EFEAF6;
    --muted: #A99FC0;

    --accent: #B49CFF;
    --accent-hover: #C3AEFF;
    --accent-deep: #8E6FE8;
    --accent-tint: rgba(180, 156, 255, 0.12);
    --mint: #6FD9A8;
    --mint-tint: rgba(111, 217, 168, 0.12);

    --plum-ink: #241733;          /* texto sobre lavanda */
    --plum-ink-2: #1A1128;

    --font-display: Georgia, "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
    --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 18px;

    --shadow-sm: 0 1px 2px rgba(10, 5, 20, 0.35);
    --shadow-md: 0 1px 2px rgba(10, 5, 20, 0.3), 0 10px 28px rgba(20, 10, 35, 0.35);
    --shadow-lg: 0 2px 6px rgba(10, 5, 20, 0.4), 0 22px 56px rgba(16, 8, 30, 0.5);

    --container: 1200px;

    /* textura de "columnas de datos" (hairlines verticales, muy tenue) */
    --texture-columns: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cpath d='M24 0v96M72 0v96' stroke='%23B49CFF' stroke-opacity='.055' stroke-width='1' fill='none'/%3E%3C/svg%3E");
    --texture-mesh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cpath d='M0 70h140M70 0v140M0 0l140 140M140 0L0 140' stroke='%23B49CFF' stroke-opacity='.04' stroke-width='1' fill='none'/%3E%3Ccircle cx='70' cy='70' r='2' fill='%23B49CFF' fill-opacity='.05'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    background-image: var(--texture-columns);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16.5px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--accent); text-decoration: none; transition: color .16s ease; }
a:hover { color: var(--accent-hover); }

[hidden] { display: none !important; }

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

::selection { background: rgba(180, 156, 255, 0.35); color: var(--text); }

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 2000;
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-size: 14px;
    transition: top .18s ease;
}
.skip-link:focus { top: 12px; }

.icon { flex: none; vertical-align: middle; }

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

.section { padding: clamp(56px, 7vw, 96px) 0; position: relative; }

.section--tint {
    background: var(--surface);
    background-image: var(--texture-mesh);
    border-block: 1px solid var(--border);
}

.section--warm {
    background:
        radial-gradient(900px 380px at 85% 0%, rgba(142, 111, 232, 0.10), transparent 60%),
        var(--bg-deep);
    border-block: 1px solid var(--border);
}

/* Encabezado de sección con doble filete (firma editorial) */
.section-head { position: relative; padding-bottom: 16px; margin-bottom: 30px; max-width: 760px; }
.section-head::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 72px; height: 6px;
    border-top: 1px solid var(--accent);
    border-bottom: 1px solid rgba(180, 156, 255, 0.35);
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center::after { left: 50%; transform: translateX(-50%); }

h1, h2 { font-family: var(--font-display); font-weight: 600; line-height: 1.14; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: 18.5px; font-weight: 650; line-height: 1.35; }
h4 { font-size: 16px; font-weight: 650; }

.lead { font-size: 18px; color: var(--muted); max-width: 62ch; }
.section-head--center .lead { margin-inline: auto; }

/* Etiqueta folio (eyebrow racionado: máx. una cada 3 secciones) */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); }

.hl { color: var(--mint); }          /* una frase menta por sección, máx. */

.prose { max-width: 74ch; }
.prose p + p { margin-top: 0.9em; }
.prose h3 { margin-top: 1.6em; margin-bottom: 0.5em; }
.prose ul { list-style: disc; padding-left: 1.3em; color: var(--muted); }
.prose ul li + li { margin-top: 0.4em; }

.mt-2 { margin-top: 18px; }
.mt-4 { margin-top: 38px; }
.note {
    font-size: 14px;
    color: var(--muted);
    border-left: 2px solid rgba(180, 156, 255, 0.4);
    padding: 6px 0 6px 14px;
}
.text-center { text-align: center; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 22px;
    border-radius: 12px;
    border: 1px solid transparent;
    font: inherit;
    font-weight: 650;
    font-size: 15.5px;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: background .16s ease, color .16s ease, border-color .16s ease,
                transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.btn-primary {
    background: var(--accent);
    color: var(--plum-ink);
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background: var(--accent-hover);
    color: var(--plum-ink-2);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(142, 111, 232, 0.35);
}
.btn-primary:active { transform: none; filter: brightness(.96); }
.btn-secondary {
    background: transparent;
    color: var(--accent);
    border-color: rgba(180, 156, 255, 0.55);
}
.btn-secondary:hover {
    background: var(--accent-tint);
    border-color: var(--accent);
    color: var(--accent-hover);
    transform: translateY(-1px);
}
.btn-block { display: flex; width: 100%; }

.header-cta-icon { display: inline-flex; color: inherit; opacity: .85; }

/* ---------- Encabezado ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(20, 13, 30, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled {
    background: rgba(20, 13, 30, 0.97);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 36px);
    min-height: 74px;
}

.brand { display: inline-flex; align-items: center; color: var(--text); }
.brand svg { width: clamp(160px, 18vw, 210px); height: auto; display: block; }

.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }

.nav-item { position: relative; }

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border: 0;
    background: none;
    color: var(--text);
    font: inherit;
    font-size: 15px;
    font-weight: 550;
    border-radius: 10px;
    cursor: pointer;
    transition: color .16s ease, background .16s ease;
}
.nav-link:hover { color: var(--accent); background: var(--accent-tint); }
.nav-link .icon { color: var(--muted); transition: transform .16s ease; }
.nav-toggle { font-family: inherit; }
.has-dropdown.is-open .nav-link .icon { transform: rotate(180deg); color: var(--accent); }

/* Menú desplegable: superficie real */
.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 264px;
    background: var(--surface);
    background-image: var(--texture-mesh);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
    z-index: 950;
}
.dropdown::before {                    /* muesca hacia el disparador */
    content: "";
    position: absolute;
    top: -5px; left: 22px;
    width: 10px; height: 10px;
    background: var(--surface);
    border-left: 1px solid var(--border-strong);
    border-top: 1px solid var(--border-strong);
    transform: rotate(45deg);
}
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

/* cerca del borde derecho, alinear a la derecha */
.nav-item:last-child .dropdown,
.nav-item:nth-last-child(2) .dropdown { left: auto; right: 0; }
.nav-item:last-child .dropdown::before,
.nav-item:nth-last-child(2) .dropdown::before { left: auto; right: 22px; }

.dropdown-list { display: block; }
.dropdown-link {
    display: block;
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--text);
    font-size: 14.5px;
    transition: background .14s ease, color .14s ease;
}
.dropdown-link:hover, .dropdown-link:focus-visible {
    background: var(--accent-tint);
    color: var(--accent-hover);
}
.dropdown-link.is-active { color: var(--mint); background: var(--mint-tint); }

/* Botón hamburguesa (SVG en línea) */
.nav-burger {
    display: none;
    margin-left: auto;
    width: 46px; height: 46px;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    color: var(--text);
    cursor: pointer;
}
.nav-burger:hover { border-color: var(--accent); color: var(--accent); }
.nav-burger .burger-close { display: none; }
body.nav-open .nav-burger .burger-open { display: none; }
body.nav-open .nav-burger .burger-close { display: inline-flex; }

/* Menú móvil */
.mobile-nav {
    position: fixed;
    inset: 74px 0 0 0;
    z-index: 890;
    background: rgba(20, 13, 30, 0.99);
    background-image: var(--texture-columns);
    overflow-y: auto;
    padding: 22px 0 40px;
    border-top: 1px solid var(--border);
}
.mobile-nav__group { border-bottom: 1px solid var(--border); }
.mobile-nav__heading {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 15px 4px;
    background: none;
    border: 0;
    color: var(--accent);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
}
.mobile-nav__list { padding: 0 4px 14px; display: grid; gap: 2px; }
.mobile-nav__link {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text);
    font-size: 15.5px;
}
.mobile-nav__link:hover, .mobile-nav__link.is-active { background: var(--accent-tint); color: var(--accent-hover); }
.mobile-nav .btn { margin-top: 22px; }

/* Fila del ticker (inyectada por _beacon tras </header>) */
.beacon-ticker-row {
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border);
}

/* ---------- Héroe (portada editorial) ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1100px 520px at 88% -10%, rgba(142, 111, 232, 0.16), transparent 62%),
        radial-gradient(760px 420px at -8% 108%, rgba(111, 217, 168, 0.07), transparent 58%),
        var(--bg);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg .hero-mesh {
    position: absolute;
    top: -6%; right: -4%;
    width: min(62%, 780px);
    height: auto;
    opacity: 0.9;
    transform: translate3d(var(--crypto-x, 0px), calc(var(--crypto-y, 0px)), 0);
    will-change: transform;
}
.hero__bg .hero-fade {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 30%, var(--bg) 96%);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
    gap: clamp(28px, 4vw, 56px);
    padding: clamp(48px, 6vw, 86px) 0 clamp(30px, 4vw, 48px);
    align-items: start;
}

.hero-copy { position: relative; padding-right: clamp(20px, 3vw, 44px); min-width: 0; }
.hero-copy::after {                 /* regla vertical de apertura de revista */
    content: "";
    position: absolute;
    top: 6px; bottom: 6px; right: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--border-strong) 18% 82%, transparent);
}

.hero h1 {
    font-size: clamp(32px, 4.6vw, 52px);
    max-width: 15ch;
}

.hero-sub {
    margin-top: 18px;
    font-size: clamp(16.5px, 1.4vw, 18.5px);
    color: var(--muted);
    max-width: 48ch;
}

.hero-trust { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.trust-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--muted);
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: color .16s ease, border-color .16s ease;
}
.trust-link .icon { color: var(--accent); }
.trust-link:hover { color: var(--text); border-bottom-color: var(--accent); }

.hero-form { min-width: 0; position: relative; }

.hero-meta { margin-top: 18px; }
.offices { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.offices > span { flex: none; }
.flag-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px 5px 8px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13px;
    color: var(--text);
}
.flag-dot {
    width: 15px; height: 15px;
    border-radius: 50%;
    flex: none;
    border: 1px solid rgba(239, 234, 246, 0.25);
}
.flag-dot--mx { background: linear-gradient(180deg, #2E7D5B 33%, #EFE9DA 33% 66%, #B03A3A 66%); }
.flag-dot--br { background: linear-gradient(180deg, #2E9E5B 60%, #E8C64A 60%); }
.flag-dot--ca { background: linear-gradient(90deg, #C94A4A 25%, #EFE9DA 25% 75%, #C94A4A 75%); }

/* Tira de contenidos: mini paneles analíticos bajo el héroe */
.contents-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(20, 13, 30, 0.55);
    backdrop-filter: blur(6px);
    margin-bottom: clamp(40px, 5vw, 64px);
    overflow: hidden;
}
.panel-mini {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 16px 18px;
    border-left: 1px solid var(--border);
    min-width: 0;
}
.panel-mini:first-child { border-left: 0; }
.panel-mini svg { flex: none; }
.panel-mini strong { display: block; font-size: 13.5px; font-weight: 650; }
.panel-mini span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.45; }

/* ---------- Formularios (formFactory con tema oscuro) ---------- */
.form-block {
    --bf-input-bg: var(--surface-2);
    --bf-input-text: var(--text);
    color: var(--text);
}
.form-card {
    background: linear-gradient(180deg, #241934, #1E152B);
    border: 1px solid var(--border-strong);
    border-top: 2px solid var(--accent);          /* hairline lavanda del perfil */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: clamp(18px, 2.4vw, 26px);
}
.form-block__heading {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}
.form-block__intro { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.form-block .bff { gap: 13px; }
.form-block .bff__label { color: var(--text); font-size: 13px; }
.form-block .bff__input {
    border: 1px solid var(--border-strong);
    background: var(--surface-2);
    color: var(--text);
    border-radius: 10px;
}
.form-block .bff__input::placeholder { color: var(--muted); }
.form-block .bff__submit {
    color: var(--plum-ink) !important;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}
.form-block .bff__ok {
    background: var(--mint-tint);
    color: var(--mint);
}
.form-block .bff__fail {
    background: rgba(214, 69, 69, 0.14);
    color: #F1A0A0;
}
.form-note { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.form-legal { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.form-legal a { text-decoration: underline; text-underline-offset: 3px; }
.form-block--extra { margin-top: 8px; }

/* ---------- Bloques de la home ---------- */

/* Casas de cambio (chips tipográficos, nunca logos ajenos) */
.exchanges { padding: 26px 0; border-bottom: 1px solid var(--border); }
.exchanges .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
}
.exchanges__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-right: 6px;
}
.exchange-chip {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    padding: 7px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    transition: border-color .16s ease, color .16s ease, transform .16s ease;
}
.exchange-chip:hover { border-color: var(--accent); color: var(--accent-hover); transform: translateY(-1px); }

/* Calculadora */
.calc-section {
    background:
        radial-gradient(760px 320px at 12% 0%, rgba(142, 111, 232, 0.08), transparent 60%),
        var(--bg);
}
.calc-section .container { max-width: 980px; }

/* Pasos numerados: círculos pequeños de acento */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: paso; }
.step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 20px;
    box-shadow: var(--shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.step:nth-child(even) { transform: translateY(14px); }      /* cuadrícula escalonada */
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(180, 156, 255, 0.4); }
.step:nth-child(even):hover { transform: translateY(10px); }
.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--plum-ink);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* Tabla comparativa */
.compare-wrap { overflow-x: auto; contain: layout; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-md); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.compare thead th {
    background: var(--surface-2);
    font-family: var(--font-display);
    font-size: 16.5px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-strong);
}
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover td { background: rgba(180, 156, 255, 0.04); }
.compare .col-us { color: var(--mint); font-weight: 650; width: 26%; }
.compare .col-them { color: var(--muted); width: 26%; }
.compare td:first-child { color: var(--text); font-weight: 550; }
.compare .yes, .compare .no { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; }
.compare .yes { background: var(--mint-tint); color: var(--mint); }
.compare .no { background: rgba(169, 159, 192, 0.1); color: var(--muted); }

/* Reseñas */
.review {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.review:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(180, 156, 255, 0.4); }
.review__head { display: flex; align-items: center; gap: 14px; }
.review__ava {
    width: 64px; height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(180, 156, 255, 0.45);
    flex: none;
    background: var(--surface-2);
}
.review__ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review__name { font-weight: 650; font-size: 15.5px; }
.review__role { font-size: 13px; color: var(--muted); }
.review__stars { display: inline-flex; gap: 2px; color: var(--mint); margin-left: auto; }
.review p { font-size: 14.5px; color: var(--muted); }
.review__stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 10px 22px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
.review__stat dt { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.review__stat dd { margin: 2px 0 0; font-size: 15px; font-weight: 650; color: var(--text); font-variant-numeric: tabular-nums; }
.review__stat dd.is-mint { color: var(--mint); }
.reviews-note {
    margin-top: 18px;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}

/* Bloque de compañía */
.company-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(26px, 4vw, 52px);
    align-items: start;
}
.company-facts { display: grid; gap: 14px; font-size: 15px; color: var(--muted); }
.company-facts .fact { display: flex; gap: 12px; align-items: flex-start; }
.company-facts .icon { color: var(--accent); margin-top: 3px; }
.company-facts strong { display: block; color: var(--text); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2px; }
.company-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.company-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-weight: 600;
    font-size: 14.5px;
    transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.company-link:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--text); }
.company-link .icon { color: var(--accent); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.faq-q {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    background: none;
    border: 0;
    color: var(--text);
    font: inherit;
    font-weight: 600;
    font-size: 15.5px;
    text-align: left;
    cursor: pointer;
}
.faq-q .icon { color: var(--accent); transition: transform .16s ease; }
.faq-item.is-open .faq-q .icon { transform: rotate(180deg); }
.faq-a { padding: 0 18px 18px; color: var(--muted); font-size: 15px; }

/* ---------- Páginas internas ---------- */
.page-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 400px at 90% -20%, rgba(142, 111, 232, 0.14), transparent 60%),
        var(--bg-deep);
    border-bottom: 1px solid var(--border);
}
.page-hero .container { padding-top: clamp(38px, 5vw, 62px); padding-bottom: clamp(38px, 5vw, 62px); }
.page-hero h1 { font-size: clamp(28px, 3.8vw, 42px); max-width: 20ch; }
.page-hero .lead { margin-top: 14px; }
.page-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(26px, 4vw, 56px);
    align-items: start;
}
.page-hero__grid .form-block { position: relative; }

.breadcrumbs { background: rgba(20, 13, 30, 0.5); border-bottom: 1px solid var(--border); }
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    padding: 11px 0;
    font-size: 13px;
    color: var(--muted);
}
.breadcrumbs li + li::before { content: "/"; margin-right: 10px; color: rgba(169, 159, 192, 0.5); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: var(--accent); }

/* Tablas */
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-md);
    -webkit-overflow-scrolling: touch;
}
.table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 14.5px; }
.table th, .table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.table thead th {
    background: var(--surface-2);
    color: var(--text);
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:nth-child(even) td { background: rgba(239, 234, 246, 0.015); }
.table td { color: var(--muted); }
.table td strong { color: var(--text); }

/* Mapa */
.map-embed {
    position: relative;
    width: 100%;
    max-width: 860px;
    aspect-ratio: 16 / 9;
    min-height: 320px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--surface-2);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(0.85) hue-rotate(-8deg); }

/* Insignias de icono */
.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px; height: 50px;
    border-radius: 13px;
    background: var(--accent-tint);
    color: var(--accent);
    border: 1px solid rgba(180, 156, 255, 0.22);
    flex: none;
}
.icon-badge--navy {
    background: var(--mint-tint);
    color: var(--mint);
    border-color: rgba(111, 217, 168, 0.25);
}

/* Tarjetas y cuadrículas */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    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(180, 156, 255, 0.4); }
.card .icon-badge { margin-bottom: 14px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card .card-kicker { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 6px; }

.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); contain: layout; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid .card--wide { grid-column: span 2; }

/* Cita destacada (pull quote editorial) */
.quote-card {
    background: var(--surface);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: 22px 26px;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 19px;
    line-height: 1.5;
    color: var(--text);
    box-shadow: var(--shadow-sm);
}
.quote-card cite {
    display: block;
    margin-top: 10px;
    font-family: var(--font-body);
    font-style: normal;
    font-size: 13px;
    color: var(--muted);
}

/* ---------- Oferta especial ---------- */
.offer-strip {
    background: linear-gradient(90deg, #17102A, #241934 50%, #17102A);
    border-bottom: 1px solid rgba(180, 156, 255, 0.3);
    padding: 12px 0;
}
.offer-strip .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 34px;
}
.offer-strip .stat {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    color: var(--muted);
}
.offer-strip .stat strong { color: var(--mint); font-size: 15px; font-variant-numeric: tabular-nums; }
.offer-strip .stat::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 0 rgba(111, 217, 168, 0.5);
    animation: live-pulse 2.4s ease-out infinite;
}

.offer-band {
    background:
        radial-gradient(700px 300px at 80% 20%, rgba(142, 111, 232, 0.2), transparent 60%),
        #17102A;
    border-block: 1px solid rgba(180, 156, 255, 0.28);
    text-align: center;
}
.offer-band h2 { font-size: clamp(26px, 3.2vw, 36px); }
.offer-band p { color: var(--muted); margin: 12px auto 22px; max-width: 56ch; }

.countdown { display: inline-flex; align-items: center; gap: 7px; margin: 6px 0 2px; }
.cd-seg {
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: 9px;
    padding: 7px 11px;
    font-size: 22px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--text);
    line-height: 1;
}
.cd-seg--cs { color: var(--mint); }
.cd-sep { color: var(--accent); font-size: 20px; font-weight: 700; }

/* Modal de intención de salida */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(10, 6, 16, 0.74);
    backdrop-filter: blur(4px);
}
.modal-overlay.is-open { display: flex; }
body.modal-open { overflow: hidden; }
.modal-card {
    position: relative;
    width: min(440px, 100%);
    background: linear-gradient(180deg, #261A3A, #1E152B);
    border: 1px solid rgba(180, 156, 255, 0.32);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 28px 26px 26px;
    text-align: center;
}
.modal-card h3 { font-family: var(--font-display); font-size: 26px; margin-bottom: 8px; }
.modal-card p { color: var(--muted); font-size: 15px; }
.modal-card .btn { margin-top: 18px; }
.modal-illo { margin: 2px auto 12px; display: block; }
.modal-close {
    position: absolute;
    top: 10px; right: 10px;
    width: 34px; height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1;
    cursor: pointer;
    transition: color .15s ease, border-color .15s ease;
}
.modal-close:hover { color: var(--text); border-color: var(--accent); }

/* ---------- Pie de página ---------- */
.site-footer {
    background: var(--bg-deep);
    background-image: var(--texture-columns);
    border-top: 1px solid var(--border);
    padding-top: clamp(44px, 6vw, 72px);
    margin-top: 0;
}
.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2.4fr));
    gap: clamp(22px, 3vw, 40px);
    padding-bottom: 40px;
}
.footer-brand .brand svg { width: 190px; }
.footer-mission { margin-top: 16px; font-size: 14px; color: var(--muted); max-width: 34ch; }
.footer-contact { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.footer-contact .icon { color: var(--accent); margin-right: 6px; }
.footer-contact a { color: var(--text); }
.footer-col h3 {
    font-size: 12.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { color: var(--muted); font-size: 14px; }
.footer-col a:hover { color: var(--accent-hover); }

.footer-disclaimer {
    border-top: 1px solid var(--border);
    padding: 22px 0;
    font-size: 12.8px;
    color: var(--muted);
    line-height: 1.6;
}
.footer-disclaimer h3 {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 8px;
}
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 18px 0 26px;
    font-size: 13px;
    color: var(--muted);
}

/* ---------- Revelado al hacer scroll ---------- */
[data-reveal] { backface-visibility: hidden; }
.is-revealed { animation: mc-rise .55s cubic-bezier(.2, .6, .2, 1) both; }
@keyframes mc-rise {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(111, 217, 168, 0.5); }
    70% { box-shadow: 0 0 0 9px rgba(111, 217, 168, 0); }
    100% { box-shadow: 0 0 0 0 rgba(111, 217, 168, 0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
    .site-nav { display: none; }
    .header-inner .btn-header { display: none; }
    .nav-burger { display: inline-flex; }
    .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; padding-top: 40px; }
    .hero-copy { padding-right: 0; }
    .hero-copy::after { display: none; }
    .hero h1 { max-width: none; }
    .mobile-hero-title { margin-bottom: 4px; }
    .contents-strip { grid-template-columns: repeat(2, 1fr); }
    .panel-mini:nth-child(3) { border-left: 0; }
    .panel-mini:nth-child(n + 3) { border-top: 1px solid var(--border); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .step:nth-child(even) { transform: none; }
    .step:nth-child(even):hover { transform: translateY(-4px); }
    .company-grid { grid-template-columns: 1fr; }
    .page-hero__grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    body { font-size: 16px; }
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .grid .card--wide { grid-column: auto; }
    .company-links { grid-template-columns: 1fr; }
    .contents-strip { grid-template-columns: 1fr; }
    .panel-mini { border-left: 0; border-top: 1px solid var(--border); }
    .panel-mini:first-child { border-top: 0; }
    .review__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 8px; }
    .steps { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .exchange-chip { font-size: 14.5px; padding: 6px 14px; }
}

@media (max-width: 400px) {
    .cd-seg { font-size: 18px; padding: 6px 8px; }
    .offer-strip .container { gap: 8px 18px; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001s !important;
    }
    .is-revealed { animation: none; }
    .offer-strip .stat::before { animation: none; }
}

/* Homepage review layout and shared widget adjustments. */
.tv-ticker-wrapper {
    padding-top: 0px !important;
    height: 58px !important;
}
.iti__selected-country, .iti__selected-dial-code {
    color: rgb(24, 33, 47) !important;
}
.home-reviews {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.home-reviews > .review { min-width: 0; }
.home-reviews .review__head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
}
.home-reviews .review__head > div { min-width: 0; }
.home-reviews .review__head > .review__stars {
    grid-column: 1 / -1;
    margin-left: 0;
}
.home-reviews .review__ava { object-fit: cover; overflow: hidden; }
.home-reviews .review__ava img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 960px) {
    .home-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .home-reviews { grid-template-columns: minmax(0, 1fr); }
}
