/* =========================
   GENERAL
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f3ed;
    color: #211a16;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(20, 13, 9, 0.88);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: #ffffff;

    font-size: 1.25rem;
    font-weight: 900;

    letter-spacing: 1px;
}

.logo span {
    color: #d9a15b;
    margin-left: 4px;
}

.nav {
    display: flex;
    align-items: center;

    gap: 28px;
}

.nav a {
    position: relative;

    color: #ded4ca;

    font-size: 0.9rem;

    transition: color 0.25s ease;
}

.nav a:hover {
    color: #d9a15b;
}

.nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: #d9a15b;

    transition: width 0.25s ease;
}

.nav a:hover::after {
    width: 100%;
}

.menu-btn {
    display: none;

    background: none;
    border: none;

    color: #ffffff;

    font-size: 1.8rem;

    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    position: relative;

    padding-top: 76px;

    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            rgba(18, 11, 7, 0.97) 0%,
            rgba(23, 14, 9, 0.92) 28%,
            rgba(25, 15, 9, 0.72) 48%,
            rgba(20, 12, 8, 0.25) 72%,
            rgba(15, 9, 6, 0.10) 100%
        ),
        url("../images/hero-coffee.png");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;
}


/* Sombra inferior para unir el hero
   con la siguiente sección */

.hero::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 140px;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(16, 10, 7, 0.25)
        );
}


.hero-content {
    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 1120px;
}


/* TEXTO PEQUEÑO SUPERIOR */

.eyebrow,
.section-label {
    color: #d9a15b;

    font-size: 0.78rem;
    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 18px;
}


/* TÍTULO PRINCIPAL */

.hero h1 {
    max-width: 760px;

    font-size:
        clamp(3.5rem, 7vw, 6.2rem);

    line-height: 0.98;

    letter-spacing: -2px;

    margin-bottom: 28px;

    text-shadow:
        0 5px 30px
        rgba(0, 0, 0, 0.45);
}

.hero h1 span {
    display: block;

    color: #d9a15b;
}


/* DESCRIPCIÓN */

.hero-text {
    max-width: 600px;

    color: #e2d9d1;

    font-size: 1.08rem;

    line-height: 1.75;

    margin-bottom: 32px;

    text-shadow:
        0 2px 15px
        rgba(0, 0, 0, 0.55);
}


/* =========================
   BOTONES HERO
========================= */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 13px 26px;

    border-radius: 6px;

    font-weight: 700;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.btn-primary {
    background: #d9a15b;

    color: #201710;

    box-shadow:
        0 10px 30px
        rgba(217, 161, 91, 0.15);
}

.btn-primary:hover {
    transform: translateY(-3px);

    background: #e5ad66;

    box-shadow:
        0 12px 35px
        rgba(217, 161, 91, 0.25);
}

.btn-outline {
    border: 1px solid #8c7768;

    color: #ffffff;

    background: rgba(20, 13, 9, 0.20);

    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    transform: translateY(-3px);

    border-color: #d9a15b;

    color: #d9a15b;

    background: rgba(20, 13, 9, 0.45);
}


/* =========================
   INFORMACIÓN DEL HERO
========================= */

.hero-info {
    display: flex;
    flex-wrap: wrap;

    gap: 55px;

    max-width: 680px;

    margin-top: 65px;

    padding-top: 25px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.14);
}

.hero-info div {
    display: flex;

    flex-direction: column;
}

.hero-info strong {
    color: #d9a15b;

    font-size: 1.15rem;
}

.hero-info span {
    color: #b8aca2;

    font-size: 0.85rem;
}


/* =========================
   SECCIONES
========================= */

.section {
    padding: 110px 0;
}

.section h2 {
    font-size:
        clamp(2.2rem, 5vw, 3.7rem);

    line-height: 1.1;

    margin-bottom: 25px;
}


/* =========================
   NOSOTROS
========================= */

.about-grid {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 80px;

    align-items: center;
}

.about-visual {
    height: 480px;

    position: relative;

    overflow: hidden;

    border-radius: 12px;

    box-shadow:
        0 25px 60px
        rgba(49, 32, 22, 0.18);
}


.about-visual img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transition: transform 0.5s ease;
}


.about-visual:hover img {
    transform: scale(1.035);
}

.coffee-card {
    text-align: center;

    color: #ffffff;
}



.coffee-card strong {
    display: block;

    font-size: 2rem;
}

.coffee-card p {
    color: #d9a15b;
}

.about-content p:not(.section-label) {
    color: #71655c;

    margin-bottom: 18px;
}

.text-link {
    display: inline-block;

    color: #a66b2d;

    font-weight: 800;

    margin-top: 10px;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.text-link:hover {
    color: #7e4d1f;

    transform: translateX(4px);
}


/* =========================
   MENÚ
========================= */

.menu-section {
    background: #211914;

    color: #ffffff;
}

.section-heading {
    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 40px;

    margin-bottom: 45px;
}

.section-heading > p {
    max-width: 370px;

    color: #a99e95;
}

.menu-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.menu-card {
    padding: 28px;

    background: #2b211b;

    border:
        1px solid
        #403229;

    border-radius: 8px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-5px);

    border-color: #b47b3c;

    box-shadow:
        0 20px 35px
        rgba(0, 0, 0, 0.16);
}

.menu-icon {
    font-size: 2rem;

    margin-bottom: 20px;
}

.menu-card-header {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 10px;
}

.menu-card-header h3 {
    font-size: 1.2rem;
}

.menu-card-header span {
    color: #d9a15b;

    font-weight: 800;
}

.menu-card p {
    color: #a99e95;

    font-size: 0.9rem;
}


/* =========================
   EXPERIENCIA
========================= */

.experience-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 40px;

    margin-top: 50px;
}

.experience-grid article {
    border-top:
        2px solid
        #d9a15b;

    padding-top: 25px;
}

.experience-grid span {
    color: #b1783a;

    font-weight: 800;
}

.experience-grid h3 {
    font-size: 1.3rem;

    margin: 15px 0 10px;
}

.experience-grid p {
    color: #71655c;
}


/* =========================
   TESTIMONIO
========================= */

.testimonial {
    padding: 110px 0;

    background:
        linear-gradient(
            135deg,
            #c98b49,
            #a96d32
        );

    text-align: center;

    color: #1d1510;
}

.testimonial blockquote {
    max-width: 800px;

    margin: auto;

    font-size:
        clamp(2rem, 5vw, 4rem);

    line-height: 1.15;

    font-weight: 800;
}

.testimonial p {
    margin-top: 25px;
}


/* =========================
   CONTACTO
========================= */

.contact {
    background: #eee6dc;
}

.contact-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;

    align-items: center;
}

.contact-description {
    max-width: 500px;

    color: #71655c;
}

.contact-card {
    background: #211914;

    color: #ffffff;

    padding: 35px;

    border-radius: 8px;

    box-shadow:
        0 25px 50px
        rgba(48, 31, 21, 0.12);
}

.contact-card > div {
    padding: 20px 0;

    border-bottom:
        1px solid
        #403229;
}

.contact-card > div:first-child {
    padding-top: 0;
}

.contact-card > div:last-child {
    border-bottom: none;

    padding-bottom: 0;
}

.contact-card span {
    display: block;

    color: #c58b48;

    font-size: 0.7rem;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 5px;
}

.contact-card strong {
    font-size: 1.1rem;
}

.contact-card p {
    color: #a99e95;
}


/* =========================
   FOOTER
========================= */

footer {
    background: #15100d;

    color: #ffffff;

    padding: 35px 0;
}

.footer-content {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 25px;
}

.footer-content p {
    color: #8f8379;

    font-size: 0.82rem;
}

.footer-content strong {
    color: #d9a15b;
}


/* =========================
   RESPONSIVE TABLET
========================= */

@media (max-width: 900px) {

    .menu-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-visual {
        height: 420px;
    }

    .hero {
        background-position:
            58% center;
    }
}


/* =========================
   RESPONSIVE MÓVIL
========================= */

@media (max-width: 760px) {

    .menu-btn {
        display: block;
    }

    .nav {
        display: none;

        position: absolute;

        top: 76px;
        left: 0;

        width: 100%;

        padding: 25px 5%;

        flex-direction: column;

        background: #211914;

        border-bottom:
            1px solid
            #403229;
    }

    .nav.active {
        display: flex;
    }


    /* HERO MÓVIL */

    .hero {
        min-height: 100vh;

        padding-top: 135px;
        padding-bottom: 70px;

        background:
            linear-gradient(
                90deg,
                rgba(18, 11, 7, 0.95),
                rgba(18, 11, 7, 0.72)
            ),
            url("../images/hero-coffee.png");

        background-size: cover;

        background-position:
            62% center;
    }

    .hero h1 {
        max-width: 600px;

        font-size:
            clamp(3rem, 14vw, 5rem);

        letter-spacing: -1px;
    }

    .hero-text {
        max-width: 520px;

        color: #eee5de;
    }

    .hero-info {
        gap: 30px;

        margin-top: 50px;
    }


    /* SECCIONES */

    .section {
        padding: 80px 0;
    }

    .section-heading {
        flex-direction: column;

        align-items: flex-start;
    }

    .experience-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;

        text-align: center;
    }
}


/* =========================
   TELÉFONOS PEQUEÑOS
========================= */

@media (max-width: 520px) {

    .about-visual {
    height: 320px;
}

    .container {
        width: 92%;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 125px;

        background-position:
            64% center;
    }

    .hero h1 {
        font-size: 3.2rem;

        line-height: 1;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-info {
        flex-direction: column;

        gap: 18px;
    }

    .coffee-icon {
        font-size: 4.5rem;
    }
}