/* ==========================================================================
   STYLE.CSS - Sistema de Diseño Premium KineSport
   Nicho: Fisioterapia y Rehabilitación Deportiva de Urgencia (Caracas, Venezuela)
   Enfoque: Core Web Vitals (Carga ultra rápida), CRO, Accesibilidad WCAG AA.
   ========================================================================== */

/* 1. RESET Y CONFIGURACIÓN BASE */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Paleta Cromática 60-30-10 */
    --color-bg-clean: #f8fafc;       /* 60% - FondoSlate 50 */
    --color-bg-white: #ffffff;
    --color-brand-primary: #0d9488;  /* 30% - Teal 600 (Salud y Energía) */
    --color-brand-hover: #0f766e;    /* Teal 700 */
    --color-brand-light: #ccfbf1;    /* Teal 100 */
    --color-text-dark: #0f172a;      /* Slate 900 (Seriedad y Lectura) */
    --color-text-muted: #475569;     /* Slate 600 */
    --color-cta-orange: #ea580c;     /* 10% - Naranja Coral (Acción Rápida) */
    --color-cta-orange-hover: #c2410c;
    --color-cta-amber: #d97706;      /* 10% - Ámbar (Urgencia) */
    
    /* Tipografías */
    --font-title: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Sombras y Efectos */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
    --shadow-premium: 0 20px 25px -5px rgba(13, 148, 136, 0.1), 0 8px 10px -6px rgba(13, 148, 136, 0.05);
    
    /* Transiciones */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Medidas */
    --container-max-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

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

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

/* 2. TIPOGRAFÍA Y TÍTULOS SEMÁNTICOS */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text-dark);
}

h1 {
    font-size: 2.25rem;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 1.75rem;
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 2rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-brand-primary), var(--color-cta-orange));
    border-radius: 2px;
}

h2.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.35rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

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

a:hover {
    color: var(--color-brand-hover);
}

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

/* 3. ESTRUCTURAS COMUNES Y CONTENEDORES */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

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

.section {
    padding: 5rem 0;
}

.bg-white {
    background-color: var(--color-bg-white);
}

.bg-gradient-teal {
    background: linear-gradient(135deg, var(--color-text-dark) 0%, #064e3b 100%);
    color: var(--color-bg-clean);
}

/* 4. BOTONES CRO Y EFECTOS DE MICRO-ANIMACIÓN */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-title);
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    border-radius: var(--border-radius-sm);
    border: none;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

.btn-accent:hover {
    background-color: var(--color-cta-orange-hover);
    color: var(--color-bg-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(234, 88, 12, 0.4);
}

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

.btn-primary:hover {
    background-color: var(--color-brand-hover);
    color: var(--color-bg-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(13, 148, 136, 0.4);
}

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

.btn-outline:hover {
    background-color: var(--color-brand-primary);
    color: var(--color-bg-white);
}

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

/* 5. TOPBAR DE URGENCIA */
.topbar {
    background-color: var(--color-text-dark);
    color: var(--color-bg-clean);
    padding: 0.5rem 0;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
}

@media(min-width: 768px) {
    .topbar-wrapper {
        flex-direction: row;
        font-size: 0.85rem;
    }
}

.topbar-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse 1.6s infinite;
}

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

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.topbar-email-link {
    color: var(--color-bg-clean);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    opacity: 0.9;
}

.topbar-email-link:hover {
    color: var(--color-brand-primary);
    opacity: 1;
}

.topbar-phone-btn {
    background-color: var(--color-cta-amber);
    color: var(--color-text-dark);
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: var(--shadow-sm);
    animation: shake 5s infinite;
}

.topbar-phone-btn:hover {
    background-color: #f59e0b;
    color: var(--color-text-dark);
    transform: scale(1.03);
}

@keyframes shake {
    0%, 90%, 100% { transform: translate(0, 0); }
    92% { transform: translate(-2px, 0); }
    94% { transform: translate(2px, 0); }
    96% { transform: translate(-2px, 0); }
    98% { transform: translate(2px, 0); }
}

/* 6. HEADER Y NAVEGACIÓN STICKY */
.main-header {
    background-color: var(--color-bg-white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.main-header.shrink {
    padding: 0.6rem 0;
    box-shadow: var(--shadow-md);
}

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

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

.logo-brand {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text-dark);
    line-height: 1.1;
}

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

.logo-subtitle {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    font-weight: 600;
}

/* Navegación Responsive */
.nav-toggle {
    display: block;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--color-text-dark);
    position: relative;
    transition: background-color 0.2s ease;
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 3px;
    background-color: var(--color-text-dark);
    transition: transform 0.2s ease, top 0.2s ease, bottom 0.2s ease;
}

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

/* Hamburger transform */
.nav-toggle.open .hamburger {
    background-color: transparent;
}
.nav-toggle.open .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}
.nav-toggle.open .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-bg-white);
    border-bottom: 2px solid var(--color-bg-clean);
    display: none;
    padding: 1.5rem 0;
    box-shadow: var(--shadow-lg);
}

.main-nav.open {
    display: block;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-family: var(--font-title);
    font-weight: 600;
    color: var(--color-text-dark);
    font-size: 1.05rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-brand-primary);
}

@media(min-width: 992px) {
    .nav-toggle {
        display: none;
    }
    .main-nav {
        position: static;
        display: block;
        width: auto;
        padding: 0;
        box-shadow: none;
        border-bottom: none;
    }
    .nav-list {
        flex-direction: row;
        gap: 2rem;
    }
    .nav-link {
        font-size: 0.95rem;
    }
}

/* 7. HERO SECTION Y FORMULARIO EN EL PRIMER SCROLL */
.hero {
    padding: 3rem 0;
    background: radial-gradient(circle at 90% 10%, #f0fdfa 0%, var(--color-bg-clean) 60%);
    overflow: hidden;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media(min-width: 992px) {
    .hero-wrapper {
        grid-template-columns: 1.1fr 0.9fr;
        padding: 2rem 0;
    }
    .hero {
        padding: 5rem 0;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-tag {
    background-color: var(--color-brand-light);
    color: var(--color-brand-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    display: inline-block;
}

.hero-title {
    font-size: 2.2rem;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-title span {
    background: linear-gradient(90deg, var(--color-brand-primary), var(--color-brand-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-bullets {
    list-style: none;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-bullet-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.bullet-icon {
    color: var(--color-brand-primary);
    flex-shrink: 0;
}

/* Formulario Hero Estilo premium */
.hero-card-form {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-premium);
    padding: 2rem;
    border: 1px solid rgba(13, 148, 136, 0.15);
    position: relative;
}

.form-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

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

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

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

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

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-dark);
    background-color: var(--color-bg-clean);
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius-sm);
    outline: none;
    transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--color-brand-primary);
    background-color: var(--color-bg-white);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

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

/* 8. GRID DE SERVICIOS (TARJETAS HOVER EXCELENCIA VISUAL) */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@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-color: var(--color-bg-white);
    border-radius: var(--border-radius-md);
    padding: 2.25rem 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.service-icon-box {
    background-color: var(--color-brand-light);
    color: var(--color-brand-primary);
    width: 54px;
    height: 54px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon-box {
    background-color: var(--color-brand-primary);
    color: var(--color-bg-white);
    transform: rotate(5deg) scale(1.05);
}

.service-title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.service-desc {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.service-link {
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.service-link svg {
    transition: transform 0.2s ease;
}

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

/* 9. PROCESO TÉCNICO (PASOS NUMERADOS Y RESPONSIVOS) */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    position: relative;
}

@media(min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    /* Línea decorativa conectora */
    .steps-grid::after {
        content: '';
        position: absolute;
        top: 45px;
        left: 10%;
        right: 10%;
        height: 2px;
        background-color: #e2e8f0;
        z-index: 1;
    }
}

.step-card {
    position: relative;
    z-index: 2;
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-brand-primary);
    color: var(--color-bg-white);
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem auto;
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
}

.step-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 0.85rem;
}

/* 10. BLOQUE COBERTURA LOCAL */
.coverage-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

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

.coverage-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.coverage-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
    width: 100%;
}

.coverage-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    background-color: var(--color-bg-white);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
}

.coverage-item svg {
    color: var(--color-brand-primary);
}

/* Mapa Falso Premium vectorizado en CSS (Evita cargar Google Maps que ralentiza LCP) */
.coverage-map-box {
    background-color: #e2e8f0;
    border-radius: var(--border-radius-lg);
    aspect-ratio: 16/10;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--color-brand-light);
}

.fake-map-bg {
    width: 100%;
    height: 100%;
    background: radial-gradient(rgba(226,232,240,0.1) 0%, rgba(203,213,225,0.8) 100%), 
                repeating-linear-gradient(45deg, #cbd5e1 0px, #cbd5e1 1px, transparent 1px, transparent 10px),
                repeating-linear-gradient(-45deg, #cbd5e1 0px, #cbd5e1 1px, transparent 1px, transparent 10px);
}

.map-radar-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background-color: var(--color-cta-orange);
    border-radius: 50%;
    z-index: 10;
}

.map-radar-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 2px solid var(--color-cta-orange);
    border-radius: 50%;
    animation: radar-pulse 3s infinite linear;
    opacity: 0;
}

.map-radar-ring-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 240px;
    border: 1px dashed var(--color-brand-primary);
    border-radius: 50%;
    animation: radar-pulse 6s infinite linear;
    opacity: 0;
}

@keyframes radar-pulse {
    0% { transform: translate(-50%, -50%) scale(0.1); opacity: 0.8; }
    50% { opacity: 0.4; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0; }
}

.map-label {
    position: absolute;
    background-color: var(--color-text-dark);
    color: var(--color-bg-clean);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    box-shadow: var(--shadow-md);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -150%);
    z-index: 15;
    white-space: nowrap;
}

.map-label::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--color-text-dark);
}

/* 11. BLOQUE DE CONTACTO DUAL */
.contact-section-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

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

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card-item {
    background-color: var(--color-bg-white);
    padding: 1.75rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1.25rem;
    border: 1px solid #f1f5f9;
}

.contact-card-icon {
    background-color: var(--color-brand-light);
    color: var(--color-brand-primary);
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-title {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

.contact-card-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* 12. PIE DE PÁGINA Y CUMPLIMIENTO */
.main-footer {
    background-color: var(--color-text-dark);
    color: #94a3b8;
    padding: 5rem 0 0 0;
    border-top: 5px solid var(--color-brand-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
}

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

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

.footer-logo {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-bg-white);
    margin-bottom: 1.25rem;
    display: inline-block;
}

.footer-brand-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-corporate-info {
    font-size: 0.8rem;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    border-left: 3px solid var(--color-brand-primary);
}

.footer-title {
    color: var(--color-bg-white);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    gap: 0.75rem;
    font-size: 0.9rem;
    align-items: flex-start;
}

.contact-icon {
    color: var(--color-brand-primary);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-link-direct {
    color: #cbd5e1;
    font-weight: 600;
}

.contact-link-direct:hover {
    color: var(--color-brand-primary);
}

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

.footer-link {
    color: #94a3b8;
    font-size: 0.9rem;
    display: inline-block;
}

.footer-link:hover {
    color: var(--color-brand-primary);
    transform: translateX(4px);
}

/* Tarjeta de Disclaimers Sanitarios Exigidos */
.footer-disclaimer-wrapper {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3rem 0;
}

.footer-disclaimer-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    padding: 2rem;
}

.disclaimer-title {
    color: #e2e8f0;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.disclaimer-text {
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    text-align: justify;
}

.disclaimer-text:last-child {
    margin-bottom: 0;
}

.font-small { font-size: 0.75rem; }
.italic { font-style: italic; }

/* Copyright bar */
.footer-bottom {
    background-color: #0b0f19;
    padding: 1.5rem 0;
    font-size: 0.8rem;
}

.footer-bottom-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
}

@media(min-width: 768px) {
    .footer-bottom-wrapper {
        flex-direction: row;
    }
}

.backlink-url {
    color: #64748b;
    font-weight: 600;
}

.backlink-url:hover {
    color: var(--color-brand-primary);
}

/* 13. FLOATING CTA BAR (MOBILE) */
.mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-bg-white);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1.25rem;
    z-index: 99;
    display: block;
}

@media(min-width: 768px) {
    .mobile-cta-bar {
        display: none;
    }
}

.mobile-cta-button {
    background-color: var(--color-cta-orange);
    color: var(--color-bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4);
    animation: pulse-orange 2s infinite;
}

.mobile-cta-button:hover {
    color: var(--color-bg-white);
}

@keyframes pulse-orange {
    0% { transform: scale(1); box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4); }
    50% { transform: scale(1.02); box-shadow: 0 4px 20px rgba(234, 88, 12, 0.6); }
    100% { transform: scale(1); box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4); }
}

/* Ajuste inferior de body en móviles por la barra flotante */
@media(max-width: 767px) {
    body {
        padding-bottom: 70px;
    }
}

/* 14. PÁGINAS LEGALES ESPECÍFICAS (PREMIUM) */
.legal-container {
    max-width: 800px;
    margin: 4rem auto;
    background-color: var(--color-bg-white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid #f1f5f9;
}

.legal-header {
    border-bottom: 2px solid var(--color-bg-clean);
    padding-bottom: 1.5rem;
    margin-bottom: 2.5rem;
}

.legal-meta {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-top: 0.5rem;
}

.legal-content h3 {
    margin: 2.5rem 0 1rem 0;
    font-family: var(--font-title);
    font-size: 1.25rem;
    border-left: 4px solid var(--color-brand-primary);
    padding-left: 0.75rem;
}

.legal-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    text-align: justify;
}

.legal-content ul, .legal-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* 15. PÁGINAS DE AGRADECIMIENTO Y 404 */
.thanks-wrapper, .error-wrapper {
    max-width: 600px;
    margin: 6rem auto;
    text-align: center;
    background-color: var(--color-bg-white);
    padding: 4rem 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(13, 148, 136, 0.1);
}

.success-icon-box, .error-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem auto;
}

.success-icon-box {
    background-color: var(--color-brand-light);
    color: var(--color-brand-primary);
}

.error-icon-box {
    background-color: #fee2e2;
    color: #ef4444;
}

.thanks-title, .error-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.thanks-desc, .error-desc {
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.thanks-phone-card {
    background-color: var(--color-brand-light);
    border: 1px solid rgba(13, 148, 136, 0.2);
    border-radius: var(--border-radius-sm);
    padding: 1.5rem;
    margin-bottom: 2.5rem;
}

.thanks-phone-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-brand-primary);
    margin-bottom: 0.5rem;
}

.thanks-phone-num {
    font-family: var(--font-title);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-text-dark);
}

.thanks-phone-num a {
    color: var(--color-text-dark);
}

.thanks-actions, .error-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

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