:root {
    --green-dark: #123527;
    --green: #295f43;
    --green-soft: #3f6d56;
    --green-light: #dfeadd;

    --gold: #c9a65b;
    --gold-light: #eee2c5;

    --cream: #f6f1e7;
    --cream-2: #fbf8f1;
    --white: #ffffff;

    --text: #202620;
    --text-light: #697069;

    --border: #e4e6df;

    --hacienda: #1f4ca3;
    --rey: #a77a1f;
    --rey-dark: #7b2433;
    --triunfo: #1f6a45;
    --triunfo-dark: #6c2331;

    --container: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}


img {
    display: block;
    max-width: 100%;
}


a {
    color: inherit;
    text-decoration: none;
}


.container {
    width: min(90%, var(--container));
    margin: auto;
}


/* ==============================
   HEADER
================================ */

.header {
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10;

    border-bottom:
        1px solid rgba(255,255,255,.2);
}

.header-branding {
    display: flex;
    align-items: center;
    gap: 24px;
}


.header-company {
    display: flex;
    align-items: center;
    gap: 10px;

    padding-left: 24px;

    border-left: 1px solid rgba(255,255,255,.3);
}


.header-company span {
    color: rgba(255,255,255,.65);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.header-company img {
    width: 150px;
    max-height: 56px;
    object-fit: contain;
}

.about-logo {
    width: 220px;
    max-height: 90px;

    object-fit: contain;

    margin-bottom: 30px;
}

.nav {
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.brand {
    display: flex;
    align-items: baseline;

    font-weight: 800;
    letter-spacing: -1px;
}


.brand-main {
    font-size: 28px;
}


.brand-domain {
    font-size: 20px;
    color: var(--gold);
}


.header .brand-main {
    color: var(--white);
}


.brand-hacienda {
    border-top: 5px solid var(--hacienda);
}

.brand-rey {
    border-top: 5px solid var(--rey);
}

.brand-triunfo {
    border-top: 5px solid var(--triunfo);
}

.brand-hacienda .product-type {
    color: var(--hacienda);
}

.brand-rey .product-type {
    color: var(--rey);
}

.brand-triunfo .product-type {
    color: var(--triunfo);
}

.navigation {
    display: flex;
    gap: 34px;
}


.navigation a {
    color: var(--white);

    font-size: 14px;
    font-weight: 600;

    transition: opacity .2s ease;
}


.navigation a:hover {
    opacity: .7;
}


/* ==============================
   HERO
================================ */

.hero {
    min-height: 820px;

    position: relative;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(15,48,32,.92) 0%,
            rgba(15,48,32,.75) 45%,
            rgba(15,48,32,.3) 100%
        ),
        url("/images/arroz-campo-ecuador.webp");

    background-size: cover;
    background-position: center;
}


.hero-content {
    position: relative;
    z-index: 2;

    padding-top: 80px;

    color: var(--white);
}


.hero-eyebrow,
.section-eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;

    color: var(--gold);
}


.hero h1 {
    max-width: 800px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(58px, 8vw, 105px);
    font-weight: 400;

    line-height: .95;
    letter-spacing: -4px;
}


.hero h1 span {
    color: var(--gold-light);
}


.hero p {
    max-width: 620px;

    margin-top: 32px;

    font-size: 19px;
    line-height: 1.8;

    color: rgba(255,255,255,.88);
}


.hero-buttons {
    display: flex;
    gap: 15px;

    margin-top: 38px;
}


.btn {
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 28px;

    border-radius: 4px;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform .2s,
        background .2s;
}


.btn:hover {
    transform: translateY(-2px);
}


.btn-primary {
    background: var(--gold);
    color: var(--green-dark);
}


.btn-outline {
    border: 1px solid rgba(255,255,255,.5);
    color: var(--white);
}


.btn-light {
    background: white;
    color: var(--green-dark);
}


/* ==============================
   INTRO
================================ */

.intro {
    padding: 120px 0 70px;

    background: var(--cream);
}


.intro-content {
    max-width: 850px;
}


.intro h2,
.section-heading h2,
.about-content h2,
.cta-content h2 {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 400;

    line-height: 1.1;
}


.intro h2 {
    font-size: clamp(45px, 5vw, 70px);

    color: var(--green-dark);
}


.intro p {
    max-width: 720px;

    margin-top: 28px;

    font-size: 19px;
    color: var(--text-light);
}


/* ==============================
   BRAND SECTION
================================ */

.brands-section {
    padding: 80px 0 130px;

    background: var(--cream);
}


.section-heading {
    max-width: 700px;
    margin-bottom: 60px;
}


.section-heading h2 {
    font-size: clamp(38px, 4vw, 55px);

    color: var(--green-dark);
}


.section-heading p {
    margin-top: 20px;
    color: var(--text-light);
}


.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}


.brand-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


.product-card {
    overflow: hidden;

    background: var(--white);

    border:
        1px solid rgba(0,0,0,.05);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.product-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 60px rgba(0,0,0,.08);
}


.product-image {
    height: 430px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 28px;

    background:
        linear-gradient(
            180deg,
            #f4efe4 0%,
            #fcfaf5 100%
        );
}


.product-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


.product-content {
    padding: 32px;
}


.product-type {
    color: var(--gold);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;
}


.product-content h3 {
    margin-top: 10px;

    font-family:
        Georgia,
        serif;

    font-size: 28px;
    line-height: 1.2;

    color: var(--green-dark);
}


.product-content p {
    margin-top: 18px;

    color: var(--text-light);

    font-size: 15px;
}


.product-link {
    display: inline-block;

    margin-top: 25px;

    color: var(--green);

    font-weight: 700;
}


/* ==============================
   QUALITY
================================ */

.quality-section {
    padding: 120px 0;

    background: var(--white);
}


.quality-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}


.quality-card {
    padding: 36px 28px;

    text-align: center;

    border: 1px solid var(--border);

    border-radius: 4px;
}


.quality-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--green-light);
    color: var(--green-dark);

    font-weight: 800;
}

.quality-badge {
    width: 78px;
    height: 78px;

    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--cream-2);
    border: 1px solid var(--border);
    overflow: hidden;
}

.quality-badge img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.quality-badge-text {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--green-dark);
}

.quality-news-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--green);
    font-weight: 700;
}

.quality-card h3 {
    color: var(--green-dark);

    font-size: 18px;
}


.quality-card p {
    margin-top: 13px;

    color: var(--text-light);

    font-size: 14px;
}


/* ==============================
   ABOUT
================================ */

.about-section {
    padding: 130px 0;

    background: var(--green-dark);

    color: var(--white);
}


.about-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    gap: 90px;
}


.about-content h2 {
    font-size: clamp(42px, 5vw, 65px);
}


.about-content p {
    margin-top: 24px;

    color:
        rgba(255,255,255,.75);

    font-size: 17px;
}


.about-features {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 30px;
}


.about-features span {
    padding: 8px 14px;

    border:
        1px solid rgba(255,255,255,.25);

    border-radius: 30px;

    font-size: 12px;
}


.about-image img {
    width: 100%;

    aspect-ratio: 4/3;

    object-fit: cover;
}

.contact-section {
    padding: 120px 0;
    background: var(--cream-2);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: start;
}

.contact-content h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.1;
    color: var(--green-dark);
}

.contact-content p {
    margin-top: 24px;
    max-width: 640px;
    color: var(--text-light);
    font-size: 17px;
}

.contact-actions {
    display: flex;
    gap: 14px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-outline-dark {
    border: 1px solid var(--green-dark);
    color: var(--green-dark);
    background: transparent;
}

.contact-card-box {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 34px 30px;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.contact-card-box h3 {
    color: var(--green-dark);
    margin-bottom: 18px;
    font-size: 22px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

.contact-list a {
    color: var(--green);
    font-weight: 600;
}



/* ==============================
   CTA
================================ */

.cta-section {
    padding: 100px 0;

    background: var(--gold);

    color: var(--green-dark);
}


.cta-content {
    max-width: 850px;

    text-align: center;

    margin: auto;
}


.cta-content span {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}


.cta-content h2 {
    margin: 15px 0 32px;

    font-size: clamp(40px, 5vw, 65px);
}


/* ==============================
   FOOTER
================================ */

.footer {
    padding: 80px 0 30px;

    background: #10261c;

    color: rgba(255,255,255,.72);
}


.footer-grid {
    display: grid;

    grid-template-columns:
        2fr 1fr 1.3fr;

    gap: 60px;
}


.footer-brand .brand-main {
    color: var(--white);
}


.footer h3 {
    margin-bottom: 15px;

    color: var(--white);

    font-size: 14px;
}


.footer p {
    margin-top: 12px;

    font-size: 14px;
}


.footer a {
    display: block;

    margin-bottom: 8px;

    font-size: 14px;
}


.footer a:hover {
    color: var(--gold);
}


.footer-bottom {
    display: flex;
    justify-content: space-between;

    margin-top: 60px;
    padding-top: 25px;

    border-top:
        1px solid rgba(255,255,255,.1);
}


/* ==============================
   RESPONSIVE
================================ */

@media (max-width: 950px) {

    .navigation {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 700px;
    }


    .hero h1 {
        letter-spacing: -2px;
    }


    .brand-grid {
        grid-template-columns: 1fr;
    }


    .product-card {
        display: grid;

        grid-template-columns:
            1fr 1fr;
    }


    .quality-grid {
        grid-template-columns:
            1fr 1fr;
    }


    .about-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

}


@media (max-width: 600px) {



    .header-branding {
        gap: 14px;
    }

    .header-company {
        padding-left: 14px;
    }

    .header-company img {
        width: 110px;
        max-height: 42px;
    }

    .contact-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav {
        height: 70px;
    }


    .hero {
        min-height: 680px;
    }


    .hero h1 {
        font-size: 54px;

        letter-spacing: -2px;
    }


    .hero p {
        font-size: 16px;
    }


    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }


    .product-card {
        display: block;
    }


    .product-image {
        height: 390px;
    }


    .quality-grid {
        grid-template-columns: 1fr;
    }


    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .footer-bottom {
        flex-direction: column;

        gap: 5px;
    }

}