.iso10 { background-color: #FFE6F0; }
.iso9 { background-color: #D8C5DB; }
.iso8 { background-color: #EEEBF3; }
.iso7 { background-color: #C5C8DB; }
.iso6 { background-color: #E3F2FC; }
.iso1 { background-color:#0F293F;  }
.iso2 { background-color: #0F293F; }
.iso3 { background-color: #0B151D; }
.iso4 { background-color: #FAFAFA; }
.iso5 { background-color: #C2EBF6; }


.logo-navbar{
    width: 80px;
    height: 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-navbar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.4) translateY(3px);   /* Ajusta el zoom */
    transition: transform .3s;
}



.navbar{
    position: fixed;
    z-index: 100;
}
.textoDorado{
    color: #c8a35d;
}

.menuIzq {
    background-color: transparent;
}

.menuIzq .textMenuIzq {
    color: #dac9a9;
    transition: color .3s;
}

.menuIzq.active {
    background-color: #00587eb4;
    border-radius: 0;
}

.menuIzq.active .textMenuIzq {
    color: #c8a35d;
    font-weight: 600;
}

.menuIzq:hover {
    background-color: #00587eb4;
    border-radius: 0;
}

.menuIzq:hover .textMenuIzq {
    color: #c8a35d;
}

.menuDer:hover{
    font-weight:bold;
}
.textMenuDer{
    color: black;
    text-decoration: underline;
}
.textMenuDer:hover{
    color: #00587E;
}

.cardIndex:hover{
    background-color: #dfeef5;
    color:rgb(34, 33, 33);
    cursor: pointer;
}
.cardIndex{
    background-color: #ffffff;
    color:gray;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}
.mtop06{
    margin-top: 0.7rem;
}

.mbotton06{
    margin-top: 0.6rem;
}
h3{
   font-size: 2.5rem; 
}
h4{
    color:gray;
}
.accordion-button {        
    background-color: #dfeef5;
    height: 3rem;
    color:rgb(34, 33, 33);  
}
.accordion-body{
    padding: 1rem;
    background-color: white;
}


/* Abierto */
.accordion-button:not(.collapsed) {
    background-color: #00587eb4;
    color: white;
}

/* Estado cerrado */
.accordion-button.collapsed {
    background-color: #dfeef5;
    color:rgb(34, 33, 33);
}

/* Cuando pierde el foco o acaba de cerrarse */
.accordion-button:focus,
.accordion-button:focus-visible {
    box-shadow: none;
    border-color: transparent;
}






.cardCitas:hover{
    background-color: #00587eb4;
    color:gray;
    cursor: pointer;
}
main{
    min-height:37rem;
}
.imagenFondo{
    background-image: url("https://img.freepik.com/foto-gratis/equipos-e-instrumentos-dentales-oficina-dentista-primer-plano-herramientas_8353-1676.jpg?w=1060&t=st=1684762795~exp=1684763395~hmac=6f52ebcc0f764bf7b87adb9fe6058f6108a06414e8f0d947360e7a786194c1cf");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-attachment: fixed;
}
.creditos{
    color: white;
    text-decoration: none;
    position: relative;
    float: right;
    font-size: 0.7rem;
}
.ocultar {
    display: none;
}
.mostrar {
    display: block;
}
.textoSlider{
    color: white; 
    background-color: rgba(255, 255, 255, 0.6);
    padding: 2rem;
    border-radius: 1rem
}


.logosRRSS{
    width: .5rem;
}


.clinicaMediaBox,
.mapaClinica{
    width:100%;
    height:420px;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 2px 10px rgba(0,0,0,.15);
}

.clinicaImagen,
.mapaClinica iframe{
    width:100%;
    height:100%;
    display:block;
}

.clinicaImagen{
    object-fit:cover;
}

.mapaClinica iframe{
    border:0;
}

.mapaClinica{
    flex:1;
}

.marginImg{
    margin-top: 2.5rem;
}

.ContenidoNoticia{
    height: 800px;
}

.acciones-noticia{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;              /* separación entre botones */
}

.acciones-noticia .btn{
    width: 120px;          /* ambos tendrán exactamente el mismo ancho */
    margin: 0;
}


.noticias-publicas {
    padding-bottom: 3rem;
}

.filtro-noticias {
    max-width: 360px;
    margin: 0 0 2rem auto;
}

.filtro-noticias label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.noticia-card-link {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.noticia-card-link:hover,
.noticia-card-link:focus {
    color: inherit;
    text-decoration: none;
}

.noticia-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.noticia-card-link:hover .noticia-card {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.noticia-card-imagen {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.noticia-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.noticia-categoria {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.noticia-resumen {
    flex: 1;
}

.noticia-card-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
}

.sin-noticias {
    padding: 3rem 1rem;
    text-align: center;
}

@media (max-width: 767px) {
    .filtro-noticias {
        max-width: none;
        margin-left: 0;
    }

    .noticia-card-imagen {
        height: 260px;
    }

    .noticia-card-footer {
        flex-direction: column;
        gap: 0.35rem;
    }
}

.col {
    display: flex;
}

.noticia-card-link,
.noticia-card {
    width: 100%;
    height: 100%;
}

.noticia-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.noticia-resumen {
    flex: 1;
}

.detalle-noticia {
    padding-bottom: 3rem;
}

.detalle-noticia h1 {
    margin-bottom: 1.5rem;
}

.detalle-noticia-categoria {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.detalle-noticia-imagen {
    display: block;
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    margin-bottom: 2rem;
}

.detalle-noticia-texto {
    font-size: 1.05rem;
    line-height: 1.8;
}

.detalle-noticia-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

@media (max-width: 767px) {
    .detalle-noticia-meta {
        flex-direction: column;
    }
}

.footer-contenido {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-columna {
    align-self: flex-start;
}

.footer-titulo {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.footer-texto {
    margin-top: 0;
    line-height: 1.6;
}

.footer-lista {
    margin-top: 0;
}

.footer-lista li {
    margin-bottom: 0.5rem;
}
.footer-contacto {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-contacto .footer-titulo {
    display: block;
    width: 100%;
    margin: 0 0 0.75rem;
}

.footer-contacto-contenido {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-red-social {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-icono {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
}

.footer-email {
    display: block;
    margin: 0;
}

/* Móviles */
@media (max-width: 600px) {
    .footer-contacto {
        margin-top: 1.5rem;
    }

    .footer-copyright .right {
        float: none !important;
        display: block;
        margin-top: 0.5rem;
    }
}

/*----------------------------------------------------
  SELECT DE TRATAMIENTOS
----------------------------------------------------*/

.select-wrapper{
    position: relative;
}

.select-wrapper::after{
    content: "expand_more";
    font-family: "Material Icons";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: #17324d;
    pointer-events: none;
    transition: .25s;
}

.select-wrapper:hover::after{
    color: #c59b44; /* Dorado OdontoLuz */
}

.select-wrapper select{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    padding-right: 50px;
    cursor: pointer;
}

.titulo-seccion {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 1rem;
}

.titulo-seccion-decoracion {
    display: block;
    width: 52px;
    height: 3px;
    margin: 0 auto 1rem;
    background-color: #c8a35d;
    border-radius: 999px;
}

.titulo-seccion h2 {
    margin: 0;
    color: #0f293f;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1.2;
}

.titulo-seccion p {
    margin: 0.8rem 0 0;
    color: #6f7b84;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .titulo-seccion h2 {
        letter-spacing: 0.06em;
    }

    .titulo-seccion p {
        font-size: 0.95rem;
    }
}

/* =====================================================
   SLIDER PRINCIPAL
===================================================== */
.slider,
.slider .slides,
.slider .slides li {
    height: 450px !important;
}

.slider .slides {
    overflow: hidden;
}

.slider .slides li {
    overflow: hidden;
}

.slider .slides li img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* Mueve el encuadre hacia abajo */
    object-position: center 80%;
}

/* Mantener el texto centrado */
.slider .slides li .caption {
    top: 20% !important;
    left: 15% !important;
    width: 70% !important;
    text-align: center;
}

/* Caja exterior del texto */
.slider .slides li .caption {
    padding: 1.5rem 2rem;
}

/* Título */
.slider .slides li .caption h3 {
    margin-top: 0;
    text-align: center;
}

/* Descripción */
.slider .slides li .caption .textoSlider {
    width: 80%;
    max-width: 950px;
    margin: 1rem auto 0;
    text-align: center;
}

@media (max-width: 992px) {
    .slider,
    .slider .slides,
    .slider .slides li {
        height: 400px !important;
    }

    .slider .slides li img {
        object-position: center 70%;
    }

    .slider .slides li .caption {
        top: 20% !important;
        left: 8% !important;
        width: 84% !important;
    }

    .slider .slides li .caption .textoSlider {
        width: 95%;
    }
}

@media (max-width: 600px) {
    .slider,
    .slider .slides,
    .slider .slides li {
        height: 390px !important;
    }

    .slider .slides li img {
        object-position: center 56%;
    }

    .slider .slides li .caption {
        top: 8% !important;
        left: 5% !important;
        width: 90% !important;
        padding: 1rem;
    }

    .slider .slides li .caption h3 {
        font-size: 1.7rem;
    }

    .slider .slides li .caption .textoSlider {
        width: 100%;
        font-size: 1rem;
        padding: 1rem;
    }
}
