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

:root {
    --green-900: #1B4332;
    --green-800: #2D6A4F;
    --green-700: #40916C;
    --green-600: #52B788;
    --green-500: #74C69D;
    --off-white: #F5F5F0;
    --off-white-light: #FAFAF7;
    --cream: #EDEDE8;
    --text-dark: #1A1A1A;
    --text-mid: #3D3D3D;
    --text-light: #6B6B6B;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(27, 67, 50, 0.08);
    --shadow-md: 0 4px 16px rgba(27, 67, 50, 0.10);
    --shadow-lg: 0 8px 32px rgba(27, 67, 50, 0.14);
    --shadow-xl: 0 16px 48px rgba(27, 67, 50, 0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background-color: var(--off-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
    color: var(--green-900);
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--green-900);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 600;
}
.skip-link:focus {
    top: 16px;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 247, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--green-900);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--green-800);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 1.3rem;
    line-height: 1;
}

.logo-accent {
    color: var(--green-700);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--text-mid);
    transition: color var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green-700);
    transition: width var(--transition);
}

.nav-menu a:hover {
    color: var(--green-800);
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--green-900);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}
.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.938rem;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--green-800);
    color: var(--white);
    border-color: var(--green-800);
}
.btn-primary:hover {
    background: var(--green-700);
    border-color: var(--green-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--green-800);
    border-color: var(--green-800);
}
.btn-outline:hover {
    background: var(--green-800);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--green-900);
    border-color: var(--white);
}
.btn-white:hover {
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ===== Section Shared ===== */
.section-tag {
    display: inline-block;
    font-size: 0.813rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-700);
    background: rgba(82, 183, 141, 0.12);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.063rem;
    color: var(--text-light);
    max-width: 560px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header .section-sub {
    margin: 0 auto;
}

/* ===== Hero ===== */
.hero {
    padding: 120px 0 0;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.hero-container {
    padding-bottom: 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 540px;
}

.hero-badge {
    display: inline-block;
    font-size: 0.813rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--green-700);
    background: rgba(82, 183, 141, 0.12);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    color: var(--green-900);
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.hero-sub {
    font-size: 1.063rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 36px;
}

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

.hero-visual {
    position: relative;
    min-height: 500px;
}

.hero-image-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 6/7;
    background: var(--cream);
}

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

/* Floating Stat Cards */
.stat-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 16px 22px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 2px;
    z-index: 2;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-800);
    line-height: 1;
}

.stat-label {
    font-size: 0.813rem;
    color: var(--text-light);
    font-weight: 500;
}

.stat-card--1 {
    top: 10%;
    left: -30px;
    animation: float 4s ease-in-out infinite;
}

.stat-card--2 {
    bottom: 25%;
    right: -20px;
    animation: float 4s ease-in-out infinite 1s;
}

.stat-card--3 {
    bottom: 8%;
    left: 10%;
    animation: float 4s ease-in-out infinite 2s;
}

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

.hero-wave {
    margin-top: -1px;
}

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

/* ===== Services ===== */
.services {
    padding: 80px 0 96px;
    background: var(--off-white);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid rgba(27, 67, 50, 0.06);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(82, 183, 141, 0.2);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(82, 183, 141, 0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--green-800);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 1.188rem;
    margin-bottom: 12px;
    color: var(--green-900);
}

.service-card p {
    font-size: 0.938rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== About ===== */
.about {
    padding: 96px 0;
    background: var(--white);
}

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

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 7/8;
    background: var(--cream);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    max-width: 480px;
}

.about-text {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--text-dark);
}

.check-icon {
    width: 22px;
    height: 22px;
    color: var(--green-700);
    flex-shrink: 0;
}

/* ===== Patient Info ===== */
.patient-info {
    padding: 96px 0;
    background: var(--off-white);
}

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

.info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    border: 1px solid rgba(27, 67, 50, 0.06);
    transition: all var(--transition);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.info-card-icon {
    width: 64px;
    height: 64px;
    background: var(--green-900);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
}

.info-card-icon svg {
    width: 28px;
    height: 28px;
}

.info-card h3 {
    font-size: 1.188rem;
    margin-bottom: 12px;
    color: var(--green-900);
}

.info-card p {
    font-size: 0.938rem;
    color: var(--text-mid);
    line-height: 1.7;
}

.info-card a {
    color: var(--green-700);
    font-weight: 600;
    transition: color var(--transition);
}

.info-card a:hover {
    color: var(--green-800);
}

.info-note {
    font-size: 0.813rem !important;
    color: var(--text-light) !important;
    margin-top: 8px !important;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 96px 0;
    background: var(--green-900);
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.cta-content {
    max-width: 560px;
}

.cta-tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--green-500) !important;
}

.cta-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.063rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
}

.cta-actions {
    flex-shrink: 0;
}

/* ===== Contact ===== */
.contact {
    padding: 96px 0;
    background: var(--off-white);
}

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

.contact-text {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 32px;
}

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

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

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--green-800);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-item strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.063rem;
    color: var(--green-900);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.938rem;
    color: var(--text-mid);
    line-height: 1.6;
}

.contact-item a {
    color: var(--green-700);
    font-weight: 600;
    transition: color var(--transition);
}

.contact-item a:hover {
    color: var(--green-800);
}

/* ===== Footer ===== */
.footer {
    background: var(--green-900);
    color: rgba(255, 255, 255, 0.8);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand .logo-accent {
    color: var(--green-500);
}

.footer-tagline {
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 280px;
}

.footer-nav h4,
.footer-contact h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.813rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-500);
    margin-bottom: 20px;
}

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

.footer-nav a {
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-contact p {
    font-size: 0.938rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a {
    color: var(--green-500);
    font-weight: 600;
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 0;
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ===== Scroll Reveal ===== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-up {
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(0);
}

.reveal-right {
    transform: translateX(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal-left {
        opacity: 0;
        transform: translateX(-24px);
    }
    .reveal-right {
        opacity: 0;
        transform: translateX(24px);
    }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }
    .hero-visual {
        min-height: 400px;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-card--1 {
        left: -10px;
    }
    .stat-card--2 {
        right: -10px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 24px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition);
    }
    .nav-menu.open {
        right: 0;
    }
    .nav-menu a {
        font-size: 1.063rem;
    }
    .nav-cta {
        margin-top: 16px;
    }
    .mobile-toggle {
        display: flex;
    }
    .mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 999;
    }
    .mobile-overlay.active {
        display: block;
    }

    .hero {
        padding: 100px 0 0;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-visual {
        min-height: 360px;
        order: -1;
    }
    .hero-image-card {
        aspect-ratio: 4/3;
    }
    .stat-card {
        padding: 12px 16px;
    }
    .stat-number {
        font-size: 1.25rem;
    }
    .stat-label {
        font-size: 0.75rem;
    }
    .stat-card--1 {
        top: 5%;
        left: 5%;
    }
    .stat-card--2 {
        bottom: 20%;
        right: 5%;
    }
    .stat-card--3 {
        bottom: 5%;
        left: 20%;
    }

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

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image {
        aspect-ratio: 4/3;
    }
    .about-content {
        max-width: 100%;
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .btn-lg {
        padding: 14px 24px;
        font-size: 0.938rem;
    }
}
