/* ============================================
   Women's Health Center At Raritan
   Clean Minimalist — Teal + Slate Grey
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: #334155;
    background-color: #fafbfc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: #0f766e;
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover {
    color: #0d9488;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    line-height: 1.2;
    color: #1e293b;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Utilities */
.section-eyebrow {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #0d9488;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    color: #1e293b;
}

.section-intro {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 560px;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.04em;
    padding: 14px 32px;
    border-radius: 4px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: #0d9488;
    color: #ffffff;
    border-color: #0d9488;
}

.btn-primary:hover {
    background-color: #0f766e;
    border-color: #0f766e;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.25);
}

.btn-outline-light {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
}

.btn-full {
    width: 100%;
}

.btn-text {
    background: none;
    border: none;
    color: #0d9488;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.btn-text:hover {
    color: #0f766e;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 251, 252, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    transition: all 0.35s ease;
}

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

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1e293b;
}

.nav-logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0d9488;
    display: block;
    position: relative;
    flex-shrink: 0;
}

.nav-logo-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.nav-logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 17px;
    letter-spacing: 0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 400;
    color: #475569;
    letter-spacing: 0.02em;
    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: #0d9488;
}

.nav-cta {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #0d9488 !important;
    border: 1.5px solid #0d9488;
    padding: 9px 20px;
    border-radius: 4px;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background-color: #0d9488;
    color: #ffffff !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: #1e293b;
    padding: 8px;
}

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.78) 0%,
        rgba(15, 41, 58, 0.65) 50%,
        rgba(13, 112, 106, 0.45) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 28px;
    max-width: 720px;
}

.hero-headline em {
    font-style: italic;
    color: #5eead4;
}

.hero-sub {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   Section Divider
   ============================================ */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
}

.section-divider svg {
    color: #0d9488;
}

/* ============================================
   Services
   ============================================ */
.services {
    padding: 100px 0;
    background: #fafbfc;
}

.services .container {
    text-align: center;
}

.services .section-intro {
    margin: 0 auto 64px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left;
}

.service-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 6px;
    padding: 40px 32px;
    transition: all 0.35s ease;
}

.service-card:hover {
    border-color: rgba(13, 148, 136, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(13, 148, 136, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d9488;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #1e293b;
}

.service-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
}

/* ============================================
   About
   ============================================ */
.about {
    padding: 100px 0;
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 840px;
    object-fit: cover;
    border-radius: 6px;
}

.about-text .lead-paragraph {
    font-size: 1.1rem;
    color: #334155;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text > p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 48px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.value-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 20px;
}

.value-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #0d9488;
    padding-top: 2px;
}

.value-item h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: #1e293b;
}

.value-item p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.7;
}

/* ============================================
   Approach
   ============================================ */
.approach {
    padding: 100px 0;
    background: #f1f5f9;
}

.approach-header {
    text-align: center;
    margin-bottom: 72px;
}

.approach-header .section-intro {
    margin: 0 auto;
}

.approach-steps {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.approach-step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 32px;
    padding: 32px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.approach-step:first-child {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.step-line {
    width: 1px;
    background: #0d9488;
    opacity: 0.3;
    align-self: stretch;
}

.step-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: #0d9488;
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 8px;
}

.step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #1e293b;
}

.step-content p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
    max-width: 520px;
}

/* ============================================
   CTA
   ============================================ */
.cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta .hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(13, 112, 106, 0.85) 0%,
        rgba(15, 41, 58, 0.80) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #ffffff;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Contact
   ============================================ */
.contact {
    padding: 100px 0;
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info .section-intro {
    margin-bottom: 48px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(13, 148, 136, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d9488;
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0d9488;
    margin-bottom: 6px;
}

.contact-item p {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.6;
}

.contact-item a {
    color: #334155;
}

.contact-item a:hover {
    color: #0d9488;
}

.map-container {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.map-container iframe {
    display: block;
}

/* Contact Form */
.contact-form-wrap {
    background: #fafbfc;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 6px;
    padding: 48px 40px;
}

.contact-form-wrap h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.contact-form-wrap > p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 32px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #475569;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #1e293b;
    background: #ffffff;
    border: 1.5px solid rgba(15, 23, 42, 0.12);
    border-radius: 4px;
    outline: none;
    transition: border-color 0.25s ease;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0d9488;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

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

/* Form Success */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    color: #0d9488;
    margin-bottom: 20px;
}

.form-success h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.form-success p {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 24px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: #1e293b;
    color: rgba(255, 255, 255, 0.7);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1.2fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #ffffff;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 17px;
}

.footer-logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0d9488;
    flex-shrink: 0;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: #5eead4;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
    color: #5eead4;
}

.footer-hours p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-hours .hours-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 8px;
    font-style: italic;
}

.footer-bottom {
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ============================================
   Scroll Reveal (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 48px;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 251, 252, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.35s ease;
        pointer-events: none;
    }

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

    .nav-toggle {
        display: block;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-sub {
        font-size: 1rem;
    }

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

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

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

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

    .about-image img {
        height: 400px;
    }

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

    .contact-form-wrap {
        padding: 32px 24px;
    }

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

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

    .approach-step {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .step-line {
        display: none;
    }
}

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

    .nav-inner {
        padding: 0 16px;
    }

    .hero-content {
        padding: 100px 16px 60px;
    }

    .services,
    .about,
    .approach,
    .cta,
    .contact {
        padding: 72px 0;
    }

    .service-card {
        padding: 28px 24px;
    }
}
