/* Sophie French — main stylesheet. Default palette: Teal & honey. */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/baloo-2-500.woff2") format("woff2"); }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/baloo-2-600.woff2") format("woff2"); }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/baloo-2-700.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/nunito-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/nunito-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/nunito-sans-700.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
	--cream: #fdf6ea;
	--cream-deep: #f7ebd8;
	--mint: #e6f1ec;
	--white: #fffdf9;
	--ink: #2f3733;
	--ink-70: #5c6661;
	--ink-50: #66706b;
	--teal: #2a7a74;
	--teal-dark: #1d5c57;
	--teal-pale: #cfe4e0;
	--honey: #f0b032;
	--honey-pale: #fbe7bd;
	--honey-dark: #8a5a06;
	--hero-sea: #8ac7cb;
	--berry: #a33a36;
	--berry-pale: #f7dedc;
	--round: "Baloo 2", system-ui, sans-serif;
	--sans: "Nunito Sans", system-ui, sans-serif;
	--gutter: clamp(18px, 4vw, 48px);
	--header-h: 74px;
}

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

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 29px;
	-webkit-font-smoothing: antialiased;
	text-wrap: pretty;
	overflow-x: clip;
}

a { color: var(--teal-dark); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; }
::selection { background: var(--honey-pale); }
img { max-width: 100%; }
figure { margin: 0; }
button { font: inherit; }

.site { position: relative; isolation: isolate; }

.container {
	max-width: 1180px;
	margin: 0 auto;
	padding-inline: var(--gutter);
}

.skip-link {
	position: absolute;
	left: 12px;
	top: -100px;
	z-index: 100;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--teal-dark);
	color: var(--white);
	font-family: var(--round);
	font-weight: 600;
	text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	background: var(--cream);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header__bar {
	position: relative;
	z-index: 2;
	padding-block: 14px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px clamp(14px, 2.6vw, 34px);
}

.site-logo {
	font-family: var(--round);
	font-weight: 700;
	font-size: 25px;
	line-height: 1.1;
	text-decoration: none;
	color: var(--teal-dark);
	margin-right: auto;
	white-space: nowrap;
}
.site-logo:hover { color: var(--teal-dark); }
.site-logo--image img { display: block; width: auto; max-height: 46px; }

.desk-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px clamp(12px, 2vw, 24px);
}
.desk-nav__link {
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	color: var(--ink-70);
	white-space: nowrap;
}
.desk-nav__link:hover { color: var(--teal-dark); }

.desk-nav__cta,
.mobile-cta {
	font-family: var(--round);
	font-weight: 600;
	font-size: 16px;
	text-decoration: none;
	color: var(--white);
	background: var(--teal);
	border-radius: 999px;
	white-space: nowrap;
}
.desk-nav__cta { padding: 9px 20px; }
.desk-nav__cta:hover,
.mobile-cta:hover { background: var(--teal-dark); color: var(--white); }

.mobile-actions { display: flex; align-items: center; gap: 8px; }
.mobile-cta {
	padding: 0 18px;
	height: 44px;
	display: inline-flex;
	align-items: center;
}

.menu-btn {
	width: 44px;
	height: 44px;
	border: 2px solid var(--teal-pale);
	border-radius: 50%;
	background: var(--white);
	color: var(--teal-dark);
	display: grid;
	place-content: center;
	cursor: pointer;
	padding: 0;
}
.menu-btn svg { display: block; }
.menu-btn__close { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__open { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__close { display: inline; }

.mobile-panel {
	position: relative;
	z-index: 2;
	padding-top: 4px;
	padding-bottom: 18px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.mobile-panel[hidden] { display: none; }
.mobile-panel__link {
	font-family: var(--round);
	font-weight: 600;
	font-size: 20px;
	line-height: 29px;
	text-decoration: none;
	color: var(--ink);
	background: var(--white);
	border-radius: 16px;
	padding: 12px 18px;
}
.mobile-panel__link:hover { color: var(--teal-dark); }

/* Without JS the menu button can't work, so show the links instead. */
.no-js .menu-btn { display: none; }
.no-js .mobile-panel[hidden] { display: flex; }

@media (max-width: 959px) { .desk-nav { display: none; } }
@media (min-width: 960px) {
	.mobile-actions,
	.mobile-panel,
	.no-js .mobile-panel[hidden] { display: none; }
}
@media (max-width: 420px) { .mobile-cta__rest { display: none; } }

/* ---------- Shared section pieces ---------- */
.section { scroll-margin-top: var(--header-h); }
.section--cream { background: var(--cream); }
.section--cream-deep { background: var(--cream-deep); }
.section--mint { background: var(--mint); }

.section__inner {
	position: relative;
	z-index: 2;
	padding-block: clamp(52px, 6.5vw, 88px);
}

.eyebrow {
	display: inline-block;
	font-family: var(--round);
	font-weight: 600;
	font-size: 15px;
	padding: 5px 15px;
	border-radius: 999px;
	margin-bottom: 18px;
}
.eyebrow--berry { color: var(--berry); background: var(--berry-pale); }
.eyebrow--white { color: var(--teal-dark); background: var(--white); }
.eyebrow--teal { color: var(--teal-dark); background: var(--teal-pale); }
.eyebrow--honey { color: var(--ink); background: var(--honey); }

.section-title {
	font-family: var(--round);
	font-weight: 700;
	font-size: clamp(34px, 4.4vw, 54px);
	line-height: 1.1;
	letter-spacing: -0.012em;
	margin: 0 0 clamp(30px, 4vw, 44px);
	max-width: 20ch;
}

.badge {
	align-self: flex-start;
	font-family: var(--round);
	font-weight: 600;
	font-size: 14px;
	padding: 4px 13px;
	border-radius: 999px;
}
.badge--honey { color: var(--ink); background: var(--honey); }
.badge--berry { color: var(--white); background: var(--berry); }

.icon-disc {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: grid;
	place-content: center;
}
.icon-disc svg,
.check-list__icon svg,
.credentials__icon svg,
.policy__icon svg,
.contact-pill__icon svg { display: block; }
.icon-disc--teal { background: var(--teal-pale); color: var(--teal-dark); }
.icon-disc--honey { background: var(--honey-pale); color: var(--honey-dark); }
.icon-disc--berry { background: var(--berry-pale); color: var(--berry); }

/* ---------- Hero ---------- */
.hero {
	background: var(--hero-sea);
	position: relative;
	overflow: clip;
}
.hero__inner {
	position: relative;
	z-index: 2;
	padding-block: clamp(32px, 4vw, 56px);
}
.hero__text {
	max-width: min(520px, calc(50vw - max(var(--gutter), calc((100vw - 1180px) / 2)) - 32px));
}
.hero__badge {
	display: inline-block;
	font-family: var(--round);
	font-weight: 600;
	font-size: 15px;
	color: var(--teal-dark);
	background: var(--teal-pale);
	padding: 6px 16px;
	border-radius: 18px;
	margin-bottom: 22px;
}
.hero__title {
	font-family: var(--round);
	font-weight: 700;
	font-size: clamp(34px, 3.9vw, 52px);
	line-height: 1.1;
	letter-spacing: -0.015em;
	margin: 0 0 18px;
	max-width: 20ch;
}
.highlight { position: relative; white-space: nowrap; }
.highlight__text { position: relative; z-index: 1; }
.highlight__bar {
	position: absolute;
	left: -4px;
	right: -4px;
	bottom: 20%;
	height: 34%;
	background: var(--honey);
	border-radius: 999px;
	z-index: 0;
	opacity: 0.55;
}
.hero__tagline {
	font-family: var(--round);
	font-weight: 600;
	font-size: clamp(20px, 2vw, 24px);
	line-height: 1.35;
	margin: 0 0 22px;
	color: #134440;
	max-width: 36ch;
}
.hero__chips {
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.hero__chips li {
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	padding: 9px 14px;
	border-radius: 999px;
	background: var(--white);
	border: 2px solid var(--teal-pale);
	color: var(--ink);
}
.hero__intro {
	font-size: 18px;
	line-height: 30px;
	margin: 0 0 28px;
	max-width: 44ch;
	color: var(--ink);
}
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
}
.btn--hero {
	display: inline-block;
	font-family: var(--round);
	font-weight: 600;
	font-size: 18px;
	text-decoration: none;
	color: var(--white);
	background: var(--teal);
	padding: 14px 30px;
	border-radius: 999px;
}
.btn--hero:hover { background: var(--teal-dark); color: var(--white); }
.hero__sticker {
	font-family: var(--round);
	font-weight: 600;
	font-size: 16px;
	color: var(--ink);
	background: var(--honey);
	padding: 8px 18px;
	border-radius: 999px;
	transform: rotate(-4deg);
	box-shadow: 0 8px 18px rgba(47, 55, 51, 0.14);
	white-space: nowrap;
}
.hero__map {
	margin: 0;
	position: absolute;
	z-index: 2;
	left: 50%;
	top: 50%;
	transform: translateY(-50%);
	height: calc(100% - 2 * clamp(20px, 2.5vw, 36px));
	width: auto;
	max-width: calc(50% - clamp(8px, 1.5vw, 24px));
	aspect-ratio: 1325 / 1187;
}
.hero__map img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: left center;
}

/* ---------- Who I help ---------- */
.lessons-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
	align-items: stretch;
}
.lessons-grid--2 { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.lessons-grid--3 { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); }

.lesson-card {
	background: var(--white);
	border-radius: 28px;
	padding: clamp(24px, 3vw, 34px);
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.lesson-card__title {
	font-family: var(--round);
	font-weight: 700;
	font-size: 26px;
	line-height: 1.15;
	margin: 0;
	color: var(--teal-dark);
}
.lesson-card__meta { margin: 0; font-size: 16px; font-weight: 700; }
.lesson-card__points {
	margin: 0;
	padding: 0 0 0 20px;
	font-size: 16px;
	line-height: 27px;
	color: var(--ink-70);
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.lesson-card--featured { background: var(--teal); color: var(--white); }
.lesson-card--featured .lesson-card__title { font-size: 30px; color: inherit; }
.lesson-card--featured .lesson-card__points { color: inherit; gap: 4px; }

/* ---------- Online ---------- */
.online {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 36px clamp(32px, 5vw, 80px);
	align-items: start;
}
.online__title { margin-bottom: 18px; max-width: 16ch; }
.online__lead { margin: 0 0 22px; max-width: 42ch; color: var(--ink-70); }
.online__areas {
	font-family: var(--round);
	font-weight: 600;
	font-size: clamp(20px, 2.2vw, 26px);
	line-height: 1.4;
	margin: 0 0 22px;
	color: var(--teal-dark);
	max-width: 26ch;
}
.online__note { margin: 0; max-width: 42ch; color: var(--ink-70); }

.features { display: flex; flex-direction: column; gap: 14px; }
.feature {
	background: var(--white);
	border-radius: 24px;
	padding: 22px 24px;
	display: flex;
	gap: 16px;
	align-items: flex-start;
}
.feature__title {
	font-family: var(--round);
	font-weight: 600;
	font-size: 20px;
	line-height: 1.3;
	margin: 0 0 4px;
}
.feature__body { margin: 0; font-size: 15.5px; line-height: 26px; color: var(--ink-70); }

/* ---------- Pricing ---------- */
.pricing-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 18px;
	align-items: stretch;
}
.package-card {
	background: var(--teal);
	color: var(--white);
	border-radius: 32px;
	padding: clamp(26px, 3.5vw, 40px);
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.package-card__title {
	font-family: var(--round);
	font-weight: 700;
	font-size: 30px;
	line-height: 1.15;
	margin: 0;
}
.package-card__price {
	margin: 0;
	display: flex;
	align-items: baseline;
	gap: 8px;
	flex-wrap: wrap;
}
.package-card__amount { font-family: var(--round); font-weight: 700; font-size: 58px; line-height: 1; }
.package-card__period { font-size: 16px; font-weight: 700; }
.package-card__includes { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: 0.02em; }

.check-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list__icon {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	margin-top: 2px;
	border-radius: 50%;
	background: var(--honey);
	color: var(--ink);
	display: grid;
	place-content: center;
}
.package-card__btn {
	align-self: flex-start;
	margin-top: auto;
	font-family: var(--round);
	font-weight: 600;
	font-size: 17px;
	text-decoration: none;
	color: var(--teal-dark);
	background: var(--white);
	padding: 12px 26px;
	border-radius: 999px;
}
.package-card__btn:hover { background: var(--honey-pale); color: var(--ink); }

.rates-card {
	background: var(--white);
	border-radius: 32px;
	padding: clamp(26px, 3.5vw, 40px);
	display: flex;
	flex-direction: column;
}
.rates-card__title {
	font-family: var(--round);
	font-weight: 700;
	font-size: 26px;
	line-height: 1.15;
	margin: 0 0 14px;
	color: var(--teal-dark);
}
.rate {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding: 14px 0;
	border-top: 2px solid var(--cream-deep);
}
.rate:last-child { border-bottom: 2px solid var(--cream-deep); }
.rate__label { font-weight: 700; }
.rate__price { font-family: var(--round); font-weight: 700; font-size: 24px; white-space: nowrap; }
.unit { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink-50); }

.policy {
	margin-top: auto;
	padding-top: 22px;
	display: flex;
	gap: 12px;
	align-items: flex-start;
}
.policy__icon {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--berry-pale);
	color: var(--berry);
	display: grid;
	place-content: center;
	margin-top: 1px;
}
.policy__text { margin: 0; font-size: 15px; line-height: 25px; color: var(--ink-70); }
.policy__text strong { color: var(--ink); }

/* ---------- Courses ---------- */
.courses-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 18px;
	align-items: stretch;
}
.course-card {
	background: var(--white);
	border-radius: 28px;
	padding: clamp(24px, 3vw, 32px);
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.course-card--highlight { background: var(--honey-pale); }
.course-card__title {
	font-family: var(--round);
	font-weight: 700;
	font-size: 24px;
	line-height: 1.2;
	margin: 0;
}
.course-card__price {
	margin: 0;
	display: flex;
	align-items: baseline;
	gap: 8px;
	flex-wrap: wrap;
}
.course-card__amount {
	font-family: var(--round);
	font-weight: 700;
	font-size: 40px;
	line-height: 1.1;
	color: var(--teal-dark);
}
.course-card__unit { font-size: 14px; font-weight: 600; color: var(--ink-50); }
.course-card--highlight .course-card__amount { color: var(--honey-dark); }
.course-card--highlight .course-card__unit { color: var(--ink-70); }
.course-card__desc { margin: 0; font-size: 16px; line-height: 27px; color: var(--ink-70); }
.course-card__topics-label { margin: 6px 0 0; font-size: 15px; font-weight: 700; }
.topic-chips {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.topic-chips li {
	font-size: 14px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--mint);
	color: var(--teal-dark);
}
.course-card__bullets {
	margin: 0;
	padding: 0 0 0 20px;
	font-size: 16px;
	line-height: 27px;
	font-weight: 700;
}

/* ---------- About ---------- */
.about {
	display: grid;
	grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
	gap: 44px clamp(32px, 5vw, 80px);
	align-items: start;
}
.about__photo { margin: 0; filter: drop-shadow(0 14px 16px rgba(47, 55, 51, 0.1)); }
.about__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 28px 200px 200px 28px;
}
.about__title { margin-bottom: 24px; }
.about__body p { margin: 0 0 20px; max-width: 54ch; }
.about__body p:last-child { margin-bottom: 28px; }
.about__body > :last-child { margin-bottom: 28px; }

.credentials {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 10px;
}
.credentials li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	background: var(--white);
	border-radius: 18px;
	padding: 12px 16px;
	font-size: 16px;
	line-height: 26px;
}
.credentials__icon {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	margin-top: 2px;
	border-radius: 50%;
	background: var(--teal-pale);
	color: var(--teal-dark);
	display: grid;
	place-content: center;
}

/* ---------- Testimonials ---------- */
.carousel__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px;
	flex-wrap: wrap;
	margin-bottom: 26px;
}
.testimonials__title { margin: 0; max-width: 18ch; }
.carousel__arrows { display: flex; gap: 10px; }
.carousel__arrow {
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: var(--white);
	color: var(--teal-dark);
	font-family: var(--round);
	font-weight: 700;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}
.carousel__arrow:hover { background: var(--teal); color: var(--white); }

.carousel__track { display: flex; flex-direction: column; gap: 18px; }
.js .carousel__viewport { overflow: hidden; border-radius: 32px; }
.js .carousel__track {
	flex-direction: row;
	gap: 0;
	transition: transform 520ms cubic-bezier(0.4, 0, 0.2, 1);
}
@media (prefers-reduced-motion: reduce) { .js .carousel__track { transition: none; } }

.slide {
	flex: 0 0 100%;
	box-sizing: border-box;
	margin: 0;
	background: var(--white);
	border-radius: 32px;
	padding: clamp(26px, 4vw, 48px);
}
.slide__figure { margin: 0; }
.slide__quote {
	font-family: var(--round);
	font-weight: 500;
	font-size: clamp(22px, 2.6vw, 34px);
	line-height: 1.32;
	margin: 0;
	max-width: 36ch;
}
.slide__cite { margin: 22px 0 0; font-size: 16px; font-weight: 700; color: var(--teal-dark); }
.slide__date { font-weight: 400; color: var(--ink-50); }

.carousel__dots { display: flex; flex-wrap: wrap; gap: 0; margin: 12px 0 0 -10px; }
.carousel__dot {
	width: 32px;
	height: 44px;
	padding: 0;
	border: 0;
	cursor: pointer;
	background: radial-gradient(circle, var(--teal-pale) 6px, transparent 6.5px);
}
.carousel__dot[aria-current="true"] { background: radial-gradient(circle, var(--teal) 6px, transparent 6.5px); }
.no-js .carousel__arrows,
.no-js .carousel__dots { display: none; }

/* ---------- FAQ ---------- */
.faq__title { max-width: 18ch; }
.faq-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: 18px;
}
.faq-card { background: var(--white); border-radius: 24px; padding: 24px 26px; }
.faq-card__q {
	font-family: var(--round);
	font-weight: 600;
	font-size: 20px;
	line-height: 1.3;
	margin: 0 0 8px;
}
.faq-card__a { margin: 0; font-size: 16px; line-height: 27px; color: var(--ink-70); }

/* ---------- Contact ---------- */
.contact { background: var(--teal); color: var(--white); }
.contact__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 40px clamp(32px, 5vw, 88px);
	align-items: start;
}
.contact__title {
	font-family: var(--round);
	font-weight: 700;
	font-size: clamp(32px, 4.2vw, 50px);
	line-height: 1.12;
	letter-spacing: -0.012em;
	margin: 0 0 18px;
	max-width: 18ch;
}
.contact__intro { margin: 0 0 30px; max-width: 40ch; color: var(--white); }
.contact__links { display: flex; flex-direction: column; gap: 12px; }
.contact-pill {
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	color: var(--white);
	background: rgba(255, 255, 255, 0.1);
	border-radius: 999px;
	padding: 12px 20px;
}
.contact-pill:hover { background: rgba(255, 255, 255, 0.18); color: var(--white); }
.contact-pill__icon {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--white);
	color: var(--teal-dark);
	display: grid;
	place-content: center;
}
.contact-pill__phone { font-family: var(--round); font-weight: 600; font-size: 23px; }
.contact-pill__email { font-size: 17px; font-weight: 600; word-break: break-word; }

.form-card {
	background: var(--white);
	color: var(--ink);
	border-radius: 28px;
	padding: clamp(22px, 3vw, 32px);
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
}
.form-card--shortcode { display: block; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 15px; font-weight: 700; }
.form-field input,
.form-field select,
.form-field textarea {
	font-family: var(--sans);
	font-size: 17px;
	padding: 12px 18px;
	border: 2px solid var(--cream-deep);
	border-radius: 999px;
	background: var(--cream);
	color: var(--ink);
}
.form-field textarea {
	line-height: 27px;
	padding: 14px 18px;
	border-radius: 20px;
	resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--teal); }
.form-field ::placeholder { color: var(--ink-50); opacity: 1; }

.form-submit {
	align-self: flex-start;
	font-family: var(--round);
	font-weight: 600;
	font-size: 18px;
	color: var(--white);
	background: var(--teal);
	border: 0;
	border-radius: 999px;
	padding: 13px 30px;
	cursor: pointer;
}
.form-submit:hover { background: var(--teal-dark); }

.form-error { margin: 0; font-size: 16px; line-height: 27px; font-weight: 700; color: var(--berry); }

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

.success-card {
	background: var(--white);
	color: var(--ink);
	border-radius: 28px;
	padding: 30px;
}
.success-card__title {
	font-family: var(--round);
	font-weight: 700;
	font-size: 30px;
	line-height: 1.2;
	margin: 0 0 10px;
	color: var(--teal-dark);
}
.success-card__body { margin: 0; font-size: 16px; line-height: 27px; color: var(--ink-70); }

/* ---------- Fallback page template ---------- */
.page-content { padding-block: clamp(52px, 6.5vw, 88px); }
.page-content__title {
	font-family: var(--round);
	font-weight: 700;
	font-size: clamp(34px, 4.4vw, 54px);
	line-height: 1.1;
	margin: 0 0 24px;
}
.page-content__body { max-width: 70ch; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.lessons-grid,
	.online,
	.pricing-grid,
	.about { grid-template-columns: minmax(0, 1fr); }

	.hero__text { max-width: none; }
	.hero__map {
		position: relative;
		left: auto;
		top: auto;
		bottom: auto;
		transform: none;
		height: auto;
		width: auto;
		max-width: none;
		margin: 0 clamp(18px, 4vw, 48px) 28px;
	}
}

@media (min-width: 600px) and (max-width: 900px) {
	.lessons-grid--2,
	.lessons-grid--3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.lessons-grid--3 > :first-child { grid-column: 1 / -1; }
}
