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

:root {
    --emerald-50:  #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --cream:       #faf8f5;
    --cream-dark:  #f3efe9;
    --stone-50:    #fafaf9;
    --stone-100:   #f5f5f4;
    --stone-200:   #e7e5e4;
    --stone-300:   #d6d3d1;
    --stone-600:   #57534e;
    --stone-700:   #44403c;
    --stone-800:   #292524;
    --stone-900:   #1c1917;
    --white:       #ffffff;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body:    'Inter', system-ui, sans-serif;
    --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md:   0 4px 16px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
    --shadow-lg:   0 12px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);
    --radius-sm:   8px;
    --radius-md:   12px;
    --radius-lg:   20px;
    --transition:  .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--stone-800);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

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

/* ── Typography ── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 12px;
}
.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--emerald-500);
    border-radius: 2px;
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--stone-900);
    line-height: 1.2;
    margin-bottom: 20px;
}
.section-sub {
    font-size: 1.1rem;
    color: var(--stone-600);
    max-width: 600px;
    line-height: 1.7;
}
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: .95rem;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--emerald-700);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(4,120,87,.35);
}
.btn-primary:hover {
    background: var(--emerald-800);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4,120,87,.4);
}
.btn-outline-light {
    background: rgba(255,255,255,.12);
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,.4);
    backdrop-filter: blur(4px);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,.22);
    border-color: rgba(255,255,255,.7);
}
.btn-outline-green {
    background: transparent;
    color: var(--emerald-700);
    border: 1.5px solid var(--emerald-300, #6ee7b7);
}
.btn-outline-green:hover {
    background: var(--emerald-50);
}
.btn-light {
    background: var(--white);
    color: var(--emerald-800);
}
.btn-light:hover { background: var(--emerald-50); }
.btn-sm { padding: 10px 20px; font-size: .85rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250,248,245,.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,.06);
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(250,248,245,.97);
    box-shadow: var(--shadow-sm);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--emerald-800);
}
.nav-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--emerald-700);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-links a {
    padding: 8px 16px;
    font-size: .9rem;
    font-weight: 500;
    color: var(--stone-700);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-links a:hover { color: var(--emerald-700); background: var(--emerald-50); }
.nav-cta {
    background: var(--emerald-700) !important;
    color: var(--white) !important;
    margin-left: 8px;
}
.nav-cta:hover { background: var(--emerald-800) !important; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--stone-700);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 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(6,78,59,.88) 0%, rgba(4,120,87,.75) 50%, rgba(6,95,70,.82) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 0 80px;
    max-width: 720px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    color: var(--white);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 28px;
    backdrop-filter: blur(4px);
}
.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
}
.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,.85);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 560px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 56px;
}
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.9);
    font-size: .9rem;
    font-weight: 500;
}
.trust-item svg { color: var(--emerald-200); }

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255,255,255,.6);
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ── About ── */
.about {
    padding: 100px 0;
    background: var(--cream);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-image-wrap {
    position: relative;
}
.about-image-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--emerald-100);
    border-radius: var(--radius-lg);
    z-index: -1;
}
.about-content .section-title { margin-bottom: 24px; }
.about-text {
    color: var(--stone-600);
    font-size: 1.05rem;
    margin-bottom: 16px;
}
.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
}
.value-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.value-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--emerald-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
}
.value-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--stone-900);
    margin-bottom: 4px;
}
.value-card p {
    font-size: .9rem;
    color: var(--stone-600);
    line-height: 1.6;
}

/* ── Services ── */
.services {
    padding: 100px 0;
    background: var(--white);
}
.section-header { margin-bottom: 60px; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid transparent;
}
.service-card:hover {
    background: var(--white);
    border-color: var(--emerald-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.service-icon {
    width: 56px;
    height: 56px;
    background: var(--emerald-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    margin-bottom: 20px;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--emerald-700);
    color: var(--white);
}
.service-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--stone-900);
    margin-bottom: 10px;
}
.service-card p {
    font-size: .92rem;
    color: var(--stone-600);
    line-height: 1.7;
}

/* ── Patient Info ── */
.patient-info {
    padding: 100px 0;
    background: var(--emerald-800);
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.info-block {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: var(--transition);
}
.info-block:hover {
    background: rgba(255,255,255,.12);
}
.info-icon {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-200);
    margin-bottom: 20px;
}
.info-block h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}
.info-block p {
    color: rgba(255,255,255,.75);
    font-size: .92rem;
    line-height: 1.7;
    margin-bottom: 12px;
}
.hours-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hours-list li {
    display: flex;
    justify-content: space-between;
    font-size: .9rem;
    color: rgba(255,255,255,.8);
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.hours-list li:last-child { border-bottom: none; }
.hours-list li span:first-child { font-weight: 500; }
.info-note {
    font-size: .82rem !important;
    color: rgba(255,255,255,.5) !important;
    font-style: italic;
}

/* ── Contact ── */
.contact {
    padding: 100px 0;
    background: var(--cream);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.contact-desc {
    color: var(--stone-600);
    font-size: 1.05rem;
    margin-bottom: 36px;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}
.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--emerald-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
}
.contact-item strong {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--stone-700);
    margin-bottom: 4px;
}
.contact-item p {
    color: var(--stone-600);
    font-size: .95rem;
    line-height: 1.6;
}
.contact-item a {
    color: var(--emerald-700);
    font-weight: 500;
    transition: var(--transition);
}
.contact-item a:hover { color: var(--emerald-500); }
.contact-map { border-radius: var(--radius-md); overflow: hidden; }

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--stone-200);
}
.contact-form-wrap h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--stone-900);
    margin-bottom: 28px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.form-group label {
    font-size: .85rem;
    font-weight: 500;
    color: var(--stone-700);
}
.form-group input,
.form-group textarea {
    font-family: var(--font-body);
    font-size: .95rem;
    padding: 12px 16px;
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius-sm);
    background: var(--stone-50);
    color: var(--stone-900);
    transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--emerald-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(16,185,129,.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--stone-300); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-privacy {
    font-size: .78rem;
    color: var(--stone-300);
    text-align: center;
    margin-top: 12px;
}
.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}
.form-success.active { display: block; }
.success-icon {
    width: 64px;
    height: 64px;
    background: var(--emerald-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    margin: 0 auto 20px;
}
.form-success h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--stone-900);
    margin-bottom: 10px;
}
.form-success p {
    color: var(--stone-600);
    font-size: .95rem;
    margin-bottom: 24px;
}

/* ── Footer ── */
.footer {
    background: var(--stone-900);
    color: rgba(255,255,255,.7);
    padding: 64px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 16px;
}
.footer-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--emerald-700);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}
.footer-desc {
    font-size: .9rem;
    line-height: 1.7;
    color: rgba(255,255,255,.5);
}
.footer-links h4,
.footer-contact h4 {
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--white);
    margin-bottom: 20px;
}
.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    font-size: .9rem;
    color: rgba(255,255,255,.5);
    transition: var(--transition);
}
.footer-links a:hover { color: var(--emerald-400, #34d399); }
.footer-contact p {
    font-size: .9rem;
    margin-bottom: 8px;
    line-height: 1.6;
}
.footer-contact a {
    color: var(--emerald-400, #34d399);
    transition: var(--transition);
}
.footer-contact a:hover { color: var(--emerald-300, #6ee7b7); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p {
    font-size: .82rem;
    color: rgba(255,255,255,.35);
}
.footer-disclaimer {
    font-size: .78rem !important;
    color: rgba(255,255,255,.25) !important;
    max-width: 480px;
    text-align: right;
}

/* ── Scroll Reveal (below fold only, progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity .6s ease, transform .6s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image-wrap { order: -1; max-width: 500px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .info-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250,248,245,.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid rgba(0,0,0,.06);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-links a { padding: 12px 16px; width: 100%; }
    .nav-cta { margin-left: 0 !important; text-align: center; }
    .nav-toggle { display: flex; }

    .hero-content { padding: 100px 0 80px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }
    .hero-trust { gap: 20px; }
    .services-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 28px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-disclaimer { text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-headline { font-size: 2rem; }
    .about-image-wrap img { height: 350px; }
}
