/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #1a1a2e;
    background: #faf8f6;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; font-weight: 700; }

/* ── Skip Link ── */
.skip-link {
    position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
    padding: 0.75rem 1.5rem; background: #5B2C6F; color: #fff;
    border-radius: 0 0 8px 8px; z-index: 200; font-weight: 500;
}
.skip-link:focus { top: 0; }

/* ── Container ── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Typography ── */
.section-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #F59E0B;
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #2D1B4E;
    margin-bottom: 1rem;
}
.section-desc {
    font-size: 1.125rem;
    color: #555;
    max-width: 640px;
    line-height: 1.8;
}

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.875rem 1.75rem; border-radius: 50px;
    font-weight: 500; font-size: 1rem;
    transition: all 0.3s ease; white-space: nowrap;
}
.btn-primary {
    background: #F59E0B; color: #1a1a2e;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}
.btn-primary:hover { background: #D97706; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45); }
.btn-secondary {
    background: rgba(255,255,255,0.15); color: #fff;
    border: 1.5px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.25); }
.btn-ghost {
    background: transparent; color: #5B2C6F;
    border: 1.5px solid #5B2C6F;
}
.btn-ghost:hover { background: #5B2C6F; color: #fff; }
.btn-large { padding: 1.125rem 2.25rem; font-size: 1.0625rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Header ── */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(250, 248, 246, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(91, 44, 111, 0.08);
    transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(91, 44, 111, 0.1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 0.625rem; color: #2D1B4E; font-weight: 600; font-size: 0.9375rem; }
.logo-icon { color: #5B2C6F; }
.logo-text { display: none; }
@media (min-width: 768px) { .logo-text { display: block; } }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-menu { display: flex; align-items: center; gap: 0.25rem; }
.nav-menu a {
    padding: 0.5rem 0.875rem; border-radius: 8px;
    font-size: 0.9375rem; font-weight: 400; color: #333;
    transition: all 0.2s ease;
}
.nav-menu a:hover { color: #5B2C6F; background: rgba(91, 44, 111, 0.06); }
.nav-cta {
    background: #5B2C6F !important; color: #fff !important;
    border-radius: 50px !important; font-weight: 500 !important;
    margin-left: 0.5rem;
}
.nav-cta:hover { background: #4A235A !important; }
.nav-toggle { display: none; padding: 0.5rem; }
.nav-toggle-lines { display: flex; flex-direction: column; gap: 5px; width: 22px; }
.nav-toggle-lines span { display: block; height: 2px; background: #2D1B4E; border-radius: 2px; transition: all 0.3s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .nav-menu {
        position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
        background: rgba(250, 248, 246, 0.98); backdrop-filter: blur(12px);
        flex-direction: column; padding: 2rem; gap: 0.5rem;
        transform: translateX(100%); transition: transform 0.35s ease;
        overflow-y: auto;
    }
    .nav-menu.open { transform: translateX(0); }
    .nav-menu a { font-size: 1.125rem; padding: 0.875rem 1rem; width: 100%; }
    .nav-cta { margin-left: 0 !important; margin-top: 0.5rem; text-align: center; }
}

/* ── Hero ── */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    overflow: hidden; padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #2D1B4E 0%, #5B2C6F 35%, #7C3AED 65%, #C026D3 100%);
}
.hero-gradient { position: absolute; inset: 0; z-index: 0; }
.hero-pattern { position: absolute; inset: 0; z-index: 0; opacity: 0.6; }
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 860px; padding: 4rem 1.5rem; }
.hero-eyebrow {
    font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.15em;
    text-transform: uppercase; color: #F59E0B; margin-bottom: 1.25rem;
}
.hero-headline {
    font-size: clamp(2.25rem, 5.5vw, 4.25rem);
    color: #fff; margin-bottom: 1.5rem; font-weight: 800;
    line-height: 1.1;
}
.hero-headline em { font-style: italic; color: #FDE68A; }
.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.2rem); color: rgba(255,255,255,0.8);
    max-width: 640px; margin: 0 auto 2.5rem; line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3.5rem; }
.hero-trust { display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.trust-item { text-align: center; }
.trust-number { display: block; font-family: 'Playfair Display', serif; font-size: 1.75rem; font-weight: 700; color: #FDE68A; }
.trust-label { font-size: 0.8125rem; color: rgba(255,255,255,0.65); }
.trust-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }
@media (max-width: 480px) {
    .hero-trust { flex-direction: column; gap: 1.25rem; }
    .trust-divider { width: 40px; height: 1px; }
}

/* ── Services ── */
.services { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-desc { margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.service-card {
    background: #fff; border-radius: 16px; padding: 2rem;
    border: 1px solid rgba(91, 44, 111, 0.08);
    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, #5B2C6F, #F59E0B);
    transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(91, 44, 111, 0.12); }
.service-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(91,44,111,0.08), rgba(91,44,111,0.04));
    display: flex; align-items: center; justify-content: center;
    color: #5B2C6F; margin-bottom: 1.25rem;
}
.service-card h3 { font-size: 1.25rem; color: #2D1B4E; margin-bottom: 0.75rem; }
.service-card p { color: #666; font-size: 0.9375rem; line-height: 1.75; }

/* ── About ── */
.about { padding: 6rem 0; background: #fff; }
.about-inner { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.about-image-wrap { position: relative; }
.about-image-wrap img { border-radius: 20px; width: 100%; height: 100%; object-fit: cover; }
.about-image-accent {
    position: absolute; bottom: -20px; right: -20px; width: 120px; height: 120px;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    border-radius: 20px; z-index: -1;
}
@media (min-width: 768px) {
    .about-inner { grid-template-columns: 1fr 1.2fr; }
    .about-image-accent { bottom: -30px; right: -30px; width: 160px; height: 160px; }
}
.about-content .section-title { margin-bottom: 1.25rem; }
.about-content > p { color: #555; margin-bottom: 1rem; line-height: 1.85; }
.about-values { margin-top: 2rem; display: grid; gap: 0.875rem; }
.value-item { display: flex; align-items: center; gap: 0.75rem; font-size: 1rem; color: #333; }
.value-icon { color: #F59E0B; flex-shrink: 0; }

/* ── Conditions ── */
.conditions { padding: 6rem 0; }
.conditions-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 3rem; }
.condition-group {
    background: #fff; border-radius: 20px; padding: 2.5rem;
    border: 1px solid rgba(91, 44, 111, 0.08);
}
.condition-group-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem; color: #2D1B4E; margin-bottom: 1.25rem;
    padding-bottom: 0.75rem; border-bottom: 2px solid #F59E0B;
    display: inline-block;
}
.condition-list { display: grid; gap: 0.625rem; }
.condition-list li {
    display: flex; align-items: flex-start; gap: 0.75rem;
    font-size: 0.9375rem; color: #555; line-height: 1.6;
}
.condition-list li::before {
    content: ''; flex-shrink: 0; width: 8px; height: 8px;
    background: #5B2C6F; border-radius: 50%; margin-top: 0.5rem;
}
@media (min-width: 768px) { .conditions-grid { grid-template-columns: 1fr 1fr; } }

/* ── Patient Info ── */
.patient-info { padding: 6rem 0; background: #fff; }
.patient-info-inner { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.patient-info-content .section-title { margin-bottom: 1rem; }
.patient-info-content > p { color: #555; line-height: 1.85; margin-bottom: 2rem; }
.patient-info-visual img { border-radius: 20px; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .patient-info-inner { grid-template-columns: 1.2fr 1fr; } }

/* ── Accordion ── */
.accordion-item { border: 1px solid rgba(91, 44, 111, 0.1); border-radius: 12px; margin-bottom: 0.75rem; overflow: hidden; background: #faf8f6; }
.accordion-header {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 1.125rem 1.5rem; text-align: left; font-size: 1rem;
    font-weight: 500; color: #2D1B4E; transition: background 0.2s ease;
}
.accordion-header:hover { background: rgba(91, 44, 111, 0.04); }
.accordion-header[aria-expanded="true"] { color: #5B2C6F; }
.accordion-icon { color: #F59E0B; flex-shrink: 0; transition: transform 0.3s ease; }
.accordion-header[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.accordion-body {
    max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
}
.accordion-body.open { max-height: 300px; }
.accordion-body p { padding: 0 1.5rem 1.25rem; color: #666; font-size: 0.9375rem; line-height: 1.8; }

/* ── CTA Banner ── */
.cta-banner {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2D1B4E 0%, #5B2C6F 50%, #7C3AED 100%);
    text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(245,158,11,0.15) 0%, transparent 60%);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-eyebrow { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: #F59E0B; margin-bottom: 1rem; }
.cta-title { font-size: clamp(1.75rem, 4vw, 2.75rem); color: #fff; margin-bottom: 1rem; }
.cta-desc { font-size: 1.125rem; color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 2rem; line-height: 1.8; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Contact ── */
.contact { padding: 6rem 0; }
.contact-inner { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.contact-info .section-title { margin-bottom: 1rem; }
.contact-desc { color: #555; line-height: 1.85; margin-bottom: 2rem; }
.contact-details { display: grid; gap: 1.5rem; }
.contact-detail { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { color: #5B2C6F; flex-shrink: 0; margin-top: 0.125rem; }
.contact-detail strong { display: block; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: #2D1B4E; margin-bottom: 0.25rem; font-family: 'Inter', sans-serif; }
.contact-detail span, .contact-detail a { font-size: 0.9375rem; color: #555; }
.contact-detail a:hover { color: #5B2C6F; }
.contact-detail p { font-size: 0.9375rem; color: #555; }
@media (min-width: 900px) { .contact-inner { grid-template-columns: 1fr 1.1fr; } }

/* ── Form ── */
.contact-form-wrap {
    background: #fff; border-radius: 20px; padding: 2.5rem;
    border: 1px solid rgba(91, 44, 111, 0.08);
    box-shadow: 0 8px 40px rgba(91, 44, 111, 0.06);
}
.form-title { font-size: 1.5rem; color: #2D1B4E; margin-bottom: 0.5rem; }
.form-desc { color: #666; font-size: 0.9375rem; margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 1.125rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 500; color: #333; margin-bottom: 0.375rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 0.75rem 1rem; border: 1.5px solid #e5e0f0;
    border-radius: 10px; font-size: 0.9375rem; font-family: 'Inter', sans-serif;
    color: #1a1a2e; background: #faf8f6; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: #5B2C6F;
    box-shadow: 0 0 0 3px rgba(91, 44, 111, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-privacy { font-size: 0.8125rem; color: #999; text-align: center; margin-top: 1rem; }
.form-success {
    text-align: center; padding: 2rem;
    color: #5B2C6F;
}
.form-success svg { margin: 0 auto 1rem; color: #5B2C6F; }
.form-success h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.form-success p { color: #666; font-size: 0.9375rem; }

/* ── Footer ── */
.site-footer { background: #1a1a2e; color: rgba(255,255,255,0.6); padding: 3rem 0 1.5rem; }
.footer-top { display: flex; flex-direction: column; gap: 1.5rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 1.5rem; }
.footer-logo { display: flex; align-items: center; gap: 0.625rem; color: #fff; font-weight: 600; font-size: 0.875rem; }
.footer-logo-icon { color: #F59E0B; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer-nav a { font-size: 0.875rem; color: rgba(255,255,255,0.5); transition: color 0.2s ease; }
.footer-nav a:hover { color: #F59E0B; }
.footer-bottom { display: flex; flex-direction: column; gap: 0.375rem; font-size: 0.8125rem; }
.footer-bottom a { color: rgba(255,255,255,0.5); transition: color 0.2s ease; }
.footer-bottom a:hover { color: #F59E0B; }
@media (min-width: 768px) {
    .footer-top { flex-direction: row; align-items: center; justify-content: space-between; }
    .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ── Back to Top ── */
.back-to-top {
    position: fixed; bottom: 2rem; right: 2rem; width: 44px; height: 44px;
    background: #5B2C6F; color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: translateY(20px); transition: all 0.3s ease;
    z-index: 50; box-shadow: 0 4px 15px rgba(91, 44, 111, 0.3);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: #4A235A; transform: translateY(-2px); }

/* ── Animations ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
