/* ---- Sapientia Therapy — custom design ---- */

:root {
	--navy: #1f2d3a;
	--text: #3c4a56;
	--text-muted: #6b7a86;
	--blue: #1a7cca;
	--blue-dark: #135f9c;
	--teal: #3f9e97;
	--bg: #fbfcfe;
	--bg-alt: #eef6f7;
	--bg-card: #ffffff;
	--border: #e2e9ee;
	--radius-lg: 20px;
	--radius-md: 14px;
	--radius-sm: 10px;
	--shadow: 0 10px 30px rgba(31, 45, 58, 0.07);
	--shadow-sm: 0 4px 14px rgba(31, 45, 58, 0.06);
	--font-head: 'Fraunces', 'Georgia', serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--text);
	background: var(--bg);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
	font-family: var(--font-head);
	color: var(--navy);
	line-height: 1.2;
	margin: 0 0 0.5em;
	font-weight: 600;
}
h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }
a { color: var(--blue-dark); }

.wrap {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 1.75rem;
}

.eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--teal);
	margin: 0 0 0.6em;
}

.section-head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 2.5rem;
}
.section-head-left {
	text-align: left;
	margin: 0 0 2rem;
}

section { padding: 5rem 0; }

/* Buttons */
.btn {
	display: inline-block;
	padding: 0.9em 2em;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
	border: 2px solid transparent;
}
.btn-primary {
	background: var(--blue);
	color: #fff;
	box-shadow: 0 6px 18px rgba(26, 124, 202, 0.3);
}
.btn-primary:hover {
	background: var(--blue-dark);
	transform: translateY(-2px);
	color: #fff;
}
.btn-ghost {
	background: transparent;
	color: var(--navy);
	border-color: var(--border);
}
.btn-ghost:hover {
	border-color: var(--blue);
	color: var(--blue-dark);
}
.btn-small {
	padding: 0.55em 1.4em;
	font-size: 0.85rem;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(251, 252, 254, 0.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--border);
}
.header-inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	height: 76px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
	margin-right: auto;
}
.brand-mark { width: 34px; height: auto; }
.brand-name {
	font-family: var(--font-head);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--navy);
}
.main-nav {
	display: flex;
	gap: 1.75rem;
}
.main-nav a {
	text-decoration: none;
	color: var(--text);
	font-weight: 500;
	font-size: 0.95rem;
}
.main-nav a:hover { color: var(--blue-dark); }

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}
.nav-toggle span {
	width: 22px;
	height: 2px;
	background: var(--navy);
}

/* Hero */
.hero {
	padding: 4.5rem 0 5rem;
	background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}
.hero-inner {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 3.5rem;
	align-items: center;
}
.hero-copy h1 { margin-bottom: 0.6em; }
.hero-quote {
	font-style: italic;
	color: var(--text-muted);
	font-size: 1.05rem;
	border-left: 3px solid var(--teal);
	padding-left: 1em;
	margin-bottom: 1.75em;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-media img {
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	aspect-ratio: 3 / 4;
	object-fit: cover;
	object-position: top center;
	width: 100%;
}

/* Text boxes: a numbered timeline, styled like an unfolding story */
.text-stack {
	display: grid;
	gap: 1.5rem;
	position: relative;
	padding-left: 3.25rem;
	counter-reset: step;
}
.text-stack::before {
	content: '';
	position: absolute;
	left: 17px;
	top: 8px;
	bottom: 8px;
	width: 2px;
	background: linear-gradient(180deg, var(--teal) 0%, var(--border) 85%);
}
.text-stack-wide {
	max-width: 760px;
	margin: 0 auto;
}
.text-box {
	position: relative;
	counter-increment: step;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 1.5rem 1.75rem;
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.text-box:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}
.text-box::before {
	content: counter(step);
	position: absolute;
	left: -3.25rem;
	top: 1.1rem;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--teal);
	color: #fff;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 0.95rem;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 10px rgba(63, 158, 151, 0.35);
}
.text-box::after {
	content: '\201D';
	position: absolute;
	top: -0.5rem;
	right: 0.6rem;
	font-family: var(--font-head);
	font-size: 4.5rem;
	line-height: 1;
	color: var(--bg-alt);
	z-index: 0;
}
.text-box p {
	margin: 0;
	position: relative;
	z-index: 1;
}

/* Intro (Hi, I'm Phyllis) */
.intro { background: var(--bg); }
.intro-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
	align-items: start;
}
.intro-video video {
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	background: #000;
	aspect-ratio: 16 / 9;
}

.about-me { background: var(--bg-alt); }
.about-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 2.5rem;
	align-items: start;
}
.about-media img {
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	object-fit: cover;
	aspect-ratio: 3 / 4;
	position: sticky;
	top: 100px;
}

/* Services */
.services-layout {
	display: grid;
	grid-template-columns: 1.3fr 0.9fr;
	gap: 2.5rem;
	align-items: stretch;
}
.services-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}
.services-col {
	list-style: none;
	margin: 0;
	padding: 0;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}
.services-col li {
	padding: 0.9rem 1.3rem;
	border-bottom: 1px solid var(--border);
	font-weight: 600;
	color: var(--blue-dark);
	font-size: 0.95rem;
}
.services-col li:last-child { border-bottom: none; }
.services-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}
.services-tagline {
	text-align: center;
	font-family: var(--font-head);
	font-size: 1.3rem;
	color: var(--navy);
	margin: 2.5rem 0 0;
}

/* Reviews */
.reviews { background: var(--bg-alt); }
.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}
.testimonial-card {
	background: var(--bg-card);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow);
	padding: 1.9rem;
	margin: 0;
}
.testimonial-card p {
	font-style: italic;
	color: var(--text);
	margin: 0 0 1rem;
}
.testimonial-card cite {
	display: block;
	font-weight: 700;
	font-style: normal;
	color: var(--blue-dark);
}
.reviews-tagline {
	text-align: center;
	font-family: var(--font-head);
	font-size: 1.35rem;
	color: var(--navy);
	margin: 2.5rem 0 0;
}

/* Accreditation */
.accreditation { padding: 3.5rem 0; }
.accreditation-inner {
	display: flex;
	align-items: center;
	gap: 2.5rem;
	flex-wrap: wrap;
	justify-content: center;
	text-align: center;
}
.accreditation-logo { max-width: 280px; }
.accreditation-text {
	font-family: var(--font-head);
	font-size: 1.15rem;
	color: var(--navy);
	max-width: 320px;
	margin: 0;
}

/* Fees */
.fees { background: var(--bg-alt); text-align: center; }
.fees .wrap { max-width: 720px; }
.fees-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.25rem;
	margin: 0 0 2rem;
}
.fee-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 1.75rem;
	box-shadow: var(--shadow-sm);
}
.fee-card h3 { margin-bottom: 0.4em; }
.fee-amount {
	font-family: var(--font-head);
	font-size: 2.3rem;
	font-weight: 600;
	color: var(--blue);
	margin: 0 0 0.2em;
}
.fees-note { font-size: 0.88rem; color: var(--text-muted); }

/* Location / What to Expect */
.info-strip { padding: 0 0 5rem; }
.info-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}
.info-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 2.25rem;
	box-shadow: var(--shadow-sm);
}
.info-card p:last-child { margin-bottom: 0; }

/* Contact */
.contact { background: var(--navy); color: #dfe6ec; }
.contact .eyebrow { color: #8fd0c8; }
.contact h2 { color: #fff; }
.contact-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 3rem;
}
.contact-form {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.contact-form label {
	font-weight: 600;
	margin-top: 0.85rem;
	font-size: 0.9rem;
}
.contact-form input,
.contact-form textarea {
	padding: 0.8em 1em;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--radius-sm);
	font-family: inherit;
	font-size: 1rem;
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #9aa9b3; }
.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--teal);
	background: rgba(255, 255, 255, 0.1);
}
.contact-form button { margin-top: 1.5rem; align-self: flex-start; }
.form-note { font-size: 0.82rem; color: #9aa9b3; margin-top: 1rem; }

.talk-to-me { padding-top: 0.5rem; }
.talk-to-me h3 { color: #fff; margin-bottom: 1.2rem; }
.contact-item { margin-bottom: 1.5rem; }
.contact-label {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.75rem;
	color: #8fd0c8;
	font-weight: 700;
	margin-bottom: 0.3em;
}
.contact-item a { color: #fff; font-size: 1.1rem; text-decoration: none; }
.contact-item a:hover { color: #8fd0c8; }

/* Footer */
.site-footer {
	background: #16202a;
	color: rgba(255, 255, 255, 0.65);
	text-align: center;
	padding: 2rem 0;
	font-size: 0.85rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.footer-inner p { margin: 0.3em 0; }

/* Responsive */
@media (max-width: 900px) {
	.hero-inner,
	.intro-grid,
	.about-grid,
	.services-layout,
	.info-grid,
	.contact-grid {
		grid-template-columns: 1fr;
	}
	.hero-media { order: -1; }
	.hero-media img { aspect-ratio: 4 / 3; }
	.testimonials-grid { grid-template-columns: 1fr; }
	.services-media { order: -1; }
	.services-media img { max-height: 260px; }
	.about-media img { position: static; max-height: 320px; }
}

@media (max-width: 700px) {
	section { padding: 3.5rem 0; }
	.main-nav {
		position: absolute;
		top: 76px;
		left: 0;
		right: 0;
		background: var(--bg);
		flex-direction: column;
		padding: 1rem 1.75rem;
		display: none;
		border-bottom: 1px solid var(--border);
	}
	.main-nav.open { display: flex; }
	.nav-toggle { display: flex; }
	.hdr-cta { display: none; }
	.services-columns { grid-template-columns: 1fr; }
}
