/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { display: block; max-width: 100%; }

/* ── Reveal Animations ──────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

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

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ── Navigation ─────────────────────────────────────────── */
.nav-header {
    background: transparent;
}
.nav-header.scrolled {
    background: rgba(36, 16, 44, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
.nav-logo-text {
    transition: color 0.4s ease;
}
.nav-header:not(.scrolled) .nav-logo-text {
    color: #ffffff;
}
.nav-header.scrolled .nav-logo-text {
    color: #ffffff;
}

.nav-link {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #D4A843;
    transition: width 0.3s ease;
}
.nav-link:hover {
    color: #ffffff;
}
.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #D4A843;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}
.nav-cta:hover {
    color: #F5D88A;
}

/* ── Mobile Menu ────────────────────────────────────────── */
.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.hamburger-line {
    display: block;
}
.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}
#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}
.mobile-nav-link {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 300;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}
.mobile-nav-link:hover {
    color: #D4A843;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
    position: relative;
    background: #24102C;
}
.hero-bg {
    z-index: 0;
}
.hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(36, 16, 44, 0.88) 0%,
        rgba(91, 44, 111, 0.72) 50%,
        rgba(36, 16, 44, 0.82) 100%
    );
}
.hero-eyebrow {
    animation: fadeUp 0.8s 0.3s both;
}
.hero-headline {
    animation: fadeUp 0.8s 0.5s both;
}
.hero-subtitle {
    animation: fadeUp 0.8s 0.7s both;
}
.hero-ctas {
    animation: fadeUp 0.8s 0.9s both;
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Buttons ────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #24102C;
    background: #D4A843;
    padding: 16px 32px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}
.btn-primary:hover {
    background: #E5A828;
    transform: translateY(-1px);
}

.btn-primary-shrine {
    display: inline-flex;
    align-items: center;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #24102C;
    background: #D4A843;
    padding: 16px 32px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}
.btn-primary-shrine:hover {
    background: #E5A828;
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 15px 31px;
    text-decoration: none;
    transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

/* ── Divider ────────────────────────────────────────────── */
.divider-line {
    padding: 0;
}

/* ── Service Cards ──────────────────────────────────────── */
.service-card {
    transition: background 0.4s ease;
}
.service-card:hover {
    background: #F9F5FC;
}
.service-icon {
    color: #5B2C6F;
    transition: color 0.3s ease;
}
.service-card:hover .service-icon {
    color: #D4A843;
}

/* ── Patient Cards ──────────────────────────────────────── */
.patient-card {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.patient-card:hover {
    box-shadow: 0 8px 40px rgba(91, 44, 111, 0.08);
    transform: translateY(-2px);
}

/* ── Contact Items ──────────────────────────────────────── */
.contact-item {
    border-left: 1px solid #E8D5F0;
    padding-left: 20px;
}

/* ── Scroll Indicator ───────────────────────────────────── */
.hero-scroll-indicator {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ── Utility ────────────────────────────────────────────── */
::selection {
    background: rgba(91, 44, 111, 0.2);
    color: #24102C;
}
