/* =========================================
   ROOT
========================================= */

:root {

    --cream: #f5f1e8;
    --cream-light: #faf8f2;
    --green: #233d32;
    --green-dark: #172c24;
    --sage: #718477;
    --gold: #b5965a;
    --text: #26332d;
    --muted: #68736d;
    --white: #ffffff;
    --border: rgba(35, 61, 50, 0.12);

    --heading-font: "Playfair Display", serif;
    --body-font: "DM Sans", sans-serif;

    --container: 1180px;
}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text);
    background: var(--cream-light);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

.container {
    width: min(1180px, calc(100% - 50px));
    margin: auto;
}

.narrow-container {
    max-width: 800px;
}
/* =========================================
   HEADER - WHITE BACKGROUND
========================================= */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: #ffffff;
    color: var(--green);

    transition: 0.3s ease;
}

.site-header.scrolled {
    position: fixed;
    top: 0;
    background: rgba(255, 255, 255, 0.97);
    color: var(--green);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.nav-wrapper {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    display: block;
    width: 160px;
    height: auto;
}

.desktop-nav {
    display: flex;
    gap: 38px;
    margin-left: auto;
    margin-right: 45px;
}

.desktop-nav a {
    color: var(--green);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.85;
    transition: 0.3s ease;
}

.desktop-nav a:hover {
    color: var(--gold);
    opacity: 1;
}

.nav-buy-btn {
    border: 1px solid var(--white);
    color: var(--white);
    padding: 11px 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s ease;
    background: var(--green);
}

.nav-buy-btn:hover {
    background: var(--gold);
    color:  #ffffff;
}

/* Mobile menu button */

.mobile-menu-btn {
    display: none;
    border: none;
    background: transparent;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--green);
    margin: 5px 0;
}
/* Hide mobile menu by default */
.mobile-menu {
    display: none;
}

/* Show mobile menu only when opened by jQuery */
.mobile-menu.open {
    display: block;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 850px;
    position: relative;
    overflow: hidden;
    color: white;
    background: var(--green);
}

.hero-bg {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 80% 45%,
            rgba(165, 184, 157, 0.20),
            transparent 32%
        ),
        linear-gradient(
            110deg,
            #172d25,
            #29483b
        );
}

.hero-grid {
    position: relative;
    z-index: 2;
    min-height: 850px;

    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 50px;
}

.hero-content {
    padding-top: 50px;
}

.eyebrow,
.section-label {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
}

.eyebrow {
    color: #d0c09a;
    margin-bottom: 25px;
}

.hero h1 {
    font-family: var(--heading-font);
    font-size: clamp(52px, 6vw, 82px);
    font-weight: 500;
    line-height: 1.04;
    max-width: 700px;
}

.hero h1 span {
    display: block;
    font-style: italic;
    color: #d4c59e;
}

.hero-description {
    max-width: 540px;
    margin-top: 28px;
    color: rgba(255,255,255,0.76);
    font-size: 17px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 38px;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    background: #c4a567;
    color: #182c24;

    padding: 16px 27px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;

    transition: 0.3s ease;
}

.primary-btn:hover {
    transform: translateY(-3px);
    background: #d5ba82;
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 25px;

    border: 1px solid rgba(255,255,255,0.35);

    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;

    transition: 0.3s ease;
}

.secondary-btn:hover {
    background: rgba(255,255,255,0.08);
}

.trust-row {
    margin-top: 55px;

    display: flex;
    align-items: center;
    gap: 25px;
}

.trust-row div:not(.trust-divider) {
    display: flex;
    flex-direction: column;
}

.trust-row strong {
    font-family: var(--heading-font);
    font-size: 22px;
    font-weight: 500;
}

.trust-row span {
    color: rgba(255,255,255,0.6);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-divider {
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,0.2);
}


/* Product */

.hero-product {
    height: 620px;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.product-glow {
    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(208, 196, 156, 0.24),
            transparent 65%
        );
}

.product-image {
    position: relative;
    z-index: 2;

    width: 410px;

    filter:
        drop-shadow(0 35px 35px rgba(0,0,0,0.35));

    animation: productFloat 5s ease-in-out infinite;
}

@keyframes productFloat {

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

.floating-card {
    position: absolute;
    z-index: 4;

    background: rgba(255,255,255,0.95);
    color: var(--green);

    padding: 13px 18px;

    display: flex;
    align-items: center;
    gap: 12px;

    box-shadow: 0 15px 35px rgba(0,0,0,0.18);
}

.card-top {
    top: 150px;
    right: 10px;
}

.card-bottom {
    bottom: 135px;
    left: 0;
}

.card-icon {
    width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    border-radius: 50%;
    background: var(--cream);
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    font-size: 12px;
}

.floating-card small {
    font-size: 10px;
    color: var(--muted);
}


/* =========================================
   INTRO
========================================= */

.intro-section {
    text-align: center;
    padding: 130px 0;
}

.section-label {
    color: var(--gold);
    margin-bottom: 20px;
}

.intro-section h2,
.section-heading h2,
.formula-content h2,
.why-content h2,
.cta-content h2,
.faq-title h2 {
    font-family: var(--heading-font);
    font-weight: 500;
    line-height: 1.15;
}

.intro-section h2 {
    font-size: clamp(40px, 5vw, 64px);
}

.intro-section h2 em {
    color: var(--sage);
}

.intro-section p {
    margin: 30px auto 0;
    max-width: 650px;
    color: var(--muted);
}


/* =========================================
   SECTION HEADINGS
========================================= */

.section-heading {
    max-width: 700px;
}

.section-heading.center {
    text-align: center;
    margin: auto;
}

.section-heading h2 {
    font-size: clamp(42px, 5vw, 65px);
}

.section-heading h2 span {
    color: var(--sage);
    font-style: italic;
}

.section-heading p {
    color: var(--muted);
    margin-top: 20px;
}


/* =========================================
   BENEFITS
========================================= */

.benefits-section {
    padding: 120px 0;
    background: var(--green);
    color: white;
}

.benefits-section .section-label {
    color: #c4a567;
}

.benefits-section .section-heading p {
    color: rgba(255,255,255,0.65);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;

    margin-top: 70px;

    background: rgba(255,255,255,0.12);
}

.benefit-card {
    position: relative;
    min-height: 350px;
    padding: 45px;

    background: var(--green);

    transition: 0.35s ease;
}

.benefit-card:hover {
    background: #2d4c3f;
}

.benefit-card.featured {
    background: #2b4a3c;
}

.benefit-number {
    color: rgba(255,255,255,0.3);
    font-size: 11px;
    letter-spacing: 2px;
}

.benefit-icon {
    font-size: 45px;
    color: #c4a567;
    margin: 45px 0 20px;
}

.benefit-card h3 {
    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: 500;
}

.benefit-card p {
    margin-top: 15px;
    color: rgba(255,255,255,0.62);
    font-size: 14px;
}


/* =========================================
   INGREDIENTS
========================================= */

.ingredients-section {
    padding: 130px 0;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;

    margin-top: 70px;
}

.ingredient-card {
    background: white;
}

.ingredient-image {
    height: 390px;
    position: relative;
    overflow: hidden;
}

.ingredient-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.6s ease;
}

.ingredient-card:hover img {
    transform: scale(1.05);
}

.ingredient-number {
    position: absolute;
    top: 20px;
    right: 20px;

    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    background: rgba(255,255,255,0.9);

    font-size: 11px;
}

.ingredient-content {
    padding: 30px;
}

.ingredient-label {
    color: var(--gold);
    font-size: 9px;
    letter-spacing: 2px;
}

.ingredient-content h3 {
    margin-top: 8px;

    font-family: var(--heading-font);
    font-size: 31px;
    font-weight: 500;
}

.ingredient-content p {
    margin-top: 13px;
    color: var(--muted);
    font-size: 14px;
}


/* =========================================
   FORMULA
========================================= */

.formula-section {
    padding: 130px 0;
    background: #e9e6db;
}

.formula-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.formula-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.formula-content h2 {
    font-size: clamp(42px, 5vw, 62px);
}

.formula-content h2 span {
    display: block;
    color: var(--sage);
    font-style: italic;
}

.formula-content > p {
    margin-top: 25px;
    color: var(--muted);
}

.formula-list {
    margin-top: 35px;
}

.formula-item {
    display: flex;
    gap: 18px;
    align-items: center;

    padding: 17px 0;

    border-bottom: 1px solid rgba(35,61,50,0.13);
}

.formula-item > span {
    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--green);
    color: white;

    font-size: 12px;
}

.formula-item strong,
.formula-item small {
    display: block;
}

.formula-item strong {
    font-size: 14px;
}

.formula-item small {
    color: var(--muted);
    font-size: 12px;
}

/* =========================================
   WHY SERENITI SECTION
========================================= */

.why-sereniti-section {
    background: #f7f7f6;
    padding: 55px 25px 70px;
    text-align: center;
    overflow: hidden;
}

.why-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Heading */

.why-heading {
    margin-bottom: 42px;
}

.why-heading h2 {
    margin: 0;
    color: #252b29;
    font-size: clamp(32px, 3vw, 48px);
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.1;
}

.why-heading p {
    margin: 12px 0 0;
    color: #333a37;
    font-size: 16px;
    font-weight: 500;
}

/* Four columns */

.why-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    align-items: start;
}

/* Individual feature */

.why-feature {
    padding: 0 10px;
    opacity: 0;
    transform: translateY(20px);
}

.why-feature h3 {
    margin: 20px 0 14px;
    color: #292e2d;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
}

.why-feature p {
    max-width: 270px;
    margin: 0 auto;
    color: #555b59;
    font-size: 15px;
    line-height: 1.65;
}

/* Icon circle */

.why-icon-circle {
    width: 125px;
    height: 125px;
    margin: 0 auto;
    border: 1px solid #dedede;
    border-radius: 50%;
    background: #fafafa;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.why-icon-circle img {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

/* jQuery animation class */

.why-feature.show-feature {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Tablet */

@media (max-width: 900px) {

    .why-features {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 50px;
    }

}

/* Mobile */

@media (max-width: 550px) {

    .why-sereniti-section {
        padding: 50px 20px;
    }

    .why-heading {
        margin-bottom: 35px;
    }

    .why-heading h2 {
        font-size: 32px;
    }

    .why-heading p {
        font-size: 14px;
        line-height: 1.5;
    }

    .why-features {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .why-feature h3 {
        font-size: 22px;
    }

    .why-icon-circle {
        width: 110px;
        height: 110px;
    }
}
/* =========================================
   WHY

.why-section {
    min-height: 700px;
    position: relative;

    display: grid;
    place-items: center;

    background:
        linear-gradient(
            rgba(20,39,31,0.72),
            rgba(20,39,31,0.82)
        ),
        url("../assets/peace-background.jpg")
        center / cover no-repeat;

    color: white;
    text-align: center;
}

.why-content {
    position: relative;
    z-index: 2;

    max-width: 850px;
}

.why-content .section-label {
    color: #c4a567;
}

.why-content h2 {
    font-size: clamp(52px, 7vw, 88px);
}

.why-content h2 span {
    display: block;
    color: #d4c59e;
    font-style: italic;
}

.why-content p {
    max-width: 550px;
    margin: 30px auto;

    color: rgba(255,255,255,0.72);
}

.light-btn {
    background: white;
    color: var(--green);
}

========================================= */


/* =========================================
   CTA
========================================= */

.cta-section {
    padding: 110px 0;
}

.cta-box {
    background: #e6e1d3;

    min-height: 520px;

    display: grid;
    grid-template-columns: 1fr 0.7fr;
    align-items: center;

    padding: 70px;

    overflow: hidden;
}

.cta-content h2 {
    font-size: clamp(45px, 5vw, 65px);
}

.cta-content h2 span {
    display: block;
    color: var(--sage);
    font-style: italic;
}

.cta-content p {
    margin: 20px 0 30px;
    color: var(--muted);
}

.cta-product {
    display: flex;
    justify-content: center;
}

.cta-product img {
    max-height: 420px;
    filter: drop-shadow(0 30px 25px rgba(0,0,0,0.2));
}


/* =========================================
   FAQ
========================================= */

.faq-section {
    padding: 120px 0;
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    gap: 100px;
}

.faq-title h2 {
    font-size: 58px;
}

.faq-title h2 span {
    color: var(--sage);
    font-style: italic;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    border: 0;
    background: transparent;

    padding: 25px 0;

    display: flex;
    justify-content: space-between;
    align-items: center;

    text-align: left;

    font-size: 15px;
    font-weight: 600;

    color: var(--text);

    cursor: pointer;
}

.faq-question span {
    font-size: 24px;
    font-weight: 300;

    transition: 0.3s ease;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding-bottom: 25px;
}

.faq-answer p {
    color: var(--muted);
    font-size: 14px;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background:var(--green-dark);
    color: white ;
}

.footer-grid {
    padding: 80px 0;

    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-brand .logo {
    font-size: 35px;
}

.footer-brand p {
    margin-top: 15px;
    color: rgba(255,255,255,0.55);
    font-size: 13px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c4a567;
    margin-bottom: 20px;
}

.footer-links a,
.footer-contact a {
    display: block;
    margin-bottom: 10px;

    font-size: 13px;
    color: rgba(255,255,255,0.62);

    transition: 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 22px 0;

    font-size: 11px;
    color: rgba(255,255,255,0.4);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .desktop-nav,
    .nav-buy-btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu {
        background: var(--green-dark);
        padding: 20px 25px;
    }

    .mobile-menu a {
        display: block;
        padding: 14px 0;
        color: white;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        font-size: 13px;
    }

    .mobile-menu .mobile-buy {
        margin-top: 15px;
        background: #c4a567;
        color: var(--green-dark);
        padding: 14px;
        text-align: center;
        border: none;
    }

    .hero,
    .hero-grid {
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding-top: 140px;
        padding-bottom: 70px;
    }

    .hero-content {
        padding-top: 0;
    }

    .hero-product {
        height: 500px;
    }

    .benefits-grid,
    .ingredients-grid {
        grid-template-columns: 1fr;
    }

    .formula-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .cta-box {
        grid-template-columns: 1fr;
        padding: 50px;
    }

    .cta-product {
        margin-top: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 600px) {

    .container {
        width: min(100% - 32px, 1180px);
    }

    .nav-wrapper {
        height: 75px;
    }

    .logo {
        font-size: 25px;
    }

    .hero-grid {
        padding-top: 115px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

    .trust-row {
        gap: 14px;
    }

    .trust-row strong {
        font-size: 18px;
    }

    .trust-row span {
        font-size: 8px;
    }

    .hero-product {
        height: 400px;
    }

    .product-image {
        width: 290px;
    }

    .product-glow {
        width: 350px;
        height: 350px;
    }

    .card-top {
        right: 0;
        top: 50px;
    }

    .card-bottom {
        left: 0;
        bottom: 60px;
    }

    .intro-section,
    .benefits-section,
    .ingredients-section,
    .formula-section,
    .faq-section {
        padding: 80px 0;
    }

    .benefit-card {
        min-height: auto;
    }

    .ingredient-image {
        height: 320px;
    }

    .formula-image img {
        height: 400px;
    }

    .why-section {
        min-height: 600px;
    }

    .cta-section {
        padding: 70px 0;
    }

    .cta-box {
        padding: 35px 25px;
    }

    .faq-title h2 {
        font-size: 45px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 60px 0;
    }
    
    /* =========================================
   COMPACT SECTION SPACING
========================================= */

/* Main sections */
.benefits-section,
.ingredients-section,
.formula-section,
.why-section,
.cta-section,
.faq-section {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Reduce spacing below section headings */
.section-heading,
.section-header {
    margin-bottom: 10px;
}

/* Reduce spacing between major elements */
.ingredients-grid,
.benefits-grid {
    margin-top: 10px;
}

@media (max-width: 600px) {

    .benefits-section,
    .ingredients-section,
    .formula-section,
    .why-section,
    .cta-section,
    .faq-section {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .section-heading,
    .section-header {
        margin-bottom: 10px;
    }
}
}