/* =============================================
   Leflore Obstetrics Clinic — Custom Styles
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green-900: #1a3a2a;
    --green-800: #1e4d35;
    --green-700: #235e3f;
    --green-600: #2d7a52;
    --green-500: #3a9b68;
    --green-400: #5aad7e;
    --green-100: #d4eddf;
    --green-50: #eaf5ec;
    --cream: #faf9f6;
    --cream-dark: #f5f3ee;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-mid: #3d3d3d;
    --text-light: #6b6b6b;
    --text-muted: #9a9a9a;
    --border: #e8e5df;
    --border-light: #f0ede7;
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --nav-height: 72px;
    --section-padding: clamp(80px, 12vw, 140px);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-dark);
}

.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.text-accent {
    color: var(--green-700);
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 520px;
    line-height: 1.8;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 0.875rem 1.75rem;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--green-700);
    color: var(--white);
    border-color: var(--green-700);
}

.btn-primary:hover {
    background: var(--green-800);
    border-color: var(--green-800);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(30, 77, 53, 0.25);
}

.btn-ghost {
    background: transparent;
    color: var(--green-700);
    border-color: var(--green-700);
}

.btn-ghost:hover {
    background: var(--green-700);
    color: var(--white);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    height: var(--nav-height);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--green-800);
    letter-spacing: -0.01em;
}

.nav-logo-icon {
    color: var(--green-600);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-mid);
    transition: color 0.2s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--green-600);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--green-700);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--green-700);
    border: 1px solid var(--green-600);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--green-700);
    color: var(--white);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-dark);
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--nav-height);
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(135deg, var(--green-50) 0%, var(--cream) 100%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 4vw, 3rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 1.25rem;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    max-width: 540px;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 460px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-mid);
    font-weight: 400;
}

.trust-item svg {
    color: var(--green-500);
    flex-shrink: 0;
}

.hero-image {
    position: relative;
}

.hero-img-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--green-100);
}

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

.hero-img-accent {
    position: absolute;
    top: -2rem;
    right: -2rem;
    color: var(--green-600);
    opacity: 0.15;
    z-index: -1;
}

.hero-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--border) 0%, transparent 100%);
}

/* --- About --- */
.about {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.about-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.about-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 3rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.about-text p {
    color: var(--text-mid);
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--border);
}

.stat {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 300;
    color: var(--green-700);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1.6;
    letter-spacing: 0.02em;
}

/* --- Services --- */
.services {
    padding: var(--section-padding) 0;
    background: var(--cream);
}

.services-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.section-header {
    text-align: center;
    margin-bottom: clamp(3rem, 5vw, 5rem);
}

.section-header .section-sub {
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--green-200, #c5e0cc);
    box-shadow: 0 8px 32px rgba(30, 77, 53, 0.08);
    transform: translateY(-2px);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--green-100);
    border-radius: 8px;
    color: var(--green-700);
    margin-bottom: 1.25rem;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-list li {
    font-size: 0.8125rem;
    color: var(--text-mid);
    padding-left: 1.25rem;
    position: relative;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 5px;
    height: 5px;
    background: var(--green-400);
    border-radius: 50%;
}

/* --- Approach --- */
.approach {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.approach-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.approach-content .section-eyebrow {
    margin-bottom: 0.75rem;
}

.approach-text {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 3rem;
}

.approach-pillars {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pillar {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 1.25rem;
    align-items: start;
}

.pillar-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--green-300, #8ec4a8);
    line-height: 1;
    padding-top: 0.25rem;
}

.pillar h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.375rem;
}

.pillar p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

.approach-image {
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 15/19;
    background: var(--green-50);
}

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

/* --- Testimonial --- */
.testimonial-strip {
    background: var(--green-900);
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.testimonial-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    text-align: center;
}

.testimonial-strip blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: var(--green-100);
    margin-bottom: 2rem;
}

.testimonial-strip footer {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-400);
}

/* --- Contact --- */
.contact {
    padding: var(--section-padding) 0;
    background: var(--cream);
}

.contact-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    margin-bottom: 4rem;
}

.contact-intro {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--green-700);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--green-700);
    text-decoration: underline;
}

/* --- Form --- */
.contact-form-wrapper {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
}

.contact-form h3,
.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-dark);
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px rgba(58, 155, 104, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    text-align: center;
    padding: 2rem 1rem;
}

.form-success svg {
    color: var(--green-500);
    margin-bottom: 1rem;
}

.form-success h3 {
    margin-bottom: 0.75rem;
}

.form-success p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* --- Map --- */
.contact-map {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.contact-map iframe {
    display: block;
    width: 100%;
}

/* --- Footer --- */
.footer {
    background: var(--green-900);
    padding: clamp(4rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--green-100);
    margin-bottom: 1rem;
}

.footer-logo-icon {
    color: var(--green-400);
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--green-400, #8ec4a8);
    line-height: 1.75;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-400);
    margin-bottom: 1.25rem;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links li a,
.footer-contact li a,
.footer-contact li {
    font-size: 0.875rem;
    color: var(--green-100);
    transition: color 0.2s ease;
}

.footer-links li a:hover,
.footer-contact li a:hover {
    color: var(--white);
}

.footer-contact li {
    color: var(--green-100);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--green-400, #8ec4a8);
}

.footer-disclaimer {
    font-size: 0.75rem !important;
    color: rgba(142, 196, 168, 0.6) !important;
    max-width: 480px;
    line-height: 1.6;
}

/* --- Mobile Menu --- */
@media (max-width: 1023px) {
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(250, 249, 246, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: stretch;
        padding: 2rem clamp(1.5rem, 4vw, 3rem);
        gap: 1.5rem;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.35s ease;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        font-size: 1rem;
        text-transform: none;
        letter-spacing: 0;
    }

    .nav-cta {
        justify-content: center;
        font-size: 0.9rem;
        padding: 0.75rem 1.25rem;
    }
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .hero-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-img-accent {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: row;
    }

    .stat {
        flex: 1;
        padding: 1.5rem 0;
    }

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

    .approach-inner {
        grid-template-columns: 1fr;
    }

    .approach-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    :root {
        --nav-height: 64px;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--nav-height) + 2rem);
        padding-bottom: 3rem;
    }

    .hero::before {
        display: none;
    }

    .hero-image {
        max-width: 280px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .hero-trust {
        flex-direction: column;
        gap: 0.75rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: no-preference) {
    .service-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}
