/* =========================================================
   OREJIBLANCO
   Hoja de estilos principal
   ========================================================= */


/* =========================================================
   TIPOGRAFÍA — LATO
   ========================================================= */

@font-face {
    font-family: 'Lato';
    src: url('../media/fonts/Lato-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('../media/fonts/Lato-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('../media/fonts/Lato-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('../media/fonts/Lato-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('../media/fonts/Lato-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('../media/fonts/Lato-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('../media/fonts/Lato-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('../media/fonts/Lato-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('../media/fonts/Lato-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('../media/fonts/Lato-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'VerandahReverie';
    src: url('../media/fonts/VerandahReverie.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


/* =========================================================
   COLORES DE MARCA — OREJIBLANCO
   ========================================================= */

:root {

    --dorado: #8F6F3B;
    --amarillo: #E6B040;
    --negro: #231F20;
    --verde: #133632;

    --crema: #F3F0E9;
    --blanco: #FFFFFF;

}


/* =========================================================
   CONFIGURACIÓN GENERAL
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--negro);
    color: var(--blanco);
    line-height: 1.5;
    overflow-x: hidden;
}


/* =========================================================
   HERO / PANTALLA PRINCIPAL
   ========================================================= */

.hero {
    position: relative;

    width: 100%;
    height: 100vh;
    min-height: 600px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}


/* =========================================================
   VIDEO DE FONDO
   ========================================================= */

.hero-video {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 0;
}


/* =========================================================
   CAPA SOBRE EL VIDEO
   ========================================================= */

.hero-overlay {
    position: absolute;

    inset: 0;

    background: rgba(19, 54, 50, 0.42);

    z-index: 1;
}


/* =========================================================
   CONTENIDO DEL HERO
   ========================================================= */

.hero-content {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 1000px;

    padding: 30px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}


/* =========================================================
   LOGO
   ========================================================= */

.hero-logo {
    width: min(420px, 70vw);
    height: auto;

    margin-bottom: 30px;

    display: block;
}


/* =========================================================
   FRASE DE MARCA
   ========================================================= */

.hero-tagline {
    max-width: 650px;

    margin-bottom: 50px;

    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 300;

    letter-spacing: 2px;
    line-height: 1.5;
}


/* =========================================================
   BOTÓN / INDICADOR DE SCROLL
   ========================================================= */

.scroll-button {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 10px;

    color: var(--amarillo);

    text-decoration: none;

    font-size: 0.8rem;
    font-weight: 700;

    letter-spacing: 2px;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.scroll-button span {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
}

.scroll-button:hover {
    color: var(--blanco);
    transform: translateY(6px);
}


/* =========================================================
   SECCIÓN — NUESTRA HISTORIA
   ========================================================= */

.historia {
    min-height: 100vh;

    display: grid;
    grid-template-columns: 0.85fr 1.15fr;

    background-color: var(--crema);
    color: var(--negro);
}


/* =========================================================
   TEXTO DE HISTORIA
   ========================================================= */

.historia-texto {
    padding: 100px 10%;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.historia-texto .section-label {
    color: var(--dorado);
}


/* =========================================================
   ETIQUETA DE SECCIÓN
   ========================================================= */

.section-label {
    margin-bottom: 25px;

    color: var(--amarillo);

    font-size: 0.8rem;
    font-weight: 700;

    letter-spacing: 4px;
}


/* =========================================================
   TÍTULO DE HISTORIA
   ========================================================= */

.historia h2 {
    margin-bottom: 35px;

    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;

    line-height: 0.9;

    color: var(--verde);
}


/* =========================================================
   INTRODUCCIÓN DE HISTORIA
   ========================================================= */

.historia-intro {
    max-width: 500px;

    margin-bottom: 30px;

    font-size: 1.35rem;
    font-weight: 700;

    line-height: 1.4;
}


/* =========================================================
   CONTENIDO DE HISTORIA
   ========================================================= */

.historia-contenido {
    max-width: 560px;
}

.historia-contenido p {
    margin-bottom: 18px;

    font-size: 1rem;
    font-weight: 400;

    line-height: 1.7;
}


/* =========================================================
   UBICACIÓN
   ========================================================= */

.historia-ubicacion {
    display: flex;
    flex-direction: column;

    gap: 5px;

    margin-top: 25px;
    padding-left: 20px;

    border-left: 3px solid var(--amarillo);
}

.historia-ubicacion strong {
    color: var(--verde);

    font-size: 1.2rem;
    font-weight: 700;
}

.historia-ubicacion span {
    font-size: 0.9rem;
    font-weight: 400;
}


/* =========================================================
   FOTOGRAFÍA DE HISTORIA
   ========================================================= */

.historia-imagen {
    position: relative;

    min-height: 700px;

    overflow: hidden;
}

.historia-imagen img {
    width: 90%;
    height: 90%;

    object-fit: cover;
    object-position: center;
}


/* =========================================================
   FRASE SOBRE LA FOTOGRAFÍA
   ========================================================= */

.historia-frase {
    position: absolute;

    right: 14%;
    bottom: 10%;

    width: 90%;
    max-width: 430px;

    padding: 10px;

    box-sizing: border-box;
}

.historia-frase p {
    margin: 0;

    color: var(--blanco);

    font-family: 'VerandahReverie', cursive;

    font-size: clamp(1.5rem, 3.5vw, 3.2rem);
    font-weight: 400;

    line-height: 1;

    text-align: left;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.55);
}


/* =========================================================
   NUESTRO CAFÉ
   ========================================================= */

.cafe {
    min-height: 100vh;

    padding: 120px 10%;

    background-color: var(--crema);
    color: var(--negro);
}


/* =========================================================
   ENCABEZADO DEL CAFÉ
   ========================================================= */

.cafe-header {
    max-width: 750px;

    margin-bottom: 80px;
}

.cafe-header .section-label {
    color: var(--dorado);
}

.cafe-header h2 {
    margin-bottom: 35px;

    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 900;

    line-height: 0.95;
}

.cafe-header > p:last-child {
    max-width: 620px;

    font-size: 1.1rem;
    font-weight: 300;

    line-height: 1.8;
}


/* =========================================================
   PRODUCTO
   ========================================================= */

.cafe-producto {
    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 10%;

    max-width: 800px;

    margin: 0 auto;
}


/* =========================================================
   IMAGEN DEL PRODUCTO
   ========================================================= */

.cafe-imagen {
    display: flex;

    justify-content: center;
    align-items: center;
}

.cafe-imagen img {
    width: 100%;
    max-width: 260px;

    height: auto;

    display: block;
}


/* =========================================================
   INFORMACIÓN DEL PRODUCTO
   ========================================================= */

.cafe-info {
    max-width: 500px;
}

.producto-label {
    margin-bottom: 15px;

    color: var(--dorado);

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 3px;
}

.cafe-info h3 {
    margin-bottom: 25px;

    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;

    line-height: 1;
}

.producto-descripcion {
    margin-bottom: 35px;

    font-size: 1.05rem;
    font-weight: 300;

    line-height: 1.8;
}


/* =========================================================
   PRESENTACIONES
   ========================================================= */

.presentaciones {
    display: flex;

    gap: 12px;

    margin-bottom: 40px;
}

.presentacion {
    padding: 18px 25px;

    border: 1px solid var(--dorado);

    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.presentacion span {
    font-size: 0.9rem;
    font-weight: 700;
}

.presentacion:hover {
    background-color: var(--verde);
    color: var(--blanco);
}


/* =========================================================
   CONTACTO
   ========================================================= */

.producto-contacto {
    padding-top: 30px;

    border-top: 1px solid rgba(35, 31, 32, 0.2);
}

.producto-contacto p {
    margin-bottom: 20px;

    font-size: 0.95rem;

    line-height: 1.6;
}


/* =========================================================
   BOTONES DE CONTACTO
   ========================================================= */

.botones-contacto {
    display: flex;

    align-items: stretch;

    gap: 3px;
}


/* Botón correo */

.botones-contacto .boton-contacto {
    min-height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 15px 30px;

    background-color: var(--verde);
    color: var(--blanco);

    text-decoration: none;

    font-size: 0.8rem;
    font-weight: 700;

    letter-spacing: 2px;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}


/* Botón WhatsApp */

.botones-contacto .boton-whatsapp {
    min-height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 15px 25px;

    background-color: var(--verde);
    color: var(--blanco);

    text-decoration: none;

    font-family: 'Lato', sans-serif;

    font-size: 0.8rem;
    font-weight: 700;

    letter-spacing: 1.5px;

    border: none;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}


/* Icono WhatsApp */

.boton-whatsapp img {
    width: 22px;
    height: 22px;

    display: block;
}


/* Hover botones */

.botones-contacto .boton-contacto:hover,
.botones-contacto .boton-whatsapp:hover {
    background-color: var(--dorado);
    color: var(--blanco);

    transform: translateY(-3px);
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    padding: 70px 10% 25px;

    background-color: var(--negro);
    color: var(--blanco);
}


/* =========================================================
   CONTENEDOR DEL FOOTER
   ========================================================= */

.footer-contenido {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 50px;

    max-width: 1200px;

    margin: 0 auto;

    padding-bottom: 60px;
}


/* =========================================================
   MARCA
   ========================================================= */

.footer-marca {
    display: flex;
    flex-direction: column;

    gap: 15px;
}

.footer-marca img {
    width: 220px;
    height: auto;

    display: block;
}

.footer-marca p {
    color: var(--dorado);

    font-size: 0.8rem;

    letter-spacing: 2px;
    font-weight: 400;
}


/* =========================================================
   CONTACTO DEL FOOTER
   ========================================================= */

.footer-contacto {
    display: flex;
    flex-direction: column;

    align-items: flex-end;
}

.footer-titulo {
    margin-bottom: 20px;

    color: var(--amarillo);

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 3px;
}


/* =========================================================
   REDES SOCIALES
   ========================================================= */

.footer-redes {
    display: flex;

    align-items: center;

    gap: 20px;
}

.footer-redes a {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(230, 176, 64, 0.5);

    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.footer-redes img {
    width: 20px;
    height: 20px;

    display: block;
}

.footer-redes a:hover {
    background-color: var(--dorado);

    border-color: var(--dorado);

    transform: translateY(-3px);
}


/* =========================================================
   CORREO
   ========================================================= */

.footer-email {
    margin-top: 20px;
}

.footer-email a {
    color: var(--blanco);

    text-decoration: none;

    font-size: 0.9rem;
    font-weight: 400;

    transition: color 0.3s ease;
}

.footer-email a:hover {
    color: var(--amarillo);
}


/* =========================================================
   FOOTER INFERIOR
   ========================================================= */

.footer-bottom {
    max-width: 1200px;

    margin: 0 auto;

    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.15);

    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.55);

    font-size: 0.75rem;
    font-weight: 300;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .hero-content {
        padding: 25px;
    }

    .hero-logo {
        width: min(380px, 70vw);
    }

    .finca {
        padding: 100px 8%;
    }

    .historia-texto {
        padding: 80px 8%;
    }

    .cafe {
        padding: 100px 8%;
    }

    .footer {
        padding-left: 8%;
        padding-right: 8%;
    }

}


/* =========================================================
   RESPONSIVE — CELULAR
   ========================================================= */

@media (max-width: 768px) {

    /* -----------------------------------------
       HERO
    ----------------------------------------- */

    .hero {
        height: 100svh;
        min-height: 550px;
    }

    .hero-logo {
        width: min(300px, 75vw);

        margin-bottom: 25px;
    }

    .hero-tagline {
        max-width: 330px;

        margin-bottom: 40px;

        font-size: 1rem;

        letter-spacing: 1px;
    }

    .scroll-button {
        font-size: 0.7rem;

        letter-spacing: 1.5px;
    }


    /* -----------------------------------------
       HISTORIA
    ----------------------------------------- */

    .historia {
        display: flex;
        flex-direction: column;
    }

    .historia-texto {
        padding: 80px 8%;
    }

    .historia h2 {
        font-size: clamp(3rem, 15vw, 5rem);
    }

    .historia-intro {
        font-size: 1.15rem;
    }

    .historia-imagen {
        min-height: 75vh;
    }

    .historia-imagen img {
        width: 90%;
        height: 90%;

        object-position: center center;
    }

    .historia-frase {
        right: 7%;
        bottom: 5%;

        width: 90%;
        max-width: none;
    }

    .historia-frase p {
        font-size: clamp(2rem, 9vw, 3rem);
    }


    /* -----------------------------------------
       CAFÉ
    ----------------------------------------- */

    .cafe {
        padding: 90px 8%;
    }

    .cafe-header {
        margin-bottom: 60px;
    }

    .cafe-header h2 {
        font-size: clamp(2.8rem, 13vw, 4.5rem);
    }

    .cafe-producto {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .cafe-imagen {
        order: 1;
    }

    .cafe-info {
        order: 2;

        max-width: 100%;
    }

    .cafe-imagen img {
        max-width: 300px;
    }

    .presentaciones {
        flex-wrap: wrap;
    }

    .presentacion {
        flex: 1;

        min-width: 80px;

        text-align: center;
    }


    /* -----------------------------------------
       FOOTER
    ----------------------------------------- */

    .footer {
        padding: 60px 8% 25px;
    }

    .footer-contenido {
        flex-direction: column;

        align-items: center;

        text-align: center;

        padding-bottom: 30px;
    }

    .footer-marca {
        align-items: center;
    }

    .footer-marca img {
        width: 100px;
    }

    .footer-contacto {
        align-items: center;
    }

    .footer-redes {
        gap: 15px;
    }

    .footer-bottom p {
        font-size: 0.7rem;
    }


    /* -----------------------------------------
       BOTONES DE CONTACTO
    ----------------------------------------- */

    .botones-contacto {
        flex-direction: column;

        gap: 10px;

        width: 100%;
    }

    .botones-contacto .boton-contacto,
    .botones-contacto .boton-whatsapp {
        width: 100%;
    }

}


/* =========================================================
   RESPONSIVE — CELULARES PEQUEÑOS
   ========================================================= */

@media (max-width: 480px) {

    .hero-content {
        padding: 20px;
    }

    .hero-logo {
        width: 75vw;
    }

    .hero-tagline {
        max-width: 290px;
    }

    .historia-texto {
        padding-left: 7%;
        padding-right: 7%;
    }

    .cafe {
        padding-left: 7%;
        padding-right: 7%;
    }

}
/* =========================================================
   SECCIÓN — QUIÉNES SOMOS
   ========================================================= */

.quienes-somos {
    background-color: var(--verde);
    color: var(--blanco);
}


/* =========================================================
   CONTENIDO
   ========================================================= */

.quienes-somos-texto {
    max-width: 1200px;
    margin: 0 auto;

    padding: 110px 8% 120px;
}


/* =========================================================
   TÍTULO
   ========================================================= */

.quienes-somos h2 {
    margin-bottom: 45px;

    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;

    line-height: 0.9;

    color: var(--blanco);
}


/* =========================================================
   TEXTO
   ========================================================= */

.quienes-somos-contenido {
    font-size: 1rem;
    line-height: 1.8;
}

.quienes-somos-contenido p {
    margin-bottom: 22px;
}

.quienes-somos-contenido strong {
    font-weight: 700;
}


/* =========================================================
   FOTOGRAFÍA INTEGRADA EN EL TEXTO
   ========================================================= */

.quienes-somos-foto {
    float: right;

    width: 38%;

    margin: 5px 0 30px 45px;
}

.quienes-somos-foto img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 2px;
}


/* =========================================================
   INTRODUCCIÓN
   ========================================================= */

.quienes-somos-intro {
    margin-bottom: 30px !important;

    font-size: 1.25rem !important;
    line-height: 1.6 !important;
}


/* =========================================================
   SUBTÍTULOS
   ========================================================= */

.quienes-somos h3 {
    clear: both;

    margin-top: 55px;
    margin-bottom: 25px;

    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900;

    line-height: 1;

    color: var(--amarillo);
}


/* =========================================================
   CIERRE
   ========================================================= */

.quienes-somos-cierre {
    clear: both;

    margin-top: 35px;

    padding-left: 20px;

    border-left: 3px solid var(--amarillo);
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .quienes-somos-texto {
        padding: 90px 8% 100px;
    }

    .quienes-somos-foto {
        width: 40%;

        margin-left: 35px;
    }

}


/* =========================================================
   RESPONSIVE — CELULAR
   ========================================================= */

@media (max-width: 768px) {

    .quienes-somos-texto {
        padding: 80px 8% 90px;
    }

    .quienes-somos h2 {
        font-size: clamp(3rem, 15vw, 5rem);
    }

    .quienes-somos-foto {
        float: none;

        width: 75%;

        margin: 0 auto 35px;
    }

    .quienes-somos-intro {
        font-size: 1.15rem !important;
    }

}


/* =========================================================
   RESPONSIVE — CELULARES PEQUEÑOS
   ========================================================= */

@media (max-width: 480px) {

    .quienes-somos-texto {
        padding-left: 7%;
        padding-right: 7%;
    }

    .quienes-somos-foto {
        width: 100%;
    }

}