/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Nunito', sans-serif;
    color: #3D1C24;
    background: #FFF8F8;
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== SKIP LINK ===== */
.skip-link {
    position: absolute; top: -100%; left: 16px;
    background: #781F2E; color: #fff; padding: 8px 16px;
    border-radius: 0 0 8px 8px; z-index: 200; font-weight: 700;
}
.skip-link:focus { top: 0; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: 'Lora', serif; line-height: 1.3; color: #781F2E; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 50px; font-weight: 700;
    font-size: 15px; border: 2px solid transparent; cursor: pointer;
    transition: all 0.3s ease; font-family: 'Nunito', sans-serif;
}
.btn-primary { background: #781F2E; color: #fff; border-color: #781F2E; }
.btn-primary:hover { background: #5C1620; border-color: #5C1620; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(120,31,46,0.3); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-light:hover { background: #fff; color: #781F2E; border-color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: #781F2E; border-color: #fff; }
.btn-light:hover { background: #FCE4EC; border-color: #FCE4EC; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-full { width: 100%; justify-content: center; }

/* ===== SECTION TAG ===== */
.section-tag {
    display: inline-block; font-size: 13px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 2px; color: #781F2E;
    margin-bottom: 12px;
}
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-header h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.section-header p { color: #6B3A44; font-size: 17px; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,248,248,0.92); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(120,31,46,0.08);
    transition: box-shadow 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(120,31,46,0.1); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-text { font-family: 'Lora', serif; font-weight: 600; font-size: 17px; color: #781F2E; }
.logo-text-light { color: #fff; }
.nav-menu { display: flex; align-items: center; }
.nav-menu ul { display: flex; align-items: center; gap: 8px; }
.nav-menu a { padding: 8px 16px; border-radius: 50px; font-weight: 600; font-size: 15px; color: #3D1C24; transition: all 0.2s; }
.nav-menu a:hover { background: #FCE4EC; color: #781F2E; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 40px; height: 40px; position: relative; }
.hamburger, .hamburger::before, .hamburger::after {
    display: block; width: 22px; height: 2px; background: #781F2E;
    border-radius: 2px; transition: all 0.3s; position: absolute; left: 9px;
}
.hamburger::before { top: 10px; }
.hamburger::after { bottom: 10px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { bottom: 0; transform: rotate(-45deg); }

/* ===== HERO ===== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    padding: 100px 0 60px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(120,31,46,0.92) 0%, rgba(61,28,36,0.88) 50%, rgba(120,31,46,0.80) 100%);
}
.hero-content {
    position: relative; z-index: 1; display: grid;
    grid-template-columns: 1fr 320px; gap: 48px; align-items: center;
}
.hero-card {
    background: rgba(255,255,255,0.1); backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.15); border-radius: 24px;
    padding: 48px; color: #fff;
}
.hero-badge {
    display: inline-block; background: rgba(252,228,236,0.2);
    border: 1px solid rgba(252,228,236,0.4); color: #FCE4EC;
    padding: 6px 16px; border-radius: 50px; font-size: 13px;
    font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 24px;
}
.hero-headline {
    font-size: clamp(28px, 3.5vw, 46px); line-height: 1.25;
    color: #fff; margin-bottom: 20px; font-weight: 600;
}
.hero-headline em { font-style: italic; color: #FCE4EC; }
.hero-sub { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 32px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; flex-direction: column; gap: 16px; }
.stat-card {
    background: rgba(255,255,255,0.12); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15); border-radius: 20px;
    padding: 24px; color: #fff; display: flex; align-items: center; gap: 16px;
    transition: transform 0.3s ease;
}
.stat-card:hover { transform: translateX(8px); }
.stat-card--1 { animation: float1 3s ease-in-out infinite; }
.stat-card--2 { animation: float2 3.5s ease-in-out infinite; }
.stat-card--3 { animation: float3 4s ease-in-out infinite; }
.stat-number { font-family: 'Lora', serif; font-size: 32px; font-weight: 600; color: #FCE4EC; line-height: 1; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.4; }
.stat-card svg { flex-shrink: 0; color: #FCE4EC; }

@keyframes float1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes float2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes float3 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ===== SERVICES ===== */
.services { padding: 100px 0; background: #FFF8F8; }
.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
    background: #fff; border-radius: 20px; padding: 36px 28px;
    border: 1px solid rgba(120,31,46,0.06);
    box-shadow: 0 4px 20px rgba(120,31,46,0.04);
    transition: all 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(120,31,46,0.12); border-color: rgba(120,31,46,0.12); }
.service-icon {
    width: 56px; height: 56px; border-radius: 16px;
    background: #FCE4EC; display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.service-card h3 { font-size: 20px; margin-bottom: 10px; color: #781F2E; }
.service-card p { color: #6B3A44; font-size: 15px; line-height: 1.7; }

/* ===== ABOUT ===== */
.about { padding: 100px 0; background: #FDF0F3; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-image-wrap { position: relative; }
.about-image-main { border-radius: 24px; overflow: hidden; box-shadow: 0 20px 60px rgba(120,31,46,0.15); }
.about-image-main img { width: 100%; height: 400px; object-fit: cover; }
.about-image-accent {
    position: absolute; bottom: -32px; right: -32px;
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 16px 48px rgba(120,31,46,0.2);
    border: 4px solid #FDF0F3;
}
.about-image-accent img { width: 100%; height: 200px; object-fit: cover; }
.about-exp-badge {
    position: absolute; top: -20px; left: -20px;
    background: #781F2E; color: #FCE4EC; border-radius: 20px;
    padding: 20px 24px; text-align: center;
    box-shadow: 0 12px 32px rgba(120,31,46,0.3);
}
.about-exp-badge .exp-number { display: block; font-family: 'Lora', serif; font-size: 40px; font-weight: 600; line-height: 1; }
.about-exp-badge .exp-label { font-size: 13px; font-weight: 700; line-height: 1.4; }
.about-content .section-tag { text-align: left; }
.about-content h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 20px; text-align: left; }
.about-lead { color: #6B3A44; font-size: 17px; margin-bottom: 28px; line-height: 1.8; }
.about-features { margin-bottom: 32px; }
.about-features li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 15px; color: #3D1C24; }
.check-icon { flex-shrink: 0; margin-top: 2px; }

/* ===== PATIENTS / TESTIMONIALS ===== */
.patients { padding: 100px 0; background: #FFF8F8; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
    background: #fff; border-radius: 20px; padding: 36px 28px;
    border: 1px solid rgba(120,31,46,0.06);
    box-shadow: 0 4px 20px rgba(120,31,46,0.04);
    position: relative; transition: all 0.3s ease;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(120,31,46,0.1); }
.quote-mark {
    font-family: 'Lora', serif; font-size: 72px; line-height: 1;
    color: #FCE4EC; position: absolute; top: 16px; right: 28px;
}
.testimonial-text { font-size: 15px; color: #3D1C24; line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { display: block; font-weight: 700; color: #781F2E; font-size: 15px; }
.author-location { display: block; font-size: 13px; color: #9B6B74; }

/* ===== 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-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(120,31,46,0.93) 0%, rgba(61,28,36,0.90) 100%); }
.cta-content { position: relative; z-index: 1; text-align: center; color: #fff; max-width: 700px; margin: 0 auto; }
.cta-content h2 { font-size: clamp(26px, 3.5vw, 42px); color: #fff; margin-bottom: 16px; }
.cta-content p { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 36px; line-height: 1.8; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== CONTACT ===== */
.contact { padding: 100px 0; background: #FDF0F3; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-card {
    display: flex; align-items: flex-start; gap: 16px;
    background: #fff; border-radius: 16px; padding: 24px;
    margin-bottom: 16px; border: 1px solid rgba(120,31,46,0.06);
    box-shadow: 0 2px 12px rgba(120,31,46,0.04);
}
.contact-icon {
    width: 48px; height: 48px; border-radius: 14px;
    background: #FCE4EC; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-card h3 { font-size: 16px; margin-bottom: 4px; }
.contact-card p { font-size: 14px; color: #6B3A44; line-height: 1.6; }
.contact-card a { color: #781F2E; font-weight: 700; }
.contact-card a:hover { text-decoration: underline; }
.contact-map { border-radius: 16px; overflow: hidden; margin-top: 8px; box-shadow: 0 4px 20px rgba(120,31,46,0.08); }

/* ===== FORM ===== */
.contact-form-wrap { background: #fff; border-radius: 24px; padding: 40px; border: 1px solid rgba(120,31,46,0.06); box-shadow: 0 8px 40px rgba(120,31,46,0.06); }
.contact-form h3 { font-size: 24px; margin-bottom: 6px; }
.form-note { font-size: 14px; color: #9B6B74; 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: 14px; font-weight: 700; color: #3D1C24; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 16px; border-radius: 12px;
    border: 2px solid rgba(120,31,46,0.12); background: #FFF8F8;
    font-family: 'Nunito', sans-serif; font-size: 15px; color: #3D1C24;
    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: #781F2E; box-shadow: 0 0 0 3px rgba(120,31,46,0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #B88992; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
    display: flex; align-items: center; gap: 10px;
    background: #DCFCE7; color: #166534; padding: 14px 20px;
    border-radius: 12px; margin-top: 16px; font-weight: 600; font-size: 15px;
}
.form-success svg { flex-shrink: 0; }

/* ===== FOOTER ===== */
.footer { background: #3D1C24; 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-brand p { font-size: 14px; line-height: 1.7; margin-top: 16px; }
.footer-links h4, .footer-contact h4 { color: #FCE4EC; font-size: 15px; margin-bottom: 16px; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: #FCE4EC; }
.footer-contact p { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 10px; }
.footer-contact a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-contact a:hover { color: #FCE4EC; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; text-align: center; font-size: 13px; }

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: row; flex-wrap: wrap; margin-top: 24px; }
    .stat-card { flex: 1; min-width: 140px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-image-wrap { max-width: 500px; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; align-items: center; justify-content: center; }
    .nav-menu {
        position: fixed; top: 72px; left: 0; right: 0;
        background: rgba(255,248,248,0.98); backdrop-filter: blur(12px);
        padding: 24px; border-bottom: 1px solid rgba(120,31,46,0.08);
        transform: translateY(-120%); opacity: 0;
        transition: all 0.3s ease; pointer-events: none;
    }
    .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
    .nav-menu ul { flex-direction: column; width: 100%; gap: 4px; }
    .nav-menu a { display: block; padding: 12px 16px; width: 100%; }
    .nav-menu li:last-child { margin-top: 8px; }
    .hero { padding: 100px 0 80px; min-height: auto; }
    .hero-card { padding: 32px 24px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }
    .services-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .about-image-accent { right: -16px; bottom: -16px; }
    .about-exp-badge { top: -12px; left: -12px; padding: 14px 18px; }
    .about-exp-badge .exp-number { font-size: 28px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-card { padding: 24px 20px; }
    .stat-card { padding: 16px; }
    .contact-form-wrap { padding: 24px; }
}
