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

:root {
    --plum-50: #faf5ff;
    --plum-100: #f3e8ff;
    --plum-200: #e9d5ff;
    --plum-300: #d8b4fe;
    --plum-400: #c084fc;
    --plum-500: #a855f7;
    --plum-600: #9333ea;
    --plum-700: #7c3aed;
    --plum-800: #6b21a8;
    --plum-900: #581c87;
    --plum-950: #3b0764;

    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;

    --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;
    --stone-950: #0c0a09;

    --white: #ffffff;
    --black: #0a0a0a;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.07), 0 4px 10px -4px rgba(0,0,0,0.05);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--stone-800);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

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

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--plum-700);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 200;
    font-size: 0.875rem;
    font-weight: 500;
}
.skip-link:focus {
    top: 16px;
}

/* ─── Header ─── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--stone-200);
    transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--stone-900);
    font-family: var(--font-serif);
}
.logo:hover { color: var(--plum-700); }

.logo-icon {
    color: var(--plum-600);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.logo-name {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.logo-sub {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--stone-500);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.main-nav ul {
    display: flex;
    gap: 28px;
}
.main-nav a:not(.btn) {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--stone-600);
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
    position: relative;
}
.main-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--plum-600);
    transition: width 0.25s ease;
}
.main-nav a:not(.btn):hover {
    color: var(--plum-700);
}
.main-nav a:not(.btn):hover::after {
    width: 100%;
}

/* Nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 110;
}
.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--stone-700);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.btn--sm {
    padding: 9px 20px;
    font-size: 0.8125rem;
}
.btn--full {
    width: 100%;
}
.btn--primary {
    background: var(--plum-700);
    color: var(--white);
    border: 1.5px solid var(--plum-700);
}
.btn--primary:hover {
    background: var(--plum-800);
    border-color: var(--plum-800);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn--ghost {
    background: transparent;
    color: var(--stone-700);
    border: 1.5px solid var(--stone-300);
}
.btn--ghost:hover {
    border-color: var(--plum-400);
    color: var(--plum-700);
}
.btn--light {
    background: var(--white);
    color: var(--plum-700);
    border: 1.5px solid var(--white);
}
.btn--light:hover {
    background: var(--plum-50);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn--outline-light {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.5);
}
.btn--outline-light:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
}

/* ─── Hero ─── */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 72px;
    overflow: hidden;
    background: var(--stone-50);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 75% 40%, rgba(168, 85, 247, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 10% 90%, rgba(251, 191, 36, 0.06) 0%, transparent 50%);
    pointer-events: none;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0 80px;
    position: relative;
    z-index: 1;
}
.hero-content {
    max-width: 520px;
}
.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--plum-600);
    margin-bottom: 20px;
}
.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--stone-900);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.hero-accent {
    font-style: italic;
    color: var(--plum-700);
    font-weight: 400;
}
.hero-sub {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--stone-600);
    margin-bottom: 36px;
    max-width: 460px;
}
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.hero-credentials {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.cred-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--stone-500);
    font-weight: 400;
}
.cred-item svg {
    color: var(--amber-500);
}
.hero-image {
    position: relative;
}
.hero-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.hero-image::before {
    content: '';
    position: absolute;
    top: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    border: 1.5px solid var(--plum-200);
    border-radius: var(--radius-md);
    z-index: -1;
}
.hero-image::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: -12px;
    width: 80px;
    height: 80px;
    background: var(--amber-100);
    border-radius: var(--radius-sm);
    z-index: -1;
}
.hero-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--stone-200), transparent);
}

/* ─── Section shared ─── */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--plum-600);
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--stone-900);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}
.section-desc {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--stone-500);
    max-width: 520px;
}
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--plum-700);
    margin-top: 28px;
    transition: gap 0.2s ease;
}
.link-arrow:hover {
    gap: 12px;
}
.link-arrow svg {
    color: var(--plum-500);
}

/* ─── Intro ─── */
.intro {
    padding: 120px 0;
}
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.intro-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--stone-600);
    margin-bottom: 18px;
}
.intro-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* ─── Services ─── */
.services {
    padding: 100px 0 120px;
    background: var(--stone-50);
}
.services .section-header {
    text-align: center;
    margin-bottom: 64px;
}
.services .section-desc {
    margin: 0 auto;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-md);
    padding: 36px 32px;
    transition: all 0.3s ease;
}
.service-card:hover {
    border-color: var(--plum-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--plum-50);
    color: var(--plum-700);
    margin-bottom: 20px;
}
.service-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--stone-900);
    margin-bottom: 12px;
}
.service-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--stone-500);
}

/* ─── Why ─── */
.why {
    padding: 120px 0;
}
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.why-content {
    max-width: 480px;
}
.why-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.why-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.why-num {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--plum-300);
    line-height: 1;
    min-width: 36px;
    padding-top: 4px;
}
.why-item-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--stone-800);
    margin-bottom: 6px;
}
.why-item-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--stone-500);
}
.why-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* ─── New Patients ─── */
.new-patients {
    padding: 100px 0 120px;
    background: var(--plum-950);
    color: var(--white);
}
.new-patient-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.new-patients .section-eyebrow {
    color: var(--plum-300);
}
.new-patients .section-title {
    color: var(--white);
}
.new-patient-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--plum-200);
    margin-bottom: 18px;
}
.new-patient-list {
    margin: 28px 0 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.new-patient-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--plum-100);
    line-height: 1.6;
}
.new-patient-list li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--amber-400);
    margin-top: 9px;
}
.new-patient-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* ─── CTA Strip ─── */
.cta-strip {
    padding: 80px 0;
    background: var(--amber-500);
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.cta-headline {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    color: var(--stone-900);
    line-height: 1.3;
    margin-bottom: 8px;
}
.cta-desc {
    font-size: 0.9375rem;
    color: var(--stone-700);
    line-height: 1.6;
}
.cta-desc a {
    color: var(--plum-700);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.cta-desc a:hover {
    color: var(--plum-800);
}
.cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ─── Contact ─── */
.contact {
    padding: 120px 0;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}
.contact-desc {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--stone-500);
    margin-bottom: 36px;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-detail svg {
    flex-shrink: 0;
    color: var(--plum-600);
    margin-top: 2px;
}
.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--stone-400);
    margin-bottom: 4px;
}
.contact-detail address,
.contact-detail time,
.contact-detail a {
    font-style: normal;
    font-size: 0.9375rem;
    color: var(--stone-700);
    line-height: 1.6;
}
.contact-detail a:hover {
    color: var(--plum-700);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ─── Form ─── */
.contact-form-wrap {
    background: var(--stone-50);
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--stone-900);
    margin-bottom: 28px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--stone-700);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--stone-300);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--stone-800);
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--plum-500);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--stone-400);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.form-note {
    font-size: 0.8125rem;
    color: var(--stone-400);
    margin-top: 14px;
    text-align: center;
}
.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px;
    text-align: center;
    color: var(--plum-700);
}
.form-success svg {
    color: var(--plum-500);
}
.form-success p {
    font-size: 0.9375rem;
    color: var(--stone-600);
}

/* ─── Footer ─── */
.site-footer {
    background: var(--stone-900);
    color: var(--stone-400);
    padding: 64px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-brand .logo-icon {
    color: var(--plum-400);
}
.footer-brand .logo-name {
    color: var(--white);
}
.footer-brand .logo-sub {
    color: var(--stone-500);
}
.footer-tagline {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--stone-500);
    margin-top: 16px;
    max-width: 280px;
}
.footer-links nav ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links a {
    font-size: 0.875rem;
    color: var(--stone-400);
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: var(--plum-300);
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.875rem;
    line-height: 1.7;
}
.footer-contact a {
    color: var(--stone-400);
    transition: color 0.2s ease;
}
.footer-contact a:hover {
    color: var(--plum-300);
}
.footer-bottom {
    border-top: 1px solid var(--stone-800);
    padding: 24px 0;
}
.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--stone-600);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .hero-inner {
        gap: 40px;
    }
    .intro-grid,
    .why-grid,
    .new-patient-content,
    .contact-grid {
        gap: 48px;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 24px;
        box-shadow: -8px 0 30px rgba(0,0,0,0.08);
        transition: right 0.35s ease;
        z-index: 105;
    }
    .main-nav.open {
        right: 0;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 20px;
    }
    .main-nav a:not(.btn) {
        font-size: 1rem;
    }

    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 0;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-image {
        order: -1;
    }
    .hero-image img {
        height: 360px;
    }
    .hero-image::before,
    .hero-image::after {
        display: none;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .intro,
    .why,
    .contact {
        padding: 80px 0;
    }
    .intro-grid,
    .why-grid,
    .new-patient-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .intro-image img,
    .why-image img {
        height: 360px;
    }

    .services {
        padding: 80px 0;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }

    .new-patients {
        padding: 80px 0;
    }
    .new-patient-text .btn {
        width: 100%;
        text-align: center;
    }

    .cta-strip {
        padding: 60px 0;
    }
    .cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    .cta-actions .btn {
        width: 100%;
        text-align: center;
    }

    .contact-form-wrap {
        padding: 28px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 18px;
    }
    .hero-headline {
        font-size: 1.875rem;
    }
    .hero-credentials {
        flex-direction: column;
        gap: 12px;
    }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Always visible regardless of JS */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
