/*
 Theme Name:   GeneratePress Child
 Template:     generatepress
 Version:      1.4.0
*/

:root {
    --pink-bg: #FFA2B4;
    --light-bg: #f0f7ff;
    --dark-blue: #163160;
    --text-black: #06090D;
}

body { font-family: 'General Sans', sans-serif; margin: 0; }

/* --- DESKTOP TOP BAR --- */
.top-bar-custom {
    background-color: var(--pink-bg);
    padding: 12px 0;
}

.top-bar-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.top-bar-container strong { font-size: 20px; }

/* --- MAIN HEADER --- */
.main-header-custom {
    background-color: var(--light-bg);
    padding: 15px 0;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-custom img { width: 188px; height: auto; }

.nav-menu-custom ul {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0; padding: 0;
}

.nav-menu-custom ul li a {
    text-decoration: none;
    color: var(--dark-blue);
    font-size: 18px;
}

.btn-appointment {
    border: 1px solid var(--dark-blue);
    background: transparent;
    color: var(--dark-blue);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 18px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-appointment:hover {
    background-color: #163160;
    color: #ffffff !important; /* Forzamos el blanco en caso de conflictos */
}

/* --- MOBILE ELEMENTS --- */
.mobile-only-pink-bar {
    display: none;
    background-color: var(--pink-bg);
    padding: 12px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.mobile-only-pink-bar span {
    font-size: 18px;
    color: #06090D;
    white-space: nowrap;
}

.mobile-only-pink-bar .phone-number {
    font-size: 24px;
    font-weight: 800;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    background: #FFFFFF;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

@media (max-width: 1024px) {
    .nav-menu-custom, .btn-appointment, .top-bar-custom { display: none; }
    .mobile-toggle, .mobile-only-pink-bar { display: flex; }
}

/* --- MODAL (ALINEACIÓN IZQUIERDA CORREGIDA) --- */
#mobileModal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #f0f7ff;
    padding: 30px;
    border-radius: 20px;
    width: 85%;
    max-width: 340px;
    text-align: left; /* Títulos alineados a la izquierda */
}

.modal-content h3 {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #06090D;
    margin-bottom: 20px;
    text-align: left;
}

.modal-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left; /* Asegura que la lista no herede centros */
}

.modal-content ul li {
    text-align: left;
}

.modal-content ul li a {
    text-decoration: none;
    color: var(--dark-blue);
    font-size: 18px;
    display: block;
    padding: 12px 0;
    text-align: left; /* Enlaces alineados a la izquierda */
}

.btn-modal {
    width: 100%;
    display: block;
    text-align: center; /* El botón es el único centrado según diseño previo */
    background: #FFFFFF;
}

/**** FOOOOTEEEEEEERRRR ****/

/* ==========================================================================
   FOOTER SMILE DELIGHT - CÓDIGO COMPLETO
   ========================================================================== */

/* 1. Fondo exterior del footer */
.site-footer-custom {
    background-color: #f0f7ff;
    padding: 40px 20px;
    font-family: 'General Sans', sans-serif;
}

/* 2. Contenedor Blanco (Tarjeta principal) */
.footer-white-card {
    background-color: #ffffff;
    max-width: 1280px;
    margin: 0 auto;
    border-radius: 16px; /* Radio de 16px solicitado */
    padding: 40px 20px;  /* Top/Bottom 40px, Left/Right 20px */
}

/* 3. Layout de Columnas */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    align-items: start;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.brand-info {
    flex: 1.5; /* Columna del logo un poco más ancha */
}

/* 4. Logo y Enlace */
.footer-logo-link {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 289px !important; /* Ancho exacto solicitado */
    height: auto;
    display: block;
}

/* 5. Títulos y Textos */
.footer-col h4 {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #06090D;
    margin-top: 0;
}

.footer-col p {
    font-size: 16px;
    color: #4c5e81;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* 6. ELIMINACIÓN DE BULLETS (Services Menu) */
.footer-menu-services ul, 
.footer-services-list,
#menu-servicios-mobile-1 {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-menu-services ul li,
.footer-services-list li,
#menu-servicios-mobile-1 li {
    list-style: none !important;
    padding: 0 !important;
    margin-bottom: 12px !important;
    background: none !important; /* Elimina posibles iconos de fondo del tema */
}

.footer-menu-services ul li a,
.footer-services-list li a {
    text-decoration: none !important;
    color: #4c5e81 !important;
    font-size: 16px;
    transition: 0.3s ease;
}

.footer-menu-services ul li a:hover {
    color: #163160 !important;
}

/* 7. Horario Especial (Evening and Saturdays) */
.special-hours {
    font-size: 16px !important;
    color: #6A6B6E !important; /* Color solicitado */
    display: block;
}

/* 8. Copyright e Inferiores (Dentro de la tarjeta blanca, sin línea) */
.footer-bottom-internal {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #6A6B6E;
    border: none !important; /* Asegura que no haya línea arriba */
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: inherit;
    text-decoration: none;
}

.legal-links a:hover {
    text-decoration: underline;
}

/* 9. Adaptación Móvil */
@media (max-width: 1024px) {
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-logo-img {
        width: 100%;
        max-width: 289px;
    }

    .footer-bottom-internal {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .legal-links {
        gap: 15px;
    }
}