/**
 * Psychologist / Therapist demo — calm, grounded mental health theme
 *
 * Lavender, sand & plum. Full-viewport split booking section.
 * Section mix intentionally differs from other demos (no gallery slider,
 * conditions grid, FAQ accordion, team grid, or map embed).
 */

:root {
	--demo-font-body: "Source Sans 3", system-ui, sans-serif;
	--demo-font-display: "Libre Baskerville", Georgia, serif;

	--demo-primary: #6b7c9e;
	--demo-primary-dark: #556580;
	--demo-accent: #9b8ab8;
	--demo-heading: #3d3548;
	--demo-text: #5c5468;
	--demo-muted: #8a8494;
	--demo-bg: #f7f4ef;
	--demo-bg-alt: #ede8f2;
	--demo-surface: #ffffff;
	--demo-border: #ddd8e4;
	--demo-radius-lg: 12px;
	--demo-shadow-sm: 0 4px 20px rgba(61, 53, 72, 0.05);
	--demo-shadow-md: 0 16px 40px rgba(61, 53, 72, 0.08);
}

[data-reveal] {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

.demo-therapy .demo-btn-primary {
	background: var(--demo-primary);
	color: #fff;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	padding: 14px 28px;
	box-shadow: none;
}

.demo-therapy .demo-btn-primary:hover {
	background: var(--demo-primary-dark);
	transform: translateY(-1px);
	box-shadow: var(--demo-shadow-md);
}

.demo-therapy .demo-btn-outline {
	border: 1.5px solid var(--demo-primary);
	color: var(--demo-primary);
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
	background: transparent;
}

.demo-therapy .demo-btn-text {
	color: var(--demo-primary);
	font-weight: 600;
	font-size: 14px;
	padding: 14px 0;
}

/* Crisis strip */
.therapy-crisis {
	background: #4a4058;
	color: rgba(255, 255, 255, 0.9);
	font-size: 13px;
	padding: 10px 0;
	text-align: center;
	line-height: 1.5;
}

.therapy-crisis a {
	color: #d4c8e8;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Nav */
.therapy-nav {
	background: var(--demo-surface);
	border-bottom: 1px solid var(--demo-border);
	position: sticky;
	top: 0;
	z-index: 100;
}

.therapy-nav.is-scrolled {
	box-shadow: var(--demo-shadow-sm);
}

.therapy-nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 18px 0;
}

.therapy-brand {
	display: flex;
	flex-direction: column;
}

.therapy-brand-name {
	font-family: var(--demo-font-display);
	font-size: 1.25rem;
	color: var(--demo-heading);
	font-weight: 700;
	line-height: 1.2;
}

.therapy-brand-tag {
	font-size: 12px;
	color: var(--demo-muted);
	margin-top: 2px;
}

.therapy-nav-links {
	display: flex;
	gap: 28px;
}

.therapy-nav-links a {
	font-size: 14px;
	color: var(--demo-text);
	font-weight: 500;
}

.therapy-nav-links a:hover {
	color: var(--demo-primary);
}

/* Hero — text-first, no booking */
.therapy-hero {
	padding: clamp(64px, 10vw, 100px) 0 clamp(48px, 6vw, 72px);
	background: var(--demo-bg);
}

.therapy-hero-inner {
	max-width: 680px;
}

.therapy-hero-label {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--demo-accent);
	margin-bottom: 20px;
}

.therapy-hero-title {
	font-family: var(--demo-font-display);
	font-size: clamp(2.25rem, 4.5vw, 3.25rem);
	line-height: 1.2;
	color: var(--demo-heading);
	margin-bottom: 24px;
	font-weight: 700;
}

.therapy-hero-lead {
	font-size: 1.125rem;
	line-height: 1.8;
	color: var(--demo-muted);
	margin-bottom: 32px;
}

.therapy-hero-note {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px 20px;
	background: var(--demo-surface);
	border-left: 3px solid var(--demo-accent);
	border-radius: 0 var(--demo-radius-lg) var(--demo-radius-lg) 0;
	font-size: 14px;
	color: var(--demo-text);
	line-height: 1.6;
	max-width: 520px;
}

.therapy-hero-note-icon {
	font-size: 18px;
	flex-shrink: 0;
	margin-top: 1px;
}

/* "You might be here" — prose, not grid */
.therapy-here {
	background: var(--demo-surface);
	padding: clamp(56px, 8vw, 80px) 0;
}

.therapy-here-layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 56px;
	align-items: start;
}

.therapy-here-aside h2 {
	font-family: var(--demo-font-display);
	font-size: 1.75rem;
	color: var(--demo-heading);
	line-height: 1.25;
	position: sticky;
	top: 100px;
}

.therapy-here-items {
	display: grid;
	gap: 28px;
}

.therapy-here-item {
	padding-bottom: 28px;
	border-bottom: 1px solid var(--demo-border);
}

.therapy-here-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.therapy-here-item h3 {
	font-family: var(--demo-font-display);
	font-size: 1.125rem;
	color: var(--demo-heading);
	margin-bottom: 8px;
}

.therapy-here-item p {
	font-size: 15px;
	color: var(--demo-muted);
	line-height: 1.7;
}

/* ===== BOOKING — full split viewport (unique) ===== */
.therapy-booking-split {
	min-height: 100vh;
	min-height: 100dvh;
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.therapy-booking-calm {
	background: linear-gradient(160deg, var(--demo-bg-alt) 0%, var(--demo-bg) 100%);
	padding: clamp(48px, 6vw, 72px);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.therapy-booking-calm-inner {
	max-width: 440px;
	margin: 0 auto;
}

.therapy-booking-calm h2 {
	font-family: var(--demo-font-display);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	color: var(--demo-heading);
	margin-bottom: 16px;
	line-height: 1.25;
}

.therapy-booking-calm > .therapy-booking-calm-inner > p {
	font-size: 15px;
	color: var(--demo-muted);
	line-height: 1.75;
	margin-bottom: 28px;
}

.therapy-session-types {
	display: grid;
	gap: 12px;
	margin-bottom: 28px;
}

.therapy-session-type {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	background: rgba(255, 255, 255, 0.7);
	border-radius: var(--demo-radius-lg);
	border: 1px solid var(--demo-border);
}

.therapy-session-type-icon {
	font-size: 20px;
}

.therapy-session-type strong {
	display: block;
	font-size: 14px;
	color: var(--demo-heading);
}

.therapy-session-type span {
	font-size: 12px;
	color: var(--demo-muted);
}

.therapy-trust-note {
	font-size: 13px;
	color: var(--demo-muted);
	line-height: 1.6;
	padding-top: 20px;
	border-top: 1px solid var(--demo-border);
}

.therapy-booking-form-side {
	background: var(--demo-surface);
	padding: clamp(48px, 6vw, 72px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-left: 1px solid var(--demo-border);
}

.therapy-booking-form-inner {
	max-width: 420px;
	margin: 0 auto;
	width: 100%;
}

.therapy-booking-form-header {
	margin-bottom: 28px;
}

.therapy-booking-form-header h3 {
	font-family: var(--demo-font-display);
	font-size: 1.375rem;
	color: var(--demo-heading);
	margin-bottom: 8px;
}

.therapy-booking-form-header p {
	font-size: 14px;
	color: var(--demo-muted);
	line-height: 1.6;
}

.demo-therapy .therapy-booking-form-inner .bookora-wizard {
	max-width: none;
	margin: 0;
	box-shadow: none;
	border: none;
	--bookora-primary: #6b7c9e;
	--bookora-primary-dark: #556580;
	--bookora-accent: #9b8ab8;
	--bookora-radius: 8px;
}

.demo-therapy .therapy-booking-form-inner .demo-shortcode-placeholder {
	border: 2px dashed var(--demo-border);
	border-radius: var(--demo-radius-lg);
	padding: 40px 24px;
	text-align: center;
	background: var(--demo-bg);
}

/* Modalities — alternating rows, not card grid */
.therapy-modalities {
	background: var(--demo-bg);
	padding: clamp(56px, 8vw, 88px) 0;
}

.therapy-modality {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
	margin-bottom: 56px;
}

.therapy-modality:last-child {
	margin-bottom: 0;
}

.therapy-modality.reverse .therapy-modality-copy {
	order: 2;
}

.therapy-modality.reverse .therapy-modality-visual {
	order: 1;
}

.therapy-modality-tag {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--demo-accent);
	margin-bottom: 12px;
}

.therapy-modality-copy h3 {
	font-family: var(--demo-font-display);
	font-size: 1.5rem;
	color: var(--demo-heading);
	margin-bottom: 12px;
}

.therapy-modality-copy p {
	font-size: 15px;
	color: var(--demo-muted);
	line-height: 1.75;
}

.therapy-modality-visual {
	border-radius: var(--demo-radius-lg);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--demo-bg-alt);
}

.therapy-modality-visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Session flow — vertical timeline */
.therapy-flow {
	background: var(--demo-surface);
}

.therapy-flow-track {
	max-width: 560px;
	margin: 0 auto;
	position: relative;
	padding-left: 32px;
}

.therapy-flow-track::before {
	content: "";
	position: absolute;
	left: 7px;
	top: 8px;
	bottom: 8px;
	width: 2px;
	background: var(--demo-border);
}

.therapy-flow-step {
	position: relative;
	padding-bottom: 36px;
}

.therapy-flow-step:last-child {
	padding-bottom: 0;
}

.therapy-flow-step::before {
	content: "";
	position: absolute;
	left: -32px;
	top: 6px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--demo-surface);
	border: 3px solid var(--demo-primary);
}

.therapy-flow-step h3 {
	font-family: var(--demo-font-display);
	font-size: 1.0625rem;
	color: var(--demo-heading);
	margin-bottom: 6px;
}

.therapy-flow-step p {
	font-size: 14px;
	color: var(--demo-muted);
	line-height: 1.65;
}

/* About — single practitioner, long-form */
.therapy-about {
	background: var(--demo-bg-alt);
}

.therapy-about-wrap {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.therapy-about-photo {
	width: 140px;
	height: 140px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto 24px;
	border: 4px solid var(--demo-surface);
	box-shadow: var(--demo-shadow-sm);
}

.therapy-about-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.therapy-about-wrap h2 {
	font-family: var(--demo-font-display);
	font-size: 1.75rem;
	color: var(--demo-heading);
	margin-bottom: 6px;
}

.therapy-about-credentials {
	font-size: 13px;
	font-weight: 600;
	color: var(--demo-accent);
	margin-bottom: 24px;
}

.therapy-about-wrap p {
	font-size: 16px;
	color: var(--demo-muted);
	line-height: 1.8;
	margin-bottom: 16px;
	text-align: left;
}

.therapy-about-values {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 28px;
}

.therapy-about-value {
	padding: 8px 16px;
	background: var(--demo-surface);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: var(--demo-primary);
	border: 1px solid var(--demo-border);
}

/* Single environment photo — not a gallery */
.therapy-space {
	padding: 0;
}

.therapy-space-photo {
	position: relative;
	aspect-ratio: 21 / 9;
	max-height: 420px;
	overflow: hidden;
}

.therapy-space-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.therapy-space-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 32px;
	background: linear-gradient(transparent, rgba(61, 53, 72, 0.85));
	color: #fff;
}

.therapy-space-caption p {
	font-family: var(--demo-font-display);
	font-size: 1.25rem;
	max-width: 560px;
	line-height: 1.4;
}

/* Testimonials — 2 long-form, not 3-card grid */
.therapy-voices {
	background: var(--demo-bg);
}

.therapy-voices-list {
	display: grid;
	gap: 32px;
	max-width: 800px;
	margin: 0 auto;
}

.therapy-voice {
	padding: 32px;
	background: var(--demo-surface);
	border-radius: var(--demo-radius-lg);
	border: 1px solid var(--demo-border);
}

.therapy-voice q {
	display: block;
	font-family: var(--demo-font-display);
	font-size: 1.25rem;
	line-height: 1.65;
	color: var(--demo-heading);
	margin-bottom: 20px;
	font-style: italic;
}

.therapy-voice cite {
	font-size: 13px;
	font-weight: 600;
	color: var(--demo-muted);
	font-style: normal;
}

/* Q&A — visible blocks, no accordion */
.therapy-questions {
	background: var(--demo-surface);
}

.therapy-questions-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px 48px;
	max-width: 900px;
	margin: 0 auto;
}

.therapy-question h3 {
	font-family: var(--demo-font-display);
	font-size: 1rem;
	color: var(--demo-heading);
	margin-bottom: 8px;
}

.therapy-question p {
	font-size: 14px;
	color: var(--demo-muted);
	line-height: 1.65;
}

/* Gentle CTA */
.therapy-gentle-cta {
	background: var(--demo-heading);
	color: rgba(255, 255, 255, 0.85);
	padding: clamp(48px, 6vw, 72px) 0;
	text-align: center;
}

.therapy-gentle-cta h2 {
	font-family: var(--demo-font-display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	color: #fff;
	margin-bottom: 12px;
}

.therapy-gentle-cta p {
	font-size: 15px;
	margin-bottom: 24px;
	max-width: 480px;
	margin-inline: auto;
	line-height: 1.65;
}

.therapy-gentle-cta .demo-btn-primary {
	background: var(--demo-accent);
}

.therapy-gentle-cta .demo-btn-primary:hover {
	background: #8a79a8;
}

/* Footer — minimal, no map */
.therapy-footer {
	background: #2e2838;
	color: rgba(255, 255, 255, 0.65);
	padding: 40px 0 24px;
	font-size: 14px;
}

.therapy-footer-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.therapy-footer a {
	color: rgba(255, 255, 255, 0.75);
}

.therapy-footer a:hover {
	color: #fff;
}

.therapy-footer-contact {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

/* Mobile */
.therapy-mobile-cta {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 90;
	display: none;
}

.therapy-mobile-cta .demo-btn {
	width: 100%;
	box-shadow: var(--demo-shadow-md);
}

@media (max-width: 900px) {
	.therapy-booking-split {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.therapy-booking-form-side {
		border-left: none;
		border-top: 1px solid var(--demo-border);
	}

	.therapy-here-layout,
	.therapy-modality,
	.therapy-modality.reverse .therapy-modality-copy,
	.therapy-modality.reverse .therapy-modality-visual {
		grid-template-columns: 1fr;
		order: unset;
	}

	.therapy-here-aside h2 {
		position: static;
		margin-bottom: 24px;
	}

	.therapy-questions-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.therapy-nav-links {
		display: none;
	}

	.therapy-space-photo {
		aspect-ratio: 16 / 10;
		max-height: none;
	}

	.therapy-mobile-cta {
		display: block;
	}

	body.demo-therapy {
		padding-bottom: 80px;
	}
}
