/* ==========================================================================
   Szélirány Vitorlásiskola — stíluslap
   Paletta: Balaton opál, mélyvíz, vitorlavászon, viharjelző borostyán, nádas
   Betűk: Archivo (széles, kiírás), Instrument Sans (szöveg), Martian Mono (adatok)
   ========================================================================== */

/* ---------- Betűtípusok (saját tárhelyről, latin + latin-ext) ---------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-wdth-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-wdth-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;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("../fonts/instrument-sans-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("../fonts/instrument-sans-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;
}
@font-face {
  font-family: "Martian Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../fonts/martian-mono-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Martian Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../fonts/martian-mono-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;
}

/* ---------- Tokenek ---------- */
:root {
  --ink: #0E3440;          /* mélyvíz */
  --ink-soft: #2A5260;
  --opal: #8FC7B5;         /* Balaton opál */
  --opal-deep: #2C6A5C;    /* szövegben használható opál */
  --opal-tint: #E3F1EC;
  --haze: #D8ECE5;         /* párás ég */
  --sail: #F7FAF9;         /* vitorlavászon */
  --amber: #F2A007;        /* viharjelző */
  --reed: #BDB57A;         /* nádas */
  --reed-deep: #5F5A2E;
  --line: rgba(14, 52, 64, 0.16);
  --line-strong: rgba(14, 52, 64, 0.32);

  --font-display: "Archivo", "Arial Black", Arial, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 12px;
  --radius-sm: 8px;
  --section-space: clamp(64px, 9vw, 128px);
  --header-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--sail);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 760;
  font-stretch: 118%;
  line-height: 1.04;
  letter-spacing: -0.012em;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  text-wrap: balance;
}
p, li, dd, td, th, figcaption, label, legend { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--opal-deep); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }

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

.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;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--sail);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--sail); outline-color: var(--amber); }

.container {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 450;
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin: 0 0 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  hyphens: manual;
  -webkit-hyphens: manual;
}

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.7em 1.35em;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--primary { background: var(--ink); color: var(--sail); }
.btn--primary:hover { background: #18505F; border-color: #18505F; color: var(--sail); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--sail); }
.btn--light { background: var(--sail); border-color: var(--sail); color: var(--ink); }
.btn--light:hover { background: var(--opal); border-color: var(--opal); color: var(--ink); }
.btn--small { min-height: 40px; padding: 0.5em 1em; font-size: 0.92rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 600;
  color: var(--ink);
}
.text-link svg { width: 1em; height: 1em; transition: transform 0.2s ease; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Fejléc ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 250, 249, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 820;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand__sub {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__list { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.site-nav__list a {
  position: relative;
  padding: 6px 0;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  text-decoration: none;
}
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.site-nav__list a:hover::after,
.site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav__list a[aria-current="page"]::after { background: var(--amber); height: 3px; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  font: 600 0.95rem/1 var(--font-body);
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--sail);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -18px rgba(14, 52, 64, 0.35);
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.1rem;
  }
  .site-nav__list a::after { display: none; }
  .site-nav__list a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--amber); padding-left: 14px; }
  .site-nav__cta { margin-top: 18px; }
}
@media (max-width: 420px) {
  .brand__sub { display: none; }
  .nav-toggle__label { font-size: 0.9rem; }
}

/* ---------- Szekciók ---------- */
.section { padding-block: var(--section-space); }
.section--tint { background: var(--opal-tint); }
.section--ink { background: var(--ink); color: var(--sail); }
.section--ink a { color: var(--opal); }
.section--ink a:hover { color: var(--sail); }
.section--ink :focus-visible { outline-color: var(--amber); }

.section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
}
.section-head p { margin-top: 1.1rem; font-size: 1.12rem; color: var(--ink-soft); max-width: 40rem; }
.section--ink .section-head p { color: #C9E3DA; }

/* egyoszlopos alapállapot: a széles tartalom (pl. táblázat) ne feszítse szét a rácsot */
.why, .story, .safety, .contact, .course, .two-col, .legal { grid-template-columns: minmax(0, 1fr); }
.section--ink .eyebrow { color: var(--opal); }

/* ==========================================================================
   HERO + VIHARJELZŐ (az oldal aláírása)
   ========================================================================== */
.hero {
  --scene-sky: #D8ECE5;
  --scene-far: #B9D7CC;
  --scene-land: #9DC6B7;
  --scene-water: #8FC7B5;
  --scene-ripple: #A9D7C8;
  --scene-near: #82BBA9;
  --reed-lean: 0deg;
  position: relative;
  background: var(--scene-sky);
}
.hero[data-vj="1"] {
  --scene-sky: #CADDD7;
  --scene-far: #A9C5BB;
  --scene-land: #90B6A8;
  --scene-water: #83B9A8;
  --scene-ripple: #A4CDBF;
  --scene-near: #77AE9D;
  --reed-lean: -7deg;
}
.hero[data-vj="2"] {
  --scene-sky: #B3C6C4;
  --scene-far: #9AB1AD;
  --scene-land: #86A39C;
  --scene-water: #7DAA9E;
  --scene-ripple: #93BCB0;
  --scene-near: #719E92;
  --reed-lean: -15deg;
}

.hero__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero__copy {
  position: relative;
  z-index: 2;
  padding-top: clamp(40px, 8vw, 72px);
  padding-bottom: 28px;
}
.hero__title {
  font-size: clamp(2.45rem, 9.6vw, 5.6rem);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.02em;
  max-width: 11ch;
}
.hero__lede {
  margin-top: 1.4rem;
  max-width: 34rem;
  font-size: clamp(1.06rem, 1.4vw, 1.2rem);
  line-height: 1.55;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.hero__facts {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

/* mobilon a jelenet jobb alsó részét nagyítjuk ki: a torony, a hajók és Tihany maradjon látható */
.hero__scene {
  position: relative;
  z-index: 1;
  width: 165%;
  max-width: none;
  height: auto;
  aspect-ratio: 1.6;
  margin-left: -65%;
  margin-top: -38%;
}
.hero__scene * { transition: fill 0.9s ease, opacity 0.9s ease, transform 1.1s cubic-bezier(.3,.7,.2,1); }
.scene-sky { fill: var(--scene-sky); }
.scene-far { fill: var(--scene-far); }
.scene-land { fill: var(--scene-land); }
.scene-water { fill: var(--scene-water); }
.scene-ripple { stroke: var(--scene-ripple); }
.scene-near { fill: var(--scene-near); }

.reeds { transform-box: fill-box; transform-origin: 50% 100%; transform: skewX(var(--reed-lean)); }

/* hajók: állapotonként mozognak / eltűnnek */
.boat { transform-box: view-box; }
.boat--far1 { transform: translate(905px, 642px) scale(.55); }
.boat--far2 { transform: translate(1050px, 668px) scale(.75); }
.boat--far3 { transform: translate(1190px, 650px) scale(.5); }
.boat--mid1 { transform: translate(960px, 760px) scale(1.05); }
.boat--mid2 { transform: translate(1215px, 790px) scale(1.25); }
.hero[data-vj="1"] .boat--far1,
.hero[data-vj="1"] .boat--far2,
.hero[data-vj="1"] .boat--far3 { opacity: 0; }
.hero[data-vj="1"] .boat--mid1 { transform: translate(1040px, 860px) scale(1.4); }
.hero[data-vj="1"] .boat--mid2 { transform: translate(1250px, 880px) scale(1.5); }
.hero[data-vj="2"] .boat { opacity: 0; }
.hero[data-vj="2"] .boat--mid1 { transform: translate(1140px, 900px) scale(1.4); }
.hero[data-vj="2"] .boat--mid2 { transform: translate(1290px, 905px) scale(1.5); }

.whitecaps { opacity: 0; }
.hero[data-vj="1"] .whitecaps--a { opacity: 1; }
.hero[data-vj="2"] .whitecaps { opacity: 1; }

/* a lámpa */
.lamp-lens-on, .lamp-glow { opacity: 0; }
.hero[data-vj="1"] .lamp-lens-on,
.hero[data-vj="1"] .lamp-glow { animation: vj-flash-1 1.333s linear infinite; }
.hero[data-vj="2"] .lamp-lens-on,
.hero[data-vj="2"] .lamp-glow { animation: vj-flash-2 0.667s linear infinite; }

/* 45/perc = 1,333 s ciklus; 90/perc = 0,667 s ciklus — mindkettő jóval 3 villanás/mp alatt */
@keyframes vj-flash-1 {
  0% { opacity: 0; }
  3% { opacity: 1; }
  17% { opacity: 1; }
  27% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes vj-flash-2 {
  0% { opacity: 0; }
  5% { opacity: 1; }
  30% { opacity: 1; }
  46% { opacity: 0; }
  100% { opacity: 0; }
}

/* ---- Vezérlőpult (sáv a hero alján) ---- */
.vj {
  position: relative;
  z-index: 3;
  background: var(--ink);
  color: var(--sail);
}
.vj__inner {
  display: grid;
  gap: 18px 40px;
  padding-block: 26px 30px;
}
.vj__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.vj__title::before {
  content: "";
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #5B5326;
  box-shadow: 0 0 0 3px rgba(242, 160, 7, 0.18);
}
.hero[data-vj="1"] .vj__title::before,
.hero[data-vj="2"] .vj__title::before { background: var(--amber); }
.hero[data-vj="1"] .vj__title::before { animation: vj-dot 1.333s linear infinite; }
.hero[data-vj="2"] .vj__title::before { animation: vj-dot 0.667s linear infinite; }
@keyframes vj-dot {
  0%, 22% { background: var(--amber); box-shadow: 0 0 0 3px rgba(242,160,7,.35), 0 0 18px 4px rgba(242,160,7,.65); }
  32%, 100% { background: #5B5326; box-shadow: 0 0 0 3px rgba(242,160,7,.18); }
}
.vj__intro { margin: 8px 0 0; font-size: 0.95rem; color: #C9E3DA; max-width: 22rem; }

.seg {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 4px;
  border: 1px solid rgba(247, 250, 249, 0.28);
  border-radius: 12px;
  min-width: 0;
}
.seg legend { padding: 0; }
.seg__opt { position: relative; display: block; min-width: 0; }
.seg__opt input {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.seg__opt label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 60px;
  padding: 8px 10px;
  border-radius: 9px;
  text-align: center;
  font-family: var(--font-display);
  font-stretch: 106%;
  font-weight: 650;
  font-size: 0.98rem;
  line-height: 1.15;
  color: var(--sail);
  cursor: pointer;
  hyphens: none;
  -webkit-hyphens: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
@media (max-width: 400px) {
  .seg__opt label { font-size: 0.86rem; font-stretch: 100%; padding: 8px 4px; }
}
.seg__opt label small {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #BFDCD2;
}
.seg__opt input:hover + label { background: rgba(247, 250, 249, 0.08); }
.seg__opt input:checked + label { background: var(--sail); color: var(--ink); }
.seg__opt input:checked + label small { color: var(--ink-soft); }
.seg__opt input:focus-visible + label { outline: 3px solid var(--amber); outline-offset: 2px; }

.vj__readout { display: grid; min-width: 0; }
.vj__panel { grid-area: 1 / 1; align-self: start; visibility: hidden; opacity: 0; transition: opacity 0.3s ease; }
.vj__panel.is-active { visibility: visible; opacity: 1; }
.vj__state {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin: 0 0 8px;
}
.vj__state strong {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 750;
  font-size: 1.12rem;
}
.vj__rate { color: var(--amber); }
.vj__panel p { font-size: 0.95rem; line-height: 1.5; }
.vj__school { color: var(--sail); }
.vj__school b { color: var(--opal); font-weight: 600; }
.vj__rule { margin-top: 8px; font-size: 0.85rem !important; color: #A9CFC2; }
.vj__still { display: none; }

@media (min-width: 760px) {
  .hero__scene { width: 100%; margin-left: 0; margin-top: -28%; }
  .vj__inner { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); }
  .vj__readout { grid-column: 1 / -1; }
}

@media (min-width: 1120px) {
  .hero__stage {
    min-height: max(clamp(540px, calc(100vh - var(--header-h) - 210px), 760px), 34vw);
    justify-content: center;
  }
  .hero__scene {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    margin: 0;
  }
  .hero__copy { padding-block: 40px 44px; }
  .hero__title { font-size: clamp(3.6rem, 5.4vw, 5.2rem); }
  .hero__lede { margin-top: 1.1rem; }
  .hero__actions { margin-top: 1.4rem; }
  .hero__facts { margin-top: 1.2rem; }
  .hero__copy > * { max-width: min(46vw, 640px); }
  .hero__title { max-width: 11ch; }
  .vj__inner {
    grid-template-columns: minmax(0, 16rem) minmax(0, 24rem) minmax(0, 1fr);
    align-items: center;
    padding-block: 20px 22px;
  }
  .vj__readout { grid-column: auto; }
  .vj__panel { align-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scene * { transition: none; }
  .hero[data-vj] .lamp-lens-on,
  .hero[data-vj] .lamp-glow,
  .hero[data-vj] .vj__title::before { animation: none; }
  .hero[data-vj="1"] .lamp-lens-on,
  .hero[data-vj="2"] .lamp-lens-on { opacity: 1; }
  .hero[data-vj="1"] .lamp-glow { opacity: 0.55; }
  .hero[data-vj="2"] .lamp-glow { opacity: 0.85; }
  .hero[data-vj="1"] .vj__title::before,
  .hero[data-vj="2"] .vj__title::before { background: var(--amber); box-shadow: 0 0 0 3px rgba(242,160,7,.35), 0 0 14px 3px rgba(242,160,7,.55); }
  .vj__still { display: inline; }
  .vj__panel { transition: none; }
}

/* ==========================================================================
   Miért a Balaton
   ========================================================================== */
.why {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.why__figure { margin: 0; order: 2; }
.why__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.why__figure figcaption { margin-top: 12px; font-size: 0.9rem; color: var(--ink-soft); }
.traits { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.trait {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-strong);
}
.trait__data {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--opal-deep);
  letter-spacing: 0.02em;
}
.trait h3 { font-size: 1.35rem; font-stretch: 112%; }
.trait p { margin-top: 4px; color: var(--ink-soft); }
@media (min-width: 900px) {
  .why { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .why__figure { order: 0; position: sticky; top: calc(var(--header-h) + 24px); }
  .trait { grid-template-columns: 11rem minmax(0, 1fr); gap: 24px; }
  .trait__data { padding-top: 6px; }
}

/* ==========================================================================
   Tanfolyam-tábla (főoldal)
   ========================================================================== */
.board { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.board__row {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px 20px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-strong);
}
.board__img {
  width: 96px; height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.board__main h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-stretch: 115%; }
.board__main h3 a { color: inherit; text-decoration: none; }
.board__main h3 a::after { content: ""; position: absolute; inset: 0; }
.board__main h3 a:focus-visible { outline: none; }
.board__row:focus-within { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
.board__main p { margin: 6px 0 0; color: var(--ink-soft); font-size: 0.98rem; max-width: 36rem; }
.board__meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 18px;
}
.board__facts { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-soft); }
.board__price {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 760;
  font-size: 1.35rem;
  white-space: nowrap;
}
.board__price small { font-family: var(--font-body); font-weight: 500; font-size: 0.85rem; color: var(--ink-soft); }
.board__row:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.board__foot { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 32px; }
.board__foot p { margin: 0; color: var(--ink-soft); }
@media (min-width: 820px) {
  .board__row { grid-template-columns: 132px minmax(0, 1fr) minmax(0, 15rem); gap: 28px; padding: 26px 0; align-items: center; }
  .board__img { width: 132px; height: 96px; }
  .board__meta { grid-column: auto; flex-direction: column; align-items: flex-end; text-align: right; }
}

/* ==========================================================================
   Flotta
   ========================================================================== */
.fleet-figure { margin: 0 0 clamp(28px, 4vw, 48px); }
.fleet-figure svg { width: 100%; height: auto; }
.fleet-figure figcaption { margin-top: 10px; font-family: var(--font-mono); font-size: 0.7rem; color: #A9CFC2; }
.fleet { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.fleet__item { padding-top: 18px; border-top: 1px solid rgba(247, 250, 249, 0.3); }
.fleet__item h3 { font-size: 1.6rem; font-stretch: 120%; }
.fleet__spec { margin: 8px 0 12px; color: var(--amber); }
.fleet__item p { color: #D5EAE2; }
@media (min-width: 820px) {
  .fleet { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
}

/* ==========================================================================
   Rólunk / oktatók
   ========================================================================== */
.story { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
.story__figure { margin: 0; }
.story__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.story__body > p { font-size: 1.1rem; }
.story__body .section-head { margin-bottom: 28px; }
.crew { display: grid; gap: 0; margin: 32px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.crew li { padding: 18px 0; border-bottom: 1px solid var(--line-strong); }
.crew h3 { font-size: 1.15rem; font-stretch: 110%; }
.crew__role { display: block; margin: 4px 0 6px; color: var(--opal-deep); }
.crew p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
@media (min-width: 900px) {
  .story { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); }
  .story__figure { order: 2; position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ==========================================================================
   Biztonság — napi rutin (valódi sorrend)
   ========================================================================== */
.routine { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.routine li {
  position: relative;
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 4px 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-strong);
  counter-increment: step;
}
.routine li::before {
  content: counter(step);
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  border: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
}
.routine h3 { font-size: 1.2rem; font-stretch: 110%; align-self: center; }
.routine p { margin: 0; color: var(--ink-soft); }
.routine .mono { color: var(--opal-deep); margin-left: 6px; font-size: 0.72rem; font-weight: 500; }
.safety { display: grid; gap: clamp(32px, 5vw, 64px); }
.safety__aside {
  align-self: start;
  padding: 26px 26px 28px;
  border-radius: var(--radius);
  background: var(--sail);
  border: 1px solid var(--line);
}
.safety__aside h3 { font-size: 1.2rem; font-stretch: 112%; margin-bottom: 12px; }
.ratio { display: grid; gap: 10px; margin: 0 0 18px; }
.ratio div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line-strong); }
.ratio dt { color: var(--ink-soft); }
.ratio dd { margin: 0 0 0 auto; font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; }
@media (min-width: 900px) {
  .safety { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .safety__aside { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ==========================================================================
   Galéria
   ========================================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery figure { margin: 0; height: 100%; display: flex; flex-direction: column; }
.gallery img {
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  aspect-ratio: 4 / 3;
}
.gallery figcaption { margin-top: 8px; font-size: 0.85rem; color: var(--ink-soft); line-height: 1.4; }
.gallery__wide { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
  .gallery li:nth-child(1) { grid-column: span 7; grid-row: span 2; }
  .gallery li:nth-child(1) img { aspect-ratio: auto; }
  .gallery li:nth-child(2) { grid-column: span 5; }
  .gallery li:nth-child(3) { grid-column: span 5; }
  .gallery li:nth-child(4),
  .gallery li:nth-child(5),
  .gallery li:nth-child(6) { grid-column: span 4; }
}

/* ==========================================================================
   CTA sáv
   ========================================================================== */
.cta {
  position: relative;
  isolation: isolate;
  padding-block: clamp(72px, 10vw, 140px);
  background: var(--opal);
  overflow: hidden;
}
.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 88%;
}
.cta__card {
  max-width: 36rem;
  padding: clamp(28px, 4vw, 44px);
  background: var(--sail);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(14, 52, 64, 0.55);
}
.cta__card h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.cta__card p { margin-top: 1rem; color: var(--ink-soft); font-size: 1.08rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

/* ==========================================================================
   Aloldal-fejléc
   ========================================================================== */
.page-head {
  position: relative;
  padding-block: clamp(48px, 7vw, 96px) clamp(36px, 5vw, 64px);
  background: var(--haze);
  overflow: hidden;
}
.page-head__inner { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(2.3rem, 6.4vw, 4.6rem); font-stretch: 114%; font-weight: 800; max-width: 16ch; letter-spacing: -0.02em; line-height: 0.98; }
.page-head__lede { margin-top: 1.2rem; max-width: 40rem; font-size: 1.15rem; }
.page-head__horizon {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 22px;
  background: var(--opal);
}
.page-head__tower { display: none; }
@media (min-width: 900px) {
  .page-head__tower {
    display: block;
    position: absolute;
    right: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
    bottom: 0;
    width: auto;
    height: min(78%, 300px);
    aspect-ratio: 240 / 320;
  }
}
.page-head__horizon::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 2px;
  background: rgba(14, 52, 64, 0.12);
}
.page-head--plain { background: var(--opal-tint); }
.page-head--plain .page-head__horizon { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.chips a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--sail);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}
.chips a:hover { background: var(--ink); color: var(--sail); }

/* ==========================================================================
   Tanfolyamok oldal
   ========================================================================== */
.course { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
.course + .course { margin-top: clamp(48px, 6vw, 88px); padding-top: clamp(48px, 6vw, 88px); border-top: 2px solid var(--ink); }
.course__summary {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--opal-tint);
}
.course__summary img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 20px; }
.course__price { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 2rem; line-height: 1.1; }
.course__price small { display: block; margin-top: 4px; font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); }
.spec { display: grid; gap: 0; margin: 18px 0 22px; }
.spec div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-soft); padding-top: 3px; }
.spec dd { margin: 0; font-weight: 500; }
.course__summary .btn { width: 100%; }
.course__body h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.course__for { margin: 12px 0 22px; font-size: 1.12rem; color: var(--ink-soft); }
.course__body h3 { margin: 30px 0 12px; font-size: 1.2rem; font-stretch: 110%; }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.55em;
  width: 14px; height: 8px;
  border-left: 2.5px solid var(--opal-deep);
  border-bottom: 2.5px solid var(--opal-deep);
  transform: rotate(-45deg);
  transform-origin: center;
  margin-top: -3px;
}
.dates { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dates li {
  padding: 8px 12px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: var(--sail);
  white-space: nowrap;
}
.note {
  margin-top: 22px;
  padding: 16px 18px;
  border-left: 4px solid var(--reed);
  background: #F1F0E3;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.97rem;
}
@media (min-width: 900px) {
  .course { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .course__summary { order: 2; position: sticky; top: calc(var(--header-h) + 24px); }
}

.two-col { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 900px) { .two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.two-col h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 18px; }

.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 16px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 0 52px; min-height: 40px; }
.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: -2px;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink); color: var(--sail);
  font-family: var(--font-mono); font-size: 0.85rem; font-weight: 600;
}

.refund { display: grid; gap: 0; margin: 0; border-top: 2px solid var(--ink); }
.refund div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-strong); }
.refund dt { color: var(--ink); }
.refund dd { margin: 0; font-family: var(--font-display); font-stretch: 110%; font-weight: 750; font-size: 1.1rem; text-align: right; }

.faq { border-top: 2px solid var(--ink); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  position: relative;
  padding: 20px 44px 20px 0;
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 680;
  font-size: 1.12rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px; top: 50%;
  width: 12px; height: 12px;
  margin-top: -9px;
  border-right: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details > div { padding: 0 0 22px; color: var(--ink-soft); max-width: 44rem; }

/* ==========================================================================
   Kapcsolat
   ========================================================================== */
.contact { display: grid; gap: clamp(36px, 5vw, 72px); align-items: start; }
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }

.form { display: grid; gap: 20px; }
.form__intro { margin: 0; padding: 16px 18px; background: var(--opal-tint); border-radius: var(--radius-sm); font-size: 0.95rem; }
.field { display: grid; gap: 6px; align-content: start; }
.field label, .field .label { font-weight: 600; }
.field .opt { font-weight: 400; color: var(--ink-soft); font-size: 0.92rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--ink-soft);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.field__hint { font-size: 0.88rem; color: var(--ink-soft); }
.field__error { display: none; font-size: 0.92rem; font-weight: 600; color: #A12A12; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #A12A12; border-width: 2px; background: #FFF7F5; }
.field.has-error .field__error { display: block; }
.field--row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; display: grid; }
@media (max-width: 600px) { .field--row { grid-template-columns: minmax(0, 1fr); } }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); }
.check label { font-weight: 400; }
.form__summary {
  padding: 16px 18px;
  border: 2px solid #A12A12;
  border-radius: var(--radius-sm);
  background: #FFF7F5;
}
.form__summary h2 { font-size: 1.05rem; font-stretch: 105%; margin-bottom: 6px; }
.form__summary ul { margin: 0; padding-left: 20px; }
.form__summary a { color: #A12A12; font-weight: 600; }
.form__done {
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  background: var(--opal-tint);
  border-left: 5px solid var(--opal-deep);
}
.form__done h2 { font-size: 1.2rem; font-stretch: 108%; margin-bottom: 8px; }
.form__done p { margin-bottom: 0.6em; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.info { display: grid; gap: 16px; }
.info__card { padding: 24px; border-radius: var(--radius); background: var(--opal-tint); }
.info__card h2 { font-size: 1.2rem; font-stretch: 112%; margin-bottom: 12px; }
.info__card address { font-style: normal; }
.info__big { display: block; font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: 1.2rem; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.info__big:hover { text-decoration: underline; color: var(--ink); }
.info__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.hours { display: grid; gap: 6px; margin: 0; }
.hours div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.hours dt { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-soft); }
.hours dd { margin: 0 0 8px; }

.route { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.route__item { display: grid; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--line-strong); }
.route__item h3 { font-size: 1.25rem; font-stretch: 112%; display: flex; align-items: center; gap: 12px; }
.route__item h3 svg { width: 28px; height: 28px; flex: none; }
.route__item p { margin: 0; color: var(--ink-soft); max-width: 46rem; }
@media (min-width: 900px) { .route__item { grid-template-columns: 16rem minmax(0, 1fr); gap: 32px; } }
.wide-photo { margin: 0 0 clamp(32px, 5vw, 56px); }
.wide-photo img { width: 100%; aspect-ratio: 12 / 5; object-fit: cover; border-radius: var(--radius); }
.wide-photo figcaption { margin-top: 10px; font-size: 0.9rem; color: var(--ink-soft); }

/* ==========================================================================
   Jogi oldalak
   ========================================================================== */
.legal { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
.legal__meta { margin: 1rem 0 0; font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-soft); }
.toc { padding: 22px 22px 24px; border-radius: var(--radius); background: var(--opal-tint); }
.toc h2 { font-size: 1rem; font-stretch: 112%; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 1.4em; display: grid; gap: 6px; font-size: 0.95rem; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.prose { max-width: 70ch; }
.prose h2 {
  margin: 2.6em 0 0.7em;
  padding-top: 0.9em;
  border-top: 2px solid var(--ink);
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  font-stretch: 110%;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.8em 0 0.5em; font-size: 1.15rem; font-stretch: 106%; }
.prose p, .prose li { color: #1B3F4B; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.45em; }
.prose .table-wrap { overflow-x: auto; margin: 1.2em 0 1.6em; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 34rem; }
.prose th, .prose td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose thead th { background: var(--opal-tint); font-family: var(--font-display); font-stretch: 106%; font-weight: 700; }
.prose tbody tr:last-child td, .prose tbody tr:last-child th { border-bottom: 0; }
.prose code { font-family: var(--font-mono); font-size: 0.82em; background: var(--opal-tint); padding: 2px 6px; border-radius: 4px; }
.card-block {
  margin: 1.2em 0 1.6em;
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  background: var(--opal-tint);
}
.card-block dl { margin: 0; display: grid; gap: 8px; }
.card-block dl div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 12px; }
.card-block dt { font-weight: 600; }
.card-block dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .card-block dl div { grid-template-columns: minmax(0, 1fr); gap: 0; } }
@media (min-width: 1000px) {
  .legal { grid-template-columns: 17rem minmax(0, 1fr); }
  .toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; }
}

/* ==========================================================================
   404
   ========================================================================== */
.lost { padding-block: clamp(72px, 12vw, 160px); }
.lost h1 { font-size: clamp(2.4rem, 7vw, 5rem); font-stretch: 114%; font-weight: 800; max-width: 14ch; line-height: 0.98; }
.lost p { margin-top: 1.2rem; max-width: 34rem; font-size: 1.15rem; }
.lost__code { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 1rem; }

/* ==========================================================================
   Lábléc
   ========================================================================== */
.site-footer { background: var(--ink); color: #D5EAE2; padding-top: clamp(56px, 7vw, 88px); }
.site-footer a { color: var(--sail); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--sail); }
.site-footer :focus-visible { outline-color: var(--amber); }
.site-footer__grid { display: grid; gap: 36px; padding-bottom: 48px; }
.site-footer .brand { color: var(--sail); }
.site-footer .brand__sub { color: #A9CFC2; }
.site-footer__tag { margin-top: 16px; max-width: 22rem; font-size: 0.95rem; }
.site-footer__title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--opal);
}
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 20px 28px;
  font-size: 0.85rem;
  color: #A9CFC2;
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter); right: var(--gutter);
  height: 1px;
  background: rgba(247, 250, 249, 0.18);
}
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } }

/* ==========================================================================
   Süti-sáv
   ========================================================================== */
.cookie {
  position: fixed;
  z-index: 60;
  left: 16px; right: 16px; bottom: 16px;
  display: grid;
  gap: 12px;
  max-width: 360px;
  padding: 16px 18px 18px;
  background: var(--sail);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px -20px rgba(14, 52, 64, 0.5);
}
.cookie[hidden] { display: none; }
.cookie__title { margin: 0; font-family: var(--font-display); font-stretch: 110%; font-weight: 750; font-size: 1rem; }
.cookie__text { margin: 0; font-size: 0.92rem; line-height: 1.5; }
.cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie__actions .btn { min-height: 44px; padding: 0.5em 0.8em; font-size: 0.95rem; }
@media (min-width: 640px) { .cookie { right: auto; left: 24px; bottom: 24px; } }

/* ---------- Segédek ---------- */
.mt-0 { margin-top: 0; }
.nowrap { white-space: nowrap; }
.center-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

@media print {
  .site-header, .cookie, .vj, .hero__scene, .site-footer, .nav-toggle { display: none !important; }
  body { background: #fff; }
}

.refund__note { margin-top: 16px; }

[tabindex="-1"]:focus { outline: none; }
.prose code { hyphens: none; -webkit-hyphens: none; white-space: nowrap; }
