/* =========================================================
   SMAFC Műjégpálya — style.css
   Static site styles. No build step, no third-party requests.
   Self-hosted fonts: Archivo (display) + Inter (text), SIL OFL 1.1.

   Composition: a pale ice-blue winter surface carries the masthead and
   the hero; everything below it is editorial — numbered bands separated
   by thin rules — and closes on a rich SMAFC blue footer.
   ========================================================= */

/* ----------  Fonts  ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  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: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  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: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  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: "Inter";
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  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;
}

/* ----------  Tokens  ---------- */
:root {
  /* SMAFC winter palette: navy type, vivid club blue, pale ice surfaces. */
  --ink-900: #0b2545;
  --ink-800: #12366a;
  --ink-700: #12366a;
  --cobalt-800: #0a4691;
  --cobalt-700: #0755ad;
  --cobalt-600: #1759b8;
  --ice-50: #f5faff;
  --ice-100: #e7f3ff;
  --ice-200: #d3e7fb;
  --paper: #ffffff;
  --line: #cfe2f5;
  --line-soft: #e4eefb;
  --text: #1b2c4e;
  --muted: #52678c;
  /* Deeper orange so the ring clears 3:1 against the pale winter surfaces. */
  --focus: #d64d00;
  --danger: #b42318;
  --warn: #a8620a;
  --violet: #5b3bbd;
  --slate: #4a5c7a;
  --logo-plate: #1e2b52;
  --footer-top: #143f7c;
  --footer-bottom: #0f2d5c;

  /* Light winter fields: hero, masthead and the numbered bands. */
  --hero-surface: linear-gradient(180deg, #fbfdff 0%, #f5faff 42%, #e7f3ff 100%);
  --band-hours: #cfe5fb;
  /* A halvány kék sávokon a --muted csak 4.4:1; ez 5.5:1. */
  --muted-on-band: #435979;
  /* Árnyék nélküli kártyakeret a halványkék sávon (a --line ott beleolvad). */
  --line-on-band: #a9c1da;
  --success: #17845c;
  --success-strong: #136b4a;
  --masthead-surface: rgba(255, 255, 255, 0.9);

  /* Layout */
  --page-max: 1280px;
  --page-pad: clamp(20px, 4vw, 48px);
  --section-y: clamp(56px, 7vw, 116px);
  --header-h: 68px;

  --font-display: "Archivo", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --radius-btn: 8px;
  --radius-card: 10px;

  --shadow-card: 0 16px 40px rgba(18, 54, 106, 0.1);
  --shadow-media: 0 26px 60px rgba(18, 54, 106, 0.22);

  --transition: 0.18s ease;
}

@media (min-width: 1024px) {
  :root {
    --header-h: 96px;
  }
}

/* ----------  Semantic color tokens (P2 audit)  ----------
   Values here are exact copies of the hex that used to live inline all over
   the sheet — this block is a rename, not a recolor. Grouping them keeps the
   palette themeable from one place. */
:root {
  /* Blue bands (quicklinks strip + 05 Térkép band) and their foregrounds */
  --surface-navy: #174b91;
  --quicklinks-hover: #2360aa;
  --quicklinks-meta: #c6e2ff;
  --map-address: #e0edff;
  --hero-caption-icon: #9fc7f2;

  /* Off-season status plate */
  --status-offseason-bg: #fdf8ee;
  --status-offseason-border: #eddfc2;

  /* Timetable today row */
  --tt-slot-today-border: #b9d7f7;

  /* Prices band */
  --surface-prices-band: #ffffff;

  /* Institutions band */
  --surface-institutions: #e7f3ff;
  --inst-caption-text: #eaf3ff;

  /* Contact form details */
  --form-required-tint: #ffd9c9;
  --form-field-hover-border: #a9c1da;
  --form-error-tint: #fff7f6;
  --form-error-on-blue: #ffd2c4;
  --form-info-on-blue: #dbeaff;

  /* Hero accent line ("SOPRON!") */
  --hero-accent: #bcd9ff;

  /* Footer text ladder — already tuned for the dark footer band */
  --footer-text: #dbe8f8;
  --footer-text-soft: #c9dcf5;
  --footer-muted: #a9c2e0;
  --footer-muted-soft: #aec6e4;
  --footer-accent: #9cc4f5;
  --footer-emphasis: #a9d0ff;
  --footer-link: #cfe0f6;
  --footer-value: #eaf3ff;
  --footer-focus-ring: #d9e9ff;
}

/* ----------  Dark mode (scaffolded, NOT yet activated)  ----------
   Deliberately opt-in only via :root[data-theme="dark"] — nothing sets
   that attribute yet, so this block is dormant. It does NOT hook
   `@media (prefers-color-scheme: dark)`, on purpose: --paper doubles as
   both "light canvas surface" and "white text on a saturated cobalt
   button/badge" in this sheet, and those two roles diverge once --paper
   goes dark (button/badge text goes near-black-on-blue, failing contrast).
   Fixing that needs a dedicated on-brand-text token plus a pass over every
   --cobalt-* text usage (nav links, FAQ, timetable "today" labels, hero
   accent) that also reads poorly against a dark canvas — real work, not a
   token rename, so it's tracked as a follow-up rather than shipped behind
   an OS toggle real visitors would hit today. */
:root[data-theme="dark"] {
  --paper: #0d1b33;
  --ice-50: #101f3b;
  --ice-100: #14264a;
  --ice-200: #1a2f5a;
  --ink-900: #eef4fd;
  --ink-800: #dae6f7;
  --ink-700: #dae6f7;
  --text: #c8d6ea;
  --muted: #a3b6d2;
  --line: #223f6b;
  --line-soft: #1b3157;

  --hero-surface: linear-gradient(180deg, #0b1830 0%, #101f3b 42%, #14264a 100%);
  --band-hours: #14264a;
  --muted-on-band: #a3b6d2;
  --masthead-surface: rgba(13, 27, 51, 0.9);

  --surface-navy: #8fbbe8;
  --quicklinks-hover: #b0d0ee;
  --quicklinks-meta: #1c3d6e;
  --map-address: #1c3d6e;

  --surface-prices-band: #0f1e39;
  --surface-institutions: #182748;

  --status-offseason-bg: #2c2414;
  --status-offseason-border: #58492a;

  --tt-slot-today-border: #37588c;
  --form-field-hover-border: #4b6a99;
  --form-error-tint: #3a1e1c;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Single sticky-header offset mechanism for native #hash navigation. */
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Kijelölés a jég színeivel; sötét sávokon (hero, lábléc) is olvasható. */
::selection {
  background: var(--ice-200);
  color: var(--ink-900);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-700);
  line-height: 1.08;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: 0;
}

h2 { font-size: clamp(2rem, 0.9rem + 3vw, 4rem); }
h3 { font-size: 1.1875rem; line-height: 1.25; }

/* Árva szavak ellen. */
h1, h2, h3, h4, summary { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }

p { margin: 0 0 1rem; }

a {
  color: var(--cobalt-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--cobalt-800); }

ul, ol { margin: 0 0 1rem; padding-left: 1.2em; }

button {
  font-family: inherit;
  font-size: inherit;
}

svg { flex: 0 0 auto; }

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

/* ----------  Utilities  ---------- */
.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

.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;
}

.required { color: var(--danger); font-weight: 700; }
.optional { color: var(--muted); font-weight: 400; font-size: 0.875rem; }

/* ----------  Skip link  ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--ink-900);
  color: var(--paper);
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  font-weight: 600;
  transition: top 0.15s ease;
}

.skip-link:focus { top: 12px; color: var(--paper); }

/* Térkép átugrása: csak fókuszra látszik, a térkép sarkában. */
.map-skip {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 5;
  padding: 10px 14px;
  background: var(--ink-900);
  color: var(--paper);
  border-radius: var(--radius-btn);
  text-decoration: none;
  font-weight: 600;
}

.map-skip:focus { top: 12px; color: var(--paper); }

/* ----------  Buttons  ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  padding: 14px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.25;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition),
    border-color var(--transition);
}

.btn svg { width: 17px; height: 17px; }

.btn-sm {
  min-height: 44px;
  padding: 11px 16px;
  font-size: 0.875rem;
  gap: 14px;
}

.btn-sm svg { width: 15px; height: 15px; }

.btn-light {
  background: var(--paper);
  color: var(--ink-800);
  border-color: var(--paper);
}

.btn-light:hover {
  background: var(--ice-100);
  border-color: var(--ice-100);
  color: var(--ink-800);
}

.btn-ghost {
  background: transparent;
  color: var(--cobalt-700);
  border-color: rgba(7, 85, 173, 0.42);
}

.btn-ghost:hover {
  background: var(--ice-100);
  color: var(--cobalt-800);
  border-color: var(--cobalt-700);
}

.btn-solid {
  background: var(--cobalt-700);
  color: var(--paper);
  border-color: var(--cobalt-700);
}

.btn-solid:hover {
  background: var(--cobalt-800);
  border-color: var(--cobalt-800);
  color: var(--paper);
}

.btn-muted,
.btn[disabled],
.btn[aria-disabled="true"] {
  background: var(--ice-100);
  color: var(--muted);
  border-color: var(--line);
  cursor: not-allowed;
}

/* Az iskolai "Foglalás" gomb valódi <button>; ez hozza egy szintre az
   <a class="btn"> gombokkal. */
button.btn {
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
}

.btn-green {
  background: var(--success);
  color: #ffffff;
  border-color: var(--success);
}

.btn-green:hover {
  background: var(--success-strong);
  border-color: var(--success-strong);
  color: #ffffff;
}

/* ----------  Szezonon kívüli értesítősáv  ---------- */
.offseason-banner {
  background: var(--ink-900);
  color: #eaf3ff;
  font-size: 0.875rem;
  line-height: 1.4;
}

.offseason-banner[hidden] { display: none; }

.offseason-banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding-block: 8px;
}

.offseason-banner-text {
  flex: 1 1 auto;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 12px;
  text-align: center;
}

.offseason-banner-text a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.offseason-banner-text a:hover { color: var(--footer-emphasis); }

.offseason-banner-close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #cfe0f6;
  cursor: pointer;
}

.offseason-banner-close:hover { background: rgba(255, 255, 255, 0.12); color: #ffffff; }

.offseason-banner-close:focus-visible,
.offseason-banner-text a:focus-visible {
  outline: 2px solid #d9e9ff;
  outline-offset: 2px;
}

.offseason-banner-close svg { width: 18px; height: 18px; }

/* ----------  Header  ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--masthead-surface);
  color: var(--ink-800);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  backdrop-filter: saturate(150%) blur(10px);
  /* Hairline rule under the masthead: it anchors the open navigation row
     without adding a layout pixel to --header-h. */
  box-shadow: inset 0 -1px 0 var(--line-soft);
  transition: background-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  box-shadow: inset 0 -1px 0 var(--line), 0 14px 30px rgba(18, 54, 106, 0.12);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 1.6vw, 28px);
  min-height: var(--header-h);
  padding-block: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.header-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--logo-plate);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  flex: 0 0 auto;
}

.header-logo img {
  width: 101px;
  height: 45px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink-800);
  white-space: nowrap;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: nowrap;
}

.primary-nav a {
  display: inline-block;
  padding: 10px 11px;
  white-space: nowrap;
  color: var(--ink-700);
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color var(--transition), color var(--transition);
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: var(--ice-100);
  color: var(--cobalt-800);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-actions .header-cta { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink-800);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

@media (min-width: 1024px) {
  .brand-name { font-size: 1.125rem; }
  .primary-nav a { padding: 10px 12px; font-size: 0.9375rem; }
}

@media (min-width: 1440px) {
  .brand-name { font-size: 1.25rem; }
  .header-actions .header-cta { display: inline-flex; }
}

/* Below the desktop nav breakpoint the six anchors live in a drawer.
   Must match the 1080px check in assets/js/main.js. */
@media (max-width: 1079px) {
  .nav-toggle { display: inline-flex; }

  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-top: 1px solid var(--line);
    box-shadow: 0 24px 50px rgba(18, 54, 106, 0.18);
    padding: 10px var(--page-pad) 22px;
  }

  body.nav-open .primary-nav { display: block; }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-nav a {
    display: block;
    padding: 15px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1.0625rem;
  }

  .primary-nav li:last-child a { border-bottom: 0; }

  .primary-nav a.is-current {
    color: var(--cobalt-800);
    font-weight: 700;
    box-shadow: inset 3px 0 0 var(--cobalt-700);
  }

  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 420px) {
  .brand-name { font-size: 0.9375rem; }
}

/* Desktop only: an open, slim anchor row.
   The previous phase's pale-ice pill group (group surface + border + shadow)
   was rejected, so the six anchors now sit directly on the masthead with
   restrained hairline separators, a fine blue underline on hover and a blue
   focus ring. The collapsed drawer below 1080px keeps its own panel styling. */
@media (min-width: 1080px) {
  .primary-nav ul {
    gap: 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .primary-nav a {
    position: relative;
    padding: 12px 14px;
    border-radius: 0;
    background: none;
    color: var(--ink-800);
    transition: color var(--transition);
  }

  /* Thin separators instead of a container: they read as one quiet row. */
  .primary-nav li + li a {
    box-shadow: inset 1px 0 0 var(--line);
  }

  .primary-nav a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    border-radius: 2px;
    background: var(--cobalt-700);
    opacity: 0;
    transform: scaleX(0.35);
    transition: opacity var(--transition), transform var(--transition);
    pointer-events: none;
  }

  .primary-nav a:hover,
  .primary-nav a:focus-visible {
    background: none;
    color: var(--cobalt-800);
  }

  .primary-nav a:focus-visible {
    outline: 2px solid var(--cobalt-700);
    outline-offset: -2px;
    border-radius: 2px;
  }

  .primary-nav a:hover::after,
  .primary-nav a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .primary-nav a.is-current {
    color: var(--cobalt-800);
  }

  .primary-nav a.is-current::after {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* ----------  Continuous hero surface  ---------- */
/* The pale ice hero band paints from the very top of the document and the
   sticky light masthead floats over it, so header and hero read as one
   winter surface. */
main { margin-top: calc(var(--header-h) * -1); }

.hero {
  position: relative;
  isolation: isolate;
  background: var(--hero-surface);
  color: var(--ink-800);
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(22px, 4vw, 52px));
  padding-bottom: clamp(38px, 5vw, 66px);
  /* PREVIEW: full-bleed background-image hero */
  /* Header + hero + quicklinks strip together should fit one desktop
     screen: 112px is the quicklinks strip's own measured height at the
     >=900px breakpoint, so the hero's height is capped to what's left of
     the viewport instead of a flat 94vh. */
  min-height: min(calc(100vh - 112px), 860px);
  display: flex;
  /* Center the copy and status together in the space below the masthead. */
  align-items: center;
}

/* Flat CSS rink atmosphere behind the untouched hero content: a soft pale
   ice/cyan light variation in ::before, then a wide blue rink arc and a few
   fine diagonal skate tracings in ::after. Both layers sit below the copy,
   media, buttons and status plate and stay clipped to the hero band. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(88% 66% at 6% 2%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0) 62%),
    radial-gradient(72% 62% at 98% 90%, rgba(196, 226, 250, 0.6) 0%, rgba(196, 226, 250, 0) 68%),
    linear-gradient(204deg, rgba(231, 243, 255, 0) 44%, rgba(203, 229, 251, 0.55) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(closest-side, rgba(10, 70, 145, 0) 93%, rgba(10, 70, 145, 0.16) 93.6%, rgba(10, 70, 145, 0.16) 94.6%, rgba(10, 70, 145, 0) 95.2%),
    radial-gradient(closest-side, rgba(7, 85, 173, 0) 94.2%, rgba(7, 85, 173, 0.12) 94.8%, rgba(7, 85, 173, 0.12) 95.8%, rgba(7, 85, 173, 0) 96.4%),
    linear-gradient(112deg, rgba(10, 70, 145, 0) 49.8%, rgba(10, 70, 145, 0.1) 50.05%, rgba(10, 70, 145, 0.1) 50.35%, rgba(10, 70, 145, 0) 50.6%),
    linear-gradient(112deg, rgba(10, 70, 145, 0) 49.85%, rgba(10, 70, 145, 0.07) 50.05%, rgba(10, 70, 145, 0.07) 50.3%, rgba(10, 70, 145, 0) 50.5%),
    linear-gradient(112deg, rgba(10, 70, 145, 0) 49.85%, rgba(10, 70, 145, 0.055) 50.05%, rgba(10, 70, 145, 0.055) 50.3%, rgba(10, 70, 145, 0) 50.5%);
  background-size:
    1500px 940px,
    1180px 760px,
    46% 58%,
    34% 44%,
    26% 34%;
  background-position:
    right -420px bottom -320px,
    left -300px top -240px,
    left 4% top 18%,
    right 8% bottom 12%,
    left 30% bottom 4%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "copy"
    "status";
  gap: clamp(22px, 3.4vw, 40px);
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

.hero-copy { grid-area: copy; min-width: 0; }
.hero-media { grid-area: media; }
.hero-status { grid-area: status; }

.hero-title {
  /* Fallback for engines without container query units; the @supports block
     below sizes the two fixed lines from the copy column instead of the
     viewport, which is what keeps them on exactly two lines. */
  font-size: clamp(2.4rem, 13.7vw, 5.5rem);
  line-height: 0.96;
  margin: 0 0 clamp(14px, 1.8vw, 24px);
  color: #fff;
  text-transform: uppercase;
}

.hero-title-line { display: block; }
.hero-title-line--accent { color: var(--hero-accent); }

.hero-lede {
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.7;
  color: #fff;
  max-width: 46ch;
  margin: 0 0 clamp(22px, 2.6vw, 32px);
}

.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  /* PREVIEW: full-bleed background instead of a framed side card */
  margin: 0;
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  background: var(--ice-200);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(6, 20, 41, 0.88) 0%, rgba(6, 20, 41, 0.6) 47%, rgba(6, 20, 41, 0.12) 72%, rgba(6, 20, 41, 0) 86%),
    linear-gradient(0deg, rgba(6, 20, 41, 0.6) 0%, rgba(6, 20, 41, 0) 32%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  max-height: none;
  object-fit: cover;
  object-position: 65% 60%;
}

.hero-status {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 2px 12px;
  padding: 14px 18px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
}

.status-dot {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--status-color, var(--slate));
  box-shadow: 0 0 0 4px var(--status-ring, rgba(74, 92, 122, 0.22));
}

/* The hero badge is a light plate now, so its dot keeps the same tinted
   ring as the status card and the fill still carries the status code. */
.hero-status .status-dot { margin-top: 6px; }

.status-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.status-label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink-700);
}

.status-text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

/* Szezonon kívül a Facebook-link a „Zárva” kártyán ül; ha élő frissítéssel
   közben szezon lesz, a link eltűnik, a szövegben már nincs rá utalás. */
.hero-status-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-bottom: -10px;
  width: fit-content;
  color: var(--cobalt-700);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-status-link svg { width: 15px; height: 15px; flex-shrink: 0; }
.hero-status-link:hover { color: var(--cobalt-800); }
.hero-status:not([data-status="out_of_season"]) .hero-status-link { display: none; }

@media (min-width: 1024px) {
  .hero-inner {
    /* PREVIEW: single column, media sits behind as full-bleed background.
       max-width/margin-inline/padding-inline are NOT overridden here — the
       base .hero-inner rule already sets them to var(--page-max) (1280px)
       + auto centering, same as every other section's .wrap, so the hero
       text lines up with the header logo and the rest of the page at any
       viewport width. */
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "status";
    align-items: start;
    row-gap: clamp(18px, 2vw, 28px);
  }

  .hero-copy { max-width: 34rem; }

  .hero-media img {
    object-position: 66% 58%;
  }

  .hero-title { font-size: clamp(2.6rem, 6.3vw, 5.5rem); }

  .hero-status {
    max-width: 36rem;
    padding: 16px 20px;
  }
}

/* Size the two fixed headline lines from the copy column, not the viewport,
   so the uppercase "JÉGRE FEL," / "SOPRON!" pair holds exactly two lines at
   every width. */
@supports (font-size: 1cqi) {
  .hero-copy { container-type: inline-size; }
  .hero-title { font-size: clamp(2.4rem, 15.4cqi, 7.5rem); }

  @media (min-width: 1024px) {
    .hero-title { font-size: clamp(2.6rem, 15.4cqi, 6.6rem); }
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-media img {
    object-position: 55% 55%;
  }
}

/* Mobilon a szöveg a kép világos pengéire esik: felül, a cím mögött a jég
   látszódjon, lefelé, a bevezető és a gomb alatt erősödik a sötétítés. */
@media (max-width: 767px) {
  .hero-media::after {
    background: linear-gradient(180deg, rgba(6, 20, 41, 0.38) 0%, rgba(6, 20, 41, 0.58) 34%, rgba(6, 20, 41, 0.74) 62%, rgba(6, 20, 41, 0.86) 100%);
  }
}

/* ----------  Quick anchor strip  ---------- */
.quicklinks {
  background: var(--surface-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.quicklinks-inner {
  list-style: none;
  /* Keep the .wrap centring: only the block margins are reset here. */
  margin-block: 0;
  margin-inline: auto;
  padding-inline: var(--page-pad);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quicklinks a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 6px;
  color: var(--paper);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color var(--transition);
}

.quicklinks a:hover,
.quicklinks a:focus-visible { color: var(--paper); background: var(--quicklinks-hover); }
.quicklinks a:focus-visible { outline-color: var(--paper); outline-offset: -3px; }

.ql-arrow {
  width: 15px;
  height: 15px;
  margin-left: auto;
  color: var(--quicklinks-meta);
  opacity: 0.9;
}

/* Hét elem: mobilon három oszlop, 44 px-es sorokkal, nyíl nélkül (3+3+1,
   az utolsó teljes sor); közepes szélességen 4+3, asztali gépen egy sorban
   mind a hét. */
@media (max-width: 639px) {
  .quicklinks-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quicklinks-inner li:last-child { grid-column: 1 / -1; }

  .quicklinks a {
    min-height: 44px;
    padding: 10px 6px;
  }

  .ql-arrow { display: none; }
}

@media (min-width: 640px) {
  .quicklinks-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .quicklinks-inner { grid-template-columns: repeat(7, minmax(0, 1fr)); }

  .quicklinks a {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 20px 16px;
    border-bottom: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 86px;
  }

  .quicklinks li:first-child a { border-left: 0; }

  .ql-arrow {
    margin-left: 0;
    margin-top: auto;
  }
}

/* ----------  Négy érv a hero alatt  ----------
   Csendes tényrács, nem kártyasor. Mondatkezdő
   betűs, mérsékelt címek, hogy ne versenyezzenek a szekciócímekkel; mobilon
   2×2, így a Nyitvatartás hamar sorra kerül. */
.pillars {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(24px, 3.4vw, 48px);
}

.pillars-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.pillar-title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.375rem);
  font-weight: 800;
  line-height: 1.15;
  text-wrap: balance;
  color: var(--cobalt-700);
}

.pillar-text {
  margin: 0;
  max-width: 34ch;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

@media (min-width: 1024px) {
  .pillars-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }

  .pillar {
    padding: 0 clamp(18px, 2vw, 32px);
    border-left: 1px solid var(--line);
  }

  .pillar:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .pillar-text { font-size: 0.9375rem; }
}

/* ----------  Editorial bands  ---------- */
.band {
  padding-block: var(--section-y);
}

.band-head {
  max-width: 62ch;
  margin-bottom: clamp(28px, 3.6vw, 52px);
}

.band-title {
  margin-bottom: 0.5em;
  max-width: 22ch;
  text-wrap: balance;
}

.band-lede {
  font-size: 1.0625rem;
  color: var(--text);
  max-width: 62ch;
  margin: 0;
}

/* ===== 01 Nyitvatartás ===== */
.band-hours { background: var(--band-hours); --muted: var(--muted-on-band); }

.hours-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 3.4vw, 52px);
  align-items: start;
}

.hours-side { display: grid; gap: 22px; align-content: start; }

.status-card,
.hero-status {
  /* Neutral by default: the off-season state must not read as "go". */
  --status-color: #6b7280;
  --status-ring: rgba(107, 114, 128, 0.22);
}

.status-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-card);
  background: var(--paper);
  border: 1px solid var(--line);
}

.status-card .status-dot { margin-top: 6px; }
.status-card .status-label { color: var(--ink-700); }
.status-card .status-text { color: var(--muted); }

/* Off-season notice, still driven by the live status code so the JS refresh
   keeps working. A warm ivory plate with a full hairline border and one
   small amber accent replaces the old thick left-border banner. */
.hero-status[data-status="out_of_season"] {
  --status-color: #b57b16;
  --status-ring: rgba(181, 123, 22, 0.16);
  background: var(--status-offseason-bg);
  border: 1px solid var(--status-offseason-border);
}

/* The 01 card carries the same amber dot, so both places read as one state. */
.status-card[data-status="out_of_season"] {
  --status-color: #b57b16;
  --status-ring: rgba(181, 123, 22, 0.16);
}

/* Navy type, normal casing: the seasonal pause is information, not a warning. */
.hero-status[data-status="out_of_season"] .status-label { color: var(--ink-700); }
.hero-status[data-status="out_of_season"] .status-text { color: var(--muted); }

.status-card[data-status="before_first_session"],
.hero-status[data-status="before_first_session"] {
  --status-color: var(--warn);
  --status-ring: rgba(168, 98, 10, 0.22);
}

.status-card[data-status="session_in_progress"],
.hero-status[data-status="session_in_progress"] {
  --status-color: var(--cobalt-700);
  --status-ring: rgba(7, 85, 173, 0.22);
}

.status-card[data-status="break_between_sessions"],
.hero-status[data-status="break_between_sessions"] {
  --status-color: var(--slate);
  --status-ring: rgba(74, 92, 122, 0.24);
}

.status-card[data-status="after_last_session"],
.hero-status[data-status="after_last_session"] {
  --status-color: var(--violet);
  --status-ring: rgba(91, 59, 189, 0.22);
}

.announcement {
  background: var(--ice-50);
  border: 1px solid var(--line);
  padding: 14px 18px;
  border-radius: 8px;
}

.announcement-label {
  margin: 0 0 4px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--warn);
}

.announcement-text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text);
}

.timetable {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.tt {
  width: 100%;
  border-collapse: collapse;
}

.tt caption { text-align: left; }

.tt thead th {
  padding: 13px 20px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: var(--ice-100);
  border-bottom: 1px solid var(--line);
}

.tt th[scope="row"],
.tt td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}

.tt tbody tr:last-child th,
.tt tbody tr:last-child td { border-bottom: 0; }

.tt th[scope="row"] { width: 32%; }

.tt-day {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink-700);
}

.tt-today {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--cobalt-600);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: 2px;
}

.tt-row.is-today {
  background: linear-gradient(90deg, rgba(7, 85, 173, 0.12), rgba(7, 85, 173, 0));
}

.tt-row.is-today .tt-day { color: var(--cobalt-700); }

.tt-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tt-slot {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--ice-50);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink-700);
  white-space: nowrap;
}

/* Szezonon kívül a heti rend csak tájékoztató: az időpontok halványak,
   hogy ne tűnjenek ma elérhetőnek. */
.tt.is-offseason .tt-slot {
  background: transparent;
  border-style: dashed;
  color: var(--muted);
  font-weight: 600;
}

.tt.is-offseason .tt-day { color: var(--muted); }

/* Szezonon kívül a Nyitvatartás oldalsávja: a teendő, nem az állapot. */
.season-follow {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 20px 22px 22px;
  border-radius: var(--radius-card);
  background: var(--paper);
  border: 1px solid var(--line-on-band);
}

.season-follow-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink-900);
}

.season-follow-text {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.tt-row.is-today .tt-slot {
  background: var(--ice-100);
  border-color: var(--tt-slot-today-border);
  color: var(--cobalt-800);
}

.tt-empty {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* A zárt napok minden szélességen egy összefoglaló sorba kerülnek (a mai
   nap akkor is látszik, ha zárt); a táblázat csak a közönségnapokat mutatja. */
.tt-closed-summary {
  margin: 0;
  padding: 14px 20px 16px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.9375rem;
}

.tt-row.is-closed:not(.is-today) { display: none; }

@media (max-width: 480px) {
  .tt-closed-summary { padding-inline: 14px; }
}

@media (min-width: 1024px) {
  .hours-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.6fr);
    gap: clamp(40px, 5vw, 80px);
  }
}

@media (max-width: 480px) {
  .tt thead th { padding-inline: 14px; }
  .tt th[scope="row"], .tt td { padding: 14px 14px; }
  .tt th[scope="row"] { width: 34%; }
  .tt-day { font-size: 1rem; }
  .tt-slot { font-size: 0.875rem; padding: 5px 8px; }
}

/* Nagyon keskeny kijelzőn a táblafej törhet, hogy ne vágódjon le. */
@media (max-width: 360px) {
  .tt thead th {
    letter-spacing: 0.04em;
    padding-inline: 10px;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  .tt th[scope="row"], .tt td { padding-inline: 10px; }
}

/* ===== 02 Árak ===== */
/* A distinct very pale blue field carries the tariff panels, so the switch
   from 01 is made by the field depth rather than by a heavy rule. */
.band-prices {
  background: var(--surface-prices-band);
  border-top: 1px solid var(--line);
  padding-block: clamp(72px, 8vw, 132px);
}

/* Ár-mátrix: egyetlen táblázat, kategória-csoportfejlécekkel — árlista-
   jellegű, dísztelen, a korábbi három kártyás doboz helyett. */
.price-table-wrap {
  overflow-x: auto;
  margin-top: clamp(28px, 3.6vw, 44px);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th,
.price-table td { vertical-align: top; }

.price-table .grp th {
  text-align: left;
  padding: clamp(26px, 3.4vw, 38px) 0 12px;
  border-bottom: 1.5px solid var(--ink-900);
}

.price-table tbody tr.grp:first-child th { padding-top: 0; }

.price-table .grp-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 18px;
}

.price-table .grp-label {
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.375rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--cobalt-700);
}

.price-table .grp-note {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
}

.price-table tbody th[scope="row"] {
  text-align: left;
  font-weight: 600;
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  line-height: 1.4;
  color: var(--text);
  padding: clamp(14px, 1.6vw, 18px) 18px clamp(14px, 1.6vw, 18px) 0;
  border-bottom: 1px solid var(--line-soft);
}

.price-table tbody td {
  text-align: right;
  padding: clamp(14px, 1.6vw, 18px) 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.125rem, 1rem + 0.55vw, 1.5rem);
  letter-spacing: -0.01em;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.price-table td .unit {
  display: block;
  margin-top: 3px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Ugyanaz a betű és méret, mint az árak, csak a szín jelzi, hogy ingyenes. */
.price-table td .is-free {
  font: inherit;
  color: var(--cobalt-700);
}

.tax-note {
  margin: clamp(20px, 2.4vw, 30px) 0 0;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: right;
}

/* Kompakt "Első látogatás" tények közvetlenül az árlista alatt: hajszálvonalas
   tényrács, mint a 01 és 03 szekció tényblokkjai — nem kártya. */
.first-visit {
  margin-top: clamp(34px, 4.4vw, 58px);
  padding-top: clamp(28px, 3.4vw, 42px);
  border-top: 1.5px solid var(--ink-900);
}

.first-visit-head {
  max-width: 62ch;
}

.first-visit-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.75rem);
  font-weight: 800;
  color: var(--ink-900);
}

.first-visit-lede {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.first-visit-list {
  list-style: none;
  margin: clamp(20px, 2.6vw, 30px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0 clamp(20px, 3vw, 40px);
}

.first-visit-list li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.first-visit-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--cobalt-700);
}

.first-visit-text {
  display: block;
  max-width: 46ch;
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.first-visit-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 6px;
  color: var(--cobalt-700);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.first-visit-more svg { width: 15px; height: 15px; flex-shrink: 0; }

.first-visit-more:hover { color: var(--cobalt-800); }

/* ===== 03 Iskolák ===== */
.band-institutions {
  background: var(--surface-institutions);
  color: var(--text);
}

.band-institutions .band-title { color: var(--ink-700); }
.band-institutions .band-lede { color: var(--text); }

.inst-media {
  position: relative;
  margin: 0 0 clamp(28px, 3.6vw, 52px);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--ice-200);
}

.inst-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 2;
  object-fit: cover;
  object-position: center 62%;
}

.inst-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 58px 18px 14px;
  background: linear-gradient(
    180deg,
    rgba(11, 37, 69, 0) 0%,
    rgba(11, 37, 69, 0.62) 46%,
    rgba(11, 37, 69, 0.94) 100%
  );
  color: var(--inst-caption-text);
  font-size: 0.8125rem;
}

/* A másodlagos iskolai illusztráció szándékosan kicsi: a gyakorlati
   tudnivalók vezetik a szakaszt, a kép csak kiegészítés. */
.inst-media--compact {
  margin: clamp(22px, 2.6vw, 34px) 0 0;
}

.inst-media--compact img {
  aspect-ratio: 16 / 10;
  object-position: center 56%;
}

.inst-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 3.4vw, 56px);
  align-items: start;
}

.inst-facts {
  list-style: none;
  padding: 0;
  margin: clamp(22px, 2.6vw, 34px) 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
}

.inst-facts li {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.fact-label {
  display: block;
  font-size: 0.875rem;
  color: var(--cobalt-700);
  font-weight: 700;
  margin-bottom: 5px;
}

.fact-value {
  display: block;
  color: var(--ink-700);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
}

.inst-detail { min-width: 0; }

.signup-fields {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(18px, 2.2vw, 26px);
}

.signup-fields h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink-700);
}

.signup-fields ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 20px;
}

.signup-fields li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--text);
  font-size: 0.9375rem;
}

.signup-fields .icon-check {
  width: 17px;
  height: 17px;
  color: var(--cobalt-600);
  transform: translateY(2px);
}

.inst-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 52ch;
}

.inst-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: clamp(20px, 2.6vw, 30px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.inst-ask {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--cobalt-700);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inst-ask svg { width: 15px; height: 15px; flex-shrink: 0; }
.inst-ask:hover { color: var(--cobalt-800); }

@media (min-width: 1024px) {
  .inst-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(40px, 5vw, 88px);
  }
}

@media (max-width: 640px) {
  .inst-media img {
    aspect-ratio: 4 / 3;
    object-position: center 58%;
  }
}

/* ===== 04 Tudnivalók ===== */
.band-rules { background: var(--paper); }

.rules-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 3.4vw, 56px);
  align-items: start;
}

.rule-list {
  list-style: none;
  padding: 0;
  margin: clamp(22px, 2.6vw, 34px) 0 clamp(22px, 2.6vw, 34px);
  display: grid;
  gap: 0;
}

.rule-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.rule-list li:first-child { border-top: 1px solid var(--line); }

.rule-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: var(--radius-card);
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--cobalt-600);
}

.rule-icon svg { width: 26px; height: 26px; }

.rule-text {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-700);
}

.rules-accordion {
  display: grid;
  gap: 12px;
}

.rules-details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 2px 22px;
}

.rules-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink-700);
  list-style: none;
}

.rules-details summary::-webkit-details-marker { display: none; }

.rules-chevron {
  width: 18px;
  height: 18px;
  color: var(--cobalt-600);
  transition: transform var(--transition);
}

.rules-details[open] .rules-chevron { transform: rotate(180deg); }

.rules-details[open] summary { border-bottom: 1px solid var(--line-soft); }

.rules-details ul {
  margin: 16px 0;
  padding-left: 1.1em;
}

.rules-details li {
  margin-bottom: 8px;
  color: var(--text);
}

.legal-docs {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(18px, 2.2vw, 26px);
}

.legal-docs h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--ink-700);
}

.legal-docs ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-docs li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}

.legal-docs li:last-child { border-bottom: 0; padding-bottom: 0; }

.icon-doc {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--muted);
}

.legal-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.legal-link {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  font-weight: 600;
  color: var(--ink-700);
  text-decoration: none;
}

a.legal-link:hover,
a.legal-link:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

/* Pending legal documents are rendered as plain, non-interactive text.
   The "(hamarosan)" note is a muted <small> so the string never looks
   like a link that simply does nothing. */
.legal-link .is-pending-note {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.legal-note {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

@media (min-width: 1024px) {
  .rules-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: clamp(40px, 5vw, 80px);
  }
}

/* ===== 05 Térkép ===== */
.band-map {
  background: var(--surface-navy);
  padding-bottom: 0;
}

.band-map .band-title { color: var(--paper); }
.band-map .map-address { color: var(--map-address); }
.band-map .btn-solid { background: var(--paper); border-color: var(--paper); color: var(--surface-navy); }
.band-map .btn-solid:hover { background: var(--ice-200); border-color: var(--ice-200); }
.band-map :focus-visible { outline-color: var(--paper); }

.map-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: clamp(24px, 3vw, 40px);
}

.map-head .band-title { margin-bottom: 0.35em; }

.map-address {
  margin: 0;
  color: var(--muted);
  font-size: 1.0625rem;
}

.map-embed {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  /* 16:9 at the full ~1280px wrap width works out to ~720px tall — taller
     than the original fixed 600px. Capping it here keeps the aspect-ratio
     behaviour on narrow/mobile screens (where 16:9 stays comfortably under
     this cap) without the band growing past its old height on desktop. */
  max-height: 440px;
  min-height: 300px;
  border: 0;
  position: relative;
  z-index: 1;
}

.map-frame {
  position: relative;
  background: var(--ice-100);
}

.map-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  color: var(--ink-700);
  font-weight: 600;
}

.map-placeholder svg { width: 20px; height: 20px; color: var(--cobalt-700); }

/* Matches the site's desktop breakpoint (1024px) used across the sheet.
   On mobile the 16 / 9 aspect ratio keeps the embed compact; on desktop
   we floor it so the map stays usable in the tall editorial column. */
@media (min-width: 1024px) {
  .map-embed { min-height: 380px; }
}

/* ===== 06 Kapcsolat ===== */
/* The section itself stays white so the blue form panel carries the eye. */
.band-contact { background: var(--paper); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 3.6vw, 56px);
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: clamp(22px, 2.6vw, 32px) 0 0;
  display: grid;
}

.contact-list li {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-bottom: 14px;
}

.contact-label {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-value {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink-700);
  text-decoration: none;
  overflow-wrap: anywhere;
}

a.contact-value { text-decoration: underline; text-decoration-thickness: 1px; }

/* Érintési célterület: önálló linkeknél legalább 44 px magas sáv, a szöveg
   mérete és a sorköz nem változik. A mondaton belüli linkek kivételek. */
a.contact-value,
a.legal-link,
a.footer-legal-item {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.contact-form {
  /* The one saturated surface in the editorial flow: the actual form. */
  background: var(--cobalt-600);
  border: 1px solid var(--cobalt-700);
  border-radius: var(--radius-card);
  padding: clamp(22px, 3vw, 38px);
  color: var(--paper);
}

.contact-form .form-row label { color: var(--paper); }
.contact-form .required { color: var(--form-required-tint); }
.contact-form .optional { color: rgba(233, 243, 255, 0.82); }

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1rem;
}

.form-row label {
  font-weight: 600;
  color: var(--ink-700);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color var(--transition);
}

.form-row input:hover,
.form-row select:hover,
.form-row textarea:hover { border-color: var(--form-field-hover-border); }

.form-row input:focus-visible,
.form-row select:focus-visible,
.form-row textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--cobalt-600);
}

/* Inside the blue panel the ring turns white and the input border takes the
   vivid blue, so the focus state stays readable on both surfaces. */
.contact-form .form-row input:focus-visible,
.contact-form .form-row select:focus-visible,
.contact-form .form-row textarea:focus-visible {
  outline-color: var(--paper);
  border-color: var(--cobalt-700);
}

.form-row input[aria-invalid="true"],
.form-row select[aria-invalid="true"],
.form-row textarea[aria-invalid="true"] {
  border-color: var(--danger);
  background: var(--form-error-tint);
}

.field-error {
  display: block;
  color: var(--danger);
  margin-top: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
}

.contact-form .field-error { color: var(--form-error-on-blue); }

/* A kék panelen a piros keret nem látszana: 2 px-es, világos hibakeret. */
.contact-form .form-row input[aria-invalid="true"],
.contact-form .form-row select[aria-invalid="true"],
.contact-form .form-row textarea[aria-invalid="true"] {
  border-width: 2px;
  border-color: var(--form-error-on-blue);
}

.form-notice {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--paper);
  font-size: 0.875rem;
  margin-bottom: 20px;
}

.form-notice a { color: var(--paper); }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Light, high-contrast submit on the blue panel. */
.contact-form .btn-solid {
  background: var(--paper);
  color: var(--cobalt-700);
  border-color: var(--paper);
}

.contact-form .btn:focus-visible { outline-color: var(--paper); }

.contact-form .btn-solid:hover {
  background: var(--ice-100);
  border-color: var(--ice-100);
  color: var(--cobalt-800);
}

.form-status {
  margin: 0 0 16px;
  font-weight: 600;
  color: var(--paper);
  min-height: 1.2em;
}

.form-status:empty { display: none; }
.form-status.is-error { color: var(--form-error-on-blue); }
.form-status.is-info { color: var(--form-info-on-blue); }

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(40px, 5vw, 80px);
  }

  .contact-info { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ===== 07 Gyakori kérdések ===== */
/* The FAQ band is the last section before the footer, so it takes the pale ice
   field instead of white: that keeps it distinct from the white contact band
   above and frames the question list as one quiet panel. */
.band-faq {
  background: var(--band-hours);
  --muted: var(--muted-on-band);
  border-top: 1px solid var(--line);
  padding-block: clamp(64px, 7.4vw, 124px);
}

.faq-panel {
  /* Fills the band's normal .wrap width (same as every other section) —
     no extra cap here, the cards below carry their own visual edges. */
}

.faq-group + .faq-group {
  margin-top: clamp(34px, 4.2vw, 56px);
}

.faq-group-title {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--ink-900);
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.3125rem);
  font-weight: 800;
  color: var(--cobalt-700);
}

/* Egy oszlop, kártyánként egy kérdés: nyitáskor csak az alatta lévők
   csúsznak lejjebb, semmi nem ugrik át másik oszlopba. Széles kijelzőn a
   témacím balra kerül, a kérdések jobbra, olvasható sorhosszal. */
.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

@media (min-width: 1024px) {
  .faq-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
    gap: clamp(32px, 4vw, 64px);
    align-items: start;
  }

  .faq-group-title {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

  .faq-list { max-width: 78ch; }
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line-on-band);
  border-radius: var(--radius-card);
  padding: 0 clamp(18px, 2.4vw, 28px);
}

.faq-details summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: clamp(18px, 1.9vw, 22px) 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-800);
  transition: color var(--transition);
}

.faq-details summary::-webkit-details-marker { display: none; }

.faq-details summary:hover { color: var(--cobalt-800); }

.faq-question { min-width: 0; }

.faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-left: auto;
  color: var(--cobalt-700);
  transition: transform var(--transition);
}

.faq-details[open] .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  margin: 0;
  padding: 0 0 clamp(18px, 2vw, 24px);
  max-width: 68ch;
  color: var(--text);
}

.faq-link {
  color: var(--cobalt-700);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}

.faq-link:hover {
  color: var(--cobalt-800);
}

/* ----------  Footer  ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--footer-top) 0%, var(--ink-800) 58%, var(--footer-bottom) 100%);
  color: var(--footer-text);
}

.footer-invite {
  display: grid;
  gap: 26px;
  padding: clamp(46px, 6vw, 78px) 0 clamp(34px, 4vw, 52px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-invite h2 {
  font-size: clamp(1.85rem, 1.15rem + 2.3vw, 3rem);
  line-height: 1.06;
  color: var(--paper);
  margin: 0 0 14px;
}

.footer-invite h2 em {
  font-style: normal;
  color: var(--footer-emphasis);
}

.footer-invite-copy p {
  margin: 0;
  color: var(--footer-text-soft);
  max-width: 52ch;
}

.footer-invite-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: min(100%, 260px);
}

.footer-quiet-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 4px;
  color: var(--footer-text);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
}

.footer-quiet-link svg { width: 15px; height: 15px; }
.footer-quiet-link:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }

.footer-brandrow {
  display: grid;
  gap: 22px;
  padding: clamp(28px, 3.6vw, 42px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-tagline {
  margin: 0;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--footer-text-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
}


.contact-social { display: inline-flex; flex-wrap: wrap; gap: 6px 16px; }

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-btn);
  color: var(--footer-link);
  transition: background-color var(--transition), color var(--transition);
}

.footer-social a:hover { background: rgba(255, 255, 255, 0.1); color: var(--paper); }

.footer-social svg { width: 18px; height: 18px; }

.footer-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 16px;
  padding: clamp(30px, 4vw, 50px) 0;
}

/* Egyforma magas panelek: a rács kinyújtja őket, a törzs (flex: 1) elnyeli a
   különbséget, az alsó műveletsor elválasztó vonala mindháromban egy vonalba esik. */
.footer-col {
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-card);
}

.footer-col h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--paper);
}

.footer-col h2 svg { width: 17px; height: 17px; color: var(--footer-accent); }

.footer-col-body { flex: 1 1 auto; }

.footer-col-action {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-col a {
  color: var(--footer-link);
  font-size: 0.9375rem;
  text-decoration: none;
}

.footer-col a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.footer-col address {
  margin: 0 0 12px;
  color: var(--footer-text-soft);
  font-size: 0.9375rem;
  font-style: normal;
  line-height: 1.7;
}

.footer-facility {
  display: block;
  margin-top: 6px;
  color: var(--footer-muted-soft);
  font-size: 0.875rem;
}

.footer-geo {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 0 0 14px;
}

.footer-geo-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--footer-accent);
}

.footer-geo-value {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--footer-value);
}

.footer-hours { margin: 0; }
.footer-hours div + div { margin-top: 12px; }

.footer-hours-note {
  margin: 0 0 12px;
  color: var(--footer-muted-soft);
  font-size: 0.875rem;
  line-height: 1.5;
}

.footer-hours dt {
  margin-bottom: 3px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--footer-accent);
}

.footer-hours dd {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--footer-value);
}

.footer-hours-closed {
  margin: 14px 0 0;
  color: var(--footer-muted-soft);
  font-size: 0.875rem;
  line-height: 1.5;
}

.footer-col .footer-strong-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--paper);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-strong-link svg { width: 15px; height: 15px; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 16px;
  padding: 12px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--footer-muted);
  font-size: 0.875rem;
}

.footer-copy { margin-right: auto; }

.footer-legal-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  color: var(--footer-muted);
  text-decoration: none;
}

a.footer-legal-item { padding-inline: 6px; }

a.footer-legal-item:hover,
a.footer-legal-item:focus-visible { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }

.footer-legal .is-pending-note {
  color: var(--footer-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.site-footer :focus-visible {
  outline: 3px solid var(--footer-focus-ring);
  outline-offset: 4px;
}

/* Mobilon tömörebb lábléc: a Látogatás panelben csak a cím és a menetrend link marad. */
@media (max-width: 699px) {
  .footer-invite { padding: 40px 0 28px; gap: 20px; }
  .footer-brandrow { padding: 22px 0; gap: 16px; }
  .footer-columns { gap: 12px; padding: 24px 0; }
  .footer-col { padding: 18px 20px; }
  .footer-col-action { margin-top: 12px; padding-top: 10px; }
  .footer-col--hours .footer-col-body { display: none; }
  .footer-col--hours .footer-col-action { margin-top: 0; padding-top: 0; border-top: 0; }
  .footer-col--hours h2 { margin-bottom: 4px; }
}

@media (min-width: 700px) {
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Tableten a Hasznos panel teljes szélességű sor, a linkek négy oszlopban. */
  .footer-col--links { grid-column: 1 / -1; }
  .footer-col--links .footer-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .footer-invite {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 48px;
  }

  .footer-brandrow {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 40px;
  }
}

@media (min-width: 1000px) {
  .footer-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding-bottom: clamp(34px, 4vw, 54px);
  }

  .footer-col--links { grid-column: auto; }
  .footer-col--links .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .footer-brand { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-tagline { border-left: 0; padding-left: 0; }
}

/* ----------  Támogatók (a GYIK és a lábléc között)  ----------
   A logók nagy része fehér hátterű JPG, ezért a sáv szándékosan tiszta fehér,
   sötét témában sem vált át --paper-re. */
.band-partners {
  background: #ffffff;
  border-top: 1px solid var(--line);
  padding-block: clamp(22px, 2.6vw, 34px);
}

.partners-inner {
  display: grid;
  gap: clamp(22px, 2.4vw, 32px);
}

.partners-title {
  margin: 0;
  color: #52678c;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}

.partners-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 22px clamp(24px, 3.2vw, 52px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner { display: flex; align-items: center; justify-content: center; }

.partner img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 124px);
  max-height: 50px;
}

@media (max-width: 560px) {
  .partner { flex: 0 0 calc((100% - 2 * 24px) / 3); }
  .partner img { max-height: 42px; }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
}

html.reduced-motion { scroll-behavior: auto; }

/* ----------  Small viewport safety  ---------- */
@media (max-width: 400px) {
  .btn {
    padding: 13px 16px;
    font-size: 0.9375rem;
    min-height: 50px;
    gap: 14px;
  }

  .hero-actions .btn { width: 100%; }
  .hero-status { padding: 13px 15px; }
}

/* ----------  Mobile backdrop-filter cost  ----------
   The frosted-glass header and hero caption are the two most expensive
   compositing surfaces on the page. On phones we keep the effect but halve
   the blur radius, which cuts the GPU cost without falling back to a flat
   opaque surface. */
@media (max-width: 640px) {
  .site-header {
    -webkit-backdrop-filter: saturate(150%) blur(5px);
    backdrop-filter: saturate(150%) blur(5px);
  }

  .site-header.is-scrolled {
    -webkit-backdrop-filter: saturate(160%) blur(5px);
    backdrop-filter: saturate(160%) blur(5px);
  }

}

/* ----------  Árak: táblázat és "Első látogatás?" egymás mellett  ----------
   Széles kijelzőn a teljes szélességű táblázatban a tétel neve és az ára
   túl messze került egymástól; így a táblázat keskenyebb, mellette ragadós
   oszlopban az első látogatás tudnivalói. */
@media (min-width: 1024px) {
  .price-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: clamp(40px, 5vw, 72px);
    align-items: start;
  }

  .price-layout .tax-note { text-align: left; }

  .price-layout .first-visit {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    margin-top: clamp(28px, 3.6vw, 44px);
    padding: 24px 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--ice-100);
  }

  .price-layout .first-visit-list { grid-template-columns: minmax(0, 1fr); }
}

/* ----------  Árak: "Jó tudni a jegyekről"  ---------- */
.ticket-rules {
  margin: clamp(28px, 3.6vw, 44px) 0 0;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--ice-100);
}

.ticket-rules-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink-900);
}

.ticket-rules ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.ticket-rules li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text);
}

.ticket-rules li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cobalt-700);
}

.ticket-rules-more {
  margin: 12px 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.ticket-rules-more a { color: var(--cobalt-700); }

/* Asztali gépen a jegyszabályok két oszlopban, így a doboz fele olyan magas. */
@media (min-width: 900px) {
  .ticket-rules ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(28px, 4vw, 56px);
  }
}
