/*! Aeroklub Spišská Nová Ves – www.lzsv.sk | © 2026 Bc. Ján Šabľa | Použitie mimo aeroklubu len so súhlasom autora */

/* =========================================================
   1. Základ: farby, písmo, rozostupy
   ========================================================= */
:root {
  --blue: #0A74BD;
  --blue-dark: #0A5F9E;
  --navy: #06304F;
  --ink: #0E1B2A;
  --pale: #F1F6FA;
  --muted: #46566A;
  --line: rgba(14, 27, 42, .15);
  --yellow: #FFE600;
  --on-navy: #C3D6E6;
  --pad: clamp(20px, 5vw, 80px);
  --sec: clamp(72px, 7vw, 88px);         /* zvislý odstup sekcií na podstránkach */
  --radius: 18px;
  --radius-sm: 14px;
  --shadow: 0 1px 0 rgba(14, 27, 42, .06), 0 14px 34px -20px rgba(14, 27, 42, .4);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
.page-index { --sec: clamp(72px, 9vw, 120px); }  /* úvodná stránka má viac vzduchu */
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-dark); }
a:hover { color: var(--navy); }
h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 800; }
h3 { line-height: 1.25; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Pomocné triedy */
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { color: var(--blue); }
.lead { color: var(--muted); max-width: 36em; }
.small { font-size: 14px; color: var(--muted); }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.strong { font-weight: 700; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: #fff; padding: 10px 14px; }
.skip:focus { left: 8px; }
.link-strong { font-weight: 700; color: var(--blue); }
.more-link { margin-top: 26px; }
.more-link--tight { margin-top: 8px; }
.eyebrow--yellow { color: var(--yellow); }
.stack > * + * { margin-top: 14px; }

/* =========================================================
   2. Tlačidlá a štítky
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border: 0; border-radius: 999px;
  background: var(--yellow); color: var(--ink); font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer; transition: transform .15s;
}
.btn:hover { color: var(--ink); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn--ghost:hover { color: inherit; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* =========================================================
   3. Hlavička a menu
   ========================================================= */
.hd {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 20px;
  padding: 14px var(--pad); background: #fff; color: var(--ink);
  box-shadow: 0 1px 0 rgba(14, 27, 42, .12);
  transition: background .25s, color .25s, box-shadow .25s;
}
.hd--over { position: fixed; left: 0; right: 0; background: transparent; color: #fff; box-shadow: none; }
.hd--over.is-solid { background: #fff; color: var(--ink); box-shadow: 0 1px 0 rgba(14, 27, 42, .12); }
.hd a { color: inherit; }
.logo { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; font-weight: 800; letter-spacing: .04em; line-height: 1.1; }
.logo img { width: 52px; height: 48px; object-fit: contain; }
.logo small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; opacity: .85; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
.nav a { padding: 10px 0; text-decoration: none; }
.nav a:not(.btn):hover, .nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav .btn { padding: 10px 18px; }
.nav__lang { font-family: var(--mono); font-size: 13px; font-weight: 700; }
.cam-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-left: 14px; border-radius: 50%;
  color: inherit; text-decoration: none; box-shadow: inset 0 0 0 2px currentColor;
  transition: background .15s, color .15s;
}
.cam-btn:hover, .cam-btn:focus-visible { background: var(--yellow); color: var(--ink); box-shadow: none; }
.burger { display: none; padding: 12px 8px; border: 0; background: none; color: inherit; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { position: relative; display: block; width: 26px; height: 2px; background: currentColor; transition: .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -8px; }
.burger span::after { top: 8px; }

@media (min-width: 1051px) and (max-width: 1250px) { .nav { gap: 18px; } }
@media (max-width: 1050px) {
  .burger { display: block; }
  .cam-btn { margin-left: auto; margin-right: 8px; box-shadow: none; }
  .logo { margin-right: 0; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px;
    padding: 96px var(--pad) 40px; overflow-y: auto;
    background: var(--navy); color: #fff; font-size: 28px; font-weight: 800;
    transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s;
  }
  .nav a { padding: 8px 0; }
  .nav .btn { margin-top: 22px; padding: 14px 24px; font-size: 17px; }
  .nav__lang { margin-top: 12px; font-size: 15px; }
  .hd.is-open .nav { transform: none; visibility: visible; }
  .hd.is-open, .hd.is-open.is-solid { background: transparent; color: #fff; box-shadow: none; }
  .hd.is-open .logo, .hd.is-open .burger { position: relative; z-index: 2; }
  .hd.is-open .cam-btn { visibility: hidden; }
  .hd.is-open .burger span { background: transparent; }
  .hd.is-open .burger span::before { transform: translateY(8px) rotate(45deg); }
  .hd.is-open .burger span::after { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 560px) { .logo span { font-size: 14px; } .logo img { width: 44px; height: 40px; } }

/* =========================================================
   4. Úvodné bloky (hero)
   ========================================================= */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100svh; padding: 150px var(--pad) 48px; overflow: hidden; color: #fff; }
.hero__bg, .hero__bg img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,48,79,.6) 0%, rgba(6,48,79,.25) 30%, rgba(6,48,79,.85) 100%); }
.hero h1 { margin: 14px 0 18px; font-size: clamp(48px, 8vw, 104px); line-height: .98; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero p { max-width: 32em; font-size: clamp(18px, 2vw, 21px); }
.hero .btn-row { margin-top: 30px; }
.stats { display: flex; flex-wrap: wrap; gap: 20px 56px; margin: 56px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.35); }
.stats b { display: block; font-size: 40px; line-height: 1; font-weight: 800; }
.stats span { font-size: 14px; opacity: .88; }
@media (max-width: 560px) {
  .hero::before { background: linear-gradient(180deg, rgba(6,48,79,.65) 0%, rgba(6,48,79,.55) 40%, rgba(6,48,79,.9) 100%); }
  .stats { gap: 18px 32px; } .stats b { font-size: 32px; }
}

.page-hero { padding: 64px var(--pad); background: var(--blue); color: #fff; }
.page-hero h1 { margin: 12px 0 14px; font-size: clamp(40px, 5.5vw, 68px); line-height: 1.03; }
.page-hero p { max-width: 34em; font-size: 20px; }
.page-hero .tag { margin-bottom: 6px; }
.page-hero--full { display: flex; flex-direction: column; justify-content: center; min-height: 60vh; }
.page-hero .btn-row { margin-top: 28px; }

.split-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: clamp(56px, 6vw, 80px) var(--pad); background: var(--blue); color: #fff; }
.split-hero h1 { margin: 18px 0 16px; font-size: clamp(42px, 5.5vw, 72px); line-height: 1.03; }
.split-hero p { max-width: 30em; font-size: 20px; }
.split-hero .btn-row { margin-top: 26px; }
.split-hero a:not(.btn) { color: #fff; font-weight: 600; }
.split-hero .split-hero__note { margin-top: 18px; font-size: 15px; }
.split-hero__img img { width: 100%; height: var(--img-h, 360px); object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-hero .btn-row { flex-direction: column; align-items: flex-start; gap: 22px; }
@media (max-width: 900px) { .split-hero { grid-template-columns: 1fr; } }

.facts-strip { display: flex; flex-wrap: wrap; gap: 16px 48px; padding: 20px var(--pad); background: var(--yellow); }
.facts-strip div { display: flex; flex-direction: column; line-height: 1.25; }
.facts-strip span { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.facts-strip b { font-size: 22px; font-weight: 800; }

/* =========================================================
   5. Sekcie a rozloženie
   ========================================================= */
.sec { padding: var(--sec) var(--pad); }
.sec--pale { background: var(--pale); }
.sec--navy { background: var(--navy); color: var(--on-navy); }
.sec--navy h2, .sec--navy h3 { color: #fff; }
.sec--yellow { background: var(--yellow); }
.sec--blue { background: var(--blue); color: #fff; }
.sec--ink { background: var(--ink); color: #fff; }
.sec--band { padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(48px, 6vw, 72px); }
.sec--gap-top { margin-top: var(--sec); }
.sec--rule { border-top: 2px solid var(--ink); }
.sec--tight { padding-top: 56px; padding-bottom: 56px; }
.sec--flush-top { padding-top: 0; }
.sec-head { margin-bottom: 40px; }
.sec-head h2, .h2 { margin: 10px 0 18px; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.05; }
.sec-head h2:first-child { margin-top: 0; }
.sec-head > .lead + .lead { margin-top: 12px; }
.sec-head > p:not(.lead) { margin-top: 12px; }
.sec-head--sm .h2 { font-size: clamp(34px, 3.6vw, 44px); }
.sec-head--small { margin-bottom: 24px; }
.sec-head--small .h2 { font-size: 28px; }
.h2--sm { font-size: clamp(34px, 3.4vw, 40px); }
.h3 { font-size: 28px; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
.split > img, .split picture img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.side-head { display: grid; grid-template-columns: minmax(240px, 1fr) 1.6fr; gap: 32px 48px; align-items: start; }
.side-head .h2 { margin-top: 0; }
.stack-links { display: flex; flex-wrap: wrap; gap: 18px 24px; align-items: center; margin-top: 26px; }
.sec--navy .stack-links a:not(.btn), .sec--navy .lead { color: #fff; }
.sec--navy .lead { color: var(--on-navy); }
.source { margin-top: 18px; }
.sec--navy .source { color: var(--on-navy); }
.row-between { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.quote { margin-top: 28px; padding-left: 20px; border-left: 4px solid var(--yellow); font-size: 20px; font-weight: 600; }
@media (max-width: 1000px) { .split, .side-head { grid-template-columns: 1fr; } }

/* Pás s výzvou */
.band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.band h2 { margin: 0 0 8px; font-size: clamp(30px, 4vw, 44px); }
.band .h2 { margin: 10px 0 18px; font-size: clamp(34px, 4.5vw, 52px); }
.band .h2:first-child { margin-top: 0; }
.band p { max-width: 36em; }
.sec--band .band > div:first-child { flex: 1 1 360px; }
.band__links { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
.band__links a:not(.btn) { font-weight: 700; }
.sec--navy .band__links a:not(.btn) { color: #fff; }
.sec--yellow .band__links a:not(.btn) { color: var(--ink); }

/* =========================================================
   6. Komponenty
   ========================================================= */
/* Karty s obrázkom */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: var(--shadow); text-decoration: none; transition: transform .2s; }
a.card:hover { color: var(--ink); transform: translateY(-4px); }
.card > img, .card picture img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 20px 22px 24px; }
.card__body h3 { font-size: 22px; line-height: 1.2; }
.card__body p { flex: 1; color: var(--muted); font-size: 15px; }
.card__note { color: var(--muted); font-size: 13px; }
.card__more { margin-top: 8px; color: var(--blue); font-weight: 700; }
.card__badge { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.92); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.card__media { position: relative; }
@media (max-width: 1000px) { .cards, .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards, .cards--3 { grid-template-columns: 1fr; } }

/* Posuvný pás (lietadlá) */
.strip { display: flex; gap: 18px; margin: 40px calc(var(--pad) * -1) 0; padding: 6px var(--pad) 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.strip figure { flex: 0 0 min(300px, 78vw); margin: 0; scroll-snap-align: start; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.strip figcaption { padding-top: 10px; font-weight: 700; line-height: 1.3; }
.strip figcaption .mono { display: block; margin-bottom: 4px; color: var(--blue); font-size: 11px; font-weight: 500; }
.strip figcaption .small { display: block; margin-top: 4px; font-weight: 500; }
.strip-nav { display: flex; gap: 10px; }
.strip-nav button { width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--pale); color: var(--ink); font-size: 20px; cursor: pointer; }
.strip-nav button:hover { background: var(--yellow); }

/* Modrý box Členstvo */
.join { margin: 0 var(--pad); padding: clamp(40px, 6vw, 72px); border-radius: 24px; background: var(--blue); color: #fff; }
.join .lead { color: #E3F0FA; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; padding: 0; list-style: none; }
.chips li { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 15px; font-weight: 600; }
@media (max-width: 560px) { .join { margin: 0; border-radius: 0; } }

/* Galéria: fotky sa ukladajú do riadkov, široké fotky zaberajú viac miesta */
.gallery { display: flex; flex-wrap: wrap; gap: 16px; }
.gallery figure { flex: 1 1 280px; min-width: 0; margin: 0; }
.gallery figure.is-wide { flex: 2 1 420px; }
.gallery img { width: 100%; height: var(--h, 300px); object-fit: cover; border-radius: var(--radius-sm); }
.gallery--after { margin-top: 40px; }
.gallery-caption { font-family: var(--mono); font-size: 13px; color: var(--blue-dark); }
.gallery-title { margin: 56px 0 24px; }

/* Číslovaný zoznam podmienok */
.numbered { margin: 0; padding: 0; list-style: none; border-bottom: 2px solid var(--ink); }
.numbered li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 18px 0; border-top: 2px solid var(--ink); }
.numbered li > span:first-child { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--blue); padding-top: 2px; }
.numbered--on-blue { margin-top: 48px; }
.numbered--on-blue li > span:first-child { color: var(--yellow); }

/* Kroky (tmavé) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin: 40px 0 0; padding: 0; list-style: none; }
.steps li { display: flex; flex-direction: column; gap: 8px; padding-left: 20px; border-left: 3px solid var(--yellow); }
.steps img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 8px; }
.steps .mono { color: var(--yellow); }
.steps h3 { font-size: 24px; font-weight: 700; }
.sec--navy .steps p { color: var(--on-navy); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Tabuľka údajov (term – text) */
.dl { margin: 0; border-bottom: 2px solid var(--ink); }
.dl div { display: grid; grid-template-columns: 170px 1fr; gap: 4px 24px; padding: 16px 0; border-top: 2px solid var(--ink); }
.dl dt { font-size: 15px; font-weight: 800; }
.dl dd { margin: 0; }
.dl--compact, .dl--compact div { border-width: 1px; border-color: var(--line); }
.dl--compact div { grid-template-columns: 1fr auto; padding: 10px 0; }
.dl--compact dt { font-weight: 400; }
.dl--compact dd { font-weight: 700; text-align: right; }
.dl--mono dt { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); padding-top: 3px; }
.sec--navy .dl, .sec--navy .dl div { border-width: 1px; border-color: #2C5878; }
.sec--navy .dl--mono dt { color: var(--yellow); }
.sec--navy .dl dd { color: #fff; }
@media (max-width: 560px) { .dl div { grid-template-columns: 1fr; } }

/* Údaje v mriežke (fakturačné) */
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 32px; max-width: 980px; margin: 32px 0 0; }
.facts div { padding: 14px 0; border-top: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.facts dd { margin: 4px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Biele karty so zoznamom (podmienky vlny, licencie) */
.panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.panel { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.panel h3 { font-size: 26px; }
.panel ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding-left: 20px; }
.panel__link { margin-top: auto; padding-top: 8px; font-weight: 700; }
.panel .mono { font-size: 11px; }
.panel .muted { font-size: 15px; }
@media (max-width: 1000px) { .panels { grid-template-columns: 1fr; } }

/* Región: tri miesta vedľa seba */
.places { display: flex; flex-wrap: wrap; overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.place { display: flex; flex: 1 1 280px; flex-direction: column; outline: 1px solid var(--line); }
.place__img { position: relative; height: 260px; background: var(--blue); }
.place__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.place__badge { position: absolute; left: 12px; top: 12px; padding: 2px 8px; border: 1px solid var(--ink); background: #fff; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.place__body { display: flex; flex-direction: column; gap: 8px; padding: 24px; }
.place__body h3 { font-size: 24px; font-weight: 700; }
.place__body p { color: var(--muted); }

/* História: úvod a dve fotky, pod nimi časová os */
.history { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.history__intro { display: flex; flex: 1 1 300px; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.history__intro .h2 { margin: 0; }
.history__intro p { color: var(--on-navy); }
.history__img { flex: 1 1 280px; min-width: 0; }
.history__img.is-wide { flex: 2 1 380px; }
.history__img img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius-sm); }
.timeline { display: flex; flex: 1 1 100%; flex-wrap: wrap; gap: 24px; margin: 0; padding: 0; list-style: none; }
.timeline li { display: flex; flex: 1 1 200px; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 2px solid var(--yellow); }
.timeline b { font-family: var(--mono); font-size: 22px; color: var(--yellow); }
.timeline span { color: var(--on-navy); font-size: 15px; }

/* Projekt Interreg */
.project { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.project > div { flex: 2 1 420px; min-width: 0; }
.project .mono { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--blue-dark); }
.project details { max-width: 40em; margin-top: 14px; }
.project summary { min-height: 44px; padding: 12px 0; cursor: pointer; font-weight: 700; color: var(--blue-dark); }
.project__more { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; color: var(--muted); }
.project__more h3 { margin-top: 10px; font-size: 22px; color: var(--ink); }
.project__more ol { display: flex; flex-direction: column; gap: 4px; margin: 0; padding-left: 22px; }
.project__title { font-weight: 600; color: var(--ink); }
.inline-dl { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.inline-dl dt { display: inline; font-weight: 700; color: var(--ink); }
.inline-dl dd { display: inline; margin: 0; }
.project-box { display: flex; flex: 1 1 300px; flex-direction: column; gap: 14px; min-width: 0; padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.project-box div { display: flex; flex-direction: column; }
.project-box span { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.project-box b { font-size: 20px; font-weight: 800; }
.project-box__logo { width: 100%; height: auto; }

/* Upozornenie pre verejnosť */
.notice { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.notice__text { display: flex; flex: 2 1 420px; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.notice__text h2 { font-size: 36px; }
.notice__text p { max-width: 36em; }
.notice__tag { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; background: var(--ink); color: var(--yellow); font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.notice picture, .notice > img { flex: 2 1 420px; min-width: 0; }
.notice__img { width: 100%; border-radius: var(--radius-sm); }

/* Členstvo (celá stránka na modrom pozadí) */
.member-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 760px; }
.member-intro h1 { font-size: 44px; line-height: 1.1; }
.member-intro p { max-width: 32em; }
.member-intro a:not(.btn) { padding: 14px 0; color: #fff; font-weight: 600; }
.activities { display: flex; flex-wrap: wrap; gap: 16px; margin: 48px 0; padding: 0; list-style: none; }
.activities li { position: relative; flex: 1 1 260px; min-width: 0; height: 240px; overflow: hidden; border-radius: var(--radius-sm); }
.activities img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.activities span { position: absolute; left: 12px; bottom: 12px; padding: 4px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 20px; font-weight: 800; }
.member-sub { margin: 12px 0 20px; }
.benefits { display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; list-style: none; }
.benefit { display: flex; flex: 1 1 300px; gap: 16px; align-items: flex-start; min-width: 0; padding: 20px; border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.benefit > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.benefit__icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: var(--yellow); color: var(--ink); }
.benefit h3 { font-size: 20px; line-height: 1.2; }
.benefit p { color: var(--muted); font-size: 15px; }
.benefit__link { padding: 11px 0 0; font-size: 15px; font-weight: 600; }

/* Postup s obrázkom */
.process ol { display: flex; flex-direction: column; gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.process li { padding-left: 20px; border-left: 3px solid var(--yellow); }
.process li b { display: block; font-size: 20px; color: #fff; }
.process li span { color: var(--on-navy); }
.sec--navy .split img { border-radius: var(--radius-sm); }

/* Prihláška (vetrone) */
.apply { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.apply > div { flex: 1 1 340px; min-width: 0; }
.apply > .panel { flex: 1 1 420px; align-items: flex-start; }
.apply .h2 { margin-top: 0; }
.apply__contact { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; }
.apply__contact a { padding: 8px 0; }

/* Mapy VFR */
.charts__download { margin-top: 32px; }
.charts { display: grid; grid-template-columns: repeat(2, minmax(0, 480px)); gap: 32px; }
.chart { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: var(--shadow); text-decoration: none; }
.chart img { width: 100%; aspect-ratio: 1167 / 1653; object-fit: contain; background: #fff; }
.chart span { padding: 14px 18px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
@media (max-width: 760px) { .charts { grid-template-columns: 1fr; } }

/* Kamery v sekcii */
.cams { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cam-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: var(--shadow); text-decoration: none; }
.cam-card__img { position: relative; display: flex; align-items: center; justify-content: center; height: 280px; padding: 16px; background: var(--navy); color: var(--on-navy); font-family: var(--mono); font-size: 13px; text-align: center; }
.cam-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cam-card__body > span:first-child { display: flex; flex-direction: column; }
.cam-card__body { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 18px 20px; }
.cam-card__body b { display: block; font-size: 20px; }
.cam-card__open { font-weight: 700; color: var(--blue); }
@media (max-width: 760px) { .cams { grid-template-columns: 1fr; } }

/* Text (ochrana údajov) */
.prose { max-width: 880px; }
.prose .updated { margin-top: 36px; }
.prose h2 { margin: 36px 0 10px; font-size: 26px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { max-width: 44em; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 12px 0; padding-left: 22px; }
.prose a { color: var(--blue); font-weight: 600; }

/* =========================================================
   7. Pätička
   ========================================================= */
.ft { padding: 64px var(--pad) 28px; background: var(--navy); color: var(--on-navy); font-size: 15px; }
.ft a { color: #fff; }
.ft__cols { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr 1fr; gap: 36px; }
.ft__cols > div { display: flex; flex-direction: column; gap: 4px; }
.ft__cols b { color: #fff; letter-spacing: .04em; }
.ft__cols a { padding: 6px 0; }
.ft .mono { margin-bottom: 6px; color: var(--yellow); }
.ft__ids { margin-top: 8px; font-size: 13px; line-height: 1.5; opacity: .8; }
.social { display: flex; gap: 10px; margin-top: 12px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; }
.social a:hover { background: var(--yellow); color: var(--ink); }
.ft__cols .social a { padding: 0; }
.ft__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid #2C5878; }
@media (max-width: 900px) { .ft__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ft__cols { grid-template-columns: 1fr; } }

.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--yellow); color: var(--ink); font: 700 22px/1 var(--font); box-shadow: var(--shadow); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s; }
.to-top.is-visible { opacity: 1; pointer-events: auto; }

/* =========================================================
   8. Okno s kamerami
   ========================================================= */
.cam-dlg { width: min(1180px, 94vw); max-height: 94vh; padding: 0; overflow: auto; border: 0; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 30px 90px -20px rgba(0,0,0,.6); }
.cam-dlg[open] { animation: camIn .22s ease-out; }
.cam-dlg::backdrop { background: rgba(6,48,79,.72); backdrop-filter: blur(4px); }
@keyframes camIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.cam-dlg__head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 26px 14px; background: #fff; }
.cam-dlg__head h2 { font-size: 26px; line-height: 1.15; }
.cam-dlg__head p { margin-top: 4px; color: var(--muted); font-size: 15px; }
.cam-dlg__actions { display: flex; flex: none; gap: 8px; }
.cam-dlg__actions button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--pale); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }
.cam-dlg__actions button:hover { background: var(--yellow); }
.cam-dlg__refresh.is-spinning svg { animation: spin .8s linear; }
@keyframes spin { to { transform: rotate(360deg); } }
.cam-dlg__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 4px 26px 10px; }
.cam-dlg__grid.is-single { grid-template-columns: 1fr; }
.cam-dlg__grid.is-single .live-cam:not(.is-big) { display: none; }
.cam-dlg__grid.is-single .live-cam__img { aspect-ratio: 16 / 9; }
.live-cam { margin: 0; }
.live-cam__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; background: var(--navy); color: var(--on-navy); }
.live-cam__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.live-cam__img[data-state="ok"] img { opacity: 1; }
.live-cam__msg { position: absolute; inset: 0; display: none; flex-direction: column; gap: 8px; align-items: center; justify-content: center; padding: 20px; font-size: 14px; line-height: 1.5; text-align: center; }
.live-cam__msg a { color: var(--yellow); font-weight: 700; }
.live-cam__img[data-state="loading"] .live-cam__msg--loading, .live-cam__img[data-state="off"] .live-cam__msg--off { display: flex; }
.live-cam__img[data-state="loading"] { background: linear-gradient(100deg, #06304F 30%, #0b4470 50%, #06304F 70%) 0 0 / 300% 100%; animation: shim 1.4s linear infinite; }
@keyframes shim { to { background-position: -150% 0; } }
.live-cam__live { position: absolute; left: 12px; top: 12px; display: none; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font: 700 11px/1.4 var(--mono); letter-spacing: .12em; }
.live-cam__live::before { content: "● "; color: #ff4d4d; }
.live-cam__img[data-state="ok"] .live-cam__live { display: block; }
.live-cam__zoom { position: absolute; right: 10px; top: 10px; display: none; align-items: center; justify-content: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; cursor: pointer; }
.live-cam__img[data-state="ok"] .live-cam__zoom { display: inline-flex; }
.live-cam figcaption { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 12px 2px 0; }
.live-cam figcaption b { display: block; font-size: 17px; }
.live-cam figcaption small { color: var(--muted); font-size: 13px; }
.live-cam figcaption a { color: var(--blue); font-size: 14px; font-weight: 700; white-space: nowrap; }
.cam-dlg__foot { padding: 8px 26px 24px; }
.cam-dlg__foot a { color: var(--blue); font-weight: 700; }
@media (max-width: 760px) {
  .cam-dlg { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .cam-dlg__grid { grid-template-columns: 1fr; gap: 22px; padding: 4px 16px 10px; }
  .cam-dlg__head { padding: 16px 16px 12px; } .cam-dlg__head h2 { font-size: 22px; }
  .cam-dlg__foot { padding: 8px 16px 28px; }
  .live-cam__zoom { display: none !important; }
}
