/* Podstrony (lotniska, lotnisko, historia, kontakt, polityka) – korzystają z tokenów z app.css */
body.page { height: auto; min-height: 100%; background: var(--bg-soft); }
.pg-shell { padding-top: var(--hd-h); min-height: 100vh; display: flex; flex-direction: column; }
.pg { flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 28px 28px 48px; }
.pg h1 { font-family: var(--cond); font-size: 38px; line-height: 1.05; text-transform: uppercase; margin: 6px 0 10px; font-weight: 800; letter-spacing: .005em; }
.pg h2 { font-family: var(--cond); font-size: 22px; margin: 0 0 12px; text-transform: uppercase; font-weight: 800; letter-spacing: .01em; }
.pg .lead { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0 0 22px; max-width: 760px; }
.crumbs { font-size: 13px; color: var(--muted); font-weight: 600; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }

.card { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin-bottom: 16px; }
.card-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.card-h h2 { margin: 0; }
.card-h .more { margin-left: auto; font-size: 13px; font-weight: 700; text-decoration: none; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: 16px; align-items: start; }

/* liczby */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0 0 16px; }
.kpi { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.kpi b { display: block; font-family: var(--mono); font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.kpi span { font-size: 13px; color: var(--muted); font-weight: 600; }


/* lista lotnisk */
.ap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.ap-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 16px; transition: border-color .15s, box-shadow .15s; }
.ap-card:hover { border-color: var(--brand); box-shadow: var(--shadow); color: var(--fg); }
.ap-card .top { display: flex; align-items: center; gap: 10px; }
.ap-card .code { font-family: var(--mono); font-size: 15px; font-weight: 700; color: var(--brand); background: var(--brand-soft); border-radius: 9px; padding: 5px 9px; }
.ap-card .city { font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.ap-card .nm { font-size: 13px; color: var(--muted); line-height: 1.4; min-height: 36px; }
.ap-card .nums { display: flex; gap: 14px; margin-top: 8px; font-size: 13px; color: #475467; font-weight: 600; }
.ap-card .nums b { font-family: var(--mono); color: var(--fg); font-size: 15px; }
.ap-card .share { height: 6px; border-radius: 99px; background: var(--line-2); overflow: hidden; margin-top: 10px; }
.ap-card .share i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.ap-card .go { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--brand); }

/* nagłówek lotniska */
.ap-hero { display: flex; gap: 18px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin: 10px 0 16px; }
.ap-hero .big { font-family: var(--mono); font-size: 30px; font-weight: 700; color: #fff; background: var(--brand); border-radius: 16px; padding: 14px 16px; letter-spacing: -.02em; flex: none; }
.ap-hero h1 { margin: 0; font-size: 26px; }
.ap-hero .meta { color: #475467; font-size: 14px; margin-top: 4px; }
.ap-hero .meta b { font-family: var(--mono); color: var(--fg); }
.ap-hero .livepill { margin-left: auto; flex: none; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; color: var(--ok); background: #ecfdf3; border: 1px solid #abefc6; border-radius: 99px; padding: 6px 12px; }
.ap-intro { color: #475467; font-size: 15px; line-height: 1.6; margin: 0 0 16px; max-width: 820px; }

.map-frame { width: 100%; height: 340px; border: 0; border-radius: 14px; display: block; background: #eef2f6; }

/* zakładki tablicy */
.tabs-b { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.tabs-b button { border: 1px solid var(--line); background: var(--bg); color: var(--fg-2); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 99px; display: flex; align-items: center; gap: 8px; }
.tabs-b button .n { font-family: var(--mono); font-size: 12px; background: var(--bg-soft); color: var(--muted); padding: 1px 7px; border-radius: 99px; }
.tabs-b button.on { background: var(--fg); color: #fff; border-color: var(--fg); }
.tabs-b button.on .n { background: rgba(255,255,255,.18); color: #fff; }
.tab-pane[hidden] { display: none; }

/* tablica */
.board { width: 100%; border-collapse: collapse; font-size: 14px; }
.board th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 800; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.board td { padding: 11px 10px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.board tbody tr:hover td { background: #fafbfc; }
.board tr:last-child td { border-bottom: 0; }
.board .tm { font-family: var(--mono); font-weight: 700; font-size: 15px; white-space: nowrap; }
.board .fl { font-family: var(--mono); font-weight: 700; }
.board .sub { display: block; color: var(--muted); font-size: 12px; margin-top: 1px; }
.board .via { font-weight: 600; }
.board .via .iata { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-left: 4px; }
.board a { text-decoration: none; }
.board .st { display: inline-block; white-space: nowrap; font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 99px; }
.st-arr { color: var(--ok); background: #ecfdf3; }
.st-dep { color: var(--brand); background: var(--brand-soft); }
.st-app { color: #b54708; background: #fffaeb; }
.board-empty { color: var(--muted); padding: 14px 0; margin: 0; }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(18,183,106,.6); } 70% { box-shadow: 0 0 0 8px rgba(18,183,106,0); } 100% { box-shadow: 0 0 0 0 rgba(18,183,106,0); } }

/* słupki */
.bars { display: flex; align-items: flex-end; gap: 3px; height: 120px; }
.bars .b { flex: 1; background: var(--brand); border-radius: 4px 4px 0 0; min-height: 2px; opacity: .9; }
.bars .b.alt { background: #7c3aed; }
.bars-x { display: flex; gap: 3px; font-size: 10px; color: var(--muted); margin-top: 6px; font-family: var(--mono); }
.bars-x span { flex: 1; text-align: center; overflow: hidden; }
.legend { font-size: 12px; color: var(--muted); display: flex; gap: 12px; margin-top: 10px; font-weight: 600; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }
.rank { list-style: none; margin: 0; padding: 0; }
.rank li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.rank li:last-child { border-bottom: 0; }
.rank b { font-family: var(--mono); }
.rank .bar { grid-column: 1 / -1; height: 4px; border-radius: 99px; background: var(--line-2); overflow: hidden; margin-top: -4px; }
.rank .bar i { display: block; height: 100%; background: var(--brand); opacity: .55; }

.faq h3 { font-size: 15px; margin: 16px 0 4px; }
.faq h3:first-of-type { margin-top: 4px; }
.faq p { margin: 0; color: #475467; line-height: 1.65; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* treść (polityka, kontakt) */
.prose { max-width: 820px; }
.prose h2 { font-size: 20px; margin: 28px 0 8px; }
.prose h3 { font-size: 16px; margin: 18px 0 6px; }
.prose p, .prose li { color: #344054; line-height: 1.7; font-size: 15px; }
.prose ul { padding-left: 20px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 16px; }
.prose th, .prose td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .wide { grid-column: 1 / -1; }
.field label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #d0d5dd; border-radius: 10px; padding: 0 12px; height: 44px; font: inherit; font-size: 15px; color: var(--fg); background: var(--bg); }
.field textarea { height: 160px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 12px; padding: 12px 14px; font-weight: 600; margin-bottom: 14px; }
.alert.ok { background: #ecfdf3; color: var(--ok); border: 1px solid #abefc6; }
.alert.err { background: #fef3f2; color: var(--danger); border: 1px solid #fecdca; }
.contact-side .item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.contact-side .item:last-child { border-bottom: 0; }
.contact-side .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.contact-side .ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.contact-side b { display: block; }
.contact-side span { color: #475467; font-size: 14px; }

/* stopka */
.pg-foot { border-top: 1px solid var(--line); background: var(--bg); padding: 28px 28px 24px; font-size: 14px; }
.pg-foot-in { max-width: 1124px; margin: 0 auto; display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; }
.pg-foot p { margin: 8px 0 0; color: #475467; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; align-content: flex-start; }
.foot-links a { color: var(--fg-2); font-weight: 600; text-decoration: none; }
.foot-links a:hover { color: var(--brand); }
.foot-note { max-width: 1124px; margin: 18px auto 0 !important; font-size: 12px; color: var(--muted) !important; line-height: 1.5; }

/* ---------- historia lotów: panel + mapa ---------- */
.page-app .pg-shell { height: 100vh; min-height: 0; }
.pg-app { flex: 1; min-height: 0; display: flex; }
.hs-panel { width: 440px; flex: none; background: var(--bg); border-right: 1px solid var(--line); overflow-y: auto; padding: 22px 22px 28px; }
.hs-panel h1 { font-size: 24px; line-height: 1.2; letter-spacing: -.02em; margin: 6px 0 6px; font-weight: 800; }
.hs-panel .lead { color: #475467; font-size: 14px; line-height: 1.55; margin: 0 0 16px; }
.hs-mapwrap { flex: 1; position: relative; min-width: 0; }
#hsMap { position: absolute; inset: 0; }
.hs-hint { position: absolute; left: 50%; top: 16px; transform: translateX(-50%); z-index: 2; background: var(--fg); color: #fff; padding: 8px 14px; border-radius: 99px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow); white-space: nowrap; }
.hs-form { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; background: var(--bg-soft); border-radius: 16px; padding: 14px; }
.hs-form .wide { grid-column: 1 / -1; }
.hs-form label { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 5px; }
.hs-form input, .hs-form select { width: 100%; height: 42px; border: 1px solid #d0d5dd; border-radius: 10px; padding: 0 10px; font: inherit; font-size: 14px; background: var(--bg); color: var(--fg); }
.hs-form input:focus, .hs-form select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.hs-form .btn { height: 46px; width: 100%; font-size: 15px; }
.hs-place { display: flex; gap: 6px; }
.hs-place .btn { width: 46px; flex: none; padding: 0; display: grid; place-items: center; height: 42px; }
.hs-place .btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.presets { display: flex; gap: 6px; flex-wrap: wrap; }
.presets button { border: 1px solid #d0d5dd; background: var(--bg); color: var(--fg-2); font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 99px; }
.presets button:hover { border-color: var(--brand); color: var(--brand); }
.hs-res-h { display: flex; align-items: baseline; gap: 8px; margin: 20px 0 4px; }
.hs-res-h h2 { font-size: 17px; margin: 0; font-weight: 800; }
#hsInfo { font-size: 13px; color: var(--muted); margin: 0 0 10px; line-height: 1.5; }
.hs-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hs-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.hs-list li:hover { border-color: var(--brand); }
.hs-list li.on { border-color: var(--brand); background: var(--brand-soft); }
.hs-list .tm { font-family: var(--mono); font-weight: 700; font-size: 15px; }
.hs-list .t { font-weight: 700; font-family: var(--mono); }
.hs-list .t .s { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 500; }
.hs-list .s { color: var(--muted); font-size: 12px; }
.hs-list .r { text-align: right; font-size: 13px; white-space: nowrap; }
.hs-list .r b { font-family: var(--mono); }
.hs-panel .faq { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 6px; }
.hs-panel .faq h2 { font-size: 17px; margin: 14px 0 0; }
.hs-panel .foot-links { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
.hs-panel .foot-note { margin: 10px 0 0 !important; }


/* ---------- strona lotniska ---------- */
.ap-hero { flex-wrap: wrap; }
.ap-hero .ttl { flex: 1 1 360px; min-width: 0; }
.ap-hero .meta .live-dot { width: 7px; height: 7px; margin: 0 2px 1px 0; vertical-align: middle; }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(84px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; flex: 0 1 auto; }
.hero-stats div { padding: 10px 14px; border-left: 1px solid var(--line); }
.hero-stats div:first-child { border-left: 0; }
.hero-stats b { display: block; font-family: var(--mono); font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
.hero-stats span { font-size: 12px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.board-card { padding: 14px 16px 8px; }
.board-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.board-top .tabs-b { margin: 0; }
.board-note { margin-left: auto; font-size: 12px; font-weight: 600; }
.ap-side .side-card { padding: 16px; }
.ap-side h2 { font-size: 16px; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li a { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 6px; border-radius: 10px; color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.side-list li:last-child a { border-bottom: 0; }
.side-list li a:hover { background: var(--brand-soft); }
.side-list.gnd li a { grid-template-columns: minmax(0, 1fr) auto; }
.side-list .tm { font-family: var(--mono); font-weight: 700; font-size: 14px; color: #b54708; }
.side-list .who { min-width: 0; }
.side-list .who b { display: block; font-family: var(--mono); font-size: 14px; }
.side-list .who small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-list .d { text-align: right; font-family: var(--mono); font-weight: 700; font-size: 13px; }
.side-list .d small { display: block; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 500; color: var(--muted); font-size: 11px; }
.side-empty { color: var(--muted); font-size: 13px; margin: 4px 0; line-height: 1.5; }
.ad-wide { width: 100%; max-width: 970px; min-height: 120px; margin: 8px auto 20px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 99px; }
.pill.gnd { color: #475467; background: var(--bg-soft); }
@media (max-width: 820px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); width: 100%; }
  .hero-stats div:nth-child(3) { border-left: 0; }
  .hero-stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .board-note { margin-left: 0; width: 100%; }
}

@media (max-width: 1100px) {
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .pg-shell { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .pg-mapbtn { font-size: 13px; font-weight: 700; text-decoration: none; }
  .pg { padding: 16px 16px 32px; }
  .pg h1 { font-size: 24px; }
  .grid2 { grid-template-columns: 1fr; }
  .board .hide-m { display: none; }
  .board td, .board th { padding-left: 6px; padding-right: 6px; }
  .map-frame { height: 260px; }
  .ap-hero { flex-wrap: wrap; padding: 16px; gap: 12px; }
  .ap-hero .big { font-size: 22px; padding: 10px 12px; }
  .ap-hero h1 { font-size: 20px; }
  .ap-hero .livepill { margin-left: 0; }
  .kpi b { font-size: 21px; }
  .form-grid { grid-template-columns: 1fr; }
  .pg-foot { padding: 22px 16px; }
  .page-app .pg-shell { height: auto; min-height: 100vh; }
  .pg-app { flex-direction: column-reverse; }
  .hs-panel { width: auto; border-right: 0; overflow: visible; padding: 16px; }
  .hs-mapwrap { height: 320px; flex: none; }
  .hs-hint { white-space: normal; text-align: center; width: max-content; max-width: 90%; }
}

/* ---------- polityka prywatności ---------- */
.pp { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
.pp-toc { position: sticky; top: 20px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.pp-toc b { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px 8px; }
.pp-toc a { display: block; padding: 7px 8px; border-radius: 8px; color: var(--fg-2); font-size: 14px; font-weight: 600; text-decoration: none; }
.pp-toc a:hover { background: var(--brand-soft); color: var(--brand); }
.pp-sum { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.pp-sum div { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; gap: 12px; }
.pp-sum .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.pp-sum .ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pp-sum b { display: block; font-size: 14px; margin-bottom: 2px; }
.pp-sum span { font-size: 13px; color: #475467; line-height: 1.5; }
.pp-sec { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px 18px; margin-bottom: 12px; scroll-margin-top: 16px; }
.pp-sec h2 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin: 18px 0 8px; }
.pp-sec h2 .n { font-family: var(--mono); font-size: 13px; color: var(--brand); background: var(--brand-soft); border-radius: 8px; padding: 3px 8px; }
.pp-sec p, .pp-sec li { color: #344054; line-height: 1.7; font-size: 15px; }
.pp-sec ul { padding-left: 20px; margin: 6px 0; }
.pp-cards { display: grid; gap: 10px; margin: 10px 0; }
.pp-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 16px; font-size: 14px; }
.pp-card .t { grid-column: 1 / -1; font-weight: 800; font-size: 15px; }
.pp-card .k { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.pp-card .v { color: #344054; }
.pp-svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 10px 0; }
.pp-svc div { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.pp-svc b { display: block; }
.pp-svc span { color: var(--muted); font-size: 13px; }
.pp-rights { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.pp-rights span { background: var(--bg-soft); border-radius: 99px; padding: 6px 12px; font-size: 13px; font-weight: 700; color: var(--fg-2); }
.pp-browsers { display: flex; flex-wrap: wrap; gap: 6px; }

@media (max-width: 1000px) {
  .pp { grid-template-columns: 1fr; }
  .pp-toc { position: static; display: none; }
}
@media (max-width: 820px) {
  .pp-sum, .pp-svc, .pp-card { grid-template-columns: 1fr; }
  .pp-sec { padding: 2px 16px 14px; }
}

/* =================== „Hala odlotów” – podstrony =================== */
.page .hd { position: fixed; }
.page .mnav-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rl-logo .hd-mark { width: 34px; height: 34px; }
.rl-logo .hd-mark svg { width: 21px; height: 21px; }
.pg-foot .rl-logo span:last-child b { color: #b88600; }
.kpi b { font-family: var(--mono); }

.card, .ap-card, .kpi { border-radius: 12px; }
.ap-card .code { background: var(--navy); color: var(--yellow); border-radius: 6px; }
.ap-card .city { font-family: var(--cond); font-size: 21px; text-transform: uppercase; }
.ap-card .share i { background: var(--navy); }
.ap-card .go { color: var(--link); }
.ap-card:hover { border-color: var(--navy); }
.chip .muted { font-family: var(--mono); font-size: 12px; }

/* nagłówek lotniska – tablica */
.ap-hero { background: var(--navy); border: 0; color: #fff; border-radius: 14px; padding: 20px 22px; }
.ap-hero .big { background: var(--yellow); color: var(--navy); font-family: var(--cond); font-size: 46px; font-weight: 800; border-radius: 10px; padding: 6px 14px; line-height: 1; }
.ap-hero h1 { color: #fff; font-size: 32px; margin: 0; }
.ap-hero .meta { color: var(--navy-text); font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .03em; }
.ap-hero .meta b { color: #fff; }
.hero-stats { border-color: var(--navy-line); }
.hero-stats div { border-left-color: var(--navy-line); }
.hero-stats b { color: var(--yellow); }
.hero-stats span { color: var(--navy-text); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }

/* tablica przylotów i odlotów */
.board-card { background: var(--navy); border: 0; color: #fff; padding: 0; overflow: hidden; }
.board-top { padding: 0 18px; border-bottom: 1px solid var(--navy-line); margin: 0; }
.board-card .tabs-b button { height: 46px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent; color: var(--navy-text); font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 0 12px; }
.board-card .tabs-b button.on { color: var(--yellow); border-bottom-color: var(--yellow); background: transparent; }
.board-card .tabs-b button .n { background: var(--navy-2); color: var(--navy-text); }
.board-card .tabs-b button.on .n { background: var(--yellow); color: var(--navy); }
.board-note { color: var(--navy-text) !important; font-family: var(--mono); font-size: 11px !important; text-transform: uppercase; }
.board-card .tab-pane { padding: 4px 8px 8px; }
.board-card .board th { color: #6f87a0; font-family: var(--mono); border-bottom-color: var(--navy-line); }
.board-card .board td { border-bottom-color: var(--navy-line); color: #fff; font-family: var(--mono); font-size: 14px; }
.board-card .board tbody tr:hover td { background: var(--navy-2); }
.board-card .board .tm { color: var(--yellow); font-size: 15px; }
.board-card .board .fl { color: #fff; }
.board-card .board a { color: #fff; }
.board-card .board .sub { color: var(--navy-text); font-family: var(--sans); font-size: 12px; }
.board-card .board .via { font-family: var(--sans); font-weight: 600; text-transform: uppercase; }
.board-card .board .via .iata { color: var(--navy-text); }
.board-card .board .st { background: transparent; padding: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.board-card .st-arr { color: #6ee7a0; }
.board-card .st-dep { color: #9fd3f7; }
.board-card .st-app { color: var(--yellow); }
.board-card .board-empty { color: var(--navy-text); padding: 16px 10px; }
.side-card h2 { font-family: var(--cond); text-transform: uppercase; font-size: 20px; }
.side-list .tm { color: #b54708; }
.ad-wide.on { max-width: 970px; margin: 8px auto 20px; }
.ad-wide.on ins { min-height: 90px; }
.ad-top.on { margin: 12px auto 4px; }
.ad-sticky { position: sticky; top: calc(var(--hd-h) + 16px); }
.ad-sticky .ad-slot.on ins { min-height: 600px; }
.bars .b { background: var(--navy); }
.bars .b.alt { background: var(--yellow); }
.legend i[style*="7c3aed"] { background: var(--yellow) !important; }
.rank .bar i { background: var(--navy); }
.tabs-b button.on { background: var(--navy); border-color: var(--navy); }

/* historia przelotów */
.page-app .pg-shell { height: 100vh; }
.hs-panel h1 { font-family: var(--cond); text-transform: uppercase; font-size: 30px; line-height: 1.05; }
.hs-form { background: #fff; border: 1px solid var(--line); }
.hs-form .btn { background: var(--navy); color: var(--yellow); }
.hs-list .tm { color: var(--navy); }
.hs-list li.on { border-color: var(--navy); background: var(--brand-soft); }
.hs-hint { background: var(--navy); }
.hs-res-h h2 { font-family: var(--cond); text-transform: uppercase; font-size: 22px; }

/* kontakt / polityka */
.pp-sec h2 { font-family: var(--cond); text-transform: uppercase; font-size: 22px; }
.pp-sec h2 .n, .pp-sum .ic, .contact-side .ic { background: var(--navy); color: var(--yellow); }
.pp-toc a:hover { background: var(--brand-soft); color: var(--fg); }

@media (max-width: 820px) {
  .pg-shell { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .page .hd-nav { display: none; }
  .pg h1 { font-size: 28px; }
  .ap-hero .big { font-size: 32px; }
  .ap-hero h1 { font-size: 24px; }
  .page-app .pg-shell { height: auto; }
  .hs-hint { white-space: normal; }
}

/* =================== odstępy i układ – jeden rytm na wszystkich podstronach =================== */
.pg > .kpis, .pg > .ap-grid, .pg > .split, .pg > .grid2, .pg > .card, .pg > .ad-slot, .pg > .pp, .pg > .ap-hero { margin-top: 0; margin-bottom: 16px; }
.pg > :last-child { margin-bottom: 0; }
.split > * > .card:last-child, .split > .card:last-child, .ap-side > :last-child { margin-bottom: 0; }
.split > * { min-width: 0; }
.split > div, .split > aside { display: flex; flex-direction: column; gap: 16px; }
.split > * > .card, .split > * > p, .split > * > .ad-slot, .split > * > .ad-sticky { margin: 0; }
.ap-intro { margin: 0; }
.faq h3:first-of-type { margin-top: 2px; }

/* karty lotnisk: liczby zawsze na dole, bez pustej przerwy pod nazwą */
.ap-card { gap: 2px; padding: 14px 16px; }
.ap-card .top { align-items: flex-start; }
.ap-card .city { line-height: 1.05; padding-top: 2px; }
.ap-card .nm { min-height: 0; margin-top: 4px; }
.ap-card .nums { margin-top: auto; padding-top: 12px; }
.ap-card .share { margin-top: 8px; }
.ap-card .go { margin-top: 10px; }

/* nagłówek lotniska */
.ap-hero h1 { font-size: 30px; line-height: 1.05; }
.ap-hero .ttl { flex: 1 1 320px; }

/* stopka: tło białe aż do dołu, miejsce na menu telefonu w samej stopce */
.pg-foot { margin-top: 8px; }

@media (max-width: 820px) {
  .pg-shell { padding-bottom: 0; }
  .page-app .pg-shell { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .pg-foot { padding-bottom: calc(22px + 64px + env(safe-area-inset-bottom)); }
  .pg { padding: 14px 16px 24px; }
  .pg .lead { font-size: 15px; margin-bottom: 16px; }
  .pg > .kpis, .pg > .ap-grid, .pg > .split, .pg > .grid2, .pg > .card, .pg > .ap-hero { margin-bottom: 12px; }
  .split > div, .split > aside { gap: 12px; }
  .card { padding: 16px; }
  .kpis { gap: 8px; grid-template-columns: 1fr 1fr; }
  .kpi { padding: 12px; }
  .kpi span { font-size: 12px; }

  /* lista lotnisk na telefonie: zwarte wiersze zamiast wysokich kart */
  .ap-grid { gap: 8px; }
  .ap-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "code city nums" "code nm nums"; align-items: center; gap: 0 12px; padding: 12px 14px; }
  .ap-card .top { display: contents; }
  .ap-card .code { grid-area: code; font-size: 14px; padding: 6px 8px; }
  .ap-card .city { grid-area: city; font-size: 19px; padding: 0; overflow-wrap: anywhere; }
  .ap-card .nm { grid-area: nm; margin: 0; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ap-card .nums { grid-area: nums; flex-direction: column; gap: 0; margin: 0; padding: 0; text-align: right; font-size: 12px; }
  .ap-card .nums span { white-space: nowrap; }
  .ap-card .share, .ap-card .go { display: none; }

  .ap-hero { padding: 16px; gap: 12px; }
  .ap-hero h1 { font-size: 22px; }
  .board-top { padding: 0 10px; }
  .board-note { padding: 0 2px 10px; }
  .board-card .tab-pane { padding: 2px 4px 6px; }
  .pp-sec h2 { font-size: 19px; }
}
.ad-sticky:empty { display: none; }
.grid2 > .card { margin: 0; }
.crumbs { margin-bottom: 10px; }
.crumbs + h1 { margin-top: 0; }
.ap-hero h1 { font-size: 28px; }
@media (max-width: 820px) { .crumbs { margin-bottom: 8px; } .ap-hero h1 { font-size: 22px; } }

.live-dot { display: none !important; }

/* =================== nagłówek strony lotniska =================== */
.aph { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin: 0 0 16px; overflow: hidden; }
.aph-main { display: flex; align-items: center; gap: 18px; padding: 20px 22px 18px; }
.aph-code { flex: none; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 104px; padding: 0 16px; height: 92px; box-sizing: border-box; border-radius: 10px; background: var(--navy); color: var(--yellow); font-family: var(--cond); font-size: 44px; font-weight: 800; line-height: 1; }
.aph-code small { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--navy-text); margin-bottom: 4px; }
.aph-code::before, .aph-code::after { content: ""; position: absolute; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: #fff; }
.aph-code::before { left: -6px; }
.aph-code::after { right: -6px; }
.aph-ttl { flex: 1; min-width: 0; }
.aph-eye { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pg .aph h1 { margin: 4px 0 4px; font-size: 38px; line-height: 1.02; }
.aph h1 span { color: var(--muted); font-weight: 700; }
.aph-name { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.aph-map { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 8px; background: var(--yellow); color: var(--navy); font-weight: 800; font-size: 15px; text-decoration: none; }
.aph-map:hover { color: var(--navy); filter: brightness(.96); }
.aph-map svg, .aph .st .i svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.aph-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.aph .st { display: grid; grid-template-columns: 36px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 22px; border-left: 1px solid var(--line); }
.aph .st:first-child { border-left: 0; }
.aph .st .i { grid-row: 1 / 3; width: 36px; height: 36px; border-radius: 9px; background: var(--brand-soft); color: var(--navy); display: grid; place-items: center; }
.aph .st b { font-family: var(--mono); font-size: 24px; font-weight: 700; line-height: 1.1; }
.aph .st span:last-child { font-size: 13px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aph-nav { display: flex; gap: 4px; padding: 0 14px; border-top: 1px solid var(--line); background: var(--bg-soft); overflow-x: auto; scrollbar-width: none; }
.aph-nav::-webkit-scrollbar { display: none; }
.aph-nav a { flex: none; padding: 11px 10px; font-size: 14px; font-weight: 700; color: var(--fg-2); text-decoration: none; border-bottom: 3px solid transparent; }
.aph-nav a:hover { color: var(--fg); border-bottom-color: var(--yellow); }
#tablica, #podchodza, #plyta, #statystyki, #pytania { scroll-margin-top: calc(var(--hd-h) + 12px); }
@media (max-width: 1000px) {
  .aph-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aph .st:nth-child(3) { border-left: 0; }
  .aph .st:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .aph-main { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; padding: 16px; align-items: center; }
  .aph-code { grid-row: 1 / 3; min-width: 72px; height: 64px; padding: 0 10px; font-size: 28px; }
  .aph-code small { font-size: 9px; margin-bottom: 2px; }
  .pg .aph h1 { font-size: 24px; margin: 2px 0 0; }
  .aph h1 span { display: block; font-size: 17px; margin-top: 2px; }
  .aph-eye { font-size: 11px; }
  .aph-name { grid-column: 1 / -1; font-size: 13px; }
  .aph-ttl { display: contents; }
  .aph-ttl > .aph-eye, .aph-ttl > h1 { grid-column: 2; }
  .aph-map { grid-column: 1 / -1; }
  .aph-map { width: 100%; justify-content: center; }
  .aph .st { padding: 12px 14px; grid-template-columns: 30px minmax(0, 1fr); column-gap: 10px; }
  .aph .st .i { width: 30px; height: 30px; }
  .aph .st b { font-size: 20px; }
  .aph .st span:last-child { font-size: 12px; white-space: normal; }
  .aph-nav { padding: 0 6px; }
  .aph-nav a { padding: 10px 8px; font-size: 13px; }
}
.aph h1 span i { font-style: normal; }
@media (max-width: 820px) { .aph h1 span i { display: none; } }

.hs-form > div { min-width: 0; }
.hs-form input, .hs-form select { min-width: 0; max-width: 100%; }
.hs-place input { flex: 1; min-width: 0; }

/* iPhone: pola daty i godziny mają własną szerokość i wychodzą poza formularz – wyrównujemy je */
.hs-form input[type=date], .hs-form input[type=time], .hs-form select {
  -webkit-appearance: none; appearance: none; display: block; width: 100%; min-width: 0; height: 44px;
  box-sizing: border-box; text-align: left; line-height: 42px; padding: 0 12px; background-color: var(--bg);
}
.hs-form input::-webkit-date-and-time-value { text-align: left; margin: 0; }
.hs-form input[type=date]::-webkit-calendar-picker-indicator, .hs-form input[type=time]::-webkit-calendar-picker-indicator { opacity: .55; }
.hs-form select { padding-right: 32px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230b1f33' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.hs-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 820px) {
  .hs-form { gap: 10px 8px; padding: 14px; }
  .hs-form input[type=time] { padding: 0 8px; }
}
.hs-list .rt i { font-style: normal; font-weight: 800; color: var(--navy); margin-right: 2px; }
.hs-list .rt i.dn { margin-left: 2px; }

/* =================== tablica lotniska na telefonie (wariant 3) =================== */
.bm { display: none; }
@media (max-width: 820px) {
  .board-card table.board { display: none; }
  .board-card .board-note { display: none; }
  .board-card .tab-pane { padding: 0; }
  .bm { display: block; }
  .bm-r { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; grid-template-areas: "tm via cd" "st sub sub"; gap: 2px 10px; align-items: baseline; padding: 9px 14px; border-top: 1px solid var(--navy-line); color: #fff; text-decoration: none; }
  .bm-r:first-child { border-top: 0; }
  .bm-r:active { background: var(--navy-2); }
  .bm-r .tm { grid-area: tm; font-family: var(--mono); font-size: 17px; font-weight: 700; color: var(--yellow); white-space: nowrap; }
  .bm-r .via { grid-area: via; min-width: 0; font-family: var(--cond); font-size: 19px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
  .bm-r .via.unk { color: var(--navy-text); text-transform: none; font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0; }
  .bm-r .cd { grid-area: cd; font-family: var(--mono); font-size: 13px; font-weight: 700; color: #c3d1df; }
  .bm-r .st { grid-area: st; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .04em; color: #6ee7a0; white-space: nowrap; }
  .bm-r .sub { grid-area: sub; min-width: 0; font-size: 12.5px; color: var(--navy-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bm-r .sub b { font-family: var(--mono); font-weight: 600; color: #fff; }
  .bm-r.app { background: #16324f; }
  .bm-r.app .st { color: var(--yellow); }
  .bm-h { padding: 4px 14px; background: var(--navy-2); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--navy-text); }
  .bm .more { display: none; }
  .bm.all .more { display: grid; }
  .bm.all .bm-h.more { display: block; }
  .bm-more { display: block; width: calc(100% - 28px); margin: 12px 14px 14px; height: 46px; border-radius: 8px; border: 1.5px solid var(--yellow); background: transparent; color: var(--yellow); font: inherit; font-size: 15px; font-weight: 800; }
}
@media (min-width: 821px) { .board-empty-d { display: block; } }
/* ikony liczb na stronie lotniska: pełne sylwetki samolotu, granat + żółć */
.aph .st .i { width: 44px; height: 44px; border-radius: 10px; background: var(--brand-soft); color: var(--navy); }
.aph .st .i svg.fi { width: 32px; height: 32px; fill: var(--navy); stroke: none; }
.aph .st .i svg.fi .ln { fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; }
.aph .st { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; }
@media (max-width: 820px) {
  .aph .st { grid-template-columns: 36px minmax(0, 1fr); column-gap: 10px; }
  .aph .st .i { width: 36px; height: 36px; border-radius: 9px; }
  .aph .st .i svg.fi { width: 24px; height: 24px; }
}


/* =================== O nas – wizytówka (kierunek „produkt”) =================== */
.page-about .pg { max-width: none; padding: 0; }
.page-about .pg-shell { overflow-x: clip; }
.ab-w { width: 100%; max-width: 1236px; margin: 0 auto; padding: 0 28px; box-sizing: border-box; }
.ab-sec { padding-top: 80px; padding-bottom: 80px; }
.ab-eye { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.ab-eye.d { color: #b88600; }
.page-about .ab-h2 { margin: 8px 0 10px; font-family: var(--cond); font-size: 48px; font-weight: 800; text-transform: uppercase; line-height: 1; letter-spacing: 0; }
.ab-lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 680px; }
.ab-head { text-align: center; margin-bottom: 36px; }
.ab-head .ab-lead { margin: 0 auto; }
.ab-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 10px; font-weight: 800; font-size: 16px; text-decoration: none; box-sizing: border-box; }
.ab-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ab-btn.y { background: var(--yellow); color: var(--navy); }
.ab-btn.y:hover { background: #ffd24a; color: var(--navy); }
.ab-btn.n { background: var(--navy); color: var(--yellow); }
.ab-btn.n:hover { background: var(--navy-2); color: var(--yellow); }
.ab-btn.gh { border: 1.5px solid #2a4a6a; color: #fff; }
.ab-btn.gh:hover { border-color: var(--yellow); color: var(--yellow); }
.page-about .ab-fc, .page-about .ab-src a, .ab-crumbs a, .ab-btn { text-decoration: none; }
.ab-pl use { fill: var(--yellow); stroke: var(--navy); stroke-width: 1.4px; }
.ab-pl.sel use { fill: #fff; }

/* 1. hero */
.ab-hero { background: var(--navy); color: #fff; text-align: center; padding-top: 22px; overflow: hidden;
  background-image: radial-gradient(900px 380px at 50% -10%, rgba(255,194,14,.13), transparent 70%); }
.ab-crumbs { text-align: left; font-size: 13px; font-weight: 600; color: var(--navy-text); margin-bottom: 44px; }
.ab-crumbs a { color: #c3d1df; }
.ab-crumbs a:hover { color: var(--yellow); }
.page-about .ab-hero h1 { margin: 14px auto 18px; max-width: 960px; font-family: var(--cond); font-size: 80px; font-weight: 800; line-height: .92; text-transform: uppercase; color: #fff; }
.ab-hero-p { margin: 0 auto; max-width: 660px; font-size: 20px; line-height: 1.6; color: #c3d1df; }
.ab-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 30px 0 52px; }
.ab-app { position: relative; height: 420px; border-radius: 18px 18px 0 0; overflow: hidden; background: #46553a; box-shadow: 0 -10px 50px rgba(0,0,0,.35); text-align: left; color: var(--navy); }
.ab-app-bar { position: absolute; left: 0; right: 0; top: 0; height: 40px; background: #fff; display: flex; align-items: center; gap: 14px; padding: 0 14px; z-index: 2; font-size: 12.5px; font-weight: 600; }
.ab-app-bar .on { padding: 5px 10px; border-radius: 6px; background: var(--navy); color: #fff; font-weight: 700; }
.ab-app-map { position: absolute; left: 0; right: 340px; top: 40px; bottom: 0; }
.ab-app-map > svg { width: 100%; height: 100%; display: block; }
.ab-fcard { position: absolute; left: 46%; top: 70px; width: 300px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.ab-fcard .h, .ab-flight .h { background: var(--navy); color: #fff; padding: 12px 16px; }
.ab-fcard .cs, .ab-flight .cs { font-family: var(--mono); font-size: 20px; font-weight: 700; color: var(--yellow); display: block; }
.ab-fcard small { font-size: 13px; font-weight: 600; }
.ab-fcard .rt, .ab-flight .rt { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 14px 16px 10px; }
.ab-fcard .rt b, .ab-flight .rt b { display: block; font-family: var(--cond); font-size: 36px; font-weight: 800; line-height: 1; }
.ab-fcard .rt small, .ab-flight .rt small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.ab-fcard .rt > i { flex: 1; margin-bottom: 16px; border-top: 2px dashed #b8c4d0; }
.ab-fcard .r, .ab-flight .r { text-align: right; }
.prog { height: 5px; margin: 0 16px; background: var(--line-2); border-radius: 9px; overflow: hidden; }
.prog i { display: block; height: 100%; background: var(--yellow); border-radius: 9px; }
.ab-fcard .kv, .ab-flight .kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 12px 16px 14px; font-size: 11px; font-weight: 600; color: var(--muted); }
.ab-fcard .kv b, .ab-flight .kv b { display: block; font-family: var(--mono); font-size: 15px; color: var(--navy); }
.ab-app-side { position: absolute; right: 0; top: 40px; bottom: 0; width: 340px; background: var(--bg-soft); padding: 14px; box-sizing: border-box; }
.ab-fids, .ab-board, .ab-fc .vis.b { background: var(--navy); border-radius: 12px; overflow: hidden; color: #fff; }
.ab-fids .t { padding: 12px 14px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--yellow); }
.ab-fids .fr, .ab-fc .vis.b .fr, .ab-board .fr { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--navy-line); font-size: 13.5px; }
.ab-fids .c, .ab-fc .vis.b .c, .ab-board .c { font-family: var(--mono); font-weight: 700; color: var(--yellow); }
.ab-fids .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ab-fids .a { font-family: var(--mono); font-size: 12.5px; color: #c3d1df; }
.s.ok, .s.ap { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .04em; }
.s.ok { color: #6ee7a0; }
.s.ap { color: var(--yellow); }

/* 2. liczby */
.ab-stats { background: #fff; border-bottom: 1px solid var(--line); }
.ab-stats .ab-w { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: 34px; padding-bottom: 34px; }
.ab-stats .ab-w > div { padding: 0 0 0 20px; border-left: 4px solid var(--yellow); }
.ab-stats b { display: block; font-family: var(--mono); font-size: 38px; letter-spacing: -.03em; line-height: 1.1; }
.ab-stats span { font-size: 15px; font-weight: 600; color: var(--muted); }

/* 3. funkcje */
.ab-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ab-fc { display: block; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; color: var(--fg); transition: box-shadow .15s, transform .15s; }
.ab-fc:hover { color: var(--fg); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.ab-fc .vis { height: 150px; background: var(--navy); position: relative; overflow: hidden; }
.ab-fc .vis > svg { width: 100%; height: 100%; display: block; }
.ab-fc .vis.c { display: grid; place-items: center; }
.ab-fc .vis.b { border-radius: 0; padding-top: 20px; box-sizing: border-box; }
.ab-fc .vis.b .fr:first-child { border-top: 0; }
.ab-fc .vis.l { background: #e9edf1; }
.ab-fc .vis .bgm { position: absolute; inset: 0; width: 100%; height: 100%; }
.ab-fc .tx { padding: 20px 22px 22px; }
.ab-fc b { display: block; font-size: 19px; margin-bottom: 6px; }
.ab-fc p { margin: 0; font-size: 15px; line-height: 1.6; color: #475467; }
.ab-mroute { width: 250px; background: #fff; color: var(--navy); border-radius: 10px; padding: 10px 14px; display: flex; align-items: center; }
.ab-mroute b { font-family: var(--cond); font-size: 30px; font-weight: 800; margin: 0; }
.ab-mroute i { flex: 1; margin: 0 10px; border-top: 2px dashed #b8c4d0; }
.ab-malert { position: relative; display: flex; gap: 8px; align-items: center; background: var(--danger); color: #fff; border-radius: 10px; padding: 10px 14px; font-size: 14px; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.ab-malert b { font-size: 14px; margin: 0; }
.ab-mcode { font-family: var(--mono); color: #c3d1df; font-size: 13px; background: var(--navy-2); padding: 12px 14px; border-radius: 8px; }

/* 4. szczegóły */
.ab-band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ab-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 52px 0; }
.ab-row + .ab-row { border-top: 1px solid var(--line); }
.ab-row.rev > :first-child { order: 2; }
.page-about .ab-row h3 { margin: 6px 0 12px; font-family: var(--cond); font-size: 40px; font-weight: 800; text-transform: uppercase; line-height: 1; }
.ab-row p { margin: 0 0 14px; font-size: 17px; line-height: 1.7; color: #475467; }
.ab-chk { list-style: none; margin: 0; padding: 0; }
.ab-chk li { position: relative; padding: 6px 0 6px 30px; font-size: 16px; font-weight: 600; line-height: 1.45; }
.ab-chk li::before { content: "✓"; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.ab-ui { border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(11,31,51,.18); }
.ab-flight { background: #fff; border: 1px solid var(--line); }
.ab-flight .h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ab-flight .h small { font-size: 13px; font-weight: 600; color: #c3d1df; }
.ab-flight .tg { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--navy); background: var(--yellow); border-radius: 6px; padding: 4px 8px; }
.ab-flight .rt { padding: 18px 18px 12px; }
.ab-flight .rt b { font-size: 44px; }
.ab-flight .mid { flex: 1; position: relative; margin: 0 6px 30px; }
.ab-flight .mid i { display: block; border-top: 2px dashed #b8c4d0; }
.ab-flight .mid svg { position: absolute; left: 70%; top: -13px; width: 26px; height: 26px; fill: var(--navy); }
.ab-flight .prog { margin: 0 18px; }
.progl { display: flex; justify-content: space-between; padding: 6px 18px 0; font-size: 12px; font-weight: 600; color: var(--muted); }
.ab-flight .kv { grid-template-columns: repeat(4, 1fr); padding: 14px 18px; }
.ab-flight .ch { display: block; width: 100%; height: 70px; border-top: 1px solid var(--line-2); }
.ab-board .tabs { display: flex; gap: 18px; padding: 14px 16px 0; font-family: var(--mono); font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--navy-line); }
.ab-board .tabs span { color: var(--navy-text); padding-bottom: 10px; }
.ab-board .tabs .on { color: var(--yellow); border-bottom: 3px solid var(--yellow); }
.ab-board .tabs .ap { margin-left: auto; color: #c3d1df; font-weight: 600; }
.ab-board .tabs + .fr { border-top: 0; }
.ab-board .fr { grid-template-columns: 70px minmax(0, 1fr) auto; padding: 11px 16px; }
.ab-board .d { font-weight: 700; letter-spacing: .02em; }
.ab-board .d small { display: block; font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: var(--navy-text); letter-spacing: 0; }
.ab-board .sep { padding: 5px 16px; background: var(--navy-2); font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--navy-text); }
.ab-hist { background: #fff; border: 1px solid var(--line); }
.ab-hist svg { display: block; width: 100%; height: 210px; }
.ab-hist .ls { padding: 8px; }
.ab-hist .it { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 9px; font-size: 14px; }
.ab-hist .it.on { background: var(--brand-soft); }
.ab-hist .c { font-family: var(--mono); font-weight: 700; }
.ab-hist .t { font-family: var(--mono); color: var(--muted); }

/* 5. urządzenia */
.ab-dev { display: grid; grid-template-columns: minmax(0, 1fr) 660px; gap: 60px; align-items: center; }
.ab-dev .ab-lead { margin-bottom: 18px; }
.ab-devs { position: relative; height: 420px; }
.ab-devs .lap { position: absolute; right: 26px; top: 50px; width: 540px; }
.ab-devs .scr { border: 10px solid #1b2836; border-top-width: 14px; border-radius: 14px 14px 0 0; background: var(--navy); overflow: hidden; }
.ab-devs .scr img { display: block; width: 100%; height: auto; aspect-ratio: 2000 / 1086; }
.ab-devs .base { height: 14px; margin: 0 -26px; background: linear-gradient(#c9d1da, #a9b4c0); border-radius: 0 0 14px 14px; }
.ab-devs .phone { position: absolute; left: 0; top: 0; z-index: 1; width: 206px; border: 8px solid var(--navy); border-radius: 32px; overflow: hidden; box-sizing: border-box; box-shadow: 0 24px 50px rgba(11,31,51,.28); background: #46553a; }
.ab-devs .phone img { display: block; width: 100%; height: auto; aspect-ratio: 800 / 1537; }

/* 6. jak to działa */
.ab-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; position: relative; }
.ab-steps::before { content: ""; position: absolute; left: 16%; right: 16%; top: 42px; border-top: 2px dashed var(--line); }
.ab-step { text-align: center; position: relative; }
.ab-step .ic { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; position: relative; }
.ab-step .ic.y { background: var(--yellow); border-color: var(--yellow); }
.ab-step svg, .ab-who svg { width: 34px; height: 34px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ab-step b { display: block; font-size: 19px; margin-bottom: 6px; }
.ab-step p { margin: 0 auto; max-width: 300px; font-size: 15px; line-height: 1.6; color: #475467; }

/* 7. dla kogo */
.ab-who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ab-who > div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.ab-who .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-soft); display: grid; place-items: center; margin-bottom: 14px; }
.ab-who svg { width: 24px; height: 24px; }
.ab-who b { display: block; font-size: 18px; margin-bottom: 6px; }
.ab-who p { margin: 0; font-size: 15px; line-height: 1.6; color: #475467; }

/* 8. embed */
.ab-dark { background: var(--navy); color: #fff; }
.ab-dark .ab-h2 { color: #fff; }
.ab-dark .ab-lead { color: #c3d1df; margin-bottom: 24px; }
.ab-emb { display: grid; grid-template-columns: minmax(0, 1fr) 620px; gap: 56px; align-items: center; }
.ab-emb-box { background: #fff; border-radius: 14px; overflow: hidden; min-width: 0; box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.ab-emb-box .bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #e9edf1; border-bottom: 1px solid var(--line); }
.ab-emb-box .bar i { width: 10px; height: 10px; border-radius: 50%; background: #c2ccd6; }
.ab-emb-box .bar span { margin-left: 10px; flex: 1; max-width: 260px; height: 24px; border-radius: 6px; background: #fff; color: var(--muted); font-size: 12.5px; font-weight: 600; line-height: 24px; padding: 0 10px; }
.ab-emb-box .pg-mock { padding: 18px 20px 14px; display: grid; gap: 8px; }
.ab-emb-box .pg-mock b { width: 55%; height: 14px; border-radius: 4px; background: #24384f; }
.ab-emb-box .pg-mock i { height: 8px; border-radius: 4px; background: var(--line); }
.ab-emb-box .pg-mock i + i { width: 78%; }
.ab-emb-box img { display: block; width: calc(100% - 40px); height: auto; margin: 0 20px 20px; border-radius: 10px; aspect-ratio: 1180 / 702; }

/* 9. dane i źródła */
.ab-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-bottom: 16px; }
.ab-card, .ab-us { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.page-about .ab-card h3, .page-about .ab-us h3 { margin: 8px 0 14px; font-family: var(--cond); font-size: 32px; font-weight: 800; text-transform: uppercase; line-height: 1.05; }
.ab-src { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ab-src a { display: block; padding: 10px 12px; border-radius: 10px; background: var(--bg-soft); color: var(--fg); }
.ab-src a:hover { background: var(--brand-soft); color: var(--fg); }
.ab-src b { display: block; font-size: 15px; }
.ab-src span { font-size: 13px; color: var(--muted); }
.ab-thx { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

/* 10. kim jesteśmy */
.ab-us { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.ab-us p { margin: 0 0 10px; font-size: 16.5px; line-height: 1.7; color: #344054; }
.ab-us-box { background: var(--bg-soft); border-radius: 12px; padding: 20px; font-size: 15px; line-height: 1.8; }
.ab-us-box .ab-btn { display: flex; margin-top: 14px; height: 46px; }

/* 11. FAQ */
.ab-qs { max-width: 860px; margin: 0 auto; }
.ab-qs details { border-top: 1px solid var(--line); }
.ab-qs details:last-child { border-bottom: 1px solid var(--line); }
.ab-qs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 17px; font-weight: 700; }
.ab-qs summary::-webkit-details-marker { display: none; }
.ab-qs summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; font-size: 18px; font-weight: 700; }
.ab-qs details[open] summary::after { content: "–"; background: var(--yellow); }
.ab-qs p { margin: -4px 0 18px; font-size: 15.5px; line-height: 1.65; color: #475467; max-width: 760px; }

.page-about .pg-foot { margin-top: 0; }

@media (max-width: 1100px) {
  .ab-app-map { right: 0; }
  .ab-app-side { display: none; }
  .ab-dev, .ab-emb { grid-template-columns: minmax(0, 1fr); }
  .ab-devs { max-width: 520px; width: 100%; margin: 0 auto; }
  .ab-who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .ab-w { padding: 0 16px; }
  .ab-sec { padding-top: 52px; padding-bottom: 52px; }
  .ab-crumbs { margin-bottom: 26px; }
  .page-about .ab-hero h1 { font-size: 46px; }
  .ab-hero-p { font-size: 17px; }
  .ab-app { height: 340px; border-radius: 14px 14px 0 0; }
  .ab-app-bar { gap: 10px; font-size: 12px; }
  .hide-s { display: none; }
  .ab-fcard { left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; }
  .ab-stats .ab-w { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; padding-top: 26px; padding-bottom: 26px; }
  .ab-stats .ab-w > div { padding-left: 12px; }
  .ab-stats b { font-size: 28px; }
  .ab-stats span { font-size: 13.5px; }
  .page-about .ab-h2 { font-size: 34px; }
  .ab-lead { font-size: 16px; }
  .ab-head { margin-bottom: 26px; }
  .ab-feats, .ab-two { grid-template-columns: minmax(0, 1fr); }
  .ab-row { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 40px 0; }
  .ab-row.rev > :first-child { order: 0; }
  .page-about .ab-row h3 { font-size: 32px; }
  .ab-row p { font-size: 16px; }
  .ab-flight .rt b { font-size: 34px; }
  .ab-flight .kv { grid-template-columns: repeat(2, 1fr); row-gap: 10px; }
  .ab-board .tabs .ap { display: none; }
  .ab-devs { height: 250px; }
  .ab-devs .lap { width: 78%; top: 30px; right: 14px; }
  .ab-devs .base { margin: 0 -14px; }
  .ab-devs .phone { width: 128px; left: 0; border-radius: 24px; border-width: 6px; }
  .ab-steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ab-steps::before { display: none; }
  .ab-step { background: #fff; }
  .ab-step .ic { width: 72px; height: 72px; }
  .ab-who { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ab-who > div { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; padding: 18px; }
  .ab-who .ic { grid-row: span 2; margin: 0; }
  .ab-emb-box .pg-mock { padding: 14px 14px 10px; }
  .ab-emb-box img { width: calc(100% - 28px); margin: 0 14px 14px; }
  .ab-card, .ab-us { padding: 22px 18px; }
  .ab-us { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ab-src { grid-template-columns: minmax(0, 1fr); }
  .ab-qs summary { font-size: 16px; }
}

/* =================== 404 =================== */
.nf { margin: 6px 0 10px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 40px 32px 32px; }
.nf-board { display: inline-grid; grid-template-columns: auto auto auto; gap: 6px 26px; text-align: left; background: var(--navy); color: #fff; border-radius: 14px; padding: 16px 22px; font-family: var(--mono); box-shadow: var(--shadow-lg); }
.nf-board span { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--navy-text); }
.nf-board b { font-size: 20px; font-weight: 700; color: var(--yellow); }
.nf-board b:nth-of-type(2) { color: #fff; font-family: var(--sans); }
.nf-board b.x { color: #ff8a80; }
.page .nf h1 { margin: 26px 0 8px; font-size: 44px; }
.nf p { margin: 0 auto 22px; max-width: 560px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.nf-go { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.nf-btn { display: inline-flex; align-items: center; height: 48px; padding: 0 20px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--fg); font-weight: 700; text-decoration: none; }
.nf-btn:hover { border-color: var(--navy); color: var(--fg); }
.nf-btn.y { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.nf h2 { margin: 40px 0 12px; font-size: 18px; }
.nf-aps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; text-align: left; }
.nf-aps a { display: flex; background: var(--bg-soft); align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--fg); font-weight: 600; font-size: 14px; text-decoration: none; }
.nf-aps a:hover { border-color: var(--navy); color: var(--fg); }
.nf-aps b { font-family: var(--mono); font-size: 13px; color: var(--navy); background: var(--brand-soft); border-radius: 6px; padding: 3px 6px; }
@media (max-width: 980px) { .nf-aps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .nf { padding: 26px 16px 18px; } .page .nf h1 { font-size: 32px; } .nf-btn { flex: 1 1 100%; justify-content: center; } .nf-aps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
