/* =========================================
   PRODUCTS PAGE
========================================= */

:root {
     --green: #084523;
    --green-dark: #084523;
    --green-light: #28583D;

    --gold: #fcd305;
    --gold-light: #fcd305;

    --cream: #F8F5EC;
    --cream-dark: #EFE9D8;

    --text: #27382D;
    --muted: #27382D;

    --white: #FFFFFF;
}


/* =========================================
   COMMON
========================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    color: var(--text);
    background: var(--cream);
}

.container {
    width: min(1280px, 92%);
    margin: auto;
}


/* =========================================
   HERO
========================================= */

.products-hero {
    position: relative;
    min-height: 500px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(201,162,77,.18),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            var(--green-dark),
            var(--green)
        );
}


.products-hero::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -180px;
    top: -180px;

    border: 1px solid rgba(224,192,107,.35);

    border-radius: 50%;
}


.products-hero::after {
    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    right: -100px;
    top: -100px;

    border: 1px solid rgba(224,192,107,.18);

    border-radius: 50%;
}


.products-hero-glow {
    position: absolute;

    width: 260px;
    height: 260px;

    left: -120px;
    bottom: -120px;

    border-radius: 50%;

    background: rgba(201,162,77,.10);

    filter: blur(2px);
}


.products-hero-content {
    position: relative;
    z-index: 2;

    max-width: 760px;

    opacity: 0;
    transform: translateY(45px);

    transition:
        opacity .9s ease,
        transform 1s cubic-bezier(.22,1,.36,1);
}


.products-hero-content.show {
    opacity: 1;
    transform: translateY(0);
}


.products-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 22px;

    color: var(--gold-light);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;
}


.products-eyebrow::before {
    content: "";

    width: 42px;
    height: 1px;

    background: var(--gold);
}


.products-hero h1 {
    margin: 0;

    color: var(--white);

      font-family: "Poppins", sans-serif;

    font-size: clamp(48px, 6vw, 78px);

    line-height: 1.05;

    font-weight: 600;

    letter-spacing: -2px;
}


.products-hero h1 span {
    display: block;

    color: var(--gold-light);

    font-style: italic;
}


.products-hero p {
    max-width: 620px;

    margin: 28px 0 0;

    color: rgba(255,255,255,.72);

    font-size: 17px;

    line-height: 1.8;
}


/* =========================================
   INTRO
========================================= */

.products-intro {
    padding: 100px 0 25px;

    background: var(--cream);
}


.products-intro-content {

    opacity: 0;
    transform: translateY(40px);

    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.22,1,.36,1);
}


.products-intro-content.show {
    opacity: 1;
    transform: translateY(0);
}


.section-label {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--green);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;
}


.products-intro h2 {
    margin: 0;

     font-family: "Poppins", sans-serif;
    font-size: clamp(38px, 5vw, 58px);

    line-height: 1.1;

    color: var(--green);
}


.products-intro h2 span {
  
    color: var(--green);

    font-style: normal;
}


.products-intro p {
    max-width: 650px;

    margin: 25px 0 0;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================
   PRODUCT SECTION
========================================= */

.product-list-section {
    padding: 45px 0 110px;

    background: var(--cream);
}


.product-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 28px;
}

.product-card {
    grid-column: span 2;
}

.product-card:nth-child(7) {
    grid-column: 2 / span 2;
}

.product-card:nth-child(8) {
    grid-column: 4 / span 2;
}


@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-card {
        grid-column: auto;
    }

    .product-card:nth-child(7),
    .product-card:nth-child(8) {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   PRODUCT CARD
========================================= */

.product-card {
    position: relative;

    overflow: hidden;

    background: var(--white);

    border: 1px solid rgba(23,63,42,.08);

    box-shadow:
        0 12px 35px rgba(14,43,28,.06);

    opacity: 0;

    transform: translateY(50px);

    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.22,1,.36,1),
        box-shadow .4s ease,
        border-color .4s ease;
}


.product-card.show {
    opacity: 1;
    transform: translateY(0);
}


.product-card:nth-child(1) {
    transition-delay: .05s;
}

.product-card:nth-child(2) {
    transition-delay: .10s;
}

.product-card:nth-child(3) {
    transition-delay: .15s;
}

.product-card:nth-child(4) {
    transition-delay: .20s;
}

.product-card:nth-child(5) {
    transition-delay: .25s;
}

.product-card:nth-child(6) {
    transition-delay: .30s;
}

.product-card:nth-child(7) {
    transition-delay: .35s;
}

.product-card:nth-child(8) {
    transition-delay: .40s;
}


.product-card:hover {
    transform: translateY(-8px);

    border-color: rgba(201,162,77,.55);

    box-shadow:
        0 25px 55px rgba(14,43,28,.13);
}


/* =========================================
   PRODUCT IMAGE
========================================= */

.product-image {
    position: relative;

    height: 290px;

    overflow: hidden;

    background: var(--cream-dark);
}


.product-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(14,43,28,.28),
            transparent 45%
        );

    pointer-events: none;
}


.product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transform: scale(1.04);

    transition:
        transform 1s cubic-bezier(.22,1,.36,1);
}


.product-card:hover .product-image img {
    transform: scale(1.11);
}


/* =========================================
   NUMBER
========================================= */

.product-number {
    position: absolute;

    z-index: 3;

    top: 18px;
    left: 18px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.55);

    background: rgba(14,43,28,.75);

    backdrop-filter: blur(8px);

    color: var(--gold-light);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;
}


/* =========================================
   CARD CONTENT
========================================= */

.product-content {
    padding: 28px 28px 30px;
}


.product-category {
       display: block;
    margin-bottom: 10px;
    color: #68ad35;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}


.product-content h3 {
    margin: 0;

    color: var(--green);
    font-family: "Poppins", sans-serif;
    font-size: 27px;

    line-height: 1.2;
}


.product-content p {
    min-height: 55px;

    margin: 14px 0 22px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================
   PRODUCT LINK
========================================= */

.product-link {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    color: var(--green);

    text-decoration: none;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    transition: color .3s ease;
}


.product-link span {
    display: inline-flex;

    width: 30px;
    height: 30px;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--green);

    border-radius: 50%;
    background: var(--green);

    color: var(--white);

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease;
}


.product-link:hover {
    color: var(--gold);
}


.product-link:hover span {
    transform: translateX(5px);

    border: 1px solid var(--gold);

    background: var(--gold);

    color: var(--white);
}


/* =========================================
   CTA
========================================= */

.products-cta {
    padding: 0 0 110px;

    background: var(--cream);
}


.products-cta-box {
    position: relative;

    overflow: hidden;

    padding: 80px 60px;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(201,162,77,.16),
            transparent 35%
        ),
        var(--green);

    opacity: 0;

    transform: translateY(45px) scale(.98);

    transition:
        opacity .8s ease,
        transform .9s cubic-bezier(.22,1,.36,1);
}


.products-cta-box.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}


.products-cta-box::before,
.products-cta-box::after {
    content: "";

    position: absolute;

    border: 1px solid rgba(224,192,107,.18);

    border-radius: 50%;
}


.products-cta-box::before {
    width: 300px;
    height: 300px;

    left: -150px;
    top: -180px;
}


.products-cta-box::after {
    width: 400px;
    height: 400px;

    right: -200px;
    bottom: -250px;
}


.products-cta-box > * {
    position: relative;
    z-index: 2;
}


.products-cta-box > span {
    color: var(--gold-light);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;
}


.products-cta-box h2 {
    margin: 18px 0;

    color: var(--white);

      font-family: "Poppins", sans-serif;

    font-size: clamp(38px, 5vw, 56px);

    line-height: 1.1;
}


.products-cta-box h2 strong {
    display: block;

    color: var(--gold-light);

    font-style: italic;

    font-weight: 500;
}


.products-cta-box p {
    max-width: 600px;

    margin: 0 auto 30px;

    color: rgba(255,255,255,.68);

    line-height: 1.8;
}


.cta-button {
    display: inline-flex;

    align-items: center;

    gap: 14px;

    padding: 15px 24px;

    background: var(--gold);

    color: var(--green-dark);

    text-decoration: none;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

    transition:
        background .3s ease,
        transform .3s ease;
}


.cta-button span {
    font-size: 18px;
}


.cta-button:hover {
    background: var(--gold-light);

    transform: translateY(-3px);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 900px) {

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 800px) {

    .products-hero {
        min-height: 470px;
    }

    .products-hero h1 {
        font-size: 50px;
    }

    .products-intro {
        padding-top: 75px;
    }

    .product-list-section {
        padding-bottom: 80px;
    }

    .products-cta {
        padding-bottom: 80px;
    }

    .products-cta-box {
        padding: 65px 30px;
    }

}


@media (max-width: 600px) {

    .products-hero {
        min-height: 440px;
    }

    .products-hero-content {
        max-width: 100%;
    }

    .products-hero h1 {
        font-size: 43px;
        letter-spacing: -1px;
    }

    .products-hero p {
        font-size: 15px;
    }

    .products-intro {
        padding: 65px 0 35px;
    }

    .products-intro h2 {
        font-size: 40px;
    }

    .product-grid {
        grid-template-columns: 1fr;

        gap: 22px;
    }

    .product-image {
        height: 270px;
    }

    .product-content {
        padding: 25px;
    }

    .products-cta-box {
        padding: 55px 22px;
    }

}


@media (max-width: 480px) {

    .products-eyebrow {
        font-size: 10px;

        letter-spacing: 2px;
    }

    .products-hero h1 {
        font-size: 38px;
    }

    .products-hero p {
        font-size: 14px;

        line-height: 1.7;
    }

    .products-intro h2 {
        font-size: 34px;
    }

    .product-image {
        height: 250px;
    }

    .product-content h3 {
        font-size: 25px;
    }

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .products-hero-content,
    .products-intro-content,
    .product-card,
    .products-cta-box {

        opacity: 1;

        transform: none;

        transition: none;
    }

    .product-card:hover {
        transform: none;
    }

    .product-card:hover .product-image img {
        transform: none;
    }

}