﻿body{
    background: url(../images/fondo.jpg) no-repeat center center fixed;
    background-size: cover;
    font-family: "Inter", sans-serif;
}


.ayuda{
    height: 140px;
}

header{
    position: fixed;
    top: 30px;
    z-index: 1000;
}

.pila{
    position: relative;
    background: white;
    border-radius: 50rem;

    box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 16px 0px inset !important;
}

.logo1{
    text-align: right;
}
.logo1 img{
    width: 100%;
}

nav li{
    list-style: none;
    padding: 0;
}
nav ul li{
    width: 25%;
    float: left;
}
nav a{
    text-decoration: none;
}

.menu{
    text-align: center;
    font-size: 23px;
    color: black;
    padding: 12px 0;
    border-radius: 40px;
}
.menu:hover{
    background: #67b42d;
    color: white;
}

.nav-productos:hover .productos-submenu,
.nav-productos:focus-within .productos-submenu{
    display: grid;
}

.productos-submenu{
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: absolute;
    top: calc(100%) - 8px;
    left: 0;
    width: 100%;
    background: white;
    padding: 42px 38px 52px;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.04);
    z-index: 999;
}

.productos-submenu-col h3{
    color: #1f2933;
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 34px;
    padding-bottom: 18px;
    border-bottom: 4px solid #67b42d;
}

.productos-submenu-col > a{
    display: block;
    color: #67b42d;
    font-size: 25px;
    line-height: 1;
    margin-bottom: 35px;
    text-decoration: none;
}

.productos-submenu-col > a:hover{
    color: #67b42d;
}

.productos-submenu-redes{
    display: flex;
    gap: 20px;
    margin-top: 52px;
}

.productos-submenu-redes a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border: 4px solid #67b42d;
    border-radius: 50%;
    color: #67b42d;
    font-size: 34px;
    text-decoration: none;
}

.productos-submenu-redes a:hover{
    color: #67b42d;
}


.datos{
    text-align: center;
    font-size: 22px;
}


.efecto{
    background: #cdd4da;
}

.logotipo{
    width: 100%;
    text-align: center;
    margin-top: 200px
}
.logotipo img{
    width: 80%;
}

.img1{
    background:url(../images/efecto.webp) no-repeat center center;
    background-size: cover;
}

.frase{
    font-family: "Inter Tight", sans-serif;
    color: #67b42d;
    text-align: center;
    font-weight: bold;
    font-size: 33px;
    margin: 100px 0;
}

.efecto button{
    margin-bottom: 100px;
}


.texto1{
    text-align: justify;
    font-size: 20px;
    padding-top: 30px;
    padding-bottom: 30px;
}

.im{
    color: #67b42d;
    font-weight: bold;
}



.video-hero{
    position: relative;
    width: 100%;
    height: 75vh;              /* “pantalla completa” */
    overflow: hidden;
    background: #000;
}

/* Capa opcional para oscurecer y que el texto se lea mejor */
.video-hero::after{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
    z-index: 1;
}

/* El iframe “cover” (como background-size: cover) */
.video-hero iframe{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;            /* 16:9 en función del ancho */
    min-height: 100vh;
    min-width: 177.78vh;        /* 16:9 en función del alto */
    transform: translate(-50%, -50%);
    border: 0;
    z-index: 0;
}

/* Contenido encima del video (opcional) */
.video-content{
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 24px;
    font-family: Arial, sans-serif;
}


.header-producto{
    background-image: url(../images/02.svg);
    background-position: bottom;
    background-size: 100% auto;
    background-repeat: no-repeat no-repeat;
    text-align: center;
    color: #67b42d;
    padding: 30px 0;
    margin-bottom: 30px;
}


.textos{
    font-size: 25px;
    line-height: 45px;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
}


.productos{
    background: #f2f2f2;
    padding-top: 40px;
    padding-bottom: 40px;
}


.pro{
    background: white;
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
}
.pro h2{
    color: #67b42d;
    font-size: 25px;
}
.pro img{
    height: 220px;

    object-fit: cover;
}
.texto-pro{
    text-align: left;
}


.categorias{
    padding-top: 30px;
    padding-bottom: 30px;
    margin: 20px 0;
}

.categoria{
    background: white;
    padding: 23px 12px;
}

.imagen img{
    width: 100%;
}



.videos{
    padding-top: 50px;
    padding-bottom: 50px;
}

.titulo{
    text-align: center;
    font-size: 33px;
    font-weight: bold;
}

.video iframe{
    width: 100%;
}

.texto{
    font-size: 22px;
}




.contacto-seccion{
    background: #fff;
    padding: 40px 0 58px;
}

.contacto-contenido{
    row-gap: 34px;
}

.contacto-intro{
    color: #24272d;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 38px;
}

.contacto-campo{
    margin-bottom: 22px;
}

.contacto-campo > label{
    flex: 0 0 300px;
    width: 300px;
    max-width: 300px;
}

.contacto-campo > div{
    flex: 1 1 0;
    width: calc(100% - 300px);
    max-width: calc(100% - 300px);
}

.contacto-campo label{
    color: #24272d;
    font-size: 19px;
    font-weight: 600;
}

.contacto-campo input,
.contacto-campo textarea{
    width: 100%;
    border: 1px solid #d6dbe0;
    border-radius: 8px;
    color: #24272d;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    padding: 15px 18px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contacto-campo input{
    min-height: 60px;
}

.contacto-campo textarea{
    min-height: 104px;
    resize: vertical;
}

.contacto-campo input:focus,
.contacto-campo textarea:focus{
    border-color: #67b42d;
    box-shadow: 0 0 0 4px rgba(103, 180, 45, 0.16);
    outline: none;
}

.contacto-boton{
    background: #5fbd2f;
    border: 0;
    border-radius: 8px;
    color: #162015;
    font-size: 19px;
    font-weight: 500;
    line-height: 1;
    min-height: 58px;
    padding: 14px 28px;
}

.contacto-boton:hover,
.contacto-boton:focus{
    background: #4fa51f;
    color: #fff;
}

.contacto-acciones{
    margin-top: 6px;
}

.contacto-accion{
    margin-left: 300px;
}

.contacto-datos{
    padding-left: 34px;
}

.contacto-datos h2{
    color: #24272d;
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 8px;
}

.contacto-datos p{
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: start;
    color: #5fbd2f;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    margin: 8px 0;
}

.contacto-datos b{
    color: #24272d;
    font-size: 23px;
    margin-top: 4px;
}

.contacto-datos a{
    color: #5fbd2f;
    text-decoration: none;
}

.contacto-datos a:hover{
    color: #4fa51f;
}

.contacto-mapa{
    position: relative;
    width: 100%;
    min-height: 305px;
    margin-top: 34px;
    overflow: hidden;
    background-color: #e8edf3;
    background-image:
        linear-gradient(102deg, transparent 0 43%, #c5ced8 43% 47%, transparent 47%),
        linear-gradient(8deg, transparent 0 45%, #c5ced8 45% 49%, transparent 49%),
        linear-gradient(93deg, transparent 0 70%, #c5ced8 70% 74%, transparent 74%),
        linear-gradient(0deg, transparent 0 30%, rgba(255, 255, 255, 0.58) 30% 55%, transparent 55%),
        linear-gradient(90deg, transparent 0 18%, rgba(255, 255, 255, 0.62) 18% 38%, transparent 38% 62%, rgba(255, 255, 255, 0.62) 62% 82%, transparent 82%);
}

.contacto-mapa::after{
    content: "";
    position: absolute;
    top: 38%;
    left: 52%;
    width: 34px;
    height: 34px;
    background: #cf3d2f;
    border: 6px solid #b93227;
    border-radius: 50% 50% 50% 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.22);
    transform: translate(-50%, -50%) rotate(-45deg);
    z-index: 1;
}

.contacto-mapa iframe{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 2;
}

.contacto-mapa-etiqueta{
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(95, 189, 47, 0.86);
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.15;
    padding: 19px 22px;
    text-transform: uppercase;
    z-index: 3;
}


footer{
    background-color: #111827;
    font-size: 18px;
    color: white;
    padding-top: 30px;
    padding-bottom: 30px;
}
footer a{
    color: #67b42d;
}
footer strong{
    width: 100%;
    font-size: 22px;
    display: inline-block;
    margin-bottom: 20px;
}

@media screen and (max-width:1400px){

}

@media screen and (max-width:1200px){

}

@media screen and (max-width:992px){
    .contacto-datos{
        padding-left: 12px;
    }

}

@media screen and (max-width:768px){
    .contacto-campo > label,
    .contacto-campo > div{
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .contacto-accion{
        margin-left: 0;
    }

    .contacto-intro,
    .contacto-campo label,
    .contacto-datos p,
    .contacto-boton{
        font-size: 20px;
    }

    .contacto-campo label{
        margin-bottom: 8px;
    }

    .contacto-campo input,
    .contacto-campo textarea{
        font-size: 20px;
    }

    .contacto-mapa-etiqueta{
        font-size: 19px;
    }

}

@media screen and (max-width:576px){
    
}





.chat{
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: #24d366;
    font-weight: normal;
    font-size: 20px;
    color: white;
    padding: 6px 17px;
    border-radius: 20px;

    animation-name: pulse;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-delay: 0s;
    animation-iteration-count: 100;
}
@keyframes pulse {
    from,to {
        transform: scale3d(1,1,1)
    }

    50% {
        transform: scale3d(1.05,1.05,1.05)
    }
}

.pulse {
    animation-name: pulse
}


/* Ajustes responsive generales */
*,
*::before,
*::after{
    box-sizing: border-box;
}

html,
body{
    max-width: 100%;
    overflow-x: hidden;
}

img,
svg,
iframe{
    max-width: 100%;
}

nav ul{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li{
    float: none;
    flex: 0 0 25%;
}

.video iframe{
    aspect-ratio: 16 / 9;
    height: auto;
}

@media screen and (max-width:1200px){
    header .container{
        max-width: calc(100% - 24px);
    }

    .menu{
        font-size: 19px;
    }

    .datos{
        font-size: 18px;
    }

    .productos-submenu-col h3{
        font-size: 23px;
    }

    .productos-submenu-col > a{
        font-size: 21px;
    }
}

@media screen and (max-width:992px){
    header{
        position: static;
        padding-top: 20px;
    }

    header .row{
        row-gap: 12px;
    }

    header .row > .col-1:first-child{
        display: none;
    }

    header .logo1{
        flex: 0 0 18%;
        max-width: 18%;
        text-align: center;
    }

    header nav.col-7{
        flex: 0 0 82%;
        max-width: 82%;
    }

    header .datos{
        flex: 0 0 100%;
        max-width: 100%;
        padding-bottom: 12px;
    }

    .pila{
        border-radius: 22px;
        padding: 10px;
    }

    .menu{
        font-size: 18px;
        padding: 10px 4px;
    }

    .productos-submenu{
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px;
    }

    .productos-submenu-col h3{
        margin-bottom: 16px;
        padding-bottom: 10px;
    }

    .productos-submenu-col > a{
        margin-bottom: 18px;
    }

    .productos-submenu-redes{
        margin-top: 22px;
    }

    .ayuda{
        height: 20px;
    }

    .efecto > .row > .col-5,
    .efecto > .row > .col-7{
        flex: 0 0 100%;
        max-width: 100%;
    }

    .logotipo{
        margin-top: 55px;
    }

    .frase{
        font-size: 28px;
        margin: 45px 0;
    }

    .efecto button{
        margin-bottom: 55px;
    }

    .img1{
        min-height: 360px;
    }

    .texto1,
    .textos{
        font-size: 18px;
        line-height: 1.55;
    }

    .productos .row > .col-4{
        flex: 0 0 50%;
        max-width: 50%;
    }

    .categorias .categoria > .col-4,
    .categorias .categoria > .col-5,
    .categorias .categoria > .col-7,
    .categorias .categoria > .col-8{
        flex: 0 0 100%;
        max-width: 100%;
    }

    .categoria{
        padding: 20px;
    }

    .texto{
        font-size: 19px;
    }

    .videos .row > .col-6{
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 24px;
    }

    footer .row > .col-3,
    footer .row > .col-6{
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 24px;
    }
}

@media screen and (max-width:768px){
    body{
        background-attachment: scroll;
    }

    .chat{
        right: 14px;
        bottom: 14px;
        max-width: calc(100% - 28px);
        font-size: 17px;
    }

    header .container{
        max-width: 100%;
    }

    header .logo1,
    header nav.col-7{
        flex: 0 0 100%;
        max-width: 100%;
    }

    .logo1 img{
        width: 84px;
    }

    nav ul li{
        flex: 0 0 50%;
    }

    nav ul .nav-productos{
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .productos-submenu{
        position: static;
        width: 100%;
        margin-top: 4px;
        box-shadow: none;
    }

    .productos-submenu-redes a{
        width: 54px;
        height: 54px;
        font-size: 25px;
        border-width: 3px;
    }

    .header-producto{
        padding: 24px 12px;
        background-size: auto 100%;
    }

    .header-producto h1{
        font-size: 30px;
    }

    .logotipo img{
        width: min(82%, 360px);
    }

    .frase{
        font-size: 24px;
    }

    .img1{
        min-height: 280px;
    }

    .video-hero{
        height: 56vw;
        min-height: 220px;
    }

    .video-hero iframe{
        min-height: 100%;
        min-width: 177.78%;
    }

    .productos .row > .col-4{
        flex: 0 0 100%;
        max-width: 100%;
    }

    .pro img{
        width: 100%;
        height: auto;
        max-height: 220px;
        object-fit: contain;
    }

    .pro h2{
        font-size: 22px;
    }

    .texto{
        font-size: 18px;
        line-height: 1.45;
    }

    .contacto-seccion{
        padding: 30px 0 42px;
    }

    .contacto-datos{
        padding-left: 12px;
    }

    footer{
        font-size: 16px;
    }
}

@media screen and (max-width:576px){
    .menu{
        font-size: 16px;
    }

    .datos{
        font-size: 16px;
    }

    .productos-submenu{
        padding: 18px 12px;
    }

    .productos-submenu-col h3{
        font-size: 20px;
    }

    .productos-submenu-col > a{
        font-size: 18px;
    }

    .texto1,
    .textos{
        font-size: 16px;
        text-align: left;
    }

    .header-producto h1{
        font-size: 26px;
    }

    .titulo{
        font-size: 26px;
    }

    .contacto-intro,
    .contacto-campo label,
    .contacto-datos p,
    .contacto-boton,
    .contacto-campo input,
    .contacto-campo textarea{
        font-size: 16px;
    }

    .contacto-mapa{
        min-height: 260px;
    }
}

@media screen and (max-width:420px){
    .logotipo{
        margin-top: 36px;
    }

    .frase{
        font-size: 21px;
        margin: 32px 0;
    }

    .img1{
        min-height: 230px;
    }

    .pro{
        padding: 16px 12px;
    }

    .pro h2{
        font-size: 20px;
    }
}


/* Header móvil tipo panel */
.menu-movil-check,
.menu-movil-fondo,
.menu-movil-boton,
.menu-movil-cerrar{
    display: none;
}

@media screen and (max-width:768px){
    header{
        position: fixed;
        top: 24px;
        left: 0;
        width: 100%;
        padding: 0 10px;
        z-index: 1200;
    }

    header .container{
        max-width: 100%;
        padding: 0;
    }

    .pila{
        min-height: 92px;
        border-radius: 50rem;
        padding: 0 28px;
        box-shadow: rgba(0, 0, 0, 0.12) 0px 10px 26px 0px inset !important;
    }

    header .row{
        min-height: 92px;
        row-gap: 0;
    }

    header .row > .col-1:first-child,
    header .datos{
        display: none;
    }

    header .logo1{
        flex: 0 0 auto;
        width: auto;
        max-width: none;
        padding: 0;
        text-align: left;
    }

    .logo1 img{
        width: 96px;
        max-height: 62px;
        object-fit: contain;
    }

    .menu-movil-boton{
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        width: 56px;
        height: 56px;
        margin-left: auto;
        cursor: pointer;
    }

    .menu-movil-boton span{
        display: block;
        width: 52px;
        height: 4px;
        background: #5c6166;
        border-radius: 8px;
    }

    .menu-movil-fondo{
        position: fixed;
        inset: 0;
        z-index: 1190;
        background: rgba(34, 42, 47, 0.46);
        cursor: pointer;
    }

    .menu-movil-check:checked + .menu-movil-fondo{
        display: block;
    }

    header nav.col-7{
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1210;
        display: block;
        width: min(78vw, 760px);
        max-width: 100%;
        height: 100dvh;
        overflow-y: auto;
        background: #fff;
        padding: 112px 24px 36px;
        transform: translateX(100%);
        transition: transform 0.25s ease;
    }

    .menu-movil-check:checked ~ header nav.col-7{
        transform: translateX(0);
    }

    .menu-movil-cerrar{
        display: block;
        position: absolute;
        top: 28px;
        right: 28px;
        width: 46px;
        height: 46px;
        cursor: pointer;
    }

    .menu-movil-cerrar::before,
    .menu-movil-cerrar::after{
        content: "";
        position: absolute;
        top: 21px;
        left: 0;
        width: 46px;
        height: 5px;
        background: #6c7074;
        border-radius: 8px;
    }

    .menu-movil-cerrar::before{
        transform: rotate(45deg);
    }

    .menu-movil-cerrar::after{
        transform: rotate(-45deg);
    }

    header nav ul{
        display: block;
        width: 100%;
    }

    header nav ul li,
    nav ul .nav-productos{
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    header nav a{
        display: block;
    }

    .menu{
        text-align: left;
        color: #0f1726;
        font-size: 23px;
        line-height: 1;
        padding: 17px 34px;
        border-radius: 50rem;
    }

    header nav ul > li:first-child .menu{
        background: #10c915;
    }

    .nav-productos > a .menu{
        display: flex;
        align-items: center;
        justify-content: space-between;
        border: 5px solid #cdf5ca;
        background: #fff;
    }

    .nav-productos:hover .productos-submenu,
    .nav-productos:focus-within .productos-submenu{
        display: block;
    }

    .productos-submenu{
        position: static;
        display: block;
        width: 100%;
        padding: 26px 28px 30px;
        border: 1px solid #e4e9ee;
        box-shadow: none;
    }

    .productos-submenu-col{
        margin-bottom: 30px;
    }

    .productos-submenu-col:last-child{
        margin-bottom: 0;
    }

    .productos-submenu-col h3{
        color: #20252c;
        font-size: 18px;
        margin: 0 0 22px;
        padding-bottom: 14px;
        border-bottom: 3px solid #10b919;
    }

    .productos-submenu-col > a{
        color: #12b91b;
        font-size: 24px;
        line-height: 1.15;
        margin-bottom: 24px;
    }

    .productos-submenu-redes{
        margin-top: 20px;
    }

    .ayuda{
        height: 126px;
    }

    .efecto{
        padding-top: 116px;
    }
}

@media screen and (max-width:576px){
    .pila,
    header .row{
        min-height: 72px;
    }

    .pila{
        padding: 0 22px;
    }

    .logo1 img{
        width: 78px;
        max-height: 52px;
    }

    .menu-movil-boton{
        width: 44px;
        height: 44px;
        gap: 6px;
    }

    .menu-movil-boton span{
        width: 38px;
        height: 3px;
    }

    header nav.col-7{
        width: calc(100% - 78px);
        padding: 96px 18px 30px;
    }

    .menu{
        font-size: 20px;
        padding: 15px 26px;
    }

    .nav-productos > a .menu{
        border-width: 4px;
    }

    .productos-submenu{
        padding: 22px 22px 28px;
    }

    .productos-submenu-col h3{
        font-size: 16px;
    }

    .productos-submenu-col > a{
        font-size: 21px;
        margin-bottom: 22px;
    }

    .ayuda{
        height: 104px;
    }

    .efecto{
        padding-top: 96px;
    }
}
