/* 
reset 
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, div
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q,
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
figure, header, nav, section, article, aside, footer, figcaption {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

@font-face {
    font-family: 'Avenir';
    src: url(/assets/fonts/avenir.ttf);
    font-weight: 400;
}
@font-face {
    font-family: 'Avenir';
    src: url(/assets/fonts/Avenir-Light.ttf);
    font-weight: 200;
}

@font-face {
    font-family: 'Conthrax';
    src: url(/assets/fonts/conthrax-sb.ttf);
    font-weight: 400;
}


@keyframes slidein {
    from {
        color: #e1e1e100;
    }
    to {
        color: white ;
    }
}

@-webkit-keyframes fadeIn {
    from {opacity: 0;} 
    to {opacity: 1;}
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity:1 ;}
}

a {
    text-decoration: none;
}

body {
    max-width: 100vw;
    font-family: Avenir;
    overflow-x: hidden;
}

h1, h3, p {
    font-family: Avenir;
}

nav {
    display: none;
}

/* Nav Movil */ 

@media (max-width: 720px) {

    body {
        max-width: 100vw;
        overflow-x: clip;
    }
    nav {
        display:flex;
        }
    
    
    
    
    .navbar {
        width: 100%;
    }
    
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 62px;
    }
    
    .navbar .menu-items {
        display: flex;
    }
    
    .navbar .nav-container li {
        list-style: none;
    }
    
    .navbar .nav-container a {
        text-decoration: none;
        color: white;
        font-family: 'Avenir';
        font-weight: 200;
        font-size: 1.2rem;
        padding: 1rem;
    }

    .navbar .nav-container a:hover{
        font-weight: bolder;
    }
    
    .nav-container {
        display: block;
        position: relative;
        height: 60px;
    }
    
    .nav-container .checkbox {
        position: absolute;
        display: block;
        height: 32px;
        width: 32px;
        top: 25px;
        right: 40px;
        z-index: 5;
        opacity: 0;
        cursor: pointer;
    }
    
    .nav-container .hamburger-lines {
        display: block;
        height: 26px;
        width: 32px;
        position: absolute;
        top: 40px;
        right: 40px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .nav-container .hamburger-lines .line {
        color: white;
        display: block;
        height: 2px;
        width: 100%;
        border-radius: 10px;
        background: white;
    }
    
    .nav-container .hamburger-lines .line1 {
        transform-origin: 0% 100%;
        transition: transform 0.8s ease-in-out;
    }
    
    .nav-container .hamburger-lines .line2 {
        transition: transform 0.2s ease-in-out;
    }
    
    .nav-container .hamburger-lines .line3 {
        transform-origin: 0% 100%;
        transition: transform 0.8s ease-in-out;
    }
    
    .navbar .menu-items {
        margin-top: 0px;
        background-color: #ff6600;
        padding-top: 120px;
        /* box-shadow: inset 0 0 2000px rgba(255, 255, 255, .5); */
        height: 100vh;
        width: auto;
        transform: translate(-150%);
        display: flex;
        flex-direction: column;
        margin-left: -40px;
        padding-left: 50px;
        transition: transform 0.5s ease-in-out;
        text-align: left;
    }
    
    .logo-invisible {
        height: 30px;
        width: 120px;
        margin-top: -80px;
        margin-left: 20px;
        margin-bottom: 100px;
    }
    
    .navbar .menu-items li {
        color: white;
        margin-bottom: 1.2rem;
        font-size: 1.5rem;
        font-weight: 500;
    }
    
    .logo {
        display: flex;
        flex-direction: column;
        justify-items: center;
        position: absolute;
        top: 5px;
        left: 15px;
        font-size: 1.2rem;
        color: #0e2431;
    }
    
    .logo-nav1 {
        margin-top: 30px;
        margin-left: 20px;
        height: 30px;
        margin-bottom: 20px;
    }
    
    .logo-nav2 {
        margin-left: 80px;
        height: 8px;
    }
    
    .nav-container input[type="checkbox"]:checked ~ .menu-items {
        transform: translateX(0);
    }
    
    .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
        background-color: white;
        transform: rotate(47deg);
    }
    
    .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
        transform: scaleY(0);
    }
    
    .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
        background-color: white;
        transform: rotate(-47deg);
    }
    
    .nav-container input[type="checkbox"]:checked ~ .logo{
        display: none;
    }
    
}

.header {
    display: flex;
    flex-direction: row;
    height: 10vh;
    background-color: #ffffff00;
    align-items: center;
}

.header-logo {
    display: flex;
    flex-direction: row;
    width: 30%;
    margin-top: 30px;
    justify-content: center;
}

.header-logo:hover {
    transform: scale(1.1);
}

.menu-enlaces {
    display: flex;
    flex-direction: row;
    font-size: 15px;
    font-weight: 200;
    width: 70vw;
    margin-top: 30px;
    justify-content: space-evenly;
    align-items: center;
}

.menu-enlaces p {
    color: white;
    text-decoration: none;
}

.menu-enlaces p:hover {
    color: gray;
    text-decoration: underline;
}

@media (max-width: 720px) {
    .header {
        display: none;
    }
}

/* Hero Principal */

.hero {
    background-image: url('/assets/img/Recurso\ 1.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 800px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    margin-top: -10vh;
    text-align: center;
}

.hero h1 {
    margin-bottom: 180px;
    font-size: 50px;
    display: flex;
    align-items: center;
    color: white;
    padding: 0px 0px 0px 0px;
    animation: slidein 3s;
}

.hero-iconos {
    margin-top: 50px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 50%;
    align-items: flex-end;
}

.hero p {
    color: white;
    margin-top: 10px;
    font-size: 18px;
}

.elemento {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.boton-informacion {
    display: flex;
    margin: 50px 0px 30px 0px;
}

.btn-info {
    background-color: #F07F05;
    color: white;
    border: none;
    font-size: 20px;
    border-radius: 50px;
    padding: 15px 40px;
}

.btn-info:hover {
    transform: scale(1.1);
}

.btn-producto:hover {
    transform: scale(1.1);
}

.btn-cta:hover {
    transform: scale(1.1);
}

.veinticuatro {
    height: 50px;
}

@media (max-width: 720px) {
    .hero {
        width: 100vw;
        margin-top: -60px;
    }

    .hero h1 {
        margin-bottom: 0px;
        font-size: 40px;
        width: 80%;
    }

    .hero-iconos {
        flex-direction: column;
        width: fit-content;
        align-items: center;
    }

    .veinticuatro {
        height: 50px;
    }

    .elemento {
        margin-top: 20px;
    }
}

/* Productos */

.productos {
    display: flex;
    width: 100%;
    flex-direction: column;
    margin: 50px 0px;
    align-items: center;
}

.productos1 {
    display: flex;
    flex-direction: row;
    width: 75%;
    justify-content: center;
    align-items: center;
}

.productos-texto {
    width: 50%;
    font-weight: 200;
    display: flex;
    flex-direction: column;
    justify-content: left;
    text-align: justify;
    padding: 0 5%;
    line-height: 30px;
}

.titulo-negro {
    margin: 2% 0;
    font-family: 'Conthrax';
}

.botones-producto {
    display: flex;
}

.btn-producto {
    background-color: #ffffff00;
    border: solid;
    border-color: #F07F05;
    border-width: .1em;
    color: #F07F05;
    border-radius: 50px;
    font-size: 15px;
    margin: 20px 20px 40px 20px;
    padding: 10px 20px;
}

.productos-imagen {
    display: flex;
    justify-content: center;
    width: 50%;
}

.productos-secuencia {
    display: flex;
    flex-direction: row;
    width: 75%;
    justify-content: center;
    align-items: center;
}

.producto-elemento {
    width: 50%;
    margin: 10px;
    padding-top: 5%;
    background-color: #e1e1e179;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width:720px) {
    .productos1 {
        flex-direction: column-reverse;
        width: 95vw;
    }
    .productos-texto {
        width: 90%;
    }

    .botones-producto {
        flex-direction: column;
        align-items: center;
    }

    .btn-producto {
        margin: 20px 0px;
        padding: 10px 50px;
    }

    .productos-secuencia {
        flex-direction: column;
        width: 90%;
    }

    .producto-elemento {
        width: 100%;
    }

}

/* Llamada a la acción */

.cta {
    margin: 20px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vw;
    background-color: black;
    padding: 10% 0%;
}

.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-container h1, h3 {
    color: white;
    text-align: center;
    margin: 10px;
}

.cta-container h3 {
    font-weight: 200;
}

.btn-cta {
    background-color: #ffffff00;
    border: solid;
    border-color: #F07F05;
    border-width: .1em;
    color: #F07F05;
    border-radius: 50px;
    font-size: 20px;
    margin: 0;
    justify-self: center;
    padding: 10px 20px;
    margin-top: 20px;
}

.cta-movil {
    display: none;
}

@media (max-width: 720px) {
    .cta {
        padding: 30% 0%;
    }

    .cta-pc {
        display: none;
    }
    .cta-movil {
        display: revert;
    }
}

/* Slider */

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-button-next, .swiper-button-prev {
    color: #FFF;
}

.swiper-pagination-bullet-active {
    background-color: white;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#carrusel-contenido {
    display: flex;
    flex-direction: column;
    margin: auto;
    width: 100vw;
    margin-top: 50px;
    margin-bottom: 50px;
}

@media (max-width: 720px) {
    #carrusel-contenido {
        width: 100vw;
    }
}

/* Beneficios */

.beneficios {
    margin: auto;
    margin-top: 20px;
    display: flex;
    width: 100vw;
}

@media (max-width: 720px) { 
    .garantia {
        height: 30vh;
        width: fit-content;
    }
}
/* FAQ */

/* Establece el ancho del acordeón. Establece el margen a 90px en la parte superior e inferior y auto a la izquierda y derecha */

.acordeon {
    width: 75vw;
    margin: 90px auto;
    color: black;
    background-color: white;
    padding: 45px 45px;
}

.acordeon .contenedor {
    position: relative;
    margin: 10px 10px;
}

  /* Posiciona las etiquetas en relación con el contenedor. Añade relleno en la parte superior e inferior y aumenta el tamaño de la fuente. También hace que su cursor sea un puntero */

.acordeon h1 {
    font-size: 30px;
}

.acordeon .etiqueta {
    position: relative;
    padding: 10px 0;
    font-size: 25px;
    color: black;
    cursor: pointer;
}
.acordeon .etiqueta::before {
    content: '+';
    color: black;
    position: absolute;
    top: 50%;
    right: -5px;
    font-size: 30px;
    transform: translateY(-50%);
}

  /* Oculta el contenido (altura: 0), disminuye el tamaño de la fuente, justifica el texto y añade la transición */

.acordeon .contenido {
    position: relative;
    background: white;
    height: 0;
    font-size: 20px;
    font-weight: 200;
    text-align: justify;
    width: 60vw;
    overflow: hidden;
    transition: 0.5s;
}

  /* Añade una línea horizontal entre los contenidos */

.acordeon hr {
    width: 100;
    margin-left: 0;
    border: 1px solid grey;
}

.acordeon .contenedor.activa .contenido {
    height: 120px;
}

  /* Cambia de signo positivo a negativo una vez activado */

.acordeon .contenedor.activa .etiqueta::before {
    content: '-';
    font-size: 30px;
}

@media (max-width: 720px) { 
    .acordeon {
        width: 90vw;
        padding: 0;
    }

    .acordeon .etiqueta {
        font-size: 20px;
        padding: 20px 45px 0px 0px;
    }

    .acordeon .contenedor.activa .contenido {
        margin: 10px 0px;
        height: 250px;
        width: 85vw;
    }
}

/* Contacto */

.contacto {
    display: flex;
    flex-direction: row;
    width: 100vw;
    justify-content: center;
}

.contacto-container {
    display: flex;
    width: 100vw;
}

.formulario {
    width: 50%;
    height: 600px;
    background-color: rgb(217, 217, 217);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container-formulario {
    width: 60%;
}

.container-formulario input, textarea {
    font-size: 15px;
    width: 100%;
    margin: 10px 0px;
    border-radius: 10px;
    padding: 10px;
    border: none;
}

.imagen-contacto {
    width: 50%;
    display: flex;
    height: 600px;
    background-image: url(/assets/img/recurso-28.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: inset 0 0 0 2000px rgba(54, 54, 54, 0.511);
    justify-content: center;
    align-items: center;
}

.imagen-contacto h2 {
    color: white;
    text-align: center;
}

.imgcontacto-container {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 120px;
}

.imgcontacto-container .popuptext {
    visibility: hidden;
    width: 280px;
    height: 100px;
    background-color: #000000;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 8px;
    position: relative;
    z-index: 1;
    top: -175px;
    align-items: center;
}

.imgcontacto-container .popuptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #000000 transparent transparent transparent;
}

.imgcontacto-container .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
    display: flex;
    align-items: center;
}


@media (max-width: 720px) {
    .contacto {
        flex-direction: column;
    }

    .contacto-container {
        flex-direction: column;
    }

    .formulario, .imagen-contacto {
        width: 100vw;
        height: 550px;
    }

    .imgcontacto-container {
        width: 60%;
    }

    .container-formulario {
        width: 70vw;
        margin-right: 5%;
    }
}

/* Footer */

.footer {
    display: flex;
    flex-direction: row;
    width: 100vw;
    justify-content: space-evenly;
    background-color: black;
    min-height: 30vh;
    align-items: center;
}

.footer-container {
    display: flex;
    flex-direction: row;
    width: 75vw;
    margin-top: 2%;
}

.footer-contacto {
    display: flex;
    flex-direction: column;
}

.iconos-contacto {
    display: flex;
    width: 20%;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: space-evenly;
}

.icono-texto {
    display: flex;
    flex-direction: row;
    margin: 2% 0;
}

.icono-texto a {
    display: flex;
    flex-direction: row;
}

.icono-texto i {
    margin-right: 20px;
}

.container-iconos {
    display: flex;
    flex-direction: column;
}

.footer h2, .footer p {
    color: white;
}

.footer p {
    font-weight: 200;
}

.footer-izq {
    display: flex;
    flex-direction: row;
    width: 50%;
    justify-content: space-evenly;
}

.footer-menu p {
    margin: 2% 0;
}

.footer-der {
    display: flex;
    flex-direction: row;
    width: 50%;
    justify-content: center;
}

.icono-svg {
    height: 40px;
    margin: 10px;
}

@media (max-width:720px) {
    .footer, .footer-container, .footer-izq {
        flex-direction: column;
    }

    .footer-container {
        align-items: center;
        width: 95vw;
        margin-top: 10%;
    }

    .footer-contacto, .footer-redes {
        margin-top: 5%;
    }

    .footer-izq, .footer-der {
        width: 80%;
        justify-content: left;
    }

}

.copyright {
    display: flex;
    flex-direction: row;
    background-color: black;
    width: 100vw;
    justify-content: center;
}

.copyright-texto {
    color: white;
    font-weight: 200;
    width: 75vw;
    margin: 30px 0px;
    margin-left: 10%;
}

@media (max-width: 720px) {
    .copyright-texto {
        margin-left: 0;
    }
}

/* Botón Whatsapp */

.btn-flotante {
	font-size: 16px; /* Cambiar el tamaño de la tipografia */
	text-transform: uppercase; /* Texto en mayusculas */
	font-weight: bold; /* Fuente en negrita o bold */
	border-radius: 5px; /* Borde del boton */
	letter-spacing: 2px; /* Espacio entre letras */
	/*padding:  0;  Relleno del boton */
	position: fixed;
	bottom: 50px;
	right: 50px;
	transition: all 300ms ease 0ms;
	/*box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);*/
	z-index: 99;
}
.btn-flotante:hover {
	background-color: transparent; /* Color de fondo al pasar el cursor */
	/*box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.3);*/
	transform: translateY(-7px);
}

@media (max-width: 720px) {
    /* Botón Whatsapp */

    .btn-flotante {
    font-size: 16px; /* Cambiar el tamaño de la tipografia */
    text-transform: uppercase; /* Texto en mayusculas */
    font-weight: bold; /* Fuente en negrita o bold */
    border-radius: 5px; /* Borde del boton */
    letter-spacing: 2px; /* Espacio entre letras */
    /*padding:  0;  Relleno del boton */
    position: fixed;
    bottom: 0px;
    right: 10px;
    transition: all 300ms ease 0ms;
    /*box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);*/
    z-index: 99;
    }
    .btn-flotante:hover {
    background-color: transparent; /* Color de fondo al pasar el cursor */
    /*box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.3);*/
    transform: translateY(-7px);
    }
}