/* ========================================
   HERO
======================================== */

.hero {
    position: relative;

    min-height: calc(100vh - 92px);

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background-color: var(--cafe);

    background-image: url("../images/hero/hero1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* ========================================
   CAPA SOBRE LA FOTOGRAFÍA
======================================== */

.hero__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(81, 56, 44, 0.58),
            rgba(81, 56, 44, 0.22)
        );

    z-index: 1;
}


/* ========================================
   CONTENIDO
======================================== */

.hero__content {
    position: relative;

    z-index: 2;

    width: min(
        calc(100% - 40px),
        800px
    );

    margin-inline: auto;

    text-align: center;

    color: var(--marfil);
}


/* ========================================
   NOMBRE DE MARCA
======================================== */

.hero__eyebrow {
    margin-bottom: 16px;

    font-family: var(--fuente-texto);
    font-size: 13px;
    font-weight: 300;

    letter-spacing: 0.22em;
    text-transform: uppercase;
}


/* ========================================
   TÍTULO
======================================== */

.hero__title {
    margin-bottom: 24px;

    font-family: var(--fuente-titulos);
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 500;

    line-height: 1.05;
}


/* ========================================
   DESCRIPCIÓN
======================================== */

.hero__description {
    max-width: 620px;

    margin: 0 auto 34px;

    font-family: var(--fuente-texto);
    font-size: 16px;
    font-weight: 300;

    line-height: 1.8;
}


/* ========================================
   BOTÓN
======================================== */

.hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 28px;

    border-radius: var(--radio-suave);

    background-color: var(--verde-olivo);
    color: var(--marfil);

    font-family: var(--fuente-texto);
    font-size: 12px;
    font-weight: 400;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    transition:
        background-color var(--transicion),
        transform var(--transicion);
}


.hero__button:hover {
    background-color: var(--cafe);

    transform: translateY(-2px);
}

/* ========================================
   HERO NUESTRA HISTORIA
======================================== */

.historia-hero {
    background-image: url("../images/hero/hero_nuestra_historia.jpg"); /* Cambia la ruta por la imagen que quieras */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.historia-hero .hero__overlay {
    background: linear-gradient(
        90deg,
        rgba(81, 56, 44, 0.65),
        rgba(81, 56, 44, 0.25)
    );
}





/* ========================================
   MÓVIL
======================================== */

@media (max-width: 768px) {

    .hero {
        min-height: calc(100vh - 78px);

        background-position: center;
    }


    .hero__content {
        width: min(
            calc(100% - 30px),
            600px
        );
    }


    .hero__eyebrow {
        font-size: 11px;
        letter-spacing: 0.18em;
    }


    .hero__title {
        font-size: clamp(38px, 11vw, 56px);

        margin-bottom: 20px;
    }


    .hero__description {
        font-size: 14px;

        line-height: 1.7;

        margin-bottom: 28px;
    }


    .hero__button {
        min-height: 44px;

        padding-inline: 22px;
    }

}