/* Header */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 1.5rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-inverted);
    letter-spacing: -0.02em;
}

.brand span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--text-inverted);
}

/* Hero Section */
.hero {
    position: relative;
    background: var(--primary);
    color: var(--text-inverted);
    padding-top: 8rem;
    padding-bottom: 4rem;
    overflow: hidden;
    border-bottom-left-radius: var(--radius-xl);
    border-bottom-right-radius: var(--radius-xl);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(197, 160, 89, 0.15), transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    color: var(--text-inverted);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero .lead {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.hero-stats-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1 1 150px; /* Grow, shrink, basis */
}

.stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Services / Practice */
.services {
    background: var(--background);
}

.service-card {
    background: var(--surface);
    padding: 0;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid var(--border);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.service-card-media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
}

.service-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-weight: 400;
}

.service-link {
    margin-top: auto;
    font-weight: 600;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-link:hover {
    color: var(--primary);
}

/* Symptoms Section */
.symptom-card {
    background: var(--background);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.symptom-card:hover {
    border-color: var(--secondary);
    transform: translateY(-3px);
}

.symptom-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.symptom-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

/* Why Choose */
.why-choose {
    background: var(--primary);
    color: var(--text-inverted);
    border-radius: var(--radius-xl);
    margin: 2rem 1rem;
    overflow: hidden; /* For border radius */
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

.why-content h2 {
    color: var(--text-inverted);
}

.why-content p {
    color: rgba(255, 255, 255, 0.8);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--secondary);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--text-inverted);
    font-size: 0.75rem;
    margin-top: 0.2rem;
}

.feature-text h4 {
    color: var(--text-inverted);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-family: var(--font-sans);
    font-weight: 700;
}

.feature-text p {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
}

/* Process */
.process-steps {
    counter-reset: step;
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
    grid-template-columns: 1fr; /* Default mobile */
}

.process-step {
    position: relative;
    background: var(--background);
    padding: 2.5rem 2rem 2rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    text-align: center;
}

.process-step::before {
    counter-increment: step;
    content: counter(step);
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    color: var(--secondary);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: left;
    color: var(--primary);
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
}

.faq-icon::after, .faq-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background: var(--secondary);
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.faq-icon::before {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-trigger[aria-expanded="true"] .faq-icon::before {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-content {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

.faq-trigger[aria-expanded="true"] + .faq-content {
    height: auto;
    padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

/* CTA */
.cta-section {
    background: var(--gradient-accent);
    border-radius: var(--radius-xl);
    padding: 4rem 2rem;
    text-align: center;
    margin: 2rem 1rem;
    color: var(--text-inverted);
    box-shadow: var(--shadow-xl);
}

.cta-section h2 {
    color: var(--text-inverted);
    font-family: var(--font-serif);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* Footer */
.footer {
    background: var(--surface);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
    grid-template-columns: 1fr; /* Mobile */
}

.footer-brand h4 {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-serif);
    margin-bottom: 1rem;
    color: var(--primary);
}

.footer-links h5 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-family: var(--font-sans);
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-body);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Contact Page Styles */
.contact-page {
    padding: 5rem 0;
    background: var(--background);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.contact-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-family: var(--font-serif);
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-list div {
    display: flex;
    flex-direction: column;
}

.contact-list span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-list a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
}

.contact-checklist, .contact-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.contact-checklist li, .contact-steps li {
    position: relative;
    padding-left: 2rem;
    color: var(--text-body);
}

.contact-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

.contact-steps {
    counter-reset: contact-steps;
}

.contact-steps li {
    padding-left: 2.5rem;
}

.contact-steps li::before {
    content: counter(contact-steps);
    counter-increment: contact-steps;
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--primary);
    color: var(--text-inverted);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Prose (SEO Text) */
.prose {
    max-width: 800px;
    margin: 0 auto;
}

.prose h2, .prose h3 {
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

/* Responsive Tweaks */
@media (min-width: 768px) {
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .why-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .process-step {
        text-align: left;
        padding-left: 5rem;
        padding-top: 2rem;
    }

    .process-step::before {
        position: absolute;
        left: 1.5rem;
        top: 2rem;
        margin: 0;
    }
}

/* Mobile Navigation - Base Styles (Hidden on Desktop) */
.mobile-menu,
.mobile-backdrop,
.mobile-toggle,
.mobile-menu-container {
    display: none;
}

@media (max-width: 1024px) {
    .nav-links.desktop-only {
        display: none;
    }

    .btn.desktop-only {
        display: none;
    }
    
    .mobile-menu-container {
        display: block;
    }

    .mobile-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 60;
    }

    .mobile-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--text-inverted);
        border-radius: 2px;
        transition: var(--transition);
    }

    .mobile-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(10, 17, 40, 0.8); /* Dark Navy */
        backdrop-filter: blur(4px);
        z-index: 55;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .mobile-backdrop.is-active {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-menu {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(300px, 80vw);
        background: var(--primary);
        padding: 2rem;
        z-index: 60;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 20px rgba(0,0,0,0.2);
        flex-direction: column;
    }

    .mobile-menu.is-open {
        transform: translateX(0);
    }

    .mobile-menu-header {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 3rem;
    }

    .mobile-close {
        background: transparent;
        border: none;
        color: var(--text-inverted);
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
    }

    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-nav-links a {
        font-size: 1.25rem;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 600;
        display: block;
    }
}