:root {
  --blue-950: #082a4b;
  --blue-800: #0b4f83;
  --blue-650: #0875b8;
  --blue-100: #e7f4fb;
  --yellow: #ffd83d;
  --yellow-soft: #fff5ba;
  --green: #3ea76f;
  --red: #e95d4d;
  --ink: #183247;
  --muted: #607587;
  --paper: #fffef8;
  --white: #fff;
  --line: #dce8ef;
  --shadow: 0 18px 55px rgba(8, 42, 75, .12);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 17px/1.7 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 8% 18%, rgba(255,216,61,.18), transparent 24rem),
    radial-gradient(circle at 95% 58%, rgba(8,117,184,.09), transparent 28rem),
    var(--paper);
}
img { display: block; max-width: 100%; }
a { color: var(--blue-650); text-underline-offset: .2em; }
a:hover { color: var(--blue-950); }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; border-radius: 999px; background: var(--blue-950); color: white; }
.skip-link:focus { top: 1rem; }
.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2rem), 850px); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .7rem; color: var(--blue-650); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { width: 1.7rem; height: 3px; border-radius: 10px; content: ""; background: var(--yellow); }
h1, h2, h3, h4 { margin: 0 0 .7em; color: var(--blue-950); font-family: ui-rounded, "Trebuchet MS", system-ui, sans-serif; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.55rem, 6vw, 5.25rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
p { margin: 0 0 1.15rem; }
.lead { max-width: 720px; color: #3f596b; font-size: clamp(1.08rem, 2vw, 1.3rem); }

.topbar { background: var(--blue-950); color: #dbeef8; font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 36px; }
.topbar a { color: white; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(8,42,75,.08); background: rgba(255,254,248,.9); box-shadow: 0 8px 25px rgba(8,42,75,.04); backdrop-filter: blur(16px); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 2rem; }
.brand img { width: min(310px, 48vw); height: auto; }
.site-nav { display: flex; align-items: center; gap: .15rem; }
.site-nav a, .nav-drop summary { padding: .65rem .72rem; border-radius: 12px; color: var(--blue-950); font-size: .93rem; font-weight: 760; text-decoration: none; cursor: pointer; list-style: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"], .nav-drop[open] summary { background: var(--blue-100); color: var(--blue-800); }
.nav-drop { position: relative; }
.nav-drop summary::-webkit-details-marker { display: none; }
.nav-drop summary::after { content: "  ▾"; font-size: .72em; }
.nav-menu { position: absolute; top: calc(100% + .8rem); left: 0; display: grid; min-width: 280px; padding: .55rem; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); }
.nav-menu a { padding: .55rem .75rem; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 14px; color: white; background: var(--blue-800); font-size: 1.3rem; cursor: pointer; }

.hero { position: relative; overflow: hidden; min-height: 690px; display: grid; align-items: center; color: white; background: var(--blue-950); }
.hero::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(5,34,61,.91) 0%, rgba(5,34,61,.68) 48%, rgba(5,34,61,.1) 100%); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: heroZoom 16s ease-in-out infinite alternate; }
.hero-content { position: relative; z-index: 2; padding-block: 7rem; }
.hero h1 { max-width: 820px; color: white; }
.hero .lead { max-width: 680px; color: #edf7fc; }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .7rem 1.25rem; border: 2px solid transparent; border-radius: 999px; background: var(--yellow); color: var(--blue-950); font-weight: 850; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { color: var(--blue-950); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.button.secondary { border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.08); color: white; }

.quick-strip { position: relative; z-index: 4; margin-top: -66px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 26px; overflow: hidden; background: white; box-shadow: var(--shadow); }
.quick-card { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: center; padding: 1.3rem 1.4rem; border-right: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.quick-card:last-child { border-right: 0; }
.quick-card:hover { background: #f6fbfe; }
.quick-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: var(--blue-100); font-size: 1.45rem; }
.quick-card small { display: block; color: var(--muted); }

.section { padding-block: clamp(4rem, 8vw, 7.5rem); }
.section.soft { background: linear-gradient(180deg, rgba(231,244,251,.72), rgba(231,244,251,.25)); }
.section-heading { margin-bottom: 2.5rem; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.media-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.media-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.media-card::after { position: absolute; right: 1rem; bottom: 1rem; width: 82px; height: 82px; border-radius: 50%; content: ""; border: 13px solid var(--yellow); opacity: .9; }
.check-list { display: grid; gap: .7rem; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before { position: absolute; left: 0; top: .13rem; display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; content: "✓"; background: var(--green); color: white; font-size: .78rem; font-weight: 900; }

.sport-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .9rem; }
.sport-card { position: relative; min-height: 260px; border-radius: 22px; overflow: hidden; background: var(--blue-800); box-shadow: 0 10px 30px rgba(8,42,75,.12); }
.sport-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.sport-card::after { position: absolute; inset: 40% 0 0; content: ""; background: linear-gradient(transparent, rgba(5,34,61,.9)); }
.sport-card h3 { position: absolute; left: 1rem; right: 1rem; bottom: .2rem; z-index: 1; color: white; font-size: 1.2rem; }
.sport-card:hover img { transform: scale(1.07); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card { padding: 1.55rem; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 12px 35px rgba(8,42,75,.07); }
.card p:last-child { margin-bottom: 0; }
.event-card { padding: 0; overflow: hidden; }
.event-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.event-body { padding: 1.35rem; }
.date-chip { display: inline-block; margin-bottom: .7rem; padding: .28rem .65rem; border-radius: 999px; background: var(--yellow-soft); color: var(--blue-950); font-size: .85rem; font-weight: 800; }

.page-hero { padding-block: clamp(4rem, 8vw, 7rem); color: white; background: linear-gradient(120deg, var(--blue-950), var(--blue-650)); overflow: hidden; }
.page-hero .container { position: relative; }
.page-hero h1 { color: white; font-size: clamp(2.7rem, 6vw, 4.9rem); }
.page-hero .lead { color: #e6f5fc; }
.page-hero .bubble { position: absolute; border-radius: 50%; background: rgba(255,216,61,.22); }
.bubble.one { right: 7%; top: -5rem; width: 160px; height: 160px; }
.bubble.two { right: 24%; bottom: -8rem; width: 100px; height: 100px; background: rgba(255,255,255,.12); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; color: #d8eef9; font-size: .88rem; }
.breadcrumb a { color: white; }

.content { padding-block: clamp(3rem, 7vw, 6rem); }
.prose { width: min(100%, 850px); }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.prose h3 { margin-top: 1.8em; }
.prose blockquote { margin: 2rem 0; padding: 1.4rem 1.5rem; border-left: 5px solid var(--yellow); border-radius: 0 18px 18px 0; background: var(--blue-100); color: var(--blue-950); font-size: 1.16rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; list-style: none; }
.pill-list li { padding: .5rem .8rem; border-radius: 999px; background: var(--blue-100); color: var(--blue-950); font-weight: 700; }

.table-wrap { margin-block: 2rem; overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 10px 30px rgba(8,42,75,.07); }
table { width: 100%; border-collapse: collapse; min-width: 660px; }
th, td { padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--blue-950); color: white; font-size: .92rem; }
tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #f6fbfe; }

.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.person { padding: 1.1rem; border: 1px solid var(--line); border-radius: 18px; background: white; }
.person strong { display: block; color: var(--blue-950); }
.person span { color: var(--muted); font-size: .92rem; }
.steps { display: grid; gap: 1rem; counter-reset: step; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 22px; background: white; }
.step::before { counter-increment: step; content: "0" counter(step); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--yellow); color: var(--blue-950); font-weight: 900; }
.step h3 { margin-bottom: .35rem; }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: .8rem; }
.gallery a { grid-column: span 4; border-radius: 20px; overflow: hidden; background: var(--blue-100); }
.gallery a:nth-child(1), .gallery a:nth-child(6) { grid-column: span 8; }
.gallery img { width: 100%; height: 290px; object-fit: cover; transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.04); }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.contact-card { min-height: 190px; padding: 1.5rem; border-radius: 22px; background: white; border: 1px solid var(--line); }
.contact-card .icon { font-size: 2rem; }
.map-link { display: grid; min-height: 350px; margin-top: 1rem; place-items: center; padding: 2rem; border-radius: 26px; text-align: center; text-decoration: none; background: linear-gradient(135deg, var(--blue-100), #d3f1e0); }

.download-list { display: grid; gap: .9rem; padding: 0; list-style: none; }
.download-list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: 18px; background: white; color: var(--blue-950); font-weight: 800; text-decoration: none; }
.download-list a::after { content: "Letöltés ↓"; color: var(--blue-650); font-size: .85rem; }

.site-footer { margin-top: 3rem; padding: 4rem 0 1.4rem; color: #cfe2ef; background: var(--blue-950); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 3rem; }
.site-footer h3 { color: white; font-size: 1.1rem; }
.site-footer a { color: #edf8fd; text-decoration-color: rgba(255,255,255,.35); }
.site-footer ul { padding: 0; list-style: none; }
.footer-brand { max-width: 280px; margin-bottom: 1rem; filter: drop-shadow(0 8px 18px rgba(0,0,0,.2)); }
.copyright { margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.14); color: #9fc0d2; font-size: .84rem; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.06); } }

@media (max-width: 1050px) {
  .menu-toggle { display: grid; place-items: center; }
  .site-nav { position: fixed; inset: 125px 1rem auto; display: none; max-height: calc(100vh - 150px); overflow: auto; padding: 1rem; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow); }
  .site-nav.is-open { display: grid; }
  .site-nav a, .nav-drop summary { padding: .8rem; }
  .nav-menu { position: static; margin: .3rem 0 .5rem; min-width: 0; box-shadow: none; }
  .sport-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .topbar .container span:first-child { display: none; }
  .nav-wrap { min-height: 78px; }
  .hero { min-height: 640px; }
  .hero::after { background: linear-gradient(90deg, rgba(5,34,61,.92), rgba(5,34,61,.62)); }
  .quick-strip { margin-top: -35px; }
  .quick-grid, .split, .cards, .people-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .quick-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-card:last-child { border-bottom: 0; }
  .sport-grid { grid-template-columns: repeat(2, 1fr); }
  .sport-card { min-height: 240px; }
  .cards { gap: .85rem; }
  .gallery a, .gallery a:nth-child(1), .gallery a:nth-child(6) { grid-column: span 12; }
  .gallery img { height: 250px; }
  .footer-grid { gap: 1.5rem; }
}
@media (max-width: 430px) {
  .brand img { width: 225px; }
  .sport-grid { grid-template-columns: 1fr; }
  .sport-card { min-height: 290px; }
  .step { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

