.home-page {
    position: relative;
}

.home-shell {
    width: min(1200px, calc(100% - 32px));
    margin-inline: auto;
}

.home-section {
    padding: 36px 0 22px;
}

.home-section--soft {
    padding: 42px 0;
    background:
        radial-gradient(circle at top right, rgba(120, 160, 120, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(247, 243, 233, 0.72), rgba(255, 255, 255, 0.8));
    border-top: 1px solid rgba(41, 92, 59, 0.06);
    border-bottom: 1px solid rgba(41, 92, 59, 0.06);
}

.home-section--accent {
    padding: 42px 0;
    background:
        radial-gradient(circle at left top, rgba(214, 187, 120, 0.16), transparent 30%),
        linear-gradient(180deg, rgba(255, 251, 242, 0.92), rgba(247, 243, 233, 0.8));
    border-top: 1px solid rgba(214, 187, 120, 0.18);
    border-bottom: 1px solid rgba(214, 187, 120, 0.18);
}

.home-hero {
    padding: 34px 0 48px;
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: -10% auto auto -10%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(41, 92, 59, 0.12), transparent 68%);
    filter: blur(14px);
    pointer-events: none;
}

.home-hero::after {
    content: "";
    position: absolute;
    inset: auto -8% -18% auto;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(214, 187, 120, 0.18), transparent 68%);
    filter: blur(18px);
    pointer-events: none;
}

.home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 34px;
    align-items: center;
}

.hero-badge,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.74);
    color: var(--primary);
    border: 1px solid rgba(41, 92, 59, 0.10);
    box-shadow: 0 10px 30px rgba(41, 92, 59, 0.08);
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.home-hero__content h1 {
    margin: 0 0 18px;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    line-height: 1.15;
    color: var(--text);
    letter-spacing: -0.03em;
}

.home-hero__content h1 span {
    display: block;
    color: var(--primary);
}

.home-hero__content p {
    max-width: 620px;
    margin: 0 0 26px;
    color: var(--text-soft);
    font-size: 1.04rem;
    line-height: 2.1;
}

.home-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hero-stat {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255,255,255,0.62);
    border: 1px solid rgba(41, 92, 59, 0.08);
    box-shadow: 0 18px 40px rgba(41, 92, 59, 0.06);
    backdrop-filter: blur(12px);
}

.hero-stat strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 1rem;
}

.hero-stat span {
    color: var(--text-soft);
    line-height: 1.9;
    font-size: 0.92rem;
}

.home-hero__visual {
    position: relative;
    min-height: 540px;
}

.hero-card--main {
    position: absolute;
    inset: 0;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(41, 92, 59, 0.18);
    border: 1px solid rgba(255,255,255,0.4);
}

.hero-card--main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-floating-card {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 20px;
    border-radius: 18px;
    background: var(--primary);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
    color: #f8f4e6;
    font-weight: 900;
}

.hero-floating-card--one {
    right: -18px;
    top: 50px;
}

.hero-floating-card--two {
    left: -20px;
    bottom: 42px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.section-heading.center {
    justify-content: center;
    text-align: center;
}

.section-heading h2 {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.5rem, 2vw, 2.2rem);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.category-card {
    position: relative;
    overflow: hidden;
    display: block;
    min-height: 220px;
    padding: 24px;
    border-radius: 28px;
    text-decoration: none;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.92), rgba(247,243,233,0.88));
    border: 1px solid rgba(41, 92, 59, 0.08);
    box-shadow: 0 20px 50px rgba(41, 92, 59, 0.08);
    transition: 320ms ease;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(41, 92, 59, 0.14);
}

.category-card__glow {
    position: absolute;
    inset: auto -20px -40px auto;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(41, 92, 59, 0.12), transparent 70%);
    pointer-events: none;
}

.category-card__content {
    position: relative;
    z-index: 1;
}

.category-card h3 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 1.2rem;
}

.category-card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 2;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.story-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 24px;
    align-items: center;
    padding: 26px;
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(41,92,59,0.98), rgba(60,122,82,0.92));
    color: #fff;
    overflow: hidden;
    position: relative;
    box-shadow: 0 28px 70px rgba(41, 92, 59, 0.22);
}

.story-banner::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    left: -60px;
    top: -60px;
    background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
}

.story-banner__content {
    position: relative;
    z-index: 1;
}

.story-banner__content .section-kicker {
    background: rgba(255,255,255,0.12);
    color: #f8f4e6;
    border-color: rgba(255,255,255,0.16);
}

.story-banner__content h2 {
    margin: 0 0 16px;
    font-size: clamp(1.6rem, 2.8vw, 2.5rem);
    line-height: 1.4;
}

.story-banner__content p {
    margin: 0 0 22px;
    line-height: 2.1;
    color: rgba(255,255,255,0.88);
}

.story-banner__visual {
    position: relative;
    z-index: 1;
}

.story-image-card {
    border-radius: 28px;
    overflow: hidden;
    min-height: 360px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.18);
}

.story-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.premium-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
    background: rgba(255,255,255,0.84);
    border: 1px solid rgba(41, 92, 59, 0.08);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(41, 92, 59, 0.08);
}

.premium-card__image {
    display: block;
    height: 100%;
    min-height: 260px;
    background: #f4efe2;
}

.premium-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.premium-card__body {
    padding: 22px 22px 22px 0;
}

.premium-card__category {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.9rem;
}

.premium-card__body h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
}

.premium-card__body h3 a {
    color: var(--text);
    text-decoration: none;
}

.premium-card__body p {
    margin: 0 0 18px;
    color: var(--text-soft);
    line-height: 2;
}

.premium-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.premium-card__footer strong {
    color: var(--primary);
    font-size: 1.05rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.feature-box {
    padding: 24px;
    border-radius: 28px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(41,92,59,0.08);
    box-shadow: 0 18px 45px rgba(41,92,59,0.06);
    text-align: center;
}

.feature-icon {
    width: 66px;
    height: 66px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    font-size: 1.7rem;
    background: linear-gradient(135deg, rgba(41,92,59,0.12), rgba(214,187,120,0.18));
}

.feature-box h3 {
    margin: 0 0 10px;
    color: var(--text);
}

.feature-box p {
    margin: 0;
    color: var(--text-soft);
    line-height: 2;
}

.cta-box {
    padding: 34px;
    border-radius: 34px;
    text-align: center;
    background:
        radial-gradient(circle at top, rgba(214,187,120,0.12), transparent 35%),
        linear-gradient(180deg, rgba(255,255,255,0.92), rgba(247,243,233,0.82));
    border: 1px solid rgba(41, 92, 59, 0.08);
    box-shadow: 0 20px 60px rgba(41, 92, 59, 0.08);
}

.cta-box h2 {
    margin: 0 0 14px;
    color: var(--text);
}

.cta-box p {
    max-width: 720px;
    margin: 0 auto 20px;
    color: var(--text-soft);
    line-height: 2.1;
}

.cta-box__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .story-banner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .home-hero__grid,
    .premium-grid {
        grid-template-columns: 1fr;
    }

    .home-hero__visual {
        min-height: 420px;
    }

    .premium-card {
        grid-template-columns: 1fr;
    }

    .premium-card__body {
        padding: 20px;
    }
}

@media (max-width: 700px) {
    .products-grid,
    .category-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        flex-direction: column;
        align-items: start;
    }

    .home-hero {
        padding-top: 18px;
    }

    .home-hero__content p,
    .story-banner__content p,
    .cta-box p {
        line-height: 1.95;
    }

    .home-hero__visual {
        min-height: 340px;
    }

    .hero-floating-card--one {
        right: 8px;
        top: 12px;
    }

    .hero-floating-card--two {
        left: 8px;
        bottom: 12px;
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 700ms ease,
        transform 700ms ease;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

