/* ============================================
   NEW LIFE MIDWIFERY SERVICES — STYLESHEET
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --emerald-950: #042f1e;
    --emerald-900: #064e2b;
    --emerald-800: #075a35;
    --emerald-700: #087a4b;
    --emerald-600: #0a9e5f;
    --emerald-500: #10a362;
    --emerald-400: #34c082;
    --emerald-300: #6dd4a3;
    --emerald-200: #a7c4b5;
    --emerald-100: #d1e3d7;
    --emerald-50:  #eaf3ee;

    --cream-50:  #FAF8F4;
    --cream-100: #F5F0E8;
    --cream-200: #EDE6D8;
    --cream-300: #E2D9C8;

    --stone-900: #1a1a18;
    --stone-800: #2a2a27;
    --stone-700: #3d3d38;
    --stone-600: #55554e;
    --stone-500: #6e6e66;
    --stone-400: #8e8e85;
    --stone-300: #b0b0a8;
    --stone-200: #d1d1cb;
    --stone-100: #eaea e5;

    --white: #ffffff;

    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --space-xs:  0.25rem;
    --space-sm:  0.5rem;
    --space-md:  1rem;
    --space-lg:  1.5rem;
    --space-xl:  2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    --transition: 0.3s ease;
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.7;
    color: var(--stone-800);
    background-color: var(--cream-50);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--emerald-700);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--emerald-500);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* SKIP LINK */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    background: var(--emerald-900);
    color: var(--white);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-size: 0.875rem;
}

.skip-link:focus {
    top: var(--space-md);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 248, 244, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cream-200);
    transition: box-shadow var(--transition);
}

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--emerald-900);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.logo-text-light {
    color: var(--cream-100);
}

/* NAV */
.primary-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
    list-style: none;
}

.primary-nav a {
    color: var(--stone-700);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: color var(--transition);
    position: relative;
}

.primary-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--emerald-600);
    transition: width var(--transition);
}

.primary-nav a:hover {
    color: var(--emerald-700);
}

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

.btn-nav {
    background: var(--emerald-800);
    color: var(--white) !important;
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: background var(--transition), transform var(--transition);
}

.btn-nav::after {
    display: none;
}

.btn-nav:hover {
    background: var(--emerald-700);
    color: var(--white) !important;
    transform: translateY(-1px);
}

/* NAV TOGGLE */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    z-index: 110;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--stone-800);
    transition: all var(--transition);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background: var(--cream-50);
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.hero-content {
    max-width: 520px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: var(--space-lg);
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--emerald-200);
    border-radius: 100px;
    background: var(--emerald-50);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--stone-900);
    margin-bottom: var(--space-xl);
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: var(--emerald-700);
}

.hero-sub {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--stone-600);
    margin-bottom: var(--space-2xl);
    max-width: 460px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.8125rem 1.75rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--emerald-800);
    color: var(--white);
    border-color: var(--emerald-800);
}

.btn-primary:hover {
    background: var(--emerald-700);
    border-color: var(--emerald-700);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 158, 95, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--stone-800);
    border-color: var(--stone-300);
}

.btn-outline:hover {
    border-color: var(--emerald-600);
    color: var(--emerald-700);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.hero-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    list-style: none;
}

.hero-bullets li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--stone-600);
}

.hero-bullets .bulb {
    color: var(--emerald-500);
    flex-shrink: 0;
}

/* HERO IMAGE */
.hero-image-wrap {
    position: relative;
}

.hero-image-wrap img {
    width: 100%;
    height: 760px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 32px 64px rgba(0,0,0,0.1);
}

.hero-accent {
    position: absolute;
    bottom: -24px;
    left: -24px;
    width: 120px;
    height: 120px;
    background: var(--emerald-100);
    border-radius: var(--radius-lg);
    z-index: -1;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--stone-900);
    margin-bottom: var(--space-xl);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--stone-600);
    max-width: 560px;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    margin-bottom: var(--space-4xl);
}

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--stone-600);
    margin-bottom: var(--space-md);
}

.about-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.value-card {
    padding: var(--space-xl);
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-md);
    background: var(--cream-50);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.value-card:hover {
    border-color: var(--emerald-200);
    box-shadow: 0 4px 20px rgba(10, 158, 95, 0.08);
}

.value-icon {
    color: var(--emerald-600);
    margin-bottom: var(--space-md);
}

.value-card h3 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--stone-900);
    margin-bottom: var(--space-sm);
}

.value-card p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--stone-600);
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: var(--space-4xl) 0;
    background: var(--cream-50);
}

.services-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.services-header .section-subtitle {
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.service-card {
    padding: var(--space-2xl);
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--cream-200);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--emerald-400);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.07);
    border-color: var(--emerald-200);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-num {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--emerald-100);
    line-height: 1;
    margin-bottom: var(--space-md);
    transition: color var(--transition);
}

.service-card:hover .service-num {
    color: var(--emerald-300);
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--stone-900);
    margin-bottom: var(--space-sm);
}

.service-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--stone-600);
}

/* ============================================
   APPROACH
   ============================================ */
.approach {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.approach-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.approach-content .section-eyebrow {
    margin-bottom: var(--space-md);
}

.approach-content .section-title {
    margin-bottom: var(--space-lg);
}

.approach-intro {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--stone-600);
    margin-bottom: var(--space-2xl);
}

.approach-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.approach-list li {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.approach-num {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--emerald-300);
    flex-shrink: 0;
    width: 32px;
    line-height: 1;
    padding-top: 0.25rem;
}

.approach-list strong {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--stone-900);
    margin-bottom: 0.25rem;
}

.approach-list span {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--stone-600);
}

.approach-image img {
    width: 100%;
    height: 680px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    padding: var(--space-4xl) 0;
    background: var(--cream-50);
}

.faq .container {
    max-width: 800px;
}

.faq .section-title {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.faq-item {
    border-bottom: 1px solid var(--cream-200);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-lg) 0;
    cursor: pointer;
    list-style: none;
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--stone-800);
    transition: color var(--transition);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    color: var(--emerald-700);
}

.faq-item[open] summary {
    color: var(--emerald-700);
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--stone-400);
    transition: transform var(--transition);
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
    color: var(--emerald-600);
}

.faq-a {
    padding: 0 var(--space-xs) var(--space-xl);
}

.faq-a p {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--stone-600);
    max-width: 600px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: var(--space-4xl) 0 var(--space-3xl);
    background: var(--white);
}

.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    margin-bottom: var(--space-3xl);
}

.contact-intro {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--stone-600);
    margin-bottom: var(--space-2xl);
}

.contact-details {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-row {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.contact-icon {
    color: var(--emerald-600);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-row strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--stone-500);
    margin-bottom: 0.25rem;
}

.contact-row p,
.contact-row a {
    font-size: 1rem;
    color: var(--stone-800);
    line-height: 1.6;
}

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

/* FORM */
.contact-form-wrap {
    background: var(--cream-50);
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--stone-600);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--stone-900);
    background: var(--white);
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 3px rgba(10, 158, 95, 0.1);
}

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

.form-note {
    font-size: 0.8125rem;
    color: var(--stone-400);
    text-align: center;
    margin-top: var(--space-sm);
}

.form-success {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
}

.success-icon {
    color: var(--emerald-500);
    margin-bottom: var(--space-lg);
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--stone-900);
    margin-bottom: var(--space-sm);
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--stone-600);
}

/* MAP */
.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--cream-200);
}

.map-wrap iframe {
    width: 100%;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--emerald-950);
    color: var(--cream-200);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-3xl);
    align-items: start;
    margin-bottom: var(--space-2xl);
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--emerald-300);
    margin-top: var(--space-md);
    max-width: 240px;
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
}

.footer-nav a {
    color: var(--cream-200);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    text-align: right;
}

.footer-contact p {
    font-size: 0.875rem;
    color: var(--emerald-300);
    line-height: 1.6;
}

.footer-contact a {
    color: var(--emerald-300);
    text-decoration: none;
    transition: color var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: var(--space-xl);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--emerald-400);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-inner {
        gap: var(--space-2xl);
    }

    .hero-image-wrap img {
        height: 560px;
    }

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

    .approach-split {
        gap: var(--space-2xl);
    }

    .approach-image img {
        height: 480px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .primary-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(250, 248, 244, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: var(--space-2xl);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 100;
    }

    .primary-nav.open {
        transform: translateX(0);
    }

    .primary-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-lg);
    }

    .primary-nav a {
        font-size: 1.125rem;
    }

    .btn-nav {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }

    /* HERO */
    .hero {
        min-height: auto;
        padding-top: 72px;
        padding-bottom: var(--space-3xl);
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        padding-top: var(--space-2xl);
        padding-bottom: var(--space-2xl);
    }

    .hero-content {
        max-width: 100%;
        order: 2;
    }

    .hero-image-wrap {
        order: 1;
    }

    .hero-image-wrap img {
        height: 400px;
        border-radius: var(--radius-md);
    }

    .hero-accent {
        display: none;
    }

    .hero-bullets {
        gap: var(--space-md);
    }

    /* ABOUT */
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

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

    /* SERVICES */
    .services-grid {
        grid-template-columns: 1fr;
        padding: 0 var(--space-xl);
    }

    /* APPROACH */
    .approach-split {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .approach-image img {
        height: 360px;
    }

    /* CONTACT */
    .contact-split {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

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

    /* FOOTER */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }

    .footer-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-contact {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .about-inner,
    .approach-split {
        padding: 0 var(--space-md);
    }

    .hero-headline {
        font-size: 1.875rem;
    }

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

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .contact-form-wrap {
        padding: var(--space-lg);
    }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
