/************************
HERO
************************/
.hero {
    width: 100%;
    height: 100vh;
    position: relative;
    background-image: url('../IMG/banner-colchones.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}
/*==================================================
MODELOS
==================================================*/
.modelos{
    padding:2rem 0;
    background:#fff;
}

.modelos .container{
    width:min(1600px,100%);
    margin:0 auto;
}

.modelos .titulo{
    margin:0;
    text-align:center;
    font-size:3.5rem;
    color:#59c7f5;
    font-weight:700;
}
.modelos .titulo span{
    color:#294273;
}

.modelos .subtitulo{
    margin:.5rem 0 4rem;
    text-align:center;
    font-size:1.6rem;
    color:#294273;
}

/*==================================================
GRID
==================================================*/
.modelos-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap: 1rem;
}
/*==================================================
CARD
==================================================*/
.modelo-card{
    position: relative;
    border-radius: 0 0 120px 120px;
    background: #fff;
    text-align: center;
    transition: .25s;
    max-width: 23vw;
    width: 270px;
    margin: auto;
}
.modelo-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(0,0,0,.18);
}
.modelo-card::after{
    content:"";
    position:absolute;
    inset:0;
    padding:2px;
    border-radius:0 0 120px 120px;
    background:linear-gradient(
        125deg,
        #282963 0%,
        #282963 55%,
        #6fa3c7 100%
    );
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite:xor;
            mask-composite:exclude;
    pointer-events:none;
}

/*==================================================
ENCABEZADO AZUL
==================================================*/
.modelo-card::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height: 12rem;
    background:linear-gradient(
        125deg,
        #282963 0%,
        #282963 55%,
        #6fa3c7 100%
    );
    border-radius: 0 0 40% 40%;
    z-index:1;
}
.modelo-imagen,
.modelo-info{
    position:relative;
    z-index:2;
}
.modelo-imagen{
    padding-top:4rem;
    margin: 0 -5%;
}
.modelo-imagen img{
    width:100%;
    display:block;
    margin:auto;
}

/*==================================================
CONTENIDO
==================================================*/
.modelo-info{
    padding:0 2rem 2.5rem;
}
.modelo-info h3{
    margin:-12rem 0 8rem;
    color:#fff;
    font-size:2rem;
    font-weight:700;
    position:relative;
    z-index:5;
    min-height: 5rem;
}
.modelo-info p{
    margin:0 auto 1rem;
    color:#555;
    font-size:1.2rem;
    line-height:1;
    min-height:5rem;
    max-width:100%;
}
.desde{
    display:inline-block;
    margin-bottom:0.5rem;
    color:#233263;
    font-size:1.6rem;
    font-weight:700;
}
.desde strong{
    display:inline-block;
    color:#90d4f2;
    font-size:1.8rem;
    line-height:1;
    margin-top:.4rem;
}

/*==================================================
BOTON
==================================================*/
.modelo-card .orma-btn{
    width:100%;
    max-width:180px;
    margin:auto;
    margin-bottom: -25%;
}


/*==================================================
PORQUE ORMA
==================================================*/
.porque-orma{
    padding:1rem 0;
    background:#fff;
}
.porque-orma .container{
    width:min(1600px,92%);
    margin:auto;
}
.porque-cta-top,
.porque-cta-bottom{
    display:flex;
    justify-content:center;
}
.porque-cta-top{
    margin-bottom:2rem;
}
.porque-cta-bottom{
    margin-top:2rem;
}
.porque-orma .titulo{
    margin:0;
    text-align:center;
    font-size:2.5rem;
    color:#24386f;
    line-height:1.1;
}
.porque-orma .titulo span{
    color:#64caf5;
}
.porque-orma .subtitulo{
    margin:1rem auto 5rem;
    text-align:center;
    font-size:1.1rem;
    color:#24386f;
}
/*==================================================
GRID
==================================================*/
.porque-grid{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:4rem;
}
/*==================================================
CARD
==================================================*/
.porque-card{
    text-align:center;
}
.porque-card img{
    width:90px;
    height:90px;
    object-fit:contain;
    margin:0 auto;
    display:block;
}
.porque-card h3{
    margin:0;
    color:#222;
    font-size:1.8rem;
    line-height:1.1;
    font-weight:800;
}
.porque-card p{
    margin:0;
    color:#666;
    font-size:1.2rem;
    line-height:1.35;
}

/*==================================================
CTA TEST
==================================================*/
.cta-test{
    background:
        url('../IMG/fondo-nubes.png')
        center
        center/cover
        no-repeat;
    background-position: right bottom;
    padding:2rem 0;
}
.cta-test .container{
    width:min(1600px,92%);
    margin:auto;
}
.cta-test-contenido{
    display:flex;
    align-items:center;
    justify-content: space-around;
    gap:4rem;
}
.cta-test h2{
    margin:0;
    color:#fff;
    font-size:2.5rem;
    line-height:1;
    max-width:450px;
}
.cta-test h2 span{
    color:#223b72;
}
.cta-test h2 .rosa{
    color:#b16ead;
}
/*==================================================
GARANTIAS
==================================================*/
.garantias{
    background:#f4f3f3;
    padding:6rem 0;
}
.garantias .container{
    width:min(1024px,92%);
    margin:auto;
}
/*==================================================
GRID SUPERIOR
==================================================*/
.garantias-principal{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:5rem;
    align-items:center;
    margin-bottom:5rem;
}
.garantias-imagen img{
    display:block;
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
}
.garantias-info h2{
    margin:0 0 2rem;
    font-size:2.5rem;
    line-height:1;
    color:#24386f;
}
.garantias-info h2 span{
    display:block;
    color:#62c8f6;
}
.garantias-info p{
    margin:0;
    font-size:1.3rem;
    color:#24386f;
    line-height:1.2;
}
/*==================================================
GRID INFERIOR
==================================================*/
.garantias-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:5rem;
}
.garantia-item{
    display:flex;
    align-items:flex-start;
    gap:2rem;
}
.garantia-item img{
    width:100px;
    flex-shrink:0;
}
.garantia-item h3{
    margin:0 0 .8rem;
    color:#000;
    font-size:2rem;
    line-height: 1.1;
}
.garantia-item p{
    margin:0;
    color:#555;
    font-size:1rem;
    line-height:1.1;
}


/*==================================================
RESPONSIVE
==================================================*/
@media(max-width:1200px){
    .modelos-grid{
        grid-template-columns:repeat(3,1fr);
    }
    .modelo-imagen {
        padding-top: 4rem;
        margin: 0 -5%;
    }

    .modelo-info h3 {
        margin: -13rem 0 11rem;
    }
    .modelo-info p {
        margin: 0 auto;
    }
}
@media(max-width:991px) {
    .hero {
        background-position:top center;
        margin-top: 5.5rem;
        height: auto;
        aspect-ratio: 1920 / 906;
        position: relative;
        background-size: contain;
        background-repeat: no-repeat;
    }
    .modelos-grid{
        grid-template-columns:repeat(2,1fr);
    }
    .modelo-imagen {
        padding-top: 5rem;
        margin: 0 -5%;
    }
    .modelo-info h3 {
        margin: -13rem 0 11rem;
    }
    .modelo-info p {
        margin: 0 auto;
    }
    .modelo-card .orma-btn {
        margin-bottom: -50%;
    }
    .porque-grid{
        grid-template-columns:repeat(2,1fr);
        gap:4rem 3rem;
    }

    .cta-test-contenido{
        flex-direction:column;
        text-align:center;
    }
    .cta-test h2{
        font-size:2.5rem;
    }

    .garantias-principal {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .garantias-info {
        text-align: center;
    }

    .garantias-principal{
        grid-template-columns:1fr;
    }
    .garantias-grid{
        grid-template-columns:1fr;
        gap:1rem;
    }

}
@media(max-width:600px){
    .modelos-grid{
        grid-template-columns:1fr;
        gap:2rem;
    }
    .modelo-card{
        max-width:380px;
        margin:auto;
    }
    .modelo-imagen {
        padding-top: 4.5rem;
        margin: 0 -5%;
    }
    .modelo-info h3 {
        margin: -12rem 0 8rem;
    }
    .modelo-info p {
        margin: 0 auto;
    }
    .modelo-card .orma-btn {
        margin-bottom: -50%;
    }

    .porque-grid{
        grid-template-columns:1fr;
    }
    .porque-orma .titulo{
        font-size:2rem;
    }
    .porque-orma .subtitulo{
        font-size:1rem;
    }
}