/* =============================================
   CSS Custom Properties
   ============================================= */
:root {
    --emerald-50:  #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --emerald-950: #022c22;

    --cream-50:  #fefdf8;
    --cream-100: #fdf9f0;
    --cream-200: #faf3e0;
    --cream-300: #f5e6c8;
    --cream-400: #e8d0a0;
    --cream-500: #c4a76c;
    --cream-600: #a08040;

    --slate-50:  #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;

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

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--slate-800);
    background: var(--cream-50);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

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

.section {
    padding: 100px 0;
}

.section-header {
    max-width: 680px;
    margin: 0 auto 60px;
}

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

.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--slate-900);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--slate-500);
    line-height: 1.7;
}

.lead {
    font-size: 1.125rem;
    color: var(--slate-600);
    line-height: 1.75;
    margin-bottom: 24px;
}

/* =============================================
   Buttons
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald-600);
    color: #fff;
}
.btn-primary:hover {
    background: var(--emerald-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-emerald {
    background: var(--emerald-700);
    color: #fff;
}
.btn-emerald:hover {
    background: var(--emerald-800);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-emerald-outline {
    background: transparent;
    color: var(--emerald-700);
    border: 2px solid var(--emerald-700);
}
.btn-emerald-outline:hover {
    background: var(--emerald-700);
    color: #fff;
    transform: translateY(-1px);
}

.btn-light {
    background: #fff;
    color: var(--emerald-800);
}
.btn-light:hover {
    background: var(--cream-100);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-1px);
}

.btn-full { width: 100%; }

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

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--slate-900);
}

.logo-mark {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-700);
    border-radius: var(--radius-sm);
    color: #fff;
}

.logo-suffix {
    font-weight: 400;
    color: var(--emerald-600);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav ul {
    display: flex;
    gap: 8px;
}

.main-nav a:not(.btn) {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate-600);
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}

.main-nav a:not(.btn):hover {
    color: var(--emerald-700);
    background: var(--emerald-50);
}

.mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--slate-700);
    transition: background var(--transition);
}
.mobile-toggle:hover { background: var(--cream-100); }

/* =============================================
   Hero
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #022c22 0%, #064e3b 25%, #047857 50%, #059669 75%, #34d399 100%);
    padding-top: 72px;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(52, 211, 153, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 50% 80% at 20% 80%, rgba(6, 78, 59, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse 40% 50% at 90% 10%, rgba(16, 185, 129, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}

.hero-content { color: #fff; }

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-200);
    margin-bottom: 16px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    max-width: 520px;
}

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

.hero-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
}

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 420px;
}

.hero-card img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 20px 32px;
    backdrop-filter: blur(12px);
}

.stat {
    text-align: center;
    color: #fff;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.7);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

/* =============================================
   About
   ============================================= */
.about {
    background: var(--cream-50);
}

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img-main img {
    width: 100%;
    height: 640px;
    object-fit: cover;
}

.about-img-float {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--cream-50);
}

.about-img-float img {
    width: 320px;
    height: 240px;
    object-fit: cover;
}

.about-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: var(--emerald-200);
    border-radius: var(--radius-lg);
    z-index: -1;
}

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

.about-list {
    display: grid;
    gap: 14px;
    margin-bottom: 32px;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--slate-700);
}

.about-list svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--emerald-600);
}

/* =============================================
   Services
   ============================================= */
.services {
    background: var(--slate-50);
}

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

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--slate-100);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--emerald-200);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-50);
    border-radius: var(--radius-md);
    color: var(--emerald-700);
    margin-bottom: 20px;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--emerald-700);
    color: #fff;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* =============================================
   Patient Info
   ============================================= */
.patient-info {
    background: var(--cream-50);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.info-step {
    text-align: center;
    padding: 36px 20px;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-100);
    transition: all var(--transition);
}

.info-step:hover {
    border-color: var(--emerald-200);
    box-shadow: var(--shadow-lg);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--emerald-100);
    color: var(--emerald-800);
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 16px;
}

.info-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 8px;
}

.info-step p {
    font-size: 0.88rem;
    color: var(--slate-500);
    line-height: 1.65;
}

.insurance-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: var(--emerald-800);
    border-radius: var(--radius-xl);
    padding: 48px 56px;
}

.insurance-content h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.insurance-content p {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =============================================
   Contact
   ============================================= */
.contact {
    background: var(--slate-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-details {
    display: grid;
    gap: 24px;
    margin-top: 36px;
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-50);
    border-radius: var(--radius-md);
    color: var(--emerald-700);
}

.contact-item strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--slate-900);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--slate-600);
    line-height: 1.6;
}

.contact-item a {
    color: var(--emerald-700);
    font-weight: 600;
    transition: color var(--transition);
}
.contact-item a:hover { color: var(--emerald-500); }

/* Form */
.contact-form-wrapper {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--slate-100);
}

.contact-form h3,
.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 6px;
}

.form-note {
    font-size: 0.85rem;
    color: var(--slate-400);
    margin-bottom: 24px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--slate-800);
    background: var(--cream-50);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
    background: #fff;
}

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

.form-privacy {
    font-size: 0.78rem;
    color: var(--slate-400);
    text-align: center;
    margin-top: 14px;
}

.form-success {
    text-align: center;
    padding: 20px;
}

.form-success svg {
    color: var(--emerald-500);
    margin-bottom: 16px;
}

.form-success h3 {
    margin-bottom: 10px;
}

.form-success p {
    color: var(--slate-500);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* =============================================
   Footer
   ============================================= */
.site-footer {
    background: var(--slate-900);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 0;
}

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

.logo-light .logo-mark {
    background: var(--emerald-600);
}

.logo-light .logo-text { color: #fff; }
.logo-light .logo-suffix { color: var(--emerald-400); }

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    margin-bottom: 16px;
}

.footer-links ul {
    display: grid;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--emerald-400); }

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.55);
}

.footer-contact a {
    color: var(--emerald-400);
    transition: color var(--transition);
}
.footer-contact a:hover { color: var(--emerald-300); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}

.footer-bottom .disclaimer {
    max-width: 500px;
    text-align: right;
    line-height: 1.5;
}

/* =============================================
   Mobile Navigation
   ============================================= */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition);
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

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

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-badges { justify-content: center; }
    .hero-visual { order: -1; }
    .hero-card img { height: 380px; }
    
    .about-grid { gap: 48px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .info-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 72px 0; }
    
    .mobile-toggle { display: flex; }
    
    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--cream-50);
        flex-direction: column;
        align-items: stretch;
        padding: 32px 24px;
        gap: 8px;
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 999;
        overflow-y: auto;
    }
    
    .main-nav.open {
        transform: translateX(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 4px;
    }
    
    .main-nav a:not(.btn) {
        padding: 14px 16px;
        font-size: 1rem;
    }
    
    .main-nav .btn {
        margin-top: 16px;
        text-align: center;
    }

    /* Hero mobile */
    .hero { min-height: auto; padding: 100px 0 60px; }
    .hero-inner { padding: 0; }
    .hero-card img { height: 300px; }
    .hero-stats { padding: 16px 20px; gap: 16px; }
    .stat-number { font-size: 1.4rem; }
    
    /* About mobile */
    .about-grid { grid-template-columns: 1fr; gap: 56px; }
    .about-img-main img { height: 400px; }
    .about-img-float { right: 0; bottom: -24px; }
    .about-img-float img { width: 240px; height: 180px; }
    .about-accent { display: none; }
    
    /* Services mobile */
    .services-grid { grid-template-columns: 1fr; }
    
    /* Info mobile */
    .info-grid { grid-template-columns: 1fr; }
    .insurance-section {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }
    
    /* Contact mobile */
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-form-wrapper { padding: 28px; }
    .form-row { grid-template-columns: 1fr; }
    
    /* Footer mobile */
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom .disclaimer { text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-badges { flex-direction: column; align-items: center; }
}
