/* ============================================================
   THE FERTILITY CO-LIVING — Global Styles
   ============================================================ */

:root {
    --cream: #FCF4EA;
    --cream-soft: #FAF0E4;
    --teal: #2E7377;
    --teal-dark: #266366;
    --teal-footer: #2B7478;
    --pill: #E9F0EC;
    --pill-border: #DDE8E3;
    --ink: #1C1C1C;
    --muted: #4A4A4A;
}

* {
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--cream);
    color: var(--ink);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-footer {
    margin-top: auto;
}

/* ---------- Typography ---------- */

.display-heading {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--ink);
}

.display-heading .accent {
    display: block;
    font-style: italic;
    font-weight: 300;
    color: var(--teal);
}

.display-heading .accent-inline {
    font-style: italic;
    font-weight: 300;
    color: var(--teal);
}

.section-heading {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 500;
    line-height: 1.2;
}

.section-heading .accent,
.section-heading .accent-inline {
    font-style: italic;
    font-weight: 300;
    color: var(--teal);
}

.section-heading .accent {
    display: block;
}

.lead-copy {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ---------- Buttons ---------- */

.btn-teal {
    background-color: var(--teal);
    color: #fff;
    border: 1px solid var(--teal);
    border-radius: 6px;
    padding: 0.85rem 2.25rem;
    font-size: 1.05rem;
    transition: background-color .2s ease, transform .15s ease;
}

.btn-teal:hover,
.btn-teal:focus {
    background-color: var(--teal-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-teal {
    background-color: #fff;
    color: var(--teal);
    border: 1px solid var(--teal);
    border-radius: 6px;
    padding: 0.85rem 2.25rem;
    font-size: 1.05rem;
    transition: all .2s ease;
}

.btn-outline-teal:hover {
    background-color: var(--teal);
    color: #fff;
}

/* ---------- Header ---------- */

.site-header {
    padding: 2.5rem 0 1rem;
    position: relative;
    z-index: 5;
}

.site-header .brand-logo {
    height: 76px;
    width: auto;
}

/* ---------- Decorative blossoms ---------- */

.blossom {
    position: absolute;
    pointer-events: none;
    user-select: none;
    z-index: 1;
}

.blossom-top-right {
    top: -40px;
    right: -30px;
    width: clamp(220px, 24vw, 420px);
}

.blossom-top-left {
    top: -20px;
    left: -40px;
    width: clamp(160px, 15vw, 260px);
    transform: scaleX(-1);
}

.blossom-bottom-left {
    bottom: -60px;
    left: -60px;
    width: clamp(200px, 20vw, 340px);
}

/* ---------- Hero / question illustration ---------- */

.illustration-card {
    width: 100%;
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(70, 60, 40, .12);
}

/* ---------- Landing hero ---------- */

.hero-section {
    position: relative;
    padding: 3rem 0 6rem;
}

.hero-section .content {
    position: relative;
    z-index: 2;
}

/* ---------- Assessment ---------- */

.assessment-wrap {
    position: relative;
    min-height: 640px;
    padding: 2rem 0 3rem;
}

.question-step {
    display: none;
}

.question-step.active {
    display: block;
    animation: fadeStep .45s ease;
}

@keyframes fadeStep {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 260px));
    gap: 1.35rem;
    margin-top: 2.25rem;
}

.option-btn {
    background-color: var(--pill);
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 1.5rem 1rem;
    font-size: 1rem;
    color: var(--ink);
    text-align: center;
    line-height: 1.35;
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
    box-shadow: 0 2px 6px rgba(70, 60, 40, .05);
}

.option-btn:hover {
    border-color: var(--teal);
    background-color: #E1ECE7;
}

.option-btn.selected {
    background-color: var(--teal);
    color: #fff;
    box-shadow: 0 8px 18px rgba(46, 115, 119, .35);
}

.back-link {
    color: var(--teal);
    text-decoration: none;
    font-size: .95rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: 2rem;
}

.back-link:hover {
    color: var(--teal-dark);
    text-decoration: underline;
}

/* ---------- Progress stepper ---------- */

.stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4rem auto 2rem;
    max-width: 820px;
}

.stepper .step-dot {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    background-color: #E4EEEA;
    color: transparent;
    border: 2px solid transparent;
    transition: all .25s ease;
}

.stepper .step-dot.done {
    background-color: var(--cream);
    border-color: var(--teal);
    color: var(--teal);
    cursor: pointer;
}

.stepper .step-dot.current {
    background-color: var(--teal);
    color: #fff;
}

.stepper .connector {
    flex: 1 1 auto;
    height: 2px;
    max-width: 46px;
    background-color: #CFE0DA;
}

.stepper .connector.done {
    background-color: var(--teal);
}

/* ---------- Form (final step) ---------- */

.lead-form label {
    font-size: .95rem;
    margin-bottom: .4rem;
}

.lead-form .form-control {
    background-color: var(--pill);
    border: 1px solid transparent;
    border-radius: 8px;
    padding: .9rem 1rem;
}

.lead-form .form-control:focus {
    background-color: #fff;
    border-color: var(--teal);
    box-shadow: 0 0 0 .2rem rgba(46, 115, 119, .15);
}

/* ---------- Results page ---------- */

.results-hero {
    position: relative;
    padding: 3rem 0 4.5rem;
}

.band {
    padding: 4.5rem 0;
}

.band-soft {
    background-color: #F4EBDF;
}

.noticed-item {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    margin-bottom: 1.5rem;
}

.noticed-dot {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    background-color: #CFE0DA;
    display: flex;
    align-items: center;
    justify-content: center;
}

.noticed-dot::after {
    content: "";
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--teal);
}

.noticed-card {
    background-color: #fff;
    border: 1px solid #EADFCE;
    border-radius: 10px;
    padding: 1.4rem 1.75rem;
    display: flex;
    gap: 1.75rem;
    align-items: center;
    flex: 1;
    box-shadow: 0 4px 14px rgba(70, 60, 40, .05);
}

.noticed-card h5 {
    font-weight: 500;
    min-width: 220px;
    margin: 0;
    line-height: 1.35;
}

.noticed-card h5 .accent-inline {
    font-style: italic;
    font-weight: 300;
    color: var(--teal);
}

.noticed-card p {
    margin: 0;
    font-size: .9rem;
    color: var(--muted);
    line-height: 1.55;
}

.next-step-card {
    background-color: #FFFDF8;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(70, 60, 40, .10);
    overflow: hidden;
}

.next-step-card .card-img {
    height: 100%;
    object-fit: cover;
}

.why-card {
    background-color: #fff;
    border: 1px solid #EADFCE;
    border-radius: 12px;
    padding: 2.25rem 1.75rem;
    height: 100%;
    box-shadow: 0 6px 18px rgba(70, 60, 40, .06);
    text-align: left;
}

.why-card img {
    height: 56px;
    width: auto;
    margin-bottom: 1.5rem;
}

.why-card h5 {
    font-weight: 500;
    margin-bottom: .85rem;
}

.why-card h5 .accent-inline {
    font-style: italic;
    font-weight: 300;
    color: var(--teal);
}

.why-card p {
    font-size: .9rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

.story-card img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(70, 60, 40, .15);
}

.founder-card {
    background-color: #FFFDF8;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(70, 60, 40, .10);
}

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

/* ---------- Footer ---------- */

.site-footer {
    background-color: var(--teal-footer);
    color: #fff;
    padding: 4rem 0 0;
    margin-top: 4rem;
}

.site-footer .footer-logo {
    height: 80px;
    width: auto;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.footer-contact p {
    margin-bottom: .55rem;
}

.social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 3rem;
    padding: 3.5rem 0 3rem;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1 1 180px;
}

.social-item .s-label {
    display: flex;
    align-items: center;
    gap: .8rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.social-item .s-arrow {
    margin-left: auto;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all .2s ease;
}

.social-item .s-arrow:hover {
    background-color: #fff;
    color: var(--teal);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .25);
    padding: 1.4rem 0;
    font-size: .95rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 991.98px) {
    .option-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .noticed-card {
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem;
    }

    .noticed-card h5 {
        min-width: 0;
    }

    .stepper .step-dot {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: .8rem;
    }
}

@media (max-width: 575.98px) {
    .option-grid {
        grid-template-columns: 1fr;
    }

    .blossom-top-right,
    .blossom-top-left,
    .blossom-bottom-left {
        opacity: .55;
    }

    .stepper .step-dot {
        width: 24px;
        height: 24px;
        min-width: 24px;
        font-size: .65rem;
    }

    .stepper .connector {
        max-width: 18px;
    }

    .site-header {
        padding-top: 1.5rem;
    }
}
