/* Estilos custom 0kbot Ciberseguridad — extraídos de <style> inline.
   Self-hosted con SRI para CSP `style-src 'self'` sin 'unsafe-inline'.
   Si modificás este archivo: regenerar hash con bash scripts/build_web_assets.sh */

/* === Tokens (refresh 2026-05) ===
   Wide-gamut OKLCH para pantallas P3; degrada gracioso a sRGB en monitores estándar.
   Light-mode no implementado todavía — color-scheme: dark fija el preferred. */
:root {
    color-scheme: dark;
    /* Acento cyan (CTAs, links, focus) */
    --acc-cyan-300: oklch(82% 0.13 230);
    --acc-cyan-400: oklch(74% 0.16 230);
    --acc-cyan-500: oklch(67% 0.18 230);
    /* Acento ámbar (urgencia, ventana corta OIV) */
    --acc-amber-300: oklch(86% 0.16 85);
    --acc-amber-400: oklch(78% 0.18 85);
    --acc-amber-500: oklch(72% 0.19 85);
    /* Acento rojo (alert, exposición) */
    --acc-red-400: oklch(70% 0.20 25);
    /* Backgrounds slate (mantienen identidad dark) */
    --bg-base:    oklch(15% 0.02 250);
    --bg-elev-1:  oklch(20% 0.03 250);
    --bg-elev-2:  oklch(25% 0.025 250);
    /* Text */
    --tx-primary:   oklch(96% 0.005 250);
    --tx-secondary: oklch(78% 0.02 250);
    --tx-muted:     oklch(65% 0.025 250);
}

/* === View Transitions API (cross-document) ===
   Soporte: Chrome 126+, Edge 126+, Safari 18.2+ (mayo 2025).
   En navegadores sin soporte, navegación normal (cero degradación).
   Aplica a navegación entre /, /express.html, /calculadora.html, etc. */
@view-transition { navigation: auto; }

/* Transition named: el logo persiste suavemente entre páginas */
.vt-logo { view-transition-name: site-logo; }

/* Curva de easing más natural para transiciones de página completa */
::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 280ms;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none;
    }
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    /* Inter stylistic sets: cv11 = single-storey 'a', ss03 = curved 'r',
       cv01 = open '4'. Activan los axes de Inter Variable ya self-hosted. */
    font-feature-settings: 'cv11', 'ss03', 'cv01';
}

/* Tipografía 2026: balance en titulares (sin viudas), pretty en párrafos.
   Soporte: Chrome 114+, Safari 17.5+, Firefox 121+. Degrada gracioso. */
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

/* Números tabulares para precios CLP (alineación columnar perfecta). */
.tabular-nums, .price {
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum', 'cv11';
}

/* Gradients en OKLCH wide-gamut con fallback sRGB para Safari < 16.4 / Chrome < 111. */
.gradient-bg {
    /* Fallback sRGB */
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    /* OKLCH wide-gamut (P3 displays) — vibración ligeramente mayor sin perder identidad */
    background: linear-gradient(135deg,
        oklch(15% 0.025 250) 0%,
        oklch(22% 0.04 250) 50%,
        oklch(15% 0.025 250) 100%);
}

.gradient-text {
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    background: linear-gradient(90deg,
        oklch(74% 0.16 230),
        oklch(72% 0.18 280));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* calculadora.html — barra animada del medidor de cumplimiento */
.bar {
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* anclas con margen para el sticky nav (89 px alto + 12 px aire) */
h1, h2, h3,
section[id] {
    scroll-margin-top: 100px;
}

/* Utility overflow-x-auto: la build de tailwind.min.css purga esta clase,
   pero el HTML la usa para envolver la tabla de entregables. Sin esta regla
   la tabla rompe el documento (scrollWidth > viewport) y eso a su vez
   hace que el sticky-cta-mobile se calcule contra el ancho del documento
   en vez del visualViewport, saliéndose por la derecha en móvil. */
.overflow-x-auto {
    overflow-x: auto;
}

/* Honeypot anti-bot oculto — reemplaza style="position:absolute; left:-9999px; top:-9999px;"
   movido a CSS por CSP estricta (style-src 'self' sin 'unsafe-inline'). */
.hp-hidden {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

/* === FASE 1.1 — Top bar urgencia OIV (Res Ex 85/2026, vence 2026-05-24) ===
   Rediseño 2026-05: gradient ámbar sutil + countdown destacado + micro-pulso.
   Reemplaza el "wordpress yellow" #fbbf24 plano por un acento serio.
   Plazo corregido 2026-05-06: 30 dias corridos desde publicacion DO 2026-04-24. */
.oiv-banner {
    background: linear-gradient(90deg,
        rgba(251, 191, 36, 0.08) 0%,
        rgba(251, 191, 36, 0.16) 50%,
        rgba(251, 191, 36, 0.08) 100%);
    color: rgb(252, 211, 77);
    font-size: 0.8125rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(251, 191, 36, 0.25);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    position: relative;
}
.oiv-banner::before {
    /* Línea acento superior tipo "alert system" — sutil, no chillón. */
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.6), transparent);
}
.oiv-banner__inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0.625rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.oiv-banner__text { margin: 0; line-height: 1.45; color: rgb(254, 243, 199); }
.oiv-banner__text strong { color: rgb(252, 211, 77); font-weight: 700; }
.oiv-banner__days {
    display: inline-block;
    position: relative;
    min-width: 2ch;
    padding: 0.125rem 0.5rem;
    margin: 0 0.125rem;
    border-radius: 0.375rem;
    background: rgba(251, 191, 36, 0.18);
    color: rgb(254, 243, 199);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum';
}
/* Halo de pulso sobre pseudo-elemento — solo transform+opacity (compositor),
   sin paint. Más eficiente que animar box-shadow. */
.oiv-banner__days::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(251, 191, 36, 0.4);
    transform-origin: center;
    pointer-events: none;
    animation: oiv-pulse 2.4s ease-out infinite;
    will-change: transform, opacity;
}
@keyframes oiv-pulse {
    0%   { transform: scale(1);    opacity: 0.6; }
    100% { transform: scale(1.6);  opacity: 0;   }
}
@media (prefers-reduced-motion: reduce) {
    .oiv-banner__days::after { animation: none; opacity: 0; }
}
.oiv-banner__cta {
    color: rgb(252, 211, 77);
    text-decoration: underline;
    text-decoration-color: rgba(251, 191, 36, 0.45);
    text-underline-offset: 3px;
    white-space: nowrap;
    font-weight: 600;
    transition: color 0.15s, text-decoration-color 0.15s;
}
.oiv-banner__cta:hover {
    color: rgb(254, 243, 199);
    text-decoration-color: rgba(251, 191, 36, 0.9);
}
.oiv-banner__dismiss {
    background: transparent;
    border: 0;
    color: rgba(252, 211, 77, 0.6);
    font-size: 1.125rem;
    cursor: pointer;
    /* WCAG 2.5.5 (AAA) / 2.5.8 (AA) — tap target mínimo 44x44 (24x24 AA). */
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    transition: color 0.15s;
}
.oiv-banner__dismiss:hover, .oiv-banner__dismiss:focus { color: rgb(254, 243, 199); }
.oiv-banner__dismiss:focus-visible {
    outline: 2px solid rgba(251, 191, 36, 0.6);
    outline-offset: 2px;
    border-radius: 2px;
}
@media (max-width: 640px) {
    .oiv-banner { font-size: 0.75rem; }
    .oiv-banner__inner { gap: 0.5rem; padding: 0.5rem 1rem; }
    .oiv-banner__cta { display: none; }
}

/* === FASE 1.3 — Trust bar (debajo del hero) === */
.trust-bar {
    border-top: 1px solid rgb(30, 41, 59);
    border-bottom: 1px solid rgb(30, 41, 59);
    background: rgba(15, 23, 42, 0.4);
}
.trust-bar__inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.8125rem;
    color: rgb(148, 163, 184);
    letter-spacing: 0.02em;
}
.trust-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}
.trust-bar__item::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgb(56, 189, 248);
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .trust-bar__inner {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        scroll-snap-type: x mandatory;
        gap: 1rem;
    }
    .trust-bar__item { scroll-snap-align: start; }
    .trust-bar__inner::-webkit-scrollbar { display: none; }
}

/* === FASE 1.6 — Sección "Quién ejecuta" === */
.diego-section { background: rgba(15, 23, 42, 0.3); }
.diego-grid {
    display: grid;
    gap: 2.5rem;
    align-items: start;
}
@media (min-width: 768px) {
    .diego-grid { grid-template-columns: 1fr 2fr; }
}
.diego-photo {
    aspect-ratio: 1 / 1;
    border-radius: 1rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #38bdf8 220%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgb(30, 41, 59);
    position: relative;
    overflow: hidden;
}
.diego-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}
.diego-photo__placeholder {
    color: rgb(100, 116, 139);
    font-size: 0.75rem;
    text-align: center;
    padding: 1rem;
    line-height: 1.5;
}
.diego-photo__placeholder svg {
    width: 96px;
    height: 96px;
    display: block;
    margin: 0 auto 1rem;
    opacity: 0.5;
}
.diego-bio { line-height: 1.65; }
.diego-bio p + p { margin-top: 1rem; }

/* === FASE 1.4 — Form refinements === */
.form-help {
    font-size: 0.75rem;
    color: rgb(100, 116, 139);
    margin-top: 0.375rem;
}
.form-status--success {
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.4);
    color: rgb(167, 243, 208);
}
.form-status--error {
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.4);
    color: rgb(254, 202, 202);
}
.form-status__cta-list {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    font-size: 0.875rem;
}
.form-status__cta-list a {
    color: rgb(125, 211, 252);
    text-decoration: underline;
}
.form-status__cta-list a:hover { color: rgb(186, 230, 253); }

/* === FASE 2.A — Lead magnet cards (Express, Calculadora) === */
.lead-magnet-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.8);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, rgba(15, 23, 42, 0.2) 100%);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.lead-magnet-card:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.3) 100%);
}
.lead-magnet-card--emerald {
    border-color: rgba(52, 211, 153, 0.35);
    box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.05) inset;
}
.lead-magnet-card--emerald:hover { border-color: rgba(52, 211, 153, 0.6); }
.lead-magnet-card--cyan {
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.05) inset;
}
.lead-magnet-card--cyan:hover { border-color: rgba(56, 189, 248, 0.6); }
.lead-magnet-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.lead-magnet-card__head svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}
.lead-magnet-card--emerald .lead-magnet-card__head svg { color: rgb(52, 211, 153); }
.lead-magnet-card--cyan .lead-magnet-card__head svg { color: rgb(56, 189, 248); }
.lead-magnet-card__badge {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    color: rgb(15, 23, 42);
}
.lead-magnet-card--emerald .lead-magnet-card__badge { background: rgb(52, 211, 153); }
.lead-magnet-card--cyan .lead-magnet-card__badge { background: rgb(56, 189, 248); }
.lead-magnet-card__cta {
    margin-top: auto;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgb(125, 211, 252);
    transition: color 0.2s;
}
.lead-magnet-card--emerald .lead-magnet-card__cta { color: rgb(110, 231, 183); }
.lead-magnet-card:hover .lead-magnet-card__cta {
    color: rgb(186, 230, 253);
}
.lead-magnet-card--emerald:hover .lead-magnet-card__cta {
    color: rgb(167, 243, 208);
}

/* === FASE 1.7 — "Ver muestra del entregable" links en cards === */
.sku-sample-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
    color: rgb(125, 211, 252);
    text-decoration: none;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    /* WCAG 2.5.5 — tap target 44x44 (link aislado dentro de card, no inline). */
    min-height: 44px;
    padding: 0.5rem 0.25rem;
}
.sku-sample-link:hover { color: rgb(186, 230, 253); text-decoration: underline; }
.sku-sample-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* === FASE 2.B — Timeline "Cómo trabajamos" === */
.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 2.5rem;
    position: relative;
}
@media (min-width: 768px) {
    .timeline { gap: 2rem; }
    .timeline::before {
        content: "";
        position: absolute;
        left: 22px;
        top: 22px;
        bottom: 22px;
        width: 2px;
        background: linear-gradient(180deg, rgb(56, 189, 248) 0%, rgba(56, 189, 248, 0.1) 100%);
    }
}
.timeline__item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 1.25rem;
    align-items: start;
    position: relative;
}
.timeline__marker {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.15);
    border: 2px solid rgb(56, 189, 248);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(56, 189, 248);
    font-weight: 700;
    font-size: 1rem;
    z-index: 1;
    flex-shrink: 0;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.timeline__body { padding-top: 0.25rem; }

/* === FASE 2.B — Tabla entregables === */
.entregables-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    background: rgba(15, 23, 42, 0.4);
}
.entregables-table thead {
    background: rgba(15, 23, 42, 0.7);
    color: rgb(148, 163, 184);
    text-transform: uppercase;
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
    text-align: left;
}
.entregables-table th {
    padding: 0.875rem 1rem;
    font-weight: 600;
    border-bottom: 1px solid rgb(30, 41, 59);
    white-space: nowrap;
}
.entregables-table td {
    padding: 1rem;
    vertical-align: top;
    color: rgb(203, 213, 225);
    border-bottom: 1px solid rgba(30, 41, 59, 0.5);
    line-height: 1.55;
}
.entregables-table td:first-child { white-space: nowrap; min-width: 180px; }
.entregables-table td:nth-child(2) { color: rgb(148, 163, 184); min-width: 200px; }
.entregables-table td:nth-child(4) { white-space: nowrap; color: rgb(125, 211, 252); font-size: 0.8125rem; }
.entregables-table tr:last-child td { border-bottom: 0; }
.entregables-table tr:hover td { background: rgba(56, 189, 248, 0.03); }
@media (max-width: 768px) {
    .entregables-table { font-size: 0.8125rem; }
    .entregables-table th, .entregables-table td { padding: 0.75rem; }
}

/* === FASE 2.D — Recurso cards (página /recursos.html) === */
.recurso-card {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    border-radius: 0.875rem;
    border: 1px solid rgb(30, 41, 59);
    background: rgba(15, 23, 42, 0.4);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.recurso-card:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.5);
    background: rgba(15, 23, 42, 0.6);
}
.recurso-card--emerald { border-color: rgba(52, 211, 153, 0.3); }
.recurso-card--emerald:hover { border-color: rgba(52, 211, 153, 0.6); }
.recurso-card--cyan { border-color: rgba(56, 189, 248, 0.3); }
.recurso-card--cyan:hover { border-color: rgba(56, 189, 248, 0.6); }
.recurso-card__head { margin-bottom: 0.875rem; }
.recurso-card__badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    background: rgb(56, 189, 248);
    color: rgb(15, 23, 42);
}
.recurso-card--emerald .recurso-card__badge { background: rgb(52, 211, 153); }
.recurso-card__cta {
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgb(125, 211, 252);
}
.recurso-card:hover .recurso-card__cta { color: rgb(186, 230, 253); }

/* === FASE 2.D — Sticky CTA mobile (visible <md) === */
.sticky-cta-mobile {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    padding: 0.875rem 1.25rem;
    border-radius: 0.625rem;
    background: rgb(14, 165, 233);
    color: rgb(15, 23, 42);
    font-weight: 600;
    font-size: 0.9375rem;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.35), 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 40;
    display: none;
    transition: transform 0.2s ease;
}
.sticky-cta-mobile:active { transform: translateY(1px); }
@media (max-width: 767px) {
    .sticky-cta-mobile { display: block; }
    body { padding-bottom: 5rem; }
}

/* === FASE 2.C — FAQ accordion === */
.faq-list { display: grid; gap: 0.5rem; }
.faq-item {
    border: 1px solid rgb(30, 41, 59);
    border-radius: 0.625rem;
    background: rgba(15, 23, 42, 0.4);
    transition: border-color 0.2s, background 0.2s;
}
.faq-item[open] {
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(15, 23, 42, 0.6);
}
.faq-item__q {
    cursor: pointer;
    padding: 1.125rem 3rem 1.125rem 1.25rem;
    font-weight: 600;
    color: rgb(241, 245, 249);
    font-size: 1rem;
    line-height: 1.45;
    list-style: none;
    position: relative;
    -webkit-user-select: none;
    user-select: none;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
    content: "";
    position: absolute;
    right: 1.25rem;
    top: 50%;
    width: 12px;
    height: 12px;
    border-right: 2px solid rgb(125, 211, 252);
    border-bottom: 2px solid rgb(125, 211, 252);
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s ease;
}
.faq-item[open] .faq-item__q::after {
    transform: translateY(-30%) rotate(-135deg);
}
.faq-item__q:hover { color: rgb(186, 230, 253); }
.faq-item__a {
    padding: 0 1.25rem 1.25rem;
    color: rgb(203, 213, 225);
    font-size: 0.9375rem;
    line-height: 1.65;
}
.faq-item__a p { margin: 0; }
.faq-item__a p + p { margin-top: 0.625rem; }

/* === a11y: skip link + focus rings === */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    padding: 0.75rem 1rem;
    background: #0ea5e9;
    color: #0f172a;
    font-weight: 600;
    z-index: 100;
    border-radius: 0 0 0.5rem 0;
}
.skip-link:focus, .skip-link:focus-visible {
    left: 0;
    outline: 2px solid #fff;
    outline-offset: -2px;
}
*:focus-visible {
    outline: 2px solid rgb(56, 189, 248);
    outline-offset: 2px;
    border-radius: 4px;
}

/* === REFRESH 2026-05 — Spacing entre secciones ===
   Los eyebrow labels ("EMPIEZA SIN COSTO", "MARCO REGULATORIO", "MÉTODO") se
   sentían pegados al border-top de la sección. Aumento padding-top de cualquier
   section con border-t y suavizo el divisor para mejor jerarquía visual. */
section[class*="border-t"] {
    padding-top: 5.5rem;
    border-top-color: rgba(30, 41, 59, 0.55);
}
@media (min-width: 768px) {
    section[class*="border-t"] {
        padding-top: 7rem;
    }
}

/* === REFRESH 2026-05 — Hero NIST CSF 2.0 radar (datos reales del Express) === */
.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 900px) {
    .hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 4rem; }
}

.hero-viz {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}
.hero-viz svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}
/* Halo radial sutil de profundidad */
.hero-viz::before {
    content: "";
    position: absolute;
    inset: -10%;
    background: radial-gradient(circle at 50% 50%,
        rgba(56, 189, 248, 0.18) 0%,
        rgba(56, 189, 248, 0.04) 35%,
        transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* Radar chart components */
.radar-axis {
    stroke: rgba(56, 189, 248, 0.18);
    stroke-width: 1;
    stroke-dasharray: 3 4;
}
.radar-area {
    fill: rgba(56, 189, 248, 0.18);
    stroke: rgb(56, 189, 248);
    stroke-width: 2;
    stroke-linejoin: round;
    transform-origin: 200px 200px;
    animation: radar-draw 1.2s ease-out 0.2s both;
}
.radar-vertices circle {
    fill: rgb(56, 189, 248);
    stroke: rgb(15, 23, 42);
    stroke-width: 2;
}
.radar-labels text {
    font-size: 11px;
    font-weight: 600;
    fill: rgb(148, 163, 184);
}
.radar-labels .radar-val {
    font-size: 12px;
    font-weight: 700;
    fill: rgb(125, 211, 252);
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum';
}
.radar-labels .radar-val--alert { fill: rgb(248, 113, 113); }
.radar-score {
    font-size: 44px;
    font-weight: 800;
    fill: rgb(241, 245, 249);
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum';
    letter-spacing: -0.02em;
}
.radar-score-sub {
    font-size: 10px;
    font-weight: 600;
    fill: rgb(251, 191, 36);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@keyframes radar-draw {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .radar-area { animation: none; }
}

/* Caption descriptivo bajo el radar */
.hero-viz__caption {
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: rgb(148, 163, 184);
    text-align: center;
    line-height: 1.5;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

/* Stats chips con datos reales del producto */
.hero-stats {
    list-style: none;
    margin: 1.25rem auto 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    max-width: 440px;
}
.hero-stats li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.75rem 0.5rem;
    border-radius: 0.5rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(56, 189, 248, 0.15);
}
.hero-stats strong {
    font-size: 1.375rem;
    font-weight: 800;
    color: rgb(186, 230, 253);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum';
}
.hero-stats span {
    font-size: 0.6875rem;
    color: rgb(148, 163, 184);
    margin-top: 0.375rem;
    line-height: 1.3;
}

@media (max-width: 899px) {
    .hero-viz { max-width: 360px; }
    .hero-stats { max-width: 360px; }
    .hero-stats strong { font-size: 1.125rem; }
}

/* === REFRESH 2026-05 — Bento grid SKUs con jerarquía === */
.sku-bento {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .sku-bento {
        grid-template-columns: repeat(6, 1fr);
        /* 2 rows iguales para que Radar y Centinela se estiren al alto del Hero,
           + 1 row auto para Pentest. minmax(0, 1fr) evita overflow del contenido. */
        grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) auto;
        grid-auto-flow: dense;
    }
}

.sku-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    border-radius: 1rem;
    border: 1px solid rgb(30, 41, 59);
    background: rgba(15, 23, 42, 0.5);
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.sku-card:hover {
    border-color: rgba(56, 189, 248, 0.5);
    transform: translateY(-2px);
}
.sku-card__badge {
    position: absolute;
    top: -0.625rem;
    right: 1.25rem;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    background: rgb(56, 189, 248);
    color: rgb(15, 23, 42);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.sku-card__badge--amber  { background: rgb(251, 191, 36); }
.sku-card__title { font-size: 1.25rem; font-weight: 700; margin: 0 0 0.25rem; }
.sku-card__sub   { font-size: 0.8125rem; color: rgb(148, 163, 184); margin: 0 0 1rem; }
.sku-card__price {
    font-size: 1.625rem;
    font-weight: 800;
    margin: 0 0 0.25rem;
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum';
}
.sku-card__price-sub { font-size: 0.8125rem; color: rgb(148, 163, 184); font-weight: 400; }
.sku-card__list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
    display: grid;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgb(203, 213, 225);
}
.sku-card__list li {
    display: flex; gap: 0.5rem; align-items: flex-start;
    line-height: 1.4;
}
.sku-card__list li::before {
    content: "✓";
    color: rgb(56, 189, 248);
    font-weight: 700;
    flex-shrink: 0;
}
.sku-card__cta {
    margin-top: auto;
    display: block;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgb(30, 41, 59);
    color: rgb(226, 232, 240);
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
}
.sku-card__cta:hover { border-color: rgb(71, 85, 105); background: rgba(30, 41, 59, 0.5); }
.sku-card__cta--primary {
    background: rgb(14, 165, 233);
    color: rgb(15, 23, 42);
    border-color: rgb(14, 165, 233);
}
.sku-card__cta--primary:hover { background: rgb(56, 189, 248); border-color: rgb(56, 189, 248); }

/* HERO bento — Diagnóstico SKU principal: ocupa 4/6 cols + 2 rows */
.sku-card--hero {
    grid-column: span 1;
    border: 2px solid rgba(56, 189, 248, 0.45);
    background: linear-gradient(180deg,
        rgba(14, 165, 233, 0.08) 0%,
        rgba(15, 23, 42, 0.6) 100%);
}
@media (min-width: 768px) {
    .sku-card--hero {
        grid-column: span 4;
        grid-row: span 2;
    }
}
.sku-card--hero .sku-card__title { font-size: 1.625rem; }
.sku-card--hero .sku-card__price { font-size: 2rem; }

/* Tier table embebida en hero card */
.sku-tiers {
    margin: 0.5rem 0 1rem;
    padding: 0.875rem 0;
    border-top: 1px solid rgb(30, 41, 59);
    border-bottom: 1px solid rgb(30, 41, 59);
    display: grid;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: rgb(148, 163, 184);
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum';
}
.sku-tiers__row {
    display: flex; justify-content: space-between; gap: 1rem;
}
.sku-tiers__row strong { color: rgb(226, 232, 240); font-weight: 600; }

/* Cards medianos (Defensa OIV, Radar) — span 3 cols cada uno */
.sku-card--med {
    grid-column: span 1;
}
@media (min-width: 768px) {
    .sku-card--med { grid-column: span 2; }
}
.sku-card--med .sku-card__title { font-size: 1.125rem; }

/* Card ancho (Pentest abajo) — banda completa 6 cols */
.sku-card--wide {
    grid-column: span 1;
}
@media (min-width: 768px) {
    .sku-card--wide {
        grid-column: span 6;
        flex-direction: row;
        align-items: stretch;
        gap: 2rem;
    }
    .sku-card--wide > * { flex: 1; }
    .sku-card--wide .sku-card__list { margin: 0; }
    .sku-card--wide .sku-card__cta {
        margin: 0;
        align-self: center;
        max-width: 240px;
        width: 100%;
    }
}

/* === REFRESH 2026-05 — Contact section: layout 2-col con sidebar === */
.contact-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
}
@media (min-width: 900px) {
    .contact-grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        gap: 3.5rem;
        align-items: start;
    }
}

.contact-sidebar {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgb(30, 41, 59);
    border-radius: 1rem;
    padding: 1.75rem;
    align-self: start;
    position: sticky;
    top: 6rem;
}
@media (max-width: 899px) {
    .contact-sidebar { position: static; }
}
.contact-sidebar__title {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgb(148, 163, 184);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 1.25rem;
}
.contact-sidebar__steps {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.contact-sidebar__steps > li {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 0.875rem;
    align-items: start;
}
.contact-sidebar__num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.5);
    color: rgb(125, 211, 252);
    font-weight: 700;
    font-size: 0.8125rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.contact-sidebar__steps strong {
    display: block;
    color: rgb(226, 232, 240);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.contact-sidebar__steps p {
    margin: 0;
    color: rgb(148, 163, 184);
    font-size: 0.8125rem;
    line-height: 1.5;
}
.contact-sidebar__steps a { color: rgb(125, 211, 252); }
.contact-sidebar__steps a:hover { color: rgb(186, 230, 253); text-decoration: underline; }

.contact-sidebar__trust {
    border-top: 1px solid rgb(30, 41, 59);
    padding-top: 1.25rem;
}
.contact-sidebar__trust-title {
    font-size: 0.6875rem;
    font-weight: 700;
    color: rgb(148, 163, 184);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 0.75rem;
}
.contact-sidebar__trust ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}
.contact-sidebar__trust li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.8125rem;
    line-height: 1.4;
}
.contact-sidebar__trust span { color: rgb(148, 163, 184); flex-shrink: 0; }
.contact-sidebar__trust strong { color: rgb(203, 213, 225); font-weight: 600; text-align: right; }
.contact-sidebar__trust a { color: rgb(125, 211, 252); }
.contact-sidebar__trust a:hover { color: rgb(186, 230, 253); }

/* === REFRESH 2026-05 — Visitor reveal toast ===
   Aparece bottom-right ~3s después del load. Muestra geo + browser que
   se deduce pasivamente del visitor + pivote a Radar Externo. */
.visitor-toast {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    width: min(380px, calc(100vw - 2.5rem));
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
    padding: 1.125rem 1.25rem;
    border-radius: 0.875rem;
    border: 1px solid rgba(56, 189, 248, 0.4);
    background: linear-gradient(180deg,
        rgba(15, 23, 42, 0.97) 0%,
        rgba(15, 23, 42, 0.99) 100%);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(56, 189, 248, 0.05) inset;
    color: rgb(226, 232, 240);
    font-size: 0.8125rem;
    line-height: 1.5;
    z-index: 60;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}
.visitor-toast.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
@media (max-width: 599px) {
    .visitor-toast {
        bottom: 5.5rem; /* deja espacio al sticky-cta-mobile */
        right: 1rem;
        left: 1rem;
        width: auto;
    }
}

.visitor-toast__head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.625rem;
}
.visitor-toast__icon {
    color: rgb(56, 189, 248);
    flex-shrink: 0;
}
.visitor-toast__badge {
    flex: 1;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgb(125, 211, 252);
}
.visitor-toast__close {
    flex-shrink: 0;
    background: transparent;
    border: 0;
    color: rgb(100, 116, 139);
    font-size: 1.25rem;
    line-height: 1;
    padding: 0 0.25rem;
    cursor: pointer;
    transition: color 0.15s;
}
.visitor-toast__close:hover { color: rgb(226, 232, 240); }

.visitor-toast__line {
    margin: 0 0 0.625rem;
    color: rgb(241, 245, 249);
    font-weight: 500;
}

.visitor-toast__details {
    margin: 0.625rem 0;
    font-size: 0.75rem;
}
.visitor-toast__details summary {
    cursor: pointer;
    color: rgb(125, 211, 252);
    font-weight: 600;
    padding: 0.25rem 0;
    list-style: none;
    -webkit-user-select: none;
    user-select: none;
}
.visitor-toast__details summary::-webkit-details-marker { display: none; }
.visitor-toast__details summary::before {
    content: '▸ ';
    display: inline-block;
    transition: transform 0.15s;
    font-size: 0.625rem;
    margin-right: 0.25rem;
}
.visitor-toast__details[open] summary::before { transform: rotate(90deg); }
.visitor-toast__dl {
    margin: 0.375rem 0 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.25rem 0.875rem;
    padding: 0.625rem 0.75rem;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 0.375rem;
    border: 1px solid rgb(30, 41, 59);
    font-variant-numeric: tabular-nums;
}
.visitor-toast__dl dt {
    color: rgb(100, 116, 139);
    font-size: 0.6875rem;
    font-weight: 500;
}
.visitor-toast__dl dd {
    margin: 0;
    color: rgb(186, 230, 253);
    font-size: 0.6875rem;
    font-family: 'SF Mono', Consolas, Monaco, monospace;
    word-break: break-word;
}

.visitor-toast__pivot {
    margin: 0.75rem 0;
    color: rgb(148, 163, 184);
    font-size: 0.75rem;
    line-height: 1.55;
}
.visitor-toast__pivot strong { color: rgb(252, 211, 77); }

.visitor-toast__cta {
    display: block;
    text-align: center;
    padding: 0.625rem 0.875rem;
    border-radius: 0.5rem;
    background: rgb(14, 165, 233);
    color: rgb(15, 23, 42);
    font-weight: 700;
    font-size: 0.8125rem;
    text-decoration: none;
    margin-top: 0.5rem;
    transition: background 0.15s;
}
.visitor-toast__cta:hover { background: rgb(56, 189, 248); }

.visitor-toast__privacy {
    margin: 0.625rem 0 0;
    font-size: 0.625rem;
    color: rgb(100, 116, 139);
    text-align: center;
    letter-spacing: 0.02em;
}

/* === REFRESH 2026-05 — FAQ-bot conversacional === */
.faqbot {
    border-radius: 1rem;
    border: 1px solid rgb(30, 41, 59);
    background: rgba(15, 23, 42, 0.6);
    padding: 1.5rem;
    max-width: 720px;
    margin: 0 auto;
}
.faqbot__head {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(30, 41, 59, 0.7);
    margin-bottom: 1rem;
}
.faqbot__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgb(14, 165, 233), rgb(99, 102, 241));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(15, 23, 42);
    flex-shrink: 0;
}
.faqbot__title { margin: 0; font-size: 0.9375rem; font-weight: 700; color: rgb(241, 245, 249); }
.faqbot__sub { margin: 0; font-size: 0.75rem; color: rgb(148, 163, 184); }
.faqbot__pulse {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    color: rgb(110, 231, 183);
    font-weight: 600;
}
.faqbot__pulse::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgb(52, 211, 153);
    position: relative;
}
/* Halo del pulso vía pseudo-elemento — transform+opacity GPU-only */
.faqbot__pulse::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    margin-left: -8px;
    border-radius: 50%;
    background: rgba(52, 211, 153, 0.6);
    transform-origin: center;
    pointer-events: none;
    animation: faqbot-pulse 1.6s ease-out infinite;
    will-change: transform, opacity;
}
@keyframes faqbot-pulse {
    0%   { opacity: 0.6; transform: scale(1); }
    100% { opacity: 0;   transform: scale(2.4); }
}
@media (prefers-reduced-motion: reduce) {
    .faqbot__pulse::after { animation: none; opacity: 0; }
}

.faqbot__chat {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-height: 420px;
    overflow-y: auto;
    padding: 0.5rem;
    scroll-behavior: smooth;
}
.faqbot__chat::-webkit-scrollbar { width: 6px; }
.faqbot__chat::-webkit-scrollbar-thumb { background: rgb(30, 41, 59); border-radius: 3px; }

.faqbot__msg {
    max-width: 88%;
    padding: 0.75rem 1rem;
    border-radius: 0.875rem;
    font-size: 0.875rem;
    line-height: 1.55;
    animation: faqbot-msg-in 0.3s ease-out;
}
@keyframes faqbot-msg-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.faqbot__msg--bot {
    align-self: flex-start;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgb(30, 41, 59);
    color: rgb(226, 232, 240);
    border-bottom-left-radius: 0.25rem;
}
.faqbot__msg--user {
    align-self: flex-end;
    background: rgb(14, 165, 233);
    color: rgb(15, 23, 42);
    border-bottom-right-radius: 0.25rem;
    font-weight: 500;
}
.faqbot__msg p { margin: 0 0 0.5rem; }
.faqbot__msg p:last-child { margin: 0; }
.faqbot__msg strong { color: rgb(125, 211, 252); }
.faqbot__msg--user strong { color: inherit; font-weight: 700; }
.faqbot__msg ul { margin: 0.375rem 0; padding-left: 1.125rem; }
.faqbot__msg li { margin: 0.25rem 0; }

.faqbot__typing {
    display: inline-flex;
    gap: 0.25rem;
    align-self: flex-start;
    padding: 0.875rem 1rem;
    border-radius: 0.875rem;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgb(30, 41, 59);
    border-bottom-left-radius: 0.25rem;
}
.faqbot__typing span {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgb(125, 211, 252);
    animation: faqbot-bounce 1.2s ease-in-out infinite;
}
.faqbot__typing span:nth-child(2) { animation-delay: 0.15s; }
.faqbot__typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes faqbot-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.faqbot__choices {
    margin-top: 1rem;
    padding-top: 0.875rem;
    border-top: 1px solid rgba(30, 41, 59, 0.7);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.faqbot__choice {
    /* WCAG 2.5.5 — tap target 44x44 (botón aislado, no inline). */
    min-height: 44px;
    padding: 0.75rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(56, 189, 248, 0.4);
    background: rgba(56, 189, 248, 0.08);
    color: rgb(186, 230, 253);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.faqbot__choice:hover {
    background: rgba(56, 189, 248, 0.18);
    border-color: rgba(56, 189, 248, 0.7);
    transform: translateY(-1px);
}
.faqbot__choice:focus-visible {
    outline: 2px solid rgb(56, 189, 248);
    outline-offset: 2px;
}
.faqbot__choice--cta {
    background: rgb(14, 165, 233);
    color: rgb(15, 23, 42);
    border-color: rgb(14, 165, 233);
    font-weight: 700;
}
.faqbot__choice--cta:hover {
    background: rgb(56, 189, 248);
    border-color: rgb(56, 189, 248);
}

/* Fallback — solo se renderiza dentro de <noscript>, así que su sola
   presencia significa que JS está off. Se muestra como bloque normal. */
.faqbot__fallback {
    padding: 1rem;
    border-radius: 0.5rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgb(30, 41, 59);
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: rgb(148, 163, 184);
}
.faqbot__fallback a { color: rgb(125, 211, 252); }

/* === REFRESH 2026-05 — Sample previews "Así se ve el entregable" ===
   Mockups SVG + browser frame con scroll-loop sutil de las páginas.
   No usa imagen raster, vector puro 100%. */
.sample-previews {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: 1fr;
}
@media (min-width: 900px) {
    .sample-previews { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

.sample-preview {
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    border: 1px solid rgb(30, 41, 59);
    background: rgba(15, 23, 42, 0.5);
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}
.sample-preview:hover {
    border-color: rgba(56, 189, 248, 0.5);
    transform: translateY(-2px);
}

/* Browser chrome (mac dots + url bar) */
.sample-preview__chrome {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: rgba(15, 23, 42, 0.85);
    border-bottom: 1px solid rgb(30, 41, 59);
}
.sample-preview__dots {
    display: inline-flex;
    gap: 0.375rem;
    flex-shrink: 0;
}
.sample-preview__dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgb(51, 65, 85);
}
.sample-preview__dots span:nth-child(1) { background: rgb(248, 113, 113); }
.sample-preview__dots span:nth-child(2) { background: rgb(251, 191, 36); }
.sample-preview__dots span:nth-child(3) { background: rgb(52, 211, 153); }
.sample-preview__url {
    flex: 1;
    padding: 0.25rem 0.625rem;
    border-radius: 0.375rem;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(30, 41, 59, 0.8);
    font-size: 0.6875rem;
    color: rgb(148, 163, 184);
    font-family: 'SF Mono', Consolas, Monaco, monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Viewport con clip → las páginas hacen scroll dentro */
.sample-preview__viewport {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: rgb(248, 250, 252);
}
.sample-preview__pages {
    display: flex;
    flex-direction: column;
    animation: sample-scroll 18s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    will-change: transform;
}
.sample-preview:hover .sample-preview__pages {
    animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
    .sample-preview__pages { animation: none; }
}
@keyframes sample-scroll {
    0%, 18%   { transform: translateY(0); }
    25%, 43%  { transform: translateY(-25%); }
    50%, 68%  { transform: translateY(-50%); }
    75%, 93%  { transform: translateY(-75%); }
    100%      { transform: translateY(0); }
}

/* Cada "página" del mockup: 320px alto = matchea viewport */
.sample-preview__page {
    height: 320px;
    padding: 1.5rem 1.75rem;
    background: rgb(248, 250, 252);
    color: rgb(15, 23, 42);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-bottom: 1px dashed rgb(226, 232, 240);
    flex-shrink: 0;
}
.sample-preview__page:last-child { border-bottom: 0; }

.sample-preview__h {
    font-size: 0.9375rem;
    font-weight: 800;
    color: rgb(15, 23, 42);
    margin: 0;
    letter-spacing: -0.01em;
}
.sample-preview__sub {
    font-size: 0.6875rem;
    color: rgb(100, 116, 139);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin: 0;
}
.sample-preview__line {
    height: 6px;
    border-radius: 3px;
    background: rgb(226, 232, 240);
}
.sample-preview__line--short { width: 60%; }
.sample-preview__line--med   { width: 80%; }

.sample-preview__chip-row {
    display: flex;
    gap: 0.5rem;
}
.sample-preview__chip {
    flex: 1;
    padding: 0.625rem;
    border-radius: 0.375rem;
    background: rgb(241, 245, 249);
    border: 1px solid rgb(226, 232, 240);
    text-align: center;
}
.sample-preview__chip-num {
    font-size: 1.25rem;
    font-weight: 800;
    color: rgb(2, 132, 199);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum';
}
.sample-preview__chip-num--alert { color: rgb(220, 38, 38); }
.sample-preview__chip-num--warn  { color: rgb(180, 83, 9); }
.sample-preview__chip-label {
    font-size: 0.5625rem;
    color: rgb(71, 85, 105);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sample-preview__bars {
    display: flex;
    align-items: flex-end;
    gap: 0.375rem;
    height: 80px;
    margin-top: 0.5rem;
}
.sample-preview__bar {
    flex: 1;
    background: linear-gradient(180deg, rgb(56, 189, 248), rgb(14, 165, 233));
    border-radius: 0.25rem 0.25rem 0 0;
}
/* Alturas fijas por posición (CSP-safe, reemplaza style="height:X%" inline) */
.sample-preview__bar:nth-child(1) { height: 55%; }
.sample-preview__bar:nth-child(2) { height: 75%; }
.sample-preview__bar:nth-child(3) { height: 42%; }
.sample-preview__bar:nth-child(4) { height: 88%; }
.sample-preview__bar:nth-child(5) { height: 30%; }
.sample-preview__bar:nth-child(6) { height: 65%; }
.sample-preview__bar:nth-child(7) { height: 50%; }

/* Utility classes — reemplazan inline styles que romperían CSP `style-src 'self'` */
.sample-preview__cover-foot { margin-top: auto; }
.sample-preview__row-text {
    font-size: 0.75rem;
    color: rgb(51, 65, 85);
    flex: 1;
}

.sample-preview__table {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-top: 0.5rem;
}
.sample-preview__row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0.4rem 0.5rem;
    background: rgb(248, 250, 252);
    border: 1px solid rgb(226, 232, 240);
    border-radius: 0.25rem;
}
.sample-preview__pill {
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.125rem 0.4rem;
    border-radius: 9999px;
    flex-shrink: 0;
}
.sample-preview__pill--high   { background: rgb(254, 226, 226); color: rgb(185, 28, 28); }
.sample-preview__pill--med    { background: rgb(254, 243, 199); color: rgb(146, 64, 14); }
.sample-preview__pill--low    { background: rgb(220, 252, 231); color: rgb(22, 101, 52); }

/* Footer de la card con CTA + label */
.sample-preview__foot {
    padding: 1.125rem 1.5rem;
    border-top: 1px solid rgb(30, 41, 59);
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.sample-preview__foot-meta {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}
.sample-preview__foot-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: rgb(241, 245, 249);
}
.sample-preview__foot-sub {
    font-size: 0.75rem;
    color: rgb(148, 163, 184);
}
.sample-preview__foot-cta {
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgb(125, 211, 252);
    text-decoration: none;
    padding: 0.5rem 0.875rem;
    border-radius: 0.375rem;
    border: 1px solid rgba(56, 189, 248, 0.4);
    transition: background 0.15s, border-color 0.15s;
    white-space: nowrap;
}
.sample-preview__foot-cta:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.7);
}

/* Watermark sobre muestras ilustrativas */
.sample-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-size: 1.125rem;
    font-weight: 800;
    color: rgba(127, 29, 29, 0.85);
    letter-spacing: 0.15em;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
    text-transform: uppercase;
    border: 2px solid rgba(127, 29, 29, 0.7);
    padding: 0.375rem 1rem;
    border-radius: 0.25rem;
    user-select: none;
}
.sample-preview__page { position: relative; }

/* Indicador "scroll preview" para señalar la animación */
.sample-preview__scroll-hint {
    position: absolute;
    bottom: 0.625rem;
    right: 0.75rem;
    font-size: 0.625rem;
    font-weight: 600;
    color: rgb(100, 116, 139);
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgb(226, 232, 240);
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
    pointer-events: none;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

/* === REFRESH 2026-05 — Contact wizard 2-step === */
.wizard-step { animation: wizard-fade-in 0.25s ease-out; }
@keyframes wizard-fade-in {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .wizard-step { animation: none; }
}

.wizard-eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    color: rgb(148, 163, 184);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 0.875rem;
}

.wizard-grid {
    display: grid;
    gap: 0.875rem;
    grid-template-columns: 1fr;
    margin-bottom: 1rem;
}
@media (min-width: 640px) {
    .wizard-grid { grid-template-columns: repeat(2, 1fr); }
}

.wizard-card {
    text-align: left;
    padding: 1.25rem 1.25rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgb(30, 41, 59);
    background: rgba(15, 23, 42, 0.5);
    cursor: pointer;
    color: inherit;
    font: inherit;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.wizard-card:hover {
    border-color: rgba(56, 189, 248, 0.5);
    background: rgba(15, 23, 42, 0.7);
    transform: translateY(-1px);
}
.wizard-card:focus-visible {
    outline: 2px solid rgb(56, 189, 248);
    outline-offset: 2px;
}
.wizard-card__pill {
    align-self: flex-start;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
    background: rgba(251, 191, 36, 0.18);
    color: rgb(252, 211, 77);
}
.wizard-card__pill--cyan {
    background: rgba(56, 189, 248, 0.18);
    color: rgb(125, 211, 252);
}
.wizard-card__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: rgb(241, 245, 249);
}
.wizard-card__desc {
    margin: 0;
    font-size: 0.8125rem;
    color: rgb(148, 163, 184);
    line-height: 1.5;
    flex-grow: 1;
}
.wizard-card__price {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgb(125, 211, 252);
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum';
}

.wizard-card--featured {
    border-color: rgba(56, 189, 248, 0.45);
    background: linear-gradient(180deg,
        rgba(14, 165, 233, 0.08) 0%,
        rgba(15, 23, 42, 0.6) 100%);
}
.wizard-card--featured:hover { border-color: rgba(56, 189, 248, 0.7); }

.wizard-card--amber {
    border-color: rgba(251, 191, 36, 0.4);
    background: linear-gradient(180deg,
        rgba(251, 191, 36, 0.05) 0%,
        rgba(15, 23, 42, 0.6) 100%);
}
.wizard-card--amber:hover { border-color: rgba(251, 191, 36, 0.7); }
.wizard-card--amber .wizard-card__price { color: rgb(252, 211, 77); }

.wizard-skip {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    border: 1px dashed rgba(71, 85, 105, 0.6);
    background: transparent;
    color: rgb(148, 163, 184);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
}
.wizard-skip:hover {
    border-color: rgba(56, 189, 248, 0.6);
    color: rgb(125, 211, 252);
}

.wizard-step2-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(30, 41, 59, 0.5);
}
.wizard-back {
    display: inline-block;
    font-size: 0.8125rem;
    color: rgb(148, 163, 184);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.15s;
}
.wizard-back:hover { color: rgb(125, 211, 252); }
.wizard-selected {
    margin: 0;
    font-size: 0.875rem;
    color: rgb(148, 163, 184);
}
.wizard-selected strong {
    color: rgb(186, 230, 253);
    font-weight: 600;
}

/* === REFRESH 2026-05 — Footer compacto para páginas internas ===
   Identidad consistente con el footer principal del index pero sin
   stats strip (que es marketing-heavy). Para legal, calculadora,
   express, recursos, whitepaper. */
.footer-compact {
    border-top: 1px solid rgba(30, 41, 59, 0.55);
    padding: 3rem 0 1.75rem;
    margin-top: 3rem;
    background: linear-gradient(180deg,
        rgba(15, 23, 42, 0) 0%,
        rgba(15, 23, 42, 0.4) 100%);
}
.footer-compact__inner {
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.footer-compact__top {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    margin-bottom: 2rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(30, 41, 59, 0.5);
}
@media (min-width: 700px) {
    .footer-compact__top {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        gap: 3rem;
    }
}
.footer-compact__brand {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.footer-compact__brand-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-compact__brand-row svg { color: rgb(56, 189, 248); }
.footer-compact__brand-row strong { font-weight: 700; color: rgb(241, 245, 249); }
.footer-compact__desc {
    font-size: 0.8125rem;
    color: rgb(148, 163, 184);
    line-height: 1.55;
    margin: 0;
    max-width: 36ch;
}
.footer-compact__nav {
    display: grid;
    gap: 0.625rem;
    grid-template-columns: repeat(2, 1fr);
    align-content: start;
}
@media (min-width: 600px) {
    .footer-compact__nav { grid-template-columns: repeat(3, 1fr); }
}
.footer-compact__nav a {
    font-size: 0.8125rem;
    color: rgb(148, 163, 184);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.15s;
}
.footer-compact__nav a:hover { color: rgb(125, 211, 252); }

.footer-compact__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: rgb(100, 116, 139);
}
.footer-compact__bottom a { color: rgb(125, 211, 252); }
.footer-compact__bottom a:hover { color: rgb(186, 230, 253); }

/* === Whitepaper page — prose styling === */
.wp-prose { color: rgb(203, 213, 225); line-height: 1.7; }
.wp-section { margin-bottom: 3rem; }
.wp-section h2 {
    font-size: 1.625rem;
    font-weight: 800;
    color: rgb(241, 245, 249);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}
.wp-section h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: rgb(186, 230, 253);
    margin: 1.75rem 0 0.75rem;
}
.wp-section p { margin: 0 0 1rem; }
.wp-section ul, .wp-section ol {
    margin: 0 0 1.25rem;
    padding-left: 1.5rem;
}
.wp-section li { margin-bottom: 0.5rem; }
.wp-section a {
    color: rgb(125, 211, 252);
    text-decoration: underline;
    text-decoration-color: rgba(125, 211, 252, 0.4);
    text-underline-offset: 3px;
}
.wp-section a:hover { color: rgb(186, 230, 253); text-decoration-color: rgb(186, 230, 253); }
.wp-section code {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgb(30, 41, 59);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    font-family: 'SF Mono', Consolas, Monaco, 'Liberation Mono', monospace;
    color: rgb(186, 230, 253);
}

.wp-callout {
    margin: 1rem 0;
    padding: 1rem 1.25rem;
    border-radius: 0.625rem;
    background: rgba(15, 23, 42, 0.5);
    border-left: 3px solid rgb(56, 189, 248);
    font-size: 0.9375rem;
}
.wp-callout--warn {
    border-left-color: rgb(251, 191, 36);
    background: rgba(251, 191, 36, 0.05);
}

.wp-table-wrap {
    overflow-x: auto;
    margin: 1rem 0 1.5rem;
    border-radius: 0.625rem;
    border: 1px solid rgb(30, 41, 59);
}
.wp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    background: rgba(15, 23, 42, 0.4);
}
.wp-table thead {
    background: rgba(15, 23, 42, 0.7);
}
.wp-table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgb(148, 163, 184);
    border-bottom: 1px solid rgb(30, 41, 59);
    white-space: nowrap;
}
.wp-table td {
    padding: 0.875rem 1rem;
    vertical-align: top;
    border-bottom: 1px solid rgba(30, 41, 59, 0.5);
    line-height: 1.55;
}
.wp-table tr:last-child td { border-bottom: 0; }
.wp-table tr:hover td { background: rgba(56, 189, 248, 0.03); }

.wp-cta {
    margin-top: 4rem;
    padding: 2.5rem;
    border-radius: 1rem;
    background: linear-gradient(180deg,
        rgba(14, 165, 233, 0.08) 0%,
        rgba(15, 23, 42, 0.6) 100%);
    border: 1px solid rgba(56, 189, 248, 0.4);
}

/* === REFRESH 2026-05 — Footer asimétrico con stats destacadas === */
.footer {
    border-top: 1px solid rgba(30, 41, 59, 0.55);
    padding: 4rem 0 2rem;
    background: linear-gradient(180deg,
        rgba(15, 23, 42, 0) 0%,
        rgba(15, 23, 42, 0.5) 100%);
}

/* Stats strip: 3 KPIs en grid responsive */
.footer-stats {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    margin-bottom: 3.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(30, 41, 59, 0.6);
}
@media (min-width: 700px) {
    .footer-stats { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
.footer-stat {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding: 1.25rem 1.5rem;
    border-radius: 0.875rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(56, 189, 248, 0.15);
    transition: border-color 0.2s, background 0.2s;
}
.footer-stat:hover {
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(15, 23, 42, 0.7);
}
.footer-stat strong {
    font-size: 1.875rem;
    font-weight: 800;
    color: rgb(186, 230, 253);
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum';
}
.footer-stat span {
    font-size: 0.8125rem;
    color: rgb(203, 213, 225);
    font-weight: 600;
}
.footer-stat em {
    font-size: 0.6875rem;
    font-style: normal;
    color: rgb(100, 116, 139);
    line-height: 1.4;
    margin-top: 0.125rem;
}

/* Top: brand 5/12 + nav 7/12 con 3 sub-cols */
.footer-top {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
    margin-bottom: 2.5rem;
}
@media (min-width: 900px) {
    .footer-top {
        grid-template-columns: 5fr 7fr;
        gap: 4rem;
    }
}

.footer-brand__desc {
    font-size: 0.875rem;
    color: rgb(148, 163, 184);
    line-height: 1.6;
    margin: 0 0 1rem;
    max-width: 32ch;
}
.footer-brand__legal {
    font-size: 0.75rem;
    color: rgb(100, 116, 139);
    margin: 0;
    padding-top: 0.875rem;
    border-top: 1px solid rgba(30, 41, 59, 0.5);
    max-width: 32ch;
}

.footer-nav {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}
@media (min-width: 600px) {
    .footer-nav { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.footer-nav__col h3 {
    font-size: 0.6875rem;
    font-weight: 700;
    color: rgb(203, 213, 225);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 0.875rem;
}
.footer-nav__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}
.footer-nav__col a {
    font-size: 0.8125rem;
    color: rgb(148, 163, 184);
    text-decoration: none;
    transition: color 0.15s;
    line-height: 1.4;
    display: inline-block;
}
.footer-nav__col a:hover { color: rgb(125, 211, 252); }

/* Bottom bar minimalista */
.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(30, 41, 59, 0.5);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: rgb(100, 116, 139);
}
.footer-bottom__sep { color: rgb(71, 85, 105); }

/* Acento ámbar para Defensa OIV (ventana corta) */
.sku-card--amber {
    border-color: rgba(251, 191, 36, 0.45);
    background: linear-gradient(180deg,
        rgba(251, 191, 36, 0.06) 0%,
        rgba(15, 23, 42, 0.6) 100%);
}
.sku-card--amber .sku-card__list li::before { color: rgb(251, 191, 36); }
.sku-card--amber .sku-card__cta--primary {
    background: rgb(251, 191, 36);
    border-color: rgb(251, 191, 36);
}
.sku-card--amber .sku-card__cta--primary:hover {
    background: rgb(252, 211, 77);
    border-color: rgb(252, 211, 77);
}

/* ============================================================================
 * OIV lookup form (Track A1.2) - verifica si un RUT esta en la nomina ANCI.
 * Embebido en index.html dentro de #oiv-lookup. CSP estricta: nada inline.
 * ========================================================================= */
.oiv-lookup {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border: 1px solid rgb(30, 41, 59);
    border-radius: 0.75rem;
    background: rgba(15, 23, 42, 0.6);
}
.oiv-lookup__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: rgb(241, 245, 249);
    margin: 0 0 0.5rem 0;
}
.oiv-lookup__sub {
    font-size: 0.875rem;
    color: rgb(148, 163, 184);
    margin: 0 0 1rem 0;
    line-height: 1.5;
}
.oiv-lookup__form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: stretch;
}
.oiv-lookup__input {
    flex: 1 1 220px;
    min-width: 0;
    padding: 0.625rem 0.875rem;
    border-radius: 0.5rem;
    border: 1px solid rgb(51, 65, 85);
    background: rgb(15, 23, 42);
    color: rgb(241, 245, 249);
    font-size: 0.95rem;
    font-family: inherit;
}
.oiv-lookup__input:focus {
    outline: 2px solid rgb(56, 189, 248);
    outline-offset: 1px;
    border-color: rgb(56, 189, 248);
}
.oiv-lookup__input:disabled { opacity: 0.6; cursor: not-allowed; }
.oiv-lookup__submit {
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid rgb(56, 189, 248);
    background: rgb(56, 189, 248);
    color: rgb(15, 23, 42);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.oiv-lookup__submit:hover { background: rgb(125, 211, 252); border-color: rgb(125, 211, 252); }
.oiv-lookup__submit:disabled { opacity: 0.6; cursor: progress; }
.oiv-lookup__hint {
    font-size: 0.75rem;
    color: rgb(148, 163, 184);
    margin: 0.5rem 0 0 0;
}
.oiv-lookup__result {
    margin-top: 1rem;
}
.oiv-lookup__result:empty { display: none; }
.oiv-lookup__result--final {
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    background: rgba(239, 68, 68, 0.08);
    border-left: 3px solid rgb(239, 68, 68);
}
.oiv-lookup__result--prelim {
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    background: rgba(251, 191, 36, 0.08);
    border-left: 3px solid rgb(251, 191, 36);
}
.oiv-lookup__result--ok {
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    background: rgba(56, 189, 248, 0.06);
    border-left: 3px solid rgb(56, 189, 248);
}
.oiv-lookup__result--error {
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    background: rgba(148, 163, 184, 0.08);
    border-left: 3px solid rgb(148, 163, 184);
}
.oiv-lookup__badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    margin: 0 0 0.5rem 0;
}
.oiv-lookup__badge--red    { background: rgb(239, 68, 68); color: rgb(254, 242, 242); }
.oiv-lookup__badge--amber  { background: rgb(251, 191, 36); color: rgb(15, 23, 42); }
.oiv-lookup__badge--green  { background: rgb(56, 189, 248); color: rgb(15, 23, 42); }
.oiv-lookup__heading {
    font-size: 1rem;
    font-weight: 700;
    color: rgb(241, 245, 249);
    margin: 0 0 0.4rem 0;
    line-height: 1.4;
}
.oiv-lookup__body {
    font-size: 0.875rem;
    color: rgb(203, 213, 225);
    margin: 0 0 0.5rem 0;
    line-height: 1.55;
}
.oiv-lookup__meta {
    font-size: 0.8rem;
    color: rgb(148, 163, 184);
    margin: 0 0 0.5rem 0;
}
.oiv-lookup__cta-row {
    margin: 0.75rem 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.oiv-lookup__cta {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.4rem;
    border: 1px solid rgb(51, 65, 85);
    background: rgb(30, 41, 59);
    color: rgb(241, 245, 249);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}
.oiv-lookup__cta:hover { background: rgb(51, 65, 85); border-color: rgb(71, 85, 105); }
.oiv-lookup__cta--primary {
    background: rgb(56, 189, 248);
    color: rgb(15, 23, 42);
    border-color: rgb(56, 189, 248);
}
.oiv-lookup__cta--primary:hover { background: rgb(125, 211, 252); border-color: rgb(125, 211, 252); }
.oiv-lookup__cta--amber {
    background: rgb(251, 191, 36);
    color: rgb(15, 23, 42);
    border-color: rgb(251, 191, 36);
}
.oiv-lookup__cta--amber:hover { background: rgb(252, 211, 77); border-color: rgb(252, 211, 77); }
.oiv-lookup__cta--ghost { background: transparent; }
.oiv-lookup__retry {
    padding: 0.5rem 1rem;
    border-radius: 0.4rem;
    border: 1px solid rgb(51, 65, 85);
    background: rgb(30, 41, 59);
    color: rgb(241, 245, 249);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}
.oiv-lookup__retry:hover { background: rgb(51, 65, 85); }

/* === Nav hamburguesa mobile === */
.nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.98);
    border-bottom: 1px solid rgb(30, 41, 59);
    padding: 0.75rem 1.5rem 1.25rem;
    gap: 0.5rem;
    z-index: 50;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.nav-links.is-open { display: flex; }
.nav-links__item {
    display: block;
    padding: 0.625rem 0.75rem;
    border-radius: 0.5rem;
    color: rgb(203, 213, 225);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.nav-links__item:hover { background: rgba(56, 189, 248, 0.1); color: rgb(186, 230, 253); }
.nav-links__cta {
    display: block;
    text-align: center;
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: rgb(14, 165, 233);
    color: rgb(15, 23, 42);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: background 0.15s;
}
.nav-links__cta:hover { background: rgb(56, 189, 248); }
@media (min-width: 768px) {
    .nav-links {
        display: flex;
        position: static;
        flex-direction: row;
        background: none;
        border: none;
        padding: 0;
        gap: 0.5rem;
        align-items: center;
    }
    .nav-links__item { padding: 0.5rem 0.625rem; font-size: 0.875rem; }
    .nav-links__cta { margin-top: 0; padding: 0.5rem 1rem; font-size: 0.875rem; }
    .nav-links__item--hidden-lg { display: inline; }
}
@media (max-width: 767px) {
    .nav-links__item--hidden-lg { display: block; }
}
@media (min-width: 1024px) {
    .nav-links__item--hidden-lg { display: inline; }
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid rgba(71, 85, 105, 0.4);
    border-radius: 0.5rem;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.15s;
}
.nav-toggle:hover { border-color: rgba(56, 189, 248, 0.5); }
.nav-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    background: rgb(148, 163, 184);
    border-radius: 1px;
    transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.is-active .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-active .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 768px) { .nav-toggle { display: none; } }
