@font-face {
    font-family: 'Averta-Light';
    src: url("./fonts/averta-light.otf") format("opentype");
}

@font-face {
    font-family: 'Averta-Bold';
    src: url("./fonts/Averta-Bold.ttf") format("opentype");
}

@font-face {
    font-family: 'Averta-Black';
    src: url("./fonts/Averta-Black.ttf") format("opentype");
}

:root {
    --blue: #28348a;
    --yellow: #ffdf40;
    --yellow2: #f7e993;
    --white: #fff;
    --black: #000000;
    --skyblue: #e2eeff;
    --darkblue: #33405e;
    --darkblue2: #242633;
    --darkblue3: rgb(51, 62, 99);
    --gray: #3d3d3d;
    --orange: #f98133;
    --orange2: #fe6800;
    --orange3: rgb(255, 102, 0);
    --orange4: rgb(160, 65, 1);
    --text: rgb(82, 87, 109);
    --title: rgb(61, 61, 61);
    --ft-base: 'Averta-Light';
    --ft-bold: 'Averta-Bold';
    --ft-black: 'Averta-Black';
    --fs-base: clamp(1rem, 0.95rem + 0.2vw, 1.25rem);
    --fs-md: clamp(1rem, 0.806930693069307rem + 0.7920792079207921vw, 1.5rem);
    --fs-b-xxl: 2.25rem;
    --fs-xxl: clamp(2.25rem, 0.4272151898734178rem + 3.79746835443038vw, 3.75rem);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
}

body {
    min-height: 100dvh;
    /* max-width: 100dvw; */
    overflow-x: hidden;
    margin-inline: auto;
    font-family: var(--ft-base);
    font-size: var(--fs-base);
    color: var(--text);
}

h1 {
    font-size: 55px;
    line-height: 1.27;
    font-family: var(--ft-black);
    color: var(--title);
    margin-bottom: 20px;
}

h2 {
    font-size: 2rem;
    font-size: clamp(2rem, 1.8rem + 0.8vw, 2.5rem);
    line-height: 1.27;
    font-family: var(--ft-black);
    margin-bottom: 20px;
}

h3 {
    font-size: 30px;
    font-family: var(--ft-black);
    color: var(--title);
    line-height: 1.3;
}

h4 {
    font-size: 14px;
    text-transform: uppercase;
    font-family: var(--ft-bold);
    letter-spacing: 2.4px;
    margin-bottom: 1rem;
}

p {
    margin: 0;
}

ul {
    text-decoration: none;
    padding: 0;
}

a {
    text-decoration: none;
}

/*Generales*/

.mw-33 {
    max-width: 33%;
    margin: 0;
}

.mw-60 {
    padding-bottom: 0px;
}

.py-80 {
    padding-top: 80px;
    padding-bottom: 80px;
}

.pb-200 {
    padding-bottom: 200px;
}

.h-350 {
    height: 350px;
}

.top-p {
    top: -40%;
}

.text-orange {
    color: var(--orange2) !important;
}

.text-gray {
    color: var(--title) !important;
}

.bg-gray {
    background-color: #f8f8f8;
}

.text-title {
    font-family: var(--ft-bold);
    color: var(--title);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.italic {
    color: var(--orange2);
    font-size: 24px;
    font-style: italic;
    letter-spacing: 0.2;
}

.subtitulo {
    font-weight: bold;
    margin: 1rem 0;
}

.pt-110 {
    padding-top: 110px;
}

.img-dark {
    filter: brightness(0.8);
}

.titulos {
    font-size: 3rem;
    font-size: clamp(3rem, 2.1346153846153846rem + 3.8461538461538463vw, 5.5rem);
    line-height: 0.75;
    background: linear-gradient(165deg, rgba(233,233,233,1) 0%, rgba(233,233,233,1) 60%, rgba(233,233,233,0.05) 100%);
    -webkit-background-clip: text; /* Para navegadores basados en WebKit */
    background-clip: text; /* Clipa el fondo al texto */
    color: transparent;
    text-wrap: nowrap;
    padding-bottom: 1rem;
    padding-top: 0.5rem;

    span {
        display: block;
        text-align: end;
        text-wrap: nowrap;
        padding-left: 10%;

        &:last-child {
            padding-left: 15% !important;
        }
    }

    &.trabaja {
        text-wrap: wrap;
        line-height: 1;
        text-align: center;
        zoom: 0.8;
        text-wrap: balance;
    }
}

.separador {
    position: absolute;
    width: 80px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.separador2 {
    position: absolute;
    width: 120px;
    left: 50%;
    transform: translate(-50%, -10px);
}

.separador3 {
    position: absolute;
    width: 75px;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
}

.img-right, .img-left {
    position: absolute;
    max-width: 50dvw;
    max-height: 100%;
    right: -10px;
    bottom: 0;
    z-index: -1;
}

.py-80 .img-right {
    z-index: -2;
}

.img-left {
    right: auto;
    left: 0;
}

.contenido {
    position: relative;
}

.titulo-secundario {
    font-size: 3rem;
    font-size: clamp(3rem, 2rem + 4vw, 5.5rem);
    color: #00378b;
    display: flex;
    align-items: start;
    
    & span {
        font-size: 2.25rem;
        font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.875rem);
        color: var(--black);
        font-family: var(--ft-base);
        margin-right: 0.5rem;
    }
}

.titulo-marcas {
    display: flex;
    align-items: start;
    flex-direction: column;
    font-size: 2.25rem;
    font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.875rem);
    color: var(--black);
    font-family: var(--ft-base);
    line-height: 0.9;
    & span {
        padding-left: 2rem;
        font-size: 3rem;
        font-family: var(--ft-black);
        font-size: clamp(3rem, 2rem + 4vw, 5.5rem);
        color: #00378b;
        margin-top: -0.5rem;
    }
}

/*Negrita*/

.fw-300{
    font-weight: 300;
}


.fw-500{
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.fw-900 {
    font-weight: 900;
}

/*Tamaños*/
.ft-9 {
    font-size: 9px;
}

.ft-10 {
    font-size: 10px !important;
}

.ft-11 {
    font-size: 11px !important;
}

.ft-12 {
    font-size: 12px !important;
}

.ft-14 {
    font-size: 14px !important;
}

.ft-16 {
    font-size: 16px !important;
}


/*Colores*/

.text-purple {
    color: var(--purple);
}

.activo {
    position: relative;
    &::after{
        content: "";
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: var(--yellow);
        top: 65%;
    }
}

/*Distribuciones*/

.start-x, .start-y, .center-x, .center-y, 
.between-x, .between-y, .end-y, .end-x, .around-x {
    display: flex;
    flex-wrap: wrap;
}

.start-y, .center-y, .between-y, .end-y {
    flex-direction: column;
}

.start-x, .start-y {
    justify-content: start;
    align-items: start;
}

.center-x, .center-y {
    justify-content: center;
    align-items: center;
}

.between-x, .between-y {
    justify-content: space-between;
    align-items: center;
}

.around-x {
    justify-content: space-around;
    align-items: start;
}

.end-y, .end-x {
    justify-content: end;
}

/*Imagen de fondo*/

.imagen-fondo {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.obj-right {
    object-position: right;
}

.btn-video {
    width: 50px !important;
    height: 50px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid white;
    color: white;
    animation: pulse 2s infinite;
    transition: all 0.5s ease;
}

.fa-play {
    margin-left: 5px;
    margin-top: 2px;
}


.btn-video:hover {
    color: var(--yellow);
    background-color: white;
}




  
  @keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 15px 15px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
  }
  

/*Estilos*/
.text-sub {
    position: relative;
    display: inline-flex;
}

button {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font-family: inherit;
}

.text-sub::after {
    content: "";
    height: 3px;
    width: 100%;
    left: 0;
    bottom: -12px;
    background-color: var(--yellow);
    position: absolute;
}

section {
    padding: 3rem 0;
}

.btn-base {
    display: inline-flex;
    background-color: var(--blue);
    color: var(--white) !important;
    padding: 5px 40px;
    border-radius: 2rem;
    font-size: 15px;
    font-family: var(--ft-bold);
    transition: all 0.5s ease;
    cursor: pointer;

    &:hover {
        background-color: var(--yellow2);
        color: var(--blue) !important;
    }

    &.blue {
        background-color: var(--darkblue2);

        &:hover {
            background-color: var(--darkblue);
        }
    }

    &.red {
        background-color: var(--darkblue2);
        background-color: #EF4444;

        &:hover {
            filter: brightness(1.1);
        }
    }
}

.btn-base2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: rgb(167, 175, 214) !important;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 2rem;
    font-size: 12px;
    letter-spacing: 2px;
    transition: all 0.5s ease;
    border: 1px solid rgb(167, 175, 214) ;
    margin-top: 1rem;

    &:hover {
        background-color: var(--blue);
        border-color: var(--blue);
        color: var(--white) !important;
    }
}

.btn-base3 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--orange);
    color: var(--white);
    padding: 8px 25px;
    font-family: 'Jost';
    font-weight: 600;
    border-radius: 5px;
    font-size: 15px;
    letter-spacing: 1px;
    transition: all 0.5s ease;

    &:hover {
        background-color: var(--orange2);
        transform: scale(1.05);
    }

    &.green {
        background-color:  #16A34A;

        &:hover {
            filter: brightness(1.1);
        }
    }

    &.red {
        background-color: var(--darkblue2);
        background-color: #EF4444;

        &:hover {
            filter: brightness(1.1);
        }
    }
}

.background-blue {
    display: inline-flex;
    background-color: var(--darkblue);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 3rem 0;
    font-size: 14px;
    margin-top: 1rem;
    opacity: 0.9;
}

.mw-60 {
    max-width: 60%;
}

#typing {
    white-space: pre-wrap;
    display: inline-block;
    overflow: hidden;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

#typing {
    animation: blink 0.5s step-end infinite;
}

.titilando {
    display: inline-block;
    animation: titilar 1s infinite;
  }
  
  @keyframes titilar {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
  }


/*Header*/
/* Nav */


nav {
    position: fixed;
    width: 100%;
    transition: all 0.5s ease-in;
    z-index: 100;
    background: rgb(255,255,255);
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 10%, rgba(255,255,255,0.6) 20%, rgba(255,255,255,0.6) 100%);
}

.navbar {
    font-size: 15px;
    font-weight: 500;
    height: 84px;

    & .nav-acciones {
        display: flex;
        align-items: center;

        & ul li {
            color: var(--blue);

            & a {
                color: var(--blue);
                padding-inline: 0 !important;
            }

            & a:focus {
                color: var(--blue);
            }

            &:not(.no_hover) a:hover::after{
                content: "";
                position: absolute;
                width: 100%;
                height: 2px;
                background-color: var(--yellow);
                top: 65%;
            }
        }
    }
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: var(--blue);
}

.redes {
    a {
        &:hover i{
            color: var(--yellow);
        }
        
        i {
            font-size: 20px;
            margin-inline: 0.5rem;
        }
    }
}

.idioma {
    display: flex;
    width: 100px;
    position: relative;

    .idioma_actual {
        display: flex;
        align-items: center;
        padding-inline: 10px;
        color: var(--blue);
    }

    .bandera {
        width: 20px;
    }
}


.mega-dropdown a {
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

.dropdown-menu a {
    height: 50px;
}


.categorias li:not(.close):not(.mega-dropdown) {
    transition: 0.2s all ease;
    margin-bottom: 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    position: relative;
    & a {
        position: relative;
        color: var(--blue);
    }

    &:not(.no_hover):hover::after{
        content: "";
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: var(--yellow);
        top: 65%;
    }
}


.btn-idioma {
    height: 40px !important;
    cursor: pointer;
}


/* Estado inicial del menú */
.offcanvas-top {
    top: 86px !important;
    height: 0;
    background-color: rgba(255,255,255,0.9);
}

/* Animación para expandir el menú */
@keyframes expandMenu {
    from {
        height: 0;
    }
    to {
        height: 100dvh;
    }
}

/* Animación para colapsar el menú */
@keyframes collapseMenu {
    from {
        height: 100dvh;
    }
    to {
        height: 0;
    }
}

/* Cuando el menú esté visible */
.offcanvas-top.show {
    animation: expandMenu 0.5s ease-in-out forwards;
}

/* Cuando el menú se oculta */
.offcanvas-top:not(.show) {
    animation: collapseMenu 0.5s ease-in-out forwards;
}

.offcanvas-backdrop.show {
    display: none;
}

.navbar-nav::-webkit-scrollbar{
    width: 0px;
}

/* From Uiverse.io by vk-uiux */ 
.hamburger {
    border: none;
    &:focus {
        box-shadow: none;
    }
}


  .toggle {
    position: relative;
    width: 40px;
    cursor: pointer;
    margin: auto;
    display: block;
    height: calc(4px * 3 + 11px * 2);
  }
  
  .bar {
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: calc(4px / 2);
    background: var(--blue);
    color: inherit;
    opacity: 1;
    transition: none 0.35s cubic-bezier(.5,-0.35,.35,1.5) 0s;
  }
  
  /***** Collapse Animation *****/
  
  .bar--top {
    bottom: calc(50% + 11px + 4px/ 2);
    transition-property: bottom,margin,transform;
    transition-delay: calc(0s + 0.35s),0s,0s;
  }
  
  .bar--middle {
    top: calc(50% - 4px/ 2);
    transition-property: top,opacity;
    transition-duration: 0.35s,0s;
    transition-delay: calc(0s + 0.35s * 1.3),calc(0s + 0.35s * 1.3);
  }
  
  .bar--bottom {
    top: calc(50% + 11px + 4px/ 2);
    transition-property: top,transform;
    transition-delay: 0s;
  }
  
  .offcanvas-top.show + button .bar--top {
    bottom: calc(50% - 11px - 4px);
    margin-bottom: calc(11px + 4px / 2);
    transform: rotate(45deg);
    transition-delay: calc(0s + 0.35s * .3), calc(0s + 0.35s * 1.3), calc(0s + 0.35s * 1.3);
  }
  
  .offcanvas-top.show + button .bar--middle {
    top: calc(50% + 11px);
    opacity: 0;
    transition-duration: 0.35s, 0s;
    transition-delay: 0s, calc(0s + 0.35s);
  }
  
  .offcanvas-top.show + button .bar--bottom {
    top: calc(50% - 4px / 2);
    transform: rotate(-45deg);
    transition-delay: calc(0s + 0.35s * 1.3), calc(0s + 0.35s * 1.3);
  }
  

.logo {
    margin-top: 20px;
    height: 110px;
    filter: drop-shadow(0px 0px 10px rgba(255, 255, 255, 0.5)) drop-shadow(0px 0px 20px rgba(255, 255, 255, 0.6)) drop-shadow(0px 0px 30px rgba(255, 255, 255, 0.7));
}

.logo img{
    margin-top: 20px;
    height: 110px;
    filter: drop-shadow(0px 0px 10px rgba(255, 255, 255, 0.5)) drop-shadow(0px 0px 20px rgba(255, 255, 255, 0.6)) drop-shadow(0px 0px 30px rgba(255, 255, 255, 0.7));
}

.dropdown-menu.mega-menu {
    left: 0px !important;
    margin-top: 0px !important;
    padding: 0rem 1rem;
    border-radius: 10px;
}



.mega-dropdown a {
    color: var(--blue);
}

.navbar-expand-xl .navbar-nav .dropdown-menu {
    left: 0;
}

.mega-menu {
    background-color: var(--blue);
    border-radius: 0;
    position: relative;
    width: 100%;
}

.mega-menu ul {
    list-style: none;
}

.mega-menu ul li {
    color: var(--white) !important;
}

.mega-menu ul li {
    padding: 0px 0;
    font-size: 14px;
    font-weight: 400 !important;
}

.mega-menu ul a::after {
    display: none !important;
}

.mega-menu ul li::after {
    display: none !important;
}

.mega-menu ul li:hover {
    color: var(--yellow) !important;
    background-color: transparent !important;
}


.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}


/*Footer*/

.footer {
    background: url('../img/banners/footer.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #FFF;
    font-family: var(--font_regular);
    position: relative;
    font-size: 15px;
}


.footer h2 {
    font-size: 4.25rem;
    font-size: clamp(4.25rem, 2.95rem + 5.2vw, 7.5rem);
    font-weight: 700;
    padding-top: 3rem;
    margin-bottom: 0;
    color: var(--white);
    margin-left: 10px;
}

.footer .brand a {
    color: #FFF;
    text-decoration: none;
}

.footer h5 {
    font-size: 24px;
    font-family: var(--font_regular);
    text-transform: uppercase;
    padding-bottom: 10px;
}

.footer ul li a {
    text-decoration: none;
    color: #FFF;
    padding: 5px 0px;
    font-weight: 300;
}

.footer ul li a i {
    font-size: 34px;
}

.footer .suc {
    max-width: 240px;
}

.footer .suc h6 {
    color: var(--yellow2);
    font-weight: bold;
    margin-bottom: 2px;
}

.footer .suc .data {
    padding-bottom: 10px;
}

.footer .suc .data p {
    line-height: 22px;
    font-family: var(--font_light);
}

.footer a {
    transition: all 0.5s ease;
    &:hover {
        color: var(--yellow2);
    }
}

/*Main*/

.portada-section {
    height: 680px;
    width: 100%;
    position: relative;
    overflow: hidden;

    & .imagen-fondo {
        background-position: right;
    }

    h1 {
        color: transparent; /* Hace el texto transparente */
        -webkit-text-stroke: 2px white; /* Define el grosor y color del borde */
        text-align: center; /* Opcional: Alinear el texto */
        text-shadow: 
        0 0 40px rgba(0,0,0,0.5);  /* Resplandor cercano */
        position: absolute;
        top: 25%;
        left: 0;
        right: 0;
        text-align: center;
        font-size: 3.75rem;
        font-size: clamp(3.75rem, 2.75rem + 4vw, 6.25rem);
        min-width: 800px;
    }

    &::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 100%;
        height: 25%; 
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 70%,rgba(255, 255, 255, 1) 100%);
        pointer-events: none;
    }

    & .btn-video {
        position: absolute;
        top: 62%;
        left: 0;
        right: 0;
        margin-inline: auto;
        text-align: center;
        width: 150px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* From Uiverse.io by boryanakrasteva */ 
.ct-scroll {
    width: 30px;
    height: 50px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    outline: 2px solid #c69640;
    box-shadow: 0px 0px 10px #c69640;
    position: absolute;
    bottom: 10px;
    right: 0;
    left: 0;
    margin-inline: auto;
    z-index: 100;
}

.scroll {
    width: 5px;
    height: 10px;
    border-radius: 10px;
    background-color: #c69640;
    box-shadow: 0px 0px 10px #c69640;
    animation: scroll_4013 2s linear infinite;
    transform: translateY(40%);
}


@keyframes scroll_4013 {
    0% {
        transform: translateY(40%);
    }

    50% {
        transform: translateY(90%);
    }
};

.info-section {
    padding: 100px 0 150px 0;
}

.marca-section {
    position: relative;
    margin-top: 70px;

    & .separador3 {
        width: 50px;
        margin-top: 30px;
    }
}


.marcas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

    .ct-imagen {
        width: 106px;
        height: 87px;
        margin-inline: 0.9rem;
        margin-bottom: 2rem;
        cursor: pointer;


        & img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            filter: grayscale(100%);
            transition: all 0.5s ease;

            &.selected {
                filter: grayscale(0%);
                transform: scale(1.1);
            }
    
            &:hover {
                filter: grayscale(0%);
                transform: scale(1.1);
            }
        }
    }
}


.grupo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

    & .img-fluid {
        transition: all 0.5s ease;
    }

    & .empresa {
        margin-inline: 0.9rem;
        margin-bottom: 2rem;
        cursor: pointer;
        filter: grayscale(100%);
        transition: all 0.5s ease;
        margin-inline: 1.5rem;

        &.selected {
            filter: grayscale(0%);

            & .img-fluid {
                transform: scale(1.1);
            }
        }
    
        &:hover {
            filter: grayscale(0%);

            & .img-fluid {
                transform: scale(1.1);
            }
        }
    }

}

.grupo-section {
    margin-top: 100px;
}


.grupo-section .grupo {


    .empresa {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.5rem;

        a {
            width: 80px;
            height: 30px;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-inline: auto;
            margin-top: 0.5rem;
        }
    }

    .ct-imagen {
        width: 140px;
        height: 80px;
    }

}

.grupo-section .grupo .ct-imagen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.grupo-info {

    p {
        margin-bottom: 0.5rem;
    }

}

.marca-info {
    text-align: center;
}

.cli-next, .cli-prev {
    cursor: pointer;
    position: absolute;
    top: 40%;
    z-index: 1;
    width: 33px;
    height: 19px;
    padding: 0;
}

.cli-prev {
    left: 0;
}

.cli-next {
    left: calc(100% - 33px);
}

.arrow-cliente.prev:hover {
    transform: scale(1.1);
}

.arrow-cliente.next:hover {
    transform: scale(1.1);
}

.grupo-info {
    padding: 100px 0;
    text-align: center;
    min-height: 500px;
    position: relative;
    .righ, .left {
        position: absolute;
        z-index: -1;
    }
    .righ {
        width: 30dvw;
        right: 0;
        bottom: 0;
    }

    .left {
        width: 30dvw;
        left: 0;
        top: 0;
    }

}

.slick-arrow {
    cursor: pointer !important;
    position: absolute;
    top: 70%;
    z-index: 10;
}


.slick-dots {
    position: absolute;
    bottom: -35px;
    height: 25px !important;
}

.slick-dots li {
    margin-inline: 2px;
}

.slick-dots li button{
    font-size: 20px !important;
}

.slick-dots li button:before {
    font-size: 14px;
    color: var(--darkblue);
    opacity: 0.4;
}

.slick-dots li.slick-active button:before {
    opacity: 1;
    color: var(--yellow);
    font-size: 16px;
}

.slick-arrow {
    cursor: pointer;
    position: absolute;
    z-index: 1;
    bottom:0;
    height: 60px;
    width: 60px;
    transition: all 0.3s ease;
  }
  
  .prev {
    left: 20px;
  }
  
  .next {
    right: 20px;
  }
  
  .next:hover, .prev:hover {
    transform: scale(1.1);
  }

.molino {
    max-width: 120%;
    margin-left: -20%;
    margin-top: 100px;
}

.fideo2 {
    margin-top: -100px;
    max-width: 320px;
}

.contenido-section {
    padding: 100px 0 150px 0;

    .row {
        margin-bottom: 3rem;
    }
}

.vineta {
    margin-right: 1rem;
    height: 42px;
}

.form-check-input:checked {
    background-color: var(--blue) !important;
    border-color: var(--blue) !important;
    border: 1px solid var(--blue) !important;
    box-shadow: 0 0 5px var(--blue) !important;
}

input[type="text"]:focus, input[type="tel"]:focus, input[type="checkbox"]:focus, 
input[type="email"]:focus, input[type="password"]:focus, input[type="file"]:focus, textarea:focus, select:focus,
input[type="number"]:focus{
    border: 1px solid var(--blue) !important;
    box-shadow: 0 0 5px var(--blue) !important;
}

textarea {
    height: 150px;
}

.producto-section {
    padding: 150px 0 100px 0;
}

.op-productos, .op-categorias {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    li {
        text-transform: uppercase;
        color: #bfbfbf;
        padding: 0px 15px;
        cursor: pointer;
        font-size: 1rem;
        text-align: center;
        display: flex;
        align-items: center;
        margin-bottom: 1.5rem;
        font-weight: bold;
        transition: all 0.5s ease;
        text-wrap: nowrap;

        &.selected, &:hover {
            color: var(--blue);
        }

        &:not(:last-of-type) {
            border-right: 2px solid var(--yellow);
        }

        a {
            color: #bfbfbf;
            transition: all 0.5s ease;
        }

        &.selected a, &:hover a{
            color: var(--blue);
        }
    }
}

.op-categorias li {
    max-width: 100%;
    padding: 10px 15px;
}

/* .banner-seleccion {
    position: relative;
    height: auto;
    padding-bottom: 220px;

    .producto-imagen {
        text-align: center;
        max-width: 55dvw;
        margin-inline: auto;

        h2 {
            text-transform: uppercase;
            font-size: 4rem;
            font-size: clamp(4rem, 1rem + 12vw, 11.5rem);
            font-weight: 700;
            padding-top: 3rem;
            margin-bottom: 0;
            color: #e7e7e7;
            margin-left: 10px;
            text-align: center;
            padding-top: 0;
        }

        .img-fluid {
            margin-top: -6dvw;
        }

    }


    .imagen-fondo {
        top: auto;
        bottom: 0;
        z-index: -1;
        object-fit: cover;
        height: 300px;
    }
} */

.contenedor_producto {
    display: flex;
    justify-content: start;
    width: 100%;

    .contenedro_imagen {
        width: 180px;
        height: 200px;
        padding-right: 5px;
        flex-shrink: 0;
        display: flex;
        align-items: start;
        justify-content: center;
    }

    .img-fluid {
        width: 100%;
        height: auto;
        max-height: 100%;
        object-fit: contain;
    }

    h3 {
        font-size: 1.25rem;
        color: var(--blue);
    }

    span {
        color: var(--blue);
        font-weight: bold;
    }

    p {
        font-size: 1rem;
    }
}


.blue {
    background-color: var(--darkblue2);
}


.producto.style2 .contenedor_producto {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border: 1px dotted;
    cursor: grab;
    height: 100%;
}

.producto.style2 .contenedor_producto .contenedro_imagen {
    margin-bottom: 0.5rem;
}

.producto.style2 .contenedor_producto h3 {
    color: var(--blue) !important;
}

.sortable-ghost {
    opacity: 0.4;
    background-color: #c8ebfb;
}

#filtro-productos, #filtro-blogs {
    color: var(--white) !important;
    background-color: rgba(0, 0, 0, 0.4);

    &::placeholder {
        color: var(--white);
    }
}

.catalogo {
    display: flex;
    align-items: center;
    justify-self: center;
    flex-direction: column;

    .img-fluid {
        margin-bottom: 1rem;
    }
}

.logout {
    position: absolute;
    right: 0;
    top: 0;
}

/*Dashboard*/

.table-responsive {
    margin-top: 1rem;
    height: 600px;
    overflow-y: auto;
}

.table-responsive::-webkit-scrollbar{
    width: 0;
    background-color: transparent;
}

#contenido, #contenido_en, #contenido_pt {
    width: 100%;
    height: 150px;
    border-radius: 10px;
}

/* Mensajes de Advertencia */
.mensaje{
    min-width: 300px;
    max-width: 400px;
    min-height: 250px;
    background-color: var(--white);
    box-sizing: border-box;
    position: fixed;
    top: 50%;
    left: 50%;
    padding: 30px 50px 20px 50px;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 110;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.123);

    &::before {
        content: "";
        position: absolute;
        width: 90%;
        height: 100%;
        top: -8px;
        left: 5%;
        right: 0;
        background-color: rgba(255, 255, 255, 0.8);
        z-index: -1;
    }

    &::after {
        content: "";
        position: absolute;
        width: 80%;
        height: 100%;
        top: -16px;
        left: 10%;
        right: 0;
        background-color: rgba(255, 255, 255, 0.8);
        z-index: -2;
    }

    h2{
        color: var(--blue);
        text-align: center;
        margin-bottom: 5px;
    }

    ul{
        margin-top: 20px;
        padding-bottom: 20px;
        width: 100%;

        li{
            margin-left: 10px;
            margin-bottom: 10px;
        }
    }

    button:before {
        content: "";
        position: absolute;
        height: 1px;
        width: 100%;
        bottom: 72.5px;
        left: 0;
        background-color: rgba(0, 0, 0, 0.2);
    }
}

.mensaje-exito {
    width: 600px;
    min-height: 250px;
    background-color: var(--white);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    position: absolute;
    z-index: 9999;
    border-radius: 25px;
    margin: 10% 50%;
    transform: translate(-50%);

    img {
        width: 45px;
        height: 45px;
    }
    

    .contenedor-mensaje {
        border: 4px solid var(--yellow);
        background-color: white;
        min-height: 210px;
        padding: 10px 0;
        border-radius: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #24468A;
        font-size: 15px;
    }
}

.pop_up {
    position: absolute;
    margin: 10% 50%;
    padding: 10px 20px;
    transform: translate(-50%);
    z-index: 3;
}

.btn-back {
    background-color: #24468A;
    border: none;
    animation: all 0.5s ease;

    &:hover {
        background-color: var(--yellow2);
    }
}

.overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(40, 51, 138, 0.5);
    /* Color de fondo semi-transparente */
    backdrop-filter: blur(5px);
    z-index: 1;
    max-height: 100vh;
    overflow-y: auto;
    padding-bottom: 6rem;
    /* Asegura que el overlay esté por encima del contenido de atrás */
}


.admin h3 {
    color: var(--white);
}

.admin {
    position: relative;
    text-align: center;

    .imagen-fondo {
        filter: brightness(0.6);
    }

    .btn-base2 {
        color: var(--white) !important;
        border: 1px solid var(--white) ;
    }

    label {
        font-family: var(--ft-bold);
    }
}

.admin h2,.admin label, .admin td, .admin th {
    color: white !important;
}

.admin form td, .admin form th {
    color: black !important;
}

.table {
    background-color: transparent; /* Fondo blanco semitransparente */
    border-radius: 8px; /* Esquinas redondeadas opcionales */

    .nombrep {
        width: 75%;
    }
}

.table th,
.table td {
    background-color: transparent; /* Fondo transparente para las celdas */
}

.table thead th {
    background-color: var(--blue); /* Fondo ligeramente menos transparente para el encabezado */
    color: #333; /* Color del texto para buena legibilidad */
}

.table-striped tbody tr {
    background-color: rgba(0, 0, 0, 0.3); /* Fondo semitransparente para las filas impares */
}

#login {
    label {
        font-family: var(--ft-bold);
        color: var(--white);
    }
}

.acciones-panel {
    display: flex;
    justify-content: center;
    min-width: 140px;
}

.accion {
    border-radius: 8px;
    display: flex;
    padding: 6px;
    align-items: flex-start;
    border: none;
    transition: all 0.5s ease;
    min-width: 30px;
    margin-inline: 0.5rem;

    &.editar {
        background: #207272;
    }

    &.eliminar {
        background: #d02020;
    }

    &:hover {
        filter: brightness(1.1);
    }

}

.video {
    iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }
}


.mfp-content {
    background-color: rgba(40, 51, 138, 0.5);
}

.mfp-container {
    padding: 0;
}

.mfp-close {
    right: 10px !important;
}

.mfp-counter {
    right: 20px !important;
}

.mfp-figure::after {
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;

}

.mfp-figure figure {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.galeria {
    position: relative;
    height: 100% !important;
    display: flex;
    overflow: hidden;

    i {
        position: absolute;
        font-size: 2rem;
        font-weight: 400;
        color: var(--yellow2);
        z-index: 10;
        top: 50%;
        left: -10%;
        transform: translate(-50%, -50%);
        transition: all 0.5s ease;
    }

    &::after {
        content: "";
        position: absolute;
        width: 0%;
        height: 100%;
        background-color: rgba(40, 51, 138, 0.7);
        top: 0;
        left: 0;
        z-index: 1;
        transition: all 0.5s ease;
    }

    &:hover {
        &::after {
            width: 100%;
        }

        i {
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
    }
}

.galeria .img-fluid{
    height: 100%;
}

.portada-notica {
    height: 680px;
    width: 100%;
    position: relative;
    overflow: hidden;
    
    .imagen-fondo {
        filter: brightness(1);
    }

    
    .contenido {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 90%;
        max-width: 1000px;
        
        .btn-base {
            margin-top: 1rem;
            background-color: white;
            color: var(--blue) !important;

            &:hover {
                background-color: var(--yellow2);
            }
        }
    }


    h2 {
        text-align: center;
        text-shadow: 
        0 0 40px rgba(0,0,0,1);
        font-family: var(--ft-bold);
        font-size: 2rem;
        font-size: clamp(2rem, 1.25rem + 3vw, 3.875rem); /*32px-62px*/
        margin: 0 !important;
    }
}

.prev-news, .next-news {
    top: 50%;
}

.prev-news {
    left: 20px !important;
}

.next-news {
    right: 20px !important;
}

.prev-news:hover, .prev-news:hover {
    transform: scale(1.1);
}

.portadas-noticias-section {
    & .slick-dots {
        position: absolute;
        bottom: 30px;
        height: 25px !important;
    }

    & .slick-dots li button:before {
        font-size: 14px;
        color: white;
        opacity: 0.7;
    }

    .slick-dots li.slick-active button:before {
        opacity: 1;
        color: var(--yellow);
        font-size: 16px;
    }
}

.noticias-section {

    .slick-dots li button:before {
        font-size: 14px;
        color: var(--darkblue);
        opacity: 0.4;
    }

    .slick-dots li.slick-active button:before {
        opacity: 1;
        color: var(--yellow);
        font-size: 16px;
    }

    h4 {
        text-transform: none;
        font-family: var(--ft-bold);
        font-size: 17px;
        letter-spacing: 0;
        margin: 0.5rem 0;
        color: rgb(82, 87, 109);
        transition: 0.5s all ease;
    }

    p {
        font-size: 0.85rem;
        margin-top: 4px;
    }

    .slick-dots {
        position: absolute;
        bottom: -20px;
        height: 25px !important;
    }

}

.noticia p {
    color: var(--gray);
}

.noticia:hover img {
    transform: scale(1.05);
}

.noticia:hover .btn-base2 {
    background-color: var(--blue);
    border-color: var(--blue);
    color: var(--white) !important;
}

.noticia:hover h4 {
    color: var(--blue);
}


.interna-section {
    padding-top: 150px;

    h1 {
        font-size: 2rem;
        font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem);
        color: rgb(82, 87, 109);
    }

    h3 {
        font-size: 1.5rem;
        font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
        color: rgb(82, 87, 109);
    }

    p {
        margin-bottom: 1rem;
    }

    img {
        max-width: 100%;
        height: auto;
        margin: 1rem 0;
    }

    .meta-data {
        text-transform: uppercase;
        font-size: 0.8rem;
        font-weight: 600;
        color: rgb(119, 126, 137);
        margin-bottom: 1rem;
    
        & .autor {
            color: rgb(28, 30, 48);
            margin-left: 1rem;
        }
    }
}

.pdf-container {
    width: 100%;
    height: 100%;
    min-height: 540px;
}

.pdf-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.time-section {
    position: relative;
    background-color: var(--white);

    & .separador2 {
        position: absolute !important;
        width: 33px !important;
        top: -120px !important;
        z-index: 1 !important;
    }

    & .contenedor-principal {
        max-width: 100%;
        overflow: hidden;
    }

    & .contenedor-imagen {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #888 #f1f1f1;
        position: relative;
    }

    & .imagen-ancha {
        max-width: none;
        height: 420px;
        display: block;
    }

    & .botones-control {
        display: flex;
        justify-content: space-between;
        margin-top: 10px;
    }
    
    & .next.oculto {
        opacity: 0;
        pointer-events: none;
    }

    & .prev.oculto {
        opacity: 0;
        pointer-events: none;
    }

    & .contenedor-imagen::-webkit-scrollbar {
        display: none;
    }

    & .contenedor-imagen {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    & .contenedor-principal {
        & .next, & .prev {
            cursor: pointer;
            position: absolute;
            z-index: 1;
            bottom:12%;
            height: 40px;
            width: 40px;
            transition: all 0.3s ease;
        }
    }
}

.iso {
    letter-spacing: 0px;
    text-transform: none;
    font-size: 18px;
    margin-bottom: 0;
}

.requisitos {
    font-size: 11px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    line-height: 14px;
}

.requisitos span {
    max-width: 170px;
}

.requisitos li {
    margin-left: 1rem;
}

.requisitos p {
    margin-bottom: 0;
}

.molinos {
    font-size: 12px;
}

.ct-molino {
    margin-bottom: 1rem;
}

.start-x.flex-sm-nowrap .me-2.mb-4 .img-fluid.mb-2 {
    transition: all 0.5s ease;
}

.start-x.flex-sm-nowrap .me-2.mb-4 .img-fluid.mb-2:hover {
    filter: drop-shadow(0px 0px 10px rgba(254, 104, 0, 0.8));
}

.valores-section {
    padding-bottom: 0;

    & .separador2 {
        position: absolute;
        width: 31px;
        top: auto;
        bottom: -50px;
        left: 50%;
        transform: translateX(-50%);
    }
}

.contenedor-imagen {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* Para un desplazamiento suave en iOS */
    scrollbar-width: thin; /* Para Firefox */
    scrollbar-color: #888 #f1f1f1; /* Para Firefox */
}

.imagen-ancha {
    max-width: none;
    height: auto;
    display: block; /* Elimina el espacio extra debajo de la imagen */
}

#copete {
    height: 175px;
}

.ck-editor {
    width: 100% !important;
    margin-left: 4px !important;
}

.ck-editor h1, .ck-editor h2, .ck-editor h3 {
    color: var(--black);
}

.ck-editor__editable_inline {
    width: 100%;
    height: 450px;
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: var(--black);
    border-color: var(--blue) !important;

    &:focus {
        border: 1px solid var(--blue) !important;
        background-color: transparent;
        color: var(--black) !important;
    }
}

/* Estilos para la barra de desplazamiento en WebKit */
.contenedor-imagen::-webkit-scrollbar {
    height: 8px;
}

.contenedor-imagen::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.contenedor-imagen::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.contenedor-imagen::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.ct-miniatura {
    max-width: 100%;
    width: 100%;
    height: 273px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ct-miniatura img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.5s ease;
}

.portada-blog .img-fluid {
    width: 100%;
}

.btn-atras {
    color: rgb(181, 183, 194);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    transition: all 0.5s ease;
    margin-bottom: 0.5rem;
}

.btn-atras i {
    font-size: 0.7rem;
    margin-right: 0.25rem;
}

.btn-atras:hover {
    color: var(--blue);
}

/* Estilos para dispositivos táctiles */
@media (pointer: coarse) {
    .contenedor-imagen::-webkit-scrollbar {
        display: none; /* Oculta la barra de desplazamiento en dispositivos táctiles */
    }

    .contenedor-imagen {
        -ms-overflow-style: none;  /* Para Internet Explorer y Edge */
        scrollbar-width: none;  /* Para Firefox */
    }
}
html {
    width: calc(100vw - var(--scrollbar-width)) !important;
    overflow-x: hidden !important;
}