/* ==========================================================================
   OLT Express VA – wygląd 2.1 (efekty)
   Warstwa nakładana po style.css (wygląd 1.2): jasne tło, przewaga bieli i czerwieni,
   miękkie cienie, płynne przejścia i animacje, szerszy układ na Full HD.
   Usunięcie linku do tego pliku przywraca dokładnie wygląd 1.2.
   ========================================================================== */
:root {
  --v-ink: #0B1F33; --v-mute: #4A5A6E;
  --v-panel: #FFFFFF;
  --v-card: #FFFFFF;
  --v-soft: #F7F8FA;          /* karty na białych panelach */
  --v-line: rgba(11,31,51,.07);
  --v-red: #E30613; --v-red-2: #B8000D; --v-red-tint: #FDEEEF;
  --v-sh-1: 0 1px 2px rgba(11,31,51,.05), 0 4px 14px -6px rgba(11,31,51,.10);
  --v-sh-2: 0 1px 2px rgba(11,31,51,.05), 0 18px 40px -18px rgba(11,31,51,.22);
  --v-sh-3: 0 2px 4px rgba(11,31,51,.05), 0 30px 60px -24px rgba(11,31,51,.30);
  --v-sh-red: 0 16px 34px -14px rgba(227,6,19,.55);
  --v-ease: cubic-bezier(.22, .8, .24, 1);
}
html { scroll-behavior: smooth; }

/* ---------- Full HD: szerszy układ ---------- */
@media (min-width: 1680px) { :root { --wrap: 1480px; } }
@media (min-width: 2200px) { :root { --wrap: 1640px; } }

/* ---------- sekcje ---------- */
main > .section { position: relative; overflow-x: clip; }
main > .section:not(.join) > .wrap { position: relative; z-index: 1; }
main > .section:not(.join)::after { /* delikatna czerwona poświata w rogu */
  content: ""; position: absolute; right: -180px; top: -220px; width: 520px; height: 520px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(227,6,19,.07), rgba(227,6,19,0) 65%);
}
.section__head h2, .heritage__text h2 { color: var(--v-ink); }
.section__head h2::after, .heritage__text h2::after { /* czerwona kreska pod tytułem sekcji */
  content: ""; display: block; width: 56px; height: 4px; margin-top: 18px; border-radius: 4px;
  background: linear-gradient(90deg, var(--v-red), #FF4A55); transform-origin: left; transition: transform 1s var(--v-ease) .25s;
}
.rv .section__head[data-reveal]:not(.is-in) h2::after, .rv .heritage__text[data-reveal]:not(.is-in) h2::after { transform: scaleX(0); }

/* ---------- karty: białe, cień, uniesienie po najechaniu ---------- */
.panel, .faq__item, .fcard, .contact__card:not(.contact__card--red), .facts li, .nt__card, .sched-filter, .rf-card, .status-card, .hubcard:not(:first-child), .steps li {
  background-color: var(--v-card) !important; box-shadow: var(--v-sh-1) !important; outline: 1px solid var(--v-line); outline-offset: -1px;
  transition: transform .45s var(--v-ease), box-shadow .45s var(--v-ease), outline-color .3s !important;
}
.section--tint .panel, .section--tint .facts li, .section--tint .hubcard:not(:first-child), .section--tint .faq__item, .section--tint .fcard,
.legal .panel, .recruit .status-card { background-color: var(--v-card) !important; }
.panel:hover, .fcard:hover, .faq__item:hover, .contact__card:not(.contact__card--red):hover, .nt__card:hover, .hubcard:not(:first-child):hover, .facts li:hover, .steps li:hover {
  transform: translateY(-4px) !important; box-shadow: var(--v-sh-2) !important; outline-color: rgba(227,6,19,.18);
}
.rv .panel[data-reveal].is-in:hover { transform: translateY(-4px) !important; }
.faq__item[open] { box-shadow: var(--v-sh-2), inset 3px 0 0 var(--v-red) !important; }
.fcard { overflow: hidden; }
.fcard .fmedia img, .fcard picture img { transition: transform 1.4s var(--v-ease); }
.fcard:hover .fmedia img, .fcard:hover picture img { transform: scale(1.05); }
.list li { background: var(--v-soft); transition: background-color .3s, transform .35s var(--v-ease); }
.list li:hover { background: var(--v-red-tint); transform: translateX(3px); }
.list .ico { background: var(--v-red-tint); color: var(--v-red); }
.kpi dd { color: var(--v-ink); }
.kpi:last-child dd { color: var(--v-red); }
.net__map { background: var(--v-soft) !important; box-shadow: inset 0 0 0 1px var(--v-line); }
.fld input:not([type=checkbox]):not([type=radio]), .fld select, .fld textarea { background: var(--v-soft) !important; border-color: var(--v-line) !important; transition: border-color .25s, box-shadow .25s, background-color .25s; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--v-red) !important; box-shadow: 0 0 0 4px rgba(227,6,19,.10) !important; }
.heritage__photo img, .heritage__photo picture { box-shadow: var(--v-sh-3); }

/* ciemne karty → czerwone (gradient) */
.contact__card--red, .hubcard:first-child, .net__hubs:not(.is-two) .hubcard {
  background: radial-gradient(420px 260px at 100% 0%, rgba(255,255,255,.18), rgba(255,255,255,0) 60%), linear-gradient(135deg, var(--v-red) 0%, var(--v-red-2) 100%) !important;
  box-shadow: var(--v-sh-red) !important; color: #fff;
}
.contact__card--red .btn--white, .contact__card--red .btn { box-shadow: none; }

/* ---------- przyciski: płynne przejścia, połysk ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: transform .35s var(--v-ease), box-shadow .35s var(--v-ease), background-color .25s, color .25s, border-color .25s !important; }
.btn--red { background: linear-gradient(135deg, #EE1622 0%, var(--v-red-2) 100%) !important; box-shadow: 0 8px 20px -10px rgba(227,6,19,.7); }
.btn--red:hover { transform: translateY(-2px); box-shadow: var(--v-sh-red); }
.btn:active { transform: translateY(0) scale(.98); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transition: transform .8s var(--v-ease); }
.btn:hover::after { transform: translateX(120%) skewX(-20deg); }
.btn--outline:hover { border-color: var(--v-red) !important; color: var(--v-red) !important; }

/* ---------- nawigacja ---------- */
.nav__inner { background: rgba(255,255,255,.86) !important; box-shadow: var(--v-sh-1); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .4s, background-color .4s; }
.nav.is-compact .nav__inner { box-shadow: var(--v-sh-2); }
.nav__links a { transition: background-color .3s, color .3s; }
.nav__links a.is-active { background: var(--v-red) !important; color: #fff !important; box-shadow: 0 6px 16px -8px rgba(227,6,19,.8) !important; }
.nav__links a:not(.is-active):hover { background: var(--v-red-tint); color: var(--v-red); }

/* ---------- pasek NOTAM ---------- */
.ticker__badge, .ticker__label, .ticker > b:first-child { background: var(--v-red) !important; color: #fff !important; }
.ticker__badge::after, .ticker__badge::before { border-left-color: var(--v-red) !important; }

/* ---------- pierwszy ekran ---------- */
.hero__frame.is-photo .hero__media { animation: v21-kb 24s ease-in-out infinite alternate; transform-origin: 60% 50%; will-change: transform; }
@keyframes v21-kb { from { transform: scale(1); } to { transform: scale(1.07) translate(-.8%, -.6%); } }
.hero__title { text-shadow: 0 2px 24px rgba(5,14,26,.25); }
.hero__content > * { animation: v21-up .9s var(--v-ease) both; }
.hero__content > *:nth-child(2) { animation-delay: .12s; } .hero__content > *:nth-child(3) { animation-delay: .24s; } .hero__content > *:nth-child(4) { animation-delay: .36s; }
@keyframes v21-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
/* ---------- sekcja „Dołącz” – czerwona zamiast granatowej ---------- */
main > .section.join {
  background: radial-gradient(900px 520px at 90% 0%, rgba(255,255,255,.20), rgba(255,255,255,0) 60%), radial-gradient(700px 420px at 0% 100%, rgba(120,0,8,.45), rgba(120,0,8,0) 65%), linear-gradient(135deg, #E8101C 0%, #B3000C 100%) !important;
  box-shadow: var(--v-sh-red) !important; outline: 0;
}
.join h2, .join p { color: #fff !important; }
.join .steps li { background: rgba(255,255,255,.12) !important; outline-color: rgba(255,255,255,.22); box-shadow: none !important; backdrop-filter: blur(6px); }
.join .steps li:hover { background: rgba(255,255,255,.2) !important; }
.join .steps li h3, .join .steps li p, .join .steps li span { color: #fff !important; }
.join .pass { box-shadow: 0 40px 80px -30px rgba(80,0,5,.6) !important; }
.join .btn--red { background: #fff !important; color: var(--v-red) !important; }

/* ---------- podstrony: jasny nagłówek ze zdjęciem ---------- */
.recruit-hero, .recruit-hero--navy {
  color: var(--v-ink) !important; box-shadow: var(--v-sh-1);
  background: radial-gradient(700px 380px at 100% 0%, rgba(227,6,19,.16), rgba(227,6,19,0) 62%),
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 45%, rgba(255,255,255,.55) 75%, rgba(255,255,255,.2) 100%),
    url("../img/hero.webp") 78% calc(42% + var(--py, 0px)) / cover no-repeat, #fff !important;
}
.recruit-hero::before { opacity: .035 !important; background-image: repeating-linear-gradient(115deg, var(--v-red) 0 1px, transparent 1px 22px) !important; }
.recruit-hero__title, .recruit-hero h1 { color: var(--v-ink) !important; }
.recruit-hero__lead, .recruit-hero p { color: #3B4B5E !important; }
.recruit-hero .hero__kicker { background: var(--v-red-tint) !important; border-color: rgba(227,6,19,.2) !important; color: var(--v-red) !important; }
.recruit-hero .stat, .recruit-hero #schedStats li, .recruit-hero .sched-ver, .recruit-hero #schedVer { background: rgba(255,255,255,.85) !important; color: var(--v-ink) !important; border-color: var(--v-line) !important; box-shadow: var(--v-sh-1); }
.recruit-hero #schedStats li * { color: inherit; }
.recruit-hero #schedStats li b, .recruit-hero #schedStats li strong { color: var(--v-red) !important; }
.sched-next { box-shadow: var(--v-sh-3) !important; }
.recruit-hero__inner > * { animation: v21-up .8s var(--v-ease) both; }
.recruit-hero__inner > *:nth-child(2) { animation-delay: .08s; } .recruit-hero__inner > *:nth-child(3) { animation-delay: .16s; } .recruit-hero__inner > *:nth-child(4) { animation-delay: .24s; }
@media (max-width: 760px) {
  .recruit-hero, .recruit-hero--navy { background: radial-gradient(500px 300px at 100% 0%, rgba(227,6,19,.14), rgba(227,6,19,0) 62%), linear-gradient(180deg, rgba(255,255,255,.86) 0%, rgba(255,255,255,.97) 70%), url("../img/hero-sm.webp") 70% 40% / cover no-repeat, #fff !important; }
}

/* ---------- stopka: jasna ---------- */
.footer { background: #FFFFFF !important; color: var(--v-ink) !important; box-shadow: var(--v-sh-1); outline: 1px solid var(--v-line); outline-offset: -1px; }
.footer::before { display: block !important; height: 4px; background: linear-gradient(90deg, var(--v-red) 0 50%, #fff 50% 100%); box-shadow: 0 1px 0 var(--v-line); }
.footer__logo { background: transparent !important; padding: 0 !important; }
.footer__slogan { color: var(--v-red) !important; }
.footer__about, .footer p, .footer__legal, .footer__legal p { color: #4A5A6E !important; }
.footer h3, .footer h4, .footer__col h3, .footer__col h4, .footer__head { color: var(--v-ink) !important; }
.footer a { color: #3B4B5E !important; transition: color .25s; }
.footer a:hover { color: var(--v-red) !important; }
.footer__legal { border-top-color: var(--v-line) !important; }
.footer__admin { color: #5F6B7A !important; }
.footer__social a { border-color: var(--v-line) !important; color: var(--v-ink) !important; transition: background-color .3s, color .3s, transform .35s var(--v-ease); }
.footer__social a:hover { background: var(--v-red); color: #fff !important; transform: translateY(-2px); }
.footer .lang-sw, .footer button { color: var(--v-ink) !important; border-color: rgba(11,31,51,.18) !important; }

/* ---------- partnerzy, reklamy ---------- */
.partners a, .partners li { transition: color .3s, transform .4s var(--v-ease), filter .3s; }
.partners li:hover { transform: translateY(-2px); }

/* ---------- animacje odsłaniania – płynniejsze, z lekkim rozmyciem ---------- */
.rv [data-reveal] { transform: translateY(32px) scale(.985); filter: blur(4px); transition: opacity 1s var(--v-ease), transform 1.1s var(--v-ease), filter 1s var(--v-ease); transition-delay: var(--d, 0ms); }
.rv [data-reveal].is-in { filter: none; transform: none; }

/* ---------- drobne ---------- */
::selection { background: rgba(227,6,19,.18); }
a, button { -webkit-tap-highlight-color: rgba(227,6,19,.12); }
img { image-rendering: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__frame.is-photo .hero__media { animation: none !important; }
  .hero__content > *, .recruit-hero__inner > * { animation: none !important; }
  .rv [data-reveal] { filter: none; }
  .btn::after { display: none; }
}

/* ---------- akcenty: zaznaczone pigułki i filtry na czerwono ---------- */
.fleet__tabs button[aria-selected="true"], .sched-countries .ctry.is-on, .ctry.is-on, .net__filter button.is-on, .wx__chips button.is-on, .nt-filter button.is-on,
.news-filter button.is-on, .legal__tabs [aria-current="page"], .pill[aria-pressed="true"], .pill.is-on, .bd__days span.is-on, .sviews [aria-selected="true"] {
  background: var(--v-red) !important; border-color: var(--v-red) !important; color: #fff !important; box-shadow: 0 6px 16px -8px rgba(227,6,19,.7);
}
.pill, .ctry, .net__filter button, .wx__chips button, .nt-filter button, .news-filter button { transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--v-ease); }
.pill:hover, .ctry:hover, .net__filter button:hover, .wx__chips button:hover, .news-filter button:hover { transform: translateY(-1px); }
.ticker__pause { background: var(--v-red) !important; border-color: var(--v-red) !important; }
.totop { background: var(--v-red) !important; box-shadow: var(--v-sh-red) !important; }
.footer h2 { color: var(--v-ink) !important; }
.faq__ask, .faq__more, .faq__cta { background: linear-gradient(135deg, var(--v-red) 0%, var(--v-red-2) 100%) !important; box-shadow: var(--v-sh-red) !important; }
.faq__facts li:nth-child(2) svg, .faq__facts li:nth-child(3) svg { background: var(--v-red) !important; }
.faq__ask .btn, .faq__ask a { background: #fff !important; color: var(--v-red) !important; }

/* ---------- wideo w tle pierwszego ekranu ---------- */
/* całe ujęcie widoczne (bez przycinania); pasy po bokach/na górze wypełnia rozmyte zdjęcie */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; opacity: 0; transition: opacity 1.2s var(--v-ease); z-index: 1; background: transparent; }
.hero__video.is-on { opacity: 1; }
.hero__frame.has-video .hero__media { animation: none !important; }
.hero__frame.has-video .hero__media img { filter: blur(26px) brightness(.82) saturate(1.1); transform: scale(1.12) !important; }
.hero__frame.has-video .hero__shade { background: linear-gradient(90deg, rgba(11,31,51,.82) 0%, rgba(11,31,51,.6) 38%, rgba(11,31,51,.22) 68%, rgba(11,31,51,.12) 100%), linear-gradient(0deg, rgba(11,31,51,.72) 0%, rgba(11,31,51,0) 48%), linear-gradient(180deg, rgba(11,31,51,.34) 0%, rgba(11,31,51,0) 22%); }
.hero__sound { position: absolute; z-index: 5; right: clamp(20px, 3vw, 48px); top: calc(var(--nav-h) + 52px); display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 14px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; background: rgba(11,31,51,.55); color: #fff; font: 600 .9rem/1 var(--f-body); cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color .3s, border-color .3s, transform .35s var(--v-ease); }
.hero__sound svg { width: 22px; height: 22px; }
.hero__sound:hover { background: var(--v-red); border-color: var(--v-red); transform: translateY(-2px); }
.hero__sound[aria-pressed="true"] { background: var(--v-red); border-color: var(--v-red); }
.hero__sound:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 1080px) { .hero__sound span { display: none; } .hero__sound { padding: 0 12px; } }

/* ---------- Poradnik pilota (poradnik.html) ---------- */
.guide .legal__wrap { max-width: 900px; }
.guide__body h3 { margin: 24px 0 8px; font: 600 1.2rem/1.2 var(--f-display); color: var(--navy); }
.guide__body ol { padding-left: 1.3em; }
.guide__body blockquote { margin: 22px 0; padding: 14px 20px; border-left: 4px solid var(--red); border-radius: 0 var(--r) var(--r) 0; background: var(--red-tint); color: var(--navy); }
.guide__body blockquote p { margin: 0; }
.guide__crumbs { margin: 0 0 18px; font-size: .92rem; color: var(--muted); }
.guide__crumbs a { color: var(--muted); }
.guide__fig { margin: 0 0 26px; border-radius: var(--r-lg); overflow: hidden; background: var(--tint); box-shadow: var(--shadow); }
.guide__fig img { width: 100%; height: auto; }
.guide__toc ol { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 22px; padding-left: 1.3em; margin: 18px 0 8px; }
.guide__course { margin-top: 40px; padding-top: 6px; border-top: 1px solid #E6EAEE; scroll-margin-top: 110px; }
.guide__lessons { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.guide__lessons a { display: block; padding: 14px 18px; border: 1px solid #E1E6EB; border-radius: var(--r); background: #fff; text-decoration: none; color: var(--navy); box-shadow: var(--shadow-sm); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.guide__lessons a:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-2px); }
.guide__lessons strong { display: block; font: 600 1.08rem/1.25 var(--f-body); color: var(--navy); }
.guide__lessons span { display: block; margin-top: 4px; font-size: .92rem; line-height: 1.5; color: var(--muted); }
.guide__pn { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 40px 0 10px; }
.guide__pn a { display: block; padding: 14px 18px; border: 1px solid #E1E6EB; border-radius: var(--r); text-decoration: none; color: var(--navy); font-weight: 600; background: #fff; transition: border-color .25s; }
.guide__pn a:hover { border-color: var(--red); }
.guide__pn small { display: block; margin-bottom: 4px; font-weight: 500; font-size: .8rem; color: var(--muted); }
.guide__next { text-align: right; }
.guide__cta { margin: 36px 0 0; padding: 24px 26px; border-radius: var(--r-lg); background: var(--tint); border: 1px solid #E6EAEE; }
.guide__cta h2 { margin-top: 0 !important; }
.guide__cta .btn { margin: 6px 8px 0 0; text-decoration: none; }
@media (max-width: 640px) { .guide__pn { grid-template-columns: 1fr; } .guide__next { text-align: left; } }
.guide__cta .btn--red, .guide__cta .btn--red:hover { color: #fff; }
.guide__cta .btn--outline { color: var(--navy); }
.nav__links a { white-space: nowrap; }
.guide__body > p, .guide__course > p { margin: 0 0 14px; }
.guide .guide__toc ol { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px 40px; padding-left: 2.2em; }
.guide__toc li { padding-left: 4px; }
.guide__toc a { text-decoration: none; border-bottom: 1px solid rgba(200, 0, 14, .3); }
.guide__toc a:hover { border-bottom-color: var(--red); }
.guide__body { overflow-wrap: anywhere; }
