/********** Template CSS **********/
:root {
    --primary: #4fcfd4;
    --secondary: #F2A65A;
    --light: #EEF9FF;
    --dark: #008e8e;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}


/* =========================================
   DK CLINIC - OWL CAROUSEL
   Navegación de Especialidades y Estudios
========================================= */

/* Contenedor principal del carrusel */
.dk-services-carousel {
    position: relative;
    padding-bottom: 55px;
}


/* =========================================
   FLECHAS DE NAVEGACIÓN
========================================= */

.dk-services-carousel .owl-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;

    margin-top: 25px;
}


/* Botones Prev / Next */
.dk-services-carousel .owl-nav button.owl-prev,
.dk-services-carousel .owl-nav button.owl-next {

    width: 45px;
    height: 45px;

    border: 2px solid #00A6B3 !important;
    border-radius: 50%;

    background: #FFFFFF !important;

    color: #00A6B3 !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    margin: 0 !important;

    transition: all 0.3s ease;

    font-size: 0 !important;
}


/* Flecha anterior */
.dk-services-carousel .owl-nav button.owl-prev::before {

    content: "\f104";

    font-family: "Font Awesome 5 Free";
    font-weight: 900;

    font-size: 18px;
}


/* Flecha siguiente */
.dk-services-carousel .owl-nav button.owl-next::before {

    content: "\f105";

    font-family: "Font Awesome 5 Free";
    font-weight: 900;

    font-size: 18px;
}


/* Hover */
.dk-services-carousel .owl-nav button.owl-prev:hover,
.dk-services-carousel .owl-nav button.owl-next:hover {

    background: #00A6B3 !important;

    color: #FFFFFF !important;

    transform: translateY(-2px);
}


/* Quitar outline */
.dk-services-carousel .owl-nav button:focus {
    outline: none !important;
    box-shadow: none !important;
}


/* =========================================
   DOTS
========================================= */

.dk-services-carousel .owl-dots {

    display: flex;

    justify-content: center;
    align-items: center;

    gap: 8px;

    margin-top: 15px;
}


/* Cada punto */
.dk-services-carousel .owl-dots .owl-dot {

    width: 10px;
    height: 10px;

    margin: 0 !important;

    padding: 0 !important;

    border: none !important;

    background: #C8E8EB !important;

    border-radius: 50%;

    transition: all 0.3s ease;
}


/* Punto activo */
.dk-services-carousel .owl-dots .owl-dot.active {

    width: 28px;

    border-radius: 10px;

    background: #00A6B3 !important;
}


/* Hover */
.dk-services-carousel .owl-dots .owl-dot:hover {

    background: #48CBD3 !important;
}


/* Quitar outline */
.dk-services-carousel .owl-dots .owl-dot:focus {
    outline: none !important;
    box-shadow: none !important;
}


/* =========================================
   DK CLINIC - LOCATIONS
========================================= */

.dk-location-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);

    transition: all 0.3s ease;

    display: flex;
    flex-direction: column;
}

.dk-location-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}


/* Header */

.dk-location-header {
    display: flex;
    align-items: center;

    padding: 25px 25px 15px;
}

.dk-location-header h3 {
    color: #007C87;
    font-weight: 600;
}

.dk-location-header p {
    color: #55585D;
    font-size: 14px;
}


/* Icon */

.dk-location-icon {
    width: 50px;
    height: 50px;

    min-width: 50px;

    margin-right: 15px;

    border-radius: 50%;

    background: #E9F6F7;

    color: #00A6B3;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
}


/* Address */

.dk-location-address {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    padding: 10px 25px 20px;

    color: #55585D;

    font-size: 15px;

    line-height: 1.6;

    min-height: 70px;
}


/* Map */

.dk-map {
    width: 100%;
    overflow: hidden;
}

.dk-map iframe {
    display: block;
    width: 100%;
    height: 280px;
    border: 0;
}


/* Button */

.dk-map-button {
    align-self: center;

    margin: 20px 25px 25px;

    padding: 10px 25px;

    border: none;
    border-radius: 6px;

    transition: all 0.3s ease;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .dk-location-header {
        padding: 20px 20px 15px;
    }

    .dk-location-address {
        padding-left: 20px;
        padding-right: 20px;
    }

    .dk-map iframe {
        height: 250px;
    }

}
.dk-locations-section {
    background: #00A6B3;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 767px) {

    .dk-services-carousel {
        padding-bottom: 45px;
    }

    .dk-services-carousel .owl-nav {
        margin-top: 20px;
    }

    .dk-services-carousel .owl-nav button.owl-prev,
    .dk-services-carousel .owl-nav button.owl-next {

        width: 40px;
        height: 40px;

    }

    .dk-services-carousel .owl-dots {
        margin-top: 12px;
    }

}



/* =========================================
   KAFE DIGITAL - BARRA DE COPYRIGHT
   ========================================= */

.kafe-copyright {
    width: 100%;
    background: #050505;
    color: #ffffff;
    border-top: 1px solid #222222;
    box-sizing: border-box;
}

.kafe-copyright-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 18px 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    box-sizing: border-box;
}

.kafe-copyright-left,
.kafe-copyright-right {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.kafe-copyright-right {
    text-align: right;
}

.kafe-copyright-right a {
    color: #F4C430;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.kafe-copyright-right a:hover {
    color: #ffffff;
}

/* Línea/acento de Kafe Digital */
.kafe-copyright-right a::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: #F4C430;
    transition: width 0.3s ease;
    margin-left: auto;
}

.kafe-copyright-right a:hover::after {
    width: 100%;
}


/* =========================================
   RESPONSIVE - CELULARES
   ========================================= */

@media (max-width: 600px) {

    .kafe-copyright-container {
        padding: 16px 20px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 6px;
    }

    .kafe-copyright-left,
    .kafe-copyright-right {
        font-size: 13px;
        text-align: center;
    }

    .kafe-copyright-right a::after {
        margin: 0 auto;
    }
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/* =========================================
   DK CLINIC - GALERÍA
========================================= */

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #E9EEF1;
}

.gallery-item img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

/* Capa al pasar el mouse */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 124, 135, 0.65);

    display: flex;
    align-items: flex-end;
    justify-content: center;

    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay button {
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;

    background: #FFFFFF;
    color: #00A6B3;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-overlay button:hover {
    background: #00A6B3;
    color: #FFFFFF;
    transform: scale(1.1);
}


/* =========================================
   LIGHTBOX
========================================= */

.dk-lightbox {
    position: fixed;
    inset: 0;

    background: rgba(13, 151, 152, 0.92);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    opacity: 0;
    visibility: hidden;

    transition: all 0.3s ease;

    z-index: 9999;
}

.dk-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.dk-lightbox-content {
    position: relative;

    max-width: 1000px;
    width: 100%;
    max-height: 90vh;

    display: flex;
    align-items: center;
    justify-content: center;
}

.dk-lightbox-image {
    max-width: 100%;
    max-height: 85vh;

    object-fit: contain;

    border-radius: 10px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}


/* Botón cerrar */

.dk-lightbox-close {
    position: fixed;

    top: 25px;
    right: 30px;

    width: 45px;
    height: 45px;

    border: none;
    border-radius: 50%;

    background: #FFFFFF;
    color: #0E5D7A;

    font-size: 22px;

    cursor: pointer;

    z-index: 10001;

    transition: all 0.3s ease;
}

.dk-lightbox-close:hover {
    background: #00A6B3;
    color: #FFFFFF;
}


/* Flechas */

.dk-lightbox-prev,
.dk-lightbox-next {
    position: fixed;

    top: 50%;

    transform: translateY(-50%);

    width: 50px;
    height: 50px;

    border: none;
    border-radius: 50%;

    background: #FFFFFF;
    color: #0E5D7A;

    font-size: 20px;

    cursor: pointer;

    z-index: 10001;

    transition: all 0.3s ease;
}

.dk-lightbox-prev {
    left: 25px;
}

.dk-lightbox-next {
    right: 25px;
}

.dk-lightbox-prev:hover,
.dk-lightbox-next:hover {
    background: #00A6B3;
    color: #FFFFFF;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .gallery-item img {
        height: 280px;
    }

    .dk-lightbox {
        padding: 15px;
    }

    .dk-lightbox-prev {
        left: 10px;
    }

    .dk-lightbox-next {
        right: 10px;
    }

    .dk-lightbox-prev,
    .dk-lightbox-next {
        width: 42px;
        height: 42px;
    }

}


.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 142, 142, .85);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: -90px;
        z-index: 1;
    }
}

.section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--primary);
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--secondary);
}

.twentytwenty-wrapper {
    height: 100%;
}

.hero-header {
    background: linear-gradient(rgba(0, 142, 142, .85), rgba(0, 142, 142, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.bg-appointment {
    background: linear-gradient(rgba(0, 142, 142, .85), rgba(0, 142, 142, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.appointment-form {
    background: rgba(79, 207, 212, .7);
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.15);
}

.team-item .team-text::after,
.service-item .bg-light::after {
    position: absolute;
    content: "";
    top: 50%;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius:100px / 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .7);
    opacity: 0;
    transition: .5s;
    z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
    opacity: 1;
}

.bg-offer {
    background:url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.offer-text {
    background: rgba(79, 207, 212, .85);
}

.price-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 45px);
    height: 45px;
    top: calc(50% - 22.5px);
    left: -22.5px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}

.price-carousel:hover .owl-nav {
    opacity: 1;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.bg-testimonial {
    background: url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    background: rgba(79, 207, 212, .85);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 46px);
    height: 46px;
    top: calc(50% - 23px);
    left: -23px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}
