/* ==========================================================================
   Csobbanók Úszásoktatás – fő stíluslap
   Irány: világos, vizes, letisztult, családbarát
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokenek
   -------------------------------------------------------------------------- */
:root {
	/* Színek */
	--c-ink: #0e2b3d;
	--c-navy: #0a3a5c;
	--c-navy-soft: #17557f;
	--c-blue: #1290ce;
	--c-blue-dark: #0a6fa8;
	--c-aqua: #35c1dd;
	--c-aqua-soft: #9be3ef;
	--c-aqua-mist: #e7f5fb;
	--c-coral: #ff7a59;
	--c-coral-dark: #ef603c;
	--c-sand: #fff6f1;

	--c-bg: #ffffff;
	--c-bg-soft: #f4fbfd;
	--c-bg-deep: #062b45;

	--c-text: #1d3d51;
	--c-muted: #5b7d92;
	--c-line: rgba(10, 58, 92, 0.1);
	--c-line-strong: rgba(10, 58, 92, 0.18);

	/* Tipográfia */
	--font-head: "Outfit", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	/* Térköz és forma */
	--radius-sm: 10px;
	--radius: 18px;
	--radius-lg: 28px;
	--radius-xl: 40px;

	--shadow-sm: 0 2px 8px rgba(10, 58, 92, 0.06);
	--shadow: 0 12px 30px -12px rgba(10, 58, 92, 0.22);
	--shadow-lg: 0 30px 60px -24px rgba(10, 58, 92, 0.34);
	--shadow-coral: 0 14px 30px -12px rgba(239, 96, 60, 0.55);

	--wrap: 1180px;
	--wrap-narrow: 820px;
	--gutter: clamp(18px, 5vw, 40px);
	--section-y: clamp(64px, 9vw, 118px);

	--header-h: 78px;

	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Alapok
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	/* A fix fejléc miatt az ugrócélok ne csússzanak a menü alá */
	scroll-padding-top: calc(var(--header-h) + 16px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

a {
	color: var(--c-blue-dark);
	text-decoration: none;
	transition: color 0.2s var(--ease-out);
}

a:hover {
	color: var(--c-coral-dark);
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-head);
	color: var(--c-navy);
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 0 0.5em;
	font-weight: 700;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.2rem, 5.2vw, 3.9rem);
}

h2 {
	font-size: clamp(1.75rem, 3.6vw, 2.7rem);
}

h3 {
	font-size: clamp(1.15rem, 1.9vw, 1.4rem);
}

p {
	margin: 0 0 1.1em;
	text-wrap: pretty;
}

p:last-child {
	margin-bottom: 0;
}

ul {
	margin: 0 0 1.1em;
	padding-left: 1.2em;
}

:focus-visible {
	outline: 3px solid var(--c-coral);
	outline-offset: 3px;
	border-radius: 4px;
}

/* Képernyőolvasónak szánt, vizuálisan rejtett tartalom */
.screen-reader-text,
.sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 999;
	background: #fff;
	padding: 12px 20px;
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
	font-weight: 600;
}

.skip-link:focus {
	top: 16px;
}

/* --------------------------------------------------------------------------
   3. Elrendezés segédosztályok
   -------------------------------------------------------------------------- */
.wrap {
	width: min(var(--wrap), 100% - var(--gutter) * 2);
	margin-inline: auto;
}

.wrap--narrow {
	width: min(var(--wrap-narrow), 100% - var(--gutter) * 2);
}

.section {
	position: relative;
	padding-block: var(--section-y);
}

.section--soft {
	background: var(--c-bg-soft);
}

.section--mist {
	background: linear-gradient(180deg, #ffffff 0%, var(--c-aqua-mist) 100%);
}

.section--deep {
	background: var(--c-bg-deep);
	color: #d9ecf6;
}

.section--deep h2,
.section--deep h3 {
	color: #fff;
}

.section-head {
	max-width: 720px;
	margin: 0 auto clamp(38px, 5vw, 64px);
	text-align: center;
}

.section-head p {
	color: var(--c-muted);
	font-size: 1.06rem;
}

.section--deep .section-head p {
	color: #a9cbdf;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-head);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--c-blue-dark);
	background: var(--c-aqua-mist);
	border-radius: 100px;
	padding: 7px 16px;
	margin-bottom: 18px;
}

.eyebrow::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--c-coral);
}

.section--deep .eyebrow {
	color: var(--c-aqua-soft);
	background: rgba(255, 255, 255, 0.08);
}

.lead {
	font-size: 1.12rem;
	color: var(--c-muted);
}

/* --------------------------------------------------------------------------
   4. Gombok
   -------------------------------------------------------------------------- */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1;
	padding: 17px 30px;
	border-radius: 100px;
	border: 0;
	cursor: pointer;
	text-align: center;
	transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
		background-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

.btn:hover {
	transform: translateY(-2px);
}

.btn:active {
	transform: translateY(0);
}

.btn--primary {
	background: linear-gradient(135deg, var(--c-coral) 0%, var(--c-coral-dark) 100%);
	color: #fff;
	box-shadow: var(--shadow-coral);
}

.btn--primary:hover {
	color: #fff;
	box-shadow: 0 18px 38px -12px rgba(239, 96, 60, 0.62);
}

.btn--blue {
	background: linear-gradient(135deg, var(--c-aqua) 0%, var(--c-blue-dark) 100%);
	color: #fff;
	box-shadow: 0 14px 30px -12px rgba(10, 111, 168, 0.55);
}

.btn--blue:hover {
	color: #fff;
}

.btn--ghost {
	background: rgba(255, 255, 255, 0.92);
	color: var(--c-navy);
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--c-line);
}

.btn--ghost:hover {
	background: #fff;
	color: var(--c-navy);
	box-shadow: var(--shadow);
}

.btn--outline {
	background: transparent;
	color: var(--c-navy);
	border: 2px solid var(--c-line-strong);
}

.btn--outline:hover {
	border-color: var(--c-blue);
	color: var(--c-blue-dark);
}

.btn--sm {
	padding: 12px 22px;
	font-size: 0.92rem;
}

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

/* --------------------------------------------------------------------------
   5. Fejléc + navigáció
   -------------------------------------------------------------------------- */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	height: var(--header-h);
	display: flex;
	align-items: center;
	transition: background-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
		backdrop-filter 0.35s var(--ease-out);
}

.site-header__inner {
	width: min(var(--wrap), 100% - var(--gutter) * 2);
	margin-inline: auto;
	display: flex;
	align-items: center;
	gap: 24px;
}

.site-header.is-stuck {
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	box-shadow: 0 1px 0 var(--c-line), 0 10px 30px -18px rgba(10, 58, 92, 0.4);
}

/* Logó */
.site-brand {
	display: flex;
	align-items: center;
	gap: 11px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1.16rem;
	letter-spacing: -0.02em;
	color: #fff;
	line-height: 1.1;
	flex-shrink: 0;
}

.site-brand img {
	max-height: 46px;
	width: auto;
}

.site-brand__mark {
	width: 42px;
	height: 42px;
	flex-shrink: 0;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--c-aqua) 0%, var(--c-blue-dark) 100%);
	display: grid;
	place-items: center;
	box-shadow: 0 8px 18px -8px rgba(10, 111, 168, 0.8);
}

.site-brand__mark svg {
	width: 24px;
	height: 24px;
	fill: #fff;
}

.site-brand__text small {
	display: block;
	font-family: var(--font-body);
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.75;
}

.is-stuck .site-brand,
.site-header--solid .site-brand {
	color: var(--c-navy);
}

/* Menü */
.nav {
	margin-left: auto;
}

.nav__list {
	display: flex;
	align-items: center;
	gap: clamp(4px, 1.4vw, 20px);
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav__list a {
	position: relative;
	display: block;
	padding: 8px 2px;
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 0.97rem;
	color: rgba(255, 255, 255, 0.92);
	white-space: nowrap;
}

.nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	border-radius: 2px;
	background: var(--c-coral);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ease-out);
}

.nav__list a:hover::after,
.nav__list .is-active a::after {
	transform: scaleX(1);
}

.is-stuck .nav__list a,
.site-header--solid .nav__list a {
	color: var(--c-text);
}

.is-stuck .nav__list a:hover,
.is-stuck .nav__list .is-active a,
.site-header--solid .nav__list a:hover {
	color: var(--c-navy);
}

/* A menüben lévő gomb csak a mobil fiókban kell */
.nav__cta {
	display: none;
}

.header__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
}

.header__phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-head);
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
}

.is-stuck .header__phone {
	color: var(--c-navy);
}

.header__phone svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
	opacity: 0.8;
}

/* Hamburger */
.nav-toggle {
	display: none;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.16);
	backdrop-filter: blur(6px);
	cursor: pointer;
	padding: 0;
	place-items: center;
}

.is-stuck .nav-toggle {
	background: var(--c-aqua-mist);
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: #fff;
	transition: transform 0.3s var(--ease-out), opacity 0.2s linear;
}

.is-stuck .nav-toggle__bars,
.is-stuck .nav-toggle__bars::before,
.is-stuck .nav-toggle__bars::after {
	background: var(--c-navy);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
	content: "";
	position: absolute;
}

.nav-toggle__bars::before {
	transform: translateY(-6px);
}

.nav-toggle__bars::after {
	transform: translateY(6px);
}

body.nav-open .nav-toggle__bars {
	background: transparent;
}

body.nav-open .nav-toggle__bars::before {
	transform: rotate(45deg);
	background: var(--c-navy);
}

body.nav-open .nav-toggle__bars::after {
	transform: rotate(-45deg);
	background: var(--c-navy);
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	min-height: min(100svh, 860px);
	display: flex;
	align-items: center;
	padding-top: calc(var(--header-h) + 40px);
	padding-bottom: clamp(90px, 12vw, 150px);
	overflow: hidden;
	isolation: isolate;
}

.hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 42%;
}

/* Olvashatóságot biztosító réteg a fotó fölött */
.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
			105deg,
			rgba(6, 43, 69, 0.9) 0%,
			rgba(6, 43, 69, 0.72) 42%,
			rgba(10, 111, 168, 0.34) 72%,
			rgba(53, 193, 221, 0.22) 100%
		),
		linear-gradient(180deg, rgba(6, 43, 69, 0.55) 0%, rgba(6, 43, 69, 0) 34%);
}

.hero__content {
	max-width: 680px;
	color: #eaf6fb;
	position: relative;
}

.hero .eyebrow {
	background: rgba(255, 255, 255, 0.14);
	color: #cdeef7;
	backdrop-filter: blur(6px);
}

.hero h1 {
	color: #fff;
	margin-bottom: 22px;
	text-shadow: 0 2px 30px rgba(6, 43, 69, 0.35);
}

.hero h1 em {
	font-style: normal;
	position: relative;
	white-space: nowrap;
	color: var(--c-aqua-soft);
}

/* Kézzel húzott aláhúzás a kiemelt szó alatt */
.hero h1 em::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -0.12em;
	height: 0.14em;
	background: var(--c-coral);
	border-radius: 100px;
	transform: scaleX(0);
	transform-origin: left;
	animation: underline-in 0.9s 0.5s var(--ease-out) forwards;
}

@keyframes underline-in {
	to {
		transform: scaleX(1);
	}
}

.hero__sub {
	font-size: clamp(1.05rem, 1.6vw, 1.24rem);
	color: #cfe7f2;
	max-width: 46ch;
	margin-bottom: 34px;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 38px;
}

.hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 26px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.hero__badges li {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 0.95rem;
	font-weight: 500;
	color: #d8ecf5;
}

.hero__badges svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	fill: var(--c-aqua-soft);
}

/* Görgetés-jelző */
.hero__scroll {
	position: absolute;
	left: 50%;
	bottom: clamp(26px, 4vw, 46px);
	transform: translateX(-50%);
	display: grid;
	place-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.74rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	z-index: 2;
}

.hero__scroll span {
	width: 26px;
	height: 42px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-radius: 100px;
	position: relative;
}

.hero__scroll span::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 9px;
	width: 4px;
	height: 8px;
	margin-left: -2px;
	border-radius: 4px;
	background: #fff;
	animation: scroll-dot 1.9s infinite var(--ease-out);
}

@keyframes scroll-dot {
	0% {
		opacity: 0;
		transform: translateY(-4px);
	}
	40% {
		opacity: 1;
	}
	80%,
	100% {
		opacity: 0;
		transform: translateY(12px);
	}
}

/* Hullám-elválasztó */
.wave-divider {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	line-height: 0;
	z-index: 1;
	pointer-events: none;
}

.wave-divider svg {
	width: 100%;
	height: clamp(50px, 7vw, 96px);
	display: block;
}

.wave-divider--top {
	top: -1px;
	bottom: auto;
	transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   7. Statisztika sáv
   -------------------------------------------------------------------------- */
.stats {
	position: relative;
	margin-top: calc(var(--section-y) * -0.55);
	z-index: 5;
}

.stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2px;
	background: var(--c-line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
}

.stat {
	background: #fff;
	padding: clamp(24px, 3vw, 36px) 20px;
	text-align: center;
}

.stat__num {
	font-family: var(--font-head);
	font-size: clamp(1.9rem, 3.4vw, 2.7rem);
	font-weight: 700;
	line-height: 1;
	color: var(--c-blue-dark);
	background: linear-gradient(135deg, var(--c-aqua) 0%, var(--c-blue-dark) 70%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 8px;
}

.stat__label {
	font-size: 0.92rem;
	color: var(--c-muted);
	line-height: 1.4;
}

/* --------------------------------------------------------------------------
   8. Kártyarácsok (Miért mi, Szolgáltatások)
   -------------------------------------------------------------------------- */
.grid {
	display: grid;
	gap: clamp(18px, 2.4vw, 28px);
}

.grid--2 {
	grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
	grid-template-columns: repeat(4, 1fr);
}

.card {
	position: relative;
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--radius-lg);
	padding: clamp(26px, 3vw, 34px);
	transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
		border-color 0.35s var(--ease-out);
	overflow: hidden;
}

.card::before {
	content: "";
	position: absolute;
	inset: auto -40% -60% auto;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(53, 193, 221, 0.16) 0%, rgba(53, 193, 221, 0) 70%);
	opacity: 0;
	transition: opacity 0.4s var(--ease-out);
}

.card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
	border-color: transparent;
}

.card:hover::before {
	opacity: 1;
}

.card h3 {
	margin-bottom: 10px;
}

.card p {
	color: var(--c-muted);
	font-size: 0.99rem;
	margin-bottom: 0;
}

.card__icon {
	width: 58px;
	height: 58px;
	border-radius: 18px;
	display: grid;
	place-items: center;
	margin-bottom: 20px;
	background: linear-gradient(135deg, var(--c-aqua-mist) 0%, #d6f0f8 100%);
	color: var(--c-blue-dark);
}

.card__icon svg {
	width: 28px;
	height: 28px;
	fill: currentColor;
}

.card--accent .card__icon {
	background: linear-gradient(135deg, #ffe9e1 0%, #ffd9cc 100%);
	color: var(--c-coral-dark);
}

/* Szolgáltatás kártya képpel */
.service {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--c-line);
	transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.service:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
}

.service__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.service__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--ease-out);
}

.service:hover .service__media img {
	transform: scale(1.06);
}

.service__age {
	position: absolute;
	top: 16px;
	left: 16px;
	background: rgba(255, 255, 255, 0.95);
	color: var(--c-navy);
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 0.84rem;
	padding: 7px 14px;
	border-radius: 100px;
	box-shadow: var(--shadow-sm);
}

.service__body {
	padding: clamp(24px, 2.6vw, 30px);
	display: flex;
	flex-direction: column;
	flex: 1;
}

.service__body p {
	color: var(--c-muted);
	font-size: 0.99rem;
}

.service__list {
	list-style: none;
	padding: 0;
	margin: 4px 0 22px;
	display: grid;
	gap: 9px;
}

.service__list li {
	position: relative;
	padding-left: 28px;
	font-size: 0.95rem;
}

.service__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.42em;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background: var(--c-aqua-mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230a6fa8'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E")
		center / 12px no-repeat;
}

.service__foot {
	margin-top: auto;
}

/* --------------------------------------------------------------------------
   9. „Hogyan zajlik egy óra” – lépéssor
   -------------------------------------------------------------------------- */
.lesson {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5vw, 70px);
	align-items: center;
}

.lesson__media {
	position: relative;
}

.lesson__media img {
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-lg);
	aspect-ratio: 4 / 5;
	object-fit: cover;
	width: 100%;
}

/* Lebegő kártya a kép sarkán */
.lesson__float {
	position: absolute;
	right: -18px;
	bottom: 32px;
	background: #fff;
	border-radius: var(--radius);
	padding: 18px 22px;
	box-shadow: var(--shadow-lg);
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: 250px;
}

.lesson__float strong {
	display: block;
	font-family: var(--font-head);
	color: var(--c-navy);
	font-size: 1.02rem;
	line-height: 1.2;
}

.lesson__float span {
	font-size: 0.85rem;
	color: var(--c-muted);
}

.lesson__float-icon {
	width: 44px;
	height: 44px;
	border-radius: 14px;
	flex-shrink: 0;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, #ffe9e1, #ffd2c2);
}

.lesson__float-icon svg {
	width: 22px;
	height: 22px;
	fill: var(--c-coral-dark);
}

.steps {
	list-style: none;
	padding: 0;
	margin: 26px 0 0;
	display: grid;
	gap: 4px;
}

.step {
	position: relative;
	padding: 0 0 26px 62px;
}

/* Függőleges összekötő vonal */
.step::before {
	content: "";
	position: absolute;
	left: 21px;
	top: 44px;
	bottom: 0;
	width: 2px;
	background: linear-gradient(180deg, var(--c-aqua-soft), rgba(155, 227, 239, 0.15));
}

.step:last-child {
	padding-bottom: 0;
}

.step:last-child::before {
	display: none;
}

.step__num {
	position: absolute;
	left: 0;
	top: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-family: var(--font-head);
	font-weight: 700;
	color: #fff;
	background: linear-gradient(135deg, var(--c-aqua) 0%, var(--c-blue-dark) 100%);
	box-shadow: 0 8px 18px -8px rgba(10, 111, 168, 0.8);
}

.step h3 {
	margin-bottom: 5px;
	font-size: 1.13rem;
}

.step p {
	color: var(--c-muted);
	font-size: 0.98rem;
	margin: 0;
}

/* --------------------------------------------------------------------------
   10. Heti órarend
   -------------------------------------------------------------------------- */
.week-wrap {
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	padding: clamp(14px, 1.6vw, 20px);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.week {
	display: grid;
	/* Napok + a „zárva” hasáb. A minmax tartja olvashatóan a kártyákat. */
	grid-auto-flow: column;
	grid-auto-columns: minmax(160px, 1fr);
	gap: 10px;
	min-width: 100%;
}

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

.week__dayname {
	margin: 0 0 2px;
	padding: 11px 10px;
	text-align: center;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--c-navy);
	background: var(--c-bg-soft);
	border-radius: 12px;
}

/* Egy foglalkozás kártyája */
.slot {
	position: relative;
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: 14px;
	padding: 12px 13px;
	flex: 1 1 auto;
	transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.slot:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
	z-index: 2;
}

.slot__time {
	font-size: 0.83rem;
	font-variant-numeric: tabular-nums;
	color: var(--c-muted);
	white-space: nowrap;
}

.slot__name {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 0.99rem;
	color: var(--c-navy);
	line-height: 1.25;
	margin-top: 2px;
}

.slot__people {
	list-style: none;
	margin: 9px 0 0;
	padding: 0;
	display: grid;
	gap: 5px;
}

.slot__people li {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 0.86rem;
	color: var(--c-text);
}

.slot__note {
	margin-top: 7px;
	font-size: 0.83rem;
	color: var(--c-muted);
}

/* Szintjelző vízcseppek */
.level {
	display: inline-flex;
	gap: 1px;
	flex-shrink: 0;
}

.level i {
	display: block;
	width: 13px;
	height: 13px;
	line-height: 0;
}

.level i svg {
	width: 13px;
	height: 13px;
	fill: rgba(10, 58, 92, 0.16);
}

.level i.is-on svg {
	fill: var(--c-blue);
}

/* Tevékenységtípusok színei – ugyanaz a kód, mint a nyomtatott órarendben */
.slot--vizilabda {
	background: #fff2e3;
	border-color: #ffdfbe;
}

.slot--baba {
	background: linear-gradient(160deg, var(--c-navy) 0%, #0d4f7d 100%);
	border-color: transparent;
}

.slot--baba .slot__name,
.slot--buvar .slot__name {
	color: #fff;
}

.slot--baba .slot__time,
.slot--baba .slot__note {
	color: #b6d6e9;
}

.slot--buvar {
	background: linear-gradient(160deg, #9fe3d8 0%, #7fd7ca 100%);
	border-color: transparent;
}

.slot--buvar .slot__name {
	color: #08453c;
}

.slot--buvar .slot__time,
.slot--buvar .slot__note {
	color: #226b60;
}

.slot--szabad {
	background: linear-gradient(160deg, var(--c-blue) 0%, var(--c-blue-dark) 100%);
	border-color: transparent;
}

.slot--szabad .slot__name {
	color: #fff;
}

.slot--szabad .slot__time,
.slot--szabad .slot__note {
	color: #d3ecf9;
}

.slot--aqua {
	background: #ffe8ea;
	border-color: #ffd0d5;
}

/* „Vasárnap zárva” függőleges hasáb */
.week__closed {
	display: grid;
	place-items: center;
	background: var(--c-bg-soft);
	border-radius: 14px;
	padding: 14px 6px;
	min-width: 54px;
}

.week__closed span {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-family: var(--font-head);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--c-muted);
	white-space: nowrap;
}

/* Jelmagyarázat */
.week-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
	justify-content: center;
	margin-top: 22px;
}

.week-legend__group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 18px;
}

.week-legend__title {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 0.88rem;
	color: var(--c-navy);
}

.week-legend__item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 0.88rem;
	color: var(--c-muted);
	white-space: nowrap;
}

.swatch {
	width: 15px;
	height: 15px;
	border-radius: 5px;
	border: 1px solid var(--c-line);
	flex-shrink: 0;
}

.swatch--uszas {
	background: #fff;
	border-color: var(--c-line-strong);
}

.swatch--vizilabda {
	background: #fff2e3;
	border-color: #ffdfbe;
}

.swatch--baba {
	background: var(--c-navy);
	border-color: transparent;
}

.swatch--buvar {
	background: #8fdcd0;
	border-color: transparent;
}

.swatch--szabad {
	background: var(--c-blue);
	border-color: transparent;
}

.swatch--aqua {
	background: #ffe8ea;
	border-color: #ffd0d5;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 13px;
	border-radius: 100px;
	font-size: 0.82rem;
	font-weight: 600;
	font-family: var(--font-head);
	white-space: nowrap;
}

.pill::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}

.pill--free {
	background: #e4f7ee;
	color: #0f7a4f;
}

.pill--few {
	background: #fff3e2;
	color: #a5601a;
}

.pill--full {
	background: #f3f0f0;
	color: #7c6f6f;
}

/* Kisebb változat az órarend kártyáira */
.pill--xs {
	margin-top: 9px;
	padding: 3px 10px;
	font-size: 0.74rem;
}

.schedule__note {
	margin: 20px auto 0;
	max-width: 760px;
	padding: 16px 22px;
	border-radius: var(--radius);
	background: var(--c-bg-soft);
	font-size: 0.92rem;
	color: var(--c-muted);
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: nowrap;
	text-align: left;
}

.schedule__note svg {
	width: 18px;
	height: 18px;
	fill: var(--c-blue);
	flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   11. Árak
   -------------------------------------------------------------------------- */
.price {
	position: relative;
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--radius-lg);
	padding: clamp(28px, 3vw, 38px);
	display: flex;
	flex-direction: column;
	transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.price:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
}

.price--featured {
	border-color: transparent;
	box-shadow: var(--shadow-lg);
	background: linear-gradient(170deg, #ffffff 0%, #f3fbfe 100%);
}

/* A színes keret a kártya tartalma mögé kerül, hogy ne lógjon be a címkébe */
.price--featured::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	border-radius: var(--radius-lg);
	padding: 2px;
	background: linear-gradient(135deg, var(--c-aqua), var(--c-coral));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.price__tag {
	position: absolute;
	z-index: 2;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(135deg, var(--c-coral), var(--c-coral-dark));
	color: #fff;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 0.79rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 7px 18px;
	border-radius: 100px;
	box-shadow: var(--shadow-coral);
	white-space: nowrap;
}

.price__name {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1.16rem;
	color: var(--c-navy);
	margin-bottom: 4px;
}

.price__desc {
	font-size: 0.93rem;
	color: var(--c-muted);
	margin-bottom: 20px;
	min-height: 2.6em;
}

.price__amount {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-bottom: 22px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--c-line);
}

.price__amount b {
	font-family: var(--font-head);
	font-size: clamp(2rem, 3.4vw, 2.5rem);
	font-weight: 700;
	color: var(--c-navy);
	line-height: 1;
	letter-spacing: -0.03em;
}

.price__amount span {
	font-size: 0.92rem;
	color: var(--c-muted);
}

.price__list {
	list-style: none;
	padding: 0;
	margin: 0 0 26px;
	display: grid;
	gap: 11px;
}

.price__list li {
	position: relative;
	padding-left: 28px;
	font-size: 0.95rem;
}

.price__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.4em;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--c-aqua-mist)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230a6fa8'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E")
		center / 12px no-repeat;
}

.price__foot {
	margin-top: auto;
}

.price-note {
	text-align: center;
	margin-top: 32px;
	font-size: 0.93rem;
	color: var(--c-muted);
}

/* --------------------------------------------------------------------------
   12. Oktatók
   -------------------------------------------------------------------------- */
.coach {
	text-align: center;
}

.coach__photo {
	position: relative;
	width: 100%;
	aspect-ratio: 1;
	border-radius: var(--radius-xl);
	overflow: hidden;
	margin-bottom: 20px;
	box-shadow: var(--shadow);
	background: var(--c-aqua-mist);
}

.coach__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--ease-out);
}

.coach:hover .coach__photo img {
	transform: scale(1.05);
}

.coach__photo::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 45%;
	background: linear-gradient(180deg, rgba(6, 43, 69, 0) 0%, rgba(6, 43, 69, 0.55) 100%);
	opacity: 0;
	transition: opacity 0.4s var(--ease-out);
}

.coach:hover .coach__photo::after {
	opacity: 1;
}

/* Fotó nélküli oktató: monogram */
.coach__placeholder {
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--c-aqua-soft) 0%, var(--c-aqua) 100%);
}

.coach__placeholder span {
	font-family: var(--font-head);
	font-size: clamp(3rem, 7vw, 4.6rem);
	font-weight: 700;
	color: #fff;
	opacity: 0.9;
}

.coach__name {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1.14rem;
	color: var(--c-navy);
	margin-bottom: 2px;
}

.coach__role {
	font-size: 0.9rem;
	color: var(--c-blue-dark);
	font-weight: 600;
	margin-bottom: 10px;
}

.coach__bio {
	font-size: 0.94rem;
	color: var(--c-muted);
	margin: 0;
}

/* --------------------------------------------------------------------------
   13. Galéria
   -------------------------------------------------------------------------- */
.gallery {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: clamp(130px, 15vw, 190px);
	gap: clamp(10px, 1.4vw, 18px);
}

.gallery__item {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	cursor: zoom-in;
	background: var(--c-aqua-mist);
	border: 0;
	padding: 0;
	display: block;
}

.gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease-out);
}

.gallery__item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(6, 43, 69, 0) 40%, rgba(6, 43, 69, 0.45) 100%);
	opacity: 0;
	transition: opacity 0.4s var(--ease-out);
}

.gallery__item:hover img {
	transform: scale(1.07);
}

.gallery__item:hover::after {
	opacity: 1;
}

/* Néhány elem nagyobb helyet kap a mozaikban */
.gallery__item--wide {
	grid-column: span 2;
}

.gallery__item--tall {
	grid-row: span 2;
}

.gallery__item--big {
	grid-column: span 2;
	grid-row: span 2;
}

/* Lightbox */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: rgba(6, 43, 69, 0.94);
	backdrop-filter: blur(8px);
	display: grid;
	place-items: center;
	padding: 5vmin;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s var(--ease-out), visibility 0.3s;
}

.lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.lightbox img {
	max-width: 100%;
	max-height: 90vh;
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	transform: scale(0.96);
	transition: transform 0.35s var(--ease-out);
}

.lightbox.is-open img {
	transform: scale(1);
}

.lightbox__close,
.lightbox__nav {
	position: absolute;
	background: rgba(255, 255, 255, 0.14);
	border: 0;
	color: #fff;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	cursor: pointer;
	display: grid;
	place-items: center;
	font-size: 1.5rem;
	line-height: 1;
	transition: background-color 0.2s var(--ease-out);
}

.lightbox__close:hover,
.lightbox__nav:hover {
	background: rgba(255, 255, 255, 0.3);
}

.lightbox__close {
	top: 4vmin;
	right: 4vmin;
}

.lightbox__nav--prev {
	left: 4vmin;
	top: 50%;
	transform: translateY(-50%);
}

.lightbox__nav--next {
	right: 4vmin;
	top: 50%;
	transform: translateY(-50%);
}

/* --------------------------------------------------------------------------
   14. Vélemények
   -------------------------------------------------------------------------- */
.reviews {
	position: relative;
}

.reviews__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(310px, 1fr);
	gap: 22px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 12px;
	scrollbar-width: none;
}

.reviews__track::-webkit-scrollbar {
	display: none;
}

.review {
	scroll-snap-align: start;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius-lg);
	padding: clamp(26px, 3vw, 34px);
	display: flex;
	flex-direction: column;
}

.review__stars {
	display: flex;
	gap: 3px;
	margin-bottom: 16px;
}

.review__stars svg {
	width: 18px;
	height: 18px;
	fill: #ffc23d;
}

.review__text {
	font-size: 1.02rem;
	color: #e2f1f9;
	margin-bottom: 22px;
	flex: 1;
}

.review__author {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
}

.review__avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-family: var(--font-head);
	font-weight: 700;
	color: var(--c-bg-deep);
	background: linear-gradient(135deg, var(--c-aqua-soft), var(--c-aqua));
	flex-shrink: 0;
}

.review__name {
	font-family: var(--font-head);
	font-weight: 600;
	color: #fff;
	line-height: 1.2;
}

.review__meta {
	font-size: 0.85rem;
	color: #8fb6cd;
}

.reviews__controls {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 30px;
}

.reviews__btn {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.24);
	background: transparent;
	color: #fff;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: background-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.reviews__btn:hover {
	background: rgba(255, 255, 255, 0.14);
	transform: translateY(-2px);
}

.reviews__btn svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* --------------------------------------------------------------------------
   15. GYIK
   -------------------------------------------------------------------------- */
.faq {
	display: grid;
	gap: 12px;
}

.faq__item {
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.faq__item.is-open {
	box-shadow: var(--shadow);
	border-color: transparent;
}

.faq__q {
	width: 100%;
	background: none;
	border: 0;
	text-align: left;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1.04rem;
	color: var(--c-navy);
	padding: 22px 60px 22px 26px;
	cursor: pointer;
	position: relative;
	line-height: 1.4;
}

.faq__q::after {
	content: "";
	position: absolute;
	right: 24px;
	top: 50%;
	width: 26px;
	height: 26px;
	margin-top: -13px;
	border-radius: 50%;
	background: var(--c-aqua-mist)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230a6fa8'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%230a6fa8' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E")
		center / 14px no-repeat;
	transition: transform 0.35s var(--ease-out), background-color 0.3s var(--ease-out);
}

.faq__item.is-open .faq__q::after {
	transform: rotate(135deg);
	background-color: #ffe4db;
}

.faq__a {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.4s var(--ease-out);
}

.faq__item.is-open .faq__a {
	grid-template-rows: 1fr;
}

.faq__a > div {
	overflow: hidden;
}

.faq__a p {
	padding: 0 26px 24px;
	color: var(--c-muted);
	font-size: 0.99rem;
	margin: 0;
}

/* --------------------------------------------------------------------------
   16. Kapcsolat + űrlap
   -------------------------------------------------------------------------- */
.contact {
	display: grid;
	grid-template-columns: 1fr 1.12fr;
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}

.contact__info {
	display: grid;
	gap: 14px;
	align-content: start;
}

.contact__item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	padding: 20px 22px;
	transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.contact__item:hover {
	transform: translateX(4px);
	box-shadow: var(--shadow);
}

.contact__icon {
	width: 44px;
	height: 44px;
	border-radius: 14px;
	flex-shrink: 0;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--c-aqua-mist), #d6f0f8);
}

.contact__icon svg {
	width: 21px;
	height: 21px;
	fill: var(--c-blue-dark);
}

.contact__item strong {
	display: block;
	font-family: var(--font-head);
	color: var(--c-navy);
	font-size: 0.87rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin-bottom: 3px;
}

.contact__item a,
.contact__item span {
	color: var(--c-text);
	font-size: 1rem;
	line-height: 1.5;
}

.contact__map {
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--c-line);
	aspect-ratio: 16 / 10;
	background: var(--c-aqua-mist);
}

.contact__map iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

/* Űrlap */
.form-card {
	background: #fff;
	border-radius: var(--radius-lg);
	padding: clamp(26px, 3.4vw, 42px);
	box-shadow: var(--shadow-lg);
	border: 1px solid var(--c-line);
	position: relative;
	overflow: hidden;
}

.form-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 5px;
	background: linear-gradient(90deg, var(--c-aqua), var(--c-blue), var(--c-coral));
}

.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.field {
	display: grid;
	gap: 7px;
}

.field--full {
	grid-column: 1 / -1;
}

.field label {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--c-navy);
}

.field .req {
	color: var(--c-coral-dark);
}

.field input,
.field select,
.field textarea {
	width: 100%;
	font-family: inherit;
	font-size: 1rem;
	color: var(--c-text);
	background: var(--c-bg-soft);
	border: 1.5px solid var(--c-line);
	border-radius: 12px;
	padding: 14px 16px;
	transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out),
		box-shadow 0.2s var(--ease-out);
}

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

.field select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235b7d92'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 22px;
	padding-right: 42px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: 0;
	background: #fff;
	border-color: var(--c-aqua);
	box-shadow: 0 0 0 4px rgba(53, 193, 221, 0.16);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
	border-color: var(--c-coral-dark);
	box-shadow: 0 0 0 4px rgba(239, 96, 60, 0.12);
}

.field__error {
	font-size: 0.85rem;
	color: var(--c-coral-dark);
	min-height: 1em;
}

.consent {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: 0.9rem;
	color: var(--c-muted);
	line-height: 1.5;
}

.consent input {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	margin-top: 2px;
	accent-color: var(--c-blue-dark);
}

/* Botcsapda – emberi szemnek láthatatlan */
.hp-field {
	position: absolute !important;
	left: -9999px;
	opacity: 0;
	height: 0;
	overflow: hidden;
}

.form-status {
	display: none;
	margin-top: 18px;
	padding: 16px 20px;
	border-radius: 12px;
	font-size: 0.96rem;
}

.form-status.is-visible {
	display: block;
}

.form-status--ok {
	background: #e4f7ee;
	color: #0f6b47;
	border: 1px solid #b9e6d2;
}

.form-status--err {
	background: #fdeceb;
	color: #a83224;
	border: 1px solid #f6ccc7;
}

.btn.is-loading {
	pointer-events: none;
	opacity: 0.75;
}

.btn.is-loading::after {
	content: "";
	width: 17px;
	height: 17px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: #fff;
	animation: spin 0.7s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* --------------------------------------------------------------------------
   17. CTA sáv
   -------------------------------------------------------------------------- */
.cta-band {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-blue-dark) 55%, var(--c-aqua) 130%);
	color: #fff;
	border-radius: var(--radius-xl);
	padding: clamp(38px, 5vw, 62px);
	text-align: center;
	box-shadow: var(--shadow-lg);
}

/* Dekoratív buborékok */
.cta-band::before,
.cta-band::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	pointer-events: none;
}

.cta-band::before {
	width: 260px;
	height: 260px;
	top: -110px;
	left: -70px;
}

.cta-band::after {
	width: 180px;
	height: 180px;
	bottom: -80px;
	right: -40px;
}

.cta-band h2 {
	color: #fff;
	margin-bottom: 12px;
	position: relative;
}

.cta-band p {
	color: #cfe7f2;
	max-width: 54ch;
	margin: 0 auto 28px;
	position: relative;
}

.cta-band__actions {
	position: relative;
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   18. Lábléc
   -------------------------------------------------------------------------- */
.site-footer {
	background: var(--c-bg-deep);
	color: #a9cbdf;
	padding-top: clamp(52px, 7vw, 82px);
	position: relative;
}

.site-footer a {
	color: #cfe7f2;
}

.site-footer a:hover {
	color: #fff;
}

.footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
	gap: clamp(28px, 4vw, 52px);
	padding-bottom: 46px;
}

.footer__brand .site-brand {
	color: #fff;
	margin-bottom: 16px;
}

.footer__about {
	font-size: 0.95rem;
	max-width: 34ch;
}

.site-footer h4 {
	color: #fff;
	font-size: 0.88rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 18px;
}

.footer__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 11px;
	font-size: 0.96rem;
}

.socials {
	display: flex;
	gap: 10px;
	margin-top: 20px;
}

.socials a {
	width: 42px;
	height: 42px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, 0.08);
	transition: background-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.socials a:hover {
	background: var(--c-coral);
	transform: translateY(-3px);
}

.socials svg {
	width: 19px;
	height: 19px;
	fill: #fff;
}

.footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 24px 0 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 0.88rem;
}

.footer__legal {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   19. Mobil ragadós CTA sáv
   -------------------------------------------------------------------------- */
.mobile-cta {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 90;
	display: none;
	gap: 10px;
	padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(12px);
	box-shadow: 0 -6px 24px -12px rgba(10, 58, 92, 0.4);
	transform: translateY(110%);
	transition: transform 0.4s var(--ease-out);
}

.mobile-cta.is-visible {
	transform: translateY(0);
}

.mobile-cta .btn {
	flex: 1;
	padding: 14px 12px;
	font-size: 0.94rem;
}

/* --------------------------------------------------------------------------
   20. Scroll-animációk
   -------------------------------------------------------------------------- */
.reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-in {
	opacity: 1;
	transform: none;
}

/* Rácselemek egymás utáni belépése */
.reveal-stagger > * {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal-stagger.is-in > * {
	opacity: 1;
	transform: none;
}

.reveal-stagger.is-in > *:nth-child(2) {
	transition-delay: 0.09s;
}

.reveal-stagger.is-in > *:nth-child(3) {
	transition-delay: 0.18s;
}

.reveal-stagger.is-in > *:nth-child(4) {
	transition-delay: 0.27s;
}

.reveal-stagger.is-in > *:nth-child(5) {
	transition-delay: 0.36s;
}

.reveal-stagger.is-in > *:nth-child(6) {
	transition-delay: 0.45s;
}

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

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

	.reveal,
	.reveal-stagger > * {
		opacity: 1;
		transform: none;
	}
}

/* --------------------------------------------------------------------------
   21. WordPress alapok (belső oldalak: impresszum, adatkezelés)
   -------------------------------------------------------------------------- */
.page-hero {
	padding-top: calc(var(--header-h) + 60px);
	padding-bottom: 40px;
	background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-blue-dark) 100%);
	color: #fff;
}

.page-hero h1 {
	color: #fff;
	margin: 0;
}

.entry-content {
	padding-block: var(--section-y);
}

.entry-content h2 {
	margin-top: 1.8em;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.4em;
}

.entry-content li {
	margin-bottom: 0.4em;
}

.alignleft {
	float: left;
	margin: 0 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0 0 1em 1.5em;
}

.aligncenter {
	margin-inline: auto;
}

.wp-caption-text {
	font-size: 0.88rem;
	color: var(--c-muted);
}

/* --------------------------------------------------------------------------
   22. Reszponzív töréspontok
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.lesson {
		grid-template-columns: 1fr;
	}

	.lesson__media {
		max-width: 460px;
		margin-inline: auto;
	}

	.contact {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 900px) {
	:root {
		--header-h: 68px;
	}

	.nav {
		position: fixed;
		inset: 0 0 0 auto;
		width: min(340px, 86vw);
		background: #fff;
		box-shadow: -20px 0 60px -30px rgba(10, 58, 92, 0.6);
		padding: calc(var(--header-h) + 26px) 30px 30px;
		transform: translateX(101%);
		transition: transform 0.4s var(--ease-out);
		overflow-y: auto;
		margin-left: 0;
	}

	body.nav-open .nav {
		transform: none;
	}

	.nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.nav__list a,
	.is-stuck .nav__list a {
		color: var(--c-navy);
		font-size: 1.06rem;
		padding: 13px 0;
		border-bottom: 1px solid var(--c-line);
	}

	.nav__list a::after {
		display: none;
	}

	.nav__cta {
		display: block;
		margin-top: 22px;
	}

	.nav-toggle {
		display: grid;
		position: relative;
		z-index: 110;
	}

	.header__phone,
	.header__actions .btn {
		display: none;
	}

	/* Fedőréteg a nyitott menü mögött */
	.nav-overlay {
		position: fixed;
		inset: 0;
		background: rgba(6, 43, 69, 0.5);
		backdrop-filter: blur(3px);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.35s var(--ease-out), visibility 0.35s;
		z-index: 95;
	}

	body.nav-open .nav-overlay {
		opacity: 1;
		visibility: visible;
	}

	body.nav-open .site-header {
		background: rgba(255, 255, 255, 0.94);
		backdrop-filter: blur(14px);
	}

	body.nav-open .site-brand {
		color: var(--c-navy);
	}

	.stats__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.grid--3 {
		grid-template-columns: 1fr;
	}

	.mobile-cta {
		display: flex;
	}

	body {
		padding-bottom: 0;
	}

	.gallery {
		grid-template-columns: repeat(2, 1fr);
	}

	.gallery__item--wide {
		grid-column: span 2;
	}
}

@media (max-width: 640px) {
	body {
		font-size: 16px;
	}

	.hero {
		min-height: auto;
		padding-top: calc(var(--header-h) + 54px);
	}

	/* Keskeny kijelzőn a szöveg a kép fölött fut, ezért erősebb fedés kell */
	.hero__media::after {
		background: linear-gradient(
			180deg,
			rgba(6, 43, 69, 0.88) 0%,
			rgba(6, 43, 69, 0.74) 45%,
			rgba(10, 111, 168, 0.62) 100%
		);
	}

	.hero__actions .btn {
		width: 100%;
	}

	.hero__scroll {
		display: none;
	}

	.stats {
		margin-top: calc(var(--section-y) * -0.35);
	}

	.stats__grid {
		border-radius: var(--radius);
	}

	.grid--2,
	.grid--4 {
		grid-template-columns: 1fr;
	}

	.form-grid {
		grid-template-columns: 1fr;
	}

	.footer__grid {
		grid-template-columns: 1fr;
	}

	.footer__bottom {
		justify-content: center;
		text-align: center;
	}

	.lesson__float {
		right: 0;
		bottom: -20px;
	}

	.gallery {
		grid-auto-rows: 150px;
	}

	/* Az órarend mobilon napokra bontva, egymás alatt olvasható */
	.week {
		grid-auto-flow: row;
		grid-auto-columns: auto;
		gap: 18px;
	}

	.week-wrap {
		overflow-x: visible;
	}

	.week__closed {
		padding: 16px;
	}

	.week__closed span {
		writing-mode: horizontal-tb;
		transform: none;
	}

	.week-legend {
		justify-content: flex-start;
	}
}
