:root {
    --th-primary: #ef6c00;
    --th-primary-hover: #e65100;
    --th-accent: #26a69a;
    --th-accent-light: #4dd0c5;
    --th-dark: #0d3a32;
    --th-dark-alt: #1a5c50;
    --th-dark-deep: #0a2a24;
    --th-text: #333333;
    --th-text-secondary: #757575;
    --th-text-light: rgba(255, 255, 255, 0.88);
    --th-text-muted: rgba(255, 255, 255, 0.6);
    --th-card-bg: rgba(255, 255, 255, 0.88);
    --th-card-border: rgba(255, 255, 255, 0.95);
    --th-shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06), 0 8px 40px rgba(0, 0, 0, 0.04);
    --th-shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.12), 0 24px 64px rgba(0, 0, 0, 0.08);
    --th-shadow-hero: 0 20px 60px rgba(0, 0, 0, 0.3);
    --th-radius: 20px;
    --th-radius-sm: 12px;
    --th-font-heading: 'Montserrat', sans-serif;
    --th-font-body: 'Lato', sans-serif;
}

/* ========================
   ARCHIVE PAGE
   ======================== */

.painpro-therapists-archive {
    font-family: var(--th-font-body);
    color: var(--th-text);
    overflow-x: hidden;
}

/* ---- Hero Section ---- */
.therapists-hero {
    position: relative;
    height: 45vh;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 24px 50px;
    background-image: url('/wp-content/uploads/2026/05/therapists-hero.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    text-align: center;
}

/* Floating glow effects */
.therapists-hero::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(39, 207, 195, 0.35) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: floatGlow1 14s ease-in-out infinite;
    pointer-events: none;
}

.therapists-hero::after {
    content: '';
    position: absolute;
    bottom: -120px;
    right: -150px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(239, 108, 0, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: floatGlow2 18s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatGlow1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    50% { transform: translate(30px, -20px) scale(1.15); opacity: 0.9; }
}

@keyframes floatGlow2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(-20px, 25px) scale(1.1); opacity: 0.8; }
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 46, 40, 0.82) 0%, rgba(20, 61, 54, 0.75) 50%, rgba(10, 34, 30, 0.85) 100%);
    z-index: 1;
}

.therapists-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--th-font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.therapists-hero h1 {
    font-family: var(--th-font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.75rem;
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.therapists-hero .hero-highlight {
    background: linear-gradient(135deg, var(--th-accent-light) 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #ffffff;
    margin: 0 0 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    font-family: var(--th-font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--th-primary);
    line-height: 1;
    display: block;
}

.hero-stat .stat-label {
    font-size: 0.8rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* ---- Filters Section (Redesigned: Compact Horizontal Bar) ---- */

/* Outer wrapper — remove heavy background, keep minimal spacing */
.therapists-filters-wrap {
    background: transparent;
    padding: 16px 24px 0;
    position: relative;
    z-index: 2;
}

/* Inner bar — single horizontal row, no card/chrome */
.therapists-filters {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 8px 0;
    background: transparent;
    border-radius: 0;
    border: none;
    box-shadow: none;
    height: auto;
    max-height: 60px;
}

/* Filter group — inline, no vertical stack */
.filter-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    flex: 1;
    min-width: 0;
    position: relative;
}

/* Hide ALL CAPS labels visually but keep for screen readers */
.filter-group label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Modern Select Styling ── */
.filter-group select {
    height: 44px;
    padding: 0 40px 0 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
    cursor: pointer;
    font-family: var(--th-font-body);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Select hover */
.filter-group select:hover {
    border-color: #d1d5db;
    transform: translateY(-1px);
}

/* Select focus — blue ring */
.filter-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    background-color: #ffffff;
    transform: scale(1.01);
}

/* Active filter indicator: left blue border when non-default selected (:has() supported browsers) */
.filter-group:has(select option:checked:not([value=""])) select {
    border-left: 2px solid #3b82f6;
    padding-left: 14px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-left-color 0.3s ease;
}

/* ── Search Input Styling ── */
.filter-search {
    flex: 1.4;
    min-width: 160px;
}

.filter-search label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.filter-search input {
    height: 44px;
    padding: 0 16px 0 40px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    font-size: 0.875rem;
    color: #111827;
    font-family: var(--th-font-body);
    cursor: text;
    width: 100%;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-search input:hover {
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.filter-search input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    background-color: #ffffff;
    transform: scale(1.01);
}

.filter-search input::placeholder {
    color: #9ca3af;
}

/* ── Reset Button ── */
.filter-reset {
    flex: 0 0 auto;
    min-width: 0;
}

.filter-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    font-family: var(--th-font-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: #6b7280;
    cursor: default;
    transition: color 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    white-space: nowrap;
}

.filter-reset-btn.is-active {
    color: #6b7280;
    cursor: pointer;
    pointer-events: auto;
}

.filter-reset-btn.is-active:hover {
    color: #374151;
}

.filter-reset-btn.is-active:hover svg {
    transform: rotate(-15deg);
    transition: transform 0.2s ease;
}

.filter-reset-btn svg {
    transition: transform 0.2s ease;
}

/* ── Active Filter Pills ── */
.filter-active-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding-top: 12px;
    max-width: 1400px;
    margin: 0 auto;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #3b82f6;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease, background 0.2s ease;
    border: none;
    font-family: var(--th-font-body);
}

.filter-pill:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
}

.filter-pill .pill-remove {
    font-size: 1rem;
    line-height: 1;
}

/* ── Results Count ── */
.results-count {
    text-align: center;
    padding-top: 8px;
    font-size: 0.8rem;
    color: #9ca3af;
}

/* ========================
   BOOKING OVERLAY (Card)
   ======================== */

.therapist-booking-overlay {
    position: absolute;
    inset: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--th-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: scaleY(0);
    transform-origin: bottom center;
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s;
    overflow: hidden;
}

.therapist-booking-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
}

/* Card hover/transform disabled when overlay open */
.therapist-card.overlay-open,
.therapist-card.overlay-open:hover {
    transform: none;
    box-shadow: var(--th-shadow-card);
}

.therapist-card.overlay-open::before {
    opacity: 0;
}

/* Close button */
.booking-overlay-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    color: var(--th-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 1;
}

.booking-overlay-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--th-text);
    transform: rotate(90deg);
}

.booking-overlay-close svg {
    width: 14px;
    height: 14px;
}

/* Overlay content */
.booking-overlay-content {
    padding: 32px 20px 20px;
    text-align: center;
    width: 100%;
}

.booking-overlay-title {
    font-family: var(--th-font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--th-text-secondary);
    margin: 0 0 16px;
}

.booking-overlay-clinics {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
}

.booking-overlay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    font-family: var(--th-font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--th-dark);
    background: rgba(13, 58, 50, 0.06);
    border: 1.5px solid rgba(13, 58, 50, 0.12);
    border-radius: var(--th-radius-sm);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.booking-overlay-btn:hover {
    background: var(--th-dark);
    color: #ffffff;
    border-color: var(--th-dark);
    transform: translateY(-1px);
}

.booking-overlay-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.booking-overlay-btn:hover svg {
    opacity: 1;
}

.booking-overlay-btn--highlight {
    background: linear-gradient(135deg, var(--th-primary) 0%, var(--th-primary-hover) 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(239, 108, 0, 0.25);
}

.booking-overlay-btn--highlight svg {
    opacity: 1;
}

.booking-overlay-btn--highlight:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 108, 0, 0.35);
}

@media (max-width: 640px) {
    .booking-overlay-content {
        padding: 36px 18px 18px;
    }
    .booking-overlay-btn {
        padding: 12px 16px;
        font-size: 0.8rem;
        min-height: 44px;
    }
    .booking-overlay-close {
        width: 44px;
        height: 44px;
        top: 6px;
        right: 6px;
    }
    .booking-overlay-clinics {
        gap: 10px;
    }
}

/* ========================
   BOOKING DROPDOWN (Single Therapist Hero)
   ======================== */

.therapist-booking {
    position: relative;
}

.booking-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 280px;
    white-space: nowrap;
    background: #ffffff;
    border-radius: var(--th-radius);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s;
}

.booking-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.booking-dropdown-title {
    font-family: var(--th-font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--th-text-secondary);
    margin: 0 0 16px;
}

.booking-dropdown-clinics {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.booking-dropdown-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    font-family: var(--th-font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--th-dark);
    background: rgba(13, 58, 50, 0.06);
    border: 1.5px solid rgba(13, 58, 50, 0.12);
    border-radius: var(--th-radius-sm);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    min-height: 44px;
}

.booking-dropdown-btn:hover {
    background: var(--th-dark);
    color: #ffffff;
    border-color: var(--th-dark);
    transform: translateY(-1px);
}

.booking-dropdown-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.booking-dropdown-btn:hover svg {
    opacity: 1;
}

@media (max-width: 640px) {
    .booking-dropdown {
        left: 0;
        right: 0;
        min-width: unset;
        white-space: normal;
    }
}

/* ---- Grid Section ---- */
.therapists-grid-section {
    padding: 20px 24px 60px;
    background: linear-gradient(180deg, #f0faf9 0%, #e0f2f1 30%, #d4ede9 70%, #e8f5f3 100%);
    position: relative;
    overflow: hidden;
}

.therapists-grid-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(39, 207, 195, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(239, 108, 0, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.therapists-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ---- Therapist Card ---- */
.therapist-card {
    background: var(--th-card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--th-radius);
    overflow: hidden;
    box-shadow: var(--th-shadow-card);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.3s ease;
    border: 1px solid var(--th-card-border);
    position: relative;
    display: flex;
    flex-direction: column;
}

.therapist-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--th-accent), var(--th-primary));
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 10;
}

.therapist-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--th-shadow-hover);
}

.therapist-card:hover::before {
    opacity: 1;
}

.therapist-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    flex-grow: 1;
}

.therapist-photo-wrap {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #edf2f7 0%, #e2e8f0 100%);
}

.therapist-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.therapist-card:hover .therapist-photo-wrap img {
    transform: scale(1.08);
}

.therapist-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
}

.therapist-photo-placeholder span {
    font-family: var(--th-font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: #94a3b8;
}

.therapist-card-body {
    padding: 20px 18px 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.therapist-card-name {
    font-family: var(--th-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--th-dark);
    margin: 0 0 6px;
    line-height: 1.25;
}

.therapist-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
}

.credential-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--th-primary);
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 4px;
    border: 1px solid rgba(239, 108, 0, 0.15);
}

.therapist-service-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
}

.service-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--th-accent);
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.therapist-excerpt {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--th-text-secondary);
    margin: 0 0 12px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.therapist-card-clinics {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 0;
}

.clinic-mini-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--th-text-secondary);
    background: #f1f5f9;
    border-radius: 4px;
}

.clinic-mini-badge svg {
    width: 10px;
    height: 10px;
    opacity: 0.6;
}

.therapist-card-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 18px 18px;
}

.card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: var(--th-radius-sm);
    font-family: var(--th-font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    border: none;
}

.card-btn-outline {
    color: var(--th-dark);
    background: transparent;
    border: 1.5px solid rgba(13, 58, 50, 0.2);
}

.card-btn-outline:hover {
    background: var(--th-dark);
    color: #ffffff;
    border-color: var(--th-dark);
    transform: translateY(-1px);
}

.card-btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--th-primary) 0%, var(--th-primary-hover) 100%);
    box-shadow: 0 4px 16px rgba(239, 108, 0, 0.3);
}

.card-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(239, 108, 0, 0.45);
    filter: brightness(1.08);
}

/* No results */
.no-results-state {
    text-align: center;
    padding: 80px 24px;
    max-width: 500px;
    margin: 0 auto;
}

.no-results-state .no-results-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.4;
}

.no-results-state h3 {
    font-family: var(--th-font-heading);
    font-size: 1.5rem;
    color: var(--th-dark);
    margin-bottom: 0.5rem;
}

.no-results-state p {
    color: var(--th-text-secondary);
    margin-bottom: 1.5rem;
}

.no-results-state .card-btn-primary {
    display: inline-block;
}

/* ========================
   SINGLE THERAPIST PAGE
   ======================== */

.single-therapist {
    font-family: var(--th-font-body);
    color: var(--th-text);
    overflow-x: hidden;
}

/* ---- Single Hero ---- */
.therapist-single-hero {
    position: relative;
    z-index: 3;
    padding: 140px 24px 80px;
    background: linear-gradient(135deg, var(--th-dark) 0%, var(--th-dark-alt) 50%, var(--th-dark-deep) 100%);
    overflow: visible;
}

.therapist-single-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -150px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(39, 207, 195, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: floatGlow1 16s ease-in-out infinite;
    pointer-events: none;
}

.therapist-single-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(239, 108, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: floatGlow2 20s ease-in-out infinite;
    pointer-events: none;
}

.therapist-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.therapist-hero-photo {
    position: relative;
}

.therapist-photo-frame {
    border-radius: var(--th-radius);
    overflow: hidden;
    box-shadow: var(--th-shadow-hero);
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, #1a3a36 0%, #0d3a32 100%);
}

.therapist-photo-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.therapist-photo-frame .therapist-photo-placeholder {
    aspect-ratio: 3/4;
}

.therapist-photo-glow {
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: calc(var(--th-radius) + 3px);
    background: linear-gradient(135deg, var(--th-accent) 0%, var(--th-primary) 50%, var(--th-accent-light) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    filter: blur(12px);
}

.therapist-photo-frame:hover .therapist-photo-glow {
    opacity: 0.4;
}

.therapist-hero-details {
    padding-top: 8px;
}

.therapist-hero-details .therapist-title {
    font-family: var(--th-font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px;
    line-height: 1.2;
}

.therapist-credentials-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.credential-pill {
    display: inline-block;
    padding: 3px 10px;
    font-family: var(--th-font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.credential-pill.teal {
    color: var(--th-accent-light);
    background: rgba(39, 207, 195, 0.15);
    border: 1px solid rgba(39, 207, 195, 0.25);
}

.credential-pill.orange {
    color: #ffcc80;
    background: rgba(239, 108, 0, 0.15);
    border: 1px solid rgba(239, 108, 0, 0.25);
}

.therapist-experience {
    font-size: 0.95rem;
    color: var(--th-text-muted);
    margin: 0 0 16px;
}

.therapist-service-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.service-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
}

.service-badge.teal {
    color: var(--th-accent-light);
    background: rgba(39, 207, 195, 0.15);
    border: 1px solid rgba(39, 207, 195, 0.25);
}

.service-badge.orange {
    color: #ffcc80;
    background: rgba(239, 108, 0, 0.15);
    border: 1px solid rgba(239, 108, 0, 0.25);
}

.therapist-clinics {
    margin-bottom: 20px;
}

.clinics-label {
    font-family: var(--th-font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--th-text-muted);
    display: block;
    margin-bottom: 6px;
}

.clinic-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--th-text-light);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2px 6px 2px 0;
    transition: all 0.2s ease;
}

.clinic-badge:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.2);
}

.therapist-booking {
    margin-top: 4px;
}

.booking-heading {
    font-family: var(--th-font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--th-text-muted);
    margin: 0 0 10px;
}

.booking-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.booking-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--th-font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--th-primary) 0%, var(--th-primary-hover) 100%);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 24px rgba(239, 108, 0, 0.35);
    border: none;
    cursor: pointer;
}

.booking-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(239, 108, 0, 0.5);
    filter: brightness(1.1);
    color: #ffffff;
}

.booking-btn svg {
    transition: transform 0.3s ease;
}

.booking-btn:hover svg {
    transform: translateX(3px);
}

/* ---- Hero Bio (inline) ---- */
.therapist-hero-bio {
    margin: 16px 0 20px;
}

.bio-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
}

.bio-excerpt p {
    margin-bottom: 12px;
}

.bio-full {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
}

.bio-full p {
    margin-bottom: 12px;
}

.bio-full p:last-child {
    margin-bottom: 0;
}

.bio-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    font-family: var(--th-font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--th-accent-light);
    text-decoration: none;
    transition: all 0.2s ease;
}

.bio-toggle:hover {
    color: #ffffff;
}

.bio-toggle svg {
    transition: transform 0.3s ease;
}

/* ---- Specialties Section ---- */
.therapist-specialties-section {
    padding: 80px 24px 120px;
    background: #ffffff;
}

.therapist-specialties-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.therapist-specialties {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
}

.specialty-card {
    flex: 0 1 480px;
    max-width: 520px;
    padding: 32px;
    background: linear-gradient(135deg, #f8fffe 0%, #f0faf9 100%);
    border-radius: var(--th-radius);
    border: 1px solid rgba(39, 207, 195, 0.15);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.specialty-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.specialty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--th-accent), var(--th-accent-light));
    border-radius: 2px 2px 0 0;
}

.specialty-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.specialty-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.specialty-card .specialty-card-icon {
    background: linear-gradient(135deg, var(--th-accent) 0%, var(--th-accent-light) 100%);
    box-shadow: 0 4px 16px rgba(39, 207, 195, 0.3);
}

.specialty-card-icon svg {
    width: 22px;
    height: 22px;
    color: #ffffff;
}

.specialty-card h3 {
    font-family: var(--th-font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--th-dark);
    margin: 0;
}

.specialty-list {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--th-body);
    margin: 0;
}

/* ---- Booking Section (Single) ---- */
.therapist-booking-section {
    padding: 50px 24px;
    background: linear-gradient(135deg, var(--th-dark) 0%, var(--th-dark-alt) 100%);
    position: relative;
    overflow: hidden;
}

.therapist-booking-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(39, 207, 195, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.booking-section-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.booking-section-title {
    font-family: var(--th-font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
}

.booking-section-subtitle {
    font-size: 1rem;
    color: var(--th-text-muted);
    margin: 0 0 24px;
}

.booking-section-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.booking-location-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--th-font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--th-text-light);
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.booking-location-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: #ffffff;
}

/* ---- Breadcrumb (inside hero) ---- */
.therapist-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    font-family: var(--th-font-heading);
    font-size: 0.85rem;
    opacity: 0.85;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.therapist-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.therapist-breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.therapist-breadcrumb .breadcrumb-sep {
    opacity: 0.5;
}

.therapist-breadcrumb .breadcrumb-current {
    color: #ffffff;
    font-weight: 600;
}

/* ========================
   RESPONSIVE
   ======================== */

@media (max-width: 1200px) {
    .therapists-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    .therapist-hero-inner {
        grid-template-columns: 280px 1fr;
        gap: 36px;
    }
}

@media (max-width: 1024px) {
    .therapists-hero h1 {
        font-size: 2.5rem;
    }
    .therapist-hero-inner {
        grid-template-columns: 260px 1fr;
        gap: 32px;
    }
    .therapist-hero-details .therapist-title {
        font-size: 1.85rem;
    }
}

@media (max-width: 900px) {
    .therapists-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .therapist-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }
    .therapist-hero-photo {
        max-width: 300px;
        margin: 0 auto;
    }
    .therapist-hero-details {
        padding-top: 0;
    }
    .therapist-service-badges,
    .therapist-clinics,
    .therapist-credentials-row {
        justify-content: center;
    }
    .booking-links {
        justify-content: center;
    }
    .therapist-hero-bio {
        text-align: left;
    }
    .therapist-breadcrumb {
        justify-content: center;
    }
    .therapist-specialties {
        flex-direction: column;
        align-items: center;
    }
    .specialty-card {
        flex: 0 1 auto;
        max-width: 600px;
        width: 100%;
    }
}

/* ── Filter Mobile Breakpoint (<768px) ── */
@media (max-width: 768px) {
    .therapists-hero {
        height: auto;
        min-height: 320px;
        padding: 80px 20px 60px;
    }

    .therapists-filters-wrap {
        padding: 12px 16px 0;
    }
    .therapists-filters {
        flex-wrap: wrap;
        gap: 8px;
        max-height: none;
        padding: 4px 0;
    }
    .filter-group {
        flex: 1 1 100%;
    }
    .filter-group select,
    .filter-search input {
        width: 100%;
    }
    .filter-reset-btn {
        padding: 8px 0;
    }
}

@media (max-width: 640px) {
    .therapists-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
    .therapists-hero {
        padding: 60px 20px 70px;
    }
    .therapists-hero h1 {
        font-size: 2rem;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    .therapist-single-hero {
        padding: 50px 20px 50px;
    }
    .therapist-hero-details .therapist-title {
        font-size: 1.6rem;
    }
    .therapist-hero-bio {
        margin: 12px 0 16px;
    }
    .bio-excerpt,
    .bio-full {
        font-size: 0.86rem;
    }
    .therapist-breadcrumb {
        font-size: 0.78rem;
    }
    .therapist-specialties-section {
        padding-left: 20px;
        padding-right: 20px;
    }
    .specialty-card {
        max-width: 100%;
    }
    .specialty-list {
        font-size: 0.88rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .therapists-hero {
        padding: 50px 16px 80px;
    }
    .therapists-hero h1 {
        font-size: 1.6rem;
    }
    .hero-eyebrow {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .therapist-card-footer {
        grid-template-columns: 1fr;
    }
    .card-btn {
        padding: 10px 12px;
        font-size: 0.75rem;
    }
    .booking-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    .booking-location-btn {
        padding: 10px 18px;
        font-size: 0.75rem;
    }
}

/* ========================
   ANIMATIONS
   ======================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.therapist-card {
    animation: fadeInUp 0.5s ease both;
}

.therapist-card:nth-child(1) { animation-delay: 0s; }
.therapist-card:nth-child(2) { animation-delay: 0.06s; }
.therapist-card:nth-child(3) { animation-delay: 0.12s; }
.therapist-card:nth-child(4) { animation-delay: 0.18s; }
.therapist-card:nth-child(5) { animation-delay: 0.24s; }
.therapist-card:nth-child(6) { animation-delay: 0.30s; }
.therapist-card:nth-child(7) { animation-delay: 0.36s; }
.therapist-card:nth-child(8) { animation-delay: 0.42s; }
.therapist-card:nth-child(9) { animation-delay: 0.48s; }
.therapist-card:nth-child(10) { animation-delay: 0.54s; }
.therapist-card:nth-child(11) { animation-delay: 0.60s; }
.therapist-card:nth-child(12) { animation-delay: 0.66s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .therapist-card {
        animation: none;
    }
    .therapists-hero::before,
    .therapists-hero::after,
    .therapist-single-hero::before,
    .therapist-single-hero::after {
        animation: none;
    }
    .therapists-filters-wrap select,
    .therapists-filters-wrap input,
    .filter-reset-btn,
    .filter-reset-btn svg,
    .filter-pill {
        transition: none !important;
        transform: none !important;
    }
}

/* ========================
   GLOBAL NAV & FOOTER
   Exact match of homepage CSS rules
   ======================== */

:root {
    --nav-bg: #ffffff;
    --nav-text: #333333;
    --nav-hover: #26a69a;
    --nav-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --dropdown-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

header.sticky {
    position: fixed;
    padding: 0;
    top: 0;
}

.navbar {
    background: var(--nav-bg);
    border-radius: 50px;
    padding: 12px 30px;
    box-shadow: var(--nav-shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    width: 95%;
    margin: 0 auto;
    transition: all 0.35s ease;
}

header.sticky .navbar {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    padding: 10px 5%;
}

.logo img {
    height: 45px;
    display: block;
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links>li {
    position: relative;
}

.nav-links>li>a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--nav-text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-links>li>a:hover {
    background: rgba(38, 166, 154, 0.08);
    color: var(--nav-hover);
}

.nav-links>li>a.active {
    color: var(--nav-hover);
}

.nav-arrow {
    width: 10px;
    height: 10px;
    transition: transform 0.25s ease;
}

.nav-links>li:hover .nav-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--dropdown-shadow);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    list-style: none;
    margin-top: 8px;
}

.nav-links>li:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--nav-text);
    text-decoration: none;
    transition: all 0.15s ease;
}

.dropdown-menu li a:hover {
    background: rgba(38, 166, 154, 0.06);
    color: var(--nav-hover);
}

.dropdown-menu .has-submenu {
    position: relative;
}

.dropdown-menu .has-submenu>a .sub-arrow {
    transition: transform 0.2s ease;
}

.dropdown-menu .has-submenu:hover>a .sub-arrow {
    transform: translateX(3px);
}

.dropdown-inner {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--dropdown-shadow);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.2s ease;
    list-style: none;
    margin-left: 8px;
}

.dropdown-menu .has-submenu:hover>.dropdown-inner {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.btn-primary {
    background: #ef6c00;
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #e65100;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 108, 0, 0.3);
}

#menuToggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    z-index: 1001;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.menu-icon span {
    height: 2px;
    width: 100%;
    background: var(--nav-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

#menuOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1998;
}

#menuOverlay.active {
    opacity: 1;
    visibility: visible;
}

#mobileNav {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 380px;
    height: 100%;
    background: #fff;
    z-index: 1999;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

#mobileNav.open {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-header .logo img {
    height: 36px;
}

#menuClose {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--nav-text);
}

#menuClose svg {
    width: 24px;
    height: 24px;
}

.mobile-nav-list {
    list-style: none;
    padding: 16px 0;
    margin: 0;
    flex: 1;
}

.mobile-nav-list>li {
    border-bottom: 1px solid #f5f5f5;
}

.mobile-nav-list>li>a,
.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--nav-text);
    text-decoration: none;
    background: none;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: background 0.15s ease;
}

.mobile-nav-list>li>a:hover,
.mobile-dropdown-toggle:hover {
    background: rgba(38, 166, 154, 0.04);
}

.mobile-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.25s ease;
}

.mobile-dropdown.open>.mobile-dropdown-toggle .mobile-arrow {
    transform: rotate(180deg);
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: #fafafa;
}

.mobile-dropdown.open>.mobile-dropdown-content {
    max-height: 800px;
}

.mobile-dropdown-content li a {
    display: block;
    padding: 14px 24px 14px 40px;
    font-size: 0.95rem;
    color: #555;
    text-decoration: none;
    transition: all 0.15s ease;
}

.mobile-dropdown-content li a:hover {
    background: rgba(38, 166, 154, 0.06);
    color: var(--nav-hover);
}

.services-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 24px 14px 40px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #555;
    background: none;
    border: none;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.services-toggle .mobile-arrow {
    transition: transform 0.25s ease;
}

.services-toggle.open .mobile-arrow {
    transform: rotate(180deg);
}

.services-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-list li a {
    padding-left: 56px;
    font-weight: 400;
    color: #666;
}

.mobile-nav-footer {
    padding: 20px 24px;
    border-top: 1px solid #f0f0f0;
}

.mobile-nav-footer .btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px;
}

/* Footer */
.painpro-site-footer { background: linear-gradient(180deg, #1a2a32 0%, #0f1a1f 100%); color: #fff; padding: 2.5rem 0 1.5rem; }
.painpro-site-footer .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; gap: 1.5rem; }
.footer-brand { max-width: 400px; }
.footer-logo { height: 50px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-tagline { color: rgba(255,255,255,.7); font-size: .95rem; line-height: 1.6; margin: 0; }
.footer-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-cta .btn-primary { background: var(--th-primary, #ef6c00); color: #fff; padding: 12px 24px; border-radius: 50px; font-weight: 600; text-decoration: none; transition: all .3s ease; }
.footer-cta .btn-primary:hover { background: var(--th-primary-hover, #e65100); transform: translateY(-2px); }
.footer-cta .btn-outline-light { background: transparent; border: 2px solid rgba(255,255,255,.3); color: #fff; padding: 12px 24px; border-radius: 50px; font-weight: 600; text-decoration: none; transition: all .3s ease; }
.footer-cta .btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 1.5rem; }
.footer-col h3 { color: var(--th-accent, #26a69a); margin-bottom: .75rem; font-size: .95rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: .4rem; }
.footer-col ul li a { color: rgba(255,255,255,.7); text-decoration: none; font-size: .85rem; transition: color .3s ease; }
.footer-col ul li a:hover { color: var(--th-accent, #26a69a); }
.social-icons { display: flex; gap: .75rem; margin-top: .75rem; }
.social-icons a { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: #fff; transition: all .3s ease; }
.social-icons a:hover { background: var(--th-accent, #26a69a); transform: translateY(-3px); }
.footer-awards { text-align: center; padding: 1rem 0; margin-bottom: 1rem; border-top: 1px solid rgba(255,255,255,.1); }
.footer-awards h4 { color: var(--th-accent, #26a69a); font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.awards-logos { display: flex; justify-content: center; align-items: center; gap: 2rem; flex-wrap: wrap; }
.awards-logos img { height: 60px; width: auto; object-fit: contain; transition: transform .3s ease; }
.awards-logos img:hover { transform: scale(1.1); }
.footer-payment { text-align: center; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 1rem; color: rgba(255,255,255,.6); font-size: .85rem; }
.footer-payment span:first-child { margin-right: .5rem; font-weight: 600; color: rgba(255,255,255,.8); }
.payment-logos { display: flex; justify-content: center; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .5rem; }
.payment-logos svg { height: 22px; width: auto; border-radius: 4px; transition: transform .2s ease; }
.payment-logos svg:hover { transform: translateY(-2px); }
.copyright { text-align: center; color: rgba(255,255,255,.5); font-size: .85rem; }
.copyright a { color: rgba(255,255,255,.5); text-decoration: none; transition: color .3s ease; }
.copyright a:hover { color: var(--th-accent, #26a69a); }

/* Nav/Footer Responsive */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    #menuToggle { display: block; }
    .navbar { padding: 8px 20px; }
}
@media (max-width: 768px) {
    header { position: relative; padding: 0; }
    .navbar { width: 100%; border-radius: 0; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-icons { justify-content: center; }
}
