/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #1a2e23;
    background: #f7f5f0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; line-height: 1.15; color: #0f2918; }

/* ========== NAVBAR ========== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(247,245,240,0.92);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(22,101,52,0.08);
    transition: box-shadow 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(15,41,24,0.08); }
.nav-container { display: flex; align-items: center; gap: 16px; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.1rem; color: #166534; }
.nav-logo-icon { color: #166534; }
.nav-links { display: flex; gap: 8px; margin-left: auto; }
.nav-links a {
    padding: 8px 16px; border-radius: 8px; font-weight: 500; font-size: 0.938rem;
    color: #2d4a35; transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: rgba(22,101,52,0.08); color: #166534; }
.nav-cta {
    display: flex; align-items: center; gap: 6px; padding: 10px 20px;
    background: #166534; color: #fff; border-radius: 50px;
    font-weight: 600; font-size: 0.875rem; transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}
.nav-cta:hover { background: #14532d; transform: translateY(-1px); }
.nav-toggle {
    display: none; flex-direction: column; gap: 5px; background: none; border: none;
    cursor: pointer; padding: 8px; margin-left: auto;
}
.nav-toggle span {
    display: block; width: 22px; height: 2px; background: #1a2e23;
    border-radius: 2px; transition: transform 0.3s, opacity 0.3s;
}
.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;
    padding: 100px 0 60px; overflow: hidden;
    background: #f0ebe0;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.geo-circle { position: absolute; border-radius: 50%; }
.geo-circle--1 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(22,101,52,0.12) 0%, transparent 70%); top: -80px; right: -60px; }
.geo-circle--2 { width: 280px; height: 280px; background: radial-gradient(circle, rgba(34,197,94,0.10) 0%, transparent 70%); bottom: 10%; left: 5%; }
.geo-square {
    position: absolute; width: 120px; height: 120px; background: rgba(22,101,52,0.07);
    border-radius: 24px; top: 18%; left: 6%; transform: rotate(25deg);
}
.geo-triangle {
    position: absolute; width: 0; height: 0;
    border-left: 50px solid transparent; border-right: 50px solid transparent;
    border-bottom: 86px solid rgba(34,197,94,0.10);
    bottom: 20%; right: 12%; transform: rotate(-15deg);
}
.geo-dots {
    position: absolute; bottom: 15%; right: 30%;
    width: 80px; height: 80px;
    background-image: radial-gradient(circle, rgba(22,101,52,0.2) 2px, transparent 2px);
    background-size: 12px 12px; opacity: 0.6;
}
.hero-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 20px; border-radius: 50px;
    background: rgba(22,101,52,0.08); border: 1px solid rgba(22,101,52,0.15);
    font-size: 0.813rem; font-weight: 600; color: #166534; letter-spacing: 0.03em;
    margin-bottom: 24px;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; display: inline-block; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-title { font-size: clamp(2.25rem, 4.5vw, 3.75rem); font-weight: 700; color: #0f2918; margin-bottom: 20px; line-height: 1.08; }
.hero-accent { color: #166534; display: block; font-size: 0.65em; margin-top: 4px; font-weight: 600; }
.hero-subtitle { font-size: 1.125rem; color: #3d5a44; line-height: 1.7; margin-bottom: 36px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 500; color: #2d4a35; }
.trust-item svg { color: #166534; flex-shrink: 0; }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 50px; font-weight: 600; font-size: 0.938rem;
    border: 2px solid transparent; cursor: pointer; transition: all 0.25s ease;
    font-family: 'DM Sans', sans-serif;
}
.btn-primary { background: #166534; color: #fff; border-color: #166534; }
.btn-primary:hover { background: #14532d; border-color: #14532d; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(22,101,52,0.25); }
.btn-secondary { background: transparent; color: #166534; border-color: #166534; }
.btn-secondary:hover { background: rgba(22,101,52,0.06); transform: translateY(-2px); }
.btn-light { background: #fff; color: #166534; border-color: #fff; }
.btn-light:hover { background: #f0f7f2; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ========== HERO VISUAL ========== */
.hero-visual { position: relative; }
.hero-image-wrapper { position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px rgba(15,41,24,0.15); }
.hero-image-wrapper img { width: 100%; height: 640px; object-fit: cover; }
.hero-image-accent {
    position: absolute; inset: 0; border-radius: 24px;
    background: linear-gradient(180deg, transparent 50%, rgba(15,41,24,0.25) 100%);
    pointer-events: none;
}
.hero-float-card {
    position: absolute; bottom: -20px; left: -30px;
    display: flex; align-items: center; gap: 14px;
    padding: 18px 24px; border-radius: 16px;
    background: #fff; box-shadow: 0 12px 40px rgba(15,41,24,0.12);
    border: 1px solid rgba(22,101,52,0.08);
}
.float-card-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: linear-gradient(135deg, #166534, #22c55e);
    display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0;
}
.float-card-text { display: flex; flex-direction: column; }
.float-card-text strong { font-family: 'Space Grotesk', sans-serif; font-size: 0.938rem; color: #0f2918; }
.float-card-text span { font-size: 0.813rem; color: #6b8f76; }

/* ========== SECTIONS ========== */
section { padding: 100px 0; position: relative; }
.section-header { max-width: 700px; margin-bottom: 56px; }
.section-header--centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-tag {
    display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: #166534; margin-bottom: 14px;
    background: rgba(22,101,52,0.07); padding: 6px 14px; border-radius: 50px;
}
.section-title { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; margin-bottom: 18px; }
.title-accent { color: #166534; }
.section-subtitle { font-size: 1.063rem; color: #4a6b54; line-height: 1.7; }

/* ========== SERVICES ========== */
.services { background: #fff; overflow: hidden; }
.services-pattern { position: absolute; inset: 0; pointer-events: none; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 1; }
.service-card {
    padding: 36px 28px; border-radius: 20px;
    background: #f7f5f0; border: 1px solid rgba(22,101,52,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(15,41,24,0.10); background: #f0ebe0; }
.service-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, #166534, #15803d);
    display: flex; align-items: center; justify-content: center;
    color: #fff; margin-bottom: 20px;
}
.service-card h3 { font-size: 1.188rem; font-weight: 700; margin-bottom: 10px; color: #0f2918; }
.service-card p { font-size: 0.938rem; color: #4a6b54; line-height: 1.7; }

/* ========== ABOUT ========== */
.about { background: #f0ebe0; overflow: hidden; }
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.about-image-stack { position: relative; }
.about-img-main { border-radius: 24px; overflow: hidden; box-shadow: 0 20px 50px rgba(15,41,24,0.12); }
.about-img-main img { width: 100%; height: 560px; object-fit: cover; }
.about-img-secondary {
    position: absolute; bottom: -30px; right: -20px;
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 12px 36px rgba(15,41,24,0.15);
    border: 4px solid #f0ebe0;
}
.about-img-secondary img { width: 100%; height: 200px; object-fit: cover; }
.about-experience-badge {
    position: absolute; top: -20px; right: 40px;
    padding: 16px 20px; border-radius: 16px;
    background: #166534; color: #fff; text-align: center;
    box-shadow: 0 12px 30px rgba(22,101,52,0.3);
}
.exp-number { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; }
.exp-label { font-size: 0.75rem; opacity: 0.85; letter-spacing: 0.05em; }
.about-content { max-width: 520px; }
.about-text { font-size: 1rem; color: #3d5a44; line-height: 1.8; margin-bottom: 18px; }
.about-values { display: flex; flex-direction: column; gap: 20px; margin: 32px 0; }
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-icon {
    width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
    background: rgba(22,101,52,0.08); color: #166534;
    display: flex; align-items: center; justify-content: center;
}
.value-item strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 1rem; color: #0f2918; margin-bottom: 2px; }
.value-item span { font-size: 0.875rem; color: #4a6b54; line-height: 1.6; }
.about-geo { position: absolute; pointer-events: none; }
.geo-diamond { position: absolute; width: 60px; height: 60px; background: rgba(22,101,52,0.06); transform: rotate(45deg); border-radius: 4px; }
.geo-diamond--1 { top: 10%; right: -30px; }
.geo-diamond--2 { bottom: 15%; left: -20px; width: 40px; height: 40px; background: rgba(34,197,94,0.08); }

/* ========== PATIENTS ========== */
.patients { background: #fff; }
.patients-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.info-block {
    padding: 36px 32px; border-radius: 20px;
    background: #f7f5f0; border: 1px solid rgba(22,101,52,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.info-block:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,41,24,0.08); }
.info-block-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: linear-gradient(135deg, #166534, #15803d);
    display: flex; align-items: center; justify-content: center;
    color: #fff; margin-bottom: 20px;
}
.info-block h3 { font-size: 1.188rem; font-weight: 700; margin-bottom: 16px; color: #0f2918; }
.info-list { display: flex; flex-direction: column; gap: 10px; }
.info-list li { display: flex; justify-content: space-between; font-size: 0.938rem; padding-bottom: 10px; border-bottom: 1px solid rgba(22,101,52,0.08); }
.info-list li:last-child { border-bottom: none; }
.info-list li span:first-child { font-weight: 500; color: #1a2e23; }
.info-list li span:last-child { color: #4a6b54; }
.info-address { font-size: 1rem; color: #1a2e23; line-height: 1.7; margin-bottom: 8px; }
.info-note { font-size: 0.875rem; color: #6b8f76; }
.info-phone { margin-bottom: 8px; }
.info-phone a { font-size: 1.375rem; font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: #166534; transition: color 0.2s; }
.info-phone a:hover { color: #14532d; }
.info-cta { font-size: 0.875rem; color: #4a6b54; }

/* ========== CTA BANNER ========== */
.cta-banner {
    background: #166534; padding: 80px 0; overflow: hidden;
    position: relative;
}
.cta-shapes { position: absolute; inset: 0; pointer-events: none; }
.cta-circle { position: absolute; border-radius: 50%; }
.cta-circle--1 { width: 300px; height: 300px; background: rgba(255,255,255,0.04); top: -80px; left: -60px; }
.cta-circle--2 { width: 200px; height: 200px; background: rgba(255,255,255,0.03); bottom: -60px; right: 10%; }
.cta-square {
    position: absolute; width: 80px; height: 80px; background: rgba(255,255,255,0.05);
    border-radius: 16px; top: 20%; right: 5%; transform: rotate(30deg);
}
.cta-container { display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; z-index: 1; flex-wrap: wrap; }
.cta-content { flex: 1; min-width: 280px; }
.cta-title { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; color: #fff; margin-bottom: 14px; }
.cta-text { font-size: 1.063rem; color: rgba(255,255,255,0.8); line-height: 1.7; max-width: 520px; }
.cta-actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* ========== CONTACT ========== */
.contact { background: #f7f5f0; }
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-desc { font-size: 1rem; color: #4a6b54; line-height: 1.7; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-detail { display: flex; gap: 16px; align-items: flex-start; }
.contact-detail-icon {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    background: rgba(22,101,52,0.08); color: #166534;
    display: flex; align-items: center; justify-content: center;
}
.contact-detail strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 0.938rem; color: #0f2918; margin-bottom: 2px; }
.contact-detail span, .contact-detail a { font-size: 0.938rem; color: #4a6b54; }
.contact-detail a:hover { color: #166534; }
.contact-form-wrapper {
    background: #fff; border-radius: 24px; padding: 40px;
    box-shadow: 0 16px 50px rgba(15,41,24,0.08);
    border: 1px solid rgba(22,101,52,0.06);
}
.form-title { font-size: 1.375rem; font-weight: 700; margin-bottom: 28px; color: #0f2918; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: #1a2e23; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 16px; border-radius: 12px;
    border: 1.5px solid rgba(22,101,52,0.15); background: #f7f5f0;
    font-family: 'DM Sans', sans-serif; font-size: 0.938rem; color: #1a2e23;
    transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: #166534; box-shadow: 0 0 0 3px rgba(22,101,52,0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #9bb5a5; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 18px; border-radius: 12px; margin-top: 16px;
    background: rgba(22,101,52,0.08); color: #166534;
    font-size: 0.938rem; font-weight: 500;
}
.form-success svg { flex-shrink: 0; }

/* ========== FOOTER ========== */
.footer { background: #0f2918; color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 2fr; gap: 48px; padding-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.063rem; color: #fff; margin-bottom: 14px; }
.footer-logo-icon { color: #22c55e; }
.footer-desc { font-size: 0.938rem; line-height: 1.7; max-width: 300px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 { font-family: 'Space Grotesk', sans-serif; font-size: 0.938rem; font-weight: 700; color: #fff; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.875rem; transition: color 0.2s; }
.footer-col a:hover { color: #22c55e; }
.footer-col address { font-size: 0.875rem; line-height: 1.7; margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.813rem; }
.footer-bottom a { color: #22c55e; transition: color 0.2s; }
.footer-bottom a:hover { color: #4ade80; }

/* ========== MOBILE MENU ========== */
@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed; top: 72px; left: 0; right: 0;
        background: rgba(247,245,240,0.98); backdrop-filter: blur(16px);
        flex-direction: column; padding: 24px; gap: 4px;
        border-bottom: 1px solid rgba(22,101,52,0.08);
        transform: translateY(-120%); opacity: 0;
        transition: transform 0.35s ease, opacity 0.35s ease;
        pointer-events: none;
    }
    .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
    .nav-links a { padding: 14px 16px; font-size: 1rem; }
    .nav-cta { display: none; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .hero-container { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { order: -1; max-width: 480px; margin: 0 auto; }
    .hero-image-wrapper img { height: 420px; }
    .hero-float-card { left: 10px; bottom: -10px; }
    .hero { padding-top: 90px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-container { grid-template-columns: 1fr; }
    .about-visual { max-width: 480px; }
    .about-content { max-width: 100%; }
    .patients-grid { grid-template-columns: 1fr; }
    .contact-container { grid-template-columns: 1fr; }
    .cta-container { flex-direction: column; text-align: center; }
    .cta-actions { justify-content: center; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    section { padding: 70px 0; }
    .services-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 24px; }
    .footer-links { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .about-img-secondary { display: none; }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
    .reveal.visible { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}
