/* ==========================================================================
   style.css - Hoja de Estilos Premium Vanilla CSS (clicplaza)
   Diseño Mobile-First, Core Web Vitals Optimizado (LCP < 1s), CRO Altamente Efectivo
   ========================================================================== */

/* --- Variables del Sistema de Diseño (60-30-10) --- */
:root {
    /* 60% Colores de Fondo e Higiene Visual */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-dark: #0f172a;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    
    /* 30% Estructura y Textos (Confianza / Medicina Corporativa) */
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-white: #ffffff;
    --color-primary: #0f172a;
    --color-secondary: #0284c7;
    --color-teal: #0d9488;
    --color-success: #10b981;
    --gradient-primary: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    --gradient-secondary: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
    
    /* 10% Acentuación y Urgencia (Conversión / CTA) */
    --color-cta: #d97706;
    --color-cta-hover: #b45309;
    --color-cta-bright: #ea580c;
    
    /* Tipografías */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Medidas y Bordes */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.07), 0 4px 6px -4px rgb(0 0 0 / 0.07);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Transiciones */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Alturas */
    --header-height: 80px;
    --topbar-height: 40px;
}

/* --- Reseteo CSS Moderno --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

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

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

/* --- Estructura Global y Contenedores --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 20px;
    padding-left: 20px;
}

.section-padding {
    padding: 60px 0;
}

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

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

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-secondary);
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

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

/* --- Componentes de Botón (CRO Optimizado) --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%) rotate(45deg);
    transition: var(--transition-smooth);
    opacity: 0;
}

.btn:hover::after {
    height: 300%;
    opacity: 1;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--color-cta);
    color: var(--text-white);
}

.btn-primary:hover {
    background: var(--color-cta-hover);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--color-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.btn-primary-header {
    background: var(--color-cta);
    color: var(--text-white);
    padding: 10px 20px;
    font-size: 0.95rem;
}

.btn-primary-header:hover {
    background: var(--color-cta-hover);
}

.btn-full {
    width: 100%;
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* --- TOP-BAR DE URGENCIA --- */
.top-bar {
    background: var(--bg-dark);
    color: var(--text-white);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

@media (min-width: 768px) {
    .top-bar-container {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }
}

.emergency-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

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

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

.top-bar-contact {
    display: flex;
    gap: 15px;
}

.top-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0.85;
}

.top-link:hover {
    opacity: 1;
    color: var(--color-secondary);
}

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

/* --- CABECERA PRINCIPAL --- */
.main-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
}

/* Control shrink al hacer scroll */
.main-header.shrink {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logotipo */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--color-primary);
}

.logo-icon {
    background: var(--gradient-secondary);
    color: var(--text-white);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.logo-accent {
    color: var(--color-secondary);
}

/* Navegación */
.nav-menu ul {
    list-style: none;
    display: none; /* Oculto en móviles */
    gap: 30px;
}

@media (min-width: 992px) {
    .nav-menu ul {
        display: flex;
    }
}

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-main);
    position: relative;
    padding: 5px 0;
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-secondary);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* Espaciador del header para evitar saltos en fixed position */
.header-spacer {
    height: 100px;
}

/* Menú móvil abierto */
.nav-menu.open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    padding: 20px;
}

.nav-menu.open ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-menu.open ul li {
    text-align: center;
}

/* --- HERO SECTION --- */
.hero-section {
    background: radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.08) 0%, rgba(248, 250, 252, 1) 100%);
    padding: 40px 0 80px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.hero-content h1 {
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 3.2rem;
    }
}

.hero-content h1 span {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Lista de Beneficios en el Hero */
.hero-features {
    list-style: none;
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.icon-check {
    width: 22px;
    height: 22px;
    color: var(--color-teal);
    flex-shrink: 0;
}

/* Formulario Hero (CRO de Alta Conversión) */
.hero-form-wrapper {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    padding: 30px;
    position: relative;
}

.hero-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.form-header-box {
    text-align: center;
    margin-bottom: 20px;
}

.form-header-box h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.form-header-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 6px;
    color: var(--color-primary);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition-fast);
    background-color: var(--bg-primary);
}

.form-control:focus {
    border-color: var(--color-secondary);
    background-color: var(--bg-secondary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-privacy-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 12px;
    text-align: center;
}

/* --- SECCIÓN SERVICIOS --- */
.services-section {
    background-color: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 576px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-secondary);
}

.service-icon-box {
    background: var(--gradient-secondary);
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    margin-bottom: 20px;
}

.service-icon {
    width: 26px;
    height: 26px;
}

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

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

.service-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.service-card-link:hover svg {
    transform: translateX(3px);
}

/* --- PROCESO TÉCNICO (Pasos Numerados) --- */
.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 576px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.process-step {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 30px;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(2, 132, 199, 0.1);
    line-height: 1;
    font-family: var(--font-heading);
}

.step-icon-box {
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.step-icon {
    width: 32px;
    height: 32px;
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* --- COBERTURA GEOGRÁFICA --- */
.coverage-section {
    background: var(--gradient-primary);
    color: var(--text-white);
}

.coverage-section h2 {
    color: var(--text-white);
}

.coverage-section h2::after {
    background: var(--color-cta);
}

.coverage-section p {
    color: rgba(255, 255, 255, 0.8);
}

.coverage-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .coverage-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.coverage-text-box h3 {
    color: var(--text-white);
    font-size: 1.7rem;
    margin-bottom: 15px;
}

.coverage-text-box p {
    margin-bottom: 25px;
}

.coverage-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.coverage-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
}

.coverage-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-cta);
    border-radius: 50%;
}

.coverage-map-visual {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.map-placeholder {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-secondary);
}

.map-badge {
    background: rgba(2, 132, 199, 0.2);
    border: 1px solid var(--color-secondary);
    display: inline-block;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* --- SECCIÓN CONTACTO / FORMULARIO --- */
.contact-section {
    background-color: var(--bg-secondary);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

@media (min-width: 992px) {
    .contact-layout {
        grid-template-columns: 0.8fr 1.2fr;
    }
}

.contact-info-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-info-panel p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.contact-method-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-method-icon {
    background: rgba(2, 132, 199, 0.1);
    color: var(--color-secondary);
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon {
    width: 22px;
    height: 22px;
}

.contact-method-details h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-method-details p {
    margin-bottom: 0;
    font-size: 0.92rem;
}

.contact-form-panel {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: var(--radius-md);
}

@media (min-width: 768px) {
    .contact-form-panel {
        padding: 40px;
    }
}

.contact-form-panel h3 {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 576px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- FOOTER ESTILIZADO --- */
.main-footer {
    background-color: var(--bg-dark);
    color: #94a3b8;
    font-size: 0.9rem;
    border-top: 5px solid var(--color-secondary);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 576px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-container {
        grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
    }
}

.footer-logo .logo-text {
    color: var(--text-white);
}

.footer-tagline {
    margin-top: 15px;
    line-height: 1.5;
}

.fiscal-details {
    margin-top: 20px;
    font-size: 0.82rem;
    color: #64748b;
    border-left: 2px solid var(--color-secondary);
    padding-left: 10px;
}

.footer-col h3 {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--color-secondary);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li a:hover {
    color: var(--text-white);
    padding-left: 4px;
}

.footer-address, .footer-phone {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    line-height: 1.4;
}

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

/* Panel de Descargos de Responsabilidad (YMYL) */
.footer-disclaimer-panel {
    background-color: #020617;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-disclaimer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ymyl-text {
    font-size: 0.78rem;
    line-height: 1.6;
    color: #475569;
    text-align: justify;
}

/* Barra inferior */
.footer-bottom {
    background-color: #020617;
    padding: 20px 0;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom-container {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
        text-align: left;
    }
}

.copyright {
    font-size: 0.8rem;
}

.backup-credit {
    font-size: 0.8rem;
}

.backup-credit a {
    color: var(--color-secondary);
    font-weight: 600;
}

.backup-credit a:hover {
    text-decoration: underline;
}

/* Botón flotante de llamada */
.floating-call-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--color-cta-bright);
    color: var(--text-white);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    animation: pulse-ring 2s infinite;
}

@media (min-width: 768px) {
    .floating-call-btn {
        display: none; /* Se oculta en computadoras para mayor limpieza */
    }
}

.floating-call-btn svg {
    width: 26px;
    height: 26px;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(234, 88, 12, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(234, 88, 12, 0);
    }
}

/* --- PÁGINA DE GRACIAS (Agradecimiento) --- */
.thanks-section {
    padding: 100px 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.05) 0%, rgba(248, 250, 252, 1) 100%);
}

.thanks-box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-secondary);
    padding: 50px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.thanks-icon-success {
    color: var(--color-success);
    margin-bottom: 20px;
}

.thanks-icon-success svg {
    width: 64px;
    height: 64px;
}

.thanks-section h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.thanks-section p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

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

.call-urgency-banner h4 {
    color: var(--color-cta-bright);
    margin-bottom: 5px;
}

/* --- PÁGINA DE ERROR 404 --- */
.error-section {
    padding: 100px 0;
    text-align: center;
    background: var(--bg-primary);
}

.error-box {
    max-width: 550px;
    margin: 0 auto;
    padding: 40px;
}

.error-code {
    font-size: 6.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1;
    font-family: var(--font-heading);
    margin-bottom: 15px;
}

.error-box h1 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.error-box p {
    color: var(--text-muted);
    margin-bottom: 35px;
}

.error-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
}

@media (min-width: 480px) {
    .error-actions {
        flex-direction: row;
    }
}

/* --- BANNER DE COOKIES --- */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-dark);
    color: #94a3b8;
    padding: 20px 0;
    z-index: 10000;
    border-top: 3px solid var(--color-teal);
    display: none; /* Controlado por JS */
}

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

@media (min-width: 768px) {
    .cookie-consent-container {
        flex-direction: row;
        justify-content: space-between;
        gap: 40px;
        text-align: left;
    }
}

.cookie-text {
    font-size: 0.85rem;
    line-height: 1.5;
}

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

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background: var(--color-teal);
    color: var(--text-white);
    padding: 8px 18px;
    font-size: 0.85rem;
    border-radius: 4px;
}

.btn-cookie-accept:hover {
    background: #0f766e;
}

.btn-cookie-decline {
    background: transparent;
    color: #94a3b8;
    border: 1px solid #475569;
    padding: 8px 18px;
    font-size: 0.85rem;
    border-radius: 4px;
}

.btn-cookie-decline:hover {
    color: var(--text-white);
    border-color: #94a3b8;
}

/* --- SECCIONES SECUNDARIAS (Quienes Somos, Servicios, Contacto) --- */
.page-header-section {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 60px 0;
    text-align: center;
}

.page-header-section h1 {
    color: var(--text-white);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #94a3b8;
}

.page-breadcrumbs a:hover {
    color: var(--text-white);
}

.about-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
}

@media (min-width: 768px) {
    .about-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.about-feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
}

.about-feature-card h3 {
    margin-top: 15px;
    margin-bottom: 10px;
}

.about-feature-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* --- DETALLE LEGAL --- */
.legal-container {
    max-width: 800px;
    margin: 40px auto 80px auto;
    padding: 0 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.legal-container h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
}

.legal-container h2 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-container p {
    margin-bottom: 15px;
    color: #334155;
    text-align: justify;
}

.legal-container ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-container li {
    margin-bottom: 8px;
    color: #334155;
}
