/* ==========================================================================
   Vizsla-Tó – saját stíluslap (függőségek nélkül)
   Felépítés:
     1. Alapok: betűtípus, színek (változók), reset
     2. Elrendezés: konténer, szekciók, címsorok, gombok
     3. Fejléc + navigáció
     4. Nyitókép (hero) és aloldali fejléc-sáv
     5. Főoldali blokkok (szolgáltatások, képek, megközelítés, videók)
     6. GYIK
     7. Képességvizsga
     8. Lábléc
     9. Képnézegető (lightbox), animációk, segédosztályok
   A színeket és méreteket a :root változóinál lehet egy helyen átírni.
   ========================================================================== */

/* ---------- 1. Alapok ---------- */

/* Dosis betűtípus helyben tárolva (SIL Open Font License) */
@font-face {
  font-family: "Dosis";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/dosis-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Dosis";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/dosis-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Márkaszínek */
  --green: #70c745;          /* a „TÓ” zöldje, gombok, kiemelések */
  --green-strong: #4e9a2a;   /* hover, ill. szöveges link fehér háttéren */
  --green-ink: #2f6b15;      /* sötétzöld szöveg világos háttéren */
  --green-soft: #eaf5e2;     /* halvány zöld háttér */
  --water: #2f7f8f;          /* visszafogott „tóvíz” kiegészítő szín */

  /* Semleges színek */
  --ink: #26302a;            /* címsorok */
  --text: #4f5a52;           /* folyószöveg */
  --muted: #7a857d;
  --line: #e2e8e0;
  --bg: #ffffff;
  --bg-soft: #f3f6f1;
  --dark: #17221a;           /* lábléc, felső sáv */
  --dark-2: #1f2d22;

  /* Méretek */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(23, 34, 26, .25);
  --shadow-lg: 0 24px 50px -20px rgba(23, 34, 26, .35);
  --container: 1180px;
  --header-h: 76px;

  --font-display: "Dosis", "Trebuchet MS", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* A Dosis-ban nincs cirill betű: ukrán oldalon rendszerbetűs címsorok */
html[lang="uk"] { --font-display: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif; }

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

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

img, svg, iframe, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: .01em;
}

p { margin: 0 0 1em; }

a { color: var(--green-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-ink); }

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

.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

.sr-only {
  position: absolute; 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; left: 12px; top: -60px; z-index: 200;
  background: var(--green); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- 2. Elrendezés ---------- */

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }

.section { padding-block: clamp(64px, 9vw, 110px); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(40px, 6vw, 70px); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.75rem); margin-bottom: .3em; }
.section-head p { font-size: 1.15rem; color: var(--muted); margin: 0; }
.section-head--left { text-align: left; margin-inline: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .14em; color: var(--green-strong);
  margin-bottom: 10px;
}
.eyebrow .icon { width: 18px; height: 18px; }

.grid-2 { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* Gombok */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  border-radius: 999px; border: 2px solid var(--green); text-align: center;
  background: var(--green); color: #fff; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--green-strong); border-color: var(--green-strong); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.85); color: #fff; }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--outline { background: transparent; color: var(--green-ink); }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: .95rem; }
.btn .icon { width: 20px; height: 20px; }

/* ---------- 3. Fejléc ---------- */

.topbar {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  font-size: .9rem;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--green); }
.topbar__group { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item .icon { width: 16px; height: 16px; color: var(--green); }
.topbar strong { color: var(--green); font-weight: 600; }
@media (max-width: 760px) {
  .topbar__email, .topbar__fb-text { display: none; }
}
@media (max-width: 480px) {
  .topbar__fb-link strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .topbar__fb-link .icon { width: 18px; height: 18px; }
}

.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 50;
}
.navbar {
  position: relative;
  transition: background .3s, box-shadow .3s;
}
.navbar.is-stuck {
  position: fixed; inset: 0 0 auto 0;
  background: rgba(23, 34, 26, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px -10px rgba(0,0,0,.4);
  animation: slide-down .3s ease;
}
@keyframes slide-down { from { transform: translateY(-100%); } to { transform: none; } }

.navbar .container, .topbar .container { max-width: 1320px; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; letter-spacing: .04em;
  color: #fff; text-decoration: none; line-height: 1;
}
.brand:hover { color: #fff; }
.brand__mark { width: 40px; height: 40px; flex: none; }
@media (max-width: 480px) {
  .brand { font-size: 1.55rem; gap: 8px; }
  .brand__mark { width: 34px; height: 34px; }
  .navbar .container { gap: 10px; }
  .navbar__end { gap: 8px; }
  .lang summary { padding: 0 10px; }
  .lang__chev { display: none; }
}
.brand__to { color: var(--green); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: block; padding: 10px 14px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: .04em;
  color: #fff; text-decoration: none; transition: background .2s, color .2s; white-space: nowrap;
}
.nav__link:hover { background: rgba(255,255,255,.12); color: #fff; }
.nav__link[aria-current="page"] { color: var(--green); }
.nav__cta { margin-left: 10px; }
@media (min-width: 1121px) and (max-width: 1340px) {
  .nav__cta { display: none; }   /* szűkebb kijelzőn nem fér ki; a felső sávban ott a Messenger link */
  .nav__link { padding-inline: 11px; }
}

/* Nyelvválasztó (natív <details>, JS nélkül is működik) */
.navbar__end { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang summary {
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.35); color: #fff; cursor: pointer;
  font-family: "Dosis", var(--font-body); font-weight: 700; letter-spacing: .06em; list-style: none;
  transition: background .2s;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: rgba(255,255,255,.12); }
.lang summary .icon { width: 18px; height: 18px; }
.lang__chev { width: 14px !important; height: 14px !important; transition: transform .2s; }
.lang[open] .lang__chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 190px;
  list-style: none; margin: 0; padding: 8px; background: #fff;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
}
.lang__menu a {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500;
}
.lang__menu a:hover { background: var(--green-soft); color: var(--ink); }
.lang__menu a[aria-current] { color: var(--green-ink); font-weight: 700; }
.lang__menu small { color: var(--muted); font-weight: 600; letter-spacing: .06em; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 0;
  background: rgba(255,255,255,.12); color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 12px; right: 12px;
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 14px; border-radius: var(--radius);
    background: var(--dark-2); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 1.15rem; }
  .nav__cta { margin: 6px 0 0; }
  /* JS nélkül a menü mindig látszik */
  .no-js .nav { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; }
  .no-js .nav-toggle { display: none; }
  .no-js .navbar .container { flex-wrap: wrap; height: auto; padding-block: 10px; }
}

/* ---------- 4. Nyitókép ---------- */

.hero {
  position: relative; min-height: 100svh; min-height: 100vh;
  display: grid; color: #fff; background: var(--dark); overflow: hidden;
}
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }

.hero__slide {
  grid-area: 1 / 1; position: relative;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 80px) 0 clamp(150px, 20vh, 200px);
  opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06); transition: transform 7s ease-out;
}
.hero__slide.is-active .hero__img { transform: scale(1); }
.hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,18,12,.55) 0%, rgba(10,18,12,.15) 35%, rgba(10,18,12,.25) 60%, rgba(10,18,12,.75) 100%),
    radial-gradient(ellipse at center, rgba(10,18,12,.35), transparent 70%);
}
.hero__content { position: relative; z-index: 1; text-align: center; max-width: 860px; }
.hero__title {
  color: #fff; font-size: clamp(2.2rem, 1.2rem + 4.5vw, 4.4rem); font-weight: 800;
  margin-bottom: .35em; text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero__text { font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem); max-width: 640px; margin: 0 auto 2em; color: rgba(255,255,255,.92); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.hero__dots {
  position: absolute; z-index: 3; left: 50%; bottom: 96px; transform: translateX(-50%);
  display: flex; gap: 10px;
}
.hero__dot {
  width: 12px; height: 12px; border-radius: 999px; border: 0; padding: 0;
  background: rgba(255,255,255,.45); cursor: pointer; transition: width .3s, background .3s;
}
.hero__dot[aria-current="true"] { width: 34px; background: var(--green); }
.no-js .hero__dots { display: none; }

/* Hullám a nyitókép alján */
.wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; height: clamp(40px, 6vw, 80px); width: 100%; color: var(--bg); pointer-events: none; }
.wave--soft { color: var(--bg-soft); }

/* Aloldali fejléc */
.page-hero {
  position: relative; display: flex; align-items: flex-end;
  min-height: clamp(340px, 46vw, 480px);
  padding: calc(var(--header-h) + 80px) 0 clamp(70px, 9vw, 110px);
  color: #fff; background: var(--dark); overflow: hidden;
}
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,18,12,.6), rgba(10,18,12,.35) 50%, rgba(10,18,12,.7)); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 1.4rem + 3.5vw, 3.8rem); font-weight: 800; margin: 0; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 10px; padding: 0; font-size: .95rem; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.8); }
.breadcrumb li + li::before { content: "›"; color: var(--green); font-weight: 700; }
.breadcrumb a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .icon { width: 16px; height: 16px; }

/* ---------- 5. Főoldal ---------- */

/* Gyors tények sáv */
.facts-wrap { padding-bottom: clamp(48px, 7vw, 80px); }
.facts {
  list-style: none; padding: 0; margin-bottom: 0;
  display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: calc(-1 * clamp(40px, 6vw, 70px)); position: relative; z-index: 4;
}
.fact {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
.fact__icon {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none;
  border-radius: 14px; background: var(--green-soft); color: var(--green-strong);
}
.fact__icon .icon { width: 24px; height: 24px; }
.fact strong { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); line-height: 1.2; }
.fact span { font-size: .93rem; color: var(--muted); line-height: 1.4; display: block; }

/* Szolgáltatások */
.services { display: grid; gap: 18px; }
.service {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.service__icon {
  display: grid; place-items: center; width: 56px; height: 56px; flex: none;
  border-radius: 50%; background: var(--green); color: #fff;
}
.service__icon .icon { width: 28px; height: 28px; }
.service h3 { font-size: 1.3rem; margin-bottom: .15em; }
.service p { margin: .4em 0 0; color: var(--green-strong); font-weight: 600; }

.offer { position: sticky; top: calc(var(--header-h) + 24px); }
.offer__img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 550 / 309; object-fit: cover; }
.offer__box {
  position: relative; margin: -40px 20px 0; padding: 24px 26px;
  background: var(--dark); color: rgba(255,255,255,.85); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.offer__box h3 { color: #fff; font-size: 1.35rem; margin-bottom: .4em; }
.offer__price { color: var(--green); }
.offer__box .btn { margin-top: 8px; }
@media (max-width: 899px) { .offer { position: static; } }

/* Kiemelt sáv (képességvizsga) */
.banner {
  display: grid; gap: 24px; align-items: center; grid-template-columns: 1fr;
  margin-top: clamp(48px, 7vw, 80px); padding: clamp(28px, 4vw, 44px);
  border-radius: calc(var(--radius) + 6px); color: #fff; overflow: hidden; position: relative;
  background: linear-gradient(120deg, var(--green-ink), var(--water));
}
.banner::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.banner h2 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem); margin-bottom: .25em; }
.banner p { margin: 0; color: rgba(255,255,255,.88); font-size: 1.1rem; }
.banner .btn { background: #fff; border-color: #fff; color: var(--green-ink); position: relative; }
.banner .btn:hover { background: var(--dark); border-color: var(--dark); color: #fff; }
@media (min-width: 800px) { .banner { grid-template-columns: 1fr auto; } }

/* Képgaléria */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.filter {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .04em;
  color: var(--ink); cursor: pointer; transition: all .2s;
}
.filter:hover { border-color: var(--green); color: var(--green-strong); }
.filter[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.no-js .filters { display: none; }

.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.gallery__item { margin: 0; }
.gallery__item[hidden] { display: none; }
.gallery__link {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 3; background: var(--bg-soft); color: #fff; text-decoration: none;
}
.gallery__link img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery__link::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10,18,12,.8));
  opacity: .85; transition: opacity .3s;
}
.gallery__link:hover img { transform: scale(1.06); }
.gallery__link:hover::after { opacity: 1; }
.gallery__caption {
  position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 1; line-height: 1.3;
}
.gallery__caption strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: #fff; }
.gallery__caption span { font-size: .95rem; color: rgba(255,255,255,.85); }
.gallery__zoom {
  position: absolute; top: 14px; right: 14px; z-index: 1;
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--ink);
  opacity: 0; transform: scale(.8); transition: all .25s;
}
.gallery__zoom .icon { width: 18px; height: 18px; }
.gallery__link:hover .gallery__zoom, .gallery__link:focus-visible .gallery__zoom { opacity: 1; transform: none; }

@media (max-width: 600px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery__link { aspect-ratio: 1; border-radius: var(--radius-sm); }
  .gallery__caption { left: 10px; right: 10px; bottom: 8px; }
  .gallery__caption strong { font-size: 1.02rem; }
  .gallery__caption span { font-size: .8rem; }
}

/* Megközelítés */
.travel { display: grid; gap: 16px; margin: 26px 0 0; padding: 0; list-style: none; }
.travel__row { display: grid; gap: 6px; }
.travel__label { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; color: var(--ink); }
.travel__label span:last-child { font-family: var(--font-display); color: var(--green-strong); font-size: 1.1rem; }
.travel__bar { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.travel__fill {
  display: block; height: 100%; width: var(--w); border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--water));
  transition: width 1.4s cubic-bezier(.2,.7,.2,1);
}
.js .travel:not(.is-visible) .travel__fill { width: 0; }

.gps {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 10px 16px;
  border-radius: 999px; background: var(--green-soft); color: var(--green-ink); font-weight: 600; font-size: .95rem;
}
.gps .icon { width: 18px; height: 18px; }

.map {
  position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3; background: var(--bg-soft);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.routes { display: grid; gap: 22px; grid-template-columns: 1fr; margin-top: clamp(40px, 6vw, 64px); }
@media (min-width: 800px) { .routes { grid-template-columns: 1fr 1fr; } }
.route {
  padding: clamp(24px, 3vw, 34px); border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line);
}
.route__head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.route__icon {
  display: grid; place-items: center; width: 56px; height: 56px; flex: none;
  border-radius: 16px; background: var(--green-soft); color: var(--green-strong);
}
.route__icon .icon { width: 28px; height: 28px; }
.route h3 { font-size: 1.45rem; margin: 0; }
.route__time { font-weight: 600; color: var(--green-strong); font-size: .98rem; }
.route p:last-child { margin-bottom: 0; }

/* Videók */
.videos { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .videos { grid-template-columns: 1fr 1fr; } }
.video h3 { font-size: 1.3rem; margin-bottom: 12px; }
.video__frame {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius); background: var(--dark); box-shadow: var(--shadow);
  color: #fff; text-decoration: none;
}
.video__frame img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .6s; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
  background: var(--green); color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .25s, background .25s;
}
.video__play .icon { width: 30px; height: 30px; margin-left: 4px; }
.video__frame:hover img { opacity: 1; transform: scale(1.03); }
.video__frame:hover .video__play { transform: translate(-50%, -50%) scale(1.08); background: var(--green-strong); }

.more-videos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px;
  margin-top: clamp(36px, 5vw, 56px); text-align: center;
}
.more-videos h3 { margin: 0; font-size: 1.45rem; }

/* Eseménynaptár (a tartalmat az assets/js/esemenyek.js tölti be) */
.events-section { padding-top: 0; }
.events__status { text-align: center; color: var(--muted); margin: 0; }
.events__grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); }
.event[hidden] { display: none; }

.event {
  position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 20px;
  padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.event:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.event.is-now { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }

.event__date {
  display: flex; flex-direction: column; align-items: center; justify-content: center; align-self: start;
  padding: 12px 6px; border-radius: 14px; background: var(--green-soft); color: var(--green-ink);
  font-family: var(--font-display); line-height: 1.05; text-align: center;
}
.event__wd { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.event__day { font-size: 2.3rem; font-weight: 800; color: var(--ink); margin: 2px 0; }
.event__mon { font-size: .95rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.event.is-now .event__date { background: var(--green); color: #fff; }
.event.is-now .event__day { color: #fff; }

.event__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  background: var(--bg-soft); color: var(--text); font-size: .8rem; font-weight: 700; letter-spacing: .02em;
}
.badge--soon { background: var(--green-soft); color: var(--green-ink); }
.badge--warn { background: #fff4dc; color: #8a5a00; }
.badge--live { background: var(--green); color: #fff; }
.badge--live::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .3; } }

.event__title { font-size: 1.35rem; margin-bottom: .35em; }
.event__meta { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .95rem; color: var(--muted); }
.event__meta li { display: inline-flex; align-items: center; gap: 6px; }
.event__meta .icon { width: 17px; height: 17px; color: var(--green-strong); }
.event__desc { margin-bottom: 14px; font-size: 1rem; line-height: 1.6; }
.event__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.event__actions .icon { width: 18px; height: 18px; }

/* A kép a kártya tetején, teljes szélességben */
.event__img {
  grid-column: 1 / -1; grid-row: 1; width: 100%; height: auto; aspect-ratio: 21 / 9;
  object-fit: cover; border-radius: var(--radius-sm);
}
@media (max-width: 640px) {
  .event { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 18px; }
  .event__day { font-size: 1.8rem; }
  .event__img { aspect-ratio: 16 / 9; }
}

.events__more-wrap { text-align: center; margin-top: 26px; }
.events__empty {
  max-width: 680px; margin: 0 auto; padding: 28px; text-align: center;
  border-radius: var(--radius); background: var(--bg-soft);
}
.events__empty .event__actions { justify-content: center; }

/* ---------- 6. GYIK ---------- */

.topics { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.topic {
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  padding: 28px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.topic:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.topic__icons { display: flex; gap: 8px; color: var(--green); }
.topic__icons .icon { width: 34px; height: 34px; }
.topic strong { font-family: var(--font-display); font-size: 1.3rem; }

.faq { max-width: 900px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  transition: box-shadow .25s, border-color .25s;
}
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  display: flex; align-items: center; gap: 14px; cursor: pointer; list-style: none;
  padding: 18px 22px; font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--green-strong); }
.faq__num {
  flex: none; display: grid; place-items: center; min-width: 42px; height: 30px; padding: 0 8px;
  border-radius: 999px; background: var(--green-soft); color: var(--green-ink); font-size: .95rem;
}
.faq__chev { margin-left: auto; width: 22px; height: 22px; flex: none; color: var(--green-strong); transition: transform .25s; }
.faq details[open] .faq__chev { transform: rotate(180deg); }
.faq__body { padding: 0 22px 20px 78px; }
.faq__body p:last-child { margin-bottom: 0; }
@media (max-width: 600px) { .faq__body { padding-left: 22px; } }

/* ---------- 7. Képességvizsga ---------- */

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon {
  width: 26px; height: 26px; padding: 5px; flex: none; margin-top: 2px;
  border-radius: 50%; background: var(--green); color: #fff; stroke-width: 3;
}
.highlight { color: var(--green-strong); font-weight: 600; }

.lead { font-size: 1.15rem; }

.carousel-section { padding-bottom: clamp(56px, 8vw, 96px); }
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding-inline: 20px; padding: 6px 20px 18px; scrollbar-width: thin;
  max-width: var(--container); margin-inline: auto;
}
.carousel__item { flex: 0 0 clamp(260px, 32%, 380px); scroll-snap-align: start; margin: 0; }
.carousel__item a { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--bg-soft); }
.carousel__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.carousel__item a:hover img { transform: scale(1.05); }
.carousel__nav { display: flex; justify-content: center; gap: 12px; margin-top: 10px; }
.round-btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: all .2s;
}
.round-btn:hover { background: var(--green); border-color: var(--green); color: #fff; }
.round-btn .icon { width: 22px; height: 22px; }
.no-js .carousel__nav { display: none; }

.exam { display: grid; gap: clamp(32px, 5vw, 56px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 980px) { .exam { grid-template-columns: minmax(0, 1fr) 340px; } }

.quotes { display: grid; gap: 18px; margin-top: 24px; }
.quote {
  position: relative; margin: 0; padding: 24px 26px 22px 70px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
}
.quote__paw { position: absolute; left: 22px; top: 24px; width: 30px; height: 30px; color: var(--green); }
.quote p { font-style: italic; margin-bottom: .8em; }
.quote footer { font-size: .9rem; color: var(--muted); overflow-wrap: anywhere; }
.quote footer a { color: var(--green-strong); }
@media (max-width: 560px) {
  .quote { padding: 60px 20px 20px; }
  .quote__paw { top: 20px; left: 20px; }
}

.info { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 12px; }
@media (max-width: 979px) { .info { position: static; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); } }
.info__card {
  display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--line);
}
.info__card .icon { width: 22px; height: 22px; color: var(--green-strong); margin-top: 3px; }
.info__card h3 { font-size: 1.1rem; margin-bottom: .2em; }
.info__card p { margin: 0; font-size: .97rem; line-height: 1.5; }

/* ---------- 8. Lábléc ---------- */

.footer {
  position: relative; background: var(--dark); color: rgba(255,255,255,.72);
  padding-top: clamp(80px, 10vw, 120px); font-size: .98rem;
}
.footer .wave--top { top: -1px; bottom: auto; transform: rotate(180deg); color: var(--bg); }
.footer--after-soft .wave--top { color: var(--bg-soft); }
.footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer a:hover { color: var(--green); }
.footer h2 { color: #fff; font-size: 1.25rem; margin-bottom: 1em; letter-spacing: .06em; text-transform: uppercase; }
.footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.1fr .9fr .8fr 500px; } }
.footer .brand { font-size: 1.8rem; margin-bottom: 14px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__contact li { display: flex; gap: 10px; align-items: center; }
.footer__contact .icon { width: 18px; height: 18px; color: var(--green); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff; transition: background .2s;
}
.socials a:hover { background: var(--green); color: #fff; }
.socials .icon { width: 20px; height: 20px; }
.fb-wrap { max-width: 500px; border-radius: var(--radius); overflow: hidden; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  margin-top: 56px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .9rem;
}
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }

/* ---------- 9. Képnézegető, animációk ---------- */

.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  padding: 60px 70px; background: rgba(8, 14, 10, .93);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { margin: 0; display: grid; gap: 12px; justify-items: center; max-width: 100%; max-height: 100%; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 160px); border-radius: var(--radius-sm); box-shadow: 0 30px 60px rgba(0,0,0,.5); object-fit: contain; }
.lightbox__caption { color: #fff; text-align: center; font-family: var(--font-display); font-size: 1.15rem; }
.lightbox__counter { color: rgba(255,255,255,.6); font-size: .9rem; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; transition: background .2s;
}
.lightbox__btn:hover { background: var(--green); }
.lightbox__btn .icon { width: 26px; height: 26px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox { padding: 70px 12px 90px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 18px; transform: none; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
}
body.no-scroll { overflow: hidden; }

/* Finom beúszás görgetéskor (csak ha fut a JS) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
