/* ==========================================================================
   Psychotherapist Kitchener — Shaziya Vellani
   Clean hand-coded rebuild. One stylesheet.
   Palette + type extracted from the live delogis/Elementor theme.
   ========================================================================== */

:root {
	--cream: #fbf6ef;        /* faq + contact background */
	--sand: #f1ece9;         /* hero + areas background */
	--base: #b67d63;         /* coral/taupe CTA + accents */
	--base-dark: #a86d54;
	--ink: #1a1414;          /* headings + dark sections */
	--secondary: #5b4034;
	--body: #635c5c;         /* body copy */
	--accent-dark: #8a5238;  /* accessible coral for small text */
	--white: #fff;
	--card-shadow: 0 10px 60px 0 rgba(0,0,0,.07);
	--radius: 6px;
	--maxw: 1200px;
	--serif: "Castoro", Georgia, serif;
	--sans: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Self-hosted fonts (were render-blocking Google Fonts). Latin-subset woff2.
   Lexend is a single variable file covering weights 300-700. */
@font-face {
	font-family: "Lexend";
	src: url("assets/fonts/lexend-var.woff2") format("woff2");
	font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
	font-family: "Castoro";
	src: url("assets/fonts/castoro-400.woff2") format("woff2");
	font-weight: 400; font-style: normal; font-display: swap;
}

/* Signature handwriting font, pulled from the live site (delogis alagambe). */
@font-face {
	font-family: "Alagambe";
	src: url("assets/fonts/alagambe.woff2") format("woff2");
	font-weight: 400; font-style: normal; font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--sans);
	font-size: 15px;
	line-height: 30px;
	color: var(--body);
	background: var(--white);
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; color: var(--ink); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 15px; }

.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--ink); color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Buttons ---------- */
.btn {
	position: relative; overflow: hidden; z-index: 1;
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--sans); font-weight: 700; font-size: 14px; line-height: 1;
	border-radius: 30px; padding: 16px 26px; cursor: pointer; border: 2px solid transparent;
	transition: color .3s ease; text-align: center;
}
/* Live "thm-btn" hover: a dark wipe fills left-to-right; text stays put (no lift). */
.btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: var(--ink); transform: scaleX(0); transform-origin: right center;
	transition: transform .4s ease-in-out;
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.btn--primary { background: var(--base); color: #fff; border-color: var(--base); }
.btn--primary:hover { color: #fff; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { color: #fff; }

/* ---------- Section titles ---------- */
.section-title { margin-bottom: 24px; }
.section-title__tagline {
	display: block; font-size: 14px; font-weight: 400; color: var(--accent-dark);
	text-transform: uppercase; letter-spacing: 1.4px; line-height: 1; margin-bottom: 18px;
}
.section-title__title { font-size: 50px; line-height: 1.18; color: var(--ink); }
.section-title__title span { color: inherit; }
.section-title--center { text-align: center; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.is-stuck { background: #fff; box-shadow: 0 10px 60px rgba(0, 0, 0, .05); }
.header__inner {
	display: flex; align-items: center;
	min-height: 110px; gap: 40px;
}
.header__logo img { width: 158px; height: auto; }

/* Header CTA is a hover dropdown (matches live "Schedule Therapy Session"). */
.header__cta { margin-left: auto; position: relative; }
.header__cta-btn { padding: 14px 22px; font-size: 14px; }
.btn__caret {
	display: inline-block; width: 0; height: 0; margin-left: 9px;
	border-left: 5px solid transparent; border-right: 5px solid transparent;
	border-top: 5px solid currentColor; transition: transform .2s ease;
}
.header__cta:hover .btn__caret { transform: rotate(180deg); }
.header__cta-menu {
	position: absolute; top: 100%; right: 0; min-width: 250px; list-style: none; margin: 0; padding: 8px 0;
	background: #fff; border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0, 0, 0, .1);
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 120;
}
.header__cta:hover .header__cta-menu, .header__cta:focus-within .header__cta-menu {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.header__cta-menu a { display: block; padding: 11px 24px; font-size: 15px; color: var(--body); white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.header__cta-menu a:hover { background: var(--sand); color: var(--ink); }

.nav__list { display: flex; align-items: center; gap: 34px; }
.nav__list > li { position: relative; }
.nav__list a { font-size: 17px; color: var(--body); padding: 8px 0; display: inline-block; transition: color .2s; }
.nav__list a:hover, .nav__list a[aria-current] { color: var(--ink); }

.nav__has-children > a::after {
	content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 7px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}
.nav__sub {
	position: absolute; top: 100%; left: -20px; min-width: 270px;
	background: #fff; box-shadow: 0 10px 40px rgba(0, 0, 0, .08); border-radius: var(--radius);
	padding: 16px 0; opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: all .2s ease;
}
.nav__has-children:hover .nav__sub,
.nav__has-children:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a { display: block; padding: 9px 24px; font-size: 15px; color: var(--body); white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.nav__sub a:hover { background: var(--sand); color: var(--ink); }

.nav-toggle {
	display: none; background: none; border: 0; color: var(--base); cursor: pointer;
	padding: 8px; line-height: 0; min-width: 44px; min-height: 44px;
}

/* ---------- Mobile nav ---------- */
.mobile-nav { position: fixed; inset: 0; z-index: 200; }
.mobile-nav[hidden] { display: none; }
.mobile-nav__overlay { position: absolute; inset: 0; background: rgba(26,20,20,.55); }
.mobile-nav__panel {
	position: absolute; top: 0; right: 0; height: 100%; width: 300px; max-width: 82vw;
	background: var(--ink); color: #fff; padding: 28px 26px; overflow-y: auto;
	transform: translateX(100%); transition: transform .28s ease;
}
.mobile-nav.is-open .mobile-nav__panel { transform: translateX(0); }
.mobile-nav__close {
	position: absolute; top: 16px; right: 16px; background: none; border: 0; color: #fff;
	cursor: pointer; padding: 8px; line-height: 0; min-width: 44px; min-height: 44px;
}
.mobile-nav__logo { display: inline-block; background: #fff; padding: 10px 14px; border-radius: var(--radius); margin-bottom: 26px; }
.mobile-nav__logo img { width: 150px; }
.mobile-nav__list li { border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-nav__list a { display: block; padding: 14px 2px; font-size: 17px; color: #fff; }
.mobile-nav__list a:hover { color: var(--base); }

/* ---------- Hero ---------- */
.hero {
	position: relative; background: var(--sand);
	min-height: 837px; overflow: hidden;
}
.hero__inner { position: relative; z-index: 2; display: flex; align-items: center; gap: 30px; min-height: 837px; }
.hero__content { position: relative; z-index: 2; max-width: 640px; padding: 60px 0; }
.hero__title { font-size: 68px; line-height: 1.2; color: var(--ink); margin-bottom: 34px; }
.hero__cta-row { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero__founder { line-height: 1.2; }
.hero__founder-name { display: block; font-family: "Alagambe", cursive; font-size: 40px; color: var(--ink); }
.hero__founder-sub { display: block; font-size: 14px; color: var(--body); margin-top: 2px; }

.hero__swirl {
	position: absolute; left: 20px; top: 90px; z-index: 1;
	width: 288px; height: auto; opacity: .9; pointer-events: none;
}
/* Photo is absolutely placed bottom-right so it bleeds up to the header line (matching live)
   and does not constrain the heading width. */
.hero__media {
	position: absolute; right: 128px; bottom: 0; top: auto; z-index: 1;
	width: 557px; max-width: 48%; display: flex; align-items: flex-end; justify-content: flex-end;
}
.hero__photo { width: 100%; max-width: 557px; height: auto; }
.hero__star { position: absolute; z-index: 1; }
.hero__star--1 { width: 52px; top: 12%; right: 2%; animation: floaty 6s ease-in-out infinite; }
.hero__star--2 { width: 35px; bottom: 18%; left: 4%; animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* ---------- About ---------- */
.about { padding: 120px 0 115px; background: #fff; }
.about__inner { display: flex; gap: 50px; align-items: flex-start; }
.about__media { flex: 0 0 370px; max-width: 370px; }
.about__media img { border-radius: var(--radius); width: 100%; }
.about__content { flex: 1 1 auto; }
.about .section-title__title { font-size: 50px; line-height: 1.18; margin-bottom: 30px; }
.about__text p { margin-bottom: 52px; }
.about__foot { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; margin-top: 14px; }
.about__sign-name { display: block; font-family: "Alagambe", cursive; font-size: 40px; line-height: 1.1; color: var(--ink); }
.about__sign-sub { display: block; font-size: 14px; }

/* ---------- Quote (dark) — carousel ---------- */
.quote { background: var(--ink); color: #fff; padding: 107px 0 114px; text-align: center; }
.quote__carousel { max-width: 940px; margin: 0 auto; position: relative; }
.quote__mark { width: 60px; height: auto; margin: 0 auto 26px; opacity: .9; }
.quote__track { position: relative; min-height: 210px; }
.quote__slide {
	display: none; margin: 0; flex-direction: column; align-items: center;
}
.quote__slide.is-active { display: flex; animation: quoteFade .7s ease; }
@keyframes quoteFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.quote__text {
	margin: 0 0 26px; font-family: var(--sans); font-weight: 300;
	font-size: 30px; line-height: 44px; color: #fff;
}
.quote__cite { font-family: var(--serif); font-style: normal; font-size: 22px; color: #fff; }
.quote__nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	background: none; border: 0; color: rgba(255,255,255,.55); cursor: pointer;
	width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
	transition: color .2s ease;
}
.quote__nav:hover { color: var(--base); }
.quote__nav--prev { left: -10px; }
.quote__nav--next { right: -10px; }

/* ---------- Services (Areas + Fees) ---------- */
.services { padding: 120px 0 90px; }
.services--areas { background: var(--sand); padding-bottom: 118px; }
.services--fees { background: var(--sand); }
.services__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 50px; }
.services__top .section-title { margin-bottom: 0; }
.services__intro { max-width: 430px; margin: 0; }

.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.services__grid--four { grid-template-columns: repeat(4, 1fr); }

/* Live card: white paper, icon on a soft sand pad, then a full-width bottom bar
   (top border) that fills coral on hover; card lifts 10px, icon nudges in. */
.service-card {
	background: #fff; border-radius: var(--radius); box-shadow: var(--card-shadow);
	padding: 0; overflow: hidden; transition: transform .5s ease;
	display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-10px); }
.service-card__icon {
	position: relative; z-index: 1; align-self: flex-start;
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--base); margin: 32px 40px 20px; transition: transform .5s ease;
}
.service-card__icon svg { width: 46px; height: 46px; }
.service-card__icon::before {
	content: ""; position: absolute; z-index: -1; left: -16px; right: -30px; top: -10px; bottom: -8px;
	border-radius: var(--radius);
	background: linear-gradient(90deg, rgba(241,236,233,0) 0%, rgba(241,236,233,1) 80%);
}
.service-card:hover .service-card__icon { transform: scale(.92); }
.service-card__title { font-size: 20px; line-height: 1.3; margin: 0 0 14px; padding: 0 40px; }
.service-card__title a:hover { color: var(--base); }
.service-card__text { font-size: 15px; font-weight: 300; line-height: 30px; margin: 0 0 19px; padding: 0 40px; flex: 1 1 auto; }
.service-card__link {
	display: flex; align-items: center; gap: 8px; width: 100%;
	padding: 12px 40px 14px; border-top: 1px solid #ded6d3;
	font-size: 13px; color: var(--body); font-weight: 400;
	transition: background-color .5s ease, color .5s ease, border-color .5s ease;
}
.service-card:hover .service-card__link { background: var(--base); color: #fff; border-top-color: transparent; }
.service-card__link .arrow { color: var(--base); transition: color .5s ease; }
.service-card:hover .service-card__link .arrow { color: #fff; }

/* ---------- CTA band ---------- */
.cta { background: var(--base); padding: 50px 0; }
.cta__inner { display: flex; align-items: center; justify-content: center; gap: 34px; flex-wrap: wrap; }
.cta__text { margin: 0; color: #fff; font-size: 24px; font-weight: 400; }

/* ---------- Therapeutic Approaches ---------- */
.approaches { background: var(--cream); padding: 100px 0 55px; }
.approaches__inner { display: flex; gap: 60px; align-items: flex-start; }
.approaches__left, .approaches__right { flex: 1 1 50%; }
.approaches .section-title__title { font-size: 50px; margin-bottom: 34px; }
.approaches__points { display: flex; flex-direction: column; gap: 26px; }
.approaches__points li { display: flex; gap: 16px; }
.approaches__point-icon {
	flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%;
	background: var(--base); color: #fff;
	display: flex; align-items: center; justify-content: center; margin-top: 4px;
	transition: background-color .3s ease;
}
.approaches__point-icon svg { width: 18px; height: 18px; }
.approaches__points li:hover .approaches__point-icon { background: var(--ink); }
.approaches__points h3 { font-size: 20px; margin-bottom: 8px; }
.approaches__points p { font-size: 15px; margin: 0; }

/* Accordion — live uses bordered items (no shadow), 10px gaps, shadow only when active. */
.accordion__item { background: #fff; border-radius: var(--radius); border: 1px solid #ded6d3; margin-bottom: 10px; overflow: hidden; transition: box-shadow .3s ease; }
.accordion__item--active { box-shadow: 0 10px 60px 0 rgba(0,0,0,.05); }
.accordion__title {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	background: none; border: 0; cursor: pointer; text-align: left;
	font-family: var(--serif); font-size: 19px; color: var(--ink); padding: 19px 30px; line-height: 1.35;
}
.accordion__item--active .accordion__title { color: var(--accent-dark); }
.accordion__chev { flex: 0 0 auto; width: 14px; height: 14px; position: relative; color: var(--base); }
.accordion__item--active .accordion__chev { color: var(--ink); }
.accordion__chev::before, .accordion__chev::after {
	content: ""; position: absolute; background: currentColor; transition: opacity .2s;
}
.accordion__chev::before { top: 6px; left: 0; width: 14px; height: 2px; }
.accordion__chev::after { top: 0; left: 6px; width: 2px; height: 14px; }
.accordion__item--active .accordion__chev::after { opacity: 0; }
.accordion__panel { display: none; }
.accordion__item--active .accordion__panel { display: block; }
.accordion__inner { padding: 0 35px 23px 30px; }
.accordion__inner p { margin: 0; font-size: 15px; }

/* ---------- Contact ---------- */
.contact { background: var(--cream); padding: 120px 0 65px; }
.contact .section-title { margin-bottom: 44px; }
.contact .section-title__title { font-size: 44px; }
.contact__form-box { max-width: 900px; margin: 0 auto; }
.contact-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.field input, .field select, .field textarea {
	width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink);
	background: #fff; border: 1px solid #ece4dc; border-radius: var(--radius);
	padding: 15px 20px; line-height: 1.4; transition: border-color .2s;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #a49b95; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--base); }
.field--full { margin-bottom: 20px; }
.field-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__foot { text-align: center; }
.contact-form__btn { padding: 16px 40px; }
.contact-form__status { margin: 22px auto 0; max-width: 620px; padding: 14px 18px; border-radius: var(--radius); border: 2px solid; font-size: 15px; text-align: center; }
.contact-form__status.is-ok { color: #2e7d32; border-color: #46b450; background: #f1f8f2; }
.contact-form__status.is-err { color: #b71c1c; border-color: #dc3232; background: #fdf2f2; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: rgba(255,255,255,.72); overflow: hidden; }
/* footer decorative graphic removed per founder */
.site-footer__inner {
	position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr 1.1fr;
	gap: 50px; padding: 80px 15px 60px;
}
.site-footer__logo { display: inline-block; background: #fff; padding: 12px 16px; border-radius: var(--radius); margin-bottom: 24px; }
.site-footer__logo img { width: 158px; }
.site-footer__tagline { font-size: 15px; line-height: 28px; margin: 0; }
.site-footer__title { color: #fff; font-size: 22px; margin-bottom: 24px; }
.site-footer__links li { margin-bottom: 12px; }
.site-footer__links a { font-size: 15px; transition: color .2s; }
.site-footer__links a:hover { color: var(--base); }
.site-footer__contact li { display: flex; gap: 14px; margin-bottom: 22px; }
.site-footer__ci {
	flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
	background: rgba(255,255,255,.08); color: var(--base);
	display: flex; align-items: center; justify-content: center;
}
.site-footer__ct { display: flex; flex-direction: column; gap: 4px; }
.site-footer__ct strong { color: #fff; font-weight: 500; font-size: 15px; }
.site-footer__ct span, .site-footer__ct a { font-size: 15px; line-height: 24px; }
.site-footer__ct a:hover { color: var(--base); }
.site-footer__bottom { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.site-footer__bottom p { margin: 0; font-size: 14px; text-align: center; }

/* ---------- Scroll to top ---------- */
.scroll-top {
	position: fixed; right: 30px; bottom: 30px; z-index: 90;
	width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
	background: var(--base); color: #fff; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .18); opacity: 0; transform: translateY(12px);
	transition: opacity .3s ease, transform .3s ease, background-color .2s ease;
}
.scroll-top.is-visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--base-dark); }
.scroll-top[hidden] { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	.section-title__title { font-size: 42px; }
	.hero__title { font-size: 54px; }
	.hero__media { right: 2%; max-width: 44%; }
	.services__grid, .services__grid--four { grid-template-columns: repeat(2, 1fr); }
	.approaches__inner { flex-direction: column; gap: 40px; }
	.about .section-title__title, .approaches .section-title__title { font-size: 40px; }
}

@media (max-width: 900px) {
	.nav, .header__cta { display: none; }
	.nav-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
	.hero { min-height: auto; }
	.hero__inner { flex-direction: column; text-align: center; min-height: auto; gap: 36px; }
	.hero__content { max-width: none; padding: 0; }
	.hero__cta-row { justify-content: center; }
	.hero__media { position: static; width: auto; order: -1; align-items: center; justify-content: center; }
	.about__inner { flex-direction: column; }
	.about__media { flex-basis: auto; max-width: 370px; }
}

@media (max-width: 767px) {
	/* Live mobile hero: big full-bleed photo, heading pulls up over the photo bottom, then button, then signature. */
	.hero { padding: 150px 0 190px; }
	.hero__swirl { display: none; }
	.hero__star { display: none; }
	.hero__inner { gap: 0; }
	.hero__media { width: calc(100% + 32px); margin-left: -16px; margin-right: -16px; margin-bottom: -50px; }
	.hero__photo { max-width: 100%; width: 100%; }
	.hero__title { position: relative; z-index: 3; margin-bottom: 18px; }
	.hero__cta-row { flex-direction: column; gap: 16px; align-items: center; }
	.hero__founder { margin-top: 4px; }
	/* Live keeps full section padding on mobile; restore it (overrides desktop trims). */
	.approaches { padding: 110px 0 115px; }
	.contact { padding: 120px 0; }
	.hero__title { font-size: 35px; line-height: 45px; }
	.section-title__title,
	.about .section-title__title, .approaches .section-title__title,
	.contact .section-title__title { font-size: 30px; line-height: 45px; }
	.services__top { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 40px; }
	.services__grid, .services__grid--four { grid-template-columns: 1fr; gap: 24px; }
	.quote { padding: 107px 0 221px; }
	.quote__text { font-size: 20px; line-height: 30px; }
	.contact-form__grid { grid-template-columns: 1fr; gap: 16px; }
	.cta__inner { flex-direction: column; gap: 20px; text-align: center; }
	.cta__text { font-size: 24px; line-height: 34px; }
	.site-footer__inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 15px 40px; }
	.about__foot { gap: 24px; }
	.btn { padding: 15px 22px; }
}

@media (max-width: 360px) {
	.hero__title { font-size: 32px; }
	.container { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
