/* -------------------------------------------------------------
   Mindlap Platform - Core CSS Stylesheet
   Designed with premium, modern, and calming aesthetics
   ------------------------------------------------------------- */

/* Custom Variables */
:root {
    --primary-color: #4A2E80;
    --primary-hover: #3b2269;
    --primary-light: #5E3A9E;
    --accent-color: #8E66DE;
    --accent-soft: #D7C6F7;
    --bg-calm: #FBF9FE;
    --bg-white: #FFFFFF;
    --bg-lavender: #F4EEFD;
    --text-main: #2C2B30;
    --text-muted: #6E6D75;
    --text-light: #8C8B94;
    --success-color: #10B981;
    --success-light: #ECFDF5;
    --white: #FFFFFF;
    --border-light: rgba(142, 102, 222, 0.15);
    
    /* Typography */
    --font-heading: 'Outfit', 'Segoe UI', sans-serif;
    --font-body: 'Plus Jakarta Sans', 'Inter', sans-serif;
    
    /* Layout */
    --max-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-round: 50px;
    
    /* Shadows & Transitions */
    --shadow-soft: 0 10px 30px rgba(74, 46, 128, 0.04);
    --shadow-medium: 0 15px 35px rgba(74, 46, 128, 0.08);
    --shadow-glass: 0 8px 32px 0 rgba(74, 46, 128, 0.05);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets & styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-calm);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.25;
}

p {
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout container */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Button UI Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--radius-round);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(74, 46, 128, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(74, 46, 128, 0.35);
}

.btn-secondary {
    background-color: var(--bg-lavender);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--accent-soft);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
}

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

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

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.35);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-lg {
    padding: 14px 36px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* Icons */
.icon-inline {
    width: 1.2rem;
    height: 1.2rem;
    stroke-width: 2;
    margin-right: 8px;
}

.icon-sm {
    width: 1rem;
    height: 1rem;
}

.icon-contact {
    width: 1.1rem;
    height: 1.1rem;
    margin-right: 12px;
    color: var(--accent-color);
    flex-shrink: 0;
}

/* Gradients & badges */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 30%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge-calm {
    display: inline-flex;
    align-items: center;
    background-color: var(--bg-lavender);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: var(--radius-round);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Section Common Styles */
section {
    padding: 90px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Custom indicator components */
.dot-green {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--success-color);
    display: inline-block;
}

.dot-green.pulsing {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}


/* -------------------------------------------------------------
   NAVBAR STYLES
   ------------------------------------------------------------- */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
    animation: slideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.navbar-header.scrolled {
    background-color: rgba(251, 249, 254, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(142, 102, 222, 0.06);
    box-shadow: var(--shadow-soft);
    padding: 6px 0;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    overflow: visible;
    flex: 1 1 0;
}

.logo-img {
    height: 42px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-chevron {
    display: inline-block;
    font-size: 0.7rem;
    margin-left: 4px;
    transition: var(--transition-smooth);
}

.dropdown-link:hover .nav-chevron {
    transform: rotate(180deg);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1 1 0;
    justify-content: flex-end;
}

.btn-login {
    border: 1.5px solid rgba(74, 46, 128, 0.15);
    color: var(--text-main);
}

.btn-login:hover {
    border-color: var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-smooth);
}


/* -------------------------------------------------------------
   HERO SECTION
   ------------------------------------------------------------- */
.hero-section {
    padding-top: 160px;
    padding-bottom: 150px;
    background: radial-gradient(100% 100% at 70% 0%, rgba(215, 198, 247, 0.35) 0%, rgba(251, 249, 254, 0) 100%);
    overflow: hidden;
}

/* Decorative title divider */
.title-divider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    margin-top: -8px;
}

.divider-line {
    width: 36px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: var(--radius-round);
}

.divider-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

/* Decorative bottom organic waves */
.hero-waves {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
    line-height: 0;
    z-index: 10;
    pointer-events: none;
}

.hero-waves svg {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
}

.hero-bg-shapes .shape-1 {
    width: 400px;
    height: 400px;
    background-color: rgba(142, 102, 222, 0.1);
    top: 5%;
    right: -10%;
}

.hero-bg-shapes .shape-2 {
    width: 300px;
    height: 300px;
    background-color: rgba(94, 58, 158, 0.05);
    bottom: 10%;
    left: -10%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 500px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn-explore {
    background-color: rgba(142, 102, 222, 0.06);
    border: 1.5px solid rgba(142, 102, 222, 0.25);
    color: var(--primary-color);
    box-shadow: 0 10px 24px rgba(142, 102, 222, 0.1);
}

.btn-explore:hover {
    background-color: rgba(142, 102, 222, 0.12);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(142, 102, 222, 0.18);
}

.hero-media {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 460px;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    background: radial-gradient(circle, rgba(215, 198, 247, 0.65) 0%, rgba(251, 249, 254, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-illustration {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    animation: float-slow 6s ease-in-out infinite;
}

/* Animations & Keyframes */
@keyframes float-slow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

/* Entry Animation Classes */
.hero-content {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-media {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

/* Hero Indicators Row */
.hero-indicators {
    border-top: none;
    background-color: transparent;
    padding: 36px 0;
    margin-top: 48px;
}

.indicators-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.indicator-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.indicator-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-lavender);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.indicator-icon svg {
    width: 22px;
    height: 22px;
}

.indicator-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.indicator-info p {
    font-size: 0.8rem;
    color: var(--text-light);
}


/* -------------------------------------------------------------
   FEELING GRID SECTION
   ------------------------------------------------------------- */
.services-section {
    background-color: var(--bg-calm);
}

.feeling-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.feeling-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.feeling-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--border-light);
}

.feeling-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.feeling-svg {
    width: 48px;
    height: 48px;
    transition: var(--transition-smooth);
}

.feeling-card:hover .feeling-svg {
    transform: scale(1.1);
}

.feeling-card h3 {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-main);
}


/* -------------------------------------------------------------
   STARTING IS SIMPLE WORKFLOW
   ------------------------------------------------------------- */
.steps-section {
    background-color: var(--bg-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 56px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: repeating-linear-gradient(to right, transparent, transparent 4px, var(--accent-soft) 4px, var(--accent-soft) 12px);
    z-index: 1;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number-bubble {
    width: 32px;
    height: 32px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin: 0 auto -16px auto;
    position: relative;
    z-index: 4;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--bg-lavender);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    border: 4px solid var(--bg-white);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.step-item:hover .step-icon {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

.step-icon svg {
    width: 28px;
    height: 28px;
}

.step-item h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.step-item p {
    font-size: 0.88rem;
    padding: 0 16px;
}


/* -------------------------------------------------------------
   THERAPIST SECTION
   ------------------------------------------------------------- */
.therapists-section {
    background-color: #FFFFFF;
    padding: 96px 0 40px 0;
}

.therapists-section .therapists-header {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin-bottom: 52px;
}

.therapists-section .section-title {
    font-size: 3.3rem;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

/* Own line, with room below so background-clip text doesn't shave the "y" */
.therapists-section .section-title .text-gradient {
    display: block;
    padding-bottom: 0.08em;
}

.therapists-section .section-subtitle {
    max-width: 580px;
    margin: 0 auto;
    font-size: 1.12rem;
    line-height: 1.6;
}

/* Decorations either side of the heading, anchored to the section */
.therapists-note {
    position: absolute;
    top: 128px;
    left: clamp(24px, 10vw, 280px);
    text-align: center;
    color: #7D7890;
    transform: rotate(-12deg);
    pointer-events: none;
}

.therapists-note-text {
    font-family: 'Caveat', 'Segoe Script', cursive;
    font-size: 1.55rem;
    font-weight: 500;
    line-height: 1.2;
}

.therapists-note-heart {
    width: 22px;
    height: 22px;
    margin-top: 6px;
    color: var(--accent-color);
}

.therapists-wave {
    position: absolute;
    top: 252px;
    left: 0;
    width: clamp(260px, 26vw, 520px);
    height: 110px;
    color: rgba(142, 102, 222, 0.3);
    pointer-events: none;
}

.therapists-plant {
    position: absolute;
    top: 136px;
    right: clamp(16px, 4vw, 120px);
    width: clamp(180px, 15vw, 290px);
    height: auto;
    pointer-events: none;
}

/* Cards always paint above the decorations */
.therapists-section .therapist-grid-new {
    position: relative;
    z-index: 1;
}

/* Below this the decorations would crowd the centred heading */
@media (max-width: 1180px) {
    .therapists-note,
    .therapists-wave,
    .therapists-plant {
        display: none;
    }
}

@media (max-width: 1024px) {
    .therapists-section {
        padding-top: 72px;
    }

    .therapists-section .section-title {
        font-size: 2.6rem;
    }
}

@media (max-width: 768px) {
    .therapists-section {
        padding-top: 56px;
    }

    .therapists-section .therapists-header {
        margin-bottom: 32px;
    }

    .therapists-section .section-title {
        font-size: 2.1rem;
        margin-bottom: 14px;
    }

    .therapists-section .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .therapists-section .section-title {
        font-size: 1.8rem;
    }
}

/* ---- New 3-col therapist grid ---- */
.therapist-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ---- TC Card ---- */
.tc-card {
    background: var(--bg-white);
    border-radius: 18px;
    border: 1px solid #ECEBEF;
    box-shadow: 0 4px 20px rgba(20, 18, 28, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.tc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(20, 18, 28, 0.09);
    border-color: #DEDCE4;
}

/* -- Top section: identity left, avatar right -- */
.tc-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px 18px 16px 20px;
    gap: 12px;
}

.tc-identity {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.tc-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
    margin: 0;
}

.tc-role {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    margin: 0;
}

.tc-lang-badge {
    display: inline-block;
    background-color: #F3F3F5;
    color: #4A4952;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-round);
    margin-top: 4px;
    width: fit-content;
}

/* -- Avatar area -- */
.tc-avatar-wrap {
    position: relative;
    width: 88px;
    height: 88px;
    flex-shrink: 0;
}

.tc-avatar-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px dashed #E2E1E7;
    animation: tc-spin 18s linear infinite;
}

@keyframes tc-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.tc-avatar-placeholder {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-lavender) 0%, rgba(142, 102, 222, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tc-avatar-placeholder svg {
    width: 44px;
    height: 44px;
    color: var(--accent-color);
    opacity: 0.7;
}

/* Inner photo circle */
.tc-avatar-inner {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 2px #FFFFFF, 0 4px 14px rgba(20, 18, 28, 0.12);
}

/* Avatar photo image */
.tc-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
    filter: none !important;
}

/* -- Divider -- */
.tc-divider {
    height: 1px;
    background: #F0EFF3;
    margin: 0 20px;
}

/* -- Body: specializations + description -- */
.tc-body {
    padding: 14px 20px 12px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tc-specs-header {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-main);
    font-size: 0.78rem;
    font-weight: 700;
}

.tc-spec-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.tc-spec-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    padding-left: 2px;
}

.tc-spec-dot {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tc-spec-dot::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #B9B7C2;
    flex-shrink: 0;
}

/* -- Footer: price, language, button -- */
.tc-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px 16px 20px;
    border-top: 1px solid #F0EFF3;
    background: #FAFAFB;
    margin-top: auto;
}

.tc-price-info,
.tc-lang-info {
    display: flex;
    align-items: center;
    gap: 7px;
}

.tc-rupee-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #F3F3F5;
    color: #4A4952;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.tc-globe-icon {
    width: 26px;
    height: 26px;
    color: #8C8B94;
    opacity: 0.75;
    flex-shrink: 0;
}

.tc-price-text,
.tc-lang-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.tc-price-text strong,
.tc-lang-text strong {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-main);
}

.tc-price-text small,
.tc-lang-text small {
    font-size: 0.63rem;
    color: var(--text-light);
}

.tc-view-btn {
    margin-left: auto;
    padding: 8px 18px !important;
    font-size: 0.76rem !important;
    border-radius: var(--radius-round) !important;
    white-space: nowrap;
    flex-shrink: 0;
}


/* -------------------------------------------------------------
   SELF-ASSESSMENT SECTION
   ------------------------------------------------------------- */
.self-check-section {
    padding: 48px 0;
    background: linear-gradient(180deg, #FBF9FE 0%, #F5F1FD 100%);
    overflow: hidden;
}

.self-check-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(420px 320px at 96% 4%, rgba(142, 102, 222, 0.12), transparent 70%),
        radial-gradient(380px 300px at 2% 96%, rgba(142, 102, 222, 0.10), transparent 70%);
}

.self-check-section .container {
    position: relative;
    z-index: 1;
}

.assessment-card {
    max-width: 880px;
    margin: 0 auto;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(142, 102, 222, 0.10);
    box-shadow: var(--shadow-medium);
    padding: 40px;
}

/* The picker shows its cards straight on the section background. */
.assessment-card.is-picking {
    max-width: 1120px;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
}

/* Screens */
.assessment-screen {
    display: none;
}

.assessment-screen.active {
    display: block;
    animation: assessmentFade 0.35s ease both;
}

@keyframes assessmentFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Intro */
.assessment-intro {
    text-align: center;
    margin-bottom: 24px;
}

.assessment-eyebrow {
    display: inline-block;
    padding: 8px 20px;
    margin-bottom: 16px;
    border-radius: var(--radius-round);
    background-color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(142, 102, 222, 0.25);
    color: var(--accent-color);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.assessment-heading {
    font-size: 2.2rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.assessment-sub {
    font-size: 1.02rem;
    color: var(--text-muted);
}

/* Focus area cards */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.category-tile {
    display: block;
    padding: 0;
    text-align: left;
    background-color: var(--bg-white);
    border: 1px solid rgba(142, 102, 222, 0.10);
    border-radius: var(--radius-lg);
    overflow: hidden;
    font-family: var(--font-body);
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(74, 46, 128, 0.07);
    transition: var(--transition-smooth);
}

.category-tile:hover {
    transform: translateY(-6px);
    border-color: rgba(142, 102, 222, 0.28);
    box-shadow: 0 20px 42px rgba(74, 46, 128, 0.16);
}

.category-media {
    display: block;
    position: relative;
    aspect-ratio: 2 / 1;
    overflow: hidden;
}

.category-scene {
    display: block;
    width: 100%;
    height: 100%;
}

/* Artwork sits over the drawn scene. Biased upward so faces and the
   top of the frame survive the 16:9 crop rather than the floor. */
.category-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

.category-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.92);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(31, 18, 58, 0.18);
}

.category-svg {
    width: 19px;
    height: 19px;
}

.category-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 18px 16px;
}

.category-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.category-label {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
}

.category-blurb {
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--text-muted);
}

.category-arrow {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--bg-lavender);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.category-arrow svg {
    width: 17px;
    height: 17px;
}

.category-tile:hover .category-arrow {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateX(3px);
}

/* Closing note */
.assessment-footnote {
    margin-top: 20px;
    text-align: center;
}

.assessment-script {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 10px;
}

.assessment-script::before,
.assessment-script::after {
    content: '';
    height: 1px;
    width: min(120px, 16vw);
    background-color: rgba(142, 102, 222, 0.35);
}

.assessment-script span {
    font-family: 'Caveat', 'Segoe Script', cursive;
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--primary-light);
}

/* Questions */
.assessment-question {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 24px;
    color: var(--text-main);
}

.scale-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.scale-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background-color: var(--bg-white);
    border: 1px solid rgba(142, 102, 222, 0.10);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 550;
    color: var(--text-main);
    text-align: left;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.scale-option:hover {
    border-color: var(--accent-color);
    background-color: var(--bg-lavender);
    color: var(--primary-color);
    transform: translateX(4px);
}

.scale-option.is-selected {
    border-color: var(--accent-color);
    background-color: var(--bg-lavender);
}

.scale-value {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-lavender);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.scale-option:hover .scale-value,
.scale-option.is-selected .scale-value {
    background-color: var(--primary-color);
    color: var(--white);
}

.assessment-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    padding: 0;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.assessment-back svg {
    width: 16px;
    height: 16px;
}

.assessment-back:hover {
    color: var(--primary-color);
}

/* Result */
.result-head {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.result-ring {
    flex-shrink: 0;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-ring-inner {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background-color: var(--bg-calm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
}

.result-score {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
}

.result-total {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
}

.result-band {
    display: inline-block;
    padding: 5px 12px;
    border-radius: var(--radius-round);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.result-band-low {
    background-color: var(--success-light);
    color: #0F7B5A;
}

.result-band-mild {
    background-color: #FEF6E7;
    color: #9A6300;
}

.result-band-moderate {
    background-color: #FDF0E7;
    color: #A8501D;
}

.result-band-high {
    background-color: #FDECEC;
    color: #B3261E;
}

.result-title {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.result-description {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.result-crisis {
    background-color: #FDECEC;
    border: 1px solid #F6C9C6;
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin-bottom: 24px;
}

.result-crisis strong {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-heading);
    color: #B3261E;
}

.result-crisis p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-main);
}

.result-crisis a {
    color: #B3261E;
    font-weight: 700;
}

.result-rec {
    background-color: var(--bg-white);
    border: 1.5px dashed var(--accent-soft);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 24px;
}

.result-rec-header {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

.result-rec-body {
    display: flex;
    align-items: center;
    gap: 18px;
}

.result-rec-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--bg-lavender);
    background-color: var(--bg-lavender);
}

.result-rec-details h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.result-rec-role {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.result-rec-focus {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin-bottom: 0;
}

.result-actions {
    display: flex;
    gap: 12px;
}

.result-actions .btn {
    flex: 1;
}

.assessment-disclaimer {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .assessment-card {
        padding: 24px 20px;
    }

    .assessment-heading {
        font-size: 1.25rem;
    }

    .assessment-sub {
        margin-bottom: 22px;
    }

    .assessment-question {
        font-size: 1.12rem;
    }

    .assessment-intro {
        margin-bottom: 28px;
    }

    .assessment-eyebrow {
        padding: 8px 16px;
        margin-bottom: 18px;
        font-size: 0.66rem;
        letter-spacing: 0.14em;
    }

    .assessment-heading {
        font-size: 1.85rem;
    }

    .assessment-sub {
        font-size: 0.98rem;
    }

    .category-grid {
        gap: 14px;
    }

    .category-body {
        padding: 14px;
        gap: 10px;
    }

    .category-label {
        font-size: 0.98rem;
    }

    .category-blurb {
        font-size: 0.76rem;
    }

    .assessment-script span {
        font-size: 1.35rem;
    }

    .result-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .result-rec-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .result-actions {
        flex-direction: column;
    }
}

@media (max-width: 380px) {
    .scale-option {
        padding: 12px 14px;
        gap: 12px;
    }
}


@media (max-width: 900px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .category-arrow {
        display: none;
    }

    .category-badge {
        left: 10px;
        bottom: 10px;
        width: 32px;
        height: 32px;
    }

    .category-svg {
        width: 16px;
        height: 16px;
    }

    .category-body {
        padding: 12px 13px 14px;
    }

    .assessment-script::before,
    .assessment-script::after {
        width: 48px;
    }
}

/* Short desktop viewports: keep the whole picker on one screen by narrowing
   the cards rather than flattening them, so the artwork keeps its framing. */
@media (min-width: 901px) and (max-height: 920px) {
    .self-check-section {
        padding: 36px 0;
    }

    .assessment-card.is-picking {
        max-width: 980px;
    }

    .assessment-intro {
        margin-bottom: 18px;
    }

    .assessment-eyebrow {
        padding: 6px 16px;
        margin-bottom: 12px;
        font-size: 0.68rem;
    }

    .assessment-heading {
        font-size: 1.9rem;
        margin-bottom: 8px;
    }

    .assessment-sub {
        font-size: 0.95rem;
    }

    .category-body {
        padding: 11px 14px 12px;
    }

    .category-label {
        font-size: 0.98rem;
    }

    .category-blurb {
        font-size: 0.78rem;
    }

    .assessment-footnote {
        margin-top: 16px;
    }

    .assessment-script span {
        font-size: 1.3rem;
    }

    .assessment-disclaimer {
        font-size: 0.76rem;
    }
}

@media (min-width: 901px) and (max-height: 800px) {
    .self-check-section {
        padding: 22px 0;
    }

    .assessment-card.is-picking {
        max-width: 900px;
    }
}
/* -------------------------------------------------------------
   FAQ SECTION
   ------------------------------------------------------------- */
.faq-section {
    background-color: var(--bg-white);
}

.faq-accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-calm);
    border-radius: var(--radius-md);
    border: 1px solid rgba(142, 102, 222, 0.05);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--border-light);
}

.faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    padding: 24px 32px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon-plus {
    font-size: 1.3rem;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-content p {
    padding: 0 32px 24px 32px;
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* Active FAQ states */
.faq-item.active {
    background-color: var(--bg-white);
    border-color: var(--accent-soft);
    box-shadow: var(--shadow-soft);
}

.faq-item.active .faq-trigger {
    color: var(--primary-color);
}

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


/* -------------------------------------------------------------
   CTA BOTTOM BANNER
   ------------------------------------------------------------- */
.cta-banner {
    padding: 90px 0 150px;
    background: linear-gradient(160deg, #F7F2FE 0%, #EFE7FB 58%, #F4EEFD 100%);
    overflow: hidden;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
}

.cta-content {
    text-align: left;
}

.cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    color: var(--accent-color);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.cta-eyebrow::before {
    content: '';
    width: 42px;
    height: 2px;
    border-radius: 2px;
    background-color: currentColor;
}

.cta-banner h2 {
    font-size: 3rem;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--text-main);
    margin-bottom: 14px;
}

.cta-banner p {
    font-size: 1.12rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.cta-btn {
    gap: 12px;
}

.cta-btn svg {
    width: 18px;
    height: 18px;
    transition: var(--transition-smooth);
}

.cta-btn:hover svg {
    transform: translateX(4px);
}

.cta-media {
    display: flex;
    justify-content: center;
}

.cta-illustration {
    width: 100%;
    max-width: 560px;
    height: auto;
}

/* Curve that carries the tint down into the white footer */
.cta-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    line-height: 0;
    pointer-events: none;
}

.cta-wave svg {
    display: block;
    width: 100%;
    height: 110px;
}


@media (max-width: 900px) {
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cta-content {
        text-align: center;
    }

    .cta-actions {
        justify-content: center;
    }

    .cta-banner {
        padding: 64px 0 110px;
    }

    .cta-banner h2 {
        font-size: 2.1rem;
    }

    .cta-banner p {
        font-size: 1.02rem;
    }

    .cta-illustration {
        max-width: 400px;
    }

    .cta-wave svg {
        height: 74px;
    }
}

@media (max-width: 560px) {
    .cta-banner {
        padding: 52px 0 84px;
    }

    .cta-banner h2 {
        font-size: 1.8rem;
    }

    .cta-eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.14em;
    }

    .cta-eyebrow::before {
        width: 28px;
    }

    .cta-illustration {
        max-width: 300px;
    }

    .cta-wave svg {
        height: 54px;
    }
}
/* -------------------------------------------------------------
   FOOTER SECTION
   ------------------------------------------------------------- */
.footer-section {
    background-color: var(--bg-white);
    border-top: 1px solid rgba(142, 102, 222, 0.08);
    padding-top: 80px;
    padding-bottom: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 0.8fr) 1.2fr;
    gap: 40px;
    margin-bottom: 0;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
    margin-bottom: 20px;
}

.brand-tagline {
    font-size: 0.88rem;
    margin-bottom: 24px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-lavender);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-links-col h4 {
    font-size: 0.95rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 4px;
}

.contact-info li {
    display: flex;
    align-items: center;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--success-light);
    color: var(--success-color);
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-round);
    margin-top: 8px;
}

.footer-heart {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-color);
}


/* -------------------------------------------------------------
   MODALS FOR THERAPIST DETAILED PROFILES
   ------------------------------------------------------------- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background-color: rgba(74, 46, 128, 0.45);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.modal-backdrop.open {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background-color: var(--bg-white);
    width: 100%;
    max-width: 720px;
    max-height: calc(100vh - 48px);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-backdrop.open .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 2.2rem;
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-main);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
}

.modal-profile-header {
    display: flex;
    gap: 32px;
    align-items: center;
    border-bottom: 1px solid rgba(142, 102, 222, 0.1);
    padding-bottom: 28px;
    margin-bottom: 28px;
}

.modal-profile-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-lavender);
    flex-shrink: 0;
}

.modal-profile-title h2 {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.modal-profile-title .role {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.modal-profile-title .edu {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-filled {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--radius-round);
}

.modal-profile-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.content-block h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary-color);
    position: relative;
    padding-left: 12px;
}

.content-block h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.content-block .subtitle {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.styled-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.styled-list li {
    font-size: 0.88rem;
    position: relative;
    padding-left: 20px;
    color: var(--text-muted);
}

.styled-list li::before {
    content: '•';
    color: var(--accent-color);
    font-size: 1.3rem;
    position: absolute;
    left: 4px;
    top: -2px;
}

.modal-cta-box {
    background-color: var(--bg-calm);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    border: 1px solid rgba(142, 102, 222, 0.08);
}

.modal-cta-box p {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-main);
}

/* -------------------------------------------------------------
   BOOK ONLINE MODAL (Zoho Bookings via Cloudflare Worker)
   ------------------------------------------------------------- */
.booking-modal-card {
    max-width: 560px;
}

.booking-modal-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
    padding-right: 32px;
}

/* -- Multi-step booking wizard chrome -- */
.wizard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.wizard-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1.5px solid var(--border-light);
    background: var(--bg-white);
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.wizard-back-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.wizard-back-btn[hidden] {
    display: none;
}

.wizard-back-btn svg {
    width: 18px;
    height: 18px;
}

.wizard-progress {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.wizard-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-light);
    transition: var(--transition-smooth);
}

.wizard-dot.active {
    width: 22px;
    border-radius: 4px;
    background: var(--primary-color);
}

.wizard-dot.done {
    background: var(--accent-soft);
}

.wizard-step[hidden] {
    display: none;
}

/* -- Step: session type selection -- */
.session-type-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
}

.session-type-card {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    width: 100%;
    padding: 18px 20px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-light);
    background: var(--bg-white);
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
}

.session-type-card:hover {
    border-color: var(--accent-color);
    background: var(--bg-lavender);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.session-type-card.selected {
    border-color: var(--primary-color);
    background: var(--bg-lavender);
}

.session-type-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--bg-lavender);
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.session-type-card:hover .session-type-icon,
.session-type-card.selected .session-type-icon {
    background: var(--primary-color);
    color: var(--white);
}

.session-type-icon svg {
    width: 24px;
    height: 24px;
}

.session-type-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.session-type-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--text-main);
}

.session-type-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.session-type-arrow {
    margin-left: auto;
    flex-shrink: 0;
    color: var(--text-light);
    transition: var(--transition-smooth);
}

.session-type-card:hover .session-type-arrow,
.session-type-card.selected .session-type-arrow {
    color: var(--primary-color);
    transform: translateX(3px);
}

.booking-modal-subtitle {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.booking-field-row {
    display: flex;
    gap: 16px;
}

.booking-field-row .booking-field {
    flex: 1 1 0;
}

.booking-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.booking-field label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-main);
}

.booking-field select,
.booking-field input,
.booking-field textarea {
    width: 100%;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-light);
    background-color: var(--bg-calm);
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.booking-field select:focus,
.booking-field input:focus,
.booking-field textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: var(--bg-white);
}

.booking-field select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.booking-field textarea {
    resize: vertical;
    min-height: 60px;
}

/* -- Phone input with a country-code dropdown (India selected by default) -- */
.phone-input-group {
    display: flex;
    align-items: stretch;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-light);
    background-color: var(--bg-calm);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.phone-input-group:focus-within {
    border-color: var(--accent-color);
    background-color: var(--bg-white);
}

.phone-input-prefix {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 11px 12px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-main);
    background: var(--bg-lavender);
    border-right: 1.5px solid var(--border-light);
    white-space: nowrap;
    flex-shrink: 0;
}

select.phone-input-prefix {
    width: auto !important;
    max-width: 120px;
    border: none !important;
    border-right: 1.5px solid var(--border-light) !important;
    border-radius: 0 !important;
    background: var(--bg-lavender) !important;
    font-family: inherit;
    cursor: pointer;
}

.phone-input-group input {
    flex: 1;
    min-width: 0;
    border: none !important;
    background: transparent !important;
}

.phone-input-group input:focus {
    border: none !important;
    background: transparent !important;
}

.booking-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.booking-slots-empty,
.booking-slots-loading {
    font-size: 0.85rem;
    color: var(--text-light);
}

.booking-slot {
    padding: 8px 14px;
    border-radius: var(--radius-round);
    border: 1.5px solid var(--border-light);
    background-color: var(--bg-calm);
    color: var(--text-main);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.booking-slot:hover {
    border-color: var(--accent-color);
}

.booking-slot.selected {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.booking-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.booking-status {
    font-size: 0.85rem;
    font-weight: 600;
    min-height: 1.2em;
    color: var(--text-muted);
}

.booking-status.error {
    color: #D64545;
}

.booking-status.success {
    color: var(--success-color);
}

.booking-submit-btn {
    width: 100%;
}

.booking-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
}

.booking-fallback {
    margin-top: 24px;
}

/* -- OTP verification step (inside the Book Online modal) -- */
.otp-step[hidden] {
    display: none;
}

.otp-substep[hidden] {
    display: none;
}

.otp-substep {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.otp-verified-badge {
    display: none;
    align-items: center;
    gap: 10px;
    background: var(--success-light);
    color: var(--success-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.otp-verified-badge.show {
    display: flex;
}

.otp-resend {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    align-self: flex-start;
    padding: 0;
}

.otp-resend:disabled {
    color: var(--text-light);
    cursor: not-allowed;
}

.otp-links {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

#booking-phone[readonly] {
    color: var(--text-muted);
    cursor: not-allowed;
}

@media (max-width: 560px) {
    .booking-field-row {
        flex-direction: column;
        gap: 16px;
    }
}


/* -------------------------------------------------------------
   RESPONSIVENESS (MEDIA QUERIES)
   ------------------------------------------------------------- */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-media {
        order: 2;
    }
    
    .hero-image-wrapper {
        max-width: 360px;
        margin: 0 auto;
    }

    .title-divider {
        justify-content: flex-start;
        margin: 0 0 24px 0;
    }

    .indicator-1 {
        left: -10%;
    }
    
    .indicator-2 {
        right: -8%;
    }
    
    .indicators-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .feeling-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .therapist-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    
    .footer-grid {
        grid-template-columns: repeat(2, 1.5fr);
    }
    
    .contact-col {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }

    .logo-area {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 5;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-actions {
        display: contents;
    }
    
    section {
        padding: 48px 0;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }

    .hero-section {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero-bg-shapes {
        display: none;
    }


    /* Mobile Nav Menu */
    .mobile-nav-toggle {
        display: flex !important;
        order: 1;
        flex: 0 0 auto;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        background: transparent;
        border: none;
        padding: 0;
        width: 20px;
        height: 20px;
        margin-left: -12px; /* Close to left side */
        z-index: 10;
        cursor: pointer;
    }

    .mobile-nav-toggle .bar {
        width: 6px !important;
        height: 6px !important;
        background-color: var(--text-main);
        border-radius: 50% !important;
        transition: var(--transition-smooth);
    }
    
    .mobile-nav-toggle.active .bar {
        width: 20px !important;
        height: 2px !important;
        border-radius: 2px !important;
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 72px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        height: calc(100vh - 72px);
        padding: 40px;
        gap: 24px;
        transition: var(--transition-smooth);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        z-index: 999;
    }
    
    .nav-links.open {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
    }
    

    
    .nav-actions .btn-book,
    .nav-actions .btn-book-online {
        display: none !important;
    }

    .nav-actions .btn-book::before {
        display: none !important;
    }

    .feeling-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .steps-grid::before {
        display: none;
    }
    
    .therapist-grid-new {
        grid-template-columns: 1fr;
    }

    .tc-footer {
        flex-wrap: wrap;
        gap: 10px;
    }

    .tc-view-btn {
        width: 100%;
        text-align: center;
        margin-left: 0;
    }
    
    .faq-trigger {
        padding: 20px 24px;
        font-size: 1rem;
    }
    
    .faq-content p {
        padding: 0 24px 20px 24px;
    }
    
    .modal-body {
        padding: 24px;
    }
    
    .modal-profile-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hero-section {
        padding-top: 90px;
        padding-bottom: 40px;
    }

    .hero-image-wrapper {
        max-width: 340px;
        margin: 0 auto;
    }

    .nav-container {
        padding: 16px;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }

    .logo-img {
        height: 36px;
    }

    .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .indicators-grid {
        grid-template-columns: 1fr;
    }
    
    .feeling-grid {
        grid-template-columns: 1fr;
    }
    
    .therapist-actions {
        grid-template-columns: 1fr;
    }

    .faq-trigger {
        padding: 16px 20px;
        font-size: 0.95rem;
    }

    .faq-content p {
        padding: 0 20px 16px 20px;
        font-size: 0.9rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-col {
        grid-column: span 1;
    }
    
}

/* -------------------------------------------------------------
   THERAPIST PROFILE PAGES STYLES
   ------------------------------------------------------------- */
.profile-body {
    background-color: var(--bg-calm);
    padding-top: 140px;
    padding-bottom: 0;
}

.profile-nav-back {
    margin-bottom: 32px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.profile-nav-back:hover {
    color: var(--accent-color);
    transform: translateX(-4px);
}

.profile-nav-back svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
}

.profile-hero-card {
    background: linear-gradient(135deg, var(--bg-white) 0%, rgba(244, 238, 253, 0.5) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(142, 102, 222, 0.1);
    box-shadow: var(--shadow-medium);
    padding: 48px;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
}

.profile-hero-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(142, 102, 222, 0.15) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
    pointer-events: none;
}

.profile-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.profile-hero-media {
    display: flex;
    justify-content: center;
    position: relative;
}

.profile-hero-media::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 15px;
    left: 15px;
    border: 2px solid var(--accent-soft);
    border-radius: var(--radius-lg);
    z-index: -1;
    transition: var(--transition-smooth);
}

.profile-hero-card:hover .profile-hero-media::after {
    transform: translate(-5px, -5px);
    border-color: var(--accent-color);
}

.profile-hero-img {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 3.2 / 4;
    object-fit: cover;
    object-position: center 15%;
    border-radius: var(--radius-lg);
    border: 4px solid var(--white);
    box-shadow: var(--shadow-soft);
    background-color: var(--bg-lavender);
}

.profile-hero-info {
    display: flex;
    flex-direction: column;
}

.profile-hero-info h1 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.profile-hero-role {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.profile-hero-edu {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.profile-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.profile-hero-tag {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-round);
    box-shadow: 0 4px 10px rgba(74, 46, 128, 0.15);
}

.profile-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.profile-card-full {
    grid-column: span 2;
}

.profile-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(142, 102, 222, 0.06);
    box-shadow: var(--shadow-soft);
    padding: 40px;
    transition: var(--transition-smooth);
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--border-light);
}

.profile-card h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-lavender);
    position: relative;
}

.profile-card h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
}

.profile-focus-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profile-focus-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.profile-focus-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--bg-lavender);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.profile-focus-details strong {
    display: block;
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 4px;
}

.profile-focus-details span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.profile-style-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-style-item {
    padding-left: 16px;
    border-left: 3px solid var(--accent-soft);
}

.profile-style-item strong {
    display: block;
    font-size: 1.05rem;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.profile-style-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.profile-bg-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.profile-bg-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--bg-lavender);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-bg-icon svg {
    width: 24px;
    height: 24px;
}

.profile-bg-text p {
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 550;
    line-height: 1.6;
}

.profile-cta-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(74, 46, 128, 0.2);
}

.profile-cta-banner h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 12px;
}

.profile-cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.profile-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.btn-ghost-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-ghost-white:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    transform: translateY(-2px);
}

/* Responsiveness for Profile Pages */
@media (max-width: 992px) {
    .profile-hero-grid {
        grid-template-columns: 1fr 1.3fr;
        gap: 24px;
        text-align: left;
        align-items: center;
    }
    
    .profile-hero-media {
        order: initial;
    }
    
    .profile-hero-tags {
        justify-content: flex-start;
    }
    
    .profile-hero-img {
        max-width: 100%;
        aspect-ratio: 1 / 1;
        width: 100%;
        border-radius: var(--radius-lg);
    }
}

@media (max-width: 768px) {
    .profile-body {
        padding-top: 100px;
        padding-bottom: 0;
    }

    .profile-content-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Without this the span-2 card adds an implicit second column and the page overflows */
    .profile-card-full {
        grid-column: auto;
    }

    .profile-hero-card {
        padding: 32px;
    }
    
    .profile-card {
        padding: 30px;
    }
    
    .profile-cta-banner {
        padding: 36px 24px;
    }
    
    .profile-hero-info h1 {
        font-size: 2.2rem;
    }
    
    .profile-cta-banner h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .profile-body {
        padding-top: 90px;
        padding-bottom: 0;
    }
    
    .profile-hero-card {
        padding: 16px;
        margin-bottom: 24px;
    }
    
    .profile-hero-grid {
        grid-template-columns: 1fr 1.35fr;
        gap: 16px;
        align-items: flex-start;
    }
    
    .profile-hero-img {
        max-width: 100%;
        aspect-ratio: 1 / 1;
        width: 100%;
        border-width: 2px;
        border-radius: var(--radius-md);
    }
    
    .profile-hero-info h1 {
        font-size: 1.45rem;
        margin-bottom: 4px;
    }
    
    .profile-hero-role {
        font-size: 0.82rem;
        margin-bottom: 8px;
    }
    
    .profile-hero-edu {
        font-size: 0.78rem !important;
        margin-bottom: 0px;
    }
    
    .profile-card {
        padding: 24px 16px;
    }
    
    .profile-cta-banner {
        padding: 28px 16px;
    }
    
    .profile-cta-banner h3 {
        font-size: 1.35rem;
    }
    
    .profile-cta-banner p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
}

/* -------------------------------------------------------------
   FLOATING CONTACT ACTIONS (WHATSAPP & PHONE)
   ------------------------------------------------------------- */
.floating-contact-actions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.floating-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #ffffff;
}

.btn-phone {
    background-color: var(--primary-color);
    color: #ffffff;
}

.float-icon {
    width: 24px;
    height: 24px;
}

/* Adjust sizes on small mobile screens */
@media (max-width: 480px) {
    .floating-contact-actions {
        bottom: 16px;
        right: 16px;
        gap: 10px;
    }
    .floating-btn {
        width: 46px;
        height: 46px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    }
    .float-icon {
        width: 20px;
        height: 20px;
    }
}

/* -------------------------------------------------------------
   STICKY MOBILE CONTACT BAR
   ------------------------------------------------------------- */
.sticky-contact-bar {
    display: none;
}

@media (max-width: 768px) {
    .sticky-contact-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background-color: var(--bg-white);
        border-top: 1px solid var(--border-light);
        box-shadow: 0 -4px 20px rgba(74, 46, 128, 0.10);
        padding-bottom: env(safe-area-inset-bottom);
    }

    .sticky-contact-item {
        flex: 1 1 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 12px 8px;
        text-decoration: none;
        transition: var(--transition-smooth);
    }

    .sticky-contact-item:active {
        opacity: 0.65;
    }

    .sticky-contact-call {
        background-color: var(--bg-white);
    }

    .sticky-contact-chat {
        background-color: var(--bg-lavender);
    }

    .sticky-contact-icon {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
        color: var(--primary-color);
    }

    .sticky-contact-chat .sticky-contact-icon {
        color: #25D366;
    }

    .sticky-contact-text {
        display: flex;
        flex-direction: column;
        line-height: 1.25;
    }

    .sticky-contact-label {
        font-family: var(--font-heading);
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--text-main);
    }

    .sticky-contact-number {
        font-size: 0.78rem;
        font-weight: 500;
        color: var(--text-muted);
    }

    .sticky-contact-chat .sticky-contact-label,
    .sticky-contact-chat .sticky-contact-number {
        color: var(--primary-color);
    }

    /* The bar takes over from the floating circles on mobile */
    .floating-contact-actions {
        display: none;
    }

    /* Keep the end of the page clear of the fixed bar */
    body {
        padding-bottom: 68px;
    }
}

@media (max-width: 360px) {
    .sticky-contact-item {
        gap: 8px;
        padding: 10px 6px;
    }

    .sticky-contact-icon {
        width: 24px;
        height: 24px;
    }

    .sticky-contact-label {
        font-size: 0.85rem;
    }

    .sticky-contact-number {
        font-size: 0.7rem;
    }
}

/* --- 7. NEW PSYCHOLOGIST BIO PAGE OPTIMIZATIONS --- */
.profile-hero-edu-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.profile-edu-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-lavender);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-edu-icon svg {
    width: 16px;
    height: 16px;
}

.profile-hero-edu {
    margin-bottom: 0 !important;
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
}

.profile-card h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px !important;
}

.profile-header-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-lavender);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-header-icon svg {
    width: 18px;
    height: 18px;
}

.cta-heart-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -58px auto 20px; /* Overlaps top border of the banner */
    border: 3px solid var(--white);
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 2;
}

.cta-heart-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
    stroke: var(--white);
}

@media (max-width: 480px) {
    .profile-hero-edu-container {
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .profile-edu-icon {
        width: 24px;
        height: 24px;
    }
    
    .profile-edu-icon svg {
        width: 12px;
        height: 12px;
    }
    
    .profile-card h2 {
        gap: 8px;
        font-size: 1.3rem !important;
    }
    
    .profile-header-icon {
        width: 28px;
        height: 28px;
    }
    
    .profile-header-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .cta-heart-icon {
        width: 40px;
        height: 40px;
        margin: -48px auto 16px;
    }
    
    .cta-heart-icon svg {
        width: 16px;
        height: 16px;
    }
}

/* -------------------------------------------------------------
   MOBILE POLISH
   Kept last so it wins over the earlier breakpoint rules.
   ------------------------------------------------------------- */

/* The profile banner clips anything outside it, so the heart sits inside. */
.cta-heart-icon {
    margin: 0 auto 18px;
}

/* Breathing room between the profile banner and the footer */
.profile-cta-banner {
    margin-bottom: 80px;
}

@media (max-width: 768px) {
    /* Room for the fixed Call/Chat bar, including the iPhone home indicator */
    /* Room for the fixed Call/Chat bar lives inside the footer, so the page ends in white */
    body,
    body.profile-body {
        padding-bottom: 0;
    }

    .footer-section {
        padding-bottom: calc(40px + 72px + env(safe-area-inset-bottom));
    }

    /* Menu button: 44px touch area, dots stay where they were */
    .mobile-nav-toggle {
        width: 44px;
        height: 44px;
        padding: 12px;
        margin-left: -16px;
    }

    .nav-links {
        height: calc(100dvh - 72px);
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        padding: 0;
    }

    .logo-area {
        min-height: 44px;
    }

    .btn {
        min-height: 44px;
    }

    .tc-view-btn {
        min-height: 46px;
        padding: 12px 18px !important;
        font-size: 0.88rem !important;
    }

    /* Name links: bigger touch area without moving anything */
    .social-icons {
        gap: 14px;
    }

    .social-link {
        width: 44px;
        height: 44px;
    }

    .profile-nav-back {
        min-height: 44px;
        margin-bottom: 16px;
    }

    .assessment-back {
        min-height: 44px;
        margin-top: 10px;
    }

    .profile-cta-banner {
        margin-bottom: 48px;
    }

    /* Nothing under 12px */
    .assessment-eyebrow,
    .cta-eyebrow {
        font-size: 0.75rem;
        letter-spacing: 0.12em;
    }

    .tc-lang-badge {
        font-size: 0.75rem;
        padding: 3px 11px;
    }

    .tc-spec-dot {
        font-size: 0.8rem;
    }

    .tc-price-text small,
    .tc-lang-text small {
        font-size: 0.75rem;
    }

    .tc-price-text strong,
    .tc-lang-text strong {
        font-size: 0.85rem;
    }

    .sticky-contact-number {
        font-size: 0.78rem;
    }

    /* Footer: brand and contact full width, link lists side by side */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 20px;
        margin-bottom: 0;
    }

    .footer-brand,
    .contact-col {
        grid-column: 1 / -1;
    }

    .footer-links-col h4 {
        margin-bottom: 8px;
    }

    .footer-links li {
        margin-bottom: 0;
    }

    .footer-links a {
        display: flex;
        align-items: center;
        min-height: 44px;
    }

    .footer-links a:hover {
        padding-left: 0;
    }

    .contact-info li {
        min-height: 44px;
        margin-bottom: 4px;
    }
}

@media (max-width: 560px) {
    /* Profile hero: photo on top, details centred underneath */
    .profile-hero-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        text-align: center;
    }

    .profile-hero-media {
        width: 100%;
        max-width: 230px;
        margin: 0 auto;
    }

    .profile-hero-img {
        max-width: 230px;
        aspect-ratio: 1 / 1;
    }

    .profile-hero-info {
        align-items: center;
    }

    .profile-hero-info h1 {
        font-size: 1.9rem;
        margin-bottom: 6px;
    }

    .profile-hero-role {
        font-size: 0.9rem;
        margin-bottom: 14px;
    }

    .profile-hero-edu-container {
        justify-content: center;
        text-align: left;
        margin-bottom: 16px;
    }

    .profile-hero-edu {
        font-size: 0.9rem !important;
    }

    .profile-hero-tags {
        justify-content: center;
    }

    .cta-heart-icon {
        margin: 0 auto 14px;
    }
}

@media (max-width: 380px) {
    .assessment-script {
        gap: 10px;
    }

    .assessment-script::before,
    .assessment-script::after {
        width: 26px;
    }

    .assessment-script span {
        white-space: nowrap;
    }
}

@media (max-width: 360px) {
    .sticky-contact-number {
        font-size: 0.75rem;
    }

    .footer-grid {
        gap: 28px 14px;
    }

    .footer-links a {
        font-size: 0.84rem;
    }
}

/* -------------------------------------------------------------
   FOOTER ACCORDION (phones)
   The script adds .has-accordion only on small screens, so desktop and
   no-script visitors keep the open columns.
   ------------------------------------------------------------- */
.footer-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 0;
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    text-align: left;
    cursor: default;
}

.footer-chevron {
    display: none;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .footer-section.has-accordion .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-section.has-accordion .footer-brand {
        margin-bottom: 28px;
    }

    .footer-section.has-accordion .footer-links-col {
        border-top: 1px solid rgba(142, 102, 222, 0.16);
    }

    .footer-section.has-accordion .footer-links-col:last-child {
        border-bottom: 1px solid rgba(142, 102, 222, 0.16);
    }

    .footer-section.has-accordion .footer-links-col h4 {
        margin: 0;
    }

    .footer-section.has-accordion .footer-toggle {
        min-height: 60px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .footer-section.has-accordion .footer-toggle:focus-visible {
        outline: 2px solid var(--accent-color);
        outline-offset: 2px;
        border-radius: 6px;
    }

    .footer-section.has-accordion .footer-chevron {
        display: block;
    }

    .footer-section.has-accordion .is-open .footer-chevron {
        transform: rotate(180deg);
    }

    .footer-section.has-accordion .footer-panel {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.3s ease;
    }

    .footer-section.has-accordion .is-open .footer-panel {
        grid-template-rows: 1fr;
    }

    .footer-section.has-accordion .footer-panel > .footer-links {
        min-height: 0;
        overflow: hidden;
    }

    .footer-section.has-accordion .is-open .footer-panel > .footer-links {
        padding-bottom: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-chevron,
    .footer-panel {
        transition: none !important;
    }
}

/* -------------------------------------------------------------
   MOBILE HERO + FLOATING CONTACT CARD
   Phones only. The extra hero pieces are hidden on larger screens.
   ------------------------------------------------------------- */
.hero-btn-arrow {
    display: none;
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 92px;
        padding-bottom: 0;
        background: linear-gradient(180deg, #FBF9FE 0%, #F4EFFC 48%, #ECE6FB 100%);
    }

    /* Soft hand-off into the therapists section */
    .hero-section::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 36px;
        background: linear-gradient(to bottom, rgba(251, 249, 254, 0), var(--bg-calm));
        pointer-events: none;
        z-index: 2;
    }

    .hero-waves,
    .hero-image-wrapper::before {
        display: none;
    }

    .hero-section .hero-container {
        text-align: left;
        gap: 0;
    }

    .hero-section .hero-title {
        font-size: clamp(2.4rem, 11vw, 3.1rem);
        line-height: 1.05;
        letter-spacing: -0.035em;
        color: #1E1740;
        margin-bottom: 16px;
    }

    .hero-section .hero-title .text-gradient {
        background: linear-gradient(120deg, #6A3FD2 0%, #A57CF2 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        padding-bottom: 0.06em;
    }

    .hero-section .hero-subtitle {
        max-width: 34ch;
        margin: 0 0 24px;
        font-size: 1.05rem;
        line-height: 1.55;
        color: #5E5A6E;
    }

    .hero-section .hero-actions {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 12px;
        width: min(100%, 320px);
    }

    .hero-section .hero-actions .btn {
        width: 100%;
        min-height: 52px;
        padding: 14px 24px;
        font-size: 1rem;
        gap: 12px;
    }

    .hero-btn-arrow {
        display: inline-block;
        width: 18px;
        height: 18px;
        transition: transform 0.25s ease;
    }

    .hero-section .btn-primary:hover .hero-btn-arrow {
        transform: translateX(3px);
    }

    .hero-section .btn-explore {
        background-color: rgba(255, 255, 255, 0.7);
        border: 1.5px solid var(--primary-color);
        box-shadow: none;
    }

    /* Illustration runs edge to edge and fades in at the top */
    .hero-section .hero-media {
        order: 2;
        width: 100vw;
        margin: 12px 0 0 calc(50% - 50vw);
        justify-content: center;
    }

    .hero-section .hero-image-wrapper {
        max-width: none;
        margin: 0;
    }

    .hero-section .hero-illustration {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 0;
        animation: none;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%);
        mask-image: linear-gradient(to bottom, transparent 0%, #000 18%);
    }

    /* Call / Chat: floating rounded card with a divider */
    .sticky-contact-bar {
        left: 12px;
        right: 12px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        padding-bottom: 0;
        align-items: center;
        border: 1px solid rgba(142, 102, 222, 0.14);
        border-radius: 20px;
        background-color: rgba(255, 255, 255, 0.96);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        box-shadow: 0 12px 32px rgba(74, 46, 128, 0.16);
        overflow: hidden;
    }

    .sticky-contact-call,
    .sticky-contact-chat {
        background-color: transparent;
        padding: 13px 8px;
    }

    .sticky-contact-chat {
        position: relative;
    }

    .sticky-contact-chat::before {
        content: '';
        position: absolute;
        left: 0;
        top: 22%;
        height: 56%;
        width: 1px;
        background-color: rgba(142, 102, 222, 0.22);
    }

    .sticky-contact-call .sticky-contact-label {
        color: #1E1740;
    }

    .sticky-contact-chat .sticky-contact-label {
        color: var(--primary-color);
    }

    .sticky-contact-chat .sticky-contact-number {
        color: var(--text-muted);
    }

    /* Keep the page end clear of the raised card */
    .footer-section {
        padding-bottom: calc(40px + 88px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 360px) {
    .sticky-contact-bar {
        left: 8px;
        right: 8px;
    }
}

.text-nowrap {
    white-space: nowrap;
}

/* Brand name keeps its own casing: "Mindlap SelfCheck". Mixed case reads
   smaller than capitals, so it gets a slightly larger size on every screen. */
.assessment-eyebrow {
    text-transform: none;
    letter-spacing: 0.04em;
    font-size: 0.85rem;
}

/* Log In / My account in the main menu */
.nav-link.nav-login {
    font-weight: 700;
    color: var(--primary-color);
}

.nav-actions .btn {
    white-space: nowrap;
}

/* Log In sits next to Book Session on desktop; inside the menu on phones */
.nav-link.nav-login-mobile {
    display: none;
}

@media (max-width: 768px) {
    .nav-actions .btn-login {
        display: none !important;
    }

    .nav-link.nav-login-mobile {
        display: block;
    }
}

/* "You're logged in, no sessions yet" note above the therapists (fades after a minute) */
.welcome-new-note {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 760px;
    margin: 0 auto 36px;
    padding: 14px 16px 14px 14px;
    border-radius: 18px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    box-shadow: 0 14px 34px rgba(74, 46, 128, 0.10);
    animation: welcome-in 0.5s ease both;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.welcome-new-note.leaving {
    opacity: 0;
    transform: translateY(-8px);
}

.welcome-new-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    box-shadow: 0 6px 16px rgba(142, 102, 222, 0.35);
}

.welcome-new-icon svg {
    width: 22px;
    height: 22px;
}

.welcome-new-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.welcome-new-text strong {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-main);
}

.welcome-new-logout {
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 8px 12px;
    border-radius: var(--radius-round);
    color: var(--text-muted);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.welcome-new-logout:hover {
    color: var(--primary-color);
    background: var(--bg-lavender);
}

@keyframes welcome-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 560px) {
    .welcome-new-note {
        flex-wrap: wrap;
    }

    .welcome-new-logout {
        margin-left: 60px;
        padding-left: 0;
    }
}

/* Profile badge + menu (replaces Log In while logged in) */
.account-menu {
    position: relative;
}

.account-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid var(--accent-soft);
    background: var(--bg-lavender);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.account-avatar:hover,
.account-avatar[aria-expanded="true"] {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(142, 102, 222, 0.18);
}

.account-avatar svg,
.account-panel-avatar svg {
    width: 55%;
    height: 55%;
}

.account-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 1000;
    width: 290px;
    padding: 22px 20px 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 45px rgba(74, 46, 128, 0.16);
    text-align: center;
}

.account-panel[hidden] {
    display: none;
}

.account-panel-avatar {
    width: 68px;
    height: 68px;
    margin: 0 auto 10px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--bg-lavender);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
}

.account-panel-name {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-main);
}

.account-panel-phone {
    margin: 2px 0 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.account-panel-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 4px;
    margin-bottom: 14px;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
}

.account-panel-link span {
    font-size: 1.3rem;
    line-height: 1;
    color: var(--text-muted);
}

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

.account-panel-logout {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: var(--radius-round);
    background: var(--primary-color);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.account-panel-logout:hover {
    background: var(--primary-dark, #3A2170);
}

@media (max-width: 768px) {
    .nav-actions .account-menu {
        display: none;
    }
}

/* Log In / profile badge sits at the far right, after Book Session */

/* "Resume your booking" card - first in the therapist grid */
.resume-card {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    border: 1.5px solid rgba(46, 160, 110, 0.35);
    background: var(--bg-white);
    box-shadow: 0 4px 20px rgba(20, 18, 28, 0.05);
    overflow: hidden;
}

.resume-top {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 52px 20px 20px;
    background: #EAF6F0;
}

.resume-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #fff;
}

.resume-who h3 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--text-main);
}

.resume-who p {
    margin: 2px 0 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.resume-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--text-muted);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.resume-close:hover {
    color: var(--text-main);
}

.resume-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 20px 20px;
    flex: 1;
}

.resume-pill {
    align-self: flex-start;
    font-size: 0.78rem;
    font-weight: 600;
    color: #23845A;
    background: #EAF6F0;
    border-radius: 999px;
    padding: 4px 12px;
}

.resume-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
}

.resume-grid > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #F7F7F9;
}

.resume-grid strong {
    font-size: 0.88rem;
    color: var(--text-main);
}

.resume-grid span {
    font-size: 0.86rem;
    color: var(--text-muted);
}

.resume-grid .resume-taken span {
    color: #B4541E;
}

.resume-continue {
    margin-top: auto;
    width: 100%;
    justify-content: center;
}

/* Black "Book Session" (header) and "Book Your Session" (hero) buttons */
.nav-actions .btn-book,
.hero-actions .btn-primary {
    background-color: #111111;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.nav-actions .btn-book:hover,
.hero-actions .btn-primary:hover {
    background-color: #2b2b2b;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

/* -------------------------------------------------------------
   Green + black accents (violet stays, but as the quieter colour)
   ------------------------------------------------------------- */
:root {
    --brand-green: #1E8E3E;        /* text-safe green */
    --brand-green-bright: #3DBE5A; /* the fresh "sneaker" green */
    --brand-green-soft: #E8F7EC;
    --brand-ink: #111111;
}

/* "matters" in the closing banner, green too */
.cta-banner .text-gradient {
    background: linear-gradient(135deg, var(--brand-green) 20%, var(--brand-green-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Menu: black text, green underline */
.nav-link:hover,
.nav-link.active {
    color: var(--brand-ink);
}

.nav-link::after {
    background-color: var(--brand-green-bright);
    height: 3px;
    border-radius: 3px;
}

/* Log In: black outline, green on hover */
.btn-login:hover {
    border-color: var(--brand-green);
    color: var(--brand-green);
}

/* Black buttons get a green lift on hover */
.nav-actions .btn-book:hover,
.hero-actions .btn-primary:hover,
.tc-view-btn:hover {
    background-color: var(--brand-green);
    box-shadow: 0 12px 28px rgba(30, 142, 62, 0.3);
}

/* Explore Therapists: black outline with a soft green hover */
.btn-explore {
    background-color: transparent;
    border: 1.5px solid rgba(17, 17, 17, 0.18);
    color: var(--brand-ink);
    box-shadow: none;
}

.btn-explore:hover {
    background-color: var(--brand-green-soft);
    border-color: var(--brand-green);
    color: var(--brand-green);
    box-shadow: 0 12px 28px rgba(30, 142, 62, 0.12);
}

/* Therapist cards: black Book Now / Book Online, green details */
.tc-view-btn {
    background-color: var(--brand-ink);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.tc-spec-dot::before {
    background-color: var(--brand-green-bright);
}

.tc-lang-badge {
    background-color: var(--brand-green-soft);
    color: var(--brand-green);
}

/* Floating call button: black */
.btn-phone {
    background-color: var(--brand-ink);
}

/* Closing banner: black main button, black outline, green label */
.cta-actions .btn-primary {
    background-color: var(--brand-ink);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.cta-actions .btn-primary:hover {
    background-color: var(--brand-green);
    box-shadow: 0 12px 28px rgba(30, 142, 62, 0.3);
}

.cta-actions .btn-outline {
    border-color: rgba(17, 17, 17, 0.25);
    color: var(--brand-ink);
}

.cta-actions .btn-outline:hover {
    background-color: var(--brand-green-soft);
    border-color: var(--brand-green);
    color: var(--brand-green);
}

.cta-eyebrow {
    color: var(--brand-green);
}

.cta-eyebrow::before {
    background-color: var(--brand-green-bright);
}

/* Phones: black headline text and outline, like desktop */
@media (max-width: 768px) {
    .hero-section .hero-title {
        color: var(--brand-ink);
    }

    .hero-section .btn-explore {
        border-color: rgba(17, 17, 17, 0.25);
        color: var(--brand-ink);
    }
}

/* -------------------------------------------------------------
   Hero: calm sunrise illustration (warm cream)
   Desktop: full background. Tablet + phone: picture under the text.
   ------------------------------------------------------------- */
.hero-section {
    background: #FBF7F0;
}

.hero-bg-shapes {
    display: none;
}

@media (min-width: 1025px) {
    /* Fills the first screen; the text block sits in the vertical middle */
    .hero-section {
        position: relative;
        display: flex;
        align-items: center;
        min-height: min(100vh, 880px);
        padding: 110px 0 90px;
        background: #FBF7F0 url("assets/hero-calm.webp") right center / cover no-repeat;
    }

    .hero-section > .hero-container {
        width: 100%;
        position: relative;
        z-index: 1;
    }

    /* The hero's fade already gives breathing room above the therapists */
    .therapists-section {
        padding-top: 48px;
    }

    /* Melt the bottom edge into the white section below - no hard line */
    .hero-section::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 140px;
        pointer-events: none;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
    }

    .hero-section .hero-media {
        visibility: hidden; /* keeps the two-column layout; the background is the art */
    }

    /* Log In sits over the picture on wide screens: give it a solid backing */
    .nav-actions .btn-login {
        background-color: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(6px);
    }
}

@media (max-width: 1024px) {
    .hero-section .hero-illustration {
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%);
        mask-image: linear-gradient(180deg, transparent 0%, #000 18%);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-image-wrapper {
        max-width: 520px;
    }
}

/* The illustration has its own soft waves - no extra white wave under it */
.hero-section .hero-waves {
    display: none;
}

/* -------------------------------------------------------------
   Phone polish
   ------------------------------------------------------------- */
@media (max-width: 768px) {
    /* Top bar: menu left, logo centre, a small Log In (or profile badge) right */
    .navbar-header .nav-actions .btn-login {
        display: inline-flex !important;
        order: 3;
        margin-left: auto;
        padding: 7px 14px;
        min-height: 0;
        font-size: 0.82rem;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.9);
    }

    .navbar-header .nav-actions .account-menu {
        display: block !important;
        order: 3;
        margin-left: auto;
    }

    .navbar-header .nav-actions .account-avatar {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .navbar-header .nav-actions .account-panel {
        right: 0;
        width: min(290px, calc(100vw - 32px));
    }

    /* Therapists: one swipeable row instead of nine tall cards */
    .therapist-grid-new {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 0 -16px;
        padding: 4px 16px 18px;
    }

    .therapist-grid-new::-webkit-scrollbar {
        display: none;
    }

    .therapist-grid-new > * {
        flex: 0 0 86%;
        scroll-snap-align: center;
    }

    .therapist-grid-new .tc-card:hover {
        transform: none;
    }

    .swipe-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        margin: 2px 0 0;
        font-size: 0.8rem;
        color: var(--text-light);
    }

    .swipe-dots {
        display: flex;
        justify-content: center;
        gap: 6px;
        margin-top: 10px;
    }

    .swipe-dots span {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #D9D7DE;
        transition: width 0.25s ease, background 0.25s ease;
    }

    .swipe-dots span.active {
        width: 18px;
        border-radius: 3px;
        background: var(--brand-ink);
    }

    /* FAQ: keep the + away from long questions */
    .faq-trigger {
        gap: 14px;
    }

    .faq-icon-plus {
        flex-shrink: 0;
    }

    /* Less empty space at the end of the page */
    .cta-banner {
        padding: 48px 0 56px;
    }

    .footer-section {
        padding-top: 40px;
        padding-bottom: 120px; /* room for the Call / Chat bar */
    }
}

@media (min-width: 769px) {
    .swipe-hint,
    .swipe-dots {
        display: none;
    }
}

/* Log In switched off for now (online accounts paused). Delete this block to bring it back. */
html .navbar-header .nav-actions .btn-login,
html .navbar-header .nav-actions .account-menu,
html .nav-link.nav-login-mobile {
    display: none !important;
}

/* -------------------------------------------------------------
   UX polish
   ------------------------------------------------------------- */

/* Keyboard users can always see where they are */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--brand-green);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Phone and email in the footer are tappable */
.contact-info a {
    color: inherit;
    text-decoration: none;
}

.contact-info a:hover {
    color: var(--brand-green);
}

/* Footer bottom bar: crisis line + copyright */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid rgba(17, 17, 17, 0.08);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom p {
    margin: 0;
}

.footer-crisis a {
    color: var(--brand-green);
    font-weight: 700;
    text-decoration: none;
}

.footer-crisis a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 24px;
    }
}

/* Anchored sections land below the fixed top bar */
section[id],
footer[id] {
    scroll-margin-top: 84px;
}

/* Respect "reduce motion" */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Therapist cards: View profile + Book side by side under price/language */
.tc-footer {
    flex-wrap: wrap;
}

.tc-actions {
    display: flex;
    gap: 8px;
    width: 100%;
}

.tc-actions .tc-view-btn,
.tc-actions .tc-profile-btn {
    flex: 1 1 0;
    margin-left: 0;
    justify-content: center;
    text-align: center;
}

.tc-profile-btn {
    padding: 8px 14px !important;
    font-size: 0.76rem !important;
    border-radius: var(--radius-round) !important;
    background: #fff;
    color: var(--brand-ink);
    border: 1.5px solid rgba(17, 17, 17, 0.18);
    white-space: nowrap;
}

.tc-profile-btn:hover {
    border-color: var(--brand-green);
    color: var(--brand-green);
    background: #fff;
}

@media (max-width: 768px) {
    .tc-actions .tc-view-btn,
    .tc-actions .tc-profile-btn {
        width: auto;
        min-height: 46px;
        font-size: 0.88rem !important;
    }
}

/* Home: How we can help */
.help-section {
    padding: 72px 0;
    background: #fff;
}

.help-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: 28px;
}

.help-head .section-title {
    margin: 0;
    text-align: left;
}

.help-head p {
    margin: 0;
    max-width: 42ch;
    color: var(--text-muted);
    line-height: 1.6;
}

.help-head p a {
    color: var(--brand-ink);
    font-weight: 600;
}

.help-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 32px;
    border-top: 1px solid var(--brand-ink);
}

.help-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #e8e4dc;
    color: var(--brand-ink);
    font-weight: 500;
    font-size: 1.02rem;
    text-decoration: none;
}

.help-list a::after {
    content: '\2192';
    color: #b9b4aa;
    transition: transform 0.2s ease, color 0.2s ease;
}

.help-list a:hover {
    color: var(--brand-green);
}

.help-list a:hover::after {
    color: var(--brand-green);
    transform: translateX(4px);
}

.help-all {
    display: inline-block;
    margin-top: 22px;
    font-weight: 600;
    color: var(--brand-ink);
    border-bottom: 1px solid var(--brand-ink);
    text-decoration: none;
}

@media (max-width: 900px) {
    .help-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .help-section {
        padding: 48px 0;
    }

    .help-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .help-list {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Readable contrast (Lighthouse / WCAG AA) */
.tc-lang-badge {
    color: #17702f;
}

.tc-price-text small,
.tc-lang-text small {
    color: #66646d;
}

/* Hover: calm neutral states instead of green */
.nav-actions .btn-book:hover,
.hero-actions .btn-primary:hover,
.cta-actions .btn-primary:hover,
.tc-view-btn:hover {
    background-color: #2e2e2e;
    color: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.btn-login:hover,
.btn-explore:hover,
.cta-actions .btn-outline:hover,
.tc-profile-btn:hover {
    background-color: #f3f2ef;
    border-color: #111;
    color: #111;
    box-shadow: none;
}

.contact-info a:hover,
.help-list a:hover {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.help-list a:hover::after {
    color: #111;
}

/* Menu: no underline bar; the current section is shown in dark, semi-bold text */
.nav-link::after,
.nav-link:hover::after,
.nav-link.active::after {
    display: none;
}

.nav-link.active {
    color: #111;
    font-weight: 600;
}
