/* --- RESET GENERAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    background-color: #000000;
    overflow-x: hidden;
}

/* --- NAVBAR ESTADO INICIAL --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.header-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center; /* Centra los links en desktop por defecto */
    align-items: center;
    padding: 20px 40px;
    position: relative;
}

/* Contenedor del Logo en Desktop */
.logo-container {
    position: absolute;
    left: 40px;
    opacity: 0; /* Oculto completamente al inicio */
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.logo-container img {
    height: 55px;
    width: auto;
    display: block;
}

.nav-desktop {
    display: flex;
    gap: 35px;
}

.nav-desktop a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.4s ease;
}

/* --- NAVBAR CON SCROLL (Clases aplicadas por JS) --- */
.main-header.scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.main-header.scrolled .logo-container {
    opacity: 1; /* Aparece el logo con el scroll */
    visibility: visible;
}

.main-header.scrolled .nav-desktop a {
    color: #000000; /* Texto oscuro sobre el fondo blanco */
}

.main-header.scrolled .hamburger-btn span {
    background-color: #000000; /* Hamburguesa oscura con scroll */
}

/* --- BOTÓN HAMBURGUESA --- */
.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    position: absolute;
    right: 40px;
}

.hamburger-btn span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

/* Transformaciones de menú hamburguesa abierto */
.hamburger-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
.hamburger-btn.active span {
    background-color: #ffffff !important; /* Siempre blanca cuando abre el overlay */
}

/* --- MENÚ MÓVIL DESPLEGABLE --- */
.nav-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 15, 15, 0.98);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.nav-mobile-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-logo-top {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 240px;
    height: auto;
}

.nav-mobile-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.nav-mobile-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 1px;
}

/* --- SECCIÓN HERO --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Imagen de Escritorio original con capa oscura overlay */
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('/img/header.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    padding-top: 100px;
}

/* --- CONTENIDO CENTRAL --- */
.hero-content {
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    margin: auto 0;
    padding: 0 20px;
}

.tag-doctor {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 7px;
    color: #b3b3b3;
    margin-bottom: 5px;
    font-weight: 400;
}

.title-name {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.subtitle-specialties {
    font-size: 20px;
    font-weight: 400;
    color: #e0e0e0;
    margin-bottom: 30px;
}

.info-details {
    margin-bottom: 35px;
}

.info-italic {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 6px;
}

.info-universities {
    font-size: 14px;
    color: #aaaaaa;
    font-weight: 400;
}

.btn-services {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #936500;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-services:hover {
    background-color: #7a5400;
}

/* --- SCROLL INDICATOR --- */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #8c8c8c;
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.scroll-indicator .arrow-down {
    margin-top: 5px;
    font-size: 12px;
}

/* --- WHATSAPP FLOTANTE --- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 99;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

/* --- RESPONSIVE DESIGN (MEDIA QUERIES) --- */
@media (max-width: 900px) {
    .title-name { font-size: 45px; }
    .subtitle-specialties { font-size: 17px; }
}

@media (max-width: 768px) {
    /* Cambio a la foto requerida para móviles con opacidad oscura */
    .hero-section {
        background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('/img/movil.png');
    }

    .header-container {
        padding: 15px 20px;
        justify-content: flex-end; /* Alinea el botón hamburguesa a la derecha */
    }

    .nav-desktop {
        display: none; /* Oculta navegación estándar */
    }

    /* Forzar ocultar logo fuera del menú en mobile incluso con scroll */
    .logo-container, .main-header.scrolled .logo-container {
        display: none !important;
    }

    .hamburger-btn {
        display: flex;
        right: 20px;
    }

    .title-name { font-size: 36px; }
    .subtitle-specialties {
        font-size: 15px;
        line-height: 1.4;
    }
    .info-universities {
        font-size: 13px;
        line-height: 1.4;
    }
    /* Si tu barra de navegación se llama .navbar o .main-header */
    .navbar {
        padding-top: 20px !important;    /* Espacio superior */
        padding-bottom: 20px !important; /* Espacio inferior */
        /* Nota: Ajusta estos valores (20px, 25px...) hasta que tenga el grosor exacto que buscas */
    }

    /* Opcional: Si el logotipo se ve muy pequeño al agrandar la barra, 
       puedes darle un poco más de presencia */
    .navbar-logo {
        height: 45px; /* Controla la altura del logo en móvil si es necesario */
    }
}




/* ==========================================================================
   SECCIÓN SERVICIOS (RESPONSIVA CORREGIDA)
   ========================================================================== */
.services-section {
    background-color: #fcfbfa; 
    padding: 80px 20px;
    width: 100%;
    box-sizing: border-box;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Encabezado Responsivo */
.services-main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 46px); /* Se adapta fluido entre 28px y 46px */
    font-weight: 700;
    text-align: center;
    color: #111111;
    line-height: 1.2;
    margin-bottom: 50px;
    letter-spacing: -0.5px;
}

.services-main-title .highlight-green {
    color: #123524; 
}

/* Grilla fluida con CSS Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Distribución automática */
    gap: 30px;
    width: 100%;
}

/* Tarjeta Unificada Adaptable */
.service-card {
    background-color: #f7f5f2; 
    border: 1px solid #eae6e1;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Permite que todas las tarjetas de la misma fila midan igual */
    box-sizing: border-box;
}

/* Cabeceras de Tarjeta / Badges */
.card-header {
    margin-bottom: 15px;
}

.badge {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    color: #2b4c3f;
    background-color: #cbdad5; 
}

/* Contenedores de las Imágenes Escala Automática */
.card-image-container {
    width: 100%;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 10px;
    box-sizing: border-box;
}

.card-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Evita que la foto del equipo médico se deforme */
}

/* Cuerpo del Contenido */
.card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 12px;
    line-height: 1.3;
}

.card-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 13.5px;
    color: #4a4a4a;
    line-height: 1.6;
    font-weight: 400;
}

.card-text strong {
    font-weight: 600;
    color: #222222;
}

/* Pie de Tarjeta */
.card-footer {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #8a857e;
    letter-spacing: 1.5px;
    border-top: 1px solid #e1dbd5;
    padding-top: 15px;
    text-transform: uppercase;
}

/* ==========================================================================
   MEDIA QUERIES (ZONAS DE CONTROL RESPONSIVO)
   ========================================================================== */

/* Ajustes para tablets y pantallas medianas */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* Fuerza 2 columnas estables */
        gap: 20px;
    }
    .services-section {
        padding: 60px 20px;
    }
}

/* Ajustes críticos para teléfonos móviles */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr; /* Una sola columna perfecta */
        gap: 20px;
    }
    .services-section {
        padding: 50px 15px;
    }
    .service-card {
        padding: 20px; /* Reducción ligera de espacio interno para ganar pantalla */
    }
    .card-title {
        font-size: 19px; /* Fuente ligeramente más cómoda para móviles */
    }
    .card-text {
        font-size: 13px;
    }
}



/* ==========================================================================
   SECCIÓN TECNOLOGÍA MÉDICA (CON EFECTO OLA Y MÓVIL OPTIMIZADO)
   ========================================================================== */
.tech-section {
    background-color: #031c12;
    padding: 100px 20px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-container {
    max-width: 1100px;
    width: 100%;
    text-align: center;
}

.tech-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.tech-description {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 300;
    color: #cbd5d0;
    max-width: 680px;
    margin: 0 auto 55px auto;
    line-height: 1.6;
}

/* Contenedor de las marcas */
.brands-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
}

/* Envoltura de tarjeta + texto inferior */
.brand-card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 320px; 
}

/* ANIMACIÓN EFECTO OLA (DESFASADO) */
.brand-card-wrapper:nth-child(1) {
    animation: waveEffect 4s ease-in-out infinite;
}

.brand-card-wrapper:nth-child(2) {
    animation: waveEffect 4s ease-in-out infinite;
    animation-delay: 2s; /* Retraso de 2 segundos para lograr el efecto ola */
}

/* Tarjeta Blanca que contiene el Logotipo */
.brand-card {
    background-color: #ffffff;
    width: 100%;
    aspect-ratio: 1.6 / 1; 
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Mantiene el hover interactivo sumándose a la animación */
.brand-card:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.brand-logo {
    max-width: 85%;
    max-height: 75%;
    object-fit: contain;
}

/* Texto debajo de las tarjetas */
.brand-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #8fa096;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 20px;
}

/* KEYFRAMES PARA EL EFECTO MOVIMIENTO DE OLA */
@keyframes waveEffect {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px); /* Altura del balanceo */
    }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVO Y TARJETAS MÁS GRANDES EN MÓVIL)
   ========================================================================== */
@media (max-width: 768px) {
    .tech-section {
        padding: 70px 24px;
    }

    .brands-grid {
        flex-direction: column;
        align-items: center;
        gap: 45px; /* Más separación vertical para dar espacio a la animación */
    }

    /* Tarjeticas un poco más grandes en la versión móvil */
    .brand-card-wrapper {
        max-width: 340px; /* Aumentado de 280px a 340px para mayor impacto visual */
        width: 100%;
    }
}


/* ==========================================================================
   SECCIÓN CONTACTO (ALTO CONTROLADO + TEXTO ESTILO SERIF + IMAGEN COMPLETA)
   ========================================================================== */
.contact-section {
    background-color: #fcfbfa; 
    width: 100%;
    min-height: 100vh; /* Se ajusta a la pantalla en ordenadores */
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden; 
}

.contact-container {
    width: 100%;
    flex: 1; 
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50% Izquierda y 50% Derecha */
    min-height: 100vh;
}

/* ==========================================================================
   BLOQUE IZQUIERDO: INFORMACIÓN DE CONTACTO (VERDE OSCURO)
   ========================================================================== */
.contact-info-block {
    background-color: #031c12; 
    color: #ffffff;
    padding: 30px 40px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    text-align: center;   
    box-sizing: border-box;
    height: 100%;
}

.info-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 4px;
    color: #8fa096;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 600;
}

.info-group {
    margin-bottom: 15px;
    width: 100%;
}

.info-group h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px; 
    letter-spacing: 2.5px;
    color: #799485; 
    font-weight: 700; 
    margin-bottom: 4px;
    text-transform: uppercase;
}

/* Estilo tipográfico Serif de la Imagen (Compacto e Imponente) */
.address-highlight, 
.phone-highlight {
    font-family: 'Playfair Display', 'Didot', 'Bodoni MT', 'Georgia', serif;
    font-size: clamp(22px, 2.4vw, 28px); 
    font-weight: 800; /* Negrita idéntica a la imagen */
    color: #ffffff;
    letter-spacing: -0.5px; /* Junta las letras sutilmente */
    line-height: 1.15;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.address-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 13.5px;
    color: #cbd5d0;
    margin-top: 2px;
    font-weight: 400;
}

.schedule-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 13.5px;
    color: #e2e8e5;
    margin-top: 2px;
    font-weight: 400;
    line-height: 1.4;
}

/* CONTENEDOR MULTIMEDIA: Estructura paralela en escritorio */
.contact-media-wrapper {
    display: flex;
    gap: 15px;
    width: 100%;
    max-width: 580px; 
    margin-top: 15px;
    box-sizing: border-box;
}

.media-box {
    flex: 1;
    height: 190px; /* Evita que rompa el límite alto de la pantalla */
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.map-box iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.image-box {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}

.guide-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Evita que la fachada se recorte para que se distinga la casa */
    display: block;
}

/* ==========================================================================
   BLOQUE DERECHO: FORMULARIO DE CONTACTO (FONDO CLARO)
   ========================================================================== */
.contact-form-block {
    background-color: #fcfbfa;
    padding: 60px 10% 60px 60px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    height: 100%;
}

.form-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 4px;
    color: #666666;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 500;
}

/* Título de Formulario con la tipografía Premium de la Imagen */
.form-main-title {
    font-family: 'Playfair Display', 'Didot', 'Bodoni MT', 'Georgia', serif;
    font-size: clamp(30px, 3.8vw, 44px); 
    font-weight: 800; 
    color: #000000;
    letter-spacing: -0.5px; 
    line-height: 1.15;
    margin-bottom: 30px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.main-form {
    display: flex;
    flex-direction: column;
    gap: 20px; 
    width: 100%;
}

.input-container {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
}

.input-container label {
    font-size: 13px;
    color: #333333;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-container input, 
.input-container textarea {
    width: 100%;
    padding: 14px 18px; 
    border: 1px solid #e0dbd5;
    border-radius: 8px;
    background-color: #faf9f6;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #111111;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.input-container input:focus, 
.input-container textarea:focus {
    border-color: #031c12;
}

.input-container textarea {
    height: 110px; 
    resize: none;
}

.char-counter {
    font-size: 11px;
    color: #999999;
    text-align: right;
    margin-top: 5px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #0a3321; 
    color: #ffffff;
    border: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
    margin-top: 10px;
}

.btn-submit:hover { 
    background-color: #031c12; 
}

.send-icon { 
    width: 16px; 
    height: 16px; 
    fill: #ffffff; 
}

/* ==========================================================================
   MEDIA QUERIES (OPTIMIZACIÓN Y RESPONSIVO EN MÓVILES)
   ========================================================================== */
@media (max-width: 960px) {
    .contact-section,
    .contact-container {
        min-height: auto; /* Permite scroll vertical libre en móviles */
        overflow: visible;
    }

    .contact-container {
        grid-template-columns: 1fr; 
    }
    
    .contact-info-block, 
    .contact-form-block {
        padding: 60px 30px;
        height: auto;
    }

    .contact-media-wrapper {
        max-width: 100%;
    }
    
    .media-box {
        height: 240px;
    }
}

@media (max-width: 600px) {
    /* Los medios se apilan verticalmente en celulares para mayor legibilidad */
    .contact-media-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    
    .media-box {
        height: 280px; /* Altura ideal ampliada para que la casa se distinga perfectamente */
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-info-block, 
    .contact-form-block {
        padding: 50px 20px;
    }
    .btn-submit {
        width: 100%;
    }
}

/* ==========================================================================
   FOOTER: LOGO DESTACADO Y BASE CENTRALIZADA
   ========================================================================== */
.main-footer {
    background-color: #000000; 
    color: #ffffff;
    width: 100%;
    padding: 70px 0 0 0;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    flex-direction: column; /* Apilado nativo en móvil */
    gap: 45px;
}

.footer-column {
    width: 100%;
}

/* Contenedor del nuevo Logotipo de Alta Importancia */
.footer-logo-wrapper {
    background-color: #ffffff; /* Fondo blanco para que el logo azul oscuro resalte de forma excelente */
    padding: 20px;
    border-radius: 12px;
    display: inline-block;
    max-width: 280px; /* Tamaño imponente y controlado */
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
}

.footer-main-logo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Encabezados secundarios del menú */
.footer-column h3 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #666666; 
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Enlaces */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: #cbd5d0;
    text-decoration: none;
    font-size: 14.5px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Datos de Contacto */
.contact-info-item {
    font-size: 14.5px;
    color: #cbd5d0;
    line-height: 1.5;
    margin-bottom: 12px;
}

.contact-info-item.phone-style {
    font-weight: 600;
    color: #ffffff;
}

.contact-info-item.schedule-style {
    font-size: 13.5px;
    color: #999999;
    margin-bottom: 6px;
}

/* ==========================================================================
   FRANJA INFERIOR DE DERECHOS Y WHATSAPP (SIEMPRE CENTRADA)
   ========================================================================== */
.footer-bottom-bar {
    border-top: 1px solid #111111; 
    margin-top: 60px;
    padding: 30px 0;
    background-color: #050505;
    width: 100%;
}

.bottom-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    flex-direction: column; /* Apilado vertical */
    align-items: center;    /* Centrado horizontal estricto de los hijos */
    justify-content: center;/* Centrado vertical */
    gap: 12px;
    text-align: center;     /* Fuerza el centrado de los textos */
}

.copyright-text {
    font-size: 12px;
    color: #555555;
    font-weight: 400;
    margin: 0;
}

.whatsapp-footer-link {
    font-size: 12px;
    color: #666666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.whatsapp-footer-link:hover {
    color: #25d366; /* Tono verde oficial de WhatsApp al pasar el cursor */
}

/* ==========================================================================
   Ajuste en Pantallas de Computadora
   ========================================================================== */
@media (min-width: 769px) {
    .footer-container {
        flex-direction: row; /* Pasa a columnas horizontales */
        justify-content: space-between;
        align-items: flex-start;
        padding: 0 60px;
    }

    .footer-column.profile-col {
        flex: 1.2;
    }

    .footer-column.navigation-col {
        flex: 1;
        padding-left: 60px;
    }

    .footer-column.contact-col {
        flex: 1.3;
    }

    /* Nota: La barra inferior se mantiene en flex-direction: column y 
       centrada por completo en escritorio como fue solicitado */
    .bottom-bar-container {
        padding: 0 60px;
    }
}