/* =========================================
   HOME PAGE
========================================= */

:root {
    --home-bg: #f4ead6;
    --home-bg-soft: #fbf5e9;

    --home-card: #fffaf0;
    --home-card-hover: #f7efdf;

    --home-text: #21382a;
    --home-text-soft: #5d6d62;
    --home-muted: #7d897f;

    --home-accent: #2d563b;
    --home-accent-light: #6f8f77;
    --home-accent-dark: #1f3f2c;

    --home-tan: #d8c7a8;
    --home-tan-soft: #e8dcc6;

    --home-border: rgba(45, 86, 59, 0.14);

    --home-shadow:
        0 20px 45px rgba(44, 68, 50, 0.10);

    --home-radius: 18px;
}


/* =========================================
   GENERAL
========================================= */

body {
    background: var(--home-bg);
    color: var(--home-text);
}

.home-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.home-section-heading {
    max-width: 720px;
    margin: 0 auto 50px;
    text-align: center;
}

.home-section-heading h2,
.featured-heading h2,
.story-content h2,
.home-cta h2 {
    margin: 0;

    color: var(--home-accent-dark);

    font-size: clamp(2rem, 4vw, 3.4rem);

    line-height: 1.05;
    letter-spacing: -0.03em;
}

.home-section-heading > p:last-child {
    margin: 18px auto 0;
    max-width: 620px;

    color: var(--home-text-soft);

    font-size: 1.05rem;
    line-height: 1.75;
}

.section-eyebrow,
.home-eyebrow {
    margin: 0 0 14px;

    color: var(--home-accent);

    font-size: 0.82rem;
    font-weight: 700;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}


/* =========================================
   HERO
========================================= */

.home-hero {
    position: relative;

    min-height: 760px;

    display: flex;
    align-items: center;

    padding: 150px 7% 100px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 78% 30%,
            rgba(45, 86, 59, 0.10),
            transparent 32%
        ),
        radial-gradient(
            circle at 18% 82%,
            rgba(216, 199, 168, 0.28),
            transparent 36%
        ),
        linear-gradient(
            135deg,
            #fbf4e6 0%,
            #f4ead6 58%,
            #efe0c5 100%
        );
}

.home-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(45, 86, 59, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(45, 86, 59, 0.025) 1px,
            transparent 1px
        );

    background-size: 55px 55px;

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.75),
            transparent
        );

    pointer-events: none;
}

.home-hero::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: 6%;
    top: 50%;

    transform: translateY(-50%);

    border:
        1px solid rgba(45, 86, 59, 0.16);

    border-radius: 50%;

    box-shadow:
        0 0 100px rgba(45, 86, 59, 0.05),
        inset 0 0 80px rgba(45, 86, 59, 0.025);

    pointer-events: none;
}

.home-hero-content {
    position: relative;
    z-index: 2;

    width: min(760px, 100%);
}

.home-hero h1 {
    margin: 0;

    max-width: 850px;

    color: var(--home-accent-dark);

    font-size: clamp(3.2rem, 7vw, 6.8rem);

    line-height: 0.95;
    letter-spacing: -0.055em;

    font-weight: 700;
}

.home-hero h1 span {
    display: block;

    margin-top: 10px;

    color: var(--home-accent);
}

.home-hero-text {
    max-width: 650px;

    margin: 30px 0 0;

    color: var(--home-text-soft);

    font-size: clamp(1.05rem, 2vw, 1.25rem);

    line-height: 1.75;
}

.home-hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 16px;

    margin-top: 38px;
}


/* =========================================
   BUTTONS
========================================= */

.home-primary-btn,
.home-secondary-btn,
.home-cta-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding: 0 28px;

    border-radius: 999px;

    text-decoration: none;

    font-size: 0.95rem;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.home-primary-btn {
    background: var(--home-accent);

    color: #fffaf0;

    box-shadow:
        0 10px 30px rgba(45, 86, 59, 0.18);
}

.home-primary-btn:hover {
    background: var(--home-accent-dark);

    transform: translateY(-2px);

    box-shadow:
        0 14px 34px rgba(45, 86, 59, 0.22);
}

.home-secondary-btn {
    color: var(--home-accent-dark);

    border:
        1px solid rgba(45, 86, 59, 0.25);

    background:
        rgba(255, 250, 240, 0.68);

    backdrop-filter: blur(8px);
}

.home-secondary-btn:hover {
    border-color: var(--home-accent);

    color: var(--home-accent);

    background: #fffaf0;

    transform: translateY(-2px);
}


/* =========================================
   CATEGORIES
========================================= */

.home-categories {
    padding: 110px 0;

    background:
        linear-gradient(
            to bottom,
            #f5ead5,
            #fbf5e9
        );
}

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}

.category-card {
    position: relative;

    min-height: 260px;

    padding: 32px;

    border:
        1px solid var(--home-border);

    border-radius:
        var(--home-radius);

    background:
        linear-gradient(
            145deg,
            rgba(255, 250, 240, 0.96),
            rgba(245, 235, 216, 0.95)
        );

    text-decoration: none;

    overflow: hidden;

    box-shadow:
        0 8px 25px rgba(57, 74, 62, 0.04);

    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        background 0.28s ease,
        box-shadow 0.28s ease;
}

.category-card::after {
    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    right: -40px;
    bottom: -40px;

    border-radius: 50%;

    background:
        rgba(45, 86, 59, 0.05);

    transition:
        transform 0.35s ease,
        background 0.35s ease;
}

.category-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(45, 86, 59, 0.32);

    background:
        #fffaf0;

    box-shadow:
        var(--home-shadow);
}

.category-card:hover::after {
    transform: scale(1.6);

    background:
        rgba(45, 86, 59, 0.08);
}

.category-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 26px;

    border-radius: 14px;

    background:
        rgba(45, 86, 59, 0.09);

    border:
        1px solid rgba(45, 86, 59, 0.14);

    color: var(--home-accent);

    font-size: 1.45rem;
    font-weight: 700;
}

.category-card h3 {
    margin: 0 0 12px;

    color: var(--home-accent-dark);

    font-size: 1.4rem;
}

.category-card p {
    margin: 0;

    color: var(--home-text-soft);

    line-height: 1.7;
}


/* =========================================
   FEATURED PRODUCTS
========================================= */

.home-featured {
    padding: 110px 0;

    background:
        #fffaf0;
}

.featured-heading {
    display: flex;

    align-items: end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 45px;
}

.view-all-link {
    color: var(--home-accent);

    text-decoration: none;

    font-weight: 700;

    white-space: nowrap;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.view-all-link:hover {
    color: var(--home-accent-dark);

    transform: translateX(4px);
}

.home-product-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 22px;
}


/* =========================================
   BENEFITS
========================================= */

.home-benefits {
    padding: 110px 0;

    background:
        linear-gradient(
            135deg,
            #e7dbc5,
            #f2e6d2
        );

    border-top:
        1px solid var(--home-border);

    border-bottom:
        1px solid var(--home-border);
}

.benefits-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}

.benefit-item {
    position: relative;

    padding: 36px 32px;

    border-radius: var(--home-radius);

    border:
        1px solid var(--home-border);

    background:
        rgba(255, 250, 240, 0.70);

    box-shadow:
        0 8px 24px rgba(45, 86, 59, 0.04);
}

.benefit-item::before {
    content: "";

    display: block;

    width: 42px;
    height: 3px;

    margin-bottom: 25px;

    border-radius: 999px;

    background:
        var(--home-accent);
}

.benefit-item h3 {
    margin: 0 0 14px;

    color:
        var(--home-accent-dark);

    font-size:
        1.35rem;
}

.benefit-item p {
    margin: 0;

    color:
        var(--home-text-soft);

    line-height:
        1.75;
}


/* =========================================
   STORY
========================================= */

.home-story {
    padding: 120px 0;

    background:
        #fbf5e9;
}

.story-grid {
    display: grid;

    grid-template-columns:
        1.05fr 0.95fr;

    align-items: center;

    gap: 80px;
}

.story-content p:not(.section-eyebrow) {
    color: var(--home-text-soft);

    font-size: 1.04rem;

    line-height: 1.8;

    margin: 22px 0 0;
}

.story-content .home-primary-btn {
    margin-top: 30px;
}

.story-visual {
    position: relative;

    min-height: 430px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 4px;

    border:
        1px solid rgba(45, 86, 59, 0.16);

    border-radius: 30px;

    background:
        radial-gradient(
            circle at center,
            rgba(45, 86, 59, 0.08),
            transparent 55%
        ),
        linear-gradient(
            145deg,
            #efe1c7,
            #fff7e9
        );

    box-shadow:
        var(--home-shadow);

    overflow: hidden;
}

.story-visual::before,
.story-visual::after {
    content: "";

    position: absolute;

    border:
        1px solid rgba(45, 86, 59, 0.10);

    border-radius:
        50%;
}

.story-visual::before {
    width: 260px;
    height: 260px;
}

.story-visual::after {
    width: 350px;
    height: 350px;
}

.story-number {
    position: relative;
    z-index: 2;

    color:
        var(--home-accent);

    font-size:
        clamp(3rem, 7vw, 5rem);

    font-weight: 700;

    letter-spacing:
        0.12em;

    line-height: 1;
}


/* =========================================
   FINAL CTA
========================================= */

.home-cta {
    padding: 110px 20px;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(255, 255, 255, 0.07),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #2d563b,
            #1f3f2c
        );
}

.home-cta .home-container {
    max-width: 820px;
}

.home-cta h2 {
    color: #fff9ed;
}

.home-cta p {
    max-width: 620px;

    margin: 20px auto 0;

    color:
        #e7decb;

    font-size: 1.08rem;

    line-height: 1.75;
}

.home-cta-btn {
    margin-top: 32px;

    background:
        #f4ead6;

    color:
        var(--home-accent-dark);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.12);
}

.home-cta-btn:hover {
    background:
        #fffaf0;

    transform:
        translateY(-3px);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1000px) {

    .home-hero {
        min-height: 670px;

        padding-top: 130px;
    }

    .home-hero::after {
        right: -150px;

        opacity: 0.65;
    }

    .category-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .home-product-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .story-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .story-visual {
        min-height: 360px;
    }
}


@media (max-width: 760px) {

    .home-hero {
        min-height: auto;

        padding:
            125px 6% 85px;
    }

    .home-hero h1 {
        font-size:
            clamp(3rem, 14vw, 5rem);
    }

    .home-hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .home-primary-btn,
    .home-secondary-btn {
        width: 100%;
    }

    .category-grid,
    .benefits-grid,
    .home-product-grid {
        grid-template-columns: 1fr;
    }

    .featured-heading {
        align-items: flex-start;

        flex-direction: column;
    }

    .home-categories,
    .home-featured,
    .home-benefits,
    .home-story,
    .home-cta {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .category-card {
        min-height: auto;
    }

    .story-visual {
        min-height: 300px;
    }

    .story-number {
        font-size: 3.2rem;
    }
}