
/*** Spinner Start ***/
/*** Spinner ***/
#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;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn.btn-primary {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn.btn-primary:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-secondary);
    border: 1px solid var(--bs-secondary);
}

.btn.btn-secondary {
    background: transparent;
    color: var(--bs-secondary);
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    border: none;
    transition: 0.5s;
}

.btn.btn-secondary:hover {
    color: var(--bs-primary) !important;
}


/*** Section Title Start ***/
.section-title {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.section-title .sub-style {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.section-title .sub-style::before {
    content: "";
    width: 100px;
    position: absolute;
    bottom: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-bottom: -6px;
    margin-left: -100px;
    border: 1px solid var(--bs-secondary) !important;
}

.section-title .sub-style::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-top: -8px;
    margin-left: -50px;
    border: 1px solid var(--bs-primary) !important;
}

.sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.sub-title::before {
    content: "";
    width: 100px;
    position: absolute;
    bottom: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-bottom: -8px;
    margin-right: -100px;
    border: 1px solid var(--bs-secondary) !important;
}

.sub-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-top: -6px;
    margin-right: -50px;
    border: 1px solid var(--bs-primary) !important;
}


/*** Topbar Start ***/
.fixed-top .container {
    transition: 0.5s;
}

.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-primary) !important;
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-secondary) !important;
}


@media (max-width: 768px) {
    .topbar {
        display: none;    
    }
}
/*** Topbar End ***/


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: var(--bs-primary) !important;
    font-size: 17px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--bs-primary) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-secondary) !important;
}

.navbar-light .navbar-brand img {
    max-height: 100px;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-brand img {
    max-height: 45px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-secondary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    transition: .5s;
    opacity: 1;
}

/* POP POP POP Animación suave para el pop-up */
#promoModal .modal-content {
    animation: bounceIn 0.8s;
}

@keyframes bounceIn {
    0% { transform: scale(0.7); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

#promoModal .btn-primary {
    transition: 0.3s;
    font-weight: 600;
}

#promoModal .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
/* CIERRE ...POP POP POP Animación suave para el pop-up */
@media (max-width: 991.98px) {
    .sticky-top {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary) !important;
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top .navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 991.98px) {
    .sticky-top .navbar-light {
        background: var(--bs-light) !important;
    }

    /*** Top and Bottom borders go out ***/
    .navbar-light .navbar-nav .nav-link:after,
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        top: 30px;
        bottom: 30px;
        left: 0px;
        width: 100%;
        height: 2px;
        background: var(--bs-primary);
        opacity: 0;
        transition: all 0.5s;
    }

    .navbar-light .navbar-nav .nav-link:before {
        bottom: auto;
    }

    .navbar-light .navbar-nav .nav-link:after {
        top: auto;
    }

    .navbar-light .navbar-nav .nav-link:hover:before,
    .navbar-light .navbar-nav .nav-link.active:before {
        top: 20px;
        opacity: 1;
    }

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        bottom: 20px;
        opacity: 1;
    }
}

#searchModal .modal-content {
    background: rgba(240, 245, 251, 0.5);
}

<style>
/* Evita que los links de contacto se rompan o se amontonen *****************************/
.topbar-info-links a {
    font-size: 13px; /* Tamaño ideal para que quepa todo */
    white-space: nowrap; /* Fuerza a que todo se quede en una línea */
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: 0.3s;
}

.topbar-info-links a:hover {
    color: var(--bs-secondary) !important;
}

/* Ajuste para pantallas de 19" y monitores medianos */
@media (max-width: 1400px) {
    .topbar-info-links a {
        font-size: 11px; /* Bajamos un poquito la letra solo si la pantalla es estrecha */
        margin-right: 10px !important;
    }
}

/* Ocultar el texto largo de "Español" en pantallas medianas si estorba */
@media (max-width: 1200px) {
    .custom-select {
        width: 50px; /* Acorta el selector de idioma */
    }
}
</style>

/* Forzar que el contenido de la topbar no salte de línea */
.topbar-info a, .topbar-info span {
    white-space: nowrap; /* Evita que el texto se rompa en dos líneas */
    font-size: 13px;      /* Un poquito más pequeña para que quepa todo */
}

/* Ajustes específicos para pantallas medianas (Tablets y monitores pequeños) */
@media (max-width: 1200px) {
    .topbar {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    /* Reducimos el espacio entre los iconos y el texto */
    .topbar-info .me-4 {
        margin-right: 0.8rem !important; 
    }
    
    /* Bajamos un punto más la letra si es necesario */
    .topbar-info a, .topbar-info span {
        font-size: 12px;
    }
    
    /* Ocultamos textos decorativos largos si el espacio es crítico */
    .hide-on-tablet {
        display: none;
    }
}

/* Para que los iconos no se peguen al texto */
.topbar-info i {
    margin-right: 5px;
}
</style>

/*** Navbar End ***/


/*** Single Page Hero Header Start ***/
.bg-img_cont_head {
    background: linear-gradient(rgba(102, 184, 184, 0.5)), url(../img/img_cont_head.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 90px 0;
}
.bg-img_pag_ini_2 {
    background: linear-gradient(rgba(102, 184, 184, 0.5)), url(../img/img_pag_ini_2.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 90px 0;
}
.bg-img_nin2 {
    background: linear-gradient(rgba(102, 184, 184, 0.5)), url(../img/img_nin2.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 60px 0 90px 0;
}
.bg-playground {
    background: linear-gradient(rgba(102, 184, 184, 0.5)), url(../img/playground.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 90px 0;
}
.bg-proyect {
    background: linear-gradient(rgba(102, 184, 184, 0.5)), url(../img/proyect.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 90px 0;
}
.bg-standard-quality-control-collage1 {
    background: linear-gradient(rgba(102, 184, 184, 0.5)), url(../img/standard-quality-control-collage1.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 90px 0;
}
.bg-img_pag_ini_1 {
    background: linear-gradient(rgba(102, 184, 184, 0.5)), url(../img/img_pag_ini_1.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 90px 0;
}
.bg-ofert {
    background: linear-gradient(rgba(102, 184, 184, 0.5)), url(../img/ofert.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 60px 0 90px 0;
}
/*** Single Page Hero Header End ***/


/*** Carousel Hero Header Start ***/
.carousel-header .carousel-control-prev .carousel-control-prev-icon,
.carousel-header .carousel-control-next .carousel-control-next-icon {
    width: 4rem;
    height: 4rem;
    margin-left: -60px;
    border-radius: 50%;
    background-size: 60% 60%;
    transition: 0.5s;
}

.carousel-header .carousel-control-next .carousel-control-next-icon {
    margin-left: 0;
    margin-right: -60px;
}

.carousel-header .carousel .carousel-indicators {
    padding-bottom: 0;
    transition: 0.5s;
}


.carousel-header .carousel .carousel-indicators li,
.carousel-header .carousel .carousel-indicators li,
.carousel-header .carousel .carousel-indicators li {
    width: 8px;
    height: 8px;
    border: 8px solid var(--bs-primary);
    border-radius: 50%;
    margin-right: 30px;
    transition: 0.5s;
}

.carousel-header .carousel .carousel-indicators li.active {
    width: 8px;
    height: 8px;
    border: 8px solid var(--bs-secondary);
}

.carousel-header .carousel-inner .carousel-item {
    position: relative;
    min-height: 100vh 
}

.carousel-header .carousel-inner .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-header .carousel-inner .carousel-item .carousel-caption  {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, 0.2));
    background-size: cover;
}


@media (max-width: 768px) {
    .carousel-header {
        height: 700px !important;
    }

    .carousel-header .carousel-control-prev .carousel-control-prev-icon,
    .carousel-header .carousel-control-next .carousel-control-next-icon {
        margin-top: 500px;
    }

    .carousel-header .carousel-control-prev .carousel-control-prev-icon {
        margin-left: 0px;
    }

    .carousel-header .carousel-control-next .carousel-control-next-icon {
        margin-right: 0px;
    }

    .carousel-header .carousel .carousel-indicators {
        padding: 0;
    }
}
/*** Carousel Hero Header End ***/


/*** Counter Facts Start ***/
.counter-facts {
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, 0.8)), url(../img/img_cont_head.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
}

.counter-facts .counter {
    position: relative;
    text-align: center;
    width: 200px;
    min-height: 215px;
    padding: 48px 15px;
    margin: 0 auto;
    border-radius: 100px;
    box-shadow: 0 8px 5px rgba(0, 0, 0, 0.2);
    background: #6faf51;
}

.counter-facts .counter:before {
    content: "";
    position: absolute;
    height: 105px;
    width: 100%;
    left: 0;
    top: 0;
    border-radius: 10px 10px 0 0;
    background-color: #66b8b8;
    
}
.counter-facts .counter .counter-icon {
    position: relative;
    width: 120px;
    height: 100px;
    margin: 0 auto 10px;
    border-radius: 10px 10px 0 0;
    transform: translateY(-20px);
    font-size: 50px;
    line-height: 90px;
    color: var(--bs-secondary);
    background: rgba(1, 143, 252, 0.5);
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.counter-facts .counter .counter-icon:before {
    content: "";
    position: absolute;
    width: 120px;
    height: 90px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px 10px 0 0;
    background: rgba(0, 58, 102, 0.5);
    z-index: -1;
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.counter-facts .counter:hover .counter-icon i {
    transform: rotate(360deg);
    transition: all 0.3s ease;
}
.counter-facts .counter h3 {
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 5px 0;
}
.counter-facts .counter .counter-value {
    font-size: 30px;
    font-weight: 700;
    display: block;
    color: var(--bs-secondary);
}

@media screen and (max-width: 1200px) {
    .counter-facts .counter { margin-bottom: 40px; 
    }
}
/*** Counter Facts End ***/


/*** service Start ***/
.service .service-item {
    position: relative;
    overflow: hidden;
}

.service .service-item .service-inner .service-title {
    position: relative;
    margin-top: -30px;
    text-align: center;
    transition: 0.5s;
}

.service .service-item .service-inner .service-title .service-content {
    position: absolute;
    bottom: -100%; 
    left: 0;
    margin-left: 30px;
    margin-right: 30px;
    text-align: center;
    border-radius: 10px;
    background: var(--bs-primary);
    opacity: 0;
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-title .service-content {
    bottom: 0;
    opacity: 1;
}

.service .service-item .service-inner .service-title .service-content a h4 {
    border-bottom: 1px solid rgba(256, 256, 256, .1);
}

.service .service-item .service-inner .service-title .service-title-name {
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-title .service-title-name {
    opacity: 0;
}

.service .service-item .service-inner .service-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.service .service-item .service-inner .service-img::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .5);
    transition: 0.5s;
    opacity: 0;
}

.service .service-item:hover .service-inner .service-img::after {
    height: 100%;
    opacity: 1;
}

.service .service-item .service-inner .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-img img {
    transform: scale(1.3);
}
/*** Service End ***/


/*** Features Start ***/
.features .feature-item {
    position: relative;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.features .feature-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(0, 58, 102, 0.1);
    z-index: -1;
    transition: 0.5s;
}

.features .feature-item:hover::after {
    height: 100%;
}

.features .feature-item .feature-icon {
    width: 120px; 
    height: 120px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-light);
    transition: 0.5s;
}

.features .feature-item:hover .feature-icon {
    border-radius: 50%;
    background: var(--bs-white) !important;
}

.features .feature-item .feature-icon i {
    transition: 0.5s;
}

.features .feature-item:hover .feature-icon i {
    color: var(--bs-secondary) !important;
    transform: rotate(360deg);
    transition: all 0.5s ease;
}
/*** Features End ***/


/*** Country Start ***/
.country .country-item {
    position: relative;
}

.country .country-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 58, 102, 0.7);
    border-radius: 10px;
    transition: 0.5s;
    z-index: 1;
}

.country .country-item:hover::after {
    height: 100%;
}

.country .country-item .country-flag {
    position: absolute;
    width: 90px; 
    height: 90px; 
    border-radius: 50%;
    top: -45px; 
    left: 50%; 
    transform: translateX(-50%);
    transition: 0.5s;
    z-index: 2;
}

.country .country-item .country-flag img {
    border: 5px solid var(--bs-white);
    transition: 0.5s;
}

.country .country-item:hover .country-flag img {
    border: 5px solid var(--bs-white);
    transform: rotate(360deg);
    transition: all 0.5s ease;
}

.country .country-item .country-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    opacity: 0;
    z-index: 3;
}

.country .country-item:hover .country-name {
    opacity: 1;
}

.country .country-item img {
    transition: 0.5s;
}

.country .country-item:hover img {
    transform: scale(1.2);
}

.country .country-item .country-name a.fs-4 {
    transition: 0.5s;
}

.country .country-item .country-name a.fs-4:hover {
    color: var(--bs-secondary) !important;
}
/* Estilo para que la imagen del modal ocupe bien su espacio */
.object-fit-cover {
    object-fit: cover;
    min-height: 300px;
}

#ofertaGramaModal .modal-content {
    border-radius: 15px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
/*** Country End ***/


/*** testimonial Start ***/
.testimonial .owl-carousel.testimonial-carousel {
    position: relative;
}

.testimonial .owl-carousel.testimonial-carousel .testimonial-item .testimonial-content {
    position: relative;
    border-radius: 10px;
    background: var(--bs-light);
}

.testimonial .owl-carousel.testimonial-carousel .testimonial-item .testimonial-content::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 45px;
    bottom: -20px;
    left: 30px;
    transform: rotate(45deg);
    background: var(--bs-light);
    z-index: -1;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav {
    position: absolute;
    top: -60px;
    right: 0;
    display: flex;
    font-size: 40px;
    color: var(--bs-primary);
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev {
    margin-right: 40px;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next {
    transition: 0.5s;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-secondary);
}
/*** testimonial end ***/


/*** training Start ***/
.training .training-item .training-inner {
    position: relative;
}

.training .training-item .training-inner .training-title-name {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    padding: 20px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
    display: flex; 
    flex-direction: column;
    justify-content: end;
    text-align: center;
    transition: 0.5s;
}

.training .training-item {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.training .training-item:hover .training-inner .training-title-name {
    background: rgba(0, 58, 102, 0.5);
}

.training .training-item:hover .training-inner .training-title-name a {
    opacity: 0;
}

.training .training-item .training-inner img {
    transition: 0.5s;
}

.training .training-item:hover .training-inner img {
    transform: scale(1.3);
}

.training .training-item .training-content {
    position: absolute;
    width: 100%;
    bottom: -100%;
    left: 0;
    transition: 0.5s;
}

.training .training-item:hover .training-content {
    bottom: 0;
}  
/*** training End ***/


/*** Contact Start ***/
.contact .office .office-item {
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
    background: var(--bs-light);
    transition: 0.5s;
}

.contact .office .office-item:hover {
    box-shadow: 20px 20px 20px rgba(0, 58, 102, 0.3);
}

.contact .office .office-item .office-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.contact .office .office-item .office-img img {
    transition: 0.5s;
}

.contact .office .office-item:hover .office-img img {
    transform: scale(1.3);
}

.contact .office .office-item .office-content a.text-secondary,
.contact .office .office-item .office-content a.text-muted {
    transition: 0.5s;
}

.contact .office .office-item .office-content a.text-muted:hover {
    color: var(--bs-secondary) !important;
}

.contact .office .office-item .office-content a.text-secondary:hover {
    color: var(--bs-primary) !important;
}
/*** Contact End ***/


/*** Footer Start ***/
.footer {
    background: var(--bs-primary);
}
.footer .footer-item a {
    line-height: 30px;
    color: var(--bs-white);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 30px;
}

.footer .footer-item a:hover {
    letter-spacing: 2px;
    color: var(--bs-secondary);
}

/*** Footer End ***/


/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-secondary) !important;
}
/* --- ESTILOS PARA EL VIDEO DE FONDO --- */

.video-hero-container {
    position: relative;
    width: 100%;
    height: 100vh; /* La altura del video ocupar谩 el 70% de la pantalla. Puedes ajustarlo */
    overflow: hidden;
}

#video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%); /* Centra el video y asegura que cubra el espacio */
    background-size: cover;
}

.video-overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center; /* Centrado vertical */
    justify-content: center; /* Centrado horizontal */
    text-align: center;
    background-color: rgba(0, 0, 0, 0.4); /* Capa oscura transparente para que el texto sea legible */
}

/* Opcional: Usar una imagen est谩tica en m贸viles para ahorrar datos y recursos */
@media (max-width: 768px) {
    #video-background {
        display: none;
    }

    .video-hero-container {
        /* 馃毃 IMPORTANTE: Reemplaza 'img/carousel-1.jpg' con una imagen est谩tica de tu web */
        background: url('img/carousel-1.jpg') no-repeat center center / cover;
        height: 50vh; /* Ajuste de altura para m贸viles */
    }
}
/* ------------------------------------------------------------------------------------------------ */
/* NUEVO ESTILO: Top Bar con Colores de Rejuega K2 y Forma de ONDA SINUSOIDAL (4 Curvas) */
/* ------------------------------------------------------------------------------------------------ */
.topbar-wavy {
    position: relative; 
    z-index: 10; 
    
    /* 1. Base Multi-Color Dinámica (El Cuerpo de la Onda con los colores solicitados) */
    background: repeating-linear-gradient(
        180deg,
        #67b7b8 25px, /* Verde */
        #67b7b8 40px,     
        #67b7b8 30px, /* Verde */
        #67b7b8 40px,       
        #67b7b8 70px, /* Verde */
        #67b7b8 80px
    ) !important;
    
    color: #FFFFFF ; /* Color de texto base */
    
    /* 2. Propiedad Mágica: DIBUJAR LA ONDA SINUSOIDAL */
    /* Crea 4 ondas suaves a lo largo del borde inferior (100% de ancho) */
    /* Los puntos (x%, y%) definen la forma de la ola, con una altura de 10px */
    clip-path: polygon(
        0 0, /* Esquina superior izquierda */
        100% 0, /* Esquina superior derecha */
        100% 100%, /* Punto inicial inferior (Derecha) */
        87.5% calc(100% - 0px), /* Pico 1 */
        75% 100%, /* Valle 1 */
        62.5% calc(100% - 0px), /* Pico 2 */
        50% 100%, /* Valle 2 */
        37.5% calc(100% - 0px), /* Pico 3 */
        25% 100%, /* Valle 3 */
        12.5% calc(100% - 0px), /* Pico 4 */        
        0 100% /* Punto final inferior (Izquierda) */
    );
}
/* Asegura que el texto y los íconos de la barra sean blancos/claros para visibilidad */
.topbar-wavy .text-muted,
.topbar-wavy .text-secondary,
.topbar-wavy a {
    color: #FFFFFF !important; 
}

/* Nota: No necesitamos el pseudo-elemento ::after ni el padding-bottom con clip-path */
/* ------------------------------------------------------------------------------------------------ */
/* SOLUCIÓN MÓVIL: Evitar que el video no corra y romper el diseño */
/* ------------------------------------------------------------------------------------------------ */
@media (max-width: 768px) { /* Esto aplica para teléfonos y tabletas pequeñas */
    
    /* 1. Ocultamos el video */
    #video-background {
        display: none; 
    }
    
    /* 2. Aplicamos la imagen de póster como fondo estático al contenedor */
    .video-hero-container {
        /* Reemplaza la URL con la misma imagen que usaste en el atributo 'poster' */
        background-image: url('../img/video-poster-movil.jpg'); 
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }
}
/* Asegúrate de tener todos los estilos proporcionados en el paso anterior para este bloque */
/* ------------------------------------------------------------------------------------------------ */
/* ESTILO PARA EL BOTÓN FLOTANTE DE WHATSAPP (Menú de Opciones B2B) */
/* ------------------------------------------------------------------------------------------------ */

.whatsapp-float-menu {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999; /* Asegura que esté por encima de todo */
    display: flex;
    /*flex-direction: column; */
    align-items: flex-end;
}

/* Estilo del botón principal (el ícono de WhatsApp) */
.whatsapp-toggler {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Color oficial de WhatsApp */
    color: white;
    font-size: 30px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    text-decoration: none;
}

.whatsapp-toggler:hover {
    transform: scale(1.1);
}

/* Contenedor de las opciones */
.whatsapp-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    
    /* Inicialmente oculto y listo para la animación */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

/* Clase para mostrar las opciones */
.whatsapp-options.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Estilo de cada opción individual */
.option-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    background-color: #f0f0f0;
    color: var(--bs-secondary, #343a40); /* Usa el color secundario de tu tema */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: background-color 0.2s;
}

.option-item:hover {
    background-color: #e0e0e0;
    color: var(--bs-primary, #007bff); /* Resalta el texto con el color primario */
}

.option-item .text {
    flex-grow: 1;
    font-weight: 600;
    margin-right: 15px;
    white-space: nowrap;
}

.option-item i {
    font-size: 16px;
}
/* ------------------------------------------------------------------------------------------------ */
/* ESTILOS: BOTÓN "IR ARRIBA" (BACK TO TOP) - CENTRADO INFERIOR */
/* ------------------------------------------------------------------------------------------------ */

.back-to-top {
    /* CLAVE 1: Fijar el botón a la ventana, no al contenido */
    position: fixed; 
    
    /* CLAVE 2: Posicionamiento en la parte inferior */
    bottom: 30px; /* Separación desde el borde inferior (aumentado para visibilidad) */
    
    /* CLAVE 3: CENTRADO HORIZONTAL */
    left: 50%; /* Mueve el borde izquierdo al centro de la pantalla */
    transform: translateX(-50%); /* Mueve el botón hacia la izquierda la mitad de su propio ancho */
    
    /* Opcional: Centrar el ícono (ya que es un <a>) */
    display: flex; 
    align-items: center;
    justify-content: center;
    
    /* Estilos de tamaño y visuales */
    font-size: 24px; 
    width: 50px; 
    height: 50px; 
    z-index: 9999; 
    border-radius: 50%; 
    background-color: #13a3a7; 
    color: #ffffff; 
    transition: all 0.5s ease; 
}

.back-to-top:hover {
    background-color: #dc382d; 
    color: #ffffff;
}

/* Opcional: Ajuste para móviles */
@media (max-width: 600px) {
    .back-to-top {
        bottom: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
        /* El left: 50% y transform: translateX(-50%) siguen funcionando para centrar */
    }
}
/* ========================================================= */
/* ESTILOS PARA LAS BANDERAS DE IDIOMA EN EL TOPBAR */
/* ========================================================= */

.language-flags {
    /* Centra el contenedor y lo separa */
    display: flex;
    align-items: center;
}

.language-flags .flag-link {
    /* Espacio entre banderas */
    margin: 0 5px;
    line-height: 1; 
}

/* Estilo para el ícono de bandera (.fi) */
.language-flags .fi {
    display: block;
    width: 25px; 
    height: 25px; 
    line-height: 25px; 
    
    /* Para forzar el aspecto circular en el ícono de la librería */
    border-radius: 50%; 
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); 
    transition: all 0.2s;
}

/* Estilo para destacar el idioma activo (borde naranja) */
.language-flags .active-lang .fi {
    border: 2px solid #FE7D00; /* Borde secundario */
    box-shadow: 0 0 8px rgba(254, 125, 0, 0.7);
}
/* ========================================================= */
/* FIX EXTREMO: SOLUCIÓN PARA BANDERAS QUE NO APARECEN */
/* ========================================================= */

/* 1. Asegura que el contenedor de la bandera sea visible */
.language-flags .fi {
    /* Si el CSS original tenía `line-height`, lo forzamos a 0 para que no agregue espacio extra */
    line-height: 0 !important;
}

/* 2. Aplica el Fix a TODOS los elementos que empiecen por "fi-" */
/* Esta especificidad extra (el selector de atributo) es clave */
.language-flags span[class*="fi-"]::before,
.language-flags .fi::before {
    /* Forzar visibilidad */
    content: " " !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;

    /* Forzar la carga de la imagen de fondo de la librería */
    background-image: inherit !important;
    background-size: cover !important;
    background-position: 50% !important;

    /* Asegurar que no hay color de fondo sólido que oculte la imagen */
    background-color: transparent !important;
}
/* ========================================================= */
/* ESTILOS DEL CARRITO DE COTIZACIÓN FLOTANTE */
/* ========================================================= */

.quotation-cart {
    position: fixed;
    bottom: 50px;
    right: 100px; /* Posicionamiento similar al botón "Ir Arriba" */
    transform: translateY(-600%);
    z-index: 999;
}

/* Estilo del botón Toggler (Carrito) */
.quotation-cart .cart-toggler {
    position: relative;
    width: 60px;
    height: 60px;
    font-size: 24px;
    background-color: var(--bs-secondary, #66b8b8) !important; /* Color secundario de Rejuega */
    color: var(--bs-white, #FFFFFF);
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.quotation-cart .cart-toggler:hover {
    transform: scale(1.1);
    background-color: var(--bs-primary, #003a66) !important;
}

/* Contador de ítems */
.quotation-cart .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #FE7D00; /* Naranja/Secundario de Rejuega K2 */
    color: #FFFFFF;
    font-size: 14px;
    padding: 2px;
    font-weight: 600;
}

/* Panel Desplegable del Carrito */
.quotation-cart .cart-panel {
    position: absolute;
    bottom: 80px; /* Separación del botón */
    right: 0;
    width: 300px;
    max-height: 400px;
    padding: 20px;
    background-color: var(--bs-primary, #003a66); /* Color primario de Rejuega */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    display: none; /* Inicialmente oculto */
    overflow-y: auto;
}

.quotation-cart .cart-panel.show {
    display: block; /* Muestra el panel con JavaScript */
    animation: fadeInSlideUp 0.3s ease-out;
}

@keyframes fadeInSlideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Lista de ítems */
.quotation-cart #cart-list .list-group-item {
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.9); /* Fondo claro para los ítems */
    color: var(--bs-dark);
    margin-bottom: 5px;
}

/* Botón de eliminar ítem */
.quotation-cart .remove-item {
    background: #dc3545; /* Color rojo de Bootstrap */
    border: none;
    padding: 3px 6px;
    font-size: 12px;
    line-height: 1;
    border-radius: 5px;
}
/* ========================================================= */
/* ESTILOS DEL CARRITO DE COTIZACIÓN FLOTANTE */
/* ========================================================= */

.quotation-cart {
    position: fixed;
    bottom: 30px;
    right: 30px; 
    z-index: 999;
}

/* Estilo del botón Toggler (Carrito) */
.quotation-cart .cart-toggler {
    position: relative;
    width: 60px;
    height: 60px;
    font-size: 24px;
    background-color: var(--bs-secondary, #66b8b8) !important; 
    color: var(--bs-white, #FFFFFF);
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.quotation-cart .cart-toggler:hover {
    transform: scale(1.1);
    background-color: var(--bs-primary, #003a66) !important;
}

/* Contador de ítems */
.quotation-cart .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #FE7D00; /* Naranja/Secundario de Rejuega K2 */
    color: #FFFFFF;
    font-size: 14px;
    padding: 2px;
    font-weight: 600;
}

/* Panel Desplegable del Carrito */
.quotation-cart .cart-panel {
    position: absolute;
    bottom: 80px; 
    right: 0;
    width: 300px;
    max-height: 400px;
    padding: 20px;
    background-color: var(--bs-primary, #003a66); /* Color primario de Rejuega */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    display: none; /* Inicialmente oculto */
    overflow-y: auto;
}

.quotation-cart .cart-panel.show {
    display: block; 
    animation: fadeInSlideUp 0.3s ease-out;
}

@keyframes fadeInSlideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Lista de ítems */
.quotation-cart #cart-list .list-group-item {
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.9); /* Fondo claro para los ítems */
    color: var(--bs-dark);
    margin-bottom: 5px;
}

/* Botón de eliminar ítem */
.quotation-cart .remove-item {
    background: #dc3545; /* Color rojo de Bootstrap */
    border: none;
    padding: 3px 6px;
    font-size: 12px;
    line-height: 1;
    border-radius: 5px;
}
/* Estilos para el botón flotante de Cotización/Carrito */
.floating-btn {
    position: fixed;
    bottom: 30px; 
    right: 30px; 
    z-index: 1050; 
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    /* Estilo adicional para el ícono y el fondo */
    background-color: var(--bs-primary); /* Usa tu color primario de Bootstrap */
    color: white;
}

.floating-btn .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    padding: 5px 8px;
    border-radius: 50%;
    font-size: 0.75rem;
}

/* Nuevo CSS para el Botón Flotante de Cotización/Carrito */
.floating-btn {
    position: fixed;
    
    /* MODIFICACIONES CLAVE PARA CENTRADO VERTICAL */
    top: 50%; /* Coloca el borde superior del botón al 50% de la pantalla */
    transform: translateY(-50%); /* Sube el botón la mitad de su altura para centrarlo perfectamente */
    
    right: 30px; /* Distancia desde el borde derecho */
    
    z-index: 1050; /* Asegura que esté por encima de otros elementos */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    
    /* Estilos de apariencia */
    background-color: var(--bs-primary); 
    color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15); /* Sombra para destacarlo */
}

/* Mantén estos estilos para el contador (badge) */
.floating-btn .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    padding: 5px 8px;
    border-radius: 50%;
    font-size: 0.75rem;
}
/* --- ESTILOS PARA POSICIONAMIENTO DEL BUSCADOR --- */

/* 1. Base para el posicionamiento absoluto */
#searchModal .modal-body {
    position: relative;
    /* Aseguramos que el modal-body ocupe el espacio sin las clases flex */
    display: block !important; 
    flex-grow: 1;
}

/* 2. Posicionar el formulario de búsqueda (Tercio Medio Superior) */
#local-search-form {
    position: absolute;
    /* 33vh lo coloca aproximadamente en el tercio superior de la pantalla */
    top: 33vh; 
    left: 50%;
    transform: translateX(-50%); /* Centra horizontalmente */
    width: 75% !important; /* Mantiene el ancho */
    max-width: 800px; /* Máximo ancho en pantallas grandes (opcional) */
}

/* 3. Posicionar el contenedor de resultados (2cm debajo del buscador) */
#search-results-container {
    position: absolute;
    /* 33vh (posición del buscador) + 70px (altura del buscador + 2cm de margen) */
    top: calc(33vh + 70px); 
    left: 50%;
    transform: translateX(-50%); /* Centra horizontalmente */
    width: 75% !important; /* Mantiene el ancho del buscador */
    max-width: 800px; /* Máximo ancho en pantallas grandes (opcional) */

    /* Estilos visuales para los resultados */
    background-color: rgba(255, 255, 255, 0.95); /* Fondo blanco semitransparente */
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); /* Sombra para destacarlo */
    max-height: 45vh; /* Limita la altura de los resultados */
    overflow-y: auto; /* Hace el contenido scrollable si hay muchos resultados */
}

/*. Estilo para eñl botpon de video del header */
/* Estilo del botón de video */
.btn-play-video {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    transition: 0.3s;
}

.play-icon {
    width: 55px;
    height: 55px;
    background: #007bff; /* Puedes cambiarlo por tu color primario */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    position: relative;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.btn-play-video:hover .play-icon {
    background: #0056b3;
    transform: scale(1.1);
}

/* Ajuste para que el video sea horizontal */
.modal-lg { max-width: 900px; }

/* Ajuste para que las fotos de Acerca de Rejuega, se muevan de lado a lado */
<style>
/* Contenedor principal con altura fija para que no colapse */
.artistic-container {
    position: relative;
    width: 100%;
    height: 500px; /* Ajusta según necesites */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estilo base para los círculos */
.circle-img-artistic {
    position: absolute;
    overflow: hidden;
    border-radius: 50%;
    border: 10px solid #ffffff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    z-index: 2;
    transition: all 0.4s ease;
}

/* Imagen 1: Más grande y arriba a la izquierda */
.img-1 {
    width: 300px;
    height: 300px;
    top: 0;
    left: 0;
}

/* Imagen 2: Un poco más pequeña, abajo a la derecha y por encima */
.img-2 {
    width: 260px;
    height: 260px;
    bottom: 20px;
    right: 0;
    z-index: 3; /* Esto hace que pise un poquito a la primera */
}

.circle-img-artistic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Decoración de fondo (Círculo sutil) */
.circle-decoration {
    position: absolute;
    width: 350px;
    height: 350px;
    background: var(--bs-light);
    border-radius: 50%;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.5;
}

/* Efecto Hover */
.circle-img-artistic:hover {
    transform: scale(1.05);
    z-index: 10; /* La que toques se pone al frente */
}

/* Responsive: En celulares se centran */
@media (max-width: 991px) {
    .artistic-container {
        height: 450px;
        margin-bottom: 30px;
    }
    .img-1 { width: 220px; height: 220px; }
    .img-2 { width: 200px; height: 200px; }
}
</style>



/*** copyright end ***/