/*====================================
            HERO
====================================*/

.hero{
    position: relative;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    background: url("../img/hero2.jpg") center center/cover no-repeat;
}

/*====================================
            OVERLAY
====================================*/

.overlay{

    position:absolute;
    inset:0;

    background:
    linear-gradient(
        rgba(0,0,0,.45),
        rgba(0,0,0,.35)
    );

}

/*====================================
        HERO CONTENT
====================================*/

.hero-content{
    position: relative;
    z-index: 2;

    text-align: center;
    color: #fff;

    margin-top: 120px; /* Solo baja el contenido */
}

/*====================================
        SUBTITULO
====================================*/

.subtitle{

    display:block;

    margin-bottom:25px;

    font-family:'Playfair Display',serif;

    font-size:28px;
    font-weight:400;

    letter-spacing:1px;

    opacity:.95;

}

/*====================================
            TITULO
====================================*/

.hero h1{

    color:#fff;

    font-family:'Playfair Display',serif;

    font-size:4.3rem;

    line-height:1.15;

    font-weight:500;

    max-width:900px;

    margin:0 auto 50px;

}


/*====================================
            BOTON
====================================*/

.hero-btn{

    display:inline-flex;

    align-items:center;
    justify-content:center;

    width:180px;
    height:65px;

    border:1px solid rgba(255,255,255,.7);

    border-radius:60px;

    color:#fff;

    font-family:'Inter',sans-serif;

    font-size:14px;
    font-weight:600;

    letter-spacing:3px;
    text-transform:uppercase;

    transition:.4s;

}

.hero-btn:hover{

    background:#fff;
    color:#111;

    transform:translateY(-4px);

}

/*====================================
        EFECTO DE FONDO
====================================*/

.hero::after{

    content:"";

    position:absolute;

    bottom:-120px;
    left:-120px;

    width:500px;
    height:500px;

    background:rgba(166,138,100,.35);

    filter:blur(140px);

    border-radius:50%;

}

/*====================================
        SCROLL INDICATOR
====================================*/

.scroll-indicator{

    position:absolute;

    bottom:45px;
    left:50%;

    transform:translateX(-50%);

    width:90px;
    height:90px;

    border:1px solid rgba(255,255,255,.5);

    border-radius:50px;

    display:flex;
    justify-content:center;
    align-items:center;

    color:#fff;

    font-size:26px;

    z-index:2;

    animation:float 2.5s infinite;

}

/*====================================
        ANIMACIONES
====================================*/

@keyframes float{

    0%{

        transform:translateX(-50%) translateY(0);

    }

    50%{

        transform:translateX(-50%) translateY(12px);

    }

    100%{

        transform:translateX(-50%) translateY(0);

    }

}

/*====================================
        NUESTRA HISTORIA
====================================*/

.historia{

    padding:140px 0;

    background:#F8F4EE;

}

.historia .container{

    max-width:1200px;

    margin:auto;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:90px;

    align-items:center;

    padding:0 20px;

}

.historia-img{

    position:relative;

}

.historia-img img{

    width:100%;

    height:650px;

    object-fit:cover;

    border-radius:30px;

    box-shadow:0 25px 60px rgba(0,0,0,.12);

    transition:.45s;

}

.historia-img img:hover{

    transform:scale(1.02);

}

.historia-text span{

    display:inline-block;

    color:#B58B45;

    font-size:13px;

    font-weight:600;

    letter-spacing:4px;

    text-transform:uppercase;

    margin-bottom:18px;

}

.historia-text h2{

    font-family:'Playfair Display',serif;

    font-size:58px;

    line-height:1.15;

    color:#1F1F1F;

    margin-bottom:30px;

    font-weight:500;

}

.historia-text p{

    font-family:'Inter',sans-serif;

    color:#666;

    font-size:17px;

    line-height:2;

    margin-bottom:22px;

}

.historia-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    width:190px;

    height:58px;

    margin-top:20px;

    background:#B58B45;

    color:#fff;

    text-decoration:none;

    letter-spacing:2px;

    text-transform:uppercase;

    font-size:13px;

    font-weight:600;

    border-radius:6px;

    transition:.35s;

}

.historia-btn:hover{

    background:#9B7639;

    transform:translateY(-3px);

}

/*====================================
        MISIÓN Y VISIÓN
====================================*/

.mision-vision{

    padding:130px 0;

    background:#ffffff;

}

.mision-vision .container{

    max-width:1200px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:45px;

    padding:0 20px;

}

.mision-card{

    background:#F8F4EE;

    padding:60px 45px;

    border-radius:25px;

    box-shadow:0 20px 45px rgba(0,0,0,.08);

    transition:.4s;

    position:relative;

    overflow:hidden;

}

.mision-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:6px;

    height:100%;

    background:#B58B45;

}

.mision-card:hover{

    transform:translateY(-10px);

    box-shadow:0 30px 60px rgba(0,0,0,.12);

}

.mision-card span{

    display:inline-block;

    color:#B58B45;

    font-size:13px;

    font-weight:600;

    letter-spacing:4px;

    text-transform:uppercase;

    margin-bottom:18px;

}

.mision-card h2{

    font-family:'Playfair Display',serif;

    font-size:40px;

    color:#1F1F1F;

    margin-bottom:25px;

    font-weight:500;

}

.mision-card p{

    color:#666;

    font-size:17px;

    line-height:2;

}

/*====================================
        ¿POR QUÉ ELEGIRNOS?
====================================*/

.porque{

    padding:140px 0;

    background:#F8F4EE;

}

.porque .container{

    max-width:1200px;

    margin:auto;

    padding:0 20px;

}

.porque span{

    display:block;

    text-align:center;

    color:#B58B45;

    font-size:13px;

    font-weight:600;

    letter-spacing:4px;

    text-transform:uppercase;

    margin-bottom:18px;

}

.porque h2{

    text-align:center;

    font-family:'Playfair Display',serif;

    font-size:58px;

    font-weight:500;

    color:#1F1F1F;

    margin-bottom:80px;

}

.porque-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.card{

    background:#fff;

    border-radius:25px;

    padding:50px 35px;

    text-align:center;

    box-shadow:0 20px 45px rgba(0,0,0,.08);

    transition:.4s;

}

.card:hover{

    transform:translateY(-12px);

    box-shadow:0 30px 60px rgba(0,0,0,.12);

}

.card-icon{

    width:85px;

    height:85px;

    margin:auto;

    margin-bottom:28px;

    border-radius:50%;

    background:#B58B45;

    display:flex;

    justify-content:center;

    align-items:center;

}

.card-icon i{

    color:#fff;

    font-size:34px;

}

.card h3{

    font-family:'Playfair Display',serif;

    font-size:28px;

    color:#1F1F1F;

    margin-bottom:20px;

}

.card p{

    color:#666;

    line-height:1.9;

    font-size:16px;

}

/*====================================
        NUESTROS VALORES
====================================*/

.valores{

    padding:140px 0;

    background:#ffffff;

}

.valores .container{

    max-width:1200px;

    margin:auto;

    padding:0 20px;

}

.valores-subtitulo{

    display:block;

    text-align:center;

    color:#B58B45;

    font-size:13px;

    letter-spacing:4px;

    text-transform:uppercase;

    font-weight:600;

    margin-bottom:18px;

}

.valores h2{

    text-align:center;

    font-family:'Playfair Display',serif;

    font-size:58px;

    color:#1F1F1F;

    font-weight:500;

    margin-bottom:80px;

}

.valores-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:40px;

}

.valor{

    display:flex;

    align-items:flex-start;

    gap:25px;

    padding:35px;

    border-radius:20px;

    transition:.35s;

}

.valor:hover{

    background:#F8F4EE;

}

.valor-numero{

    min-width:70px;

    height:70px;

    border-radius:50%;

    background:#B58B45;

    display:flex;

    justify-content:center;

    align-items:center;

    color:#fff;

    font-family:'Playfair Display',serif;

    font-size:26px;

    font-weight:600;

}

.valor-texto h3{

    font-family:'Playfair Display',serif;

    font-size:30px;

    color:#1F1F1F;

    margin-bottom:12px;

}

.valor-texto p{

    color:#666;

    line-height:1.9;

    font-size:16px;

}

/*====================================
        ESTADÍSTICAS
====================================*/

.estadisticas{

    position:relative;

    padding:120px 0;

    background:
    linear-gradient(rgba(20,20,20,.72),rgba(20,20,20,.72)),
    url("../img/estadisticas.jpg") center center/cover no-repeat;

}

.estadisticas .container{

    max-width:1200px;

    margin:auto;

    padding:0 20px;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:40px;

}

.numero{

    text-align:center;

    color:#fff;

}

.numero h2{

    font-family:'Playfair Display',serif;

    font-size:70px;

    color:#B58B45;

    margin-bottom:12px;

    font-weight:600;

}

.numero span{

    font-size:17px;

    color:#ffffff;

    letter-spacing:1px;

}



/*====================================
            CTA
====================================*/

.cta{

    padding:130px 0;

    background:#F8F4EE;

    text-align:center;

}

.cta .container{

    max-width:900px;

    margin:auto;

    padding:0 20px;

}

.cta span{

    display:block;

    color:#B58B45;

    text-transform:uppercase;

    letter-spacing:4px;

    font-size:13px;

    font-weight:600;

    margin-bottom:18px;

}

.cta h2{

    font-family:'Playfair Display',serif;

    font-size:60px;

    color:#1F1F1F;

    font-weight:500;

    line-height:1.2;

    margin-bottom:30px;

}

.cta p{

    color:#666;

    font-size:18px;

    line-height:1.9;

    margin-bottom:45px;

}

.cta-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    width:230px;

    height:62px;

    background:#B58B45;

    color:#fff;

    text-decoration:none;

    border-radius:6px;

    letter-spacing:2px;

    text-transform:uppercase;

    font-size:13px;

    font-weight:600;

    transition:.35s;

}

.cta-btn:hover{

    background:#9E783B;

    transform:translateY(-4px);

}

/*====================================
        RESPONSIVE 
====================================*/
/*====================================
        TABLET
====================================*/

@media (max-width:992px){

    /* HERO */

    .hero{
        height:85vh;
    }

    .hero-content{
        margin-top:90px;
        padding:0 30px;
    }

    .hero h1{
        font-size:3.6rem;
        line-height:1.15;
    }

    .hero-btn{
        width:180px;
        height:55px;
    }

    /* HISTORIA */

    .historia .container{
        grid-template-columns:1fr;
        gap:60px;
    }

    .historia-img img{
        height:500px;
    }

    .historia-text{
        text-align:center;
    }

    /* MISIÓN Y VISIÓN */

    .mision-vision .container{
        grid-template-columns:1fr;
    }

    /* ¿POR QUÉ ELEGIRNOS? */

    .porque-grid{
        grid-template-columns:repeat(2,1fr);
    }

    /* VALORES */

    .valores-grid{
        grid-template-columns:1fr;
    }

    /* ESTADÍSTICAS */

    .estadisticas .container{
        grid-template-columns:repeat(2,1fr);
    }

}

/*====================================
        CELULAR
====================================*/

@media (max-width:768px){

    /* HEADER */

    .top-bar{
        padding:20px;
    }

    .logo{
        font-size:2rem;
    }

    .year,
    .stars,
    .navbar{
        display:none;
    }

    /* HERO */

    .hero{
        height:75vh;
    }

    .hero-content{
        margin-top:70px;
        padding:0 25px;
    }

    .subtitle{
        font-size:18px;
    }

    .hero h1{
        font-size:2.6rem;
        line-height:1.2;
    }

    .hero-btn{
        width:170px;
        height:52px;
    }

    /* TÍTULOS */

    .historia-text h2,
    .porque h2,
    .valores h2,
    .cta h2{
        font-size:2.2rem;
    }

    .mision-card h2{
        font-size:2rem;
    }

    /* HISTORIA */

    .historia{
        padding:80px 20px;
    }

    .historia .container{
        gap:40px;
    }

    .historia-img img{
        height:350px;
    }

    /* MISIÓN */

    .mision-vision{
        padding:80px 20px;
    }

    .mision-card{
        padding:35px 25px;
    }

    /* ¿POR QUÉ ELEGIRNOS? */

    .porque{
        padding:80px 20px;
    }

    .porque-grid{
        grid-template-columns:1fr;
    }

    /* VALORES */

    .valores{
        padding:80px 20px;
    }

    .valor{
        flex-direction:column;
        text-align:center;
        align-items:center;
    }

    /* ESTADÍSTICAS */

    .estadisticas{
        padding:80px 20px;
    }

    .estadisticas .container{
        grid-template-columns:1fr;
        gap:40px;
    }

    /* CTA */

    .cta{
        padding:80px 20px;
    }

    .cta-btn{
        width:180px;
        height:55px;
    }

}

