/* ==========================================================================
   STYLE.CSS - Soluciones Corporativas 09 (Venezuela)
   CSS Vanilla Moderno y Altamente Optimizado (Mobile-First)
   Nicho: Asesoría Financiera Corporativa y Bolsa de Valores
   ========================================================================== */

/* 1. Variables del Sistema de Diseño (Esquema 60-30-10 & Premium) */
:root {
    /* Colores del Fondo (60%) */
    --bg-primary: #F8FAFC;       /* Slate 50 */
    --bg-secondary: #FFFFFF;     /* Blanco Puro */
    --bg-dark: #0F172A;          /* Slate 900 (Transmite solidez) */
    --bg-dark-light: #1E293B;    /* Slate 800 */
    
    /* Colores Estructurales / Identidad (30%) */
    --primary: #1E3A8A;          /* Azul Marino Financiero */
    --primary-light: #3B82F6;    /* Azul Eléctrico */
    --primary-gradient: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
    --secondary: #059669;        /* Verde Esmeralda (Éxito / Rendimiento) */
    --secondary-light: #10B981;  /* Verde Claro */
    --secondary-gradient: linear-gradient(135deg, #065F46 0%, #059669 100%);

    /* Colores de Acento / Conversión (10% - WCAG AA Conforme) */
    --accent: #D97706;           /* Ámbar de conversión */
    --accent-hover: #B45309;     /* Ámbar Oscuro */
    --accent-gradient: linear-gradient(135deg, #EA580C 0%, #D97706 100%);
    
    /* Estado y Validaciones */
    --success: #10B981;
    --error: #EF4444;
    --warning: #F59E0B;
    
    /* Textos */
    --text-primary: #0F172A;     /* Slate 900 */
    --text-secondary: #475569;   /* Slate 600 */
    --text-light: #F8FAFC;       /* Slate 50 */
    --text-muted: #94A3B8;       /* Slate 400 */
    
    /* Tipografías */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Bordes y Sombras */
    --border-color: #E2E8F0;     /* Slate 200 */
    --border-focus: #3B82F6;     /* Azul Enfoque */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.08);
    --shadow-premium: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
    
    /* Transiciones */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
    --top-bar-height: 40px;
}

/* 2. Reseteo y Estilos Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

ul {
    list-style: none;
}

.page-wrapper {
    min-height: calc(100vh - var(--header-height) - var(--top-bar-height));
    padding-top: calc(var(--header-height) + var(--top-bar-height));
}

/* 3. Top-Bar (Urgencia y Contacto) */
.top-bar {
    background-color: var(--bg-dark);
    color: var(--text-light);
    height: var(--top-bar-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
}

.top-bar-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
}

.top-link:hover {
    color: var(--text-light);
}

.icon-svg {
    width: 14px;
    height: 14px;
}

.call-button-urgent {
    background: var(--accent-gradient);
    color: var(--text-light) !important;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.call-button-urgent:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

/* 4. Header Principal & Sticky Effect */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: var(--header-height);
    width: 100%;
    position: fixed;
    top: var(--top-bar-height);
    left: 0;
    z-index: 999;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.main-header.shrink {
    height: 65px;
    box-shadow: var(--shadow-md);
}

.header-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-link {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-accent {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--primary);
    font-family: var(--font-heading);
}

.brand-name {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.toggle-bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.main-navigation {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-item {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-item:not(.nav-btn-cta)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-light);
    transition: var(--transition-smooth);
}

.nav-item:not(.nav-btn-cta):hover {
    color: var(--primary);
}

.nav-item:not(.nav-btn-cta):hover::after {
    width: 100%;
}

.nav-btn-cta {
    background-color: var(--primary);
    color: var(--text-light) !important;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.nav-btn-cta:hover {
    background-color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsive Mobile Navigation */
@media (max-width: 991px) {
    .nav-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-secondary);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1000;
        transition: var(--transition-smooth);
        padding: 100px 40px 40px;
        align-items: flex-start;
    }
    
    .main-navigation.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 24px;
    }
    
    .nav-item {
        font-size: 18px;
        display: block;
        width: 100%;
    }
    
    .nav-btn-cta {
        display: inline-block;
        margin-top: 10px;
        text-align: center;
        width: 100%;
    }
    
    .nav-toggle.active .toggle-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active .toggle-bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .toggle-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* 5. Estilos de Botones CRO (Acento 10%) */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--accent-gradient);
    color: var(--text-light);
    font-weight: 700;
    padding: 16px 36px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(217, 119, 6, 0.25);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 30%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-25deg);
    transition: 0.75s ease-in-out;
}

.btn-premium:hover::before {
    left: 150%;
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(217, 119, 6, 0.4);
    background: var(--accent-hover);
}

.btn-premium:active {
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: transparent;
    color: var(--primary);
    font-weight: 700;
    padding: 16px 36px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-3px);
}

/* 6. Layouts de Sección Comunes */
.section-padding {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-subtitle {
    color: var(--secondary);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 36px;
    margin-bottom: 18px;
    color: var(--text-primary);
}

.section-title span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
}

/* 7. Hero Section (Landing Principal) */
.hero {
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(241, 245, 249, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%), 
                url('../img/financial-pattern.svg');
    overflow: hidden;
    padding: 100px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

.hero-content {
    max-width: 650px;
}

.badge-trust {
    background-color: rgba(30, 58, 138, 0.08);
    border: 1px solid rgba(30, 58, 138, 0.15);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
}

.badge-trust .bullet-live {
    width: 6px;
    height: 6px;
    background-color: var(--secondary);
    border-radius: 50%;
}

.hero-title {
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-title span {
    color: var(--primary);
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

@media (max-width: 991px) {
    .hero-content {
        margin: 0 auto;
    }
    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 36px;
    }
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    .hero-actions a, .hero-actions button {
        width: 100%;
    }
}

/* Formulario de Captura Hero (Glassmorphism Premium) */
.lead-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 36px;
    box-shadow: var(--shadow-premium);
    position: relative;
    z-index: 10;
}

.lead-card-header {
    text-align: center;
    margin-bottom: 24px;
}

.lead-card-title {
    font-size: 22px;
    margin-bottom: 8px;
}

.lead-card-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    background-color: var(--bg-primary);
    border: 1.5px solid var(--border-color);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--border-focus);
    background-color: var(--bg-secondary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-submit-btn {
    width: 100%;
    margin-top: 10px;
}

.form-privacy-disclaimer {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
}

.form-privacy-disclaimer a {
    text-decoration: underline;
}

/* 8. Grid de Servicios (Fase 3: Bloque 2) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30, 58, 138, 0.15);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-icon-box {
    width: 56px;
    height: 56px;
    background-color: rgba(30, 58, 138, 0.05);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
    background-color: var(--primary);
    color: var(--bg-secondary);
}

.service-card-title {
    font-size: 20px;
    margin-bottom: 14px;
}

.service-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.service-card-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-card-link:hover {
    color: var(--primary-light);
}

/* 9. Proceso Técnico (Fase 3: Bloque 3) */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    position: relative;
}

.process-step {
    position: relative;
}

.process-num-box {
    font-size: 72px;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1;
    color: rgba(30, 58, 138, 0.06);
    margin-bottom: -15px;
    transition: var(--transition-smooth);
}

.process-step:hover .process-num-box {
    color: rgba(30, 58, 138, 0.15);
    transform: scale(1.05);
}

.process-step-title {
    font-size: 18px;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.process-step-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 10. Cobertura Geográfica (Fase 3: Bloque 4) */
.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.coverage-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 24px;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.coverage-card:hover {
    border-color: var(--secondary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.coverage-city {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.coverage-state {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.coverage-bullet {
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: 50%;
    margin: 12px auto 0;
    display: block;
}

/* 11. Sección de Contacto Doble (Fase 3: Bloque 5) */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.contact-info-panel {
    background: var(--primary-gradient);
    color: var(--text-light);
    padding: 50px 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.contact-panel-title {
    color: var(--text-light);
    font-size: 28px;
    margin-bottom: 14px;
}

.contact-panel-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.method-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.method-icon-wrapper {
    width: 46px;
    height: 46px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    flex-shrink: 0;
}

.method-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.method-value {
    font-size: 16px;
    font-weight: 600;
    margin-top: 4px;
}

.method-value a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.map-placeholder {
    margin-top: 40px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--bg-dark-light);
    padding: 30px;
    text-align: center;
}

.map-placeholder-text {
    font-size: 13px;
    color: var(--text-muted);
}

/* 12. Páginas de Contenido y Legales (/legal/) */
.legal-layout {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 60px;
    margin-bottom: 60px;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
    .legal-layout {
        padding: 30px 20px;
    }
}

.legal-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 30px;
    margin-bottom: 40px;
}

.legal-last-update {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
}

.legal-body h2 {
    font-size: 22px;
    margin: 36px 0 18px;
    color: var(--primary);
}

.legal-body p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.legal-body ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.legal-body li {
    margin-bottom: 8px;
    font-size: 15px;
}

/* 13. Cookies Banner Flotante */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: calc(100% - 60px);
    max-width: 420px;
    background-color: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 24px;
    z-index: 10000;
    color: var(--text-light);
    box-shadow: var(--shadow-premium);
    display: none; /* Controlado por JS */
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.cookie-content a {
    color: var(--text-light);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn-cookie-accept {
    background-color: var(--secondary);
    color: var(--text-light);
    font-weight: 700;
    border: none;
    padding: 8px 16px;
    font-size: 13px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-cookie-accept:hover {
    background-color: var(--secondary-light);
}

.btn-cookie-decline {
    background-color: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 16px;
    font-size: 13px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-cookie-decline:hover {
    color: var(--text-light);
    border-color: rgba(255,255,255,0.4);
}

/* 14. Página de Agradecimiento (gracias.php) */
.thank-you-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 60px 40px;
    text-align: center;
    max-width: 600px;
    margin: 40px auto;
    box-shadow: var(--shadow-premium);
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.thank-you-title {
    font-size: 32px;
    margin-bottom: 14px;
}

.thank-you-msg {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.call-urgency-banner {
    background-color: rgba(217, 119, 6, 0.05);
    border: 1.5px dashed var(--accent);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-bottom: 30px;
}

.urgency-title {
    color: var(--accent-hover);
    font-weight: 700;
    margin-bottom: 6px;
}

.urgency-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

/* 15. Pie de Página Semántico */
.main-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 30px;
    font-size: 14px;
    border-top: 2px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

@media (max-width: 991px) {
    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

.footer-brand-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 16px;
}

.footer-brand-title .accent-text {
    color: var(--primary-light);
}

.brand-desc {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.rif-badge {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--secondary);
    display: inline-block;
}

.badge-label {
    font-size: 11px;
    color: var(--text-muted);
    display: block;
    text-transform: uppercase;
}

.badge-value {
    font-size: 15px;
    color: var(--text-light);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-light);
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: var(--text-muted);
}

.footer-link:hover {
    color: var(--text-light);
    padding-left: 4px;
}

.office-address {
    font-style: normal;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.address-line, .contact-line {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-icon {
    width: 16px;
    height: 16px;
    color: var(--primary-light);
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-number {
    color: var(--text-light);
    font-weight: 600;
}

.contact-number:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Sección YMYL en Footer */
.footer-ymyl-section {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 24px;
    margin-bottom: 40px;
}

.ymyl-title {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #F59E0B; /* Warning yellow */
    margin-bottom: 12px;
    font-size: 15px;
}

.warning-icon {
    width: 18px;
    height: 18px;
}

.ymyl-text {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 10px;
}

.ymyl-text-sub {
    font-size: 11px;
    color: var(--text-muted);
    font-style: italic;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
}

@media (max-width: 991px) {
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

.legal-menu {
    display: flex;
    gap: 20px;
}

@media (max-width: 576px) {
    .legal-menu {
        flex-direction: column;
        gap: 10px;
    }
}

.credit-link {
    color: var(--primary-light);
    text-decoration: underline;
}

.credit-link:hover {
    color: var(--text-light);
}

/* 16. Página 404 de Retención */
.error-page-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 60px 40px;
    text-align: center;
    max-width: 600px;
    margin: 60px auto;
    box-shadow: var(--shadow-premium);
}

.error-code {
    font-size: 96px;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 14px;
}

.error-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.error-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

@media (max-width: 576px) {
    .error-actions {
        flex-direction: column;
    }
}
