@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings:  "wdth" 100;
    font-stretch: condensed;
}
a {
    text-decoration: none;
}
section {
    position: relative;
    width: 100%;
    height: auto;
}
header {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: end;
}
#menu {
    z-index: 999;
    padding: 25px 100px 0 0; 
}
    #menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 60px;
    }
        #menu ul li a {
            color: #fff;
            font-size: 16pt;
        }
            #menu ul li a:hover {
                color: #6fad94;
            }
#sec-inicio {
    min-height: 100px;
    background-color: #1c53b7;
}
#video-bg {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
}

#promociones-space {
    position: relative;
    width: 85%;
    height: auto;
    min-height: 58vh;
    display: flex;
    margin: 0 auto;
    padding: 50px 0 25px 0;
}

#reelsspace {
    width: 45%;
}
.reel {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 6px 0 6px;
}
.video-container {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}
.reel-info {
    position: absolute;
    top: 0;
    left: 0;
    width: fit-content;
    height: auto;
    z-index: 22;
    padding: 8px 0  0 8px;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 8px;
}
    .reel-info:hover {
        background: #0985F7;
        background: linear-gradient(0deg,rgba(0, 0, 0, 0) 0%, rgba(9, 133, 247, 1) 33%);
        padding: 8px 4px 28px 8px;
    }
    .reel-info:hover .reel-info-medico {
        visibility: visible;
        opacity: 1;
    }
.reel-info-especialidad {
    position: relative;
    width: 84px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0985f7;
    border-radius: 50%;
    padding: 5px;
    cursor: pointer;
}
    .reel-info-especialidad img {
        width: 90%;
        height: auto;
    }
.reel-info-medico {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
    .reel-info-medico h3 {
        color: #fff;
        font-size: 12pt;
        cursor: pointer;
    }
    .reel-info-medico h3 span{
        color: #c2d2c6;
    }

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    z-index: 20;
    box-shadow: -5px 5px 5px 4px rgba(0,0,0,0.64);
    -webkit-box-shadow: -5px 5px 5px 4px rgba(0,0,0,0.64);
    -moz-box-shadow: -5px 5px 5px 4px rgba(0,0,0,0.64);
}
#bannerimgs {
    width: 55%;
    height: inherit;
    display: flex;
    align-items: start;
    justify-content: end;
}
    #bannerimgs-space {
        width: 80%;
    }
.banners-slick img {
    cursor: pointer;    
}

#especialidades-space {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 40px;
}

/*Carruseles*/
.carousel-space {
    width: 85%;
}
.carousel-space, #especialidades-space {
  overflow-x: hidden;
}
.promociones-info {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 12px;
    padding: 0 12px 12px 0;
}
    .promociones-info h2 {
        color: #fff;
        font-weight: 500;
    }

.carousel-info {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 25px 0 25px 0;
}
    .carousel-info-cont h2 {
        color: #003f79;
        font-size: 32pt;
        font-weight: 400;
    }
#carousel-botones {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 12px;
}
#carousel-toadas h3 {
    font-size: 16pt;
    font-weight: 400;
    color: #3f464e;
    cursor: pointer;
}
    #carousel-toadas h3:hover {
        color: #003f79;
    }
.carousel-controls {
  display: flex;
  gap: 0.7rem;
}

.slick-btn {
    width: 36px;
    height: 36px;
    background-position: center;
    background-size: 100% 100%;
    background-color: transparent;
    cursor: pointer;
    border: none;
    overflow: hidden;
    color: transparent;
}
.slick-prev-light {
    background-image: url("../images/btn_izq-light.png");
}
.slick-next-light {
    background-image: url("../images/btn_der-light.png");
}
.especialidades-slick-prev {
    background-image: url("../images/btn_izq-dark.png");
}
.especialidades-slick-next {
    background-image: url("../images/btn_der-dark.png");
}
.carousel-wrapper {
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 16px;
  transition: transform 0.4s ease;
  will-change: transform;
}
.carousel-track > * {
  flex: 0 0 auto;
}

.carousel-item {
  width: 200px;
  flex-shrink: 0;
  background: #0985f7;
  padding: 0px;
  text-align: center;
  border-radius: 12px;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0 6px 0 6px;
}
    .carousel-item img {
        width: 100%;
        /*pointer-events: none;*/
        /*user-drag: none;
        -webkit-user-drag: none;*/
    }

.carousel-track {
  cursor: grab;
  user-select: none;
}

.carousel-track:active {
  cursor: grabbing;
}

/* Modal */
#modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 777;
    background-color: rgba(255, 255, 255, 0.8);
    display: none;
    opacity: 0;
    align-items: center;
    justify-content: center;
    overflow: scroll;
}
.modal-close {
    position: absolute;
    top: 85px;
    right: 85px;
    width: fit-content;
    height: fit-content;
    font-size: 32pt;
    color: #1c53b7;
    z-index: 800;
}
    .modal-close:hover {
        color: #003f79;
    }
.modal-cont {
    width: 85%;
    height: auto;
}
    .modal-cont h3 {
        font-size: 22pt;
        color: #1c53b7;
        padding-bottom: 8px;
        cursor: pointer;
    }
        .modal-cont h3:hover {
            color: #3f464e;
        }
    .modal-cont h2 {
        font-size: 32pt;
        color: #003f79;
        padding-bottom: 55px;
        font-weight: 500;
    }
.grid-especialidades {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: start;
    flex-wrap: wrap;
    gap: 12px;
}
.grid-item {
    width: 148px;
    height: 148px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0985f7;
    border-radius: 8px;
}
    .grid-item img {
        width: 90%;
    }

/* Responsive */
@media (max-width: 900px) {
    #promociones-space {
        width: 85%;
        min-height: 100px;
        display: block;
    }
    #reelsspace {
        width: 80%;
        margin: 0 auto;
        
    }
    .reel {
        margin: 0 0 0 0;
}
    .video-container {
        width: 100%;
    }
    #bannerimgs {
        width: 100%;
        justify-content: center;
    }

    .carousel-space {
        flex-direction: column;
        align-items: flex-start;
    }
    .carousel-info {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    .carousel-item {
        width: 150px;
    }
}