/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: #f8f2e9;
    color: #2b211b;
    line-height: 1.6;
}


/* =========================================
   VARIABLES
========================================= */

:root {
    --cream: #f8f2e9;
    --cream-dark: #eee2d0;
    --brown: #805f45;
    --brown-dark: #694c36;
    --text: #2b211b;
    --muted: #806f61;
    --border: #d8c7b0;
    --white: #fffaf4;
}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    width: 100%;
    height: 92px;

    padding: 0 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: var(--cream);

    border-bottom: 1px solid var(--border);

    position: sticky;
    top: 0;

    z-index: 1001;
}


/* Logo */

.logo {
    color: var(--text);
    text-decoration: none;

    font-size: 28px;
    font-weight: 700;

    letter-spacing: -1.5px;
}

.logo span {
    font-weight: 500;
}


/* Desktop navigation */

.nav-links {
    display: flex;
    align-items: center;
    gap: 42px;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;

    font-size: 15px;
    font-weight: 500;

    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--brown);
}


/* Navigation button */

.nav-button {
    color: var(--brown);

    text-decoration: none;

    border: 1px solid var(--brown);

    padding: 13px 22px;

    border-radius: 50px;

    font-size: 15px;
    font-weight: 600;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.nav-button:hover {
    background: var(--brown);
    color: var(--white);
}


/* =========================================
   MOBILE MENU BUTTON
========================================= */

.menu-toggle {
    display: none;

    border: none;
    background: transparent;

    color: var(--text);

    font-size: 27px;

    cursor: pointer;

    padding: 5px;

    line-height: 1;

    z-index: 1003;
}


/* =========================================
   MOBILE MENU OVERLAY
========================================= */

.mobile-nav {
    display: none;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: calc(100vh - 92px);

    padding: 35px 7% 45px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    position: relative;

    overflow: hidden;
}


/* Decorative circle */

.hero::before {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    background: var(--cream-dark);

    border-radius: 50%;

    top: -210px;
    left: -180px;

    opacity: 0.7;

    z-index: 0;
}


/* Hero content */

.hero-content {
    max-width: 850px;
    transform: translateY(-10px);

    position: relative;
    z-index: 1;
}


/* Eyebrow */

.eyebrow {
    color: var(--brown);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 4px;

    margin-bottom: 28px;
}


/* Hero heading */

.hero h1 {
    font-size: clamp(48px, 7vw, 86px);

    line-height: 0.98;

    letter-spacing: -4px;

    font-weight: 700;

    margin-bottom: 20px;
}

.hero h1 em {
    display: block;

    color: var(--brown);

    font-family: "Playfair Display", serif;

    font-weight: 500;

    letter-spacing: -3px;
}


/* Hero description */

.hero-description {
    max-width: 650px;

    margin: 0 auto 24px;

    color: var(--muted);

    font-size: 18px;

    line-height: 1.7;
}


/* Hero buttons */

.hero-buttons {
    display: flex;

    justify-content: center;

    gap: 14px;

    flex-wrap: wrap;
}


/* Buttons */

.primary-button,
.secondary-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 58px;

    padding: 0 32px;

    border-radius: 50px;

    text-decoration: none;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.primary-button {
    background: var(--brown);
    color: white;
    border: 1px solid var(--brown);
}

.primary-button:hover {
    background: var(--brown-dark);
    transform: translateY(-2px);
}

.secondary-button {
    background: transparent;
    color: var(--brown);
    border: 1px solid var(--brown);
}

.secondary-button:hover {
    background: var(--brown);
    color: white;
    transform: translateY(-2px);
}


/* =========================================
   HERO VIDEO
========================================= */

.hero-video {
    width: min(100%, 900px);
    margin: 70px auto 0;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    background: #ddd;
    box-shadow: 0 20px 50px rgba(50, 35, 25, 0.12);
    z-index: 1;
}

.hero-video video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* =========================================
   VIDEO PLAY BUTTON
========================================= */

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 78px;
    height: 78px;

    border: none;
    border-radius: 50%;

    background: rgba(255, 250, 244, 0.95);
    color: var(--brown);

    font-size: 25px;
    line-height: 1;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    z-index: 10;
}


/* Hide play button when video is expanded */

.hero-video.expanded .video-play-button {
    display: none;
}


/* =========================================
   VIDEO CLOSE BUTTON
========================================= */

.video-close-button {
    display: none;

    position: absolute;
    top: 18px;
    right: 18px;

    width: 48px;
    height: 48px;

    border: none;
    border-radius: 50%;

    background: rgba(30, 25, 20, 0.85);
    color: white;

    font-size: 26px;
    line-height: 1;

    cursor: pointer;

    align-items: center;
    justify-content: center;

    z-index: 10000;
}
/* =========================================
   EXPANDED VIDEO LIGHTBOX
========================================= */

.hero-video.expanded {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 1400px;
    height: auto;
    margin: 0;
    z-index: 9999;
    border-radius: 20px;
    overflow: hidden;
}


/* Dark background behind expanded video */

.hero-video.expanded::before {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    background: rgba(20, 15, 10, 0.82);
    z-index: -1;
}
/* Expanded video itself */

.hero-video.expanded video {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    display: block;
}
/* =========================================
   EXPANDED VIDEO CLOSE BUTTON
========================================= */

.hero-video.expanded .video-close-button {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 10000;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(30, 25, 20, 0.85);
    color: white;
    font-size: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}




/* =========================================
   ABOUT
========================================= */

.intro-section {
    padding: 130px 7%;

    background: var(--cream-dark);
}

.section-label {
    display: flex;

    align-items: center;

    gap: 20px;

    color: var(--brown);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 4px;

    margin-bottom: 50px;
}

.section-label span {
    color: #b49b82;
}


.intro-content {
    max-width: 1000px;
}

.intro-content h2 {
    font-size: clamp(46px, 6vw, 78px);

    line-height: 1;

    letter-spacing: -3px;

    margin-bottom: 42px;
}

.intro-content h2 span {
    display: block;

    color: var(--brown);

    font-family: "Playfair Display", serif;

    font-weight: 500;

    font-style: italic;
}

.intro-content p {
    max-width: 850px;

    color: var(--muted);

    font-size: 21px;

    line-height: 1.8;
}


/* =========================================
   HOW IT WORKS
========================================= */

.features-section {
    padding: 80px 7%;

    background: var(--cream);
}

.section-heading {
    display: flex;

    justify-content: space-between;

    gap: 80px;

    margin-bottom: 70px;
}

.section-heading h2 {
    font-size: clamp(45px, 6vw, 76px);

    line-height: 1;

    letter-spacing: -3px;
}

.section-heading h2 em {
    color: var(--brown);

    font-family: "Playfair Display", serif;

    font-weight: 500;
}

.section-description {
    max-width: 450px;

    color: var(--muted);

    font-size: 18px;

    line-height: 1.7;

    padding-top: 45px;
}


/* =========================================
   FEATURE GRID
========================================= */

.features-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}


/* Cards */

.feature-card {
    min-height: 500px;

    padding: 36px;

    border-radius: 20px;

    border: 1px solid var(--border);

    background: var(--cream-dark);

    display: flex;

    flex-direction: column;

    position: relative;
}

.highlighted-card {
    background: var(--brown);

    color: white;

    border-color: var(--brown);
}


/* Card top */

.feature-top {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 65px;
}

.feature-number {
    color: var(--brown);

    font-size: 14px;

    font-weight: 600;
}

.highlighted-card .feature-number {
    color: #eadaca;
}

.feature-symbol {
    color: var(--brown);

    font-size: 18px;
}

.highlighted-card .feature-symbol {
    color: white;
}


/* Card icon */

.feature-icon {
    width: 64px;
    height: 64px;

    border-radius: 50%;

    background: var(--white);

    color: var(--brown);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 25px;

    margin-bottom: 40px;
}

.highlighted-card .feature-icon {
    background: rgba(255, 255, 255, 0.15);

    color: white;
}


/* Card heading */

.feature-card h3 {
    font-size: 27px;

    line-height: 1.2;

    margin-bottom: 20px;

    letter-spacing: -0.7px;
}


/* Card paragraph */

.feature-card p {
    color: var(--muted);

    font-size: 15px;

    line-height: 1.7;
}

.highlighted-card p {
    color: rgba(255, 255, 255, 0.88);
}


/* =========================================
   CTA
========================================= */

.cta-section {
    padding: 90px 7%;

    background: var(--brown);

    color: white;

    text-align: center;

    position: relative;

    overflow: hidden;
}

.cta-decoration {
    font-size: 55px;

    margin-bottom: 20px;
}

.cta-section .eyebrow {
    color: #eadaca;
}

.cta-section h2 {
    font-size: clamp(42px, 6vw, 72px);

    line-height: 1;

    letter-spacing: -3px;

    margin-bottom: 25px;
}

.cta-section h2 em {
    font-family: "Playfair Display", serif;

    font-weight: 500;
}

.cta-section > p:not(.eyebrow) {
    max-width: 600px;

    margin: 0 auto 25px;

    color: #eadaca;

    font-size: 17px;
}

.light-button {
    background: var(--cream);

    color: var(--brown);

    border-color: var(--cream);
}

.light-button:hover {
    background: white;
}

/* =========================================
   FOOTER
========================================= */

.footer {
    padding: 45px 7%;

    background: #2b211b;

    color: #eadaca;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.footer .logo {
    color: white;
}

.footer p {
    font-size: 14px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card {
        min-height: 430px;
    }

    .section-heading {
        flex-direction: column;

        gap: 20px;
    }

    .section-description {
        padding-top: 0;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    /* Desktop navigation hidden */

    .nav-links,
    .navbar > .nav-button {
        display: none;
    }


    /* Mobile hamburger */

    .menu-toggle {
        display: block;
    }


    /* Navbar */

    .navbar {
        height: 92px;

        padding: 0 24px;

        position: sticky;

        top: 0;

        z-index: 1001;
    }


    /* =====================================
       MOBILE OVERLAY
    ===================================== */

    .mobile-nav {

        display: flex;

        flex-direction: column;

        gap: 8px;

        position: fixed;

        top: 0;

        right: 0;

        width: min(82vw, 360px);

        height: 100vh;

        padding: 115px 30px 40px;

        background: var(--cream);

        box-shadow:
            -10px 0 35px rgba(50, 35, 25, 0.15);

        transform: translateX(100%);

        visibility: hidden;

        transition:
            transform 0.3s ease,
            visibility 0.3s ease;

        z-index: 1000;

        overflow-y: auto;
    }


    /* Open menu */

    .mobile-nav.active {
        transform: translateX(0);

        visibility: visible;
    }


    /* Menu links */

    .mobile-nav a {

        display: block;

        padding: 18px 10px;

        color: var(--text);

        text-decoration: none;

        font-size: 20px;

        font-weight: 500;

        border-bottom: 1px solid rgba(125, 91, 65, 0.18);

        transition:
            color 0.2s ease,
            padding-left 0.2s ease;
    }

    .mobile-nav a:hover {
        color: var(--brown);

        padding-left: 16px;
    }


    /* =====================================
       HERO MOBILE
    ===================================== */

    .hero {
        min-height: auto;

        padding: 45px 24px 50px;
    }

    .hero h1 {
        font-size: 48px;

        letter-spacing: -2.5px;
    }

    .hero h1 em {
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;

        width: 100%;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .hero-video {
        margin-top: 45px;

        border-radius: 16px;
    }


    /* =====================================
       ABOUT MOBILE
    ===================================== */

    .intro-section {
        padding: 90px 24px;
    }

    .intro-content h2 {
        font-size: 48px;

        letter-spacing: -2px;
    }

    .intro-content p {
        font-size: 18px;
    }


    /* =====================================
       FEATURES MOBILE
    ===================================== */

    .features-section {
        padding: 90px 24px;
    }

    .section-heading {
        margin-bottom: 50px;
    }

    .section-heading h2 {
        font-size: 48px;

        letter-spacing: -2px;
    }

    .section-description {
        font-size: 17px;
    }

    .features-grid {
        grid-template-columns: 1fr;

        gap: 24px;
    }

    .feature-card {
        min-height: 410px;

        padding: 32px;

        border-radius: 20px;
    }

    .feature-top {
        margin-bottom: 55px;
    }

    .feature-card h3 {
        font-size: 29px;
    }


    /* =====================================
       CTA MOBILE
    ===================================== */

    .cta-section {
        padding: 100px 24px;
    }

    .cta-section h2 {
        font-size: 50px;

        letter-spacing: -2.5px;
    }


    /* =====================================
       FOOTER MOBILE
    ===================================== */

    .footer {
        padding: 45px 24px;

        flex-direction: column;

        align-items: flex-start;
    }

}


/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 400px) {

    .logo {
        font-size: 25px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .intro-content h2,
    .section-heading h2 {
        font-size: 43px;
    }

    .feature-card {
        min-height: 390px;
    }

}
/* =========================================
   TWO WAYS TO START
========================================= */

.start-section {
    padding: 110px 7vw;
    background: #f7f1e8;
}

.start-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
    margin-bottom: 55px;
}

.start-heading h2 {
    margin-top: 14px;
    max-width: 650px;
    font-size: clamp(48px, 6vw, 82px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -3px;
}

.start-heading h2 em {
    color: var(--brown);
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-style: italic;
}

.start-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.start-card {
    position: relative;
    padding: 42px;
    min-height: 360px;
    border-radius: 28px;
    background: #eee3d2;
    border: 1px solid rgba(91, 67, 45, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.start-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(91, 67, 45, 0.10);
}

.start-card-highlighted {
    background: #5b432d;
    color: #f8f3eb;
}

.start-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.start-number {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.start-symbol {
    font-size: 22px;
}

.start-icon {
    width: 58px;
    height: 58px;
    margin: 48px 0 28px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(91, 67, 45, 0.10);
    font-size: 27px;
}

.start-card-highlighted .start-icon {
    background: rgba(255, 255, 255, 0.12);
}

.start-card h3 {
    margin: 0 0 14px;
    font-family: "Playfair Display", serif;
    font-size: 30px;
    font-weight: 600;
}

.start-card p {
    max-width: 480px;
    margin: 0;
    line-height: 1.7;
    opacity: 0.78;
}

.start-link {
    width: fit-content;
    margin-top: auto;
    padding-top: 28px;
    color: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.start-link:hover {
    opacity: 0.7;
}


/* =========================================
   TWO WAYS TO START — MOBILE
========================================= */

@media (max-width: 768px) {

    .start-section {
        padding: 80px 6vw;
    }

    .start-heading {
        display: block;
        margin-bottom: 38px;
    }

    .start-heading h2 {
        margin-bottom: 22px;
    }

    .start-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .start-card {
        min-height: 330px;
        padding: 30px;
        border-radius: 22px;
    }

    .start-icon {
        margin: 38px 0 24px;
    }

    .start-card h3 {
        font-size: 26px;
    }

}
/* =========================================
   LOGIN PAGE
========================================= */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    background: var(--cream);
}

.login-card {
    width: min(460px, 100%);
    padding: 48px;
    background: #fffaf4;
    border: 1px solid rgba(90, 60, 40, 0.18);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(70, 45, 25, 0.08);
}

.login-card h1 {
    margin: 0 0 10px;
    font-family: "Playfair Display", serif;
    font-size: 42px;
    color: var(--brown);
}

.login-card > p {
    margin: 0 0 32px;
    color: #6f6258;
}

.login-card form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.login-card label {
    margin-top: 10px;
    font-weight: 600;
    color: var(--brown);
}

.login-card input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid rgba(90, 60, 40, 0.25);
    border-radius: 10px;
    background: #fff;
    color: var(--brown);
    font-family: inherit;
    font-size: 15px;
    outline: none;
}

.login-card input:focus {
    border-color: var(--brown);
}

.login-card button {
    margin-top: 20px;
    padding: 14px 20px;
    border: 1px solid var(--brown);
    border-radius: 999px;
    background: var(--brown);
    color: white;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.login-card button:hover {
    opacity: 0.9;
}

.login-request {
    margin-top: 24px !important;
    text-align: center;
    font-size: 14px;
}

.login-request a {
    color: var(--brown);
    font-weight: 600;
    text-decoration: underline;
}

/* =========================================
   REQUEST A DEMO / CONTACT PAGE
   ========================================= */

.contact-page {
    min-height: 100vh;
    background: #f7f1e8;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    box-sizing: border-box;
}

.contact-card {
    width: min(760px, 100%);
    background: #fffaf4;
    border: 1px solid #e1d5c7;
    border-radius: 28px;
    padding: 55px;
    box-sizing: border-box;
    box-shadow: 0 18px 45px rgba(91, 63, 40, 0.08);
}

.contact-card h1 {
    margin: 0 0 12px;
    color: #7b5b42;
    font-family: Georgia, serif;
    font-size: 48px;
}

.contact-card > p {
    margin: 0 0 35px;
    color: #6f6258;
    font-size: 17px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #654b37;
    font-weight: 600;
    font-size: 15px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #d8cbbb;
    border-radius: 12px;
    background: #ffffff;
    color: #4f4034;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #8a684c;
    box-shadow: 0 0 0 3px rgba(138, 104, 76, 0.10);
}

.account-options {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-top: 5px;
}

.account-options label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #5f5044;
    font-size: 15px;
}

.account-options input {
    accent-color: #8a684c;
}

.contact-submit {
    margin-top: 10px;
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 30px;
    background: #8a684c;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
}

.contact-submit:hover {
    background: #73543d;
    transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 600px) {
    .contact-page {
        padding: 35px 16px;
    }

    .contact-card {
        padding: 32px 22px;
        border-radius: 22px;
    }

    .contact-card h1 {
        font-size: 36px;
    }

    .account-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
/* =========================================
   CONTACT / REQUEST A DEMO PAGE
========================================= */

.contact-page {
    min-height: 100vh;
    background: #f7f1e8;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 70px 20px;
    box-sizing: border-box;
}

.contact-card {
    width: 100%;
    max-width: 800px;
    background: #fffaf4;
    border: 1px solid #dfd2c3;
    border-radius: 28px;
    padding: 50px 60px 55px;
    box-sizing: border-box;
    box-shadow: 0 15px 40px rgba(100, 70, 45, 0.08);
}

.contact-card h1 {
    margin: 0 0 20px;
    color: #806044;
    font-family: Georgia, serif;
    font-size: 52px;
    line-height: 1.1;
}

.contact-card > p {
    margin: 0 0 45px;
    color: #6d5847;
    font-size: 19px;
}

#demoForm {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#demoForm fieldset {
    border: 1px solid #cbbbaa;
    border-radius: 12px;
    padding: 18px 20px;
    margin: 0 0 18px;
}

#demoForm legend {
    color: #5f4937;
    font-weight: 600;
    padding: 0 8px;
}

#demoForm fieldset label {
    display: inline-flex;
    align-items: center;
    margin-right: 25px;
    color: #4f4034;
    font-size: 16px;
}

#demoForm input[type="radio"] {
    width: auto;
    margin-right: 7px;
}

#demoForm label:not(fieldset label) {
    display: block;
    margin-top: 12px;
    margin-bottom: 8px;
    color: #5f4937;
    font-weight: 600;
}

#demoForm input[type="text"],
#demoForm input[type="tel"],
#demoForm input[type="email"] {
    width: 100%;
    height: 54px;
    padding: 0 16px;
    box-sizing: border-box;

    border: 1px solid #d5c7b8;
    border-radius: 12px;

    background: #ffffff;
    color: #4f4034;
    font-size: 16px;

    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#demoForm input:focus {
    border-color: #8a684d;
    box-shadow: 0 0 0 3px rgba(138, 104, 77, 0.12);
}

#demoForm input::placeholder {
    color: #9a8b7d;
}

#companyField {
    margin-bottom: 8px;
}

#demoForm button {
    width: 100%;
    height: 56px;
    margin-top: 25px;

    border: none;
    border-radius: 30px;

    background: #8a684d;
    color: white;

    font-size: 17px;
    font-weight: 600;

    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

#demoForm button:hover {
    background: #73543d;
    transform: translateY(-1px);
}

.success-message {
    margin-top: 30px;
    padding: 25px;
    border-radius: 16px;
    background: #f1e7db;
    text-align: center;
    color: #5f4937;
}

.success-message h2 {
    margin-top: 0;
    color: #806044;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .contact-page {
        padding: 30px 15px;
    }

    .contact-card {
        padding: 35px 25px 40px;
        border-radius: 22px;
    }

    .contact-card h1 {
        font-size: 38px;
    }

    .contact-card > p {
        font-size: 17px;
        margin-bottom: 30px;
    }

}

/* =========================================
   CONTACT PAGE — HOME BUTTON
========================================= */

.home-button {
    display: inline-block;
    margin-bottom: 25px;
    color: var(--brown);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.home-button:hover {
    color: var(--dark-brown);
    transform: translateX(-3px);
}

.navbar .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
}

.navbar .logo img {
    width: 85px;
    height: 85px;
    object-fit: contain;
    display: block;
}

.forgot-password {
    text-align: right;
    margin-top: 8px;
    margin-bottom: 24px;
}

.forgot-password a {
    color: var(--brown);
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* =========================================
   PRODUCTS DROPDOWN
========================================= */

.products-dropdown {
    position: relative;
}

/* Products should look exactly like the other nav links */
.products-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;

    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;

    color: var(--muted);

    cursor: pointer;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    transition: color 0.2s ease;
}

.products-btn:hover {
    color: var(--brown);
}

/* Small dropdown arrow */
.products-btn span {
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;

    color: currentColor;

    position: relative;
    top: 1px;

    transition: transform 0.2s ease;
}

/* Rotate arrow when Products is hovered */
.products-dropdown:hover .products-btn span,
.products-dropdown:focus-within .products-btn span {
    transform: rotate(180deg);
}

/* Dropdown */
.products-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%);

    min-width: 190px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: 12px;

    padding: 8px;

    box-shadow: 0 12px 30px rgba(60, 40, 25, 0.12);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.2s ease, visibility 0.2s ease;

    z-index: 1000;
}

/* Invisible bridge so dropdown stays open while moving mouse */
.products-menu::before {
    content: "";

    position: absolute;
    top: -18px;
    left: 0;

    width: 100%;
    height: 18px;
}

/* Dropdown links */
.products-menu a {
    display: block;

    padding: 11px 14px;

    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;

    color: var(--brown);

    text-decoration: none;
    white-space: nowrap;

    border-radius: 8px;

    transition: background 0.2s ease, color 0.2s ease;
}

.products-menu a:hover {
    background: var(--cream-dark);
    color: var(--brown-dark);
}

/* Show dropdown */
.products-dropdown:hover .products-menu,
.products-dropdown:focus-within .products-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.products-arrow {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    margin-left: 4px;
    margin-bottom: 3px;
}

/* =========================================
   ABOUT / COMPANY PAGE
   modernisation.html
========================================= */

.about-hero {
    background: #f7f0e7;
    padding: 110px 8% 100px;
    text-align: center;
}

.about-eyebrow,
.section-eyebrow {
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #70485b;
    font-weight: 600;
}

.about-hero h1 {
    max-width: 900px;
    margin: 25px auto;
    font-size: clamp(52px, 7vw, 100px);
    line-height: 0.95;
    color: #2c211d;
}

.about-hero h1 span {
    display: block;
    color: #70485b;
    font-style: italic;
    font-family: Georgia, serif;
    font-weight: 400;
}

.about-intro {
    max-width: 650px;
    margin: 30px auto 0;
    font-size: 18px;
    line-height: 1.7;
    color: #765f52;
}


/* =========================================
   ABOUT SECTIONS
========================================= */

.about-section {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 50px;

    padding: 100px 10%;

    background: #f7f0e7;
    border-top: 1px solid #dbcdbd;
}

.about-section-label {
    font-size: 14px;
    letter-spacing: 2px;
    color: #70485b;
    font-weight: 600;
}

.about-section-content {
    max-width: 850px;
}

.about-section-content h2 {
    margin: 15px 0 25px;

    font-size: clamp(38px, 5vw, 65px);
    line-height: 1;
    color: #2c211d;
}

.about-section-content p {
    max-width: 700px;

    font-size: 18px;
    line-height: 1.8;
    color: #765f52;
}


/* =========================================
   PLUM SECTION
========================================= */

.plum-section {
    background: #70485b;
}

.plum-section .about-section-label,
.plum-section .section-eyebrow {
    color: #eadccf;
}

.plum-section .about-section-content h2 {
    color: #fff8f0;
}

.plum-section .about-section-content p {
    color: #eadccf;
}


/* =========================================
   FINAL ABOUT SECTION
========================================= */

.about-final {
    padding: 120px 10%;
    text-align: center;
    background: #f7f0e7;
}

.about-final h2 {
    margin: 20px auto;

    max-width: 800px;

    font-size: clamp(42px, 6vw, 75px);
    line-height: 1;
    color: #2c211d;
}

.about-final p:last-child {
    max-width: 650px;
    margin: 25px auto;

    font-size: 18px;
    line-height: 1.7;
    color: #765f52;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    padding: 30px 8%;
    background: #70485b;
    color: #f7f0e7;
    text-align: center;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .about-hero {
        padding: 80px 6%;
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 70px 7%;
    }

    .about-section-content h2 {
        font-size: 42px;
    }

    .about-final {
        padding: 80px 7%;
    }

}

 /* =========================================
    CONTACT PAGE — MODERNIZATION COLORS
 ========================================= */

.contact-page {
    background: #FAF6F1;
    color: #4A3550;
}

.contact-card {
    background: #FFFFFF;
    border-color: #D9B8E0;
    box-shadow: 0 15px 40px rgba(74, 53, 80, 0.10);
}

.contact-card h1 {
    color: #4A3550;
}

.contact-card > p {
    color: #6F6072;
}

.home-button {
    color: #A04BA3;
}

.home-button:hover {
    color: #D98A4E;
}


/* Account Type */

#demoForm fieldset {
    background: #F5EFE6;
    border-color: #D9B8E0;
}

#demoForm legend {
    color: #A04BA3;
}

#demoForm fieldset label {
    color: #4A3550;
}

#demoForm input[type="radio"] {
    accent-color: #A04BA3;
}


/* Form labels */

#demoForm label:not(fieldset label) {
    color: #4A3550;
}


/* Form inputs */

#demoForm input[type="text"],
#demoForm input[type="tel"],
#demoForm input[type="email"] {
    background: #FFFFFF;
    border-color: #D9B8E0;
    color: #4A3550;
}

#demoForm input::placeholder {
    color: #6F6072;
}

#demoForm input:focus {
    border-color: #A04BA3;
    box-shadow: 0 0 0 3px rgba(160, 75, 163, 0.12);
}


/* Submit button */

#demoForm button {
    background: #A04BA3;
    color: #FFFFFF;
}

#demoForm button:hover {
    background: #D98A4E;
}


/* Success message */

.success-message {
    background: #F1E4F4;
    border-color: #D9B8E0;
    color: #4A3550;
}

.success-message h2 {
    color: #A04BA3;
}

/* Request a Demo button - plum & white hover */
#demoForm button:hover {
    background: #FFFFFF;
    color: #A04BA3;
    border: 1px solid #A04BA3;
    transform: translateY(-1px);
}

/* =========================================================
   CONTACT PAGE — CREAM & PLUM THEME
   ========================================================= */

.contact-page {
    background: #F8F3EC;
    min-height: calc(100vh - 82px);
    padding: 70px 7% 90px;
}


/* -------------------------
   CONTACT CARD
   ------------------------- */

.contact-card {
    max-width: 920px;
    margin: 0 auto;
    background: #FFFFFF;
    border: 1px solid #E4BFE3;
    border-radius: 32px;
    padding: 65px 74px;
    box-shadow: 0 18px 45px rgba(74, 53, 80, 0.08);
}


/* -------------------------
   HOME LINK
   ------------------------- */

.home-button {
    display: inline-block;
    margin-bottom: 34px;
    color: #A04BA3;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.home-button:hover {
    color: #713576;
}


/* -------------------------
   HEADING
   ------------------------- */

.contact-card h1 {
    margin: 0;
    color: #49334F;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -1.5px;
}

.contact-card > p {
    margin: 26px 0 58px;
    color: #634F69;
    font-size: 19px;
    line-height: 1.6;
}


/* -------------------------
   ACCOUNT TYPE
   ------------------------- */

.contact-form fieldset {
    margin: 0 0 48px;
    padding: 20px 25px 25px;
    border: 1px solid #E4BFE3;
    border-radius: 15px;
    background: #FBF8F3;
}

.contact-form legend {
    padding: 0 10px;
    color: #A04BA3;
    font-size: 19px;
    font-weight: 700;
}

.contact-form fieldset label {
    color: #49334F;
    font-size: 17px;
    margin-right: 35px;
}


/* -------------------------
   FORM LABELS
   ------------------------- */

.contact-form > label,
.contact-form #companyField > label {
    display: block;
    margin-bottom: 10px;
    color: #35263A;
    font-size: 16px;
    font-weight: 700;
}


/* -------------------------
   INPUTS
   ------------------------- */

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"] {
    width: 100%;
    box-sizing: border-box;
    padding: 17px 19px;
    margin-bottom: 28px;

    background: #FFFFFF;
    color: #49334F;

    border: 1px solid #E4BFE3;
    border-radius: 13px;

    font-size: 16px;
    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-form input::placeholder {
    color: #87738B;
}

.contact-form input:focus {
    border-color: #A04BA3;
    box-shadow: 0 0 0 3px rgba(160, 75, 163, 0.10);
}


/* -------------------------
   RADIO BUTTONS
   ------------------------- */

.contact-form input[type="radio"] {
    accent-color: #A04BA3;
}


/* -------------------------
   SUBMIT BUTTON
   ------------------------- */

#demoForm button {
    width: 100%;
    margin-top: 15px;
    padding: 16px 25px;

    border: 1px solid transparent;
    border-radius: 30px;

    background: linear-gradient(
        135deg,
        #D98754,
        #A04BA3
    );

    color: #FFFFFF;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

#demoForm button:hover {
    background: linear-gradient(
        135deg,
        #C87548,
        #8F3F92
    );

    color: #FFFFFF;
    border: 1px solid transparent;

    transform: translateY(-2px);

    box-shadow: 0 10px 25px rgba(160, 75, 163, 0.20);
}


/* -------------------------
   SUCCESS MESSAGE
   ------------------------- */

.success-message {
    margin-top: 30px;
    padding: 30px;
    border: 1px solid #E4BFE3;
    border-radius: 18px;
    background: #FBF8F3;
    text-align: center;
}

.success-message h2 {
    color: #49334F;
    margin-bottom: 10px;
}

.success-message p {
    color: #634F69;
}


/* =========================================================
   CONTACT PAGE HEADER
   ========================================================= */

body:has(.contact-page) .navbar {
    background: #FFFFFF;
    border-bottom: 1px solid #E4DDD4;
}

body:has(.contact-page) .nav-links a,
body:has(.contact-page) .products-btn {
    color: #49334F;
}

body:has(.contact-page) .nav-links a:hover,
body:has(.contact-page) .products-btn:hover {
    color: #A04BA3;
}

body:has(.contact-page) .nav-button {
    background: linear-gradient(
        135deg,
        #D98754,
        #A04BA3
    );

    color: #FFFFFF;
    border: none;
}

body:has(.contact-page) .nav-button:hover {
    background: linear-gradient(
        135deg,
        #C87548,
        #8F3F92
    );

    color: #FFFFFF;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .contact-page {
        padding: 40px 20px 60px;
    }

    .contact-card {
        padding: 40px 25px;
        border-radius: 24px;
    }

    .contact-card h1 {
        font-size: 42px;
    }

    .contact-card > p {
        font-size: 17px;
        margin-bottom: 40px;
    }

    .contact-form fieldset {
        padding: 18px;
    }

    .contact-form fieldset label {
        display: inline-block;
        margin-bottom: 10px;
    }
}
/* =========================================================
   SPRUCEMEUP — HOW IT WORKS
   3-STEP VERSION
========================================================= */

.sme-how-it-works {
    min-height: 100vh;
    padding: 90px 5vw;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background: var(--color-surface);
}

.sme-how-label {
    max-width: 1700px;
    width: 100%;

    margin: 0 auto 45px;

    color: var(--color-primary);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}


/* =========================================================
   TWO COLUMN LAYOUT
========================================================= */

.sme-how-layout {
    max-width: 1700px;
    width: 100%;

    margin: auto;

    display: grid;

    grid-template-columns:
        0.78fr
        1.22fr;

    gap: clamp(
        50px,
        8vw,
        130px
    );

    align-items: center;
}


/* =========================================================
   LEFT SIDE — STEPS
========================================================= */

.sme-how-steps {
    display: flex;
    flex-direction: column;
}

.sme-how-step {
    position: relative;

    padding: 30px 0;

    border-top:
        1px solid var(--color-border);

    cursor: pointer;
}

.sme-how-step:last-child {
    border-bottom:
        1px solid var(--color-border);
}

.sme-how-step-row {
    display: flex;
    align-items: flex-start;

    gap: 18px;
}


/* =========================================================
   STEP NUMBER
========================================================= */

.sme-how-number {
    flex: 0 0 43px;

    color: var(--color-muted);

    font-family: Georgia, serif;

    font-size: 13px;
    line-height: 1.6;

    transition:
        color 0.6s ease;
}


/* =========================================================
   STEP CONTENT
========================================================= */

.sme-how-content {
    flex: 1;
}

.sme-how-title {
    margin: 0;

    color: var(--color-muted);

    font-size:
        clamp(
            23px,
            2.2vw,
            35px
        );

    font-weight: 400;

    line-height: 1.08;

    letter-spacing: -1.1px;

    transition:
        color 0.6s ease;
}


/* Description */

.sme-how-description {
    max-width: 500px;

    margin: 14px 0 0;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.6;

    opacity: 0;
    visibility: hidden;

    transform: translateY(8px);

    transition:
        opacity 0.4s ease,
        transform 0.4s ease,
        visibility 0.4s ease;
}

/* =========================================================
   ACTIVE STEP
========================================================= */

.sme-how-step.active
.sme-how-number {

    color:
        var(--color-text);
}

.sme-how-step.active
.sme-how-title {

    color:
        var(--color-primary);
}

.sme-how-step.active
.sme-how-description {

    opacity: 1;

    transform:
        translateY(0);
}


/* Active vertical line */

.sme-how-step::before {

    content: "";

    position: absolute;

    left: -18px;

    top: 0;
    bottom: 0;

    width: 2px;

    background:
        transparent;

    transition:
        background 0.6s ease;
}

.sme-how-step.active::before {

    background:
        var(--color-primary);
}


/* =========================================================
   RIGHT SIDE — IMAGE
========================================================= */

.sme-how-visual-wrap {

    position: sticky;

    top: 50px;
}

.sme-how-visual {

    position: relative;

    width: 100%;

    aspect-ratio:
        1.58 / 1;

    overflow: hidden;

    border-radius: 4px;

    background:
        var(--color-neutral);

    border:
        1px solid
        var(--color-border);
}


/* =========================================================
   IMAGE CROSSFADE
========================================================= */

.sme-how-slide {

    position: absolute;

    inset: 0;

    opacity: 0;

    transform:
        scale(1.025);

    transition:
        opacity 1.2s
        cubic-bezier(
            .22,
            1,
            .36,
            1
        ),

        transform 1.8s
        cubic-bezier(
            .22,
            1,
            .36,
            1
        );

    will-change:
        opacity,
        transform;

    pointer-events: none;
}

.sme-how-slide.active {

    opacity: 1;

    transform:
        scale(1);
}

.sme-how-slide img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 900px) {

    .sme-how-it-works {

        padding:
            65px 6vw;
    }

    .sme-how-layout {

        grid-template-columns:
            1fr;

        gap: 45px;
    }

    .sme-how-visual-wrap {

        position: relative;

        top: auto;

        order: -1;
    }

    .sme-how-step {

        padding:
            22px 0;
    }

    .sme-how-title {

        font-size:
            25px;
    }

    .sme-how-description {

        font-size:
            14px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 520px) {

    .sme-how-it-works {

        padding:
            45px 20px;
    }

    .sme-how-label {

        margin-bottom:
            28px;
    }

    .sme-how-visual {

        aspect-ratio:
            1.2 / 1;
    }

    .sme-how-step-row {

        gap: 10px;
    }

    .sme-how-number {

        flex-basis:
            32px;
    }

    .sme-how-title {

        font-size:
            22px;
    }
}

/* =========================================================
   SPRUCEMEUP — FINAL HOW IT WORKS VISUAL TUNING
========================================================= */

.sme-how-it-works {
    /* Match the existing SpruceMeUp background */
    background: var(--cream);

    /* Reduce the large gap before this section */
    min-height: auto;
    padding: 80px 7% 100px;
}


/* Section label */

.sme-how-label {
    max-width: 1700px;
    width: 100%;

    margin: 0 auto 35px;

    color: var(--brown);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;
    text-transform: uppercase;
}


/* Main layout */

.sme-how-layout {
    max-width: 1700px;
    width: 100%;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        0.78fr
        1.22fr;

    gap: clamp(
        50px,
        8vw,
        130px
    );

    align-items: center;
}


/* Step borders */

.sme-how-step {
    border-top:
        1px solid var(--border);

    padding: 30px 0;

    transition:
        border-color 0.5s ease;
}

.sme-how-step:last-child {
    border-bottom:
        1px solid var(--border);
}


/* Numbers */

.sme-how-number {
    color: var(--muted);

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 13px;

    transition:
        color 0.5s ease;
}


/* Step titles */

.sme-how-title {
    color: var(--muted);

    font-size:
        clamp(
            23px,
            2.2vw,
            35px
        );

    font-weight: 400;

    line-height: 1.08;

    letter-spacing: -1.1px;

    transition:
        color 0.6s ease;
}


/* Description */

.sme-how-description {
    color: var(--muted);

    max-width: 500px;

    height: 48px;

    overflow: hidden;

    margin: 15px 0 0;

    font-size: 15px;

    line-height: 1.65;

    opacity: 0;

    transform:
        translateY(8px);

    transition:
        opacity 0.6s ease,
        transform 0.6s
        cubic-bezier(
            .22,
            1,
            .36,
            1
        );
}


/* =========================================================
   ACTIVE STEP
========================================================= */

.sme-how-step.active
.sme-how-number {

    color:
        var(--brown-dark);
}


.sme-how-step.active
.sme-how-title {

    color:
        var(--brown-dark);
}


.sme-how-step.active
.sme-how-description {

    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   ACTIVE VERTICAL LINE
========================================================= */

.sme-how-step::before {

    content: "";

    position: absolute;

    left: -18px;

    top: 0;
    bottom: 0;

    width: 2px;

    background:
        transparent;

    transition:
        background 0.6s ease;
}


.sme-how-step.active::before {

    background:
        var(--brown);
}


/* =========================================================
   IMAGE
========================================================= */

.sme-how-visual {

    border:
        1px solid var(--border);

    background:
        var(--cream-dark);

    border-radius: 4px;

    overflow: hidden;
}


.sme-how-slide {

    transition:
        opacity 1.2s
        cubic-bezier(
            .22,
            1,
            .36,
            1
        ),

        transform 1.8s
        cubic-bezier(
            .22,
            1,
            .36,
            1
        );
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .sme-how-it-works {

        padding:
            65px 6vw 80px;
    }

}


@media (max-width: 520px) {

    .sme-how-it-works {

        padding:
            45px 20px 60px;
    }

    .sme-how-label {

        margin-bottom:
            28px;
    }

}

/* =========================================================
   SPRUCEMEUP — HOW IT WORKS
   ========================================================= */

.sme-how-it-works {
    min-height: 100vh;
    padding: 90px 5vw;

    display: flex;
    flex-direction: column;
    justify-content: center;

    /* Same background as FOR RETAILERS */
    background: #eee2d0;
}

.sme-how-label {
    max-width: 1700px;
    width: 100%;

    margin: 0 auto 45px;

    color: var(--brown);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.sme-how-layout {
    max-width: 1700px;
    width: 100%;

    margin: auto;

    display: grid;

    grid-template-columns:
        0.78fr
        1.22fr;

    gap: clamp(50px, 8vw, 130px);

    align-items: center;
}


/* =========================================================
   LEFT SIDE — STEPS
   ========================================================= */

.sme-how-steps {
    display: flex;
    flex-direction: column;
}

.sme-how-step {
    position: relative;

    min-height: 125px;

    padding: 30px 0;

    border-top: 1px solid var(--border);

    cursor: pointer;

    box-sizing: border-box;
}

.sme-how-step:last-child {
    border-bottom: 1px solid var(--border);
}

.sme-how-step-row {
    display: flex;
    align-items: flex-start;

    gap: 18px;
}


/* =========================================================
   STEP NUMBER
   ========================================================= */

.sme-how-number {
    flex: 0 0 43px;

    color: var(--muted);

    font-family: Georgia, serif;

    font-size: 13px;
    line-height: 1.6;

    transition: color 0.6s ease;
}


/* =========================================================
   STEP CONTENT
   ========================================================= */

.sme-how-content {
    flex: 1;
}

.sme-how-title {
    margin: 0;

    color: var(--muted);

    font-family: inherit;

    font-size: clamp(
        23px,
        2.2vw,
        35px
    );

    font-weight: 400;

    line-height: 1.08;

    letter-spacing: -1.1px;

    transition:
        color 0.35s ease;
}

.sme-how-description {
    max-width: 500px;

    max-height: 60px;

    overflow: hidden;

    margin: 15px 0 0;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.65;

    opacity: 0;

    transform: translateY(8px);

    transition:
        max-height 0.45s ease,
        opacity 0.45s ease,
        transform 0.45s ease;
}

.sme-how-step.active .sme-how-description {
    max-height: 60px;

    opacity: 1;

    transform: translateY(0);
}

/* =========================================================
   ACTIVE STEP
   ========================================================= */

.sme-how-step.active .sme-how-number {
    color: var(--text);
}

.sme-how-step.active .sme-how-title {
    color: var(--brown);
}

.sme-how-step.active .sme-how-description {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* =========================================================
   ACTIVE VERTICAL LINE
   ========================================================= */

.sme-how-step::before {
    content: "";

    position: absolute;

    left: -18px;

    top: 0;
    bottom: 0;

    width: 2px;

    background: transparent;

    transition:
        background 0.6s ease;
}

.sme-how-step.active::before {
    background: var(--brown);
}


/* =========================================================
   RIGHT SIDE — VISUAL
   ========================================================= */

.sme-how-visual-wrap {
    position: sticky;
    top: 50px;
}

.sme-how-visual {
    position: relative;

    width: 100%;

    aspect-ratio: 1.58 / 1;

    overflow: hidden;

    border-radius: 4px;

    background: var(--white);

    border: 1px solid var(--border);
}


/* =========================================================
   IMAGE SLIDES
   ========================================================= */

.sme-how-slide {
    position: absolute;

    inset: 0;

    opacity: 0;

    transform: scale(1.025);

    transition:
        opacity 1.2s ease,
        transform 1.8s cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );
}

.sme-how-slide.active {
    opacity: 1;

    transform: scale(1);
}

.sme-how-slide img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .sme-how-it-works {
        padding: 65px 6vw;
    }

    .sme-how-layout {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .sme-how-visual-wrap {
        position: relative;

        top: auto;

        order: -1;
    }

    .sme-how-step {
        padding: 22px 0;
    }

    .sme-how-title {
        font-size: 25px;
    }

    .sme-how-description {
        font-size: 14px;
    }
}


@media (max-width: 520px) {

    .sme-how-it-works {
        padding: 45px 20px;
    }

    .sme-how-label {
        margin-bottom: 28px;
    }

    .sme-how-visual {
        aspect-ratio: 1.2 / 1;
    }

    .sme-how-step-row {
        gap: 10px;
    }

    .sme-how-number {
        flex-basis: 32px;
    }

    .sme-how-title {
        font-size: 22px;
    }
}


/* Increase SwiftGenie logo size on mobile */
@media (max-width: 768px) {
    .navbar .logo img {
        width: 110px;
        height: 110px;
        object-fit: contain;
    }
}


/* Contact page hamburger menu */
.contact-page-body .mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(82vw, 360px);
    height: 100vh;
    height: 100dvh;
    box-sizing: border-box;
    overflow-y: auto;
    z-index: 2000;

    display: flex;
    flex-direction: column;
    padding: 100px 24px 30px;

    background: #fff;
    border-top: 1px solid #e4d5e7;

    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease, visibility 0.3s ease;
}

.contact-page-body .mobile-nav.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

.contact-page-body .mobile-nav > a,
.contact-page-body .mobile-products > a {
    display: block;
    padding: 12px 0;
    color: #4a3550;
    text-decoration: none;
}

.contact-page-body .mobile-products > span {
    display: block;
    padding: 12px 0 4px;
    font-weight: 600;
    color: #4a3550;
}

.contact-page-body .mobile-products > a {
    padding-left: 16px;
}

@media (min-width: 901px) {
    .contact-page-body .mobile-nav {
        display: none !important;
    }
}


/* CONTACT PAGE — CREAM & BROWN OVERRIDES */

body.contact-page-body,
body.contact-page-body .contact-page {
    background: #F8F2E9 !important;
    color: #2B211B;
}

body.contact-page-body .navbar {
    background: #FFFAF4 !important;
}

body.contact-page-body .nav-button {
    background: #FFFAF4 !important;
    color: #805F45 !important;
    border-color: #805F45 !important;
}

body.contact-page-body .nav-button:hover {
    background: #805F45 !important;
    color: #FFFAF4 !important;
}

body.contact-page-body .contact-card {
    background: #FFFAF4 !important;
    border-color: #D8C7B0 !important;
    color: #2B211B !important;
    box-shadow: 0 20px 50px rgba(43, 33, 27, 0.08);
}

body.contact-page-body .contact-card h1,
body.contact-page-body .contact-card h2,
body.contact-page-body .contact-card legend {
    color: #805F45 !important;
}

body.contact-page-body .contact-card p {
    color: #806F61 !important;
}

body.contact-page-body .contact-card label {
    color: #694C36 !important;
}

body.contact-page-body .contact-card fieldset {
    background: #F8F2E9 !important;
    border-color: #D8C7B0 !important;
}

body.contact-page-body .contact-card input:not([type="radio"]):not([type="checkbox"]) {
    background: #FFFAF4 !important;
    color: #2B211B !important;
    border-color: #D8C7B0 !important;
}

body.contact-page-body .contact-card input[type="radio"],
body.contact-page-body .contact-card input[type="checkbox"] {
    accent-color: #805F45 !important;
    outline-color: #805F45 !important;
    box-shadow: none !important;
}

body.contact-page-body .contact-card input:focus {
    outline-color: #805F45 !important;
    border-color: #805F45 !important;
}

body.contact-page-body .contact-card button[type="submit"] {
    background: #805F45 !important;
    color: #FFFAF4 !important;
    border-color: #805F45 !important;
}

body.contact-page-body .contact-card button[type="submit"]:hover {
    background: #694C36 !important;
    border-color: #694C36 !important;
}

body.contact-page-body .contact-card .home-button {
    color: #805F45 !important;
}

body.contact-page-body .contact-card .success-message {
    background: #EEE2D0 !important;
    color: #2B211B !important;
    border-color: #D8C7B0 !important;
}

body.contact-page-body .products-menu {
    background: #FFFAF4 !important;
    border-color: #D8C7B0 !important;
    box-shadow: 0 12px 30px rgba(43, 33, 27, 0.12) !important;
}

/* Contact page navbar button — rounded outline */
body.contact-page-body .nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    border: 1px solid #805F45;
    border-radius: 50px;
    background: #FFFAF4 !important;
    color: #805F45 !important;
    text-decoration: none;
}

/* Hide desktop CTA in mobile navbar */
@media (max-width: 768px) {
    body.contact-page-body .navbar > .nav-button {
        display: none !important;
    }
}