/**
 * style.css
 * Estilos globales optimizados para conversión, rapidez y adaptabilidad (Mobile First)
 * Marca: Financiera Hut Plaza (Venezuela)
 */

/* -------------------------------------------------------------------------
   1. VARIABLES DE DISEÑO (:root)
   ------------------------------------------------------------------------- */
:root {
    /* Paleta 60-30-10 */
    --bg-clean: #F8FAFC;         /* 60%: Fondo claro y premium (Slate 50) */
    --bg-white: #FFFFFF;
    
    --primary-solid: #0F172A;    /* 30%: Estructura solidez (Slate 900) */
    --primary-blue: #1E3A8A;     /* 30%: Estabilidad financiera (Blue 900) */
    --primary-light: #E0E7FF;    /* Versión clara (Indigo 100) */
    --emerald-grow: #059669;     /* 30%: Crecimiento y rentabilidad (Emerald 600) */
    --emerald-light: #D1FAE5;    /* Emerald 100 */
    
    --accent-cta: #EA580C;       /* 10%: Acción directa (Orange 600) - WCAG AA Conforme */
    --accent-hover: #C2410C;     /* Hover CTA (Orange 700) */
    --accent-amber: #D97706;     /* Amber 600 (Para estados y urgencias) */
    
    /* Escala de grises y texto */
    --text-main: #1E293B;        /* Slate 800 */
    --text-muted: #64748B;       /* Slate 500 */
    --border-color: #E2E8F0;     /* Slate 200 */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    
    /* Tipografías y transiciones */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
}

/* -------------------------------------------------------------------------
   2. RESET Y TIPOGRAFÍA BASE
   ------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--bg-clean);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--emerald-grow);
}

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

/* Contenedores */
.container, .top-bar-container, .header-container, .footer-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Ocultar elementos visualmente (accesibilidad) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* -------------------------------------------------------------------------
   3. BOTONES Y COMPONENTES CRO
   ------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--primary-blue);
    color: var(--bg-white);
}

.btn-secondary:hover {
    background-color: var(--primary-solid);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* Pulsación de Urgencia en Botones */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.4); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(234, 88, 12, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(234, 88, 12, 0); }
}

.btn-pulse {
    animation: pulse 2s infinite;
}

/* -------------------------------------------------------------------------
   4. CABECERA (TOP-BAR Y HEADER)
   ------------------------------------------------------------------------- */
/* Top Bar */
.top-bar {
    background-color: var(--primary-solid);
    color: var(--bg-clean);
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.top-bar-email a, .phone-cta-link {
    color: var(--bg-clean);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar-email a:hover {
    color: var(--emerald-grow);
}

.phone-cta-link {
    background-color: var(--accent-cta);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.phone-cta-link:hover {
    background-color: var(--accent-hover);
    color: var(--bg-white);
}

/* Punto Parpadeante */
.support-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(5, 150, 105, 0.15);
    color: #10B981;
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    display: inline-block;
    animation: blink-dot 1.5s infinite;
}

@keyframes blink-dot {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

/* Main Header */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: padding var(--transition-normal), background-color var(--transition-normal);
    padding: 16px 0;
}

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

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-main {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary-solid);
    line-height: 1;
}

.brand-sub {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--emerald-grow);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Navegación */
.primary-navigation {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 30%;
    z-index: 1000;
    background-color: var(--bg-white);
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    padding: 80px 24px 24px;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
}

.primary-navigation[data-visible="true"] {
    transform: translateX(0);
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    list-style: none;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-solid);
    font-size: 1.1rem;
    display: block;
    padding: 8px 0;
}

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

.nav-btn-cta {
    background-color: var(--primary-blue);
    color: var(--bg-white) !important;
    text-align: center;
    padding: 12px 20px;
    border-radius: var(--border-radius);
}

.nav-btn-cta:hover {
    background-color: var(--emerald-grow);
}

/* Botón Hamburguesa */
.mobile-nav-toggle {
    display: block;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 9999;
    padding: 10px;
}

.hamburger {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background-color: var(--primary-solid);
    transition: background-color var(--transition-fast);
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--primary-solid);
    left: 0;
    transition: transform var(--transition-fast);
}

.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

.mobile-nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: translateY(6px) rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: translateY(-6px) rotate(-45deg);
}

/* Media Queries Header y Navegación (Tablet / Escritorio) */
@media (min-width: 768px) {
    .top-bar-container {
        flex-direction: row;
    }
}

@media (min-width: 992px) {
    .mobile-nav-toggle { display: none; }
    
    .primary-navigation {
        position: static;
        box-shadow: none;
        padding: 0;
        background-color: transparent;
        transform: none;
        width: auto;
    }
    
    .nav-list {
        flex-direction: row;
        gap: 28px;
        align-items: center;
    }
    
    .nav-link {
        font-size: 0.95rem;
        padding: 0;
    }
    
    .nav-btn-cta {
        padding: 8px 16px;
    }
}

/* -------------------------------------------------------------------------
   5. SECCIÓN HERO (CAPTURADOR EN PRIMER SCROLL)
   ------------------------------------------------------------------------- */
.hero-section {
    background: radial-gradient(circle at 100% 0%, rgba(224, 231, 255, 0.4) 0%, rgba(248, 250, 252, 1) 70%), 
                linear-gradient(180deg, var(--bg-white) 0%, var(--bg-clean) 100%);
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.hero-content {
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--primary-light);
    color: var(--primary-blue);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 2.25rem;
    color: var(--primary-solid);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary-blue), var(--emerald-grow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Formulario Hero (Lead Capture) */
.hero-form-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.hero-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--emerald-grow));
}

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

.form-title {
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.form-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Campos de Formulario */
.form-group {
    margin-bottom: 16px;
}

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    background-color: var(--bg-clean);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

/* Textarea y selects */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

/* Ley de Privacidad Aceptación Checkbox */
.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1.4;
}

.form-checkbox {
    margin-top: 2px;
}

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

/* Media Queries Hero */
@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 992px) {
    .hero-section {
        padding: 100px 0;
    }
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 60px;
    }
    .hero-content {
        text-align: left;
    }
}

/* -------------------------------------------------------------------------
   6. SECCIÓN DE SERVICIOS
   ------------------------------------------------------------------------- */
.section-padding {
    padding: 80px 0;
}

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

.section-subtitle {
    color: var(--emerald-grow);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Grid de Servicios */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

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

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

.service-icon-box {
    width: 54px;
    height: 54px;
    background-color: var(--primary-light);
    color: var(--primary-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

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

.service-card-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

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

.service-benefits-list {
    list-style: none;
    margin-bottom: 24px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.service-benefits-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.service-benefits-list svg {
    color: var(--emerald-grow);
    flex-shrink: 0;
}

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

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

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

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

/* -------------------------------------------------------------------------
   7. SECCIÓN DE PROCESO TÉCNICO (PASOS)
   ------------------------------------------------------------------------- */
.bg-section-dark {
    background-color: var(--primary-solid);
    color: var(--bg-clean);
}

.bg-section-dark .section-title {
    color: var(--bg-white);
}

.bg-section-dark .section-desc {
    color: rgba(248, 250, 252, 0.7);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    position: relative;
}

.step-card {
    position: relative;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: transform var(--transition-normal);
}

.step-card:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.05);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--emerald-grow), var(--primary-blue));
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
}

.step-card-title {
    color: var(--bg-white);
    font-size: 1.25rem;
    margin-top: 10px;
    margin-bottom: 12px;
}

.step-card-desc {
    color: rgba(248, 250, 252, 0.75);
    font-size: 0.9rem;
}

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

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

/* -------------------------------------------------------------------------
   8. COBERTURA GEOGRÁFICA
   ------------------------------------------------------------------------- */
.coverage-box {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-md);
}

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

.coverage-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

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

.coverage-list svg {
    color: var(--emerald-grow);
}

.coverage-map-placeholder {
    width: 100%;
    height: 250px;
    background-color: var(--primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    border: 1px dashed var(--primary-blue);
    text-align: center;
    padding: 20px;
}

.coverage-map-placeholder svg {
    color: var(--primary-blue);
}

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

/* -------------------------------------------------------------------------
   9. SECCIÓN CONTACTANOS (FORMULARIO AMPLIADO)
   ------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.contact-info-card {
    background-color: var(--primary-solid);
    color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    background-image: radial-gradient(circle at 100% 100%, rgba(5, 150, 105, 0.15) 0%, transparent 60%);
}

.contact-info-title {
    color: var(--bg-white);
    font-size: 1.85rem;
    margin-bottom: 15px;
}

.contact-info-desc {
    color: rgba(248, 250, 252, 0.7);
    margin-bottom: 30px;
}

.contact-detail-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail-item {
    display: flex;
    gap: 16px;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--emerald-grow);
}

.contact-detail-content h4 {
    color: var(--bg-white);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-detail-content p, .contact-detail-content a {
    color: rgba(248, 250, 252, 0.8);
    font-size: 0.9rem;
}

.contact-detail-content a:hover {
    color: var(--bg-white);
    text-decoration: underline;
}

/* Formulario de Contacto Ampliado */
.contact-form-box {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 0.9fr 1.1fr;
    }
}

/* -------------------------------------------------------------------------
   10. PIE DE PÁGINA (FOOTER)
   ------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--primary-solid);
    color: rgba(248, 250, 252, 0.65);
    font-size: 0.9rem;
    border-top: 3px solid var(--emerald-grow);
}

.footer-top {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.logo-text-footer {
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-about-text {
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-rif {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--bg-white);
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
}

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

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

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

.footer-links a {
    color: rgba(248, 250, 252, 0.65);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--bg-white);
    padding-left: 5px;
}

.footer-contact-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-info li {
    display: flex;
    gap: 12px;
}

.footer-contact-info svg {
    color: var(--emerald-grow);
    margin-top: 4px;
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-contact-info a {
    color: var(--bg-clean);
    font-weight: 600;
}

/* Footer Middle: Dirección y Disclaimer */
.footer-middle {
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-address-bar {
    display: flex;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.footer-address-bar svg {
    color: var(--emerald-grow);
    flex-shrink: 0;
}

.footer-address-bar address {
    font-style: normal;
    color: var(--bg-clean);
}

.footer-disclaimer {
    font-size: 0.8rem;
    line-height: 1.6;
    color: rgba(248, 250, 252, 0.45);
}

/* Footer Bottom: Copys y Legales */
.footer-bottom {
    padding: 24px 0;
    background-color: #090D16;
}

.footer-bottom-flex {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    font-size: 0.8rem;
}

.footer-legal-links a {
    color: rgba(248, 250, 252, 0.45);
}

.footer-legal-links a:hover {
    color: var(--bg-white);
}

.footer-legal-links .separator {
    color: rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-bottom-flex {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* -------------------------------------------------------------------------
   11. COOKIE BANNER (CONSENTIMIENTO)
   ------------------------------------------------------------------------- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 10000;
    background-color: var(--primary-solid);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    padding: 20px;
    animation: slideUp 0.4s ease;
}

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

.cookie-banner-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.cookie-banner p {
    color: rgba(248, 250, 252, 0.85);
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: center;
}

.cookie-banner a {
    color: var(--emerald-grow);
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
    width: 100%;
}

.cookie-btn {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: background-color var(--transition-fast);
}

.cookie-btn-accept {
    background-color: var(--emerald-grow);
    color: var(--bg-white);
}

.cookie-btn-accept:hover {
    background-color: #047857;
}

.cookie-btn-decline {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bg-clean);
}

.cookie-btn-decline:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

@media (min-width: 768px) {
    .cookie-banner {
        max-width: 420px;
        left: auto;
        right: 20px;
    }
    .cookie-banner-content {
        align-items: flex-start;
    }
    .cookie-banner p {
        text-align: left;
    }
    .cookie-banner-buttons {
        width: auto;
    }
    .cookie-btn {
        flex: none;
        padding: 8px 16px;
    }
}

/* -------------------------------------------------------------------------
   12. PÁGINAS ESPECIALES (GRACIAS Y 404)
   ------------------------------------------------------------------------- */
/* Gracias */
.thanks-section {
    padding: 100px 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(5, 150, 105, 0.05) 0%, transparent 70%);
}

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

.thanks-icon {
    width: 80px;
    height: 80px;
    background-color: var(--emerald-light);
    color: var(--emerald-grow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.thanks-title {
    font-size: 2.25rem;
    margin-bottom: 15px;
}

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

.thanks-cta-box {
    background-color: var(--bg-clean);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.thanks-cta-box h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.thanks-cta-phone {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-cta);
    display: block;
    margin-top: 10px;
}

/* 404 */
.error-section {
    padding: 100px 0;
    text-align: center;
}

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

.error-code {
    font-size: 6rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--emerald-grow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.error-title {
    font-size: 1.85rem;
    margin-bottom: 12px;
}

.error-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
}

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

/* -------------------------------------------------------------------------
   13. MAQUETADO DE PÁGINAS LEGALES (PRIVACIDAD, TÉRMINOS)
   ------------------------------------------------------------------------- */
.legal-page-header {
    background-color: var(--primary-solid);
    color: var(--bg-white);
    padding: 60px 0;
    border-bottom: 3px solid var(--emerald-grow);
}

.legal-title {
    color: var(--bg-white);
    font-size: 2.25rem;
}

.legal-meta {
    color: rgba(248, 250, 252, 0.7);
    font-size: 0.9rem;
    margin-top: 10px;
}

.legal-content-box {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.legal-content h2 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 8px;
}

.legal-content h3 {
    font-size: 1.15rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-content p, .legal-content ul, .legal-content ol {
    margin-bottom: 16px;
    color: var(--text-main);
    line-height: 1.7;
}

.legal-content ul, .legal-content ol {
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 8px;
}
