/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    color: #2C2C2C;
    background: #FAFAF8;
    line-height: 1.6;
    -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; }

/* ========== UTILITIES ========== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; z-index: 999; padding: 8px 16px; background: #E85D4A; color: #fff; border-radius: 0 0 4px 0; }
.skip-link:focus { left: 0; top: 0; }

/* ========== NAVBAR ========== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(250, 250, 248, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(44, 44, 44, 0.08);
    transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(44, 44, 44, 0.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: #2C2C2C; }
.logo-text { font-family: 'Playfair Display', serif; letter-spacing: -0.01em; }
.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-menu a:not(.btn) { font-size: 0.9rem; font-weight: 500; color: #4A4A4A; transition: color 0.2s; }
.nav-menu a:not(.btn):hover { color: #E85D4A; }

/* Hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 36px; height: 36px; position: relative; }
.hamburger, .hamburger::before, .hamburger::after { display: block; width: 22px; height: 2px; background: #2C2C2C; border-radius: 2px; transition: all 0.3s; position: absolute; left: 7px; }
.hamburger::before { top: 10px; }
.hamburger::after { top: 20px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 16px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { top: 16px; transform: rotate(-45deg); }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: 6px;
    font-size: 0.9rem; font-weight: 600;
    transition: all 0.2s; border: 2px solid transparent; cursor: pointer;
    font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-coral { background: #E85D4A; color: #fff; border-color: #E85D4A; }
.btn-coral:hover { background: #D14E3C; border-color: #D14E3C; }
.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.1); border-color: #fff; }
.btn-white { background: #fff; color: #2C2C2C; border-color: #fff; }
.btn-white:hover { background: #f0f0ed; }
.btn-outline-coral { background: transparent; color: #E85D4A; border-color: #E85D4A; }
.btn-outline-coral:hover { background: #E85D4A; color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ========== HERO ========== */
.hero {
    padding-top: 72px;
    min-height: 100vh; min-height: 100dvh;
    display: flex; align-items: center;
    background: linear-gradient(135deg, #FAFAF8 0%, #F0F0EC 100%);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
    color: #E85D4A; margin-bottom: 20px;
    background: rgba(232, 93, 74, 0.08); padding: 6px 14px; border-radius: 100px;
}
.hero-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700; line-height: 1.15;
    color: #1a1a1a; margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.hero-sub {
    font-size: 1.1rem; color: #555; line-height: 1.7;
    margin-bottom: 32px; max-width: 520px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 24px; align-items: center; }
.stat-num { display: block; font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: #2C2C2C; }
.stat-label { font-size: 0.8rem; color: #777; text-transform: uppercase; letter-spacing: 0.06em; }
.stat-divider { width: 1px; height: 40px; background: #ddd; }
.hero-image { position: relative; }
.hero-img-wrap { border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(44,44,44,0.12); }
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-float-card {
    position: absolute; bottom: -20px; left: -30px;
    background: #fff; border-radius: 12px; padding: 16px 20px;
    display: flex; align-items: center; gap: 12px;
    box-shadow: 0 8px 30px rgba(44,44,44,0.1);
}
.hero-float-card strong { display: block; font-size: 0.9rem; color: #2C2C2C; }
.hero-float-card span { font-size: 0.78rem; color: #777; }

/* ========== SECTION COMMON ========== */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-tag {
    display: inline-block; font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em; color: #E85D4A;
    margin-bottom: 12px;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700; color: #1a1a1a; line-height: 1.2;
    margin-bottom: 16px; letter-spacing: -0.02em;
}
.section-desc { font-size: 1.05rem; color: #666; line-height: 1.7; }

/* ========== SERVICES ========== */
.services { padding: 100px 0; background: #fff; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: #FAFAF8; border-radius: 12px; padding: 36px 28px;
    border: 1px solid rgba(44,44,44,0.06);
    transition: all 0.25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(44,44,44,0.08); border-color: rgba(232,93,74,0.2); }
.service-icon { margin-bottom: 20px; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; color: #1a1a1a; margin-bottom: 10px; }
.service-card p { font-size: 0.92rem; color: #666; line-height: 1.7; }

/* ========== ABOUT ========== */
.about { padding: 100px 0; background: #FAFAF8; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-images { position: relative; }
.about-img-main { border-radius: 16px; overflow: hidden; box-shadow: 0 16px 50px rgba(44,44,44,0.1); }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-secondary {
    position: absolute; bottom: -30px; right: -30px;
    border-radius: 12px; overflow: hidden;
    box-shadow: 0 12px 40px rgba(44,44,44,0.12);
    border: 4px solid #FAFAF8;
}
.about-content .section-tag { margin-bottom: 12px; }
.about-content .section-title { margin-bottom: 20px; text-align: left; }
.about-content .lead { font-size: 1.08rem; color: #444; line-height: 1.8; margin-bottom: 16px; }
.about-content p { font-size: 0.95rem; color: #666; line-height: 1.8; margin-bottom: 24px; }
.about-features { margin-bottom: 32px; }
.about-features li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 0.95rem; color: #444; margin-bottom: 12px;
}

/* ========== NEW PATIENTS CTA ========== */
.new-patients { padding: 80px 0; background: #2C2C2C; }
.cta-box {
    display: flex; align-items: center; justify-content: space-between;
    gap: 40px; flex-wrap: wrap;
}
.cta-content .section-tag { margin-bottom: 12px; }
.cta-content .section-title, .cta-title { color: #fff; text-align: left; }
.cta-desc { font-size: 1.05rem; color: rgba(255,255,255,0.7); line-height: 1.7; max-width: 520px; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cta-note { font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* ========== CONTACT ========== */
.contact { padding: 100px 0; background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info .section-title { margin-bottom: 12px; text-align: left; }
.contact-info .section-desc { margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon { flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: #2C2C2C; margin-bottom: 4px; }
.contact-item span, .contact-item a { font-size: 0.95rem; color: #666; line-height: 1.6; }
.contact-item a:hover { color: #E85D4A; }

/* ========== FORM ========== */
.contact-form-wrap { background: #FAFAF8; border-radius: 16px; padding: 40px; border: 1px solid rgba(44,44,44,0.06); }
.form-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: #1a1a1a; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #444; margin-bottom: 6px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 12px 14px; border: 1px solid #ddd; border-radius: 6px;
    font-size: 0.95rem; font-family: inherit; color: #2C2C2C;
    background: #fff; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: #E85D4A; box-shadow: 0 0 0 3px rgba(232,93,74,0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #aaa; }
.form-privacy { font-size: 0.78rem; color: #999; margin-top: 12px; text-align: center; }
.form-success { text-align: center; padding: 40px 20px; }
.form-success .success-icon { margin: 0 auto 16px; }
.form-success h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: #1a1a1a; margin-bottom: 8px; }
.form-success p { color: #666; margin-bottom: 20px; }

/* ========== FOOTER ========== */
.footer { background: #1a1a1a; color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 48px; }
.footer .logo-text { color: #fff; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-top: 12px; max-width: 280px; }
.footer-links strong, .footer-contact strong {
    display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4); margin-bottom: 16px;
}
.footer-links a { display: block; font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 10px; transition: color 0.2s; }
.footer-links a:hover { color: #E85D4A; }
.footer-contact p { font-size: 0.9rem; line-height: 1.8; }
.footer-contact a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-contact a:hover { color: #E85D4A; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; text-align: center; }
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.35); }

/* ========== MOBILE NAV ========== */
@media (max-width: 900px) {
    .nav-menu {
        position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
        background: rgba(250,250,248,0.98); backdrop-filter: blur(12px);
        flex-direction: column; justify-content: flex-start; padding: 40px 24px;
        gap: 24px; transform: translateX(100%); transition: transform 0.3s;
    }
    .nav-menu.open { transform: translateX(0); }
    .nav-menu a:not(.btn) { font-size: 1.1rem; }
    .nav-toggle { display: block; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-image { order: -1; max-width: 480px; margin: 0 auto; }
    .hero-float-card { left: 10px; bottom: -10px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .about-img-secondary { right: 10px; bottom: -20px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
    .stat-divider { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .cta-box { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 24px; }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Ensure content is visible by default for no-JS / reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
}
