:root{
    --azulC: #1cc2f1;
    --azulO: #092b6d;
    --morado: #7759fb;
}
@font-face {font-family: 'ChampagneLimousinesBold'; src: url(../fonts/ChampagneLimousinesBold.ttf);}
@font-face {font-family: 'Futura'; src: url(../fonts/Futura.ttf);}
@font-face {font-family: 'LemonMilk'; src: url(../fonts/LemonMilk.otf);}
@font-face {font-family: 'LemonMilkMedium'; src: url(../fonts/LemonMilkMedium.otf);}

/* ------------------------------------------ */
*{
    min-width: 0;
    font: inherit;
    margin: 0;
    font-family: Futura;
}
*, *::before{
    box-sizing: border-box;
}
img, svg, video{
    display: block;
    height: auto;
    max-width: 100%;
}
body{
    min-height: 100dvh;
}
html{
    scroll-behavior: smooth;
}
h1,h2,h3,h4,h5,h6{
    text-wrap: balance;
    font-family: LemonMilkMedium;
}
a{
    text-decoration: none;
    color: inherit;
}

/* ------------------------------------------ */

h1{
    font-size: 30px;
}
h2{
    font-size: 24px;
}
p, a{
    font-family: Futura;
    font-size: 18px;
}
.btn{
    border: none;
    min-width: 220px;
    padding: 0.5rem 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 250ms;
    color: white;
    clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
}
.btn:hover{
    transform: scale(1.05);
}
.btn-azul{
    background-color: var(--azulO);
}
.btn-p{
    border: none;
    min-width: 220px;
    padding: 0.5rem 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 250ms;
    color: white;
    clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
    border-radius: 5px;
}
.btn-p:hover{
    transform: scale(1.05);
}
.btn-ver-prod{
    height: fit-content;
    background-color: var(--azulO);
}
.shad{
    -webkit-box-shadow: 0px 2px 25px 0px rgba(204,204,204,1);
    -moz-box-shadow: 0px 2px 25px 0px rgba(204,204,204,1);
    box-shadow: 0px 2px 25px 0px rgba(204,204,204,1);
}
.dropShad{
    filter: drop-shadow(2px 2px 4px rgb(174, 174, 174));
}
.shadClaro{
    -webkit-box-shadow: 0px 2px 25px 0px rgba(221,221,221,1);
    -moz-box-shadow: 0px 2px 25px 0px rgba(221,221,221,1);
    box-shadow: 0px 2px 25px 0px rgb(221, 221, 221);
}
.ma1750{
    max-width: 1750px;
    margin: auto;
}

/* Whp */
.whp{
    position: fixed;
    z-index: 15;
    bottom: 165px;
    left: 1rem;
    display: block;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    padding: 10px;
    border-radius: 50%;
}
.whp img{
    width: 100%;
    height: 100%;
}

/* Top Arrow */
.top-arrow{
    background-color: #7759fb;
    border: solid 1px var(--azulO);
    position: fixed;
    z-index: 15;
    bottom: 95px;
    left: 1rem;
    display: block;
    width: 60px;
    height: 60px;
    padding: 10px;
    border-radius: 50%;
}
.top-arrow img{
    width: 100%;
    height: 100%;
}




/* A ------------------------------------------ */
/* .rotar-derecha {
    animation: rotateRight 2s ease-in-out infinite;
} */
@keyframes rotateRight {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


.animacion-levit {
    animation: levit 3s ease-in-out infinite;
}
.levit-delay{
    animation: levit 3s ease-in-out 1.5s infinite;
}
@keyframes levit {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.salidaAbajo{
    transform: translateY(100px);
    opacity: 0;
}


/* Hero ------------------------------------------ */
.txt-mask-hero p{
    margin-top: 1rem;
    padding: 0 10%;
}
.logo-nieto-img{
    width: clamp(180px, 90%, 350px);
    margin: 1.5rem auto 0;
}
.hero, .hero-div{
    min-height: 100vh;
}
.hero{
    display: flex;
    align-items: center;
}
.hero-div{
    position: relative;
    height: 100%;
}
.hero-titulo-h1{
    font-size: 2.4vw;
    font-family: LemonMilk;
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: -5;
    margin: auto;
    text-align: center;
    transform: translate(-30%) rotate(-90deg);
    min-width: 450px;
    padding: 2rem;
    width: fit-content;
    height: fit-content;
    font-size: 2.2vw;
}
.hero-titulo.hero-div{
    width: 35%;
    text-align: center;
}
.hero-sider.hero-div{
    width: 65%;
    background-image: url("../images/banner1.webp");
    background-size: cover;
    background-position: center;
}
.menu-div-a{
    color: white;
    font-size: 22px;
}
.menu-nav{
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 15;
}
.imgs-banner-circulos{
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    width: clamp(0px, 43vw, 75vh);
    height: clamp(0px, 43vw, 75vh);
    transform: translateX(-50%);
    z-index: 5;
}
.imgs-banner-circulos img{
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: contain;
    transition: 500ms ease-in-out;
}
.txt-mask-hero{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgb(9, 43, 109, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: min(17vw, 320px);
    padding-right: 5vw;
    text-align: center;
}
.txt-mask-hero404{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgb(9, 43, 109, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-left: min(17vw, 320px);
    padding-right: 5vw;
    text-align: center;
}

.txt-mask-hero h1{
    max-width: 700px;
    color: white;
}

.txt-mask-hero404 h1, p{
    max-width: 700px;
    color: white;
}

.titulo-mask-hero{
    display: none;
    z-index: 10;
}
.titulo-mask-hero.titulo-activo{
    display: block;
}

/* Productos ------------------------------------------ */
.productos-section{
    margin: 6rem 0 -2rem;
}
.titulo-prods{
    margin-bottom: -3rem;
}
.titulo-prods{
    width: clamp(200px, 100%, 650px);
    padding: 1.5rem 5rem;
    padding-left: min(6%, 5rem);
    background-color: var(--azulC);
    color: white;
    clip-path: polygon(0% 0%, 100% 0%, calc(100% - 5rem) 100%, 0% 100%);
    width: 35%;
}
.container-prods{
    display: flex;
    align-items: flex-end;
    text-align: center;
    gap: 3rem;
    flex-grow: 1;
    padding-right: 8%;
    width: 60%;
}
.producto-fig{
    width: calc(33% - 1rem);
    display: none;
}
.producto-banda-activo{
    display: block;
}
.container-prods .figureP-img{
    width: 100%;
    max-width: 120px;
    margin: auto;
    margin-bottom: 1.5rem;
}
.container-prods .figureP-h3{
    color: white;
}
.productos-article{
    background-image: url('../images/banda-prod.webp');
    background-position: right bottom;
    background-size: 1800px auto;
    background-repeat: no-repeat;
    padding: 7rem 0 220px;
    max-width: 1700px;
    display: flex;
    align-items: center;
    min-height: 610px;
}


/* Seccion de Contacto  ------------------------------------------ */
.home-contacto{
    display: flex;
    align-items: center;
    overflow: hidden;
    justify-content: space-between;
}
.click-a-contacto{
    background-image: url('../images/contacto-lineas.webp');
    background-position: bottom right;
    background-size: 90% auto;
    background-repeat: no-repeat;
    width: 55%;
    height: 50cqh;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 0 0 1.9% 15%;
    gap: 18vw;
}
.click-a-contacto h2{
    text-align: center;
    width: fit-content;
    font-size: 1.7vw;
}
.click-a-contacto a{
    width: fit-content;
}
.circulo-home-contacto{
    width: 45%;
    overflow: hidden;
}
.circulo-home-contacto img{
    transform: translate(10%,20%);
    position: relative;
    z-index: -5;
    width: 55vw;
    max-width: 1000px;
}
.btn-home-contacto{
    width: 12vw;
    min-width: 150px;
    padding: 0.5vw 1vw;
}


/* Footer ------------------------------------------ */
.footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--azulO) url("../images/lineas-foot.webp") no-repeat left bottom;
    background-size: 1500px auto;
    padding: 2rem;
    padding-left: 6rem;
    color: white;
    min-height: 250px;
    gap: 0.5rem;
}
.iframe-mapa iframe{
    width: 100%;
    margin-bottom: -4px;
}


/* Agradecimiento ------------------------------------------ */
#mensaje.mensaje-gracias{
    padding: 4rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: auto;
    text-align: center;
    color: black;
    min-height: max(500px,40vh);
}
#mensaje.mensaje-gracias h2{
    margin-bottom: 1rem;
    font-size: 28px;
}



@media (min-device-width:1800px){
    .hero-titulo-h1{
        font-size: 41px;
    }
    .click-a-contacto h2{
        font-size: 32px;
    }
}
@media (max-device-width:1000px){
    .productos-article{
        display: block;
        padding-top: 0;
        background-size: 1500px;
        background-position: center bottom;
        padding-bottom: 190px;
    }
    .productos-section{
        margin-bottom: 0;
    }
    .titulo-prods{
        width: 90%;
        margin-bottom: 3rem;
    }
    .container-prods{
        padding: 0;
        justify-content: space-between;
        width: 100%;
        gap: 1rem;
    }
    .circulo-home-contacto{
        overflow: visible;
    }
}
@media (max-device-width:850px){
    .imgs-banner-circulos{
        width: clamp(0px, 80vw, 50vh);
        height: clamp(0px, 80vw, 50vh);
        transform: translateX(-50%);
    }
    .txt-mask-hero{
        padding-left: min(35vw, 310px);
        overflow: hidden;
    }
    .logo-nieto-img{
        margin: 0 auto;
        width: 50%;
        max-width: 300px;
    }
    .logo-nieto{
        padding: 2rem 0 0;
    }
    .hero{
        display: block  ;
    }
    .hero, .hero-div{
        min-height: 0;
    }
    .hero-sider.hero-div{
        width: 100%;
        height: min(600px, 95vh);
    }
    .txt-mask-hero{
        position: initial;
    }
    .hero-titulo-h1{
        transform: none;
        position: initial;
        font-size: 1.6rem;
        min-width: 0;
    }
    .hero-titulo.hero-div{
        width: 100%;
    }
    .background-position{
        background-size: center 55%;
    }
    .click-a-contacto{
        background-position: left center;
        justify-content: center;
        gap: 11rem;
        padding-left: 9%;
        background-size: 500px;
        padding-bottom: 5rem;
    }
    .click-a-contacto h2{
        font-size: 19px;
        width: 55vw;

    }
    .click-a-contacto a{
        margin-left: 2rem;
    }
    .btn-home-contacto{
        padding: 0.3rem 1rem;
    }
}
@media (max-device-width:530px){
    .txt-mask-hero p{
        padding: 0;
    }
    .imgs-banner-circulos{
        width: 110vw;
        height: 110vw;
        transform: translate(-40%, -40%);
        bottom: initial;
    }
    .productos-section{
        margin-top: 4rem;
    }
    .titulo-prods{
        width: 99%;
    }
    .txt-mask-hero{
        padding: 2rem 1.5rem;
        padding-top: 9rem;
        min-height: min(600px, 95vh);
    }
    .container-prods .figureP-img{
        filter: drop-shadow(2px 2px 4px rgb(174, 174, 174));
    }
    .productos-article{
        background-image: none;
        padding-bottom: 3rem;
    }
    .container-prods{
        display: block;
    }
    .producto-fig{
        width: 100%;
        margin-bottom: 1rem;
        padding: 2rem;
    }
    .hero-sider.hero-div{
        overflow: hidden;
        height: auto;
        min-height: min(600px, 95vh);
    }
    .producto-fig:nth-child(even){
        background-color: rgb(221, 213, 255, 0.4);
        padding: 3rem 0;
        box-shadow: 0px 2px 25px 0px rgba(204,204,204,1);
    }
    .container-prods .figureP-h3{
        color: var(--azulO);
    }
    .home-contacto{
        display: block;
    }
    .click-a-contacto{
        width: 100%;
        padding: 0;
        gap: 4rem;
        height: auto;
        padding: 3rem 0 0;
        background-repeat: repeat-y;
        background-size: 90%;
        background-position: right;
        box-shadow: inset 0 0 0 1000px rgba(255,255,255,.7);
    }
    .click-a-contacto h2{
        width: 100%;
    }
    .click-a-contacto a{
        margin: 0 auto;
    }
    .circulo-home-contacto{
        width: 100%;
    }
    .circulo-home-contacto img{
        width: 100%;
        margin-bottom: -2rem;
    }
}