*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

: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;

    --cream-50: #fefdf8;
    --cream-100: #fefce8;
    --cream-200: #fef9c3;
    --cream-300: #fef08a;
    --cream-400: #fde68a;
    --cream-500: #f59e0b;

    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;

    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.06), 0 10px 20px -5px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 10px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 40px -8px rgba(0,0,0,0.1);
    --shadow-emerald: 0 8px 24px -8px rgba(5,150,105,0.25);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--emerald-600);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--emerald-700);
}

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

/* ─── Header ─── */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 253, 248, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(5, 150, 105, 0.08);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

header.scrolled {
    background: rgba(254, 253, 248, 0.95);
    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;
    color: var(--emerald-700);
    font-family: var(--font-display), serif;
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.logo-mark {
    color: var(--emerald-600);
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-list a {
    color: var(--stone-600);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--stone-700);
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
}

.menu-toggle:hover {
    background: var(--emerald-50);
    color: var(--emerald-700);
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald-600);
    color: white;
    border-color: var(--emerald-600);
    box-shadow: var(--shadow-emerald);
}

.btn-primary:hover {
    background: var(--emerald-700);
    border-color: var(--emerald-700);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px -8px rgba(5,150,105,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--emerald-700);
    border-color: var(--emerald-300);
}

.btn-outline:hover {
    background: var(--emerald-50);
    border-color: var(--emerald-500);
    color: var(--emerald-800);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* ─── Hero ─── */
#hero {
    padding: 120px 0 0;
    background: linear-gradient(135deg, var(--cream-50) 0%, var(--emerald-50) 50%, var(--cream-100) 100%);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(5,150,105,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: 80px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245,158,11,0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

.hero-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--emerald-600);
    background: var(--emerald-100);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-display), serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.2;
    color: var(--stone-900);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-headline em {
    color: var(--emerald-600);
    font-style: italic;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--stone-600);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 520px;
}

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

.hero-trust {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--stone-600);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-item svg {
    color: var(--emerald-500);
    flex-shrink: 0;
}

.hero-image {
    position: relative;
}

.hero-img-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 560/680;
}

.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-floating-card {
    position: absolute;
    bottom: 40px;
    left: -30px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

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

.floating-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--stone-800);
}

.floating-sub {
    font-size: 0.8rem;
    color: var(--stone-500);
    margin-top: 2px;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: var(--cream-50);
}

.hero-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* ─── Section Shared ─── */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--emerald-600);
    background: var(--emerald-100);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display), serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--stone-900);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--stone-500);
    line-height: 1.7;
}

/* ─── Services ─── */
.services {
    padding: 100px 0;
    background: var(--cream-50);
}

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

.service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--stone-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald-400), var(--emerald-600));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-card:hover .service-icon {
    background: var(--emerald-100);
    transform: scale(1.05);
}

.service-card h3 {
    font-family: var(--font-display), serif;
    font-size: 1.2rem;
    color: var(--stone-800);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

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

/* ─── About ─── */
.about {
    padding: 100px 0;
    background: white;
}

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

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 520/640;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--emerald-600);
    color: white;
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-emerald);
}

.about-badge svg {
    color: var(--emerald-200);
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-content p {
    font-size: 1rem;
    color: var(--stone-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin: 36px 0;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-display), serif;
    font-size: 1.75rem;
    color: var(--emerald-600);
    line-height: 1;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--stone-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-content .btn {
    margin-top: 8px;
}

/* ─── Patient Info ─── */
.patient-info {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--emerald-50) 0%, var(--cream-50) 100%);
}

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

.info-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid var(--stone-200);
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--emerald-200);
    transform: translateY(-2px);
}

.info-icon {
    width: 52px;
    height: 52px;
    background: var(--emerald-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-600);
    margin-bottom: 20px;
}

.info-card h3 {
    font-family: var(--font-display), serif;
    font-size: 1.15rem;
    color: var(--stone-800);
    margin-bottom: 10px;
}

.info-card p {
    font-size: 0.92rem;
    color: var(--stone-500);
    line-height: 1.7;
}

.info-card p a {
    color: var(--emerald-600);
    font-weight: 500;
}

.info-card p a:hover {
    color: var(--emerald-700);
    text-decoration: underline;
}

/* ─── Contact ─── */
.contact {
    padding: 100px 0;
    background: white;
}

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

.contact-content .section-tag {
    margin-bottom: 16px;
}

.contact-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--stone-500);
    line-height: 1.75;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

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

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

.contact-detail p {
    font-size: 1rem;
    color: var(--stone-700);
    line-height: 1.5;
}

.contact-detail p a {
    color: var(--emerald-600);
    font-weight: 500;
}

.contact-detail p a:hover {
    color: var(--emerald-700);
    text-decoration: underline;
}

/* ─── Form ─── */
.contact-form-wrapper {
    background: var(--cream-50);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--stone-200);
}

.contact-form h3 {
    font-family: var(--font-display), serif;
    font-size: 1.5rem;
    color: var(--stone-800);
    margin-bottom: 28px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--stone-800);
    background: white;
    transition: all 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--emerald-400);
    box-shadow: 0 0 0 3px rgba(5,150,105,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--stone-400);
}

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

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

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

.form-success p {
    font-size: 1rem;
    color: var(--stone-600);
    line-height: 1.6;
}

/* ─── Footer ─── */
footer {
    background: var(--stone-900);
    color: var(--stone-400);
    padding: 60px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand .logo {
    color: var(--emerald-300);
    margin-bottom: 16px;
}

.footer-brand .logo-mark {
    color: var(--emerald-400);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--stone-500);
    max-width: 280px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--stone-400);
    font-size: 0.9rem;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--emerald-300);
    text-decoration: none;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact a {
    color: var(--stone-400);
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--emerald-300);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid var(--stone-800);
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--stone-600);
    text-align: center;
}

/* ─── Mobile Nav ─── */
.nav-list.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(254, 253, 248, 0.98);
    backdrop-filter: blur(16px);
    padding: 24px;
    border-bottom: 1px solid var(--stone-200);
    box-shadow: var(--shadow-lg);
    gap: 4px;
}

.nav-list.mobile-open a {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    width: 100%;
}

.nav-list.mobile-open .btn-sm {
    text-align: center;
    margin-top: 8px;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .hero-inner {
        gap: 40px;
    }

    .about-inner {
        gap: 48px;
    }

    .contact-inner {
        gap: 48px;
    }
}

@media (max-width: 900px) {
    .services-grid,
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-floating-card {
        left: 10px;
        bottom: 20px;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #hero {
        padding: 100px 0 60px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-image {
        order: -1;
        max-width: 480px;
        margin: 0 auto;
    }

    .hero-img-wrapper {
        aspect-ratio: 4/5;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .hero-trust {
        gap: 20px;
    }

    .services-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        max-width: 480px;
        margin: 0 auto;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-content .section-tag {
        display: block;
        text-align: center;
    }

    .about-content p {
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

    .about-content .btn {
        display: inline-flex;
    }

    .about-badge {
        right: 0;
        bottom: -16px;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-content .section-title {
        text-align: center;
    }

    .contact-content .section-tag {
        display: block;
        text-align: center;
    }

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

    .contact-details {
        align-items: center;
    }

    .contact-detail {
        width: 100%;
        max-width: 400px;
    }

    .contact-form-wrapper {
        padding: 28px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-links {
        align-items: center;
    }

    .footer-contact {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-headline {
        font-size: 1.75rem;
    }

    .hero-floating-card {
        left: 0;
        right: 0;
        bottom: 12px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .about-stats {
        gap: 24px;
    }
}

/* ─── Animations ─── */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }
