/* ==========================================================
   VARIABLES Y ESTILOS BASE
   ========================================================== */
:root {
    --color-principal: #0d2a5c; 
    --color-acento: #00b4d8;    
    --color-texto: #333333;
    --fuente-principal: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    margin: 0;
    font-family: var(--fuente-principal);
    color: var(--color-texto);
}

.contenedor {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* ==========================================================
   CABECERA Y MENÚ
   ========================================================== */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eeeeee;
    flex-wrap: wrap;
    gap: 20px;
}

.logo img {
    max-width: 250px;
    height: auto;
}

.header-info {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
}

.info-item i {
    font-size: 28px;
    color: var(--color-acento);
}

.info-texto {
    display: flex;
    flex-direction: column;
}

.info-texto span {
    color: #666;
}

.info-texto strong {
    color: var(--color-principal);
    font-weight: 600;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: #333333;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
    padding-bottom: 5px;
    border-bottom: 3px solid transparent;
}

.nav-links a:hover {
    color: var(--color-acento);
}

.nav-links a.activo {
    color: #000000;
    border-bottom: 3px solid transparent;
}

.redes-sociales {
    display: flex;
    gap: 15px;
}

.redes-sociales a {
    color: var(--color-acento);
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s;
}

.redes-sociales a:hover {
    color: var(--color-principal);
}


/* ==========================================================
   SECCIÓN HERO (Banner Principal)
   ========================================================== */
.hero-seccion {
    background-color:  #f0f8ff; 
    width: 100%;                  
    overflow: hidden;             
}

.hero-grid {
    display: flex;                
    flex-direction: row;          
    align-items: center;          
    justify-content: flex-start;  
    width: 100%;
    max-width: 1600px;            
    margin: 0 auto;
    padding-left: 80px;           
    padding-right: 0px;           
    gap: 20px;
    box-sizing: border-box;
}

.hero-contenido {
    flex: 1;                      
    max-width: 580px;
}

.hero-bienvenida {
    font-size: 20px;       
    color: #444;           
    letter-spacing: 3px;   
    margin-bottom: 8px;
    font-weight: 700;
}

.hero-titulo {
    font-size: 42px;
    color: var(--color-principal); 
    line-height: 1.1;
    margin: 0 0 15px 0;
    font-weight: 900;
}

.hero-linea {
    width: 150px;
    height: 2px;
    background-color: var(--color-principal);
    border: none;
    margin: 0 0 20px 0;
}

.hero-subtitulo {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.5;
}

.hero-lista {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.hero-lista li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-lista li i {
    color: var(--color-principal);
    font-size: 13px;
}

.hero-botones {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    transition: all 0.3s ease;
}

.btn-cita {
    background-color: var(--color-principal);
    color: white;
}

.btn-cita:hover {
    background-color:  #081d45;  
}

.btn-whatsapp {
    background-color: #25D366; 
    color: white;
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
}

.hero-imagen {
    flex: 1.4;                    
    display: flex;
    justify-content: flex-end;    
}

.hero-imagen img {
    width: 100%;
    max-width: 850px;             
    height: auto;
    border-radius: 20px 0 0 20px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.06); 
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 30%, rgba(0,0,0,1) 100%);
    mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 30%, rgba(0,0,0,1) 100%);
}


/* ==========================================================
   SECCIÓN SUCURSALES
   ========================================================== */
.seccion-sucursales {
    padding: 80px 20px;
    background-color: #ffffff;
}

.contenedor-sucursales {
    max-width: 1400px;
    margin: 0 auto;
}

.titulo-seccion-con-lineas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;                     
    max-width: 1350px;            
    margin: 0 auto 50px auto;
}

.titulo-seccion-con-lineas h2 {
    font-size: 30px;
    color: var(--color-principal);
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0;
    white-space: nowrap;          
}

.linea-lateral {
    flex: 1;
    height: 2px;
    background-color: #000000;    
    border-radius: 2px;
}

.grid-sucursales {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Forzamos exactamente 3 columnas iguales */
    gap: 30px;
}

/* Clase específica para colocar a Villa Bonita abajo en el centro (columna 2) */
.tarjeta-villa-bonita {
    grid-column: 2 / 3;
}

/* Opcional: Para pantallas pequeñas (celulares), volvemos a una sola columna para que no se deforme */
@media (max-width: 992px) {
    .grid-sucursales {
        grid-template-columns: 1fr;
    }
    .tarjeta-villa-bonita {
        grid-column: auto;
    }
}
.tarjeta-sucursal {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(13, 42, 92, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 180, 216, 0.1);
}

.tarjeta-sucursal:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(13, 42, 92, 0.12);
}

.sucursal-imagen {
    width: 100%;
    height: 270px;
    overflow: hidden;
}

.sucursal-imagen img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    background-color: #f8fafc; 
    transition: transform 0.5s ease;
}

.tarjeta-sucursal:hover .sucursal-imagen img {
    transform: scale(1.05); 
}

.sucursal-info {
    padding: 25px;
}

.sucursal-info h3 {
    font-size: 20px;
    color: var(--color-principal);
    margin: 0 0 15px 0;
    font-weight: 700;
}

.sucursal-info p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0 0 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.sucursal-info p i {
    color: var(--color-acento);
    font-size: 16px;
    margin-top: 2px;
}

.sucursal-telefono {
    font-weight: 600;
    color: var(--color-principal) !important;
}

.enlace-sucursal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: var(--color-acento);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: color 0.3s ease;
}

.enlace-sucursal i {
    transition: transform 0.3s ease;
}

.enlace-sucursal:hover {
    color: var(--color-principal);
}

.enlace-sucursal:hover i {
    transform: translateX(5px); 
}


/* ==========================================================
   SECCIÓN TRATAMIENTOS (Carrusel Fluido de 5 elementos)
   ========================================================== */
.seccion-tratamientos {
    padding: 40px 20px;
    background-color: #f9fbff;
    overflow: hidden;
}

.contenedor-tratamientos {
    max-width: 1400px;
    margin: 0 auto;
}

/* Contenedor deslizante con scroll oculto pero funcional */
.grid-tratamientos {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    /* scroll-behavior: smooth;*/
    user-select: none;
    -webkit-overflow-scrolling: touch;
    padding: 20px 5px;
    cursor: grab;
    user-select: 30px;
    margin-bottom: 30px;
    will-change: scroll-position;
}

/* Evita también que las imágenes o textos internos activen la selección al arrastrar */
.grid-tratamientos * {
    user-select: none;
    pointer-events: none;       /* Permite que el clic los ignore y mueva el contenedor directamente */
}

/* Permitir que los enlaces sigan funcionando si alguien les hace clic directamente sin arrastrar */
.grid-tratamientos a {
    pointer-events: auto;
}

.grid-tratamientos:active {
    cursor: grabbing;
}

/* Ocultar barra de scroll en navegadores */
.grid-tratamientos::-webkit-scrollbar {
    display: none;
}
.grid-tratamientos {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Tarjeta individual: calculada exactamente para mostrar 5 tarjetas visibles */
.tarjeta-tratamiento {
    flex: 0 0 calc((100% - (4 * 25px)) / 5);
    min-width: 220px;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(13, 42, 92, 0.05);
    border: 1px solid rgba(0, 180, 216, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-tratamiento:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(13, 42, 92, 0.1);
}

.tratamiento-imagen {
    width: 100%;
    height: 170px;
    overflow: hidden;
}

.tratamiento-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transition: transform 0.4s ease;
}

.tarjeta-tratamiento:hover .tratamiento-imagen img {
    transform: scale(1.08);
}

.tratamiento-caja-titulo {
    background-color: var(--color-principal);
    padding: 12px 10px;
    text-align: center;
}

.tratamiento-caja-titulo h3 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
}

.tratamiento-info {
    padding: 18px;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.tratamiento-info p {
    font-size: 14.5px;
    color: #444;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

.contenedor-boton-tratamientos {
    text-align: center;
}

.btn-todos-tratamientos {
    display: inline-block;
    background-color: var(--color-principal);
    color: #ffffff;
    padding: 14px 35px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(13, 42, 92, 0.2);
    transition: all 0.3s ease;
}

.btn-todos-tratamientos:hover {
    background-color: #081d45;
    transform: translateY(-2px);
}

/* Responsivo para tablets y celulares */
@media (max-width: 1200px) {
    .tarjeta-tratamiento {
        flex: 0 0 calc((100% - (2 * 25px)) / 3); /* 3 tarjetas en pantallas medianas */
    }
}

@media (max-width: 768px) {
    .tarjeta-tratamiento {
        flex: 0 0 80%; /* 1 tarjeta amplia en celulares */
    }
}




/* ==========================================================
   SECCIÓN TODOS NUESTROS TRATAMIENTOS
   ========================================================== */
.seccion-todos-tratamientos {
    padding: 40px 20px;
    background-color: #ffffff;
}

.contenedor-todos-tratamientos {
    max-width: 1400px;
    margin: 0 auto;
}

.grid-categorias {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 25px;
    margin-bottom: 20px;
}

.tarjeta-categoria {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(13, 42, 92, 0.05);
    border: 1px solid rgba(0, 180, 216, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-categoria:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(13, 42, 92, 0.1);
}

.categoria-titulo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf2f7;
}

.categoria-titulo i {
    font-size: 22px;
    color: var(--color-principal);
}

.categoria-titulo h3 {
    font-size: 18px;
    color: var(--color-principal);
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.5px;
}

.lista-tratamientos {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista-tratamientos li {
    margin-bottom: 14px;
}

.lista-tratamientos li a {
    text-decoration: none;
    color: #333333;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.lista-tratamientos li a::before {
    content: "";
    width: 6px;
    height: 6px;
    background-color: var(--color-acento);
    border-radius: 50%;
}

.lista-tratamientos li a:hover {
    color: var(--color-principal);
    transform: translateX(4px);
}





/* ==========================================================
   SECCIÓN EQUIPO, TESTIMONIOS Y BLOG
   ========================================================== */
.seccion-info-extra {
    padding: 80px 20px;
    background-color: #f9fbff;
}

.contenedor-info-extra {
    max-width: 1400px;            
    margin: 0 auto;
}

.grid-info-extra {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); 
    gap: 35px;
}

.tarjeta-extra {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px;                
    box-shadow: 0 10px 25px rgba(13, 42, 92, 0.05);
    border: 1px solid rgba(0, 180, 216, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-extra:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(13, 42, 92, 0.1);
}

.titulo-tarjeta-extra {
    font-size: 21px;              
    color: var(--color-principal);
    font-weight: 800;
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.equipo-fotos {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 25px;
}

.miembro-equipo {
    text-align: center;
    flex: 1;
}

.miembro-equipo img {
    width: 90%;                  
    height: 200px;                
    border-radius: 12px;          
    object-fit: cover;            
    object-position: top center;  
    margin-bottom: 12px;
    border: 2px solid rgba(0, 180, 216, 0.3);
    box-shadow: 0 6px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

.miembro-equipo img:hover {
    transform: scale(1.03);       
}

.miembro-equipo h4 {
    font-size: 15px;              
    color: var(--color-principal);
    margin: 0 0 4px 0;
    font-weight: 700;
}

.miembro-equipo span {
    font-size: 12px;              
    color: #555;
    font-weight: 600;
}

.caja-testimonio {
    background-color: #f4f8fb;
    border-radius: 12px;
    padding: 25px;
    position: relative;
    margin-bottom: 25px;
}

.icono-comillas {
    color: var(--color-acento);
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.texto-testimonio {
    font-size: 16px;              
    color: #333;
    line-height: 1.6;
    margin: 0 0 15px 0;
    font-weight: 500;
}

.estrellas {
    color: #ffc107;
    font-size: 15px;
    margin-bottom: 10px;
}

.autor-testimonio {
    font-size: 15px;              
    color: var(--color-principal);
    font-weight: 700;
    margin: 0;
}

.puntos-carrusel {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.punto {
    width: 9px;
    height: 9px;
    background-color: #cbd5e1;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.punto.activo {
    background-color: var(--color-principal);
    width: 24px;
    border-radius: 4px;
}

.lista-blog {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.item-blog {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    padding: 10px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.item-blog:hover {
    background-color: #f4f8fb;
}

.item-blog img {
    width: 80px;                  
    height: 65px;
    border-radius: 8px;
    object-fit: cover;
}

.item-blog span {
    font-size: 15px;              
    color: #222;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.item-blog:hover span {
    color: var(--color-acento);
}

.pie-tarjeta-extra {
    text-align: center;
    border-top: 1px solid #edf2f7;
    padding-top: 18px;
    margin-top: 18px;
}

.pie-tarjeta-extra a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-principal);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;              
    transition: color 0.3s ease;
}

.pie-tarjeta-extra a i {
    color: var(--color-acento);
    transition: transform 0.3s ease;
}

.pie-tarjeta-extra a:hover {
    color: var(--color-acento);
}

.pie-tarjeta-extra a:hover i {
    transform: translateX(5px);
}


/* ==========================================================
   CTA, BENEFICIOS Y FOOTER
   ========================================================== */
.seccion-cta-final {
    padding: 30px 20px;
    background-color: #f9fbff;
}

.contenedor-cta {
    max-width: 1300px;
    margin: 0 auto;
    background-color: var(--color-principal);
    border-radius: 16px;
    padding: 35px 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    box-shadow: 0 15px 35px rgba(13, 42, 92, 0.15);
}

.cta-info {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 700px;
}

.cta-icono {
    font-size: 38px;
    color: var(--color-acento);
    background: rgba(255, 255, 255, 0.08);
    padding: 18px;
    border-radius: 12px;
}

.cta-info h3 {
    color: #ffffff;
    font-size: 22px;
    margin: 0 0 6px 0;
    font-weight: 800;
}

.cta-info p {
    color: #cbd5e1;
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

.cta-botones {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-cta-whatsapp {
    background-color: #25D366;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.btn-cta-whatsapp:hover {
    background-color: #1ebe57;
}

.btn-cta-agendar {
    background-color: transparent;
    color:  #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-cta-agendar:hover {
    background-color: #ffffff;
    color: var(--color-principal);
    border-color: #ffffff;
}

.seccion-beneficios {
    background-color: #ffffff;
    padding: 50px 20px;           /* Aumentamos el espacio vertical para que respire mejor */
    border-bottom: 1px solid #edf2f7;
}

.contenedor-beneficios {
    max-width: 1400px;            /* Ampliamos el ancho total a juego con las demás secciones */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.item-beneficio {
    display: flex;
    align-items: center;
    gap: 16px;                    /* Mayor espacio entre el ícono y el texto */
    flex: 1;
    min-width: 220px;
    justify-content: center;
    text-align: left;
}

.item-beneficio i {
    font-size: 52px;              /* Íconos significativamente más grandes y llamativos */
    color: var(--color-acento);
}

.item-beneficio span {
    font-size: 15px;              /* Texto más grande, claro y cómodo de leer para el cliente */
    font-weight: 700;             /* Texto con más cuerpo y presencia */
    color: #222;                  /* Tono más oscuro para mayor contraste */
    line-height: 1.3;
}

.footer-principal {
    background-color: var(--color-principal);
    color: #ffffff;
    padding: 60px 20px 20px 20px;
}

.contenedor-footer {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-col img {
    max-width: 220px;
    height: auto;
    margin-bottom: 15px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--color-acento);
    padding-left: 4px;
}

.footer-col p {
    color: #cbd5e1;
    font-size: 14px;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col p i {
    color: var(--color-acento);
}

.footer-redes {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-redes a {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-redes a:hover {
    background-color: var(--color-acento);
    transform: translateY(-3px);
}

.footer-copyright {
    text-align: center;
    padding-top: 25px;
}

.footer-copyright p {
    color: #94a3b8;
    font-size: 13px;
    margin: 0;
}

@media (max-width: 900px) {
    .contenedor-footer {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .contenedor-cta {
        flex-direction: column;
        text-align: center;
    }
    .cta-info {
        flex-direction: column;
        text-align: center;
    }
}



/* Contenedor principal del menú desplegable */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Estilo del botón principal del menú */
.dropbtn {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropbtn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

/* Caja del menú desplegable (oculta por defecto) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    border-radius: 8px;
    overflow: hidden;
    top: 100%;
    left: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Estilo de los enlaces dentro del menú desplegable */
.dropdown-content a {
    color: #0d2a5c !important;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

/* Efecto hover al pasar el cursor por las opciones */
.dropdown-content a:hover {
    background-color: #f0f7ff;
    padding-left: 20px;
    color: #00b4d8 !important;
}

/* Mostrar el menú al pasar el cursor (efecto hover desktop) */
.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Rotar la flechita cuando se despliega */
.dropdown:hover .dropbtn i {
    transform: rotate(180deg);
}


/* ==========================================================
   ESTILOS ESPECÍFICOS bloque PARA SUCURSALES Y EQUIPO 
   ========================================================== */
.kennedy-hero {
    padding: 50px 0;
}

.kennedy-grid {
    padding-left: 0; 
    justify-content: space-between;
    display: flex;
    align-items: center;
}

.kennedy-contenido {
    max-width: 600px;
}

.kennedy-img-container {
    justify-content: center;
    display: flex;
    flex: 1.4;
}

.kennedy-img-container img {
    border-radius: 20px; 
    mask-image: none; 
    -webkit-mask-image: none; 
    max-width: 650px;
    width: 100%;
    height: auto;
}

.kennedy-equipo-seccion {
    background-color: #ffffff;
    padding: 60px 20px;
}

.tarjeta-equipo-kennedy {
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 40px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(13, 42, 92, 0.06);
    border: 1px solid rgba(0, 180, 216, 0.12);
}

.titulo-equipo-kennedy {
    font-size: 21px;
    color: var(--color-principal);
    font-weight: 800;
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.equipo-fotos-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.miembro-card {
    flex: 1;
    min-width: 260px;
    max-width: 300px;
    text-align: center;
}

.miembro-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: top center;
    border-radius: 12px;
    border: 2px solid rgba(0, 180, 216, 0.3);
    margin-bottom: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.06);
}

.miembro-card h4 {
    font-size: 16px;
    color: var(--color-principal);
    margin: 0 0 4px 0;
    font-weight: 700;
}

.miembro-card span {
    font-size: 13px;
    color: #555;
    font-weight: 600;
}

.seccion-formulario-kennedy {
    padding: 80px 20px; 
    background-color: #f0f8ff;
}

.contenedor-form-kennedy {
    max-width: 800px;
    margin: 0 auto;
}

.caja-formulario-agendar {
    background: #ffffff; 
    padding: 40px; 
    border-radius: 16px; 
    box-shadow: 0 15px 35px rgba(13, 42, 92, 0.08); 
    border: 1px solid rgba(0, 180, 216, 0.2);
}

.form-grupo {
    margin-bottom: 20px;
}

.form-grupo label {
    display: block; 
    font-weight: 700; 
    color: var(--color-principal); 
    margin-bottom: 8px; 
    font-size: 14px;
}

.form-grupo input, 
.form-grupo select {
    width: 100%; 
    padding: 12px 15px; 
    border: 1px solid #cbd5e1; 
    border-radius: 8px; 
    font-size: 15px; 
    outline: none;
    background: #fff;
    font-family: var(--fuente-principal);
    color: var(--color-texto);
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-grupo input:focus, 
.form-grupo select:focus {
    border-color: var(--color-acento);
}

.form-row-doble {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
    margin-bottom: 20px;
}

.contenedor-btn-enviar {
    text-align: center;
    margin-top: 30px;
}

.btn-enviar-kennedy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%; 
    max-width: 350px;
    padding: 15px 25px; 
    font-size: 16px; 
    cursor: pointer;
    background-color: var(--color-principal);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(13, 42, 92, 0.2);
    transition: background 0.3s ease;
}

.btn-enviar-kennedy:hover {
    background-color: #081d45;
}

@media (max-width: 768px) {
    .form-row-doble {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .kennedy-grid {
        flex-direction: column;
    }
}