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

:root {
    --plum-50: #faf5ff;
    --plum-100: #f3e8ff;
    --plum-200: #e9d5ff;
    --plum-300: #d8b4fe;
    --plum-400: #c084fc;
    --plum-500: #a855f7;
    --plum-600: #9333ea;
    --plum-700: #7e22ce;
    --plum-800: #5B2C6F;
    --plum-900: #3b0764;
    --plum-950: #1a0520;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #F59E0B;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;
    --neutral-950: #0a0a0a;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--neutral-800);
    background: var(--neutral-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* ─── NAVBAR ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--ease-out-expo);
}

.navbar.scrolled {
    background: rgba(91, 44, 111, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.navbar-inner {
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    flex-shrink: 0;
}

.logo-icon {
    color: var(--amber-400);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.7;
    display: block;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-cta {
    display: none;
}

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

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s var(--ease-out-expo);
    white-space: nowrap;
}

.btn-primary {
    background: var(--amber-500);
    color: var(--neutral-900);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    background: var(--amber-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-amber {
    background: var(--amber-500);
    color: var(--neutral-900);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-amber:hover {
    background: var(--amber-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
    border-radius: 14px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--plum-950) 0%, var(--plum-800) 30%, #7B2D8B 60%, var(--plum-700) 100%);
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--amber-500) 0%, transparent 70%);
    top: -10%;
    right: -5%;
    opacity: 0.25;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--plum-400) 0%, transparent 70%);
    bottom: -15%;
    left: -10%;
    opacity: 0.4;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--amber-300) 0%, transparent 70%);
    top: 40%;
    left: 30%;
    opacity: 0.15;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 100px;
    color: var(--amber-300);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--amber-400);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    color: white;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.text-amber {
    color: var(--amber-400);
}

.text-plum {
    color: var(--plum-300);
}

.text-white {
    color: white;
}

.hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    animation: float 3s ease-in-out infinite;
}

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

/* ─── SECTION HEADERS ─── */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--amber-600);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--neutral-900);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--neutral-600);
    line-height: 1.7;
    font-weight: 300;
}

/* ─── SERVICES ─── */
.services {
    padding: 120px 0;
    background: white;
}

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

.service-card {
    padding: 40px 32px;
    border-radius: 20px;
    background: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--plum-600), var(--amber-500));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(91, 44, 111, 0.1);
    border-color: var(--plum-200);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--plum-700), var(--plum-600));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.05);
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--neutral-600);
    line-height: 1.7;
    font-weight: 300;
}

/* ─── ABOUT ─── */
.about {
    padding: 120px 0;
    background: var(--neutral-50);
}

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

.about-image-wrap {
    position: relative;
}

.about-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(91, 44, 111, 0.15);
    position: relative;
    z-index: 1;
}

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

.about-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--amber-400), var(--amber-500));
    border-radius: 24px;
    z-index: 0;
    opacity: 0.3;
}

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

.about-text {
    font-size: 1.05rem;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 300;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 36px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--neutral-700);
}

.about-feature svg {
    color: var(--amber-500);
    flex-shrink: 0;
}

/* ─── PATIENTS ─── */
.patients {
    padding: 120px 0;
    background: white;
}

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

.patients-content {
    max-width: 500px;
}

.patients-desc {
    font-size: 1.05rem;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: 48px;
    font-weight: 300;
}

.patient-groups {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.patient-group {
    display: flex;
    gap: 24px;
    align-items: start;
}

.pg-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--plum-200);
    line-height: 1;
    flex-shrink: 0;
    margin-top: 4px;
}

.patient-group h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 6px;
}

.patient-group p {
    font-size: 0.95rem;
    color: var(--neutral-600);
    line-height: 1.7;
    font-weight: 300;
}

.patients-image-stack {
    position: relative;
    height: 500px;
}

.pi-card {
    border-radius: 20px;
    overflow: hidden;
    position: absolute;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.pi-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pi-card-1 {
    width: 280px;
    height: 350px;
    top: 0;
    right: 0;
    z-index: 2;
}

.pi-card-2 {
    width: 240px;
    height: 200px;
    bottom: 0;
    right: 60px;
    z-index: 1;
}

/* ─── CTA SECTION ─── */
.cta-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--plum-950) 0%, var(--plum-800) 50%, #6B1D7F 100%);
}

.cta-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.cta-bg .orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--amber-500) 0%, transparent 70%);
    top: -20%;
    left: -10%;
    opacity: 0.2;
}

.cta-bg .orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--plum-400) 0%, transparent 70%);
    bottom: -20%;
    right: -5%;
    opacity: 0.3;
}

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

.cta-title {
    color: white !important;
}

.cta-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-weight: 300;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-divider {
    text-align: center;
    position: relative;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cta-divider::before,
.cta-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 40px);
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.cta-divider::before { left: 0; }
.cta-divider::after { right: 0; }

/* ─── LOCATION ─── */
.location {
    padding: 120px 0;
    background: var(--neutral-50);
}

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

.location-info {
    max-width: 480px;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 48px;
}

.loc-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.loc-item svg {
    color: var(--plum-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.loc-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 4px;
}

.loc-item p {
    font-size: 0.95rem;
    color: var(--neutral-600);
    line-height: 1.6;
    font-weight: 300;
}

.loc-item a {
    color: var(--plum-600);
    text-decoration: none;
    transition: color 0.2s ease;
}

.loc-item a:hover {
    color: var(--plum-700);
    text-decoration: underline;
}

.location-map {
    border-radius: 20px;
    overflow: hidden;
    min-height: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

/* ─── FOOTER ─── */
.footer {
    background: var(--neutral-950);
    padding: 80px 0 0;
    color: white;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    max-width: 300px;
}

.logo-light {
    color: white;
}

.footer-tagline {
    margin-top: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    font-weight: 300;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.footer-col a,
.footer-col p {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s ease;
    line-height: 1.5;
    font-weight: 300;
}

.footer-col a:hover {
    color: var(--amber-400);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: var(--amber-400);
}

/* ─── SCROLL REVEAL ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .patients-layout,
    .cta-inner,
    .location-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-content,
    .patients-content,
    .location-info {
        max-width: 100%;
    }

    .patients-image-stack {
        height: 400px;
    }
}

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

    .mobile-toggle {
        display: flex;
    }

    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(91, 44, 111, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        justify-content: center;
        align-items: center;
        gap: 8px;
        z-index: 999;
    }

    .nav-links.mobile-open .nav-link {
        font-size: 1.5rem;
        padding: 16px 24px;
    }

    .hero {
        padding: 100px 24px 60px;
        min-height: 100svh;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .hero-scroll {
        display: none;
    }

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

    .services,
    .about,
    .patients,
    .cta-section,
    .location {
        padding: 80px 0;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .patients-image-stack {
        height: 320px;
    }

    .pi-card-1 {
        width: 220px;
        height: 280px;
    }

    .pi-card-2 {
        width: 180px;
        height: 150px;
        right: 20px;
    }

    .cta-inner {
        gap: 48px;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
    }

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