/* ==========================================================================
   Plaza Financiera Veplazasliena - Hoja de Estilos Principal (Vanilla CSS)
   Optimizado para Core Web Vitals (LCP < 1s, CLS 0) y Diseño Premium (60-30-10)
   ========================================================================== */

/* 1. SISTEMA DE DISEÑO E INICIALIZACIÓN (:root) */
:root {
    /* Paleta de Colores (60-30-10) */
    --bg-light: #F8FAFC;         /* 60% - Fondo Principal (Slate 50) */
    --bg-card: #FFFFFF;          /* Fondos de contenedores y tarjetas */
    --text-dark: #0F172A;        /* Azul marino profundo para máxima legibilidad (Slate 900) */
    --text-muted: #475569;       /* Slate 600 */
    --text-light: #F1F5F9;       /* Slate 100 */
    
    --primary: #1E3A8A;          /* 30% - Estructura y Marca (Blue 900) */
    --primary-gradient: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
    --secondary: #0D9488;        /* Acento secundario (Teal 600) para prosperidad */
    --secondary-light: #14B8A6;  /* Teal 500 */
    
    --accent: #D97706;           /* 10% - CTA Urgencia (Amber 600) - Contraste > 4.5:1 WCAG AA */
    --accent-hover: #B45309;     /* Amber 700 */
    --success: #22C55E;          /* Verde para estados activos */
    --error: #EF4444;            /* Rojo para validación de errores */
    --border-color: #E2E8F0;     /* Slate 200 */
    
    /* Tipografías */
    --font-titles: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Variables de Espaciado y Layout */
    --max-width: 1200px;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -2px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
}

/* 2. REGLAS GENERALES Y RESET */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Tipografía Responsiva */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-titles);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-dark);
}

h1 { font-size: 2.25rem; font-weight: 800; }
h2 { font-size: 1.85rem; position: relative; padding-bottom: 0.75rem; margin-bottom: 2rem; }
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    border-radius: 2px;
}
h2.center-title { text-align: center; }
h2.center-title::after { left: 50%; transform: translateX(-50%); }

h3 { font-size: 1.35rem; }
p { color: var(--text-muted); margin-bottom: 1rem; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Wrapper principal para empujar el footer hacia abajo */
.page-wrapper {
    min-height: calc(100vh - 400px);
    padding-top: 130px; /* Evita que el header fijo tape el contenido */
}

/* 3. COMPONENTES GLOBALES (Botones y Formularios) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    font-family: var(--font-titles);
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    gap: 0.5rem;
}

.btn-accent {
    background-color: var(--accent);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4);
}
.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.5);
    color: #FFFFFF;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #FFFFFF;
}
.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #FFFFFF;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-secondary:hover {
    background-color: var(--primary);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Iconos de SVG */
.icon {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
}

/* Formulario CRO Premium */
.form-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: var(--bg-light);
    color: var(--text-dark);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
    background-color: #FFFFFF;
}

.form-error {
    color: var(--error);
    font-size: 0.8rem;
    margin-top: 0.35rem;
    display: none;
}

.form-control.invalid {
    border-color: var(--error);
}

.form-control.invalid + .form-error {
    display: block;
}

.form-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1rem;
    line-height: 1.4;
}

/* 4. CABECERA (Topbar y Header Fijo) */
.topbar {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 0.5rem 0;
    font-size: 0.85rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.topbar-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

.topbar-email {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.topbar-email a {
    color: var(--text-light);
}
.topbar-email a:hover {
    color: var(--secondary-light);
}

.phone-cta-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--accent);
    color: #FFFFFF;
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    font-weight: 700;
    transition: var(--transition);
}
.phone-cta-btn:hover {
    background-color: var(--accent-hover);
    color: #FFFFFF;
    transform: scale(1.03);
}

.pulse-icon {
    animation: phoneShake 2s infinite;
}

@keyframes phoneShake {
    0%, 100% { transform: rotate(0); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-10deg); }
    20%, 40%, 60%, 80% { transform: rotate(10deg); }
}

/* Header Principal */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    position: fixed;
    top: 40px; /* Debajo de la topbar */
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.main-header.shrink {
    top: 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    flex-direction: column;
    color: var(--text-dark);
}
.logo-bold {
    font-family: var(--font-titles);
    font-weight: 800;
    font-size: 1.45rem;
    line-height: 1;
    letter-spacing: -0.5px;
    color: var(--primary);
}
.logo-light {
    font-family: var(--font-titles);
    font-weight: 300;
    font-size: 0.95rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}
.logo-rif {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Menú de Navegación */
.nav-menu ul {
    display: flex;
    gap: 1.75rem;
}

.nav-menu a {
    color: var(--text-muted);
    font-family: var(--font-titles);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* 5. HERO SECTION */
.hero-section {
    background: radial-gradient(circle at 10% 20%, rgba(15, 23, 42, 0.03) 0%, rgba(30, 58, 138, 0.05) 90%), #FFFFFF;
    padding: 4.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    background-color: rgba(13, 148, 136, 0.1);
    color: var(--secondary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #0F172A 30%, #1E3A8A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-badges {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.badge-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(30, 58, 138, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.badge-info h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}
.badge-info p {
    font-size: 0.75rem;
    margin: 0;
}

/* 6. BLOQUE DE SERVICIOS (Grilla Responsiva) */
.services-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.section-header p {
    font-size: 1.05rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13, 148, 136, 0.3);
}

.service-icon-box {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--border-radius);
    background-color: rgba(13, 148, 136, 0.08);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

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

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    font-size: 0.9rem;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.service-link {
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--primary);
}

.service-link:hover {
    gap: 0.6rem;
}

/* 7. PROCESO TÉCNICO (Pasos Numerados) */
.process-section {
    padding: 5rem 0;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
    position: relative;
}

.process-step {
    position: relative;
    padding: 1.5rem;
}

.step-number {
    font-family: var(--font-titles);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(30, 58, 138, 0.08);
    position: absolute;
    top: -10px;
    left: 10px;
    z-index: 1;
}

.step-content {
    position: relative;
    z-index: 2;
}

.step-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.step-content p {
    font-size: 0.9rem;
    margin: 0;
}

/* 8. COBERTURA GEOGRÁFICA Y SEGURIDAD */
.coverage-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.coverage-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.coverage-details h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.coverage-cities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.city-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.city-dot {
    width: 6px;
    height: 6px;
    background-color: var(--secondary);
    border-radius: 50%;
}

.map-container {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-align: center;
}

.map-placeholder {
    height: 300px;
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    color: var(--text-muted);
}

.map-placeholder p {
    font-weight: 600;
    margin-top: 1rem;
}

/* 9. PÁGINA DE CONTACTO Y FORMULARIO AMPLIADO */
.contact-section {
    padding: 5rem 0;
    background-color: var(--bg-card);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-cards {
    display: grid;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.contact-card-item {
    display: flex;
    gap: 1.25rem;
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.contact-card-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(30, 58, 138, 0.08);
    border-radius: 50%;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-text h4 {
    margin-bottom: 0.25rem;
}
.contact-card-text p, .contact-card-text a {
    font-size: 0.9rem;
    margin: 0;
}

/* 10. PÁGINAS GENERALES (Quiénes Somos, Servicios, Catálogo) */
.page-hero {
    background: var(--primary-gradient);
    color: #FFFFFF;
    padding: 4.5rem 0;
    text-align: center;
}

.page-hero h1 {
    color: #FFFFFF;
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.page-hero p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.generic-section {
    padding: 5rem 0;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-img-box {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
}

.stat-num {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--secondary);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* 11. PIE DE PÁGINA (Footer Legal y Cumplimiento de Anuncios) */
.main-footer {
    background-color: #0F172A;
    color: #94A3B8;
    font-size: 0.85rem;
    border-top: 1px solid #1E293B;
}

.footer-top {
    padding: 4rem 0 3rem;
    border-bottom: 1px solid #1E293B;
}

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

.footer-top .footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
}

.footer-col h3 {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.brand-col .footer-logo {
    display: inline-block;
    color: #FFFFFF;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.brand-col p {
    color: #94A3B8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.rif-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.08);
    color: #E2E8F9;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.75rem;
}

.links-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.links-col a {
    color: #94A3B8;
}
.links-col a:hover {
    color: #FFFFFF;
    padding-left: 5px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.contact-info-list .icon {
    color: var(--secondary-light);
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-info-list a {
    color: #94A3B8;
}
.contact-info-list a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    padding: 2.5rem 0;
    text-align: center;
    background-color: #0B0F19;
}

.ymyl-disclaimer {
    background-color: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--secondary);
    padding: 1.25rem;
    border-radius: 4px;
    text-align: left;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.ymyl-disclaimer p {
    font-size: 0.75rem;
    color: #64748B;
    margin: 0;
    line-height: 1.5;
}

.footer-legal-links {
    margin-bottom: 1.5rem;
}

.footer-legal-links a {
    color: #64748B;
    font-weight: 600;
}
.footer-legal-links a:hover {
    color: #FFFFFF;
}

.footer-legal-links .separator {
    color: #334155;
    margin: 0 0.75rem;
}

.copyright-notice p {
    color: #475569;
    font-size: 0.75rem;
    margin: 0;
}

/* 12. ELEMENTOS COMPLEMENTARIOS (Cookies, Gracias, 404) */
/* Floating CTA */
.floating-call-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--accent);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
    z-index: 998;
    transition: var(--transition);
}

.floating-call-btn:hover {
    background-color: var(--accent-hover);
    transform: scale(1.1) rotate(10deg);
}

/* Cookie Notice Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(8px);
    color: #FFFFFF;
    padding: 1.5rem 0;
    z-index: 1001;
    border-top: 1px solid #1E293B;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.15);
    display: none;
}

.cookie-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-text {
    font-size: 0.8rem;
    color: #94A3B8;
}
.cookie-text a {
    color: var(--secondary-light);
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn-accept {
    background-color: var(--secondary);
    color: #FFFFFF;
    font-size: 0.8rem;
    padding: 0.5rem 1.25rem;
}
.cookie-btn-accept:hover {
    background-color: var(--secondary-light);
}

.cookie-btn-decline {
    background-color: transparent;
    color: #FFFFFF;
    font-size: 0.8rem;
    padding: 0.5rem 1.25rem;
    border: 1px solid #475569;
}
.cookie-btn-decline:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Página de Agradecimiento (gracias.php) */
.thankyou-wrapper {
    max-width: 600px;
    margin: 4rem auto;
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.thankyou-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background-color: rgba(13, 148, 136, 0.1);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.thankyou-icon .icon {
    width: 2.5rem;
    height: 2.5rem;
}

.thankyou-wrapper h1 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.thankyou-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.thankyou-callbox {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.thankyou-callbox h4 {
    margin-bottom: 0.5rem;
}

/* Página 404 */
.error-wrapper {
    max-width: 550px;
    margin: 5rem auto;
    text-align: center;
    padding: 3rem 2rem;
}

.error-code {
    font-family: var(--font-titles);
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(30, 58, 138, 0.1);
    margin-bottom: 1.5rem;
}

/* 13. MEDIAS QUERIES (Mobile-First Responsive Layout) */
@media (max-width: 992px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .coverage-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-top .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-col {
        align-items: center;
    }
    
    .contact-info-list li {
        justify-content: center;
        text-align: center;
    }
    
    .ymyl-disclaimer {
        text-align: center;
        border-left: none;
        border-top: 3px solid var(--secondary);
    }
}

@media (max-width: 768px) {
    .topbar-email {
        display: none; /* Oculta email en móviles pequeños para dar espacio al soporte */
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-card);
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
        display: none;
        padding: 1.5rem;
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .hero-badges {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .cookie-container {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .page-wrapper {
        padding-top: 140px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .form-card {
        padding: 1.5rem;
    }
    
    .floating-call-btn {
        bottom: 1.5rem;
        right: 1.5rem;
    }
}
