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

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* ==========================================================================
   SISTEMA VISUAL ARKANIS (REGLA 60-30-10 — OBSIDIAN DARK MODE)
   ========================================================================== */
:root {
    /* 60% Primario (Fondo / Base) */
    --bg-obsidian: #090D16;
    --bg-obsidian-soft: #0D1322;

    /* 30% Secundario (Superficies / Estructura) */
    --surface-slate: #131B2E;
    --surface-slate-hover: #18223A;

    /* 7% Acento Principal (Innovación / CTAs) */
    --accent-cyan: #06B6D4;
    --accent-cyan-hover: #22D3EE;

    /* 3% Acento Secundario (Seguridad / Estado) */
    --accent-indigo: #6366F1;
    --accent-emerald: #10B981;

    /* Tipografía y Contraste WCAG AAA */
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;

    /* Bordes y Sombras */
    --border-subtle: rgba(255, 255, 255, 0.09);
    --border-cyan: rgba(6, 182, 212, 0.45);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;

    /* Fuentes */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* Reset y Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-obsidian);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
}

body {
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 15% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 10%, rgba(6, 182, 212, 0.08) 0%, transparent 40%);
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   NAVEGACIÓN Y LOGOTIPO
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(9, 13, 22, 0.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-svg {
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.25));
    transition: transform 0.25s ease, filter 0.25s ease;
}

.brand:hover .brand-svg {
    transform: scale(1.05);
    filter: drop-shadow(0 0 14px rgba(6, 182, 212, 0.5));
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.18em;
    color: var(--text-primary);
}

.brand-accent {
    color: var(--accent-cyan);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-links a:not(.btn) {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.nav-links a:not(.btn):hover {
    color: var(--accent-cyan);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.25s ease;
}

/* ==========================================================================
   BOTONES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.93rem;
    padding: 0.8rem 1.4rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-sm {
    padding: 0.52rem 1.05rem;
    font-size: 0.86rem;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: var(--accent-cyan);
    color: #041019;
    box-shadow: 0 0 24px rgba(6, 182, 212, 0.24);
}

.btn-primary:hover {
    background: var(--accent-cyan-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(6, 182, 212, 0.38);
}

.btn-ghost {
    background: rgba(19, 27, 46, 0.65);
    color: var(--text-primary);
    border-color: var(--border-subtle);
}

.btn-ghost:hover {
    border-color: var(--accent-cyan);
    background: var(--surface-slate);
}

.btn-whatsapp {
    background: rgba(16, 185, 129, 0.14);
    color: #6EE7B7;
    border-color: rgba(16, 185, 129, 0.4);
    width: 100%;
}

.btn-whatsapp:hover {
    background: rgba(16, 185, 129, 0.24);
    border-color: var(--accent-emerald);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION (COMPACTADO PARA QUE ENTRE COMPLETO EN PANTALLA)
   ========================================================================== */
.hero {
    position: relative;
    padding: 6.8rem 0 3.75rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.28);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1.1rem;
}

.pulse-dot,
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 10px var(--accent-emerald);
    display: inline-block;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 3.6vw, 3.05rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.hero h1 span {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-indigo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.02rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 570px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 1.85rem;
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--border-subtle);
}

.metric-value {
    display: block;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--text-primary);
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.metric-divider {
    width: 1px;
    height: 28px;
    background: var(--border-subtle);
}

/* Consola Visual Interactiva */
.security-console {
    background: var(--surface-slate);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.35rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.console-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.85rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.console-title {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    color: var(--text-secondary);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-emerald);
    background: rgba(16, 185, 129, 0.12);
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
}

.pipeline-steps {
    display: flex;
    flex-direction: column;
}

.pipeline-node {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.88rem 0.95rem;
    background: rgba(9, 13, 22, 0.65);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all 0.35s ease;
}

.pipeline-node.active {
    border-color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.08);
    transform: translateX(4px);
}

.node-icon {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.12);
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.node-info {
    flex: 1;
}

.node-info strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.node-info span {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.node-tag {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--accent-emerald);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 0.18rem 0.45rem;
    border-radius: 4px;
}

.pipeline-connector {
    width: 2px;
    height: 14px;
    background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-indigo));
    margin-left: 2rem;
}

.console-footer {
    margin-top: 1rem;
    padding: 0.75rem 0.9rem;
    background: #060911;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
}

.console-footer code {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    color: var(--accent-cyan);
}

/* ==========================================================================
   BARRA DE AUTORIDAD CON PÍLDORAS VISUALES
   ========================================================================== */
.authority-bar {
    padding: 1.85rem 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(19, 27, 46, 0.35);
}

.authority-label {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.standards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem;
}

.standard-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    background: rgba(9, 13, 22, 0.75);
    border: 1px solid var(--border-subtle);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.std-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-cyan);
}

.standard-pill:hover {
    border-color: var(--border-cyan);
    color: var(--text-primary);
}

/* ==========================================================================
   SECCIONES GENERALES & BENTO GRID
   ========================================================================== */
.section {
    padding: 5.25rem 0;
}

.section-alt {
    background: var(--bg-obsidian-soft);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.25rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    color: var(--accent-cyan);
    margin-bottom: 0.65rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3vw, 2.45rem);
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.02rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.bento-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface-slate);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.1rem;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
    --mouse-x: 50%;
    --mouse-y: 50%;
}

.bento-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(500px circle at var(--mouse-x) var(--mouse-y),
            rgba(6, 182, 212, 0.12),
            transparent 45%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-card:hover {
    border-color: var(--border-cyan);
    transform: translateY(-3px);
}

.card-badge {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.1);
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.card-badge.accent-indigo {
    color: #A5B4FC;
    background: rgba(99, 102, 241, 0.15);
}

.card-badge.accent-emerald {
    color: #6EE7B7;
    background: rgba(16, 185, 129, 0.14);
}

.bento-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
}

.bento-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.card-list {
    margin-top: auto;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-list li {
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.89rem;
    color: var(--text-primary);
}

.card-list li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: 700;
}

/* ==========================================================================
   METODOLOGÍA 4 ETAPAS + CHECKLIST DE MADUREZ
   ========================================================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.step-card {
    background: var(--surface-slate);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.65rem;
    transition: border-color 0.25s ease;
}

.step-card:hover {
    border-color: var(--border-cyan);
}

.step-num {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--accent-indigo);
    background: rgba(99, 102, 241, 0.14);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.85rem;
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.12rem;
    margin-bottom: 0.65rem;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.readiness-box {
    background: var(--surface-slate);
    border: 1px solid var(--border-cyan);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
}

.readiness-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.readiness-header h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 0.35rem;
}

.readiness-header p {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.readiness-score-card {
    background: var(--bg-obsidian);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    text-align: center;
    min-width: 175px;
}

.score-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
}

.score-value {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-cyan);
    line-height: 1.2;
}

.score-status {
    font-size: 0.78rem;
    font-weight: 600;
    color: #FBBF24;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--bg-obsidian);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 1rem;
    cursor: pointer;
    font-size: 0.89rem;
    color: var(--text-secondary);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.check-item:hover {
    border-color: var(--border-cyan);
    color: var(--text-primary);
}

.check-item input[type="checkbox"] {
    accent-color: var(--accent-cyan);
    width: 17px;
    height: 17px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

.readiness-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
}

.readiness-footer p {
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* ==========================================================================
   PLANES ESCALABLES
   ========================================================================== */
.focus-toggle {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    background: var(--surface-slate);
    padding: 0.45rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    margin-top: 1.5rem;
}

.toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.88rem;
    padding: 0.6rem 1.15rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-btn.active {
    background: var(--accent-cyan);
    color: #041019;
    font-weight: 600;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    align-items: stretch;
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface-slate);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.1rem;
    transition: all 0.3s ease;
}

.plan-card.dimmed {
    opacity: 0.42;
    transform: scale(0.98);
}

.plan-card.featured {
    border-color: var(--accent-cyan);
    box-shadow: 0 18px 45px rgba(6, 182, 212, 0.12);
}

.featured-ribbon {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-indigo));
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
}

.plan-tier {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--accent-cyan);
    display: block;
    margin-bottom: 0.45rem;
}

.plan-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.15rem;
}

.plan-sla {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    color: var(--accent-emerald);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.28);
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.4rem;
}

.plan-group {
    margin-bottom: 1.35rem;
}

.plan-group h4 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-primary);
    margin-bottom: 0.7rem;
}

.plan-group ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.plan-group li {
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.plan-group li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: 700;
}

.plan-deliverable {
    background: rgba(9, 13, 22, 0.65);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.75rem 0.9rem;
    font-size: 0.83rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.plan-deliverable strong {
    color: var(--text-primary);
}

.plan-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.wa-inline-link {
    text-align: center;
    font-size: 0.83rem;
    font-weight: 500;
    color: var(--accent-emerald);
    transition: color 0.2s ease;
}

.wa-inline-link:hover {
    color: #6EE7B7;
    text-decoration: underline;
}

/* ==========================================================================
   CASOS DE USO (TABS CON MAYOR ESPACIADO)
   ========================================================================== */
.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.tab-btn {
    background: var(--surface-slate);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.75rem 1.35rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    border-color: var(--border-cyan);
    color: var(--text-primary);
}

.tab-btn.active {
    background: rgba(6, 182, 212, 0.14);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.tab-content-box {
    background: var(--surface-slate);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.75rem;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.case-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 2.75rem;
    align-items: center;
}

.case-sector {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--accent-indigo);
    display: block;
    margin-bottom: 0.6rem;
}

.case-details h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    line-height: 1.25;
    margin-bottom: 1.2rem;
}

.case-details p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.98rem;
    line-height: 1.68;
}

.case-details p strong {
    color: var(--text-primary);
}

.case-kpis {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.kpi-box {
    background: var(--bg-obsidian);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.4rem;
}

.kpi-num {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.kpi-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   TRUST CENTER
   ========================================================================== */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.trust-card {
    background: var(--surface-slate);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem;
}

.trust-code {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--accent-emerald);
    background: rgba(16, 185, 129, 0.12);
    padding: 0.28rem 0.65rem;
    border-radius: 5px;
    margin-bottom: 0.95rem;
}

.trust-card h3 {
    font-family: var(--font-display);
    font-size: 1.22rem;
    margin-bottom: 0.7rem;
}

.trust-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   CIERRE DE CONVERSIÓN & FORMULARIO
   ========================================================================== */
.cta-box {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    background: linear-gradient(145deg, var(--surface-slate), #0D1424);
    border: 1px solid var(--border-cyan);
    border-radius: var(--radius-lg);
    padding: 3.25rem;
}

.cta-info h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 2.8vw, 2.3rem);
    margin-bottom: 1rem;
}

.cta-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.trust-checks {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.92rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.direct-contact-card {
    background: rgba(9, 13, 22, 0.75);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.direct-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 0.7rem;
}

.diagnostic-form {
    background: var(--bg-obsidian);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select {
    background: var(--surface-slate);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-sm);
    padding: 0.82rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent-cyan);
}

.form-feedback {
    font-size: 0.86rem;
    min-height: 1.2rem;
    text-align: center;
}

.form-feedback.success {
    color: var(--accent-emerald);
}

.form-feedback.error {
    color: #F87171;
}

/* ==========================================================================
   FOOTER & BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 0 2.5rem;
    background: #060911;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-slogan {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--accent-cyan);
    margin: 0.85rem 0 0.5rem;
}

.footer-copy {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 360px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-col a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--accent-cyan);
}

.system-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-emerald);
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.84rem;
    color: var(--text-muted);
}

.mono-tag {
    font-family: var(--font-mono);
    font-size: 0.76rem;
}

/* Botón Flotante Discreto de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 990;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #10B981;
    color: #04150E;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 14px 34px rgba(16, 185, 129, 0.5);
}

.wa-tooltip {
    position: absolute;
    right: 66px;
    background: var(--surface-slate);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(6px);
    transition: all 0.2s ease;
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {

    .hero-grid,
    .case-grid,
    .cta-box {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .plans-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .readiness-header,
    .readiness-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 74px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--bg-obsidian);
        border-bottom: 1px solid var(--border-subtle);
        padding: 1.5rem;
        gap: 1.25rem;
        display: none;
    }

    .nav-links.open {
        display: flex;
    }

    .bento-grid,
    .steps-grid,
    .checklist-grid {
        grid-template-columns: 1fr;
    }

    .tab-content-box,
    .cta-box {
        padding: 1.75rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}