body {
    background-color: white;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    -webkit-font-smoothing: antialiased; /* Safari, Chrome y navegadores basados en Chromium */
    -moz-osx-font-smoothing: grayscale;
}

header {
    color: white;
    width: 100%;
}

main {
    width: 100%;
    font-family: 'Montserrat', sans-serif;
}

.titulo-1 {
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 20px;
    color: #0c72a0;
    font-weight: bolder;
}

.titulo-1-white {
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 20px;
    color: #FFFFFF;
    font-weight: bolder;
}

.titulo-2 {
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 18px;
    color: #0c72a0;
    font-weight: bolder;
}

.titulo-2-turquesa {
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 18px;
    color: #00bec8;
    font-weight: bolder;
}

.titulo-3 {
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 16px;
    color: #0c72a0;
    font-weight: bolder;
}

.titulo-3-black {
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 16px;
    color: #000000;
    font-weight: bolder;
}

.texto-companion-0 {
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 20px;
    color: #0c72a0;
}

.texto-companion-0a {
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 20px;
    color: #00bec8;
}

.texto-companion-1 {
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 18px;
    color: #0c72a0;
}

.texto-companion-1-turquesa {
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 17px;
    color: #00bec8;
}

.texto-companion-2 {
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 16px;
    color: #0c72a0;
}

.texto-companion-3 {
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 14px;
    color: #0c72a0;
}

.texto-simple-0 {
    font-size: 18px;
    color: #000000;
}

.texto-simple-0-w {
    font-size: 18px;
    color: #FFFFFF;
}

.texto-simple-0-verde {
    font-size: 18px;
    color: #0c72a0;
}

.texto-simple-1 {
    font-size: 16px;
    color: #000000;
}

.texto-simple-1-w {
    font-size: 16px;
    color: #FFFFFF;
}

.texto-simple-2 {
    font-size: 14px;
    color: #000000;
}

.header-contact {
    background-color: #00bec8;
    height: 60px;
}

.header-contact-top {
    width: 100%;
    max-width: 1200px;
    height: 50px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 5px;
}

.header-contact-sedes {
    display: flex;
    height: 45px;
    flex-direction: row;
    align-items: center;
}

.header-contact-sede {
    display: flex;
}

.header-contact-sede-icono {
    display: flex;
    align-items: center;
}

.icon-circle {
    background-color: #FFFFFF;
    color: #00bec8 !important;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
}

.icon-circle-2 {
    font-size: 24px;
}

.icon-circle-3 {
    font-size: 0.9rem;
}

.header-contact-sede-contenido {
    margin-left: 5px;
    margin-right: 20px;
}

.header-contact-sede-nombre {
    font-size: 11px;
    font-weight: bold;
}

.header-contact-sede-telefono {
    font-size: 15px;
}

.header-contact-networks {
    display: flex;
    height: 45px;
    align-items: center;
}

.header-contact-network {
    margin-left: 5px;
    margin-right: 5px;
}

.header-contact-network a {
    text-decoration: none;
    color: #FFFFFF;
}

.header-contact-network a:visited {
    text-decoration: none;
    color: #FFFFFF;
}

.header-contact-label {
    font-size: 11px;
}

.header-logo {
    width: 100%;
    height: 100px;
    background-color: #0c72a0;
    display: flex;
    align-items: center;
}

.header-logo-imagotipo {
    max-width: 200px;
    margin: auto;
    display: flex;
    align-items: center;
}

.marca-imagotipo {
    height: 90px;
    width: auto;
    display: flex;
}

/* MENU RESPONSIVE */

/* --- Botón Hamburguesa Estilizado --- */
.menu-responsive-icon {
  width: 42px;
  height: 40px;
  border: 1px solid #00bec8;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.menu-responsive-icon:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.responsive-bar {
  width: 20px;
  height: 2px;
  background-color: #00bec8;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* --- Menú Desplegable --- */
.nav-links-mobile {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  background-color: #0c72a0; /* Un tono azul ligeramente más oscuro para contraste */
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease-in-out, opacity 0.3s ease-in-out;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  z-index: 100;
}

/* Clase 'active' alternada con JavaScript */
.nav-links-mobile.active {
  max-height: 800px; /* Suficiente alto para mostrar los 7 elementos */
  opacity: 1;
}

.nav-links-mobile li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links-mobile li:last-child {
  border-bottom: none;
}

.nav-links-mobile a {
  display: block;
  padding: 14px 24px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.nav-links-mobile a:hover {
  background-color: #0072bb;
  padding-left: 30px; /* Pequeño desplazamiento interactivo al pasar el cursor */
}

/* --- Animación de transform al icono X cuando está activo --- */
.menu-responsive-icon.is-open .responsive-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-responsive-icon.is-open .responsive-bar:nth-child(2) {
  opacity: 0;
}

.menu-responsive-icon.is-open .responsive-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-sede-contacto {
    text-align: center;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-redes-sociales {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 7px;
}

.icon-circle-menu-1 {
    font-size: 1.6em;
}

.icon-circle-menu-2 {
    font-size: 1.5em;
    background: white;
    color: #0c72a0;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
}

.icon-circle-menu-3 {
    font-size: 1.2em;
    background: white;
    color: #0c72a0;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
}

.phone-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 10px 16px !important; /* Invalida el padding por defecto del a */
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background-color 0.2s ease;
}

.phone-item:hover,
.phone-item:active {
    background-color: rgba(255, 255, 255, 0.25);
}

.phone-item i, 
.phone-item img {
    font-size: 1rem;
    color: #00d2ff; /* Color cian de acento para el icono de llamada */
}

.phone-item strong {
    font-weight: 700;
    opacity: 0.9;
}

/* --- Redes Sociales --- */
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 8px;
}

.social-links a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0 !important;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #ffffff !important;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.social-links a:hover {
    background-color: #ffffff;
    color: #0072bb !important; /* Toma el color de la marca al pasarle el cursor */
    transform: translateY(-2px);
}

/* MENU RESPONSIVE */

.menu-mobile {
    margin-right: 20px;
    display: none;
}

.header-menu {
    width: 100%;
    background-color: white;
    color: #0c72a0;
    font-weight: bolder;
    height: 50px;
    display: flex;
}

.header-menu-menu {
    width: 100%;
    max-width: 900px;
    margin:auto;
    background-color: white;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}

.header-menu-item {
    font-size: 13px;
    position: relative; /* Imparable: Sirve como ancla para posicionar el submenú */
    display: flex;
    align-items: center; /* Centra verticalmente el enlace dentro de los 50px del header */
    height: 100%;
}

.header-menu-link {
    text-decoration: none;
    color: #0c72a0;
}

/* Contenedor del submenú oculto por defecto */
.header-submenu {
    display: none;
    position: absolute;
    top: 100%; /* Se ubica justo debajo de la barra del menú */
    left: 0;
    min-width: 180px;
    background-color: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.12); /* Sombra suave */
    border-radius: 0 0 6px 6px;
    padding: 8px 0;
    z-index: 100;
}

/* Mostrar submenú al pasar el cursor sobre el ítem */
.header-menu-item:hover .header-submenu {
    display: flex;
    flex-direction: column;
}

/* Enlaces dentro del submenú */
.header-submenu-link {
    padding: 10px 16px;
    text-decoration: none;
    color: #0c72a0;
    font-size: 13px;
    font-weight: normal;
    transition: background-color 0.2s ease;
    font-weight: bold;
}

/* Efecto hover al pasar sobre cada elemento del submenú */
.header-submenu-link:hover {
    background-color: #f0f7fa;
}

/* --- Item con acordeón --- */
.nav-item-accordion {
    display: flex;
    flex-direction: column;
}

.accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.accordion-toggle a {
    flex: 1;
}

.accordion-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
    padding: 8px;
}

/* Rota la flecha cuando está abierto */
.accordion-toggle.is-open .accordion-icon {
    transform: rotate(180deg);
}

/* Submenú colapsado por defecto */
.submenu-accordion {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 40px;
    margin: 0;
    text-transform: uppercase;
}

.submenu-accordion.is-open {
    max-height: 500px; /* suficiente para cubrir cualquier cantidad razonable de tratamientos */
}

.submenu-accordion li a {
    display: block;
    padding: 8px 0;
    font-size: 12px;
    font-weight: normal;
    color: #FFFFFF;
    text-decoration: none;
}

.submenu-accordion li a:hover {
    color: #084f6e;
}

.page-width {
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.page-width-2 {
    width: 100%;
    max-width: 1360px;
    margin: auto;
}

.page-width-3 {
    width: 100%;
    max-width: 880px;
    margin: auto;
}

.banner-image-class {
    width: 100%;
}

.banner-image-class-120 {
    width: 120%;
}

.bloque-presentacion {
    
}

.bloque-presentacion-introduccion {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap:5px;
    padding-bottom: 20px;
}

.bloque-presentacion-titulo {
    color: #0c72a0;
    font-weight: bolder;
}

.bloque-presentacion-encabezado {
    color: #0c72a0;
    font-weight: bolder;
}

.bloque-presentacion-texto {

}

.nuestras-sedes {
    width: 100%;
    margin-top: 20px;
}

.nuestras-sedes-contenido {
    display: flex;
    flex-direction: column;
}

.sedes-fila {
    display: flex;
    justify-content: space-between;
}

.nuestra-sedes-titulo {
    padding: 10px;
    margin: auto;
    text-align: center;
    margin-bottom: 20px;
}

.nuestra-sede-bloque {
    width: 49%;
}

.nuestra-sede-bloque a {
    text-decoration: none;
}

footer {
    width: 100%;
    background-color: #d8d8d8;
}

.footer-links {
    background-color: #0c72a0;
    color: white;
}

.footer-links-wrapper {
    display: flex;
    margin: auto;
    width: 100%;
    max-width: 1200px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.footer-links-logo {
    width: 33%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.footer-links-imagotipo {
    width: 100%;
    display: flex;
    justify-content: center;
}

.footer-imagotipo {
    width: 80%;
}

.footer-links-web{

}

.footer-links-web-ellipse {
    border: 1px solid #00bec8;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 20px;
}

.footer-links-mapa {
    width: 33%;
    display: flex;
    flex-direction: column;
}

.footer-links-fila {
    display: flex;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
}

.footer-links-titulo {
    font-size: 16px;
    font-weight: bold;
}

.footer-link-enlace {
    font-size: 14px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-weight: bold;
}

.footer-link-enlace a {
    text-decoration: none;
    color: #FFFFFF;
}

.footer-link-enlace a:visited {
    color: #FFFFFF;
}

.footer-links-columna {
    width: 50%;
}

.footer-links-networks {
    width: 33%;
}

.footer-link-siguenos {
    width: 100%;
    display: flex;
    justify-content: center;
}

.footer-link-redes {
    width: 100%;
    display: flex;
    justify-content: center;
}

.footer-link-reclamaciones {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.footer-libro-reclamaciones {
    height: 80px;
    margin: auto;
}

.center-content {
    justify-content: center;
}

.fondo-gris {
    background-color: #eeeeee;
}

.footer-medios {
    padding-top: 10px;
    background-color: #d8d8d8;
}

.footer-medios-pago {
    display: flex;
    justify-content: center;
}

.footer-medios-cabecera {
    color: #0c72a0;
    font-weight: bold;
    font-size: 17px;
    padding-top: 7px;
    margin-right: 10px;
}

.footer-medios-imagen {
    height: 35px;   
}

.footer-medios-sede {
    margin: auto;
    text-align: center;
    color: #0c72a0;
    padding-top: 10px;
    padding-bottom: 10px;
}

.footer-medios-nombre {
    font-weight: bold;
    color: #0c72a0;
    font-size: 17px;
}

.footer-medios-servicios {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.linea-divisoria {
    width: 45%;
    border: 1px solid #0c72a0;
    margin: auto;
}

.linea-divisoria-2 {
    width: 100%;
    border: 1px solid #00bec8;
    margin-top: 10px;
    margin-bottom: 10px;
}

.image-round-10 {
    width: 100%;
    border-radius: 10px;
}

.line-height-15 {
    line-height: 1.5;
}

.opacity-50 {
    opacity: 0.8;
}

.texto-flotante-blanco {
    position: relative;
    top:-50%;
    left: 35%;
    color: #FFFFFF;
    font-size: 30px;
    font-weight: bold;
}

.sede-bloque-whatsapp {
    font-size: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    color: #FFFFFF;
    background-color: #00bec8;
    border-radius: 15px;
    margin-top: 5px;
    font-weight: 500;
}

.sede-bloque-whatsapp a {
    text-decoration: none;
    color: #FFFFFF;
}

.sede-bloque-whatsapp a:visited {
    color: #FFFFFF;
}

.sede-bloque-redes-sociales {
    display: flex;
    font-size: 2em;
}

.sede-bloque-redes-sociales a {
    color: #00bec8;
}

.sede-bloque-redes-sociales a:visited {
    color: #00bec8;
}

.items-center {
    justify-content: center;
}

.items-end {
    justify-content: end;
}

@media (max-width: 768px) {

    .header-contact {
        display: none;
    }

    .footer-links-wrapper {
        flex-direction: column;
        align-items: center;
        width: 95%;
        gap: 15px;
    }

    .footer-links-logo {
        width: 95%;
    }

    .footer-links-mapa {
        width: 95%;
    }

    .footer-links-networks {
        width: 95%;
    }

    .footer-links-fila {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .header-contact-networks {
        justify-content: space-around;
        width: 100%;
        height: 100px;
    }

    .footer-imagotipo {
        width: 100%;
    }

    .footer-links-columna {
        width: unset;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .icon-circle-2 {
        font-size: 50px;
    }

    .icon-circle {
        font-size: 40px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        color: #0c72a0 !important;
    }

    .footer-libro-reclamaciones {
        height: unset;
        width: 50%;
        margin: auto;
    }

    .footer-medios {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-medios-pago {
        display: unset;
    }

    .footer-medios-cabecera {
        font-size: 22px;
    }

    .footer-medios-imagen {
        height: 50px;
    }

    .footer-medios-servicios {
        display: unset;
    }

    .header-contact-label {
        font-size: 16px;
        font-weight: bold;
    }

    .sedes-fila {
        flex-wrap: wrap;
    }

    .nuestra-sede-bloque {
        width: 95%;
        margin: auto;
    }

    .texto-flotante-blanco {
        top: unset;
        left: unset;
        text-align: center;
        top: -120px;
    }

    .bloque-presentacion-introduccion {
        width: 95%;
        margin: auto;
    }

    .page-width-3 {
        max-width: 400px;
    }

    .header-menu {
        display: none;
    }

    .menu-mobile {
        display: block;
    }

    .footer-link-enlace {
        font-size: 17px;
        font-weight: unset;
    }

    .footer-link-reclamaciones {
        font-size: 20px;
        font-weight: bold;
    }

    .banner-image-class {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .banner-image-class-120 {
        width: 100%;
    }

    .revert-mobile {
        flex-direction: column-reverse !important;
    }

}