/* =========================================
   THE EDIT SA
   ONE-PAGE WEBSITE
========================================= */


/* ---------- VARIABLES ---------- */

:root {

    --deep-olive: #3F4A32;
    --olive: #697456;
    --cream: #F5F2E9;
    --beige: #D8D1BE;
    --charcoal: #252722;
    --white: #ffffff;

    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;

}


/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    color: var(--charcoal);
    background: var(--cream);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}


/* ---------- NAVIGATION ---------- */

.navbar {

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 6%;

    background: rgba(245, 242, 233, 0.92);

    backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(63, 74, 50, 0.12);

    z-index: 1000;
}

.logo {

    font-family: var(--serif);

    font-size: 22px;

    letter-spacing: 2px;

    font-weight: 600;

}

.logo span {
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 3px;
    margin-left: 4px;
}


.nav-links {

    display: flex;
    gap: 35px;

}

.nav-links a {

    font-size: 13px;

    text-transform: uppercase;

    letter-spacing: 1.2px;

    position: relative;

}

.nav-links a::after {

    content: "";

    position: absolute;

    bottom: -7px;
    left: 0;

    width: 0;
    height: 1px;

    background: var(--deep-olive);

    transition: width 0.3s ease;

}

.nav-links a:hover::after {
    width: 100%;
}


.nav-button {

    background: var(--deep-olive);

    color: white;

    padding: 12px 21px;

    border-radius: 50px;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1px;

    transition: 0.3s ease;

}

.nav-button:hover {
    background: var(--olive);
    transform: translateY(-2px);
}


.menu-toggle {
    display: none;

    background: none;
    border: none;

    font-size: 26px;

    cursor: pointer;
}


/* ---------- HERO ---------- */

.hero {

    min-height: 100vh;

    padding: 150px 8% 90px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 70px;

    overflow: hidden;

}


.hero-content {
    max-width: 600px;
}


.eyebrow {

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 3px;

    color: var(--olive);

    margin-bottom: 25px;

    font-weight: 600;

}


.hero h1 {

    font-family: var(--serif);

    font-size: clamp(55px, 6vw, 92px);

    font-weight: 500;

    line-height: 0.98;

    letter-spacing: -3px;

    margin-bottom: 30px;

}


.hero h1 span {

    display: block;

    color: var(--olive);

    font-style: italic;

}


.hero-description {

    max-width: 500px;

    font-size: 16px;

    color: #666960;

    margin-bottom: 30px;

}


.hero-price {

    display: flex;

    align-items: baseline;

    gap: 12px;

    margin-bottom: 30px;

}

.hero-price small {

    font-size: 10px;

    letter-spacing: 2px;

}

.hero-price strong {

    font-family: var(--serif);

    font-size: 32px;

    font-weight: 500;

}


.hero-buttons {

    display: flex;

    align-items: center;

    gap: 30px;

}


.primary-button {

    display: inline-flex;

    align-items: center;

    gap: 25px;

    padding: 17px 25px;

    background: var(--deep-olive);

    color: white;

    border-radius: 50px;

    text-transform: uppercase;

    letter-spacing: 1px;

    font-size: 11px;

    transition: 0.3s ease;

}

.primary-button:hover {

    background: var(--olive);

    transform: translateY(-3px);

}


.primary-button span {

    font-size: 18px;

}


.text-button {

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1px;

    border-bottom: 1px solid var(--deep-olive);

    padding-bottom: 4px;

}


/* ---------- PRODUCT IMAGE ---------- */

.hero-product {

    position: relative;

    display: flex;

    justify-content: center;

}


.product-image-container {

    position: relative;

    width: min(520px, 92%);

    z-index: 2;

    transform: rotate(2deg);

    transition: transform 0.4s ease,
    box-shadow 0.4s ease;

}

.product-image-container:hover {

    transform: rotate(0deg) translateY(-8px);

}


.product-image {

    width: 100%;

    border-radius: 5px;

    box-shadow:
        0 25px 50px rgba(37, 39, 34, 0.14),
        0 8px 20px rgba (37, 39, 34, 0.08);

}


.image-label {

    position: absolute;

    bottom: 25px;
    left: 25px;

    padding: 12px 16px;

    background: rgba(245, 242, 233, 0.92);

    backdrop-filter: blur(10px);

    display: flex;
    flex-direction: column;

}

.image-label span {

    font-family: var(--serif);

    font-size: 15px;

}

.image-label small {

    font-size: 8px;

    letter-spacing: 1.5px;

}


/* ---------- GENERAL SECTIONS ---------- */

section {
    scroll-margin-top: 90px;
}


.section-label {

    display: flex;

    align-items: center;

    gap: 12px;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 2.5px;

    color: var(--olive);

    margin-bottom: 30px;

}

.section-label span {

    font-family: var(--serif);

    font-size: 17px;

}

/* ---------- PRODUCT VIDEO ---------- */

.product-video-section {

    padding: 110px 8%;

    background: var(--cream);

}


.product-video-content {

    max-width: 800px;

    margin: 0 auto 55px;

    text-align: center;

}


.product-video-content .section-label {

    justify-content: center;

}


.product-video-content h2 {

    font-family: var(--serif);

    font-size: clamp(42px, 5vw, 68px);

    line-height: 1.05;

    font-weight: 500;

    margin-bottom: 25px;

}


.product-video-content h2 em {

    display: block;

    color: var(--olive);

    font-weight: 400;

}


.product-video-content p {

    max-width: 560px;

    margin: 0 auto;

    color: #666960;

    font-size: 15px;

    line-height: 1.8;

}

.product-video {
    max-width: 850px;
    margin: 0 auto;
    padding: 10px;
    background: #ebe7db;
    border-radius: 18px;
    box-shadow:
        0 35px 80px rgba(37, 39, 34, 0.20);
}

.product-video video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
}


@media (max-width: 600px) {

    .product-video-section {

        padding: 90px 6%;

    }


    .product-video-content h2 {

        font-size: 40px;

    }


    .product-video {

        border-radius: 4px;

    }

}


/* ---------- INTRO ---------- */

.intro-section {

    padding: 130px 8%;

    background: #ebe7db;

}


.intro-grid {

    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 100px;

}


.intro-grid h2 {

    font-family: var(--serif);

    font-size: clamp(42px, 5vw, 70px);

    line-height: 1.05;

    font-weight: 500;

}


.intro-grid h2 em,
.section-heading h2 em,
.process-heading h2 em,
.shipping-box h2 em,
.cta-section h2 em {

    color: var(--olive);

    font-weight: 400;

}


.intro-text {

    padding-top: 10px;

    max-width: 450px;

}


.intro-text p {

    margin-bottom: 22px;

    font-size: 16px;

    color: #666960;

}


/* ---------- FEATURES ---------- */

.features-section {

    padding: 130px 8%;

}


.section-heading {

    max-width: 800px;

    margin-bottom: 65px;

}


.section-heading h2 {

    font-family: var(--serif);

    font-size: clamp(42px, 5vw, 65px);

    line-height: 1.05;

    font-weight: 500;

}


.features-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid #ccc8bb;

}


.feature-card {

    padding: 35px 25px 45px;

    border-right: 1px solid #ccc8bb;

    border-bottom: 1px solid #ccc8bb;

    transition: 0.3s ease;

}


.feature-card:nth-child(4n + 1) {
    border-left: 1px solid #ccc8bb;
}


.feature-card:hover {

    background: #ebe7db;

    transform: translateY(-3px);

}


.feature-number {

    font-family: var(--serif);

    color: var(--olive);

    margin-bottom: 35px;

    font-size: 14px;

}


.feature-card h3 {

    font-family: var(--serif);

    font-size: 22px;

    font-weight: 500;

    margin-bottom: 12px;

}


.feature-card p {

    font-size: 13px;

    color: #73756e;

}


/* ---------- PROCESS ---------- */

.process-section {

    background: var(--deep-olive);

    color: var(--cream);

    padding: 130px 8%;

}


.section-label.light {

    color: var(--beige);

}


.process-heading {

    max-width: 800px;

    margin-bottom: 70px;

}


.process-heading h2 {

    font-family: var(--serif);

    font-size: clamp(42px, 5vw, 68px);

    line-height: 1.05;

    font-weight: 500;

}


.process-heading h2 em {

    color: var(--beige);

}


.steps {

    max-width: 1000px;

    margin: auto;

}


.step {

    display: grid;

    grid-template-columns: 100px 1fr;

    align-items: center;

    padding: 35px 0;

    border-bottom: 1px solid rgba(245, 242, 233, 0.18);

}


.step > span {

    font-family: var(--serif);

    font-size: 20px;

    color: var(--beige);

}


.step h3 {

    font-family: var(--serif);

    font-size: 25px;

    font-weight: 500;

    margin-bottom: 5px;

}


.step p {

    color: #d2d1c5;

    font-size: 14px;

}


/* ---------- SHIPPING ---------- */

.shipping-section {

    padding: 110px 8%;

}


.shipping-box {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    padding: 60px;

    background: #e8e3d6;

}


.shipping-box h2 {

    font-family: var(--serif);

    font-size: clamp(40px, 5vw, 65px);

    line-height: 1;

    font-weight: 500;

}


.shipping-price {

    text-align: right;

}


.shipping-price span {

    display: block;

    text-transform: uppercase;

    letter-spacing: 2px;

    font-size: 10px;

    margin-bottom: 5px;

}


.shipping-price strong {

    font-family: var(--serif);

    font-size: 45px;

    font-weight: 500;

}


.shipping-notes {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    margin-top: 35px;

    gap: 20px;

}


.shipping-notes div {

    display: flex;

    gap: 12px;

    align-items: center;

    font-size: 13px;

}


.shipping-notes span {

    color: var(--olive);

    font-weight: bold;

}


/* ---------- CTA ---------- */

.cta-section {

    background: var(--olive);

    color: var(--cream);

    padding: 140px 8%;

    text-align: center;

}


.cta-content {

    max-width: 850px;

    margin: auto;

}


.light-text {
    color: var(--beige);
}


.cta-section h2 {

    font-family: var(--serif);

    font-size: clamp(48px, 7vw, 85px);

    line-height: 1;

    font-weight: 500;

    margin-bottom: 25px;

}


.cta-section h2 em {

    color: var(--cream);

}


.cta-section > div > p:not(.eyebrow) {

    max-width: 550px;

    margin: 0 auto 45px;

    color: #e0dfd5;

}


.cta-price {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 30px;

    margin-bottom: 40px;

}


.cta-price div {

    display: flex;

    flex-direction: column;

}


.cta-price small {

    font-size: 9px;

    letter-spacing: 2px;

}


.cta-price strong {

    font-family: var(--serif);

    font-size: 35px;

    font-weight: 500;

}


.cta-price .plus {

    font-size: 20px;

}


.whatsapp-button {

    display: inline-flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    background: var(--cream);

    color: var(--deep-olive);

    padding: 18px 25px;

    border-radius: 50px;

    text-transform: uppercase;

    letter-spacing: 1.2px;

    font-size: 11px;

    min-width: 260px;

    transition: 0.3s ease;

}


.whatsapp-button:hover {

    background: white;

    transform: translateY(-3px);

}


/* ---------- FOOTER ---------- */

footer {

    background: var(--charcoal);

    color: var(--cream);

    padding: 70px 8% 30px;

}


.footer-brand p {

    color: #a9aaa0;

    margin-top: 10px;

    font-size: 13px;

}


.footer-logo {
    color: var(--cream);
}


.footer-links {

    display: flex;

    gap: 30px;

    margin: 50px 0;

    flex-wrap: wrap;

}


.footer-links a,
.footer-social a {

    color: #c2c3ba;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1px;

}


.footer-links a:hover,
.footer-social a:hover {

    color: white;

}


.footer-social {

    display: flex;

    gap: 25px;

    margin-bottom: 50px;

}


.footer-bottom {

    border-top: 1px solid rgba(245,242,233,0.15);

    padding-top: 25px;

    display: flex;

    justify-content: space-between;

    color: #777970;

    font-size: 10px;

}


/* ---------- SCROLL ANIMATION ---------- */

/* Feature cards are always visible */
.feature-card {

    opacity: 1;

    transform: translateY(0);

    visibility: visible;

}


/* How It Works steps are always visible */
.step {

    opacity: 1;

    transform: translateY(0);

    visibility: visible;

}


/* Shipping box is always visible */
.shipping-box {

    opacity: 1;

    transform: translateY(0);

    visibility: visible;

}


/* ---------- MOBILE ---------- */

@media (max-width: 900px) {

    .nav-links,
    .nav-button {
        display: none;
    }

    .menu-toggle {
        display: block;
    }


    .hero {

        grid-template-columns: 1fr;

        padding-top: 140px;

        gap: 60px;

    }


    .hero-content {
        max-width: 100%;
    }


    .hero h1 {
        font-size: 58px;
    }


    .hero-product {
        order: -1;
    }


    .product-image-container {
        width: 75%;
    }


    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }


    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .feature-card:nth-child(4n + 1) {
        border-left: none;
    }


    .feature-card:nth-child(odd) {
        border-left: 1px solid #ccc8bb;
    }


    .shipping-box {
        flex-direction: column;
        align-items: flex-start;
    }


    .shipping-price {
        text-align: left;
    }


    .shipping-notes {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .navbar {
        height: 70px;
        padding: 0 5%;
    }


    .hero {

        padding: 120px 6% 70px;

    }


    .hero h1 {

        font-size: 52px;

        letter-spacing: -2px;

    }


    .hero-buttons {

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;

    }


    .product-image-container {
        width: 90%;
    }


    .intro-section,
    .features-section,
    .process-section,
    .shipping-section,
    .cta-section {

        padding: 90px 6%;

    }


    .features-grid {

        grid-template-columns: 1fr;

    }


    .feature-card:nth-child(odd),
    .feature-card:nth-child(even) {

        border-left: 1px solid #ccc8bb;

        border-right: 1px solid #ccc8bb;

    }


    .step {

        grid-template-columns: 55px 1fr;

        padding: 30px 0;

    }


    .step h3 {
        font-size: 21px;
    }


    .shipping-box {

        padding: 35px;

    }


    .cta-section h2 {

        font-size: 48px;

    }


    .cta-price {

        gap: 15px;

    }


    .cta-price strong {

        font-size: 27px;

    }


    .footer-bottom {

        flex-direction: column;

        gap: 10px;

    }

}

/* =========================================
   ORDER / CHECKOUT
========================================= */

.order-card {

    max-width: 720px;

    margin: 55px auto 0;

    padding: 50px;

    background: var(--cream);

    color: var(--charcoal);

    text-align: left;

    border-radius: 4px;

    box-shadow:
        0 30px 70px rgba(37, 39, 34, 0.18);

}


.order-card-heading {

    margin-bottom: 35px;

}


.order-eyebrow {

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 2.5px;

    color: var(--olive);

    font-weight: 600;

    margin-bottom: 12px;

}


.order-card-heading h3 {

    font-family: var(--serif);

    font-size: 40px;

    line-height: 1.05;

    font-weight: 500;

    margin-bottom: 15px;

}


.order-card-heading h3 em {

    color: var(--olive);

    font-weight: 400;

}


.order-card-heading > p:last-child {

    color: #666960;

    font-size: 14px;

    max-width: 500px;

}


.form-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;

}


.form-group {

    margin-bottom: 22px;

}


.form-group label {

    display: block;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1.5px;

    font-weight: 600;

    margin-bottom: 8px;

    color: var(--deep-olive);

}


.form-group input,
.form-group textarea {

    width: 100%;

    border: 1px solid #d1ccbd;

    background: #faf8f1;

    color: var(--charcoal);

    padding: 14px 15px;

    border-radius: 2px;

    font-family: var(--sans);

    font-size: 14px;

    outline: none;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;

}


.form-group textarea {

    resize: vertical;

    min-height: 100px;

}


.form-group input:focus,
.form-group textarea:focus {

    border-color: var(--olive);

    box-shadow:
        0 0 0 3px rgba(105, 116, 86, 0.10);

}


.order-summary {

    margin-top: 15px;

    padding: 25px;

    background: #ebe7db;

}


.summary-line {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    font-size: 13px;

    margin-bottom: 12px;

}


.summary-line strong {

    font-family: var(--serif);

    font-size: 17px;

    font-weight: 500;

}


.summary-divider {

    height: 1px;

    background: #ccc8bb;

    margin: 18px 0;

}


.summary-total {

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.summary-total span {

    font-size: 11px;

    letter-spacing: 2px;

    font-weight: 600;

}


.summary-total strong {

    font-family: var(--serif);

    font-size: 28px;

    font-weight: 500;

}


.payment-button {

    width: 100%;

    margin-top: 25px;

    border: none;

    background: var(--deep-olive);

    color: white;

    padding: 18px 25px;

    border-radius: 50px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    cursor: pointer;

    font-family: var(--sans);

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1.2px;

    transition: 0.3s ease;

}


.payment-button:hover {

    background: var(--olive);

    transform: translateY(-2px);

}


.payment-button strong {

    font-size: 18px;

}


.payment-button.loading {

    opacity: 0.7;

    pointer-events: none;

}


.payment-note {

    text-align: center;

    margin-top: 15px;

    font-size: 10px;

    color: #777970;

}


/* ---------- PAYMENT PAGES ---------- */

.payment-page {

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 40px 20px;

}


.payment-result {

    width: 100%;

    max-width: 600px;

    padding: 55px 45px;

    background: var(--cream);

    text-align: center;

    box-shadow:
        0 30px 70px rgba(37, 39, 34, 0.12);

}


.payment-result .eyebrow {

    margin-bottom: 15px;

}


.payment-result h1 {

    font-family: var(--serif);

    font-size: 50px;

    line-height: 1;

    font-weight: 500;

    margin-bottom: 20px;

}


.payment-result h1 em {

    color: var(--olive);

    font-weight: 400;

}


.payment-result p {

    color: #666960;

    max-width: 450px;

    margin: 0 auto 30px;

}


.payment-home-button {

    display: inline-flex;

    align-items: center;

    gap: 20px;

    background: var(--deep-olive);

    color: white;

    padding: 16px 24px;

    border-radius: 50px;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;

}


@media (max-width: 600px) {

    .order-card {

        padding: 30px 20px;

        margin-top: 40px;

    }


    .form-row {

        grid-template-columns: 1fr;

        gap: 0;

    }


    .order-card-heading h3 {

        font-size: 34px;

    }


    .summary-line {

        font-size: 12px;

    }


    .payment-result {

        padding: 45px 25px;

    }


    .payment-result h1 {

        font-size: 42px;

    }

}

/* ---------- MOBILE MENU OPEN ---------- */

@media (max-width: 900px) {

    .nav-links.mobile-active {

        display: flex !important;

        position: absolute;

        top: 82px;
        left: 0;

        width: 100%;

        flex-direction: column;
        align-items: center;

        gap: 25px;

        padding: 30px 20px;

        background: rgba(245, 242, 233, 0.98);

        backdrop-filter: blur(15px);

        border-bottom: 1px solid rgba(63, 74, 50, 0.12);

        z-index: 9999;

    }

}

@media (max-width: 600px) {

    .nav-links.mobile-active {

        top: 70px;

    }

}

/* ---------- MOBILE HERO IMAGE FIX ---------- */

@media (max-width: 600px) {

    .hero-product {
        width: 100%;
        padding: 10px 0 20px;
    }

    .product-image-container {
        width: 82%;
        max-width: 360px;
        margin: 0 auto;
        transform: rotate(2deg);
    }

    .product-image {
        width: 100%;
    }

}

@media (max-width: 600px) {

    .image-label {
        bottom: -40px;
        left: 18px;
    }

}