/* ========================================
   Global Styles & Reset
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Anti-bot honeypot — invisible to humans */
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Skip-navigation link — hidden until focused (WCAG 2.4.1) */
.skip-nav {
    position: absolute;
    left: -9999px;
    top: auto;
    z-index: 10000;
    padding: 0.75rem 1.5rem;
    background: var(--primary-blue);
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
}
.skip-nav:focus {
    left: var(--spacing-md);
    top: var(--spacing-md);
    color: white;
}

/* Global focus indicator for keyboard navigation (WCAG 2.4.7) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}

:root {
    /* Color Palette - Calming & Healing */
    --primary-blue: #2E7D91;
    --secondary-sage: #5A8A80;
    --accent-teal: #3E8A85;
    --soft-cream: #F3F0F7;
    --warm-white: #FDFCFA;
    --text-dark: #2C3E50;
    --text-medium: #5A6C7D;
    --text-light: #5F7181;
    --border-light: #D8E2E7;
    --success-green: #437A58;
    --error-red: #B74A3C;
    --warning-yellow: #E8B563;
    
    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: Georgia, 'Times New Roman', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--warm-white);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ========================================
   Watermark
   ======================================== */
.watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-image: url('../images/WaterMarkHomePage.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.07;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: multiply;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-medium);
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-teal);
}

/* ========================================
   Environment Bar (Dev / Staging)
   ======================================== */
.env-bar {
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 7px 16px;
    color: #fff;
}

.env-bar.env-dev {
    background: #c0392b;
}

.env-bar.env-stage {
    background: #d4a017;
}

/* ========================================
   Header & Navigation
   ======================================== */
header {
    background-color: var(--warm-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--secondary-sage);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
}

/* Offset anchor scroll targets so they clear the sticky header (259px + breathing room) */
:target {
    scroll-margin-top: 280px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-badge {
    width: 225px;
    height: 225px;
    object-fit: contain;
    flex-shrink: 0;
    mix-blend-mode: multiply;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.logo .tagline {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-light);
    margin: 0;
}

nav {
    position: relative;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-links li a {
    padding: var(--spacing-xs) var(--spacing-sm);
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-blue);
    background-color: var(--soft-cream);
}

/* Preserve button styling for CTA in navigation */
.nav-links li a.btn-primary {
    color: white;
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.nav-links li a.btn-primary:hover,
.nav-links li a.btn-primary.active {
    color: white;
    background-color: #347F7A;
    border-color: #347F7A;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 280px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 0.5rem 0 var(--spacing-xs) 0;
    z-index: 1000;
    list-style: none;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: var(--spacing-xs) var(--spacing-md);
    color: var(--text-dark);
    white-space: nowrap;
    transition: all 0.2s ease;
    border-radius: 0;
}

.dropdown-menu li a:hover {
    background-color: var(--soft-cream);
    color: var(--primary-blue);
}

/* ========================================
   Buttons
   ======================================== */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--accent-teal);
    border-color: var(--accent-teal);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--secondary-sage) 0%, var(--primary-blue) 100%);
    color: white;
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.95);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn-secondary {
    background-color: white;
    color: var(--primary-blue);
    border-color: white;
}

.hero .btn-secondary:hover {
    background-color: var(--soft-cream);
    color: var(--primary-blue);
}

/* ========================================
   Sections
   ======================================== */
section {
    padding: var(--spacing-xl) 0;
}

section:nth-child(even) {
    background-color: var(--soft-cream);
}

section h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
}

.intro-text {
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ========================================
   Grid Layouts
   ======================================== */
.approach-grid,
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.approach-card,
.benefit {
    background-color: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.approach-card:hover,
.benefit:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.approach-card h3,
.benefit h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

/* ========================================
   Conditions Section
   ======================================== */
.what-we-treat {
    background-color: white;
}

.conditions-highlights {
    max-width: 800px;
    margin: 0 auto;
}

/* Scoped to home page only — the Conditions PAGE reuses this class name
   on a <section>, which must NOT get display:grid or it breaks on mobile. */
.what-we-treat .conditions-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-sm);
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.what-we-treat .conditions-list li {
    padding: var(--spacing-sm);
    background-color: var(--soft-cream);
    border-left: 4px solid var(--secondary-sage);
    border-radius: var(--radius-sm);
    color: var(--text-medium);
}

.cta-center {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-teal) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-secondary {
    background-color: white;
    color: var(--primary-blue);
    border-color: white;
}

/* ========================================
   Footer
   ======================================== */
footer {
    background-color: var(--text-dark);
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

footer h3, footer h4 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-xs);
}

.footer-tagline {
    font-style: italic;
    font-size: 0.9rem;
}

footer a {
    color: var(--secondary-sage);
}

footer a:hover {
    color: white;
}

.copy-email {
    background: none;
    border: none;
    color: var(--secondary-sage);
    cursor: pointer;
    padding: 0.25rem;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
    vertical-align: middle;
    border-radius: var(--radius-sm);
}

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

.copy-email svg {
    display: inline-block;
    vertical-align: middle;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ========================================
   Forms
   ======================================== */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Fieldset reset (for accessible checkbox/radio groups) */
fieldset.form-group {
    border: none;
    padding: 0;
}
fieldset.form-group legend {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

/* Checkbox Groups */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.checkbox-label {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease;
    font-weight: 400;
}

.checkbox-label:hover {
    background-color: var(--soft-cream);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
    cursor: pointer;
}

/* Highlight entire label row when checkbox receives keyboard focus */
.checkbox-label input[type="checkbox"]:focus-visible {
    outline: none;
}

.checkbox-label:has(input:focus-visible) {
    background-color: var(--soft-cream);
    outline: 3px solid var(--primary-blue);
    outline-offset: 1px;
}

.checkbox-label span {
    user-select: none;
}

.char-counter {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.form-group input.near-limit,
.form-group textarea.near-limit {
    border-color: var(--warning-yellow);
}

.form-group input.at-limit,
.form-group textarea.at-limit {
    border-color: var(--error-red);
}

.error-message {
    color: var(--error-red);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: var(--error-red);
}

.required {
    color: var(--error-red);
}

/* ========================================
   Responsive Design - Tablet & Mobile Navigation
   ======================================== */
@media (max-width: 768px) {
    :target {
        scroll-margin-top: 80px;
    }

    /* Mobile navigation - compact header with hamburger on same row */
    header .container {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        padding: var(--spacing-xs) var(--spacing-md);
    }

    .logo {
        flex: 1 1 auto;
        min-width: 0;
        gap: 0.5rem;
    }

    .header-badge {
        width: 55px;
        height: 55px;
    }

    .logo h1 {
        font-size: 1.15rem;
        margin-bottom: 0.1rem;
    }

    .logo .tagline {
        font-size: 0.7rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    nav {
        flex: 0 0 auto;
        /* static so the menu positions relative to the header, not the narrow nav.
           Fixes Firefox where right:0 on a flex-child containing block shifts the menu off-screen. */
        position: static;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        right: var(--spacing-md);
        left: auto;
        top: 100%;
        width: calc(100vw - 2 * var(--spacing-md));
        max-width: 360px;
        gap: 0;
        background-color: white;
        padding: var(--spacing-sm) 0;
        border-radius: var(--radius-sm);
        box-shadow: var(--shadow-md);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: block;
        padding: var(--spacing-sm);
        border-radius: 0;
    }

    /* Ensure Contact button displays properly in mobile menu */
    .nav-links li a.btn-primary {
        background-color: var(--primary-blue);
        color: white;
        margin: var(--spacing-xs) var(--spacing-sm);
        border-radius: var(--radius-md);
    }

    /* Hide dropdown menu on mobile - direct link only */
    .dropdown-menu {
        display: none !important;
    }

    /* Typography adjustments */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .approach-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* Hide character limit text on tablets */
    .char-counter {
        display: none;
    }
    
    /* Color code form fields approaching limits */
    .form-group input.near-limit,
    .form-group textarea.near-limit {
        background-color: #FFF9E6;
    }
    
    .form-group input.at-limit,
    .form-group textarea.at-limit {
        background-color: #FFE6E6;
    }
}

/* ========================================
   Responsive Design - Extra Small Mobile
   ======================================== */
@media (max-width: 400px) {
    .header-badge {
        width: 36px;
        height: 36px;
    }

    .logo h1 {
        font-size: 1.05rem;
    }

    .logo .tagline {
        display: none;
    }
}

/* ========================================
   Responsive Design - Small Mobile
   ======================================== */
@media (max-width: 576px) {
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary,
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
    }
    
    .what-we-treat .conditions-list {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Page Header
   ======================================== */
.page-header {
    background: linear-gradient(135deg, var(--secondary-sage) 0%, var(--primary-blue) 100%);
    color: white;
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.page-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

/* ========================================
   About Page Styles
   ======================================== */
.about-intro,
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-with-photo {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}
.about-photo {
    flex: 0 0 260px;
}
.about-photo img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}
.about-text {
    flex: 1;
    min-width: 0;
}
@media (max-width: 768px) {
    .about-with-photo {
        flex-direction: column;
        align-items: center;
    }
    .about-photo {
        flex: none;
        width: 200px;
    }
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.credential-card {
    background-color: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary-blue);
}

.credential-card h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

.credential-card .experience {
    color: var(--secondary-sage);
    font-weight: 500;
    font-style: italic;
    margin-top: var(--spacing-sm);
}

.what-makes-different {
    background-color: white;
}

.differences {
    max-width: 900px;
    margin: 0 auto;
}

.difference-item {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-light);
}

.difference-item:last-child {
    border-bottom: none;
}

.difference-item h3 {
    color: var(--primary-blue);
}

.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
}

.philosophy-content blockquote {
    font-size: 1.35rem;
    font-style: italic;
    color: var(--primary-blue);
    margin: 0 0 var(--spacing-lg);
    padding: var(--spacing-md);
    border-left: 4px solid var(--secondary-sage);
    background-color: var(--soft-cream);
    border-radius: var(--radius-sm);
}

.approach-steps {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.step-content h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-xs);
}

/* ========================================
   Services Page Styles
   ======================================== */
.services-overview {
    background-color: white;
}

.services-heading {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-lg);
    font-size: 1.75rem;
}

.treatment-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.treatment-photos img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .treatment-photos {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background-color: white;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.service-card h2 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
    text-align: left;
}

.service-list {
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-md);
}

.service-list li {
    margin-bottom: var(--spacing-xs);
    color: var(--text-medium);
}

.service-card.special-populations {
    border-left: 4px solid var(--secondary-sage);
}

.two-column-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.two-column-list h4 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

.pricing {
    background-color: white;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.price-card {
    background-color: var(--soft-cream);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 2px solid var(--border-light);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.price-card.featured {
    border-color: var(--primary-blue);
    background-color: white;
    box-shadow: var(--shadow-md);
}

.price-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-blue);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
}

.price-card h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-dark);
    margin: var(--spacing-sm) 0;
}

.pricing-notes {
    background-color: var(--soft-cream);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-lg);
}

.pricing-notes h4 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

.pricing-notes ul {
    padding-left: var(--spacing-md);
}

.pricing-notes li {
    margin-bottom: var(--spacing-xs);
    color: var(--text-medium);
}

/* ========================================
   Conditions Page Styles
   ======================================== */
.conditions-intro {
    background-color: white;
}

.condition-card {
    background-color: white;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-blue);
    scroll-margin-top: 280px; /* offset for sticky header */
}

.condition-card h2 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
    text-align: left;
}

.condition-details {
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-md);
}

.condition-details li {
    margin-bottom: var(--spacing-xs);
    color: var(--text-medium);
}

.approach-summary {
    background-color: var(--soft-cream);
}

/* ========================================
   FAQ Page Styles
   ======================================== */
.faq-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    margin-bottom: var(--spacing-sm);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: var(--spacing-md);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--soft-cream);
}

.faq-question h3 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.15rem;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 var(--spacing-md);
}

.faq-item.active .faq-answer {
    max-height: 2000px;
    padding: 0 var(--spacing-md) var(--spacing-md);
}

.faq-answer p {
    margin-bottom: var(--spacing-sm);
}

.faq-answer ul {
    margin: var(--spacing-sm) 0;
    padding-left: var(--spacing-md);
}

.faq-answer li {
    margin-bottom: var(--spacing-xs);
    color: var(--text-medium);
}

.faq-contact {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background-color: var(--soft-cream);
    border-radius: var(--radius-lg);
}

.faq-contact h2 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

/* ========================================
   Contact Page Styles
   ======================================== */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.contact-card {
    background-color: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.contact-card h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

.contact-card a {
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: var(--spacing-xs);
}

.appointment-form-section,
.general-inquiry {
    background-color: white;
}

.form-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--soft-cream);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.form-submit {
    text-align: center;
    margin-top: var(--spacing-md);
}

.form-submit button {
    width: 100%;
    max-width: 300px;
}

.form-note {
    margin-top: var(--spacing-sm);
    font-size: 0.9rem;
    color: var(--text-light);
}

.what-to-expect {
    background-color: var(--soft-cream);
}

.expectations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.expectation-item {
    background-color: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.expectation-item h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

/* ── Legal Pages ── */
.legal-content {
    padding: var(--spacing-lg) 0;
}

.legal-body {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-body h2 {
    color: var(--primary-blue);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.legal-body h3 {
    color: var(--text-dark);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
}

.legal-body ul {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.legal-body li {
    margin-bottom: 0.4rem;
}

.legal-updated {
    max-width: 800px;
    margin: var(--spacing-md) auto 0;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

/* ── Footer Legal Links ── */
.footer-legal {
    text-align: center;
    padding: var(--spacing-sm) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

.footer-divider {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ── Cookie Consent Banner ── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-dark);
    color: white;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-banner-content p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-banner-content a {
    color: var(--secondary-sage);
    text-decoration: underline;
}

.cookie-accept {
    white-space: nowrap;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
}

/* ── Form Consent Text ── */
.form-consent-text {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: var(--spacing-xs);
}

.form-consent-text a {
    color: var(--primary-blue);
    text-decoration: underline;
}

@media (max-width: 576px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
}
