.loaderLogo {
    margin-right: auto;
    margin-left: auto;
    margin-top: 40vh;
    width: 10vh;
}

.loaderLogo img {
    width: 100% !important;
    margin: auto;
}

.alertas {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    color: gray;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    display: none;
}

h5 {
    color: #243A5C !important;
}

h6 {
    color: #243A5C !important;
}

.restaltado {
        color: #e74c3c;
}
.organigrama{
    margin: auto;
    width: 60%;
}
/* ======== HOME VIDEO BACKGROUND ======== */

/* Contenedor principal de toda la sección */
.video-background-holder {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

/* Fondo de video con iframe 100% cover */
.vimeo-background {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  z-index: -1;
}

.vimeo-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  /* Relación adaptable 16:9 */
  height: max(100vh, calc(100vw * 0.5625));  /* 9/16 = 0.5625 */
  width: max(100vw, calc(100vh * 1.7778));   /* 16/9 = 1.7778 */

  object-fit: cover;
  pointer-events: none;
  border: none;
}


/* Capa oscura arriba del video */
.video-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

/* Contenido encima */
.video-background-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #fff;
  padding: 300px;

  margin: 0 20px;
  font-family: 'Open Sans', sans-serif;
}

.video-background-content img {
  max-width: 250px;
  margin-bottom: 25px;
  filter: brightness(200%) contrast(100%);
}

.video-background-content h2 {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 40px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

/* Botón Ver en YouTube */
.yt-link {
  position: absolute;
  bottom: 40px;
  left: 80px;
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 12px;
  border-radius: 4px;
  z-index: 2;
  transition: background 0.3s ease, color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.yt-link:hover {
  background: rgba(255, 0, 0, 0.4);
  color: #fff;
}

/* Flecha hacia abajo */
.arrowDown {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 2.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  cursor: pointer;
  opacity: 0.8;
}

.arrowDown:hover {
  transform: translateY(5px) translateX(-50%);
  animation: bounceHover 0.8s ease-in-out;
}

.arrowDown:hover i {
  transform: scale(1.2);
}

@keyframes bounceHover {
  0%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  50% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .video-background-content h2 {
    font-size: 1.5rem;
  }

  .video-background-content img {
    max-width: 180px;
  }

  .yt-link {
    font-size: 0.85rem;
    padding: 6px 10px;
    left: 15px;
    bottom: 15px;
  }
}



/* Home Video end */


.back-to-top {
    transition: all 0.3s ease !important;
  }
  .back-to-top:hover {
    transform: translateY(-5px);
  }

.navBarMyClasses .container {
    justify-content: space-between;
    align-items: center;
  }
  .navBarMyClasses .navbar-brand {
    margin-right: auto;
    padding-right: 15px;
  }


  .navBarMyClasses .navbar-toggler {
    margin-left: 15px;
  }

.navBarMyClasses {
    height: 100px;
    display: flex;
    align-items: center;
    padding: 0 2rem;

}

.navBarItemsMyClasses {
    justify-content: space-between;
    display: flex;
    text-align: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.navBarItemsMyClasses li {
    margin: 0 10px;
    position: relative;
}

.navBarItemsMyClasses li a {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    text-align: center;
    transition: all 0.3s ease;
    padding: 8px 12px;
    color: #243A5C;
    
}

.navBarItemsMyClasses li a:hover {
    color: #243A5C !important;
    transform: translateY(-2px);
}

.navBarMain{
    justify-content: center !important;
}

.nav-recreo{
   margin-bottom: 19px;
}


.trabaja-link {
    font-weight: 600;
    color: #243A5C !important;
    border: none;
    border-radius: 0;
    background: none;
    padding: 7px 0 7px 0 !important;
    min-width: 120px;
    max-width: 160px;
    white-space: normal;
    text-align: center;
    display: inline-block;
}

.contactoWpp {
    width: 30px;
    margin-left: 2vw;
    margin-right: -5vw;
}

.contactoWpp2 {
    display: none;
}

.contactoWpp img {
    width: 100%;
    height: 100%;
}

/* HOME */
.homeTextos h2{
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 500 !important;
}

.arrowDown{
    z-index: 10;
}
.arrowDown:hover {
    transform: translateX(-50%) translateY(5px);
}

.arrowDown:hover i {
    color: #e74c3c;
}


/* Quienes somos */

.nosotrosContainerMyClasses {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: auto;
    padding: 5%;
}

.nosotrosContainerMyClasses2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: auto;
    padding: 5%;
}

.nosotrosSomosHeader {
    margin-top: -5vh;
    text-align: left !important;
    
}

.instalacionesHeader{
     text-align: left !important;
     padding: 0 10%;

}

.nosotrosImgContainerMyClasses {
    width: 35%;
    padding: 2%;
}

.nosotrosImgContainerMyClasses img {
    width: 100%;
    height: 100%;
}

.nosotrosTextContainerMyClasses {
    text-align: center;
    width: 50%;
    padding: 2%;
}

.nosotrosTextContainerMyClasses p {
    text-align: justify;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 5%;
}

.nosotrosTextContainerMyClasses h4 {
    text-align: justify;
    font-weight: 800;
    color: #243A5C;
    font-size: 1.2rem;
    margin-top: 2%;
}

.nosotrosTextContainerMyClasses img {
    width: 100%;
}

.nosotrosBanner {
    height: 45vh;
    width: 100%;
    background: url(../img/Fotos/exteriorNew.jpg);
    background-position: center;
    background-size: cover;
}


/* Servicios */

#servicios {
    background-color: #EFECE1;
    background-image: url(../img/PNG/Flores-09.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: 90%;

}

.serviciosHeader {
    display: flex;
    flex-direction: column;
}

.serviciosHeader h2 {
    text-align: left;
}

.serviciosHeader h4 {
    color: #243A5C;
    width: 80%;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.serviciosTitulosContainer {
    display: flex;
    flex-direction: column;
}

.serviciosTitulos {
    width: 25%;
}

.serviciosTitulos img {
    width: 100%;
}

.serviciosTitulosContainer ul {
    margin: 6%;
    width: 40%;

}

.serviciosTitulosContainer ul li {
    list-style: disc;
    font-weight: 500;
    font-size: 1.1rem;

}

.serviciosListaContainer {
    display: flex;
}


.profesionalesContainer {

    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    width: 70%;
    margin: auto;
}

.profesionalesListaContainer h2 {
    color: #243A5C;
    text-align: left;
    width: 50%;
}

.profesionalesListaContainer ul {
    margin: 2%;

}

.profesionalesListaContainer ul li {

    font-size: 1rem;
    font-weight: bold;
}

.profesionalesIcon {
    width: 2vw;
}

.profesionalesIcon img {
    width: 100%;
    height: 100%;
}

.profesionalesImgContainer {
    width: 30vw;

}

.profesionalesImgContainer img {
    width: 100%;
    height: 100%;
}

/* Instalaciones */

.instalacionesContainerMyClasses {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: auto;
    padding-bottom: 6%;
}

.instalacionesContainerMyClasses3 {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: auto;
    padding-bottom: 6%;
}

.instalacionesContainerMyClasses3 h4 {
    color: #243A5C;
    width: 80%;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.instalacionesImgContainerMyClasses {
    width: 55%;
    margin: auto;
}

.instalacionesImgContainerMyClasses img {
    width: 100%;
    height: 100%;
}


.instalacionesTextContainerMyClasses {
    text-align: center;
    width: 50%;
}

.instalacionesTextContainerMyClasses p {
    margin: auto;
    width: 80%;
    text-align: left;
    font-weight: 500;
    font-size: 1rem;
    margin-top: 4%;
}


.instalacionesHabTitulos {
    text-align: left;
    width: 80%;
    margin: auto;
}

.instalacionesTextContainerMyClasses h4 {
    margin: auto;
    color: #243A5C;
    width: 80%;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}


.instalacionesTextContainerMyClasses h6 {
    font-weight: 800;
    font-size: 1.2;

}

.instalacionesTextContainerMyClasses img {
    width: 100%;
}

.instalacionesHeader {
    margin-top: 8vh;
}

.ubicacion {
    margin-top: 6%;
    margin-bottom: 6%;
}

.bannerDrone {
    width: 100%;
    height: 60vh;
    background-image: url(../img/Fotos/Drone10.jpg);
    background-position: center;
    background-size: cover;

}

.centrodediaContainer {
    padding: 5%;
    background-color: #EFECE1;
    display: flex;
    justify-content: center;
    align-items: center;

}

.centrodediaContainerText {

    width: 50%;

}

.centrodediaContainerText h6 {
    font-weight: 800;
    font-size: 1.2;
}

.centrodediaContainerImg {
    margin: auto;
    width: 70%;

}

.centrodediaContainerImg img {
    width: 100%;
    height: 100%;
}

.centrodediaContainerText ul {
    font-size: 1rem;
}

.centrodediaContainerText li {
    font-weight: 400;
    margin: 4%;
    list-style: disc;
}

.cuidadosContainer {
    display: flex;
}


/* Cuidados Paliativos */

.cuidadosContainerMyClasses {
    padding: 5%;
    display: flex;
    justify-content: center;
}

.cuidadosTextContainerMyClasses {
    width: 50%;
}

.cuidadosTextContainerMyClasses h6 {
    width: 80%;
    text-align: justify;
    font-weight: 800;
    font-size: 1rem;
    margin-top: 2%;
}

.cuidadosTextContainerMyClasses ul {
    width: 80%;
    margin-top: 4%;
}

.cuidadosTextContainerMyClasses ul li {
    text-align: justify;
    font-weight: 500;
    font-size: 1rem;
    list-style: disc;

}

.cuidadosContainerImg {
    margin: auto;
    width: 80%;
}

.cuidadosContainerImg img {
    width: 100%;
    height: 100%;
}

/* Galeria */

.galeria-item {
    padding: 2%;
}

/* Calidad */
.textoCalidad {
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 2%;
    margin-bottom: 2%;
    margin-right: auto;
    margin-left: auto;
}

.textoCalidad2 {
    text-align: center;
    font-weight: 200;
    font-size: 0.9rem;
    margin-top: 2%;
    margin-bottom: 2%;
    margin-right: auto;
    margin-left: auto;
}

.textoBoldCalidad {
    font-weight: bold;
}

.containerCalidad {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: auto;
    padding: 5%;
}



.prosanitasLogo {
    width: 250px;
}

.cenasLogo {
    width: 500px;
}

/* Contacto */
.contactoHeader {
    margin-top: 8vh;
}

/* Footer */

.solariegaLogoFooter {
    width: 50%;
}

.textwidget {
    text-align: start;
}

/* Logo hover effect */
.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(0.9);
}

/* WhatsApp Fixed Button Mejorado */
.whatsapp-fixed {
    position: fixed;
    bottom: 120px;
    right: 36px;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-fixed:hover {
    transform: scale(1.1) rotate(-5deg);
}

.whatsapp-fixed img {
    width: 56px;
    height: 56px;
    max-width: 14vw;
    max-height: 14vw;
    min-width: 40px;
    min-height: 40px;
    object-fit: contain;
    display: block;
}

/* Remove old WhatsApp button styles */
.contactoWpp, .contactoWpp2 {
    display: none;
}

@media (max-width: 1024px) {

    .whatsapp-fixed {
        bottom: 80px;
        right: 18px;
    }
    .whatsapp-fixed img {
        width: 44px;
        height: 44px;
        max-width: 16vw;
        max-height: 16vw;
    }

    .nosotrosTextContainerMyClasses p {
        font-size: 1rem;
    }


    .arrowDown {
        margin-top: 9vh;
    }

    .nosotrosContainerMyClasses h6 {
        font-size: 1.2rem;
    }

    .nosotrosTextContainerMyClasses ul li {
        font-size: 1rem;
        margin-left: 6%;
    }

    .profesionales {
        font-size: 1rem;
    }

    .serviciosHeader p {
        font-size: 1rem;
    }
}

@media (max-width: 989px) {
    .homeTextos h1 {
        font-size: 4rem;
    }

    .homeTextos h2 {
        font-size: 1.4rem;
    }

    .homeTextos p {
        font-size: 1.2rem;
        margin: auto;
    }
}

@media (max-width: 768px) {

    .organigrama{
        width: 90%;
    }

    .instalacionesHeader h2{
       margin-left: -30px !important;
    }


    .profesionalesListaContainer h2{
        margin-bottom: 12%;
        font-size: 1.6rem;
    }
    
.centrodediaContainer, .cuidadosContainerMyClasses, .instalacionesContainerMyClasses3 {
  margin: 20% 0 20% 0 !important;
}

.nav-recreo{
   margin-right: 52px;
   padding-right: 52px;

}


.navBarMain{
    justify-content: space-between !important;
}

    .vidContain {
    display: none;
}

.vidContainMob {
    display: inline-block;
}

    

    #instalaciones {
        padding: 2%;
    }

    .instalacionesTextContainerMyClasses h4 {
        width: 95%;
        margin-left: -1px;
    }

    .cuidadosTextContainerMyClasses {
        width: 100%;
    }

    .cuidadosContainerImg {
        margin-top: 2%;
        width: 100%;
    }

    .cuidadosTextContainerMyClasses ul {
        margin: 8% 0 8% 0 !important;
        margin: auto;
        width: 90%;
    }

    .cuidadosTextContainerMyClasses h6 {
        margin-top: 4%;
        width: 100%;
    }

    .cuidadosContainerMyClasses {
        flex-direction: column-reverse;
    }

    .centrodediaContainer {
        flex-direction: column;

    }

    .centrodediaContainerText {
        width: 100%;
    }

    .centrodediaContainerText h5{
        margin-left: -4px ;
    }

       .centrodediaContainerText ul{
     margin: 8% 0 8% 0 !important;
    }

    .centrodediaContainerImg {
        margin: 2%;
        width: 100%;
    }

    .bannerDrone {
        display: none;
    }

    .instalacionesImgCelContainerMyClasses img {
        width: 100%;
        height: 100%;
    }

    .instalacionesImg3ContainerMyClasses {
        margin: 1%;
        width: 100%;
    }

    .instalacionesImgenesContainerMyClasses {
        width: 100%;
        padding: 0%;
        margin: 0%;
        display: flex;

    }

    .instalacionesHabTitulos {
        width: 100%;
    }

    .instalacionesTextContainerMyClasses p {
        width: 100%;
    }

    .instalacionesImgContainerMyClasses {
        width: 100%;
        
    }

    .instalacionesTextContainerMyClasses2 {
        display: flex;
        flex-direction: column;
    }

    .instalacionesTextContainerMyClasses {
        width: 100%;
    }

    .instalacionesContainerMyClasses {
        flex-direction: column;
    }

    .instalacionesContainerMyClasses3 {
        flex-direction: column;
    }



    .profesionales {
        background-color: white;
    }

    .profesionalesIcon {
        width: 10vw;
    }

    .profesionalesContainer {

        margin: auto;
    }

    .profesionalesListaContainer ul li {
        text-align: left;
    }

    .profesionalesImgContainer {
        display: none;

    }

    #servicios {
        background-color: #EFECE1;
        background-image: url(../img/PNG/Flores-09.png);
        background-size: 75%;
        background-repeat: no-repeat;
        background-position-x: 90%;
        padding: 2%;

    }

    .serviciosHeader p {
        width: 90%;
    }

    .serviciosTitulosContainer ul {
        width: 90%;

    }

    .serviciosTitulos {
        width: 60%;
    }



    .serviciosListaContainer {
        flex-direction: column;
    }

    .nosotrosBanner {
        display: none;
    }

    .nosotrosFotos {
        display: none;
    }

    .nosotrosTextContainerMyClasses h5 {
        font-size: 1.8rem;
    }

    .nosotrosContainerMyClasses {
        flex-direction: column;
    }

    .nosotrosContainerMyClasses2 {
        flex-direction: column-reverse;
    }

    .nosotrosImgContainerMyClasses {
        width: 100%;
        height: auto;
    }

    .nosotrosTextContainerMyClasses {
        width: 100%;
        padding: 2%;
    }

    .buttonImagenes {
        background: none;
        border: red 2px solid;
        color: red;
        width: 180px;
        height: 70;
        font-size: 1rem;
        margin: auto;
    }

    .nosotrosTextContainerMyClasses p {
        font-size: 1rem;
    }

    .nosotrosTextContainerMyClasses ul li {
        font-size: 1rem;
        margin-left: 6%;
    }

    .profesionales {
        font-size: 1rem;
    }

    .serviciosHeader p {
        font-size: 1rem;
    }

    .cenasLogo {
        width: 350px;
    }

    .contactoWpp {
        display: none;
    }

    .contactoWpp2 {
        display: block;
        position: fixed;
        top: 150px;
        right: 14px;
        width: 36px;
    }

    .contactoWpp2 img {
        width: 100%;
        height: 100%;
    }

    .whatsapp-fixed {
        bottom: 24px;
        right: 16px;
    }

    .whatsapp-fixed img {
        width: 56px;
        height: 56px;
        max-width: 20vw;
        max-height: 20vw;
    }
}

@media (max-width: 425px) {
    .nosotrosTextContainerMyClasses h5 {
        font-size: 1.4rem;
    }

    .buttonImagenes {
        background: none;
        border: red 2px solid;
        color: red;
        width: 180px;
        height: 70;
        font-size: 1rem;
        margin: auto;
    }

    .nosotrosImgContainerMyClasses {
        width: 100%;
        height: auto;
    }

    .nosotrosTextContainerMyClasses p {
        font-size: 1rem;
    }

    .nosotrosTextContainerMyClasses ul li {
        font-size: 1rem;
        margin-left: 6%;
    }

    .profesionales {
        font-size: 1rem;
    }

    .serviciosHeader p {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .whatsapp-fixed {
        bottom: 180px;
        right: 10px;
    }
    .whatsapp-fixed img {
        width: 44px;
        height: 60px;
        max-width: 20vw;
        max-height: 60px;
    }
}

@media (max-width: 900px) {
    .trabaja-link {
        min-width: 90px;
        font-size: 0.95rem;
        padding: 7px 0 7px 0 !important;
    }
}