/* ==========================================================================
   STELLA — Szkoła Jazdy · wersja 2 · style.css
   Motyw: polskie znaki drogowe. Niebieska tablica, żółty pas, asfalt.
   Archivo (szeroki krój jak na drogowskazach) + Onest (tekst). Mobile-first.
   ========================================================================== */

:root {
    --asfalt: #15171d;
    --asfalt-2: #20232b;
    --asfalt-3: #2c303a;
    --znak: #1a4fd6;
    --znak-ciemny: #0f2f8a;
    --znak-jasny: #e8eefc;
    --pas: #ffd21f;
    --pas-ciemny: #e0b400;
    --stop: #e33b2e;
    --papier: #f3f5f8;
    --biel: #ffffff;
    --tekst: #1a1d24;
    --szary: #5d6474;
    --szary-2: #8b92a1;
    --linia: #dfe3ea;
    --linia-ciemna: rgba(255, 255, 255, 0.12);

    --f-display: 'Archivo', 'Arial Narrow', sans-serif;
    --f-body: 'Onest', system-ui, sans-serif;

    --r-lg: 26px;
    --r-md: 18px;
    --r-sm: 12px;
    --wrap: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 68px;
    --pad: clamp(72px, 11vw, 136px);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 900px) { :root { --header-h: 84px; } }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { font-family: var(--f-body); font-size: 16.5px; line-height: 1.6; color: var(--tekst); background: var(--biel); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
[hidden] { display: none !important; }
::selection { background: var(--pas); color: var(--asfalt); }
:focus-visible { outline: 3px solid var(--znak); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--pad); }
.bg-papier { background: var(--papier); }

/* ---------- typografia ---------- */
.display, h1, h2, h3 { font-family: var(--f-display); font-stretch: 118%; font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; color: var(--asfalt); }
h1 { font-size: clamp(2.7rem, 10.5vw, 6rem); font-stretch: 125%; line-height: .94; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 6.2vw, 3.6rem); }
h3 { font-size: clamp(1.2rem, 2.6vw, 1.5rem); font-stretch: 112%; line-height: 1.15; letter-spacing: -0.01em; }
.label { font-family: var(--f-display); font-stretch: 80%; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--znak); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 22px; height: 22px; border-radius: 5px; background: var(--znak); box-shadow: inset 0 0 0 2px var(--znak), inset 0 0 0 4px #fff; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--szary); line-height: 1.55; max-width: 58ch; }
.hl { background: linear-gradient(transparent 62%, var(--pas) 62%, var(--pas) 92%, transparent 92%); padding: 0 .06em; }
.sec-head { margin-bottom: clamp(36px, 6vw, 64px); max-width: 760px; }
.sec-head h2 + .lead { margin-top: 18px; }

/* ---------- przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 14px; font-weight: 700; font-size: 16px; line-height: 1.1; border: 2px solid transparent; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-pas { background: var(--pas); color: var(--asfalt); box-shadow: 0 6px 0 var(--pas-ciemny); }
.btn-pas:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--pas-ciemny); }
.btn-pas:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--pas-ciemny); }
.btn-asfalt { background: var(--asfalt); color: #fff; }
.btn-asfalt:hover { background: var(--asfalt-3); }
.btn-line { border-color: var(--linia); background: var(--biel); color: var(--asfalt); }
.btn-line:hover { border-color: var(--asfalt); }
.btn-ghost-inv { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost-inv:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14.5px; border-radius: 12px; }
.btn .ico { width: 20px; height: 20px; }

/* ==========================================================================
   NAGŁÓWEK
   ========================================================================== */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); display: flex; align-items: center; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .3s, background .3s; }
.header.scrolled { box-shadow: 0 1px 0 var(--linia), 0 10px 30px rgba(21, 23, 29, .06); background: rgba(255, 255, 255, .95); }
.header .wrap { display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { height: 50px; width: auto; }
@media (min-width: 900px) { .brand img { height: 66px; } }
.nav { display: none; }
.nav a { position: relative; padding: 10px 12px; font-weight: 600; font-size: 15px; color: var(--szary); transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--asfalt); }
.nav a.active::after, .nav a:hover::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--pas) 0 8px, transparent 8px 12px); }
.header-phone { display: none; }
.menu-btn { width: 46px; height: 46px; border-radius: 12px; border: 2px solid var(--linia); display: grid; place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--asfalt); border-radius: 2px; transition: transform .3s var(--ease), background .2s; }
.menu-btn span { position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.nav-open .menu-btn span { background: transparent; }
.nav-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
.header-call { width: 46px; height: 46px; border-radius: 12px; background: var(--pas); display: grid; place-items: center; }
.header-call .ico { width: 20px; height: 20px; }

@media (min-width: 1040px) {
    .nav { display: flex; align-items: center; gap: 2px; }
    .header-phone { display: inline-flex; }
    .menu-btn, .header-call { display: none; }
}

/* menu mobilne */
.mnav { position: fixed; inset: var(--header-h) 0 0; z-index: 49; background: var(--biel); padding: 20px var(--gutter) 32px; display: flex; flex-direction: column; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
.nav-open .mnav { opacity: 1; visibility: visible; transform: none; }
.nav-open { overflow: hidden; }
.mnav a.mlink { display: flex; justify-content: space-between; align-items: center; padding: 16px 2px; border-bottom: 1px solid var(--linia); font-family: var(--f-display); font-stretch: 115%; font-weight: 800; font-size: 24px; letter-spacing: -.01em; color: var(--asfalt); }
.mnav a.mlink .ico { color: var(--szary-2); }
.mnav .mnav-foot { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }

/* ==========================================================================
   HERO — drogowskaz
   ========================================================================== */
.hero { padding: calc(var(--header-h) + clamp(28px, 6vw, 72px)) 0 clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
.hero h1 .accent { color: var(--znak); display: block; }
.hero .lead { margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 30px; }
.hero-actions .btn { flex: 1 1 220px; }
.hero-note { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14.5px; color: var(--szary); }
.rating-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--papier); border: 1px solid var(--linia); font-weight: 700; color: var(--asfalt); font-size: 14px; }
.rating-chip .stars { color: #f5a400; letter-spacing: 1px; }
.rating-chip svg { width: 18px; height: 18px; }

.hero-visual { position: relative; }
.hero-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--papier); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }

.sign { position: relative; margin: -44px 14px 0; z-index: 2; filter: drop-shadow(0 22px 34px rgba(15, 47, 138, .35)); }
.sign-plate { background: var(--znak); color: #fff; border-radius: 16px; padding: 7px; }
.sign-in { border: 3px solid #fff; border-radius: 11px; padding: 14px 16px 12px; }
.sign-row { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 8px 0; font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: clamp(17px, 4.2vw, 22px); line-height: 1.1; }
.sign-row + .sign-row { border-top: 2px solid rgba(255, 255, 255, .22); }
.sign-row .arr { width: 30px; height: 30px; stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sign-row .dist { font-stretch: 100%; font-weight: 800; background: #fff; color: var(--znak); padding: 3px 9px; border-radius: 6px; font-size: .78em; letter-spacing: .01em; }
.sign-foot { margin-top: 8px; padding-top: 10px; border-top: 2px solid #fff; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.sign-foot b { white-space: nowrap; font-family: var(--f-display); font-stretch: 112%; font-size: clamp(20px, 4.6vw, 26px); color: var(--pas); font-weight: 800; letter-spacing: -.01em; }

/* sekwencja wejścia drogowskazu */
.js .sign-plate { animation: signIn .7s var(--ease) .15s both; }
.js .sign-row { animation: rowIn .5s var(--ease) both; }
.js .sign-row:nth-child(1) { animation-delay: .45s; }
.js .sign-row:nth-child(2) { animation-delay: .6s; }
.js .sign-row:nth-child(3) { animation-delay: .75s; }
.js .sign-foot { animation: rowIn .5s var(--ease) .95s both; }
@keyframes signIn { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes rowIn { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }

@media (min-width: 980px) {
    .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
    .hero h1 { font-size: clamp(3.4rem, 6.4vw, 5.6rem); }
    .hero-visual { padding: 0 0 120px 40px; }
    .hero-photo { aspect-ratio: 4 / 3.3; }
    .hero-photo img { object-position: 55% 40%; }
    .sign { position: absolute; margin: 0; left: 0; bottom: 0; width: min(330px, 66%); }
}

/* pasek faktów pod hero */
.facts { border-block: 1px solid var(--linia); background: var(--biel); }
.facts ul { display: grid; grid-template-columns: 1fr 1fr; }
.facts li { padding: 18px 14px; display: grid; gap: 2px; border-right: 1px solid var(--linia); border-bottom: 1px solid var(--linia); }
.facts li:nth-child(2n) { border-right: 0; }
.facts li:nth-last-child(-n + 2) { border-bottom: 0; }
.facts b { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: clamp(17px, 3vw, 22px); color: var(--asfalt); letter-spacing: -.01em; }
.facts span { font-size: 13.5px; color: var(--szary); line-height: 1.35; }
@media (min-width: 900px) {
    .facts ul { grid-template-columns: repeat(4, 1fr); }
    .facts li { padding: 24px 22px; border-bottom: 0; }
    .facts li:nth-child(2n) { border-right: 1px solid var(--linia); }
    .facts li:last-child { border-right: 0; }
}

/* ==========================================================================
   O NAS
   ========================================================================== */
.about-grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-copy h2 { margin-bottom: 22px; }
.about-copy p { color: var(--szary); font-size: clamp(1rem, 1.8vw, 1.1rem); }
.about-copy p + p { margin-top: 14px; }
.about-copy .about-lead { font-size: clamp(1.2rem, 2.6vw, 1.5rem); line-height: 1.4; color: var(--asfalt); font-weight: 500; }
.about-copy strong { color: var(--asfalt); }
.gears { display: grid; gap: 10px; margin-top: 18px; }
.gear-row { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 14px 18px 14px 14px; border: 1px solid var(--linia); border-radius: var(--r-md); background: var(--biel); transition: border-color .2s, transform .2s var(--ease); }
.gear-row:hover { border-color: var(--asfalt); transform: translateX(3px); }
.gear-row .gear { justify-self: start; background: var(--pas); color: var(--asfalt); padding: 6px 10px; border-radius: 8px; }
.gear-row + .gear-row .gear { background: var(--znak); color: #fff; }
.gear-row b { display: block; font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 19px; color: var(--asfalt); line-height: 1.2; }
.gear-row span:not(.gear) { display: block; font-size: 14.5px; color: var(--szary); line-height: 1.45; margin-top: 2px; }
.about-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--asfalt); aspect-ratio: 5 / 4; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
@media (min-width: 1040px) { .about-grid { grid-template-columns: 1.05fr .95fr; } .about-photo { aspect-ratio: 4 / 4.4; } }

/* ==========================================================================
   INSTRUKTOR
   ========================================================================== */
.instr-grid { display: grid; gap: clamp(36px, 6vw, 80px); align-items: center; }
.instr-photos { position: relative; max-width: 520px; width: 100%; margin-inline: auto; padding: 0 0 70px 0; }
.instr-photos .main { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; width: 82%; }
.instr-photos .main img { width: 100%; height: 100%; object-fit: cover; }
.instr-photos .small { position: absolute; right: 0; bottom: 0; width: 46%; border-radius: var(--r-md); overflow: hidden; border: 6px solid var(--papier); aspect-ratio: 3 / 4; box-shadow: 0 20px 40px rgba(21, 23, 29, .18); }
.instr-photos .small img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.instr-photos .tag { position: absolute; left: 14px; top: 14px; background: var(--biel); color: var(--asfalt); padding: 8px 12px; border-radius: 10px; font-size: 13px; font-weight: 700; box-shadow: 0 8px 20px rgba(21, 23, 29, .14); }
.instr-copy .letter p { font-size: clamp(1.02rem, 1.9vw, 1.12rem); color: var(--tekst); }
.instr-copy .letter p + p { margin-top: 16px; }
.instr-copy .intro { font-size: clamp(1.15rem, 2.4vw, 1.4rem); line-height: 1.45; color: var(--asfalt); margin: 18px 0 22px; font-weight: 500; }
.sign-off { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.sign-off .name { font-family: var(--f-display); font-stretch: 118%; font-weight: 800; font-size: 22px; color: var(--asfalt); line-height: 1.1; }
.sign-off small { display: block; font-size: 13.5px; color: var(--szary); font-weight: 500; font-stretch: 100%; font-family: var(--f-body); letter-spacing: 0; }
.plates { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.plate { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--biel); border: 1px solid var(--linia); font-size: 14px; font-weight: 600; }
.plate::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--znak); }
.instr-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (min-width: 980px) { .instr-grid { grid-template-columns: .9fr 1.1fr; } }

/* ==========================================================================
   DROGA DO PRAWKA — oś czasu jako droga
   ========================================================================== */
.road-grid { display: grid; gap: clamp(28px, 5vw, 64px); }
.road-side .lead { margin-top: 18px; }
.road-side .btn { margin-top: 28px; }
.road { position: relative; padding-left: 74px; --progress: 0; }
.road::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 52px; border-radius: 26px; background: var(--asfalt); }
.road::after { content: ''; position: absolute; left: 24px; top: 26px; bottom: 26px; width: 4px; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .35) 0 16px, transparent 16px 30px); }
.road-fill { position: absolute; left: 24px; top: 26px; width: 4px; height: calc((100% - 52px) * var(--progress)); background: repeating-linear-gradient(180deg, var(--pas) 0 16px, transparent 16px 30px); z-index: 1; transition: height .1s linear; }
.stop { position: relative; padding: 4px 0 34px; }
.stop:last-child { padding-bottom: 4px; }
.stop-n { position: absolute; left: -74px; top: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; z-index: 2; font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 20px; color: var(--asfalt); background: var(--biel); border: 4px solid var(--asfalt); transition: background .3s, transform .3s var(--ease); }
.stop.passed .stop-n { background: var(--pas); transform: scale(1.06); }
.stop-card { background: var(--biel); border: 1px solid var(--linia); border-radius: var(--r-md); padding: 18px 20px; }
.stop-card h3 { font-size: clamp(1.15rem, 2.4vw, 1.35rem); }
.stop-card p { margin-top: 6px; color: var(--szary); font-size: 15.5px; }
.stop-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.who { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 7px; font-size: 12px; }
.who-ty { background: var(--papier); color: var(--szary); border: 1px solid var(--linia); }
.who-my { background: var(--znak-jasny); color: var(--znak-ciemny); }
.who-mord { background: #fff5d1; color: #7a5a00; }
.stop-finish .stop-n { background: var(--znak); color: #fff; border-color: var(--znak); }
.stop-finish .stop-card { background: var(--znak); border-color: var(--znak); color: #fff; }
.stop-finish .stop-card h3 { color: #fff; }
.stop-finish .stop-card p { color: rgba(255, 255, 255, .85); }
@media (min-width: 980px) {
    .road-grid { grid-template-columns: .8fr 1.2fr; align-items: start; }
    .road-side { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ==========================================================================
   CENNIK — asfalt
   ========================================================================== */
.pricing { background: var(--asfalt); color: #fff; position: relative; overflow: hidden; }
.pricing h2, .pricing h3 { color: #fff; }
.pricing .lead { color: rgba(255, 255, 255, .7); }
.pricing .eyebrow { color: var(--pas); }
.pricing .eyebrow::before { background: var(--pas); box-shadow: inset 0 0 0 2px var(--pas), inset 0 0 0 4px var(--asfalt); }

.gear-switch { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 16px; background: var(--asfalt-2); border: 1px solid var(--linia-ciemna); margin-bottom: 16px; position: relative; }
.gear-switch button { position: relative; z-index: 1; padding: 12px 18px; border-radius: 12px; color: rgba(255, 255, 255, .7); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 8px; transition: color .25s; }
.gear-switch button[aria-pressed="true"] { color: var(--asfalt); }
.gear-switch .knob { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 12px; background: var(--pas); transition: transform .35s var(--ease); }
.gear-switch[data-gear="automat"] .knob { transform: translateX(100%); }
.gear-note { font-size: 14.5px; color: rgba(255, 255, 255, .72); max-width: 70ch; margin-bottom: clamp(28px, 4vw, 44px); min-height: 3em; }
.gear-note b { color: #fff; }

.plans { display: grid; gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px; border-radius: var(--r-lg); background: var(--asfalt-2); border: 1px solid var(--linia-ciemna); }
.plan h3 { font-size: clamp(1.3rem, 2.6vw, 1.55rem); }
.plan .plan-sub { color: rgba(255, 255, 255, .6); font-size: 14px; margin-top: 4px; }
.plan .price { margin-top: 22px; display: flex; flex-direction: column; gap: 2px; }
.plan .old-price { font-size: 16px; color: rgba(255, 255, 255, .5); text-decoration: line-through; text-decoration-color: var(--stop); text-decoration-thickness: 2px; }
.plan .new-price { font-family: var(--f-display); font-stretch: 118%; font-weight: 800; font-size: clamp(2.3rem, 6vw, 3rem); letter-spacing: -.02em; line-height: 1; color: #fff; }
.plan .low30[hidden] { display: block !important; visibility: hidden; }
.plan .low30 { font-size: 12.5px; color: rgba(255, 255, 255, .6); margin-top: 6px; line-height: 1.4; }
.plan ul { margin: 22px 0 26px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, .86); }
.plan li .ico { color: var(--pas); margin-top: 3px; }
.plan .btn { margin-top: auto; }
.plan-hot { background: var(--pas); border-color: var(--pas); color: var(--asfalt); }
.plan-hot h3, .plan-hot .new-price { color: var(--asfalt); }
.plan-hot .plan-sub, .plan-hot .low30 { color: rgba(21, 23, 29, .7); }
.plan-hot .old-price { color: rgba(21, 23, 29, .55); }
.plan-hot li { color: var(--asfalt); }
.plan-hot li .ico { color: var(--asfalt); }
.plan-flag { position: absolute; top: -12px; right: 20px; background: var(--asfalt); color: var(--pas); padding: 6px 10px; border-radius: 8px; border: 2px solid var(--pas); }
.price-foot { margin-top: 18px; font-size: 13.5px; color: rgba(255, 255, 255, .6); }
@media (min-width: 640px) and (max-width: 899px) { .plans { max-width: 560px; } }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } .plan-hot { top: -10px; } }

.extras-grid { display: grid; gap: 16px; margin-top: clamp(56px, 8vw, 88px); }
.extras-box { border-radius: var(--r-lg); border: 1px solid var(--linia-ciemna); padding: 24px; }
.extras-box h3 { font-size: 1.3rem; margin-bottom: 4px; }
.extras-box > p { color: rgba(255, 255, 255, .6); font-size: 14.5px; margin-bottom: 14px; }
.rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-top: 1px dashed rgba(255, 255, 255, .16); }
.rows li span { color: rgba(255, 255, 255, .82); font-size: 15px; }
.rows li small { display: block; color: rgba(255, 255, 255, .5); font-size: 12.5px; }
.rows li b { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 20px; color: var(--pas); white-space: nowrap; }
.extras-box.fees { background: var(--asfalt-2); }
.extras-box.fees .rows li b { color: #fff; font-size: 17px; }
.extras-box .src { margin-top: 12px; font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.extras-box .src a { color: rgba(255, 255, 255, .8); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) { .extras-grid { grid-template-columns: 1.1fr .9fr; } }

.steps3 { display: grid; gap: 14px; margin-top: clamp(56px, 8vw, 88px); counter-reset: s; }
.steps3 h3 { grid-column: 1 / -1; margin-bottom: 6px; }
.step3 { padding: 22px; border-radius: var(--r-md); background: var(--asfalt-2); border: 1px solid var(--linia-ciemna); }
.step3 .n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #fff; color: var(--asfalt); font-family: var(--f-display); font-weight: 800; margin-bottom: 12px; }
.step3 h4 { font-size: 17px; font-weight: 700; color: #fff; }
.step3 p { margin-top: 6px; font-size: 14.5px; color: rgba(255, 255, 255, .68); }
@media (min-width: 900px) { .steps3 { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   OPINIE GOOGLE (reviews.js)
   ========================================================================== */
.google-reviews { min-height: 240px; }
.gr-loading { display: flex; gap: 8px; justify-content: center; padding: 90px 0; }
.gr-loading span { width: 10px; height: 10px; border-radius: 50%; background: var(--znak); animation: dot 1s ease-in-out infinite; }
.gr-loading span:nth-child(2) { animation-delay: .15s; }
.gr-loading span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { opacity: .25; transform: none; } 50% { opacity: 1; transform: translateY(-6px); } }
.gr-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.gr-summary { display: inline-flex; align-items: center; gap: 14px; padding: 10px 18px 10px 10px; border-radius: 18px; background: var(--biel); border: 1px solid var(--linia); transition: border-color .2s, transform .2s var(--ease); }
.gr-summary:hover { border-color: var(--asfalt); transform: translateY(-2px); }
.gr-score { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 34px; line-height: 1; padding: 10px 14px; border-radius: 12px; background: var(--pas); color: var(--asfalt); }
.gr-meta { display: grid; gap: 3px; }
.gr-meta small { color: var(--szary); font-size: 13.5px; font-weight: 600; }
.gr-stars { display: inline-flex; gap: 2px; font-size: 17px; line-height: 1; color: #d6dbe4; }
.gr-stars .on { color: #f5a400; }
.gr-nav { display: flex; gap: 8px; }
.gr-nav button { width: 48px; height: 48px; border-radius: 14px; border: 2px solid var(--linia); background: var(--biel); font-size: 24px; line-height: 1; display: grid; place-items: center; padding-bottom: 3px; color: var(--asfalt); transition: border-color .2s, background .2s; }
.gr-nav button:hover { border-color: var(--asfalt); background: var(--asfalt); color: #fff; }
.gr-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(360px, 86%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 16px; margin: 0 -4px; scrollbar-width: thin; scrollbar-color: var(--linia) transparent; overscroll-behavior-x: contain; }
.gr-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--r-md); background: var(--biel); border: 1px solid var(--linia); }
.gr-who { display: grid; grid-template-columns: 44px 1fr 20px; align-items: center; gap: 12px; }
.gr-who b { display: block; font-size: 15px; line-height: 1.25; color: var(--asfalt); }
.gr-who b a:hover { text-decoration: underline; }
.gr-who small { color: var(--szary); font-size: 12.5px; }
.gr-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--znak); color: #fff; display: grid; place-items: center; font-weight: 700; }
.gr-avatar img { width: 100%; height: 100%; object-fit: cover; }
.gr-g { width: 18px; height: 18px; flex: none; }
.gr-text { font-size: 15.5px; line-height: 1.6; color: var(--tekst); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.gr-card.open .gr-text { display: block; -webkit-line-clamp: unset; }
.gr-more { align-self: flex-start; margin-top: auto; font-weight: 700; font-size: 14px; color: var(--znak); }
.gr-more:hover { text-decoration: underline; }
.gr-source { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 13px; color: var(--szary); }
.gr-source .gr-g { width: 14px; height: 14px; }
.gr-source a { color: var(--asfalt); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.gr-fallback { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 24px; border-radius: var(--r-lg); background: var(--biel); border: 1px solid var(--linia); }
.gr-fallback .gr-g { width: 40px; height: 40px; }
.gr-fallback p { flex: 1 1 240px; display: grid; gap: 2px; }
.gr-fallback b { font-size: 17px; color: var(--asfalt); }
.gr-fallback span { color: var(--szary); font-size: 14.5px; }
.gr-btn { display: inline-flex; align-items: center; min-height: 50px; padding: 0 22px; border-radius: 14px; background: var(--asfalt); color: #fff; font-weight: 700; }
.gr-btn:hover { background: var(--asfalt-3); }
.google-reviews.gr-empty { min-height: 0; }
@media (max-width: 640px) { .gr-nav { display: none; } .gr-summary { width: 100%; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid { display: grid; gap: clamp(32px, 5vw, 64px); }
.faq-side .side-card { margin-top: 28px; padding: 24px; border-radius: var(--r-lg); background: var(--znak); color: #fff; }
.faq-side .side-card h3 { color: #fff; font-size: 1.3rem; }
.faq-side .side-card p { color: rgba(255, 255, 255, .85); margin: 8px 0 18px; font-size: 15px; }
.faq-list { border-top: 2px solid var(--asfalt); }
.faq-item { border-bottom: 1px solid var(--linia); }
.faq-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 36px; gap: 16px; align-items: center; padding: 20px 2px; font-weight: 700; font-size: clamp(1.02rem, 2vw, 1.12rem); color: var(--asfalt); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .pm { width: 36px; height: 36px; border-radius: 10px; background: var(--papier); position: relative; transition: background .2s, transform .3s var(--ease); }
.faq-item .pm::before, .faq-item .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--asfalt); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq-item .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .pm { background: var(--pas); }
.faq-item[open] .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq-item summary:hover .pm { background: var(--pas); }
.faq-body { padding: 0 48px 22px 2px; color: var(--szary); font-size: 15.5px; }
.faq-body p + p, .faq-body p + ul, .faq-body ul + p { margin-top: 10px; }
.faq-body a { color: var(--znak); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.faq-body strong { color: var(--asfalt); }
.fee-list { border: 1px solid var(--linia); border-radius: var(--r-sm); overflow: hidden; }
.fee-list li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 14px; font-size: 14.5px; }
.fee-list li + li { border-top: 1px solid var(--linia); }
.fee-list b { color: var(--asfalt); white-space: nowrap; }
.faq-item[open] .faq-body { animation: open .35s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (min-width: 980px) { .faq-grid { grid-template-columns: .8fr 1.2fr; align-items: start; } .faq-side { position: sticky; top: calc(var(--header-h) + 32px); } }

/* ==========================================================================
   ZAPIS + KONTAKT
   ========================================================================== */
.contact-grid { display: grid; gap: 16px; }
.form-card { padding: clamp(22px, 4vw, 36px); border-radius: var(--r-lg); background: var(--biel); border: 1px solid var(--linia); }
.form-card h3 { margin-bottom: 6px; }
.form-card > p { color: var(--szary); font-size: 15px; margin-bottom: 22px; }
.fgrid { display: grid; gap: 14px; }
@media (min-width: 640px) { .fgrid { grid-template-columns: 1fr 1fr; } .fgrid .full { grid-column: 1 / -1; } }
.field label, .field .flabel { display: block; font-size: 14px; font-weight: 600; color: var(--asfalt); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid var(--linia); border-radius: 12px; background: var(--biel); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--znak); box-shadow: 0 0 0 4px rgba(26, 79, 214, .14); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315171d' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; margin: 0; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 52px; border: 2px solid var(--linia); border-radius: 12px; font-weight: 600; font-size: 15px; cursor: pointer; transition: border-color .2s, background .2s; }
.seg input:checked + span { border-color: var(--asfalt); background: var(--pas); }
.seg input:focus-visible + span { box-shadow: 0 0 0 4px rgba(26, 79, 214, .2); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--szary); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--znak); flex: none; }
.consent a { color: var(--znak); text-decoration: underline; }
.form-actions { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-msg { font-size: 14.5px; font-weight: 600; }
.form-msg.ok { color: #15803d; }
.form-msg.err { color: var(--stop); }
.hp { position: absolute; left: -9999px; }

.contact-cards { display: grid; gap: 12px; align-content: start; }
.ccard { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--r-md); background: var(--biel); border: 1px solid var(--linia); }
.ccard .ci { width: 44px; height: 44px; border-radius: 12px; background: var(--papier); display: grid; place-items: center; flex: none; color: var(--znak); }
.ccard .ci .ico { width: 20px; height: 20px; }
.ccard small { display: block; color: var(--szary); font-size: 13px; }
.ccard b, .ccard a.big { font-size: 17px; color: var(--asfalt); font-weight: 700; overflow-wrap: anywhere; }
.ccard a.big { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: clamp(24px, 5vw, 30px); letter-spacing: -.01em; line-height: 1.1; display: inline-block; margin: 2px 0; }
.ccard a:hover { color: var(--znak); }
.ccard.call { background: var(--asfalt); border-color: var(--asfalt); color: #fff; }
.ccard.call .ci { background: var(--pas); color: var(--asfalt); }
.ccard.call small { color: rgba(255, 255, 255, .65); }
.ccard.call a.big { color: #fff; }
.ccard.call a.big:hover { color: var(--pas); }
.ccard .alt { font-size: 13px; color: var(--szary); margin-top: 4px; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1.25fr .75fr; } }

.map-consent { margin-top: 16px; width: 100%; height: 360px; border-radius: var(--r-lg); display: grid; place-content: center; justify-items: center; gap: 8px; padding: 24px; text-align: center; color: #fff; overflow: hidden;
    background: repeating-linear-gradient(90deg, var(--pas) 0 34px, transparent 34px 60px) center 70% / 100% 5px no-repeat, var(--asfalt-2); transition: background-color .2s; }
.map-consent:hover { background-color: var(--asfalt-3); }
.map-consent .ico { width: 36px; height: 36px; color: var(--pas); }
.map-consent b { font-family: var(--f-display); font-stretch: 115%; font-weight: 800; font-size: 22px; }
.map-consent span { color: rgba(255, 255, 255, .7); font-size: 13.5px; max-width: 40ch; }
.map-frame { margin-top: 16px; width: 100%; height: 360px; border: 0; border-radius: var(--r-lg); display: block; }

/* ==========================================================================
   STOPKA
   ========================================================================== */
.footer { background: var(--asfalt); color: rgba(255, 255, 255, .7); padding-top: clamp(56px, 8vw, 88px); font-size: 15px; }
.footer-grid { display: grid; gap: 34px; padding-bottom: 40px; }
.footer .f-logo { display: inline-block; }
.footer .f-logo img { width: 190px; height: auto; }
.footer .f-about { margin-top: 16px; max-width: 34ch; font-size: 14.5px; }
.footer h4 { color: #fff; margin-bottom: 14px; }
.footer li + li { margin-top: 2px; }
.footer li a { display: inline-block; padding: 7px 0; }
.footer a:hover { color: var(--pas); }
.footer .f-phone { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 24px; color: #fff; }
.footer-bottom { border-top: 1px solid var(--linia-ciemna); padding: 20px 0 24px; font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-bottom nav a { color: #fff; font-weight: 600; }
.footer-lane { height: 6px; background: repeating-linear-gradient(90deg, var(--pas) 0 40px, transparent 40px 70px); opacity: .9; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ==========================================================================
   DOLNY PASEK (telefon)
   ========================================================================== */
.bar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 45; display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; padding: 8px; border-radius: 20px; background: rgba(21, 23, 29, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 16px 40px rgba(21, 23, 29, .3); transform: translateY(140%); transition: transform .4s var(--ease); }
.bar.show { transform: none; }
.bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 14px; font-weight: 700; font-size: 15.5px; }
.bar .b-call { color: #fff; background: rgba(255, 255, 255, .08); }
.bar .b-sign { background: var(--pas); color: var(--asfalt); }
.bar .ico { width: 19px; height: 19px; }
@media (min-width: 1040px) { .bar { display: none; } }
@media (max-width: 1039px) { .footer { padding-bottom: 84px; } }

/* ==========================================================================
   PODSTRONY
   ========================================================================== */
.page-hero { padding: calc(var(--header-h) + clamp(40px, 8vw, 96px)) 0 clamp(44px, 7vw, 80px); background: var(--papier); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.3rem, 8vw, 4.6rem); max-width: 16ch; }
.page-hero h1 .accent { color: var(--znak); }
.page-hero .lead { margin-top: 20px; }
.page-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--pas) 0 40px, transparent 40px 70px); }
.crumbs { display: flex; gap: 8px; font-size: 13.5px; color: var(--szary); margin-bottom: 18px; }
.crumbs a { color: var(--asfalt); font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }

/* poradnik */
.guide { display: grid; gap: clamp(28px, 5vw, 56px); }
.guide-toc { display: none; }
@media (min-width: 1040px) {
    .guide { grid-template-columns: 260px 1fr; align-items: start; }
    .guide-toc { display: block; position: sticky; top: calc(var(--header-h) + 32px); }
    .guide-toc ol { display: grid; gap: 4px; margin-top: 12px; }
    .guide-toc a { display: flex; gap: 10px; padding: 9px 12px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--szary); }
    .guide-toc a:hover, .guide-toc a.active { background: var(--papier); color: var(--asfalt); }
    .guide-toc a span { font-family: var(--f-display); font-weight: 800; color: var(--znak); }
}
.gstep { display: grid; grid-template-columns: 52px 1fr; gap: 16px 20px; padding-bottom: clamp(36px, 6vw, 56px); margin-bottom: clamp(36px, 6vw, 56px); border-bottom: 1px solid var(--linia); scroll-margin-top: calc(var(--header-h) + 20px); }
.gstep:last-child { border-bottom: 0; margin-bottom: 0; }
.gstep .gn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--pas); font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 20px; color: var(--asfalt); }
.gstep h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin-top: 6px; }
.gstep .gbody { grid-column: 1 / -1; color: var(--tekst); font-size: 16.5px; max-width: 70ch; }
@media (min-width: 640px) { .gstep .gbody { grid-column: 2; } }
.gstep .gbody p + p, .gstep .gbody p + .note, .gstep .gbody .note + .note, .gstep .gbody p + ul, .gstep .gbody ul + .note { margin-top: 14px; }
.note { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r-sm); font-size: 15.5px; line-height: 1.55; }
.note .ico { width: 22px; height: 22px; margin-top: 1px; }
.note.info { background: var(--znak-jasny); color: #13306f; }
.note.warn { background: #fff6d6; color: #5e4600; }
.checks { display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; }
.checks .ico { color: var(--znak); margin-top: 3px; }

.paths { display: grid; gap: 16px; }
@media (min-width: 900px) { .paths { grid-template-columns: 1fr 1fr; } }
.path { padding: 26px; border-radius: var(--r-lg); background: var(--asfalt-2); border: 1px solid var(--linia-ciemna); }
.path h3 { color: #fff; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.path h3 .label { color: var(--asfalt); background: var(--pas); padding: 4px 8px; border-radius: 6px; font-size: 12px; }
.path ol { counter-reset: p; display: grid; }
.path li { counter-increment: p; position: relative; padding: 0 0 18px 46px; }
.path li::before { content: counter(p); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 8px; background: #fff; color: var(--asfalt); display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 14px; }
.path li::after { content: ''; position: absolute; left: 14px; top: 34px; bottom: 4px; width: 2px; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .3) 0 6px, transparent 6px 11px); }
.path li:last-child { padding-bottom: 0; }
.path li:last-child::after { display: none; }
.path li b { display: block; color: #fff; font-size: 16px; }
.path li span { color: rgba(255, 255, 255, .65); font-size: 14.5px; }
.finish { margin-top: 16px; padding: 22px 26px; border-radius: var(--r-lg); background: var(--pas); color: var(--asfalt); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.finish h3 { font-size: 1.5rem; color: var(--asfalt); }

.cta-band { padding: clamp(28px, 5vw, 48px); border-radius: var(--r-lg); background: var(--znak); color: #fff; display: grid; gap: 22px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 5vw, 2.8rem); }
.cta-band p { color: rgba(255, 255, 255, .85); margin-top: 10px; max-width: 52ch; }
.cta-band .acts { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 980px) { .cta-band { grid-template-columns: 1fr auto; } }

/* dla kursanta */
.docs { display: grid; gap: 12px; }
@media (min-width: 760px) { .docs { grid-template-columns: 1fr 1fr; } }
.doc { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--linia); background: var(--biel); transition: border-color .2s, transform .2s var(--ease); }
a.doc:hover { border-color: var(--asfalt); transform: translateY(-2px); }
.doc .di { width: 48px; height: 48px; border-radius: 12px; background: var(--papier); display: grid; place-items: center; color: var(--znak); }
.doc .di .ico { width: 22px; height: 22px; }
.doc b { display: block; color: var(--asfalt); font-size: 16px; line-height: 1.3; }
.doc small { color: var(--szary); font-size: 13.5px; }
.doc .go { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--papier); color: var(--asfalt); }
a.doc:hover .go { background: var(--pas); }
.doc.feature { border-color: var(--znak); background: var(--znak-jasny); }
.doc.feature .di { background: var(--znak); color: #fff; }

.links { display: grid; gap: 12px; }
@media (min-width: 640px) { .links { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .links { grid-template-columns: repeat(3, 1fr); } }
.lcard { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--r-md); background: var(--biel); border: 1px solid var(--linia); transition: border-color .2s, transform .2s var(--ease); }
.lcard:hover { border-color: var(--asfalt); transform: translateY(-2px); }
.lcard h3 { font-size: 1.15rem; }
.lcard p { color: var(--szary); font-size: 14.5px; }
.lcard .more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--znak); font-size: 14.5px; }

/* dokument (standardy, polityka) */
.sd-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (min-width: 1040px) { .sd-layout { grid-template-columns: 330px minmax(0, 1fr); } .sd-side { position: sticky; top: calc(var(--header-h) + 24px); } }
.sd-side { display: grid; gap: 14px; }
@media (max-width: 1039px) { .sd-side { order: 2; } }
.sd-card { padding: 22px; border-radius: var(--r-md); background: var(--papier); }
.sd-card-title { font-family: var(--f-display); font-stretch: 80%; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--znak); margin-bottom: 12px; }
.sd-person b { display: block; font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 20px; color: var(--asfalt); }
.sd-person span { display: block; font-size: 14px; color: var(--szary); margin-bottom: 12px; line-height: 1.45; }
.sd-contact { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-weight: 700; color: var(--asfalt); overflow-wrap: anywhere; }
.sd-contact i { display: none; }
.sd-contact:hover { color: var(--znak); }
.sd-firm { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--linia); font-size: 13px; color: var(--szary); }
.sd-files { display: grid; gap: 8px; }
.sd-file { display: grid; grid-template-columns: 1fr 34px; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--biel); border: 1px solid var(--linia); transition: border-color .2s; }
.sd-file:hover { border-color: var(--asfalt); }
.sd-file-ico { display: none; }
.sd-file-txt b { display: block; font-size: 14px; color: var(--asfalt); line-height: 1.3; }
.sd-file-txt small { font-size: 12px; color: var(--szary); }
.sd-file-dl { width: 34px; height: 34px; border-radius: 9px; background: var(--papier); display: grid; place-items: center; font-size: 0; }
.sd-file-dl::before { content: ''; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v12m0 0-5-5m5 5 5-5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v12m0 0-5-5m5 5 5-5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat; }
.sd-file:hover .sd-file-dl { background: var(--pas); }
.sd-alert { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r-sm); background: #fff6d6; color: #5e4600; margin-bottom: 22px; font-size: 15px; }
.sd-alert i { display: none; }
.sd-alert a { font-weight: 700; text-decoration: underline; }
.sd-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 5px; border-radius: 16px; background: var(--papier); margin-bottom: 28px; scrollbar-width: none; }
.sd-tabs::-webkit-scrollbar { display: none; }
.sd-tab { min-height: 48px; padding: 8px 10px; line-height: 1.2; border-radius: 12px; font-weight: 700; font-size: 14.5px; color: var(--szary); transition: background .2s, color .2s; }
.sd-tab:hover { color: var(--asfalt); }
.sd-tab.active { background: var(--asfalt); color: #fff; }
.sd-panel { display: none; }
.sd-panel.active { display: block; animation: open .35s var(--ease); }
.doc-text { font-size: 16.5px; line-height: 1.75; max-width: 74ch; }
.doc-text .doc-title { font-size: clamp(1.6rem, 4.4vw, 2.3rem); margin-bottom: 22px; }
.doc-text .doc-title small { display: block; font-family: var(--f-body); font-stretch: 100%; font-size: 15px; font-weight: 600; color: var(--znak); letter-spacing: 0; margin-top: 8px; }
.doc-text h3 { margin: 38px 0 12px; font-size: clamp(1.1rem, 2.4vw, 1.3rem); scroll-margin-top: calc(var(--header-h) + 20px); }
.doc-text p { margin-bottom: 12px; }
.doc-text ol.doc-ol { list-style: decimal; padding-left: 1.4em; margin-bottom: 14px; }
.doc-text ol.doc-ol > li { margin-bottom: 9px; padding-left: 4px; }
.doc-text ol.doc-ol > li::marker { font-weight: 800; color: var(--znak); }
.doc-text ol.doc-sub { list-style: lower-alpha; padding-left: 1.5em; margin: 8px 0 4px; }
.doc-text ol.doc-sub > li { margin-bottom: 6px; }
.doc-text ol.doc-sub > li::marker { content: counter(list-item, lower-alpha) ")  "; font-weight: 700; color: var(--szary); }
.doc-text a { color: var(--znak); font-weight: 600; }
.doc-text ul.legal-list { list-style: disc; padding-left: 1.3em; margin-bottom: 14px; }
.doc-text ul.legal-list li { margin-bottom: 8px; }
.doc-meta { display: grid; gap: 14px; padding: 16px 18px; border-radius: var(--r-sm); background: var(--papier); font-size: 14.5px; margin-bottom: 18px; }
@media (min-width: 640px) { .doc-meta { grid-template-columns: 1fr 1fr; } }
.doc-meta p { margin: 0; }
.sd-toc { border: 1px solid var(--linia); border-radius: var(--r-sm); margin-bottom: 18px; }
.sd-toc summary { cursor: pointer; padding: 14px 18px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.sd-toc summary::-webkit-details-marker { display: none; }
.sd-toc summary::after { content: '+'; font-weight: 800; color: var(--znak); }
.sd-toc[open] summary::after { content: '–'; }
.sd-toc ol { list-style: upper-roman; padding: 0 18px 16px 44px; font-size: 15px; }
@media (min-width: 640px) { .sd-toc ol { columns: 2; column-gap: 32px; } }
.sd-toc li { margin-bottom: 6px; break-inside: avoid; }
.sd-toc a { color: var(--tekst); font-weight: 500; }
.doc-table-wrap { overflow-x: auto; border: 1px solid var(--linia); border-radius: var(--r-sm); margin: 6px 0 10px; }
.doc-table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; min-width: 560px; }
.doc-table th { background: var(--asfalt); color: #fff; text-align: left; padding: 12px 14px; font-weight: 600; font-size: 13.5px; }
.doc-table td { padding: 12px 14px; border-top: 1px solid var(--linia); vertical-align: top; }
.doc-table tbody tr:nth-child(even) td { background: var(--papier); }
.doc-table td.lp { font-weight: 800; color: var(--znak); width: 48px; }
.doc-table td.obow { font-weight: 600; color: var(--asfalt); }
.doc-table td:nth-child(4) a { white-space: nowrap; }
.doc-footnote { font-size: 13px; color: var(--szary); }
.sd-annex-card { border: 1px solid var(--linia); border-radius: var(--r-md); padding: 20px 22px; margin-top: 16px; }
.sd-annex-card h3 { margin: 0 0 8px; }
.sd-annex-card p { color: var(--szary); font-size: 15px; }

/* ==========================================================================
   RUCH
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}
.gr-disclaimer { margin-top: 6px; font-size: 12.5px; line-height: 1.5; color: var(--szary); max-width: 80ch; }

/* poprawki po QA */
h1, h2 { text-wrap: balance; }
.pricing :focus-visible, .footer :focus-visible, .path :focus-visible { outline-color: var(--pas); }
@media (max-width: 420px) {
    .road { padding-left: 56px; }
    .road::before { width: 40px; }
    .road::after, .road-fill { left: 18px; top: 20px; }
    .road::after { bottom: 20px; }
    .road-fill { height: calc((100% - 40px) * var(--progress)); }
    .stop-n { left: -56px; width: 40px; height: 40px; font-size: 16px; border-width: 3px; }
    .sd-tab { font-size: 13px; }
}
.gstep .gpaths { max-width: none; margin-top: 18px; }

/* ==========================================================================
   PROMOCJE (włączane w panelu cen)
   ========================================================================== */
.price-top { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; min-height: 26px; }
.promo-tag { display: inline-flex; align-items: center; width: fit-content; padding: 4px 9px; border-radius: 7px; background: var(--stop); color: #fff; font-family: var(--f-display); font-stretch: 85%; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-style: normal; line-height: 1.2; }
.plan.is-promo { box-shadow: 0 0 0 2px var(--stop), 0 18px 40px rgba(227, 59, 46, .18); }
.plan-hot.is-promo .old-price { color: rgba(21, 23, 29, .6); }
.plan.is-promo .new-price { animation: promoIn .6s var(--ease) both; }
@keyframes promoIn { from { transform: translateY(6px); opacity: .4; } to { transform: none; opacity: 1; } }

.rows li { flex-wrap: wrap; }
.rows li .rl { flex: 1 1 auto; }
.rows li .rp { display: inline-flex; align-items: baseline; gap: 10px; color: inherit; font-size: inherit; }
.rows li s.old { font-size: 14.5px; color: rgba(255, 255, 255, .5); text-decoration-color: var(--stop); text-decoration-thickness: 2px; white-space: nowrap; }
.rows li .promo-tag { margin-top: 7px; font-size: 11px; padding: 3px 8px; }
.rows li .low30 { flex-basis: 100%; margin-top: -6px; font-size: 12px; color: rgba(255, 255, 255, .55); }
.rows li .low30 span { color: rgba(255, 255, 255, .8); font-size: 12px; }
.rows li.is-promo { margin-inline: -12px; padding-inline: 12px; border-radius: 12px; border-top-color: transparent; background: linear-gradient(90deg, rgba(227, 59, 46, .2), rgba(227, 59, 46, .04)); }
.rows li.is-promo + li { border-top-color: transparent; }
.rows li.is-promo + li.is-promo { margin-top: 6px; }
