/* ═══════════════════════════════════════════════════════════════════════
   SwimWars Úszóiskola — "Splash Play" design-rendszer
   Paletta: krém + türkiz + navy + korall + sárga · Fredoka + Manrope
   Copyright © 2026 Bor Zoltán. Minden jog fenntartva.
   ═══════════════════════════════════════════════════════════════════════ */
:root {
    --cream:    #fff8ec;
    --turq:     #2bc4e8;
    --turq-dk:  #1ba6cc;
    --turq-lt:  #7fe0f2;
    --navy:     #173a6b;
    --navy-dp:  #0d2a4a;
    --coral:    #ff6b5e;
    --coral-lt: #ff9d94;
    --yellow:   #ffcb2d;
    --yellow-lt:#ffd84d;
    --ink:      #173a6b;
    --muted:    #4a6a96;
    --muted-2:  #7a8aa3;
    --line:     #f1e4cb;
    /* pasztell ikon-hátterek */
    --p-coral:  #ffe2de;
    --p-yellow: #fff0c4;
    --p-blue:   #d8f3fb;
    --p-purple: #e2e0ff;
    --p-green:  #a6e6c4;

    --display: 'Fredoka', system-ui, sans-serif;
    --body: 'Manrope', system-ui, -apple-system, sans-serif;
    --container: 1180px;
    --pad: 28px;
    --shadow-card: 0 18px 40px rgba(23,58,107,.16);
    --shadow-soft: 0 10px 28px rgba(23,58,107,.08);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* FIGYELEM: NE adj overflow-x: clip/hidden-t a html/body-ra — megöli a .hero { position: sticky }-t!
   Ha valami kilóg horizontálisan, a konkrét elemet fix-eld (max-width: 100%, vagy egyedi overflow). */
html, body { max-width: 100%; }
body {
    margin: 0;
    font-family: var(--body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
}
img, iframe, video { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; color: var(--navy); line-height: 1.1; }
a { color: var(--turq-dk); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.container--narrow { max-width: 760px; }

/* ── Gombok ──────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--display); font-weight: 600; font-size: 1rem;
    padding: 13px 26px; border-radius: 999px; border: none; cursor: pointer;
    text-decoration: none; transition: transform .12s ease, box-shadow .12s ease, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 12px 28px rgba(255,107,94,.45); }
.btn--primary:hover { background: #ff594b; }
.btn--yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 6px 14px rgba(255,203,45,.4); }
.btn--yellow:hover { background: var(--yellow-lt); }
.btn--light { background: rgba(255,255,255,.92); color: var(--navy); }
.btn--light:hover { background: #fff; }
.btn--ghost { background: #f1f6fb; color: var(--navy); }
.btn--ghost:hover { background: #e6eef7; }
.btn--lg { padding: 16px 34px; font-size: 1.1rem; }
.btn--sm { padding: 9px 18px; font-size: .9rem; }

/* ── Fejléc ──────────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,248,236,.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 16px; position: relative; }
.site-header__brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-tile { width: 38px; height: 38px; border-radius: 12px; background: var(--turq); display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 4px 10px rgba(43,196,232,.35); flex-shrink: 0; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1; }
.brand-name b { color: var(--navy); font-weight: 700; }
.brand-name i { color: var(--coral); font-style: normal; }
.brand-sub { display: block; font-family: var(--body); font-size: 9px; letter-spacing: .14em; color: #8aa0bf; margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { font-family: var(--display); font-weight: 500; font-size: 14px; color: var(--navy); text-decoration: none; }
.site-nav a:hover, .site-nav a.is-active { color: var(--coral); }
.site-nav__cta { background: var(--yellow); color: var(--navy) !important; padding: 11px 22px; border-radius: 999px; box-shadow: 0 6px 14px rgba(255,203,45,.4); }
.site-nav__cta:hover { background: var(--yellow-lt); }
.site-header__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.site-header__toggle span { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.site-header__toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.site-header__toggle.is-open span:nth-child(2) { opacity: 0; }
.site-header__toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── Hero (scroll-vezérelt videó) ────────────────────────────────────────── */
.hero-track { position: relative; height: 200vh; }
.hero { position: sticky; top: 0; height: 100vh; min-height: 600px; overflow: hidden; background: var(--navy-dp); display: flex; align-items: center; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; pointer-events: none; background: var(--navy-dp); }
.hero__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(13,42,74,.82) 0%, rgba(13,42,74,.55) 42%, rgba(13,42,74,.12) 70%, rgba(13,42,74,.05) 100%); }
.hero__bubble { position: absolute; border-radius: 50%; z-index: 1; }
.hero__bubble--1 { width: 120px; height: 120px; background: rgba(255,216,77,.28); top: 14%; right: 12%; animation: scfloat 7s ease-in-out infinite; }
.hero__bubble--2 { width: 54px; height: 54px; background: rgba(255,107,94,.3); bottom: 22%; left: 8%; animation: scfloat2 6s ease-in-out infinite; }
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero__content { max-width: 560px; padding: 40px 0; }
.hero__eyebrow { display: inline-block; background: var(--yellow); color: var(--navy); font-family: var(--body); font-weight: 600; font-size: 13px; padding: 8px 16px; border-radius: 999px; margin: 0 0 20px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 62px); color: #fff; letter-spacing: -.01em; margin: 0 0 18px; text-shadow: 0 4px 24px rgba(0,0,0,.3); }
.hero h1 .accent { color: var(--turq-lt); }
.hero__lead { font-size: clamp(1rem, 2vw, 19px); color: #e3eefb; max-width: 460px; margin: 0 0 26px; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero__proof { display: flex; align-items: center; gap: 14px; }
.hero__avatars { display: flex; }
.hero__avatars span { width: 40px; height: 40px; border-radius: 50%; border: 3px solid rgba(255,255,255,.85); margin-left: -12px; }
.hero__avatars span:first-child { margin-left: 0; }
.hero__proof-txt strong { display: block; color: #fff; font-size: 14px; font-weight: 800; }
.hero__proof-txt span { color: #bcd2ec; font-size: 12px; }
.hero__wave { position: absolute; bottom: -1px; left: 0; width: 100%; z-index: 2; line-height: 0; }
.hero__wave svg { width: 100%; height: 90px; display: block; }
.hero__scroll-hint { position: absolute; bottom: 104px; left: 50%; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.8); font-size: 13px; font-family: var(--body); text-align: center; animation: scfloat2 2.4s ease-in-out infinite; }

@keyframes scfloat  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes scfloat2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* ── Dekoratív pasztell körök a háttérben (több szekcióban) ──────────────── */
.why, .featured-gallery, .review, .location { position: relative; overflow: hidden; }
.why > *, .featured-gallery > *, .review > *, .location > * { position: relative; z-index: 1; }
.deco-bubble,
.why::before, .why::after,
.featured-gallery::before,
.review::before, .review::after,
.location::before, .location::after {
    content: ''; position: absolute; border-radius: 50%; z-index: 0; pointer-events: none;
}
.why::before { width: 190px; height: 190px; background: var(--p-blue); opacity: .55; top: 40px; left: -70px; animation: scfloat 9s ease-in-out infinite; }
.why::after  { width: 120px; height: 120px; background: var(--p-coral); opacity: .5; bottom: 24px; right: -40px; animation: scfloat2 8s ease-in-out infinite; }
.featured-gallery::before { width: 150px; height: 150px; background: var(--p-yellow); opacity: .6; top: 20px; right: 5%; animation: scfloat2 10s ease-in-out infinite; }
.review::before { width: 170px; height: 170px; background: var(--p-purple); opacity: .45; bottom: 50px; left: -60px; animation: scfloat 11s ease-in-out infinite; }
.review::after  { width: 90px; height: 90px; background: var(--p-green); opacity: .5; top: 30px; right: 4%; animation: scfloat2 9s ease-in-out infinite; }
.location::before { width: 160px; height: 160px; background: var(--p-green); opacity: .4; top: 40px; left: -60px; animation: scfloat2 9s ease-in-out infinite; }
.location::after  { width: 110px; height: 110px; background: var(--p-yellow); opacity: .5; bottom: 30px; right: -40px; animation: scfloat 8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
    .why::before, .why::after, .featured-gallery::before,
    .review::before, .review::after, .location::before, .location::after { animation: none !important; }
}

/* ── Szekció-fejlécek ────────────────────────────────────────────────────── */
.eyebrow { font-family: var(--body); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 8px; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 40px); margin: 0; }

/* ── Programjaink ────────────────────────────────────────────────────────── */
.programs { background: var(--turq); padding: 0 0 80px; position: relative; }
.programs .section-head { padding-top: 24px; }
.programs .eyebrow { color: #bdf0fb; }
.programs .section-head h2 { color: #fff; }
.programs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard { background: #fff; border-radius: 28px; padding: 28px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; position: relative; }
.pcard--featured { transform: translateY(-14px); border: 2px solid var(--yellow); }
.pcard__pop { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--p-yellow); color: #9a7400; font-family: var(--display); font-weight: 600; font-size: 12px; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.pcard__icon { width: 64px; height: 64px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 32px; margin-bottom: 16px; }
.pcard h3 { font-size: 22px; font-weight: 600; margin: 0 0 8px; }
.pcard p { font-size: 15px; color: var(--muted); line-height: 1.55; margin: 0 0 18px; flex: 1; }
.pcard__btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Miért imádják ───────────────────────────────────────────────────────── */
.why { background: var(--cream); padding: 80px 0 32px; }
.why .eyebrow { color: var(--coral); }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.wcard { background: #fff; border-radius: 24px; padding: 26px; text-align: center; box-shadow: var(--shadow-soft); border: 2px solid var(--p-blue); }
.wcard__circle { width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 14px; }
.wcard h3 { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.wcard p { font-size: 13.5px; color: var(--muted-2); margin: 0; line-height: 1.5; }

/* ── 3D-tilt a csempéken (a kurzor felé billen, Pszichopont-stílus) ───────── */
.tilt {
    --rx: 0deg; --ry: 0deg; --scale: 1;
    transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) scale(var(--scale));
    transform-style: preserve-3d;
    transition: transform .22s cubic-bezier(.22,1,.36,1), box-shadow .35s;
    will-change: transform;
}
.tilt:hover { box-shadow: 0 26px 54px rgba(23,58,107,.22); }
.tilt .pcard__icon, .tilt .wcard__circle { transform: translateZ(30px); transition: transform .22s cubic-bezier(.22,1,.36,1); }
.tilt h3 { transform: translateZ(18px); transition: transform .22s cubic-bezier(.22,1,.36,1); }
.tilt p  { transform: translateZ(8px);  transition: transform .22s cubic-bezier(.22,1,.36,1); }
.tilt .pcard__btns { transform: translateZ(16px); }
@media (prefers-reduced-motion: reduce) {
    .tilt, .tilt * { transform: none !important; }
}

/* ── Vélemény + Google ───────────────────────────────────────────────────── */
.review { background: var(--cream); padding: 0 0 80px; }
.review__block { background: var(--yellow); border-radius: 36px; padding: 48px; display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; position: relative; overflow: hidden; }
.review__star-bg { position: absolute; right: 24px; bottom: -30px; font-size: 160px; opacity: .16; pointer-events: none; }
.review__score { text-align: center; position: relative; z-index: 1; }
.review__stars { font-size: 30px; }
.review__num { font-family: var(--display); font-weight: 700; font-size: 64px; color: var(--navy); line-height: 1; }
.review__label { font-size: 13px; color: #9a7400; }
.review__text { position: relative; z-index: 1; }
.review__text h3 { font-size: 28px; font-weight: 600; margin: 0 0 8px; }
.review__text p { font-size: 17px; color: #5a4a14; margin: 0 0 16px; }
.review__google { display: inline-flex; align-items: center; gap: 12px; background: #fff; border-radius: 999px; padding: 8px 18px 8px 12px; text-decoration: none; box-shadow: 0 6px 16px rgba(23,58,107,.12); }
.review__google img, .review__google .g-logo { width: 26px; height: 26px; }
.review__google b { font-family: var(--display); color: var(--navy); font-size: 17px; }
.review__google .g-stars { color: #fbbc04; font-size: 14px; }
.review__google span { color: var(--muted); font-size: 13px; }

/* ── Helyszín ────────────────────────────────────────────────────────────── */
.location { background: #fff; padding: 80px 0; }
.location__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.location .eyebrow { color: var(--turq-dk); }
.location h2 { font-size: clamp(1.6rem, 3.5vw, 38px); margin: 0 0 12px; }
.location__intro { font-size: 16px; color: var(--muted); margin: 0 0 24px; }
.info-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.info-row__icon { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.info-row__txt { font-size: 15px; color: var(--ink); }
.location__map { border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 5/4; }
.location__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.location__more { display: inline-block; margin-top: 18px; font-family: var(--display); font-weight: 600; color: var(--coral); text-decoration: none; }
.location__more:hover { color: #ff594b; }

/* Sport11 aloldal — info-kártyák */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0 10px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow-soft); }
.info-card h3 { font-size: 1.05rem; margin: 0 0 12px; }
.info-card ul { list-style: none; padding: 0; margin: 0; }
.info-card li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--cream); font-size: .92rem; }
.info-card li:last-child { border-bottom: none; }
.info-card li span { color: var(--muted); }
.info-card li strong { color: var(--navy); white-space: nowrap; }
.info-card__note { margin: 10px 0 0; color: var(--muted-2); font-size: .82rem; }
@media (max-width: 760px) { .info-cards { grid-template-columns: 1fr; } }

/* Oktatóink aloldal */
.coach-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px; }
.coach-card { background: #fff; border-radius: 24px; padding: 30px; box-shadow: var(--shadow-soft); text-align: center; }
.coach-card__avatar { width: 88px; height: 88px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 2.2rem; color: var(--navy); margin-bottom: 16px; }
.coach-card__name { margin: 0 0 4px; font-size: 1.4rem; }
.coach-card__role { color: var(--coral); font-family: var(--display); font-weight: 600; margin: 0 0 14px; }
.coach-card__bio { color: var(--muted); line-height: 1.65; margin: 0; }
/* "Szakképzett oktatók" csempe link */
.wcard__more { display: inline-block; margin-top: 10px; font-family: var(--display); font-weight: 600; font-size: .88rem; color: var(--coral); text-decoration: none; }
@media (max-width: 600px) { .coach-grid { grid-template-columns: 1fr; } }

/* ── CTA ─────────────────────────────────────────────────────────────────── */
.cta { background: #fff; padding: 0 0 80px; }
.cta__block { border-radius: 40px; background: linear-gradient(130deg, var(--turq), var(--turq-dk)); padding: 60px 48px; text-align: center; position: relative; overflow: hidden; }
.cta__block h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 42px); margin: 0 0 14px; }
.cta__block p { color: #e6f8fd; font-size: 17px; margin: 0 0 26px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta__bubble { position: absolute; border-radius: 50%; }
.cta__bubble--1 { width: 90px; height: 90px; background: rgba(255,216,77,.22); top: 16%; left: 8%; animation: scfloat 7s ease-in-out infinite; }
.cta__bubble--2 { width: 60px; height: 60px; background: rgba(255,107,94,.25); bottom: 14%; right: 10%; animation: scfloat2 6s ease-in-out infinite; }

/* ── Rólunk mondták (testimonialok) ──────────────────────────────────────── */
.testimonials { background: var(--cream); padding: 72px 0 80px; position: relative; overflow: hidden; }
.testimonials > * { position: relative; z-index: 1; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.testi-card { background: #fff; border-radius: 24px; padding: 28px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; }
.testi-card__stars { color: #fbbc04; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 12px; }
.testi-card__text { color: var(--muted); font-size: .96rem; line-height: 1.65; margin: 0 0 20px; flex: 1; }
.testi-card__author { display: flex; align-items: center; gap: 12px; }
.testi-card__avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; color: var(--navy); font-size: 1.15rem; flex-shrink: 0; }
.testi-card__meta { display: flex; flex-direction: column; }
.testi-card__meta strong { color: var(--navy); font-family: var(--display); }
.testi-card__when { color: var(--muted-2); font-size: .82rem; }
.testimonials::before { content: ''; position: absolute; width: 170px; height: 170px; border-radius: 50%; background: var(--p-purple); opacity: .4; top: 30px; right: -50px; z-index: 0; pointer-events: none; animation: scfloat 10s ease-in-out infinite; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .testimonials::before { animation: none !important; } }

/* ── Belső oldalak (közös) ───────────────────────────────────────────────── */
.page { padding: 56px 0 72px; min-height: 50vh; }
.page__title { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 14px; }
.page__note { color: var(--muted); }
.prose { color: var(--ink); line-height: 1.75; }
.prose p { margin: 0 0 16px; }
.prose h2 { margin: 28px 0 10px; font-size: 1.4rem; }
.prose h3 { color: var(--turq-dk); margin: 22px 0 8px; font-size: 1.15rem; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose img { border-radius: 16px; margin: 14px 0; height: auto; }
.prose blockquote { margin: 20px 0; padding: 16px 22px; border-left: 4px solid var(--turq); background: #fff; border-radius: 0 16px 16px 0; font-style: italic; color: var(--navy); box-shadow: var(--shadow-soft); }
.contact-list { list-style: none; padding: 0; margin: 0 0 18px; }
.contact-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }

/* GYIK accordion */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: #fff; border: 2px solid var(--p-blue); border-radius: 18px; overflow: hidden; }
.faq__q { cursor: pointer; padding: 18px 22px; font-family: var(--display); font-weight: 600; color: var(--navy); list-style: none; position: relative; padding-right: 48px; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--turq); }
.faq__item[open] .faq__q::after { content: '−'; }
.faq__item[open] .faq__q { background: #f3fbfe; }
.faq__a { padding: 4px 22px 20px; color: var(--ink); line-height: 1.7; }
.faq__a p { margin: 0 0 12px; }

/* Hírek */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; transition: transform .12s, box-shadow .12s; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.news-card__media { display: block; aspect-ratio: 16/9; background: var(--p-blue) center/cover no-repeat; }
.news-card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card__date { color: var(--turq-dk); font-size: .82rem; font-weight: 700; margin: 0; }
.news-card__title { margin: 0; font-size: 1.15rem; line-height: 1.25; }
.news-card__title a { color: var(--navy); text-decoration: none; }
.news-card__title a:hover { color: var(--coral); }
.news-card__excerpt { color: var(--muted); margin: 0; font-size: .94rem; flex: 1; }
.news-card__more { color: var(--coral); font-family: var(--display); font-weight: 600; text-decoration: none; font-size: .92rem; }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 36px; }
.pager__info { color: var(--muted); font-weight: 700; }
.news-back { color: var(--turq-dk); text-decoration: none; font-weight: 600; }
.news-article__title { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 8px 0 6px; }
.news-article__date { color: var(--turq-dk); font-weight: 700; margin: 0 0 18px; }
.news-article__hero { width: 100%; border-radius: 20px; margin-bottom: 20px; }
.news-article__body { line-height: 1.75; }
.news-article__body p { margin: 0 0 14px; }
.news-article__body img { border-radius: 12px; margin: 10px 0; height: auto; }
.news-article__body iframe { max-width: 100%; border-radius: 12px; margin: 10px 0; }

/* Galéria */
.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.album-card { display: flex; flex-direction: column; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-soft); text-decoration: none; color: inherit; transition: transform .12s, box-shadow .12s; }
.album-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.album-card__media { aspect-ratio: 4/3; background: var(--p-blue) center/cover no-repeat; }
.album-card__body { padding: 16px 18px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.album-card__title { margin: 0; font-size: 1.05rem; }
.album-card__count { color: var(--turq-dk); font-weight: 700; font-size: .85rem; white-space: nowrap; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.photo { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 14px; background: var(--p-blue); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.photo:hover img { transform: scale(1.06); }

/* ── Masonry galéria (album-nézet) ───────────────────────────────────────── */
.masonry { position: relative; width: 100%; }
.masonry-item {
    position: absolute; left: 0; top: 0; border-radius: 14px; overflow: hidden;
    background: var(--p-blue); cursor: pointer; box-shadow: var(--shadow-soft);
    opacity: 0; transform: translateY(34px) scale(.96); filter: blur(8px);
    transition: opacity .7s ease, transform .55s cubic-bezier(.22,1,.36,1), filter .7s ease;
    will-change: transform, opacity;
}
/* a pozíció-átmenetek (reflow resize-nál) csak az első elrendezés után élnek */
.masonry.ready .masonry-item {
    transition: left .5s cubic-bezier(.22,1,.36,1), top .5s cubic-bezier(.22,1,.36,1),
                width .5s cubic-bezier(.22,1,.36,1), height .5s cubic-bezier(.22,1,.36,1),
                opacity .7s ease, transform .35s cubic-bezier(.22,1,.36,1), filter .7s ease;
}
.masonry-item.is-in { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.masonry-item:hover { transform: scale(.96); }
.masonry-img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) {
    .masonry-item { transition: none; }
}

/* ── Kiemelt képek — circular gallery ────────────────────────────────────── */
.featured-gallery { background: var(--cream); padding: 8px 0 40px; overflow: hidden; }
.featured-gallery .eyebrow { color: var(--coral); }
.featured-gallery .section-head { margin-bottom: 8px; }
.featured-gallery .section-head h2 { color: var(--navy); }
.circular-gallery { width: 100%; height: 480px; position: relative; overflow: hidden; cursor: grab; outline: none; }
.circular-gallery:active { cursor: grabbing; }
.circular-gallery canvas { display: block; width: 100%; height: 100%; }
.featured-gallery__hint { text-align: center; color: var(--muted); font-size: .92rem; margin: 10px 0 0; }
.featured-gallery__hint a { color: var(--turq-dk); font-weight: 600; }
@media (max-width: 600px) { .circular-gallery { height: 360px; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(13,42,74,.94); z-index: 1000; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 10px 50px rgba(0,0,0,.5); }
.lightbox__close { position: absolute; top: 18px; right: 22px; background: none; border: none; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); border: none; color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; cursor: pointer; }
.lightbox__nav:hover { background: rgba(255,255,255,.3); }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
.lightbox__counter { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 600; }

/* Űrlapok */
.form-page__program { display: inline-block; background: var(--p-blue); color: var(--turq-dk); font-family: var(--display); font-weight: 600; padding: 6px 16px; border-radius: 999px; margin: 0 0 22px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow-soft); }
.form__summary { background: #fde8e8; color: #a11; padding: 12px 14px; border-radius: 12px; margin-bottom: 18px; }
.form__row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form__grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.form .req { color: var(--coral); }
.form input[type=text], .form input[type=email], .form input[type=tel],
.form input[type=date], .form select, .form textarea {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
    font-size: 1rem; font-family: inherit; background: #fffdfa; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--turq); box-shadow: 0 0 0 3px rgba(43,196,232,.18); }
.form__row.has-error input, .form__row.has-error textarea, .form__row.has-error select { border-color: var(--coral); }
.form__err { color: var(--coral); font-size: .85rem; font-weight: 600; }
.form__checks { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.form__check { display: flex; align-items: flex-start; gap: 8px; font-weight: 500; cursor: pointer; }
.form__check input { margin-top: 3px; }
.form__row--consent { background: var(--cream); padding: 14px; border-radius: 12px; }
.form__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.success-card { background: #fff; border-radius: 24px; padding: 40px; text-align: center; box-shadow: var(--shadow-card); }
.success-card__icon { width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 50%; background: var(--turq); color: #fff; font-size: 2.2rem; display: flex; align-items: center; justify-content: center; }
.success-card h1 { margin: 0 0 12px; }
.success-card p { color: var(--muted); margin: 0 0 14px; }

/* Program-választó csempék (jelentkezés index) */
.tiles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tile { background: #fff; border-radius: 24px; box-shadow: var(--shadow-soft); padding: 26px; }
.tile__title { margin: 0 0 14px; font-size: 1.2rem; }

/* Dokumentum-letöltő kártya */
.doc-download { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; margin-top: 28px; box-shadow: var(--shadow-soft); }
.doc-download__icon { font-size: 2rem; flex-shrink: 0; }
.doc-download strong { color: var(--navy); font-family: var(--display); }
.doc-download p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.doc-download .btn { flex-shrink: 0; margin-left: auto; }
@media (max-width: 560px) { .doc-download { flex-direction: column; text-align: center; } .doc-download .btn { margin: 0; } }

/* ── Cookie-sáv ──────────────────────────────────────────────────────────── */
.cookie-bar { position: fixed; bottom: 14px; left: 14px; right: 14px; max-width: 760px; margin: 0 auto; background: var(--navy); color: #e6eef4; padding: 14px 18px; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,.3); display: flex; align-items: center; gap: 16px; z-index: 900; }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; font-size: .9rem; flex: 1; }
.cookie-bar a { color: var(--turq-lt); }

/* ── Lábléc ──────────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: #aebfd8; padding: 52px 0 0; }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-bottom: 28px; }
.site-footer__col strong { color: #fff; display: block; margin-bottom: 12px; font-family: var(--display); }
.site-footer__col p { margin: 5px 0; font-size: .92rem; }
.site-footer a { color: #aebfd8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__links { list-style: none; padding: 0; margin: 8px 0 0; }
.site-footer__links li { margin-bottom: 6px; }
.site-footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.site-footer__partners { border-top: 1px solid #284a7a; padding: 28px 0; text-align: center; }
.site-footer__partners > .container > strong { color: #fff; display: block; margin-bottom: 16px; font-family: var(--display); }
.partners-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; }
.partner { background: #fff; border-radius: 12px; padding: 10px 18px; height: 58px; display: inline-flex; align-items: center; justify-content: center; transition: transform .15s, box-shadow .15s; }
.partner:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.partner img { max-height: 36px; max-width: 120px; width: auto; object-fit: contain; display: block; }
.site-footer__bottom { border-top: 1px solid #284a7a; padding: 18px 0; font-size: .85rem; color: #7e93b5; }

/* ── Reszponzív ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .programs__grid { grid-template-columns: 1fr; gap: 28px; }
    .pcard--featured { transform: none; }
    .why__grid { grid-template-columns: 1fr 1fr; }
    .news-grid, .album-grid, .tiles__grid { grid-template-columns: 1fr 1fr; }
    .review__block { grid-template-columns: 1fr; gap: 20px; text-align: center; padding: 36px; }
    .location__grid { grid-template-columns: 1fr; gap: 28px; }
    .form__grid2 { grid-template-columns: 1fr; }

    .site-header__toggle { display: flex; }
    .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-soft); padding: 8px 0; border-radius: 0 0 16px 16px; }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 13px 22px; }
    .site-nav__cta { margin: 10px 22px; text-align: center; }
}
@media (max-width: 600px) {
    .why__grid, .news-grid, .album-grid, .tiles__grid { grid-template-columns: 1fr; }
    .photo-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
    .site-footer__inner { grid-template-columns: 1fr; }
    .hero { min-height: 540px; }
    /* Mobilon egyetlen gyerekre pozícionálva (az 5. úszó, jobbra a középtől) + enyhe ráközelítés */
    .hero-video { object-position: 57% center; transform: scale(1.18); }
    .review__block, .cta__block { padding: 30px 24px; }
    .lightbox__nav { width: 42px; height: 42px; font-size: 1.5rem; }
}

/* ── Reduced motion ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-video { display: none; }
    .hero-track { height: auto; }
    .hero { position: static; height: auto; min-height: 560px; }
    .hero__bubble, .cta__bubble, .hero__scroll-hint { animation: none; }
}
