/* ==========================================================================
   CASECOVERY TRIAGE — GUÍA DE ESTILO OFICIAL V4 RESPONSIVA (MOBILE & DESKTOP)
   ========================================================================== */

:root {
    /* Paleta Principal de Marca */
    --brand-blue: #0057FF;
    --brand-blue-hover: #0045CC;
    --brand-blue-subtle: #EBF2FF;
    --brand-cyan: #38bdf8;
    --brand-green: #10b981;
    --brand-security: #00A86B;
    --brand-amber: #f59e0b;
    --brand-red: #ef4444;
    
    /* Burbujas y Participantes */
    --bubble-actor-bg: #E2F9CB;
    --bubble-actor-border: #bbf7d0;
    --bubble-defendant-bg: #F4F7FC;
    --bubble-defendant-border: #e2e8f0;
    --bubble-system-bg: #FEF3C7;
    --bubble-system-border: #FDE68A;
    
    /* Modo Oscuro (Mesa de Trabajo Web / GUI / Hero) */
    --bg-dark-main: #070c18;
    --bg-dark-card: #0e1628;
    --bg-dark-card-hover: #15223e;
    --border-dark: #1e293b;
    
    /* Texto */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    
    /* Tipografía */
    --font-family-primary: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    --font-family-mono: 'Consolas', 'Courier New', monospace;
    
    /* Radios y Sombras */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-family-primary);
    color: var(--text-primary);
    background-color: #070c18;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    padding-top: 68px; /* Espacio para el encabezado fijo */
}

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

section[id] {
    scroll-margin-top: 80px;
}

/* ==========================================================================
   1. HEADER & NAVEGACIÓN (PERMANENTEMENTE FIJO & RESPONSIVE)
   ========================================================================== */
.main-header, .header, .navbar {
    background-color: rgba(7, 12, 24, 0.98) !important;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    overflow: visible !important;
    box-shadow: none !important;
}

.header-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    overflow: visible !important;
}

.header-cta, .language-dropdown {
    overflow: visible !important;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-isotipo {
    height: 46px !important;
    width: auto !important;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 87, 255, 0.35));
    transition: transform 0.25s ease;
}

.brand-isotipo:hover {
    transform: scale(1.03);
}

.brand-typography-img {
    height: 28px !important;
    width: auto !important;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 87, 255, 0.45));
    transition: transform 0.25s ease;
}

.accent-badge {
    background: var(--brand-blue);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    color: #94a3b8;
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Selector de Idioma Dropdown */
.language-dropdown {
    position: relative;
    display: inline-block;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #0e1628;
    border: 1px solid #1e293b;
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    border-color: #0057FF;
    background: #15223e;
}

.lang-label {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 500;
}

.lang-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #0e1628;
    border: 1px solid #1e293b;
    border-radius: 8px;
    padding: 6px;
    min-width: 175px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    z-index: 10000 !important;
}

.lang-menu.show {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 10px;
    background: transparent;
    border: none;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.lang-option:hover, .lang-option.active {
    background: #172554;
    color: #38bdf8;
}

/* ==========================================================================
   2. BOTONES PRINCIPALES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--brand-blue);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 87, 255, 0.4);
}

.btn-primary:hover {
    background: var(--brand-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 87, 255, 0.5);
}

.btn-secondary {
    background: #172554;
    color: #38bdf8;
    border: 1px solid #1e3a8a;
}

.btn-secondary:hover {
    background: #1e3a8a;
    color: #ffffff;
}

.btn-large {
    padding: 13px 28px;
    font-size: 15px;
}

/* ==========================================================================
   3. HERO SECTION (GANCHO PRINCIPAL)
   ========================================================================== */
.hero-section {
    padding: 56px 24px 48px;
    background: radial-gradient(circle at 50% 10%, #0f1c3f 0%, #070c18 70%);
    border-bottom: 1px solid var(--border-dark);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-title {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 15.5px;
    line-height: 1.65;
    color: #94a3b8;
}

.cta-group {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cta-subtext {
    font-size: 12.5px;
    color: #64748b;
}

.hero-social-proof {
    margin-top: 8px;
    font-size: 13px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Simulador de Teléfono Ergonómico */
.phone-chat-container {
    background: #0e1628;
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.6);
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1e293b;
    padding-bottom: 10px;
    margin-bottom: 14px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-status-dot {
    width: 8px;
    height: 8px;
    background: var(--brand-green);
    border-radius: 50%;
}

.user-name {
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
}

.chat-time {
    color: #64748b;
    font-size: 11px;
}

.chat-feed {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bubble {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13.5px;
    line-height: 1.45;
    max-width: 88%;
}

.bubble-receiver {
    background: var(--bubble-defendant-bg);
    border: 1px solid var(--bubble-defendant-border);
    color: #1e293b;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.bubble-sender {
    background: var(--bubble-actor-bg);
    border: 1px solid var(--bubble-actor-border);
    color: #064e3b;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.bubble .metadata {
    font-size: 10.5px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 3px;
}

.audio-player-embed {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.06);
    padding: 6px 10px;
    border-radius: 6px;
    margin-top: 4px;
    font-family: var(--font-family-mono);
    font-size: 12px;
    color: #065f46;
}

.ia-transcript {
    margin-top: 6px;
    background: #ffffff;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    padding: 8px;
    font-size: 12px;
    color: #0f172a;
}

/* ==========================================================================
   4. SECCIONES GENERALES & GRILLAS (EL DOLOR, SOLUCIÓN, CÓMO FUNCIONA)
   ========================================================================== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.problem-section, .solution-section, .how-it-works-section, .pricing-section {
    padding: 56px 24px;
    border-bottom: 1px solid var(--border-dark);
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

.logo-banner-center {
    text-align: center;
    margin-bottom: 24px;
}

.brand-logo-main {
    height: 50px !important;
    width: auto !important;
    object-fit: contain;
}

.brand-slogan-triage {
    color: #38bdf8;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 6px;
}

.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-2-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.card {
    background: #0e1628;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-alert {
    border-top: 3px solid #ef4444;
}

.card h3 {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
}

.card p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
}

.solution-card {
    background: #0e1628;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.solution-card:hover {
    border-color: #0057FF;
    transform: translateY(-2px);
}

.solution-card h3 {
    color: #38bdf8;
    font-size: 17px;
    font-weight: 700;
}

.solution-card p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
}

/* Step cards */
.step-card {
    background: #0e1628;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 28px 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.step-number {
    width: 44px;
    height: 44px;
    background: var(--brand-blue);
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 87, 255, 0.4);
}

.step-card h3 {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
}

.step-card p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
}

/* ==========================================================================
   5. SECCIÓN EDUCATIVA: MITO VS REALIDAD PROCESAL
   ========================================================================== */
.myth-reality-section {
    padding: 56px 24px;
    background: linear-gradient(180deg, #070c18 0%, #0b1329 100%);
    border-top: 1px solid #1e293b;
    border-bottom: 1px solid #1e293b;
}

.myth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

.myth-card {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 12px;
    padding: 24px;
}

.myth-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f87171;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.myth-text {
    font-size: 14px;
    line-height: 1.6;
    color: #cbd5e1;
}

.reality-card {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 12px;
    padding: 24px;
}

.reality-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #34d399;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.reality-text {
    font-size: 14px;
    line-height: 1.6;
    color: #e2e8f0;
}

.strategy-callout {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(0, 87, 255, 0.12) 0%, rgba(14, 165, 233, 0.08) 100%);
    border: 1px solid #0057FF;
    border-radius: 12px;
    padding: 24px;
    margin-top: 8px;
}

.strategy-title {
    font-size: 16px;
    font-weight: 800;
    color: #38bdf8;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.strategy-desc {
    font-size: 14px;
    line-height: 1.65;
    color: #cbd5e1;
}

/* SMART SEARCH TAGS */
.search-keywords-box {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.keyword-badge {
    display: inline-block;
    background: #0f1e3d;
    border: 1px solid #1e3a8a;
    color: #93c5fd;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    margin: 3px 3px 3px 0;
}

/* ==========================================================================
   6. SECCIÓN PLANES Y TARIFAS
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background: #0e1628;
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.pricing-card:hover {
    border-color: #38bdf8;
    transform: translateY(-4px);
}

.pricing-card.featured {
    border: 2px solid #0057FF;
    background: linear-gradient(180deg, #111d38 0%, #0e1628 100%);
    box-shadow: 0 12px 35px rgba(0, 87, 255, 0.25);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.04);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #0057FF;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.pricing-desc {
    font-size: 13px;
    color: #94a3b8;
    min-height: 38px;
}

.price-box {
    margin: 18px 0;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.price {
    font-size: 34px;
    font-weight: 800;
    color: #ffffff;
}

.period {
    font-size: 13.5px;
    color: #64748b;
}

.price-features {
    list-style: none;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13.5px;
    color: #cbd5e1;
}

/* ==========================================================================
   7. FOOTER CON BANNER DE INTEGRIDAD
   ========================================================================== */
.main-footer {
    background: #050913;
    padding: 40px 24px 24px;
    border-top: 1px solid var(--border-dark);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.integrity-banner {
    background: #0b1220;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.integrity-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.shield-badge {
    background: rgba(0, 168, 107, 0.15);
    border: 1px solid #00A86B;
    color: #34d399;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
}

.integrity-hash {
    font-family: var(--font-family-mono);
    font-size: 12px;
    color: #94a3b8;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #00A86B;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    animation: pulseSecurity 1.8s infinite;
}

@keyframes pulseSecurity {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 168, 107, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 168, 107, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 168, 107, 0); }
}

.footer-notice {
    font-size: 12px;
    color: #64748b;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
}

.footer-links a:hover {
    color: #38bdf8;
    text-decoration: underline;
}

.footer-separator {
    color: #334155;
}

.footer-bottom {
    font-size: 12px;
    color: #475569;
}

/* ==========================================================================
   8. MEDIA QUERIES RESPONSIVAS FLUIDAS (320PX - 900PX)
   ========================================================================== */

/* Tablets y Portátiles Pequeños (Hasta 900px) */
@media (max-width: 900px) {
    body {
        padding-top: 106px !important;
    }

    .main-header, .header, .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
        overflow: visible !important;
    }

    .header-container {
        flex-wrap: wrap !important;
        padding: 8px 16px !important;
        gap: 8px !important;
        overflow: visible !important;
    }

    .nav-links {
        display: flex !important;
        order: 3 !important;
        width: 100% !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        padding: 4px 0 2px !important;
        gap: 10px !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    .nav-links::-webkit-scrollbar {
        display: none !important;
    }

    .nav-links a {
        font-size: 12.5px !important;
        padding: 4px 10px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 6px !important;
        flex-shrink: 0 !important;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .grid-3-cols, .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-3px);
    }
}

/* Móviles y Smartphones (Hasta 768px) */
@media (max-width: 768px) {
    body {
        padding-top: 98px !important;
    }

    .main-header, .header, .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
        overflow: visible !important;
    }
    
    .header-container {
        padding: 6px 12px !important;
        gap: 6px !important;
        overflow: visible !important;
    }

    .nav-links {
        gap: 8px !important;
        padding: 2px 0 !important;
    }

    .nav-links a {
        font-size: 11.5px !important;
        padding: 3px 8px !important;
    }
    
    .header-container {
        padding: 6px 14px;
    }
    
    .brand-isotipo {
        height: 38px !important;
    }
    
    .brand-typography-img {
        height: 22px !important;
    }
    
    .accent-badge {
        display: none; /* Ahorrar espacio en barra móvil */
    }
    
    .lang-label {
        display: none; /* Mostrar solo bandera + código en celular */
    }
    
    .lang-btn {
        padding: 5px 8px;
        font-size: 12px;
    }
    
    .header-cta .btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .hero-section {
        padding: 36px 16px 32px;
    }
    
    .hero-title {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 14px;
        line-height: 1.55;
    }
    
    .cta-group .btn {
        width: 100%;
        text-align: center;
        padding: 12px 18px;
    }
    
    .hero-social-proof {
        font-size: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .phone-chat-container {
        max-width: 100%;
        padding: 12px;
    }
    
    .bubble {
        max-width: 92%;
        font-size: 12.5px;
        padding: 8px 12px;
    }
    
    .audio-wave {
        display: none; /* Ahorro de espacio en reproductor móvil */
    }
    
    .problem-section, .solution-section, .how-it-works-section, .myth-reality-section, .pricing-section {
        padding: 36px 16px;
    }
    
    .section-title {
        font-size: 22px;
        margin-bottom: 22px;
    }
    
    .grid-2-cols, .myth-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .card, .solution-card, .step-card, .myth-card, .reality-card, .strategy-callout, .pricing-card {
        padding: 18px 14px;
    }
    
    .pricing-card {
        margin-bottom: 12px;
    }
    
    .pricing-card .btn {
        width: 100%;
        text-align: center;
    }
    
    .integrity-hash {
        font-size: 10px;
        word-break: break-all;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-separator {
        display: none;
    }
}

/* Pantallas Muy Pequeñas (320px - 400px) */
@media (max-width: 400px) {
    .brand-isotipo {
        height: 34px !important;
    }
    
    .brand-typography-img {
        height: 19px !important;
    }
    
    .hero-title {
        font-size: 21px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .price {
        font-size: 28px;
    }
}

/* ==========================================================================
   MODAL DE ADVERTENCIA Y GUÍA PARA MÓVILES (CASECOVERY NATIVE)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 7, 18, 0.88);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999 !important;
    padding: 16px;
    box-sizing: border-box;
}

.modal-card, .mobile-modal-card {
    background: #0b1325;
    border: 1px solid rgba(0, 168, 107, 0.35);
    border-radius: 18px;
    max-width: 540px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 28px 24px;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.75), 0 0 35px rgba(0, 168, 107, 0.15);
    text-align: left;
    position: relative;
    animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: #e2e8f0;
    box-sizing: border-box;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.94) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.badge-desktop-only {
    background: rgba(0, 168, 107, 0.12);
    border: 1px solid #00A86B;
    color: #00E699;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.mobile-modal-card h2 {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.35;
}

.mobile-modal-card .mobile-modal-desc {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0 0 18px 0;
}

.mobile-modal-card .mobile-modal-desc strong {
    color: #f1f5f9;
}

.mobile-steps-guide {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.mobile-step-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 14px;
    box-sizing: border-box;
}

.mobile-step-item .step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #00A86B;
    color: #ffffff;
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 168, 107, 0.4);
}

.mobile-step-item .step-body h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 3px 0;
}

.mobile-step-item .step-body p {
    font-size: 12.5px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.45;
}

.mobile-step-item .step-body code {
    background: rgba(0, 87, 255, 0.15);
    color: #93c5fd;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-family: monospace;
}

.mobile-email-section {
    background: rgba(0, 87, 255, 0.08);
    border: 1px solid rgba(0, 87, 255, 0.28);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
    box-sizing: border-box;
}

.mobile-email-section label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.mobile-email-input-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mobile-email-input-group input {
    flex: 1;
    min-width: 180px;
    padding: 10px 14px;
    background: #070d1a;
    border: 1px solid #334155;
    border-radius: 8px;
    color: #ffffff;
    font-size: 13px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.mobile-email-input-group input:focus {
    outline: none;
    border-color: #00A86B;
    box-shadow: 0 0 0 2px rgba(0, 168, 107, 0.25);
}

.mobile-email-input-group button {
    padding: 10px 16px;
    font-size: 13px;
    white-space: nowrap;
    background: #00A86B;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.mobile-email-input-group button:hover {
    background: #00935d;
}

.mobile-email-feedback {
    font-size: 12px;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    line-height: 1.4;
}

.mobile-email-feedback.success {
    background: rgba(0, 168, 107, 0.15);
    border: 1px solid #00A86B;
    color: #00E699;
}

.mobile-email-feedback.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid #ef4444;
    color: #fca5a5;
}

.mobile-modal-actions {
    display: flex;
    gap: 10px;
}

.mobile-modal-actions .btn-entendido {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    background: #1e293b;
    color: #f1f5f9;
    border: 1px solid #334155;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}

.mobile-modal-actions .btn-entendido:hover {
    background: #334155;
    color: #ffffff;
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 18px;
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

.modal-close-btn:hover {
    color: #ffffff;
}

/* ==========================================================================
   MODAL DE SELECCIÓN DE JURISDICCIÓN (17 PAÍSES)
   ========================================================================== */
#country-selector-modal.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 11000;
}

.modal-card.country-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    max-width: 520px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.3), 0 10px 10px -5px rgba(0,0,0,0.1);
    color: #1E293B;
    position: relative;
}

.modal-card.country-card .modal-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.modal-card.country-card h2 {
    color: #0F4C81;
    margin-bottom: 0.75rem;
    font-size: 24px;
    font-weight: 800;
}

.modal-card.country-card p {
    color: #64748B;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.country-select {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    border: 2px solid #CBD5E1;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #1E293B;
    background: #F8FAFC;
    font-weight: 500;
    box-sizing: border-box;
}

.country-select:focus {
    border-color: #2457D6;
    outline: none;
}

.btn-confirm-country {
    width: 100%;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    background: #2457D6;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
    box-sizing: border-box;
}

.btn-confirm-country:hover {
    background: #1B44B0;
}

/* ==========================================================================
   SECCIÓN FAQS (PREGUNTAS FRECUENTES INTERNACIONALIZADAS)
   ========================================================================== */
.faq-section {
    padding: 64px 24px;
    background: #0b1120;
    border-top: 1px solid #1e293b;
    border-bottom: 1px solid #1e293b;
}

.faq-block {
    margin-bottom: 40px;
}

.faq-block-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1e293b;
}

.faq-block-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #38bdf8;
    margin: 0;
}

.faq-item {
    background: #0e1628;
    border: 1px solid #1e293b;
    border-radius: 10px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item:hover {
    border-color: #38bdf8;
}

.faq-question {
    padding: 18px 20px;
    font-weight: 600;
    font-size: 15px;
    color: #f1f5f9;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-answer {
    padding: 0 20px 18px;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
}

.faq-country-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.faq-country-tab-btn {
    background: #1e293b;
    color: #94a3b8;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.faq-country-tab-btn:hover {
    background: #334155;
    color: #ffffff;
}

.faq-country-tab-btn.active {
    background: #2457D6;
    color: #ffffff;
    border-color: #38bdf8;
    box-shadow: 0 2px 8px rgba(36, 87, 214, 0.4);
}

.faq-country-block {
    background: #070d1a;
    border: 1px solid #1e293b;
    border-radius: 10px;
    padding: 20px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
}

.faq-country-block h4 {
    color: #38bdf8;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 700;
}

.faq-country-block ul {
    padding-left: 20px;
    margin: 0;
}

.faq-country-block li {
    margin-bottom: 8px;
}

