/* ===== Szkolenia Drago - strona 2026-11-12 (projekt klienta SzkoleniaWWW.pdf) =====
   Ładowany PO /css/drago.css. Klasy z prefiksem szk-. Font: Poppins z drago.css. */
.szk {
  --szk-granat: #03122e; --szk-z: #0f8443; --szk-z-jasna: #14ab57; --szk-tekst: #1d1d1b; --szk-szary: #5b616b;
  --szk-linia: #d9dce1; --szk-tlo-pola: #e9e9ea;
  color: var(--szk-tekst);
}
:where(.szk) :where(h1, h2, h3, p, ul, ol) { margin: 0; }
.szk-wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 5%; box-sizing: border-box; }
@media (min-width: 1300px) { .szk-wrap { padding: 0; } }
.szk-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.szk a:focus-visible, .szk button:focus-visible, .szk [tabindex]:focus-visible { outline: 3px solid var(--szk-z-jasna); outline-offset: 3px; }

/* --- HERO: wideo na pełną wysokość ekranu pod paskiem menu (jak Biuro projektowe - oświetlenie) --- */
.szk-hero { position: relative; height: calc(100vh - 4.5rem); height: calc(100svh - var(--szk-nav, 4.5rem)); min-height: 30rem;
  display: grid; place-items: center; overflow: hidden; color: #fff; background: #13201a; isolation: isolate; margin: 0; }
.szk-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
/* 2026-11-15: przyciemnienie wideo wylaczone (decyzja klienta); czytelnosc bialych napisow trzyma cien pod tekstem */
.szk-hero::after { content: none; }
.szk-hero__tresc { text-align: center; padding: 2rem 5%; }
.szk-hero__ikona { width: 6rem; height: 6rem; margin: 0 auto 1.5rem; display: block; filter: drop-shadow(0 0 30px rgba(255,255,255,.25)); }
.szk-hero__tytul { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; text-shadow: 0 2px 24px rgba(0,0,0,.35); color: #fff; }
.szk-hero__podtytul { text-shadow: 0 1px 14px rgba(0,0,0,.45); margin-top: 1rem !important; font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem); font-weight: 300; color: #f3eee3; }
.szk-hero__dalej { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); color: #fff; padding: .5rem; animation: szk-odbicie 2.4s ease-in-out infinite; }
@keyframes szk-odbicie { 0%, 60%, 100% { transform: translate(-50%, 0); } 30% { transform: translate(-50%, 8px); } }

/* --- INTRO na granatowym tle z kołami --- */
.szk-intro { position: relative; overflow: hidden; background: var(--szk-granat); color: #fff; padding: clamp(3.5rem, 7vw, 6rem) 0; }
.szk-intro__kola { position: absolute; left: 0; top: 50%; width: 34rem; height: 34rem; transform: translate(-62%, -50%); pointer-events: none; }
.szk-intro__kola circle { fill: none; stroke: rgba(120, 186, 196, .22); stroke-width: 1; }
.szk-intro .szk-wrap { position: relative; }
.szk-h2 { font-size: clamp(1.6rem, 1.15rem + 1.7vw, 2.4rem); font-weight: 400; line-height: 1.25; letter-spacing: -.01em; }
.szk-intro .szk-h2 { color: #fff; }
.szk-intro__tekst { margin-top: 1.75rem !important; font-size: clamp(.95rem, .9rem + .2vw, 1.0625rem); font-weight: 400; line-height: 1.65; color: #fff; max-width: 62rem; }
.szk-intro__tekst + .szk-intro__tekst { margin-top: 1.25rem !important; }

/* --- KORZYŚCI 01-06 --- */
.szk-korzysci { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3rem); background: #fff; }
.szk-korzysci__lista { list-style: none; padding: 0; margin: 2.25rem 0 0 !important; display: grid; gap: 1.6rem; }
.szk-pkt { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1.4rem; align-items: center; }
.szk-pkt__nr { width: 3rem; height: 3rem; border-radius: 50%; background: var(--szk-granat); color: #fff; display: grid; place-items: center; font-size: .95rem; font-weight: 400; line-height: 1; }
.szk-pkt__tekst { font-size: clamp(.95rem, .9rem + .2vw, 1.0625rem); line-height: 1.55; }
.szk-pkt__tekst strong { font-weight: 600; }

/* --- KALENDARZ + LISTA --- */
.szk-kal-sekcja { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3.5rem, 7vw, 6rem); background: #fff; }
.szk-kal-uklad { margin-top: 2rem; display: grid; grid-template-columns: minmax(0, 23rem) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.szk-kal { border: 1px solid var(--szk-linia); border-radius: 16px; padding: 1.1rem 1.1rem 1.25rem; background: #fff; box-shadow: 0 2px 10px rgba(3, 18, 46, .06); }
.szk-kal__lata { display: flex; gap: .5rem; margin-bottom: .9rem; }
.szk-kal__rok { flex: 1; min-height: 2.5rem; border: 1px solid var(--szk-linia); background: #fff; border-radius: 999px; font: inherit; font-size: .9rem; color: var(--szk-tekst); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.szk-kal__rok:hover { border-color: var(--szk-granat); }
.szk-kal__rok[aria-pressed="true"] { background: var(--szk-granat); border-color: var(--szk-granat); color: #fff; }
.szk-kal__gora { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .6rem; }
.szk-kal__miesiac { font-size: 1.05rem; font-weight: 500; text-transform: capitalize; }
.szk-kal__nav { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; background: transparent; color: var(--szk-tekst); display: grid; place-items: center; cursor: pointer; transition: background-color .2s; }
.szk-kal__nav:hover:not([disabled]) { background: #f0f1f3; }
.szk-kal__nav[disabled] { opacity: .3; cursor: default; }
.szk-kal__siatka { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .15rem; text-align: center; }
.szk-kal__dzt { font-size: .75rem; font-weight: 500; color: var(--szk-szary); padding: .35rem 0; }
.szk-kal__dzien { aspect-ratio: 1 / 1; display: grid; place-items: center; font-size: .9rem; border-radius: 50%; border: 2px solid transparent; background: none; font-family: inherit; color: var(--szk-tekst); padding: 0; }
.szk-kal__dzien--pusty { visibility: hidden; }
.szk-kal__dzien--dzis { box-shadow: inset 0 0 0 1px var(--szk-linia); }
.szk-kal__dzien--termin { border-color: var(--szk-z); color: var(--szk-z); font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s; }
.szk-kal__dzien--termin:hover { background: rgba(15, 132, 67, .1); }
.szk-kal__dzien--wybrany, .szk-kal__dzien--wybrany:hover { background: var(--szk-z); border-color: var(--szk-z); color: #fff; }
.szk-kal__legenda { display: flex; align-items: center; gap: .5rem; margin-top: .9rem !important; font-size: .8rem; color: var(--szk-szary); }
.szk-kal__legenda::before { content: ""; width: .9rem; height: .9rem; border-radius: 50%; border: 2px solid var(--szk-z); flex: none; }

.szk-lista { position: relative; }
.szk-lista__przycisk { width: 100%; min-height: 3.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1.25rem; border: 0; border-radius: 14px;
  background: var(--szk-tlo-pola); font: inherit; font-size: 1rem; color: var(--szk-tekst); text-align: left; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.12); transition: background-color .2s; }
.szk-lista__przycisk:hover { background: #e0e0e2; }
.szk-lista__strzalka { flex: none; transition: transform .25s; }
.szk-lista__przycisk[aria-expanded="true"] .szk-lista__strzalka { transform: rotate(180deg); }
.szk-lista__opcje { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + .4rem); list-style: none; margin: 0; padding: .4rem; border-radius: 14px; background: #fff;
  box-shadow: 0 10px 30px rgba(3, 18, 46, .18); border: 1px solid var(--szk-linia); max-height: 20rem; overflow: auto; }
.szk-lista__opcje[hidden] { display: none; }
.szk-lista__opcja { padding: .7rem .9rem; border-radius: 10px; cursor: pointer; font-size: .95rem; line-height: 1.35; }
.szk-lista__opcja:hover, .szk-lista__opcja--aktywna { background: #f0f1f3; }
.szk-lista__opcja[aria-selected="true"] { color: var(--szk-z); font-weight: 600; }
.szk-tematy { margin-top: 1.5rem !important; display: grid; gap: 1rem; }
.szk-temat { font-size: .975rem; line-height: 1.6; transition: opacity .3s; }
.szk-temat strong { font-weight: 600; }
.szk-tematy--wybor .szk-temat { opacity: .55; }
.szk-tematy--wybor .szk-temat--aktywny { opacity: 1; }
.szk-zapis { margin-top: 2.5rem; text-align: center; }
.szk-zapis__btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.1rem; padding: .75rem 2.25rem; border-radius: 999px; background: #1d1d1b; color: #fff !important;
  font-size: 1.05rem; font-weight: 500; text-decoration: none !important; transition: background-color .2s, opacity .4s, transform .4s; }
.szk-zapis__btn:hover { background: var(--szk-z); }
.szk-zapis__btn[hidden] { display: none; }
.szk-zapis__btn--wejscie { animation: szk-pojaw .45s ease both; }
@keyframes szk-pojaw { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.szk-zapis__wybrane { margin-top: .75rem !important; font-size: .9rem; color: var(--szk-szary); min-height: 1.4em; }
.szk-zapis__info { margin-top: 1.25rem !important; font-size: .8rem; line-height: 1.6; color: var(--szk-szary); }
.szk-brak { font-size: .975rem; color: var(--szk-szary); }

/* --- wjazd od lewej po przewinięciu (tylko gdy działa JS i użytkownik nie ogranicza ruchu) --- */
@media (prefers-reduced-motion: no-preference) {
  .szk-js .szk-wjazd { opacity: 0; transform: translateX(-12vw); transition: opacity .9s ease, transform 1s cubic-bezier(.22,.7,.3,1); will-change: opacity, transform; }
  .szk-js .szk-wjazd.szk-widoczny { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .szk-hero__dalej { animation: none; } }

@media (min-width: 992px) { .szk-br-d { display: inline; } }
@media (max-width: 991px) {
  .szk-br-d { display: none; }
  .szk-kal-uklad { grid-template-columns: 1fr; }
  .szk-kal { max-width: 26rem; width: 100%; margin: 0 auto; order: 2; }
  .szk-lista-kol { order: 1; }
}
@media (max-width: 767px) {
  .szk-hero { height: calc(100svh - var(--szk-nav, 4rem)); }
  .szk-intro__kola { width: 22rem; height: 22rem; transform: translate(-70%, -50%); }
  .szk-pkt { grid-template-columns: 2.6rem minmax(0, 1fr); gap: 1rem; align-items: start; }
  .szk-pkt__nr { width: 2.6rem; height: 2.6rem; font-size: .85rem; }
  .szk-zapis__btn { width: 100%; }
}
