.navbar-nav .nav-item a{
    padding: 10px 0;
}
.mw-200{
    max-width: 200px;
}
.w-60{
    width: 60px;
}
.overlay3 {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    z-index: 2;
    object-fit: cover;
    background: #51515185;
}

.video-ini {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Hace que el video cubra todo el espacio sin distorsionarse */
    z-index: -1; /* Coloca el video detrás del contenido */
}
#scrollTo{
    position: relative; margin-bottom: -12em;}
.dropdown-menu{
    padding: 10px 20px;
}
.dropdown-item.active, 
.dropdown-item:active{
background-color: transparent;
}

@media (max-width:991px){
    .overflow-mobile-hidden{
        overflow: hidden;
    }
    .navbar-toggler {
        text-align: center;
        float: right;
        padding-top: 20px;
    }
}
.pointer{
    cursor: pointer;
}
@keyframes bounceDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

.bounce-down {
    animation: bounceDown 2s infinite;
}
#about {
    transition: background-color 0.5s ease;
}
.parallax-spacer {
    height: 20vh;
    position: relative;
    z-index: 3;
    overflow: hidden;
    pointer-events: none;
    /*background: #0000000f;*/
    background: #fdeadc;
}

.scroll-fade-text {
    font-size: 7rem;
    color: #8f2126;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, 50px); /* centrado + desplazado abajo */
    white-space: nowrap;
}

.scroll-fade-text.visible {
    opacity: 1;
    transform: translate(-50%, 0); /* sube y aparece */
    background: #ffffff14;
    border-bottom: 1px solid #fff;
}

.video-parallax-container {
    position: relative;
    height: 80vh; /* Puedes ajustar a 100vh si quieres pantalla completa */
    overflow: hidden;
    z-index: 0;
}

.video-parallax {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Esto hace que el video quede "fijo" detrás */
}
.justificado{text-align: justify !important;}

.canvas-container {
    position: relative;
    width: 100%;
    /*max-width: 500px; !* o el tamaño que tú quieras *!*/
    margin: auto;
    aspect-ratio: 1 / 1; /* O usa height: auto si prefieres */
    overflow: hidden;
}

.canvas-container img,
.canvas-container canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#scratch-canvas {
    z-index: 2;
}

.imagen-final {
    z-index: 1;
}
#custom-cursor {
    position: fixed;
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* para que no interfiera con clics */
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.05s linear;
    font-size: 20px;
    color: black;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    opacity: 0; /* inicia oculto */
}

.video-contenedor {
    position: relative;
    width: 100%;
    height: auto; /* o altura fija si lo necesitas */
    overflow: hidden;
}
/*.imagen-superior {*/
/*    position: relative; !* o absolute si necesitas ubicarla libremente *!*/
/*    z-index: 2;*/
/*    max-width: 100%;*/
/*    height: auto;*/
/*    display: block;*/
/*    margin-bottom: -180px;*/

/*}*/
@media (max-width: 1500px) {
    .curvas-fondo{background: url("../img/producto/fondo2.jpg"); top: -30px; background-size: cover;}
}
@media (min-width: 1501px) {
    .curvas-fondo{background: url("../img/producto/fondo.jpg"); background-size: cover;background-position: 100% 100%}
}



@media (max-width: 767px) {
.scroll-fade-text {
    font-size: 40px;
}
    .scroll-fade-text.visible {
        opacity: 1;
        transform: translate(-50%, 0);
        /*background: #ffffffb8;*/
}
    .parallax-spacer {
        height: 40vh;}
}

@media (min-width: 768px ) and (max-width:1200px) {
    .scroll-fade-text {
        font-size: 60px;
    }

}
/*terminainicio*****************************************************************/

/*empieza-nosotros************************************************************/
.scroll-text {
    transform: translateY(0);
    transition: transform 1s ease-out;
}


.scroll-text.active {
    transform: translateY(50%); /* Baja el párrafo suavemente */
}
 .scroll-text2 {
    transition: transform 1s ease-out;
    transform: translateY(0);
}
.scroll-text2.active {
    transform: translateY(-50%); /* Sube el texto */
}
/* Contenedor con overflow oculto para el efecto de parallax invertido */
.imagen-wrapper {
    overflow: hidden;
    height: 790px; /* ajusta al tamaño visible de la imagen */
    position: relative;
}

.imagen-superior {
    position: relative;
    top: 0;
    transition: transform 1s ease-out;
}

/* Clase que simula que la imagen "sube" */
.imagen-superior.scroll-effect {
    transform: translateY(-30px); /* ajusta según el efecto que busques */
}

.scroll-efecto {
    position: relative;
    overflow: hidden;
    min-height: 80vh;
}

/* Contenedor original donde inicia el video */
#video-fijo-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 900px;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.video-scroll {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1s ease;
    border-radius: 0;
}

/* Clase cuando el video se reduce y se mueve */
.video-scroll.shrink {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Estilo de destino para que reciba el video */
.video-small {

    position: relative;
    z-index: 1;
}

/* Texto animado letra por letra */
.scroll-pintar span {
    display: inline-block;
    color: #999;
    transition: color 0.6s ease, transform 0.6s ease;
    transform: translateY(30px);
    opacity: 0;
}

.scroll-pintar.active span {
    color: #000;
    transform: translateY(0);
    opacity: 1;
}


/*termina-nosotros****************************************************************************************/
/*galeria****************************************************************************************************/
.galeria-intro {
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Estilo general para las imágenes */
.foto {
    position: absolute;
    max-width: 370px;
    border:9px solid #ffff;
    background: #fff;
}

/* Imagen izquierda (arriba) */
.izquierda-foto {
    top: 31%;
    left: 12%;
    transform: rotate(350deg);
    z-index: 1;
}

/* Imagen centro (centro de la pantalla y encima de las otras dos) */
.centro-foto {
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* Imagen derecha (abajo) */
.derecha-foto {
    bottom: 12%;
    right: 12%;
    transform: rotate(10deg);
    z-index: 1;
}

/* Asegura que las imágenes se toquen */
.foto img {
    width: 100%;
    height: auto;
    display: block;
}

/* Título centrado arriba de todo */
.titulo-principal {
    position: absolute;
    top:15%;
    left: 0;
    right: 0;
    margin: auto;
    /*transform: translate(-50%, -50%);*/
    z-index: 3;
    text-align: center;
    pointer-events: none; /* opcional: evita que interfiera con clics */
}
.crema-degradado{background: linear-gradient(to bottom, #f9ece5 0%, #ffffff 5%); }
@media (min-width: 992px ) and (max-width:1200px) {
    .foto {
        max-width: 330px;}
}
@media (max-width:1500px) {
    .izquierda-foto {
        top: 31%;
        left: 4%;
        transform: rotate(350deg);
        z-index: 1;
    }

    /* Imagen derecha (abajo) */
    .derecha-foto {
        bottom: 12%;
        right: 4%;
        transform: rotate(10deg);
        z-index: 1;
    }

}


/* Responsivo para móviles (pantallas menores a 768px) */
@media (max-width: 768px) {
    /* Imagen izquierda (arriba) */
    .izquierda-foto {
        top: 24%;
        left: 12%;
        transform: rotate(350deg);
        z-index: 1;
    }

    /* Imagen centro (centro de la pantalla y encima de las otras dos) */
    .centro-foto {
        top: 35%;
        left: 12%;
        transform: none;
        z-index: 1;
    }

    /* Imagen derecha (abajo) */
    .derecha-foto {
        top: 31%;
        right: 12%;
        transform: rotate(10deg);
        z-index: 1;
    }
}








.card-galeria{height: 700px;
    position: relative;
    overflow: hidden;
}

.imagen-principal {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.5s ease;
}
.titulo-galeria{width: 300px;position: absolute;bottom: 20px; left: 20px;
}
.w-300{width: 300px; display: ruby;}
/* Collage oculto por defecto */
.w-40{width: 40% !important;}
.h56{height: 56px!important;}
.collage {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 1;
    background-color: #fff; /* o transparente si prefieres */
}

/* Mostrar collage en hover */
.card-galeria:hover .collage {
    opacity: 1;
    pointer-events: all;
}

.card-galeria:hover .imagen-principal {
    opacity: 0;
}

/* Movimiento suave tipo mosaico */
.movimiento {
    width: 100%;
    height: 345px;
    object-fit: cover;
    animation: mosaico 3s infinite alternate ease-in-out;
}

/* Animación tipo mosaico */
@keyframes mosaico {
    0%   { transform: translate(0px, 0px) scale(1); }
    50%  { transform: translate(2px, -2px) scale(1.02); }
    100% { transform: translate(-2px, 2px) scale(1); }
}

/* Texto sobre las imágenes */
.collage-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.card-galeria:hover .collage-text {
    opacity: 1;
    transform: translateY(0);
}
/* Base común para todas */
.movimiento {
    width: 100%;
    height: 345px;
    object-fit: cover;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
    border: 4px solid white;
    border-radius: 11px;
}

/* Variantes individuales */
.mov1 {
    animation-name: mosaico1;
}
.mov2 {
    animation-name: mosaico2;
}
.mov3 {
    animation-name: mosaico3;
}

/* Keyframes distintos */
@keyframes mosaico1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(2px, -2px) scale(1.03); }
    100% { transform: translate(-2px, 1px) scale(1); }
}

@keyframes mosaico2 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-2px, 2px) rotate(1deg); }
    100% { transform: translate(2px, -1px) rotate(0deg); }
}

@keyframes mosaico3 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(1px, 2px) scale(1.01); }
    100% { transform: translate(-1px, -2px) scale(1); }
}
.card-galeria:hover .collage,
.card-galeria.activo .collage {
    opacity: 1;
    pointer-events: all;
}

.card-galeria:hover .imagen-principal,
.card-galeria.activo .imagen-principal {
    opacity: 0;
}

.card-galeria:hover .collage-text,
.card-galeria.activo .collage-text {
    opacity: 1;
    transform: translateY(0);
}





/*galeria*/
.section-divider{
    position: relative;
    border-top: 3px solid #ed1c24
}
.section-divider .img-container{
   position: absolute;
   bottom: -2px;
    left: 50%;
    transform: translate(-50%);
    font-size: 2.3em;
    color: var(--gris-oscuro);
    background: #fff;
    width: 100px;
    text-align: center;
    padding: 0 15px;
}

.div-custom{
    border-radius: 1em;
    padding: 2.3em 1em;
    transition: 0.3s all ease;
    min-height: 100%;
}
.div-custom:hover{
    box-shadow: 0px 10px 30px -10px rgb(0 0 0);
}

.card-section {
    position: relative;
    border-radius: 6px;
    box-shadow: 0px 10px 30px -5px rgb(0 0 0 / 35%);
    overflow: hidden;
}

/* Estilo común a todas las líneas */
.border-line {
    position: absolute;
    background-color: #931b0a;
    transition: all 0.4s ease;
    z-index: 1;
}

/* Línea izquierda */
.border-line.left {
    top: 0;
    left: 0;
    width: 3px;
    height: 0%;
    transition-delay: 0s;
}

/* Línea inferior */
.border-line.bottom {
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    transition-delay: 0.4s;
}

/* Línea derecha */
.border-line.right {
    top: 0;
    right: 0;
    width: 3px;
    height: 0%;
    transition-delay: 0.8s;
}

/* Línea superior */
.border-line.top {
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    transition-delay: 1.2s;
}

/* Hover: animamos cada línea */
.card-section:hover .border-line.left {
    height: 100%;
}

.card-section:hover .border-line.bottom {
    width: 100%;
}

.card-section:hover .border-line.right {
    height: 100%;
}

.card-section:hover .border-line.top {
    width: 100%;
}

/*** Contact ***/

.contact1 {
        width: 100%;
        min-height: 100%;
        padding: 15px;
        padding-bottom: 50px;
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .container-contact1 {
        width: 1163px;
        background: #f1f1f1;
        background-image: url('../img/elements/botella-contacto.jpg');
        background-size: contain;
        background-repeat: no-repeat;
        border-radius: 10px;
        overflow: hidden;

        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;

        padding: 90px 130px 88px 148px;

        box-shadow: 0px 10px 30px -5px rgb(0 0 0 / 35%);
    }

    /*------------------------------------------------------------------
[  ]*/
    .contact1-pic {
        width: 296px;
    }

    .contact1-pic img {
        max-width: 100%;
    }


    /*------------------------------------------------------------------
[  ]*/


    .contact1-form-title {
        display: block;
        font-size: 24px;
        color: #333333;
        line-height: 1.2;
        text-align: center;
        padding-bottom: 44px;
    }

    input.input1 {
        height: 50px;
        border-radius:0;
        padding: 0 30px;
        border: 1px solid rgba(105, 105, 105, 0.1);
    }

    input.input1+.shadow-input1 {
        border-radius: 25px;
    }

    textarea.input1 {
        min-height: 150px;
        padding: 12px 30px;
        border: 1px solid rgba(105, 105, 105, 0.1);
        resize: none;
    }

    textarea.input1+.shadow-input1 {
        border-radius: 25px;
    }

    /*---------------------------------------------*/
    .wrap-input1 {
        position: relative;
        width: 100%;
        z-index: 1;
        margin-bottom: 20px;
    }

    .input1 {
        display: block;
        width: 100%;
        background: #e6e6e642;
        font-size: 15px;
        line-height: 1.5;
        color: #000;
        border: none;
    }

    .shadow-input1 {
        content: '';
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: -1;
        width: 100%;
        height: 100%;
        box-shadow: 0px 0px 0px 0px;
        color: rgba(87, 184, 70, 0.5);
    }

    .input1:focus+.shadow-input1 {
        -webkit-animation: anim-shadow 0.5s ease-in-out forwards;
        animation: anim-shadow 0.5s ease-in-out forwards;
    }

    @-webkit-keyframes anim-shadow {
        to {
            box-shadow: 0px 0px 80px 30px;
            opacity: 0;
        }
    }

    @keyframes anim-shadow {
        to {
            box-shadow: 0px 0px 80px 30px;
            opacity: 0;
        }
    }

    /*---------------------------------------------*/
    .container-contact1-form-btn {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .contact1-form-btn {
        border: none;
        min-width: 193px;
        height: 50px;
        border-radius: 25px;
        background: #57b846;
        font-size: 15px;
        line-height: 1.5;
        color: #fff;
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 25px;

        -webkit-transition: all 0.4s;
        -o-transition: all 0.4s;
        -moz-transition: all 0.4s;
        transition: all 0.4s;
    }

    .contact1-form-btn i {
        margin-left: 7px;

        -webkit-transition: all 0.4s;
        -o-transition: all 0.4s;
        -moz-transition: all 0.4s;
        transition: all 0.4s;
    }

    .contact1-form-btn:hover {
        background: #333333;
    }

    .contact1-form-btn:hover i {
        -webkit-transform: translateX(10px);
        -moz-transform: translateX(10px);
        -ms-transform: translateX(10px);
        -o-transform: translateX(10px);
        transform: translateX(10px);
    }




    /*------------------------------------------------------------------
[ Responsive ]*/

    @media (max-width: 1200px) {
        .contact1-pic {
            width: 33.5%;
        }

        .contact1-form {
            /*width: 44%;*/
        }
    }

    @media (max-width: 992px) {
        .container-contact1 {
            padding: 90px 80px 88px 90px;
            background-position: -200px;
        }

        .contact1-pic {
            width: 35%;
        }

        .contact1-form {
            /*width: 55%;*/
        }
    }

    @media (max-width: 768px) {
        .container-contact1 {
            padding: 90px 80px 88px 80px;
            background-image: none;
        }

        .contact1-pic {
            display: none;
        }

        .contact1-form {
            width: 100%;
        }
    }

    @media (max-width: 576px) {
        .container-contact1 {
            padding: 90px 15px 88px 15px;
        }
    }

    .dbox {
        width: 100%;
        margin-bottom: 25px;
        padding: 0 20px;
    }

    @media (min-width: 768px) {
        .dbox {
            margin-bottom: 0;
            padding: 0;
        }
    }

    .dbox p {
        margin-bottom: 0;
        font-size: 16px;
    }

    .dbox p span {
        font-weight: 500;
        color: #000;
    }

    .dbox p a {
        color: #2553b8;
    }

    .dbox .icon {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: #57b846;
        margin: 0 auto;
        margin-bottom: 20px;
    }

    .dbox .icon span {
        font-size: 20px;
        color: #fff;
    }

    .dbox .text {
        width: 100%;
    }
    .negrita{font-weight: 900;}


button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    font-size: inherit;
    font-family: inherit;
}
button.learn-more {
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    padding: 1.25em 2em;
    background: #e62623cf;
    border: 2px solid #ec1c24;
    border-radius: 0.75em;
    transform-style: preserve-3d;
    transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), background 150ms cubic-bezier(0, 0, 0.58, 1);
}
button.learn-more::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #910000;
    border-radius: inherit;
    box-shadow: 0 0 0 2px #b18597, 0 0.625em 0 0 #ffe3e2;
    transform: translate3d(0, 0.75em, -1em);
    transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), box-shadow 150ms cubic-bezier(0, 0, 0.58, 1);
}
button.learn-more:hover {
    color:black ;
    background: #ffe9e9;
    transform: translate(0, 0.25em);
}
button.learn-more:hover::before {
    box-shadow: 0 0 0 2px #b18597, 0 0.5em 0 0 #ffe3e2;
    transform: translate3d(0, 0.5em, -1em);
}
button.learn-more:active {
    background: #ffe9e9;
    transform: translate(0em, 0.75em);
}
button.learn-more:active::before {
    box-shadow: 0 0 0 2px #b18597, 0 0 #ffe3e2;
    transform: translate3d(0, 0, -1em);
}

.nav-link {
    /*padding: .5rem !important;*/
    margin-right: 5px;
    margin-left: 5px;
}

.theme-btn:hover {
    box-shadow: 0 10px 25px rgb(244 67 54 / 39%);
}
.font-titulo{     font-family: "Work Sans", sans-serif!important;font-weight: 200 !important; text-shadow: 0 0 #0000004d;}
.font-normal{  font-family: "Inter", sans-serif;}
.lh-1_6{line-height: 1.6em;}
.linetop{position: absolute;
    top: 0;
    margin-top: -17px;
    left: 0;
    right: 0;
    font-weight: 900;
}
@media (min-width: 992px) {
.dropdown-menu2{
    top: 112px!important;
    position: fixed !important;width: 100% !important; left: 0; right: 0; border-radius:0 !important; padding-top: 0;
}
        .position-lg-fixed{
            position: fixed!important;
            top: 11%;


        }

}
.heauto{height: auto !important;}
.div-img-menu{
    position: relative; margin-top: -50px;
    z-index: 3;}
.borrar{
    filter: blur(3.5px);
     position: fixed;
     height: 100%;
     width: 100%;
     backdrop-filter: blur(5px);
     z-index: -9;
 }
.borrar-show{
    z-index: 9;display:block;}
.lh-3{line-height: 3em;}

@media (min-width: 768px) {
    .banner0 {
        background-image: url("../img/slider/banner3.jpg");
        background-size: cover;
        background-size: cover;
        background-position: center;
    }
    .banner1 {
        background-image: url("../img/slider/1.jpg");
        background-size: cover;
        background-size: cover;
        background-position: 50% 17%;
    }
    .banner2 {
        background-image: url("../img/slider/2.jpg");
        background-size: cover;
        background-position: 50% 17%;
    }
    .banner3 {
        background-image: url("../img/slider/3.jpg");
        background-size: cover;
        background-position: 50% 17%;
    }
    .banner4 {
        background-image: url("../img/slider/4.jpg");
        background-size: cover;
        background-position: 50% 17%;
    }
    .bannernosotros {
        background-image: url("../img/nosotros/banner.jpg");
        background-size: cover;
        background-size: cover;
        background-position: top;
    }
    .bannercontacto {
        background-image: url("../img/nosotros/contacto.jpg");
        background-size: cover;
        background-size: cover;
        background-position: center;
    }
    .bannerservicios {
        background-image: url("../img/servicios/banner.jpg");
        background-size: cover;
        background-size: cover;
        background-position: center;
    }
    .icon-contact{background: #fff; color: #621b11; width: 75px; height: 75px; font-size: 35px; padding: 5px; margin: auto;line-height: 65px; text-align: center;display: block;border:2px solid #621b11;}
}

@media (max-width: 767px) {
    .banner0 {
        background-image: url("../img/slider/banner3.jpg");
        background-size: cover;
        background-position: 50% -5%;
    }
    .banner1 {
        background-image: url("../img/slider/1.jpg");
        background-size: cover;
        background-position: center;
    }
    .banner2 {
        background-image: url("../img/slider/2.jpg");
        background-size: cover;
        background-position: 70% 10%;
    }
    .banner3 {
        background-image: url("../img/slider/3.jpg");
        background-size: cover;
        background-position: center;
    }
    .banner4 {
        background-image: url("../img/slider/4.jpg");
        background-size: cover;
        background-position: 50% 17%;
    }
    .bannernosotros {
        background-image: url("../img/nosotros/banner.jpg");
        background-size: cover;
        background-size: cover;
        background-position: top;
    }
    .bannercontacto {
        background-image: url("../img/nosotros/contacto.jpg");
        background-size: cover;
        background-size: cover;
        background-position: center;
    }
    .bannerservicios {
        background-image: url("../img/servicios/banner.jpg");
        background-size: cover;
        background-size: cover;
        background-position: center;
    }
    .icon-contact{background: #fff; color: #621b11; width:40px; height:40px; font-size: 25px; padding: 5px; margin: auto;line-height: 20px; text-align: center;display: block;}
}
.fs-19{font-size: 19px !important ;}

.box-divform{width: calc(100% - 1px) !important;
    padding: 8px 16px !important;
    box-shadow: #a5a4a4 0 0 0 1px inset !important;
    border-radius: 6px !important;
    display: inline-block !important;}
.span-form-input{
    position: relative !important;
    -webkit-flex: 1 !important;
    -ms-flex: 1 1 0% !important;
    flex: 1 !important;
    padding: 0px !important;
    color:#00000080;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 2px;
    line-height: .9;
}
.form-control3{min-height: 31px !important;
    font-size: 17px;
    color: #000 !important;
    width: 100%;
    outline: transparent;
    border:none;
    background-color: transparent !important;
    font-family: "Open Sans";
    font-weight:200 !important;
    line-height: inherit !important;
    -webkit-appearance: none !important;
    margin: 0px !important;
    padding: 0px !important;
}
.form-control3::placeholder {color: #4f4f4f78;
}
@media (min-width: 992px) {
    .modal-lg {
        --bs-modal-width: 582px;
    }
}
@media (max-width: 767px) {
.theme-btn{
    width: 100%;
}
    .slider-section .single-slider{
        height: 35vh;
        margin-top: 33px;
    }

    .header {
        padding-top: 50px;
    }
    .navbar-brand img {
        max-width: 220px;
        transition: .3s;
        overflow: auto;
        /*margin-left: -50px;*/
    }
}
@media (min-width:768px) and (max-width: 991px) {

    .slider-section .single-slider{
        height: 55vh;
        margin-top: 83px;
    }
}
@media (min-width:992px) and (max-width: 1300px) {

    .slider-section .single-slider{
        height: 75vh;

    }
}
@media (min-width:1301px) and (max-width: 1800px) {

    .slider-section .single-slider{
        height: 82vh;

    }
}
.btn-menu{
    background:#621b11;
    width: 56px;
    height: 50px;
    padding-top: 0;
    border-radius: 0 !important;
}
.centrar-navs{display: flex;
    margin: auto;
    flex-wrap: nowrap;
    justify-content: space-evenly;}
@media (max-width:1199px) {
    .cuadro-az{padding: 40px; }
}
@media (min-width:1200px) and (max-width: 1700px) {
    .div550 {
        height:500px;

    }
    .cuadro-az{padding-left: 40px; padding-right: 40px;
        width: 50%;}
    .img-cuadro-az{width: 50%;padding: 0; height: 500px; object-fit: cover;}
}

@media (min-width:1701px) {
    .div550 {
        height:560px;
        max-width:1550px ;
        margin: auto;
    }
    .cuadro-az{padding-left: 40px; padding-right: 40px;
        width: 40%;}
    .img-cuadro-az{width: 60%;padding: 0; height: 560px; object-fit: cover;}
}

.cuadro-az{padding-left: 40px; padding-right: 40px; }
/* The Image container */


.boton-distribuidor{
    position: absolute;
right: 0;
    background:#fff ;
    top: 0;
    padding: 1.2em;

}

.grid {
    position: relative;
    clear: both;
    margin: 0 auto;
    padding: 1em 0 4em;
    max-width: 1000px;
    list-style: none;
    text-align: center;
}

/* Common style */
.grid figure {
    position: relative;
    float: left;
    overflow: hidden;
    margin: 10px 1%;
    height: auto;
    background: #3085a3;
    text-align: center;

}

.grid figure img {
    position: relative;
    display: block;
    min-height: 100%;
    max-width: 100%;
    opacity: 0.8;
}

.grid figure figcaption {
    padding: 2em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
    pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}

.grid figure h2 {
    word-spacing: -0.15em;
    font-weight: 300;
}

.grid figure h2 span {
    font-weight: 800;
}

.grid figure h2,
.grid figure p {
    margin: 0;
}

.grid figure p {
    letter-spacing: 1px;
    font-size: 68.5%;}
/*---------------*/
/***** Julia *****/
/*---------------*/

figure.effect-ineos {
    background: #2f3238;
}

figure.effect-ineos img {
    -webkit-transition: opacity 1s, -webkit-transform 1s;
    transition: opacity 1s, transform 1s;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

figure.effect-ineos figcaption {
    text-align: left;
}

figure.effect-ineos h2 {
    position: relative;
    padding: 0.5em 0;
}

figure.effect-ineos p {
    display: inline-block;
    margin: 0 0 0.25em;
    padding: 0.4em 1em;
    background: #B61615;
    color: #fff;
    text-transform: none;
    font-weight: 500;
    font-size: 75%;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(-360px,0,0);
    transform: translate3d(-360px,0,0);
}

figure.effect-ineos p:first-child {
    -webkit-transition-delay: 0.15s;
    transition-delay: 0.15s;
}

figure.effect-ineos p:nth-of-type(2) {
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
}

figure.effect-ineos p:nth-of-type(3) {
    -webkit-transition-delay: 0.05s;
    transition-delay: 0.05s;
}

figure.effect-ineos:hover p:first-child {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

figure.effect-ineos:hover p:nth-of-type(2) {
    -webkit-transition-delay: 0.05s;
    transition-delay: 0.05s;
}

figure.effect-ineos:hover p:nth-of-type(3) {
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
}

figure.effect-ineos:hover img {
    opacity: 0.4;
    -webkit-transform: scale3d(1.1,1.1,1);
    transform: scale3d(1.1,1.1,1);
}

figure.effect-ineos:hover p {
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}
.spanabajo{
    position: absolute;bottom: 92px;}
.abajo{position: absolute;bottom: 40px;}
.ml-toleft{margin-left: -15px;}
.sombreado-text{text-shadow: 6px 6px 9px black}
.img-wrapper{position: relative;
    overflow: hidden;
}

.img-shadow{    position: absolute;
    width: 130%;
    height: 120%;
    background-image: url(../img/inicio/shadow.png);
    bottom: -137px;
    left: -116px;
    z-index: -2;
    background-size: cover;
    transition: 1s;
}
.icon-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    -webkit-box-shadow: 0px 0px 43px 0px rgba(12, 12, 12, 0.16);
    box-shadow: 0px 0px 43px 0px rgba(12, 12, 12, 0.16);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    /*margin-top: -120px;*/
    position: relative;
    z-index: 15;
    transition: 1s;
}
.card-inicio{box-shadow: 0px 5px 20px #89898929; border: none; min-height: 643px;}
.card2{box-shadow: 0px 5px 20px #89898929; border: none;}
.card-inicio:hover >.icon-wrapper{margin-top: -80px; background: #fff; transition: 1s;}
.card-inicio:hover >.img-wrapper >.img-shadow{z-index: 1; transition: 1s;}
/* Asegurarse de que cada slide ocupe el 100% del ancho disponible */
.carousel-inner {
    display: flex;
    overflow: hidden;
}

/* Cada "carousel-item" (slide) debe contener 7 imágenes, por lo tanto, 100% / 7 */
.carousel-item {
    display: flex;
    justify-content: center;
    flex: 0 0 auto;
    width: 100%; /* El contenedor ocupará todo el ancho */
}

.d-flex {
    display: flex;
    justify-content: space-between;
}

/* Establecer que cada imagen ocupe el 100% del espacio disponible dentro del slide */
.carousel-item-image {
    flex: 0 0 14.2857%; /* Esto asegura que 7 imágenes ocupen el 100% del espacio */
    padding: 5px; /* Agregar algo de espacio entre las imágenes */
}

/* Asegurarnos de que las imágenes no se distorsionen */
.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}

@media (min-width:992px) {

    .slider-section .single-slider.interior {
        height: 42vh;
    }
    .slider-interior.slider-section .single-slider .slider-content .interior .slider-title{
        font-size: 65px;
    }

}
.fs-65{font-size: 65px !important; }

/*EFECTO ANTES DESPues*/


main {
    display: grid;
    place-items: center;
    /*min-height: 100vh;*/
}

.container-img {
    display: grid;
    place-content: center;
    position: relative;
    overflow: hidden;
    /*border-radius: 1rem;*/
    --position: 60%;
}

.image-container {
    /*max-width: 90%;*/
    /*max-height: 90vh;*/
    /*aspect-ratio: 1/1;*/
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
}

.image-before {
    position: absolute;
    inset: 0;
    width: var(--position);
    /*filter: grayscale(100%)*/
}

.slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    opacity: 0;
    /* for Firefox */
    width: 100%;
    height: 100%;
}

.slider:focus-visible ~ .slider-button {
    outline: 5px solid black;
    outline-offset: 3px;
}

.slider-line {
    position: absolute;
    inset: 0;
    width: .2rem;
    height: 100%;
    background-color: #fff;
    /* z-index: 10; */
    left: var(--position);
    transform: translateX(-50%);
    pointer-events: none;
}

.slider-button {
    position: absolute;
    background-color: #621b11;
    color: #fff;
    padding: .5rem;
    border-radius: 100vw;
    display: grid;
    place-items: center;
    top: 50%;
    left: var(--position);
    transform: translate(-50%, -50%);
    pointer-events: none;
    /* z-index: 100; */
    box-shadow: 1px 1px 1px hsl(0, 50%, 2%, .5);
}
.totop-testimonio{margin-top: -160px;
    position: relative;
    z-index: 0;}
.shadow-contact{box-shadow: 0px 5px 20px #89898929;}
.bradius50{border-radius: 50px;}
.input-wrapper {
    position: relative;
}

.input-with-icon-inside {
    padding-left: 2.5rem; /* Espacio para el ícono */
}

.input-icon-inside {
    position: absolute;
    top: 50%;
    left: 19px;
    transform: translateY(-50%);
    font-size: 30px;
    color: #888;
    pointer-events: none;
}
.negrita2{font-weight: 400 !important;}