/* Autoškola Špalek – podstránky. Načíta sa po style.css na všetkých stránkach okrem úvodu. */

/* --- Hlavička podstránky s fotkou ----------------------------------------- */
.page-hero.ph { display: flex; flex-direction: column; justify-content: center; min-height: 340px; padding: 44px 0 40px; background: radial-gradient(900px 420px at 18% 0%, #26262b 0%, transparent 70%), #141416; }
.ph::before { top: 0; bottom: 0; right: auto; left: calc(57% - 50px); width: 36px; z-index: 1; opacity: 1; background: linear-gradient(90deg, var(--red) 0 14px, transparent 14px 22px, var(--red) 22px 36px); }
.ph-photo { position: absolute; top: 0; bottom: 0; left: 57%; right: -80px; z-index: 0; overflow: hidden; transform: skewX(-18deg); background: #1f2023; }
.ph-photo img { position: absolute; top: 0; left: -72px; width: calc(100% + 144px); max-width: none; height: 100%; object-fit: cover; transform: skewX(18deg); animation: phFoto 1.400s cubic-bezier(.2, .8, .2, 1) backwards; }
.ph-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 20, 22, .62) 0%, rgba(20, 20, 22, .12) 42%, rgba(20, 20, 22, 0) 70%), linear-gradient(0deg, rgba(20, 20, 22, .4), rgba(20, 20, 22, 0) 40%); }
/* fotka vozidiel z úvodu (O nás): posunutá doľava, aby bolo vidno aj nákladné auto; na užších obrazovkách majú prednosť dve osobné autá */
@media (min-width: 1021px) { .ph-photo--auta img { left: auto; right: 62px; object-position: 80% 60%; } }
@media (min-width: 1021px) and (max-width: 1280px) { .ph-photo--auta img { object-position: 50% 60%; } }
@media (max-width: 1020px) { .ph-photo--auta img { object-position: 78% 60%; } }
.ph .container { position: relative; z-index: 2; }
.ph .crumbs, .ph h1, .ph .container > p { max-width: 610px; }
.ph .crumbs { animation: heroUp .700s .050s cubic-bezier(.16, 1, .3, 1) backwards; }
.ph h1 { font-size: clamp(36px, 4.600vw, 56px); animation: heroUp .700s .150s cubic-bezier(.16, 1, .3, 1) backwards; }
.ph .container > p:not(.crumbs) { animation: heroUp .700s .250s cubic-bezier(.16, 1, .3, 1) backwards; }
.ph-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; animation: heroUp .700s .380s cubic-bezier(.16, 1, .3, 1) backwards; }
.ph-nav a { display: flex; align-items: center; gap: 11px; padding: 9px 16px 9px 12px; border: 1px solid #3a3c42; border-radius: 12px; background: rgba(16, 16, 18, .86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--white); line-height: 1.2; transition: border-color .2s, background-color .2s, transform .2s; }
.ph-nav a:hover { border-color: var(--red); background: var(--red); text-decoration: none; transform: translateY(-2px); }
.ph-nav .icon { width: 22px; height: 22px; color: #ff6b70; transition: color .2s; }
.ph-nav .icon-solid { width: 40px; height: 23px; }
.ph-nav a:hover .icon { color: var(--white); }
.ph-nav span { display: flex; flex-direction: column; font-size: 15.500px; font-weight: 700; }
.ph-nav small { font-size: 12.500px; font-weight: 500; color: #b9bac0; transition: color .2s; }
.ph-nav a:hover small { color: rgba(255, 255, 255, .88); }
@keyframes phFoto { from { opacity: 0; transform: skewX(18deg) scale(1.04); } }

/* --- Pozadie podstránok (.flow--sub, prvky z {{deko}}) --------------------- */
.shard--s1 { left: 0; top: 0; width: min(44vw, 600px); height: 900px; clip-path: polygon(0 0, 66% 0, 0 100%); background: linear-gradient(100deg, #eceef2 0%, rgba(236, 238, 242, .5) 45%, rgba(236, 238, 242, 0) 100%); }
.shard--s2 { right: -30px; top: 520px; width: 320px; height: 380px; clip-path: polygon(100% 0, 100% 100%, 0 58%); background: linear-gradient(300deg, #e6e8ed, rgba(230, 232, 237, .1)); }
.shard--s3 { right: 0; top: 38%; width: min(40vw, 540px); height: 900px; clip-path: polygon(100% 0, 100% 100%, 22% 62%); background: linear-gradient(250deg, #eceef2 0%, rgba(236, 238, 242, .08) 100%); }
.shard--s4 { left: -40px; top: 58%; width: 360px; height: 330px; clip-path: polygon(0 0, 100% 60%, 0 100%); background: linear-gradient(60deg, #e3e6eb, rgba(227, 230, 235, .15)); }
.shard--s5 { left: 0; bottom: 0; width: min(42vw, 560px); height: 700px; clip-path: polygon(0 0, 0 100%, 64% 100%); background: linear-gradient(80deg, #eceef2 0%, rgba(236, 238, 242, .1) 100%); }
.sign--s1 { left: calc(100% - var(--okraj) + 88px); top: 150px; width: 128px; height: 128px; }
.sign--s2 { left: calc(var(--okraj) - 232px); top: 620px; width: 146px; height: 132px; transform: rotate(-12deg); }
.sign--s3 { left: calc(100% - var(--okraj) + 92px); top: 46%; width: 138px; height: 138px; transform: rotate(8deg); }
.sign--s4 { left: calc(var(--okraj) - 226px); top: 70%; width: 136px; height: 136px; transform: rotate(-10deg); }
.dots--s1 { left: calc(var(--okraj) - 196px); top: 200px; }
.dots--s2 { left: calc(100% - var(--okraj) + 70px); top: 62%; }
.slashes--s1 { left: calc(100% - var(--okraj) + 48px); top: 560px; }
.slashes--s2 { left: calc(var(--okraj) - 118px); top: 44%; }
.cone--s1 { left: calc(var(--okraj) - 150px); top: 900px; width: 70px; height: 88px; }
.cone--s2 { left: calc(100% - var(--okraj) + 96px); top: 80%; width: 68px; height: 86px; }
.cone--s3 { left: calc(100% - var(--okraj) + 170px); top: 81%; width: 60px; height: 76px; transform: rotate(74deg); }
.flow--kratka .shard--s3, .flow--kratka .shard--s4, .flow--kratka .sign--s3, .flow--kratka .sign--s4, .flow--kratka .dots--s2, .flow--kratka .slashes--s2, .flow--kratka .cone { display: none; }
.flow--sub > .section--dark { background: #141416; }

/* --- Spoločné drobnosti --------------------------------------------------- */
.kicker { display: inline-block; margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.section--dark .kicker { color: #ff6b70; }
.sec-lead { max-width: 720px; margin: -12px 0 28px; font-size: 17.500px; color: var(--muted); }
.section--dark .sec-lead { color: #b9bac0; }
.head-tag { padding: 7px 14px; border: 1px solid var(--line); border-radius: 40px; background: var(--white); font-size: 14.500px; font-weight: 700; font-style: italic; letter-spacing: .06em; color: var(--ink); }
.flow--sub .panel { border-radius: 16px; }
.flow--sub .note { border-radius: 12px; box-shadow: var(--shadow); }

/* --- Výzva na konci podstránok: tmavá karta ------------------------------- */
.cta-band { position: relative; z-index: 1; padding: 22px 0 76px; background: none; }
.cta-band .container { position: relative; overflow: hidden; isolation: isolate; padding: 40px 46px; border-radius: 22px; background: radial-gradient(520px 260px at 0% 100%, rgba(216, 30, 38, .26), transparent 70%), #141416; box-shadow: var(--shadow-lg); }
.cta-band .container::before { content: ""; position: absolute; top: -30%; bottom: -30%; right: -70px; width: 40%; z-index: -1; transform: skewX(-18deg); background: linear-gradient(90deg, var(--red) 0 18px, transparent 18px 32px, #cf1921 32px, #8a0b12 100%); }
.cta-band .container::after { content: ""; position: absolute; left: 46px; right: 44%; bottom: 0; height: 4px; z-index: -1; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 26px, transparent 26px 48px); }
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); }
.cta-band p { color: #c9cad0; opacity: 1; }
.cta-band .btn-dark { background: rgba(15, 15, 15, .82); }

/* --- Kurzy: skupiny ako zadná strana vodičského preukazu ------------------- */
.lz { position: relative; overflow: hidden; border: 1px solid #e3ccd3; border-radius: 20px; background: repeating-radial-gradient(circle at 88% -30%, rgba(216, 30, 38, .045) 0 2px, transparent 2px 15px), linear-gradient(135deg, #fdf3f4 0%, #f6e7ec 55%, #ece9f3 100%); box-shadow: var(--shadow-lg); }
.lz-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 26px; background: linear-gradient(100deg, #d81e26, #a90f17); color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.lz-top span:last-child { opacity: .85; font-weight: 600; letter-spacing: .08em; }
.lz-cols, .lz-row { display: grid; grid-template-columns: 96px 82px minmax(0, 1fr) 96px 148px 158px; align-items: center; column-gap: 20px; padding-inline: 26px; }
.lz-cols { padding-block: 10px; border-bottom: 1px solid rgba(160, 110, 125, .32); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #8a6470; }
.lz-cols span:nth-child(1) { grid-column: 1 / 3; }
.lz-cols span:nth-child(3), .lz-cols span:nth-child(4) { text-align: center; }
.lz-row { position: relative; padding-block: 20px; border-bottom: 1px solid rgba(160, 110, 125, .26); transition: background-color .25s; }
.lz-row:last-child { border-bottom: 0; }
.lz-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--red); transform: scaleY(0); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.lz-row:hover, .lz-row:target { background: rgba(255, 255, 255, .6); }
.lz-row:hover::before, .lz-row:target::before { transform: scaleY(1); }
.lz-code { justify-self: start; min-width: 72px; padding: 7px 14px; border-radius: 10px; background: var(--black); color: var(--white); font-size: 26px; font-weight: 800; font-style: italic; line-height: 1.1; text-align: center; transform: skewX(-8deg); }
.lz-pic { display: grid; place-items: center; }
.lz-pic .icon { width: 78px; height: 44px; color: #1b1b1d; }
.lz-tx h3 { margin: 0 0 4px; font-size: 20px; }
.lz-tx p { margin: 0; font-size: 15.500px; line-height: 1.5; color: #5a4d54; }
.lz-age { display: flex; flex-direction: column; align-items: center; line-height: 1.1; color: #5a4d54; font-size: 12.500px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.lz-age b { font-size: 30px; font-weight: 800; font-style: italic; letter-spacing: 0; color: var(--ink); }
.lz-price { text-align: center; font-size: 27px; font-weight: 800; font-style: italic; line-height: 1.15; color: var(--red); white-space: nowrap; }
.lz-price--soft { font-size: 17px; font-style: normal; font-weight: 700; color: var(--ink); }
.lz-price small { display: block; font-size: 12.500px; font-style: normal; font-weight: 600; letter-spacing: .04em; color: #5a4d54; }
.lz-price--dve { font-size: 20px; }
.lz-row .btn { justify-self: end; white-space: nowrap; }
.lz-row .btn .icon { width: 1em; height: 1em; stroke-width: 2.600; }

/* fotky vozidiel v šikmých rámoch */
.pf-row { display: flex; gap: 10px; height: 250px; padding: 0 20px; margin: 28px 0 0; transform: skewX(-8deg); }
.pf { position: relative; flex: 1 1 0; min-width: 0; margin: 0; overflow: hidden; border-radius: 14px; background: #1b1b1e; box-shadow: var(--shadow); }
.pf img { position: absolute; top: 0; left: -24px; width: calc(100% + 48px); max-width: none; height: 100%; object-fit: cover; transform: skewX(8deg); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.pf:hover img { transform: skewX(8deg) scale(1.05); }
.pf::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 12, 0) 52%, rgba(10, 10, 12, .8) 100%); }
.pf figcaption { position: absolute; left: 28px; right: 14px; bottom: 14px; z-index: 1; color: var(--white); font-size: 16.500px; font-weight: 800; font-style: italic; line-height: 1.2; transform: skewX(8deg); text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.pf figcaption small { display: block; font-size: 12px; font-style: normal; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ff7a7f; }
.garaz { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; align-items: stretch; }
.garaz .pf-row { grid-column: 1 / -1; height: 320px; margin: 0 0 6px; padding: 0 22px; }
.garaz .panel h3 { display: flex; align-items: center; gap: 10px; }
.garaz .panel h3 .icon { color: var(--red); }

/* priebeh kurzu: kroky na ceste */
.steps--cesta { position: relative; gap: 30px; }
.steps--cesta::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 4px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .34) 0 26px, transparent 26px 48px); }
.steps--cesta .step { padding: 0; border: 0; background: none; }
.steps--cesta .step::before { position: relative; box-shadow: 0 0 0 10px #141416; }
.steps--cesta .step h3 { font-size: 21px; font-weight: 800; font-style: italic; }
.steps--cesta .step p { font-size: 15.500px; line-height: 1.55; }
.kde-co { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.kde-co li { display: flex; align-items: center; gap: 13px; padding: 15px 18px; border: 1px solid #2e2f34; border-radius: 13px; background: #1c1c1f; color: #e9e9ec; font-size: 15.500px; line-height: 1.35; }
.kde-co .icon { width: 24px; height: 24px; color: #ff6b70; }
.kde-co b { display: block; color: var(--white); }

/* --- Menšie obrazovky ------------------------------------------------------ */
@media (max-width: 1180px) {
  .lz-cols, .lz-row { grid-template-columns: 84px 66px minmax(0, 1fr) 80px 124px 150px; column-gap: 16px; padding-inline: 20px; }
  .lz-pic .icon { width: 64px; height: 36px; }
  .garaz { grid-template-columns: 1fr 1fr; }
  .garaz .pf-row { grid-column: 1 / -1; min-height: 260px; }
}
@media (max-width: 1020px) {
  .page-hero.ph { min-height: 0; padding: 38px 0 34px; }
  .ph::before { display: none; }
  .ph-photo { left: 0; right: 0; transform: none; opacity: .3; }
  .ph-photo img { left: 0; width: 100%; transform: none; animation: none; }
  .ph-photo::after { background: linear-gradient(90deg, rgba(20, 20, 22, .7), rgba(20, 20, 22, .2)); }
  .shard--s2, .shard--s4 { display: none; }
  .cta-band .container { padding: 34px 30px; }
  .cta-band .container::before { width: 150px; right: -90px; }
  .cta-band .container::after { right: 30px; left: 30px; }
  .lz-cols { display: none; }
  .lz-row { grid-template-columns: auto auto minmax(0, 1fr) auto; row-gap: 12px; padding-block: 20px; }
  .lz-code { grid-column: 1; grid-row: 1; }
  .lz-pic { grid-column: 2; grid-row: 1; justify-self: start; }
  .lz-age { grid-column: 3; grid-row: 1; flex-direction: row; align-items: baseline; justify-content: flex-end; gap: 5px; }
  .lz-age b { font-size: 22px; }
  .lz-price { grid-column: 4; grid-row: 1; text-align: right; font-size: 24px; }
  .lz-tx { grid-column: 1 / -1; grid-row: 2; }
  .lz-row .btn { grid-column: 1 / -1; grid-row: 3; justify-self: start; }
  .steps--cesta::before { display: none; }
  .steps--cesta .step::before { box-shadow: none; }
  .kde-co { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .ph h1 { font-size: 34px; }
  .ph-nav { gap: 8px; margin-top: 20px; }
  .ph-nav a { flex: 1 1 calc(50% - 4px); padding: 9px 12px 9px 10px; gap: 9px; }
  .ph-nav .icon-solid { width: 34px; height: 20px; }
  .ph-nav span { font-size: 14.500px; }
  .cta-band { padding: 10px 0 56px; }
  .cta-band .container { padding: 28px 22px; border-radius: 18px; }
  .cta-band .container::before { display: none; }
  .cta-band-actions { width: 100%; }
  .cta-band-actions .btn { flex: 1 1 100%; }
  .lz { border-radius: 16px; }
  .lz-top { padding: 10px 16px; font-size: 11.500px; }
  .lz-row { padding-inline: 16px; column-gap: 12px; }
  .lz-code { min-width: 60px; font-size: 22px; padding: 6px 11px; }
  .lz-pic .icon { width: 54px; height: 31px; }
  .lz-price { font-size: 21px; }
  .lz-price--soft { font-size: 15.500px; }
  .lz-price--dve { font-size: 16px; }
  .lz-row .btn { width: 100%; justify-self: stretch; }
  .pf-row { transform: none; flex-direction: column; height: auto; padding: 0; }
  .pf { flex: none; height: 190px; }
  .pf img { left: 0; width: 100%; transform: none; }
  .pf:hover img { transform: scale(1.05); }
  .pf figcaption { left: 16px; transform: none; }
  .garaz { grid-template-columns: 1fr; }
  .garaz .pf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-height: 0; height: auto; }
  .garaz .pf { height: 210px; }
  .garaz .pf figcaption { left: 10px; right: 8px; bottom: 10px; font-size: 13.500px; }
  .garaz .pf figcaption small { font-size: 10.500px; }
}

/* ========================================================================== */
/* Špeciálne kurzy                                                            */
/* ========================================================================== */
/* dve možnosti ako smerové tabule na rázcestí */
.razc { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding-bottom: 70px; }
.razc::before { content: ""; position: absolute; left: 50%; top: 14px; bottom: 0; width: 16px; margin-left: -8px; border-radius: 5px 5px 0 0; background: linear-gradient(90deg, #8d9099, #dfe1e6 45%, #9a9da6); }
.razc::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 150px; height: 16px; margin-left: -75px; border-radius: 50%; background: radial-gradient(closest-side, rgba(15, 15, 20, .28), transparent); }
.smer { position: relative; z-index: 1; filter: drop-shadow(0 14px 20px rgba(15, 15, 20, .22)); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.smer:hover { transform: translateX(-8px); }
.smer--p:hover { transform: translateX(8px); }
.smer-in { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 24px; min-height: 176px; padding: 26px 34px 26px 82px; background: #131313; clip-path: polygon(50px 0, 100% 0, 100% 100%, 50px 100%, 0 50%); }
.smer-in::before { content: ""; position: absolute; inset: 6px; z-index: -1; background: var(--white); clip-path: polygon(47px 0, 100% 0, 100% 100%, 47px 100%, 1px 50%); }
.smer--p .smer-in { padding: 26px 82px 26px 34px; clip-path: polygon(0 0, calc(100% - 50px) 0, 100% 50%, calc(100% - 50px) 100%, 0 100%); }
.smer--p .smer-in::before { background: linear-gradient(120deg, #e3252d, #a90f17); clip-path: polygon(0 0, calc(100% - 47px) 0, calc(100% - 1px) 50%, calc(100% - 47px) 100%, 0 100%); }
.smer-k { margin: 0 0 4px; font-size: 12.500px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.smer h3 { margin: 0 0 4px; font-size: clamp(22px, 2.300vw, 28px); font-weight: 800; font-style: italic; }
.smer p:not(.smer-k) { margin: 0; font-size: 15.500px; line-height: 1.45; color: var(--muted); }
.smer-cena { font-size: clamp(34px, 3.600vw, 46px); font-weight: 800; font-style: italic; line-height: 1; color: var(--red); white-space: nowrap; }
.smer--p, .smer--p h3 { color: var(--white); }
.smer--p .smer-k { color: #ffd0d2; }
.smer--p p:not(.smer-k) { color: rgba(255, 255, 255, .9); }
.smer--p .smer-cena { color: var(--white); }
.razc-pod { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px; margin: 26px 0 0; text-align: center; }
.razc-pod p { margin: 0; font-size: 15.500px; color: var(--muted); }
.podm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.podm { position: relative; overflow: hidden; padding: 30px 24px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.podm::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--red), #a90f17); }
.podm-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.podm-head h3 { margin: 0; font-size: 20px; }
.podm-head .lz-code { min-width: 62px; font-size: 23px; }
.podm > p { font-size: 15.500px; color: var(--muted); }
.podm .ticks { font-size: 15.500px; margin-bottom: 0; }
.podm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed #cfd1d8; }
.podm-chips li { padding: 5px 12px; border-radius: 30px; background: var(--soft); border: 1px solid var(--line); font-size: 13.500px; font-weight: 600; color: var(--ink); }
.podm-chips b { color: var(--red); }
.podm-pozn { margin: 14px 0 0; font-size: 14.500px; line-height: 1.5; color: var(--muted); }

/* kondičné jazdy: cena ako značka */
.kond { display: grid; grid-template-columns: 7fr 5fr; gap: 50px; align-items: center; }
.kond-foto { position: relative; }
.kond-foto .pf-row { height: 340px; margin: 0; }
.zn-cena { position: absolute; left: -26px; top: -30px; z-index: 2; display: grid; place-content: center; width: 148px; height: 148px; border: 15px solid var(--red); border-radius: 50%; background: var(--white); box-shadow: 0 0 0 5px var(--white), 0 16px 34px rgba(15, 15, 20, .3); color: var(--ink); font-weight: 800; line-height: 1; text-align: center; }
.zn-cena b { font-size: 50px; letter-spacing: -.02em; }
.zn-cena small { display: block; margin-top: 3px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
[data-reveal].anim.is-visible .zn-cena { animation: znPop .700s .450s cubic-bezier(.34, 1.56, .64, 1) backwards; }
@keyframes znPop { from { opacity: 0; transform: scale(.5) rotate(-18deg); } }
.fakty { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.fakty li { display: flex; align-items: center; gap: 9px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 40px; background: var(--white); font-size: 15px; font-weight: 600; color: var(--ink); }
.fakty .icon { width: 19px; height: 19px; color: var(--red); }

/* vrátenie preukazu: dva prípady */
.pripady { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pripad { position: relative; overflow: hidden; padding: 30px 28px 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.pripad-zn { position: absolute; right: -28px; top: -28px; width: 160px; height: 160px; color: rgba(216, 30, 38, .13); }
.pripad h3 { position: relative; margin: 0 0 10px; font-size: 22px; font-weight: 800; font-style: italic; }
.pripad p, .pripad .ticks { position: relative; font-size: 16px; }
.pripad .ticks { margin-bottom: 0; }
.pripad--tm { border-color: #141416; background: #141416; color: #d9dae0; }
.pripad--tm h3 { color: var(--white); }
.pripad--tm .pripad-zn { color: rgba(255, 255, 255, .07); }
.pripad--tm .ticks li { color: #e9e9ec; }

/* číselné dlaždice */
.cisla { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cislo { padding: 20px 18px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
.cislo b { display: block; margin-bottom: 4px; font-size: 46px; font-weight: 800; font-style: italic; line-height: 1; color: var(--red); }
.cislo b small { font-size: 18px; font-style: normal; font-weight: 700; color: var(--ink); }
.cislo span { font-size: 14.500px; font-weight: 600; color: var(--ink); }
.cislo--sir { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; background: #141416; border-color: #141416; }
.cislo--sir span { color: #d9dae0; }
.cislo--sir strong { color: var(--white); font-size: 17px; }

/* úzky pás s ikonou */
.pas { display: flex; align-items: center; gap: 24px; padding: 26px 30px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.pas-ic { flex: none; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 14px; background: var(--black); color: var(--white); transform: skewX(-8deg); }
.pas-ic .icon { width: 30px; height: 30px; transform: skewX(8deg); }
.pas > div { flex: 1; min-width: 0; }
.pas h2 { margin: 0 0 4px; font-size: 24px; }
.pas p { margin: 0; color: var(--muted); }

/* ========================================================================== */
/* Cenník: cenová tabuľa                                                      */
/* ========================================================================== */
.cennik-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: start; }
.tabula { position: relative; padding-bottom: 50px; }
.tabula::before, .tabula::after { content: ""; position: absolute; bottom: 0; width: 20px; height: 64px; background: linear-gradient(90deg, #8d9099, #dfe1e6 45%, #9a9da6); }
.tabula::before { left: 20%; }
.tabula::after { right: 20%; }
.tabula-in { position: relative; z-index: 1; overflow: hidden; border: 3px solid #2c2d32; border-radius: 20px; background: linear-gradient(180deg, #1c1c1f, #101012); box-shadow: var(--shadow-lg); color: var(--white); }
.tabula-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 26px; background: linear-gradient(100deg, #d81e26, #a90f17); font-size: 21px; font-weight: 800; font-style: italic; }
.tabula-top small { font-size: 12.500px; font-style: normal; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.tabula-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 14px 26px; border-bottom: 1px solid #2a2b30; transition: background-color .2s; }
.tabula-row:last-child { border-bottom: 0; }
.tabula-row:hover { background: rgba(255, 255, 255, .04); }
.tabula-row h3 { margin: 0; color: var(--white); font-size: 18.500px; }
.tabula-row p { margin: 2px 0 0; font-size: 14.500px; color: #a9abb3; }
.cifry { display: flex; align-items: center; gap: 4px; }
.cifry i { display: grid; place-items: center; width: 34px; height: 46px; border: 1px solid #3a3c42; border-radius: 6px; background: linear-gradient(180deg, #2b2c31 0 48%, #0b0b0c 48% 52%, #232428 52%); font-style: normal; font-size: 28px; font-weight: 800; color: var(--white); }
.cifry i.m { width: 8px; border: 0; background: none; }
.cifry em { min-width: 22px; margin-left: 6px; font-style: normal; font-size: 23px; font-weight: 800; color: #ff6b70; }
.cifry--tx { padding: 10px 15px; border: 1px solid #3a3c42; border-radius: 6px; background: #232428; font-size: 14.500px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #d5d6db; }
[data-reveal].anim.is-visible .cifry i { animation: cifraFlip .500s calc(var(--i, 0) * 60ms + 250ms) cubic-bezier(.2, .8, .2, 1) backwards; }
@keyframes cifraFlip { from { opacity: 0; transform: rotateX(-90deg); } }
.bok { display: grid; gap: 20px; }
.platby { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.platby li { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); font-size: 15.500px; font-weight: 600; color: var(--ink); }
.platby .icon { width: 24px; height: 24px; color: var(--red); }
.poukaz { position: relative; display: grid; grid-template-columns: 62px minmax(0, 1fr); overflow: hidden; border-radius: 16px; background: #141416; color: #d9dae0; box-shadow: var(--shadow-lg); }
.poukaz::before, .poukaz::after { content: ""; position: absolute; left: 52px; z-index: 1; width: 20px; height: 20px; border-radius: 50%; background: var(--white); }
.poukaz::before { top: -10px; }
.poukaz::after { bottom: -10px; }
.poukaz-stub { display: grid; place-items: center; border-right: 2px dashed rgba(255, 255, 255, .6); background: linear-gradient(180deg, #d81e26, #a90f17); }
.poukaz-stub span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 13px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--white); }
.poukaz-body { padding: 24px 24px 24px 26px; }
.poukaz h3 { display: flex; align-items: center; gap: 10px; color: var(--white); font-size: 21px; font-style: italic; font-weight: 800; }
.poukaz h3 .icon { color: #ff6b70; }
.poukaz p { margin: 0 0 16px; font-size: 15.500px; }

/* ========================================================================== */
/* O nás                                                                      */
/* ========================================================================== */
.odo { padding: 28px; border-radius: 18px; background: radial-gradient(420px 220px at 100% 0%, rgba(216, 30, 38, .22), transparent 70%), #141416; color: #d9dae0; box-shadow: var(--shadow-lg); }
.odo .kicker { color: #ff6b70; }
.odo-cisla { display: flex; gap: 6px; margin: 4px 0 14px; }
.odo-cisla i { display: grid; place-items: center; width: 54px; height: 72px; border: 1px solid #3a3c42; border-radius: 8px; background: linear-gradient(180deg, #2b2c31 0 48%, #0b0b0c 48% 52%, #232428 52%); font-style: normal; font-size: 44px; font-weight: 800; color: var(--white); }
[data-reveal].anim.is-visible .odo-cisla i { animation: odoRoll .800s calc(var(--n, 0) * 110ms + 200ms) cubic-bezier(.2, .9, .3, 1.1) backwards; }
@keyframes odoRoll { from { opacity: 0; transform: translateY(-70%); } }
.odo > p { margin: 0 0 6px; font-size: 16px; }
.odo .spec-list li { border-color: #303035; }
.odo .spec-list b { color: var(--white); }
.preukazky { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.preukazka { position: relative; overflow: hidden; display: flex; align-items: center; gap: 20px; padding: 50px 26px 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.preukazka::before { content: "Inštruktor autoškoly"; position: absolute; left: 0; right: 0; top: 0; padding: 7px 26px; background: linear-gradient(100deg, #d81e26, #a90f17); color: var(--white); font-size: 11.500px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.preukazka h3 { margin: 0 0 2px; font-size: 21px; }
.preukazka p { margin: 0; color: var(--muted); font-size: 15.500px; }
.vozy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.voz { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.voz-foto { position: relative; height: 210px; overflow: hidden; background: #1b1b1e; }
.voz-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.voz:hover .voz-foto img { transform: scale(1.05); }
.voz-foto--ic { display: grid; place-items: center; background: radial-gradient(closest-side, #2f3036, #141416); }
.voz-foto--ic .icon { width: 170px; height: 98px; color: var(--white); }
.voz-foto span { position: absolute; left: 16px; bottom: 14px; padding: 5px 12px; border-radius: 30px; background: rgba(19, 19, 19, .8); color: var(--white); font-size: 12.500px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.voz-body { padding: 22px 24px 24px; }
.voz-body h3 { font-size: 21px; }
.cv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.cv-grid .pf-row { height: 300px; margin: 0; }
.cv-mapa { margin-top: 34px; min-height: 230px; background: #1c1c1f; }
.cv-mapa iframe { height: 380px; }
.cv-mapa .map-placeholder { background: repeating-linear-gradient(135deg, #1e1e21 0 22px, #19191c 22px 44px); }
.cv-mapa .map-placeholder strong { color: var(--white); }
.cv-mapa .map-placeholder small { color: #9c9da5; }
.section--dark .map { border-color: #2e2f34; }
.pribeh { display: grid; grid-template-columns: 7fr 5fr; gap: 44px; align-items: start; }

/* ========================================================================== */
/* Kontakt, formuláre, dokumenty                                              */
/* ========================================================================== */
.rychle { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rychla { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2px 16px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); color: var(--ink); transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .2s, box-shadow .25s; }
.rychla:hover { transform: translateY(-5px); border-color: var(--red); box-shadow: var(--shadow-lg); text-decoration: none; }
.rychla-ic { grid-row: 1 / 4; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 12px; background: var(--black); color: var(--white); transform: skewX(-8deg); transition: background-color .2s; }
.rychla-ic .icon { width: 26px; height: 26px; transform: skewX(8deg); }
.rychla:hover .rychla-ic { background: var(--red); }
.rychla--wa .rychla-ic, .rychla--wa:hover .rychla-ic { background: #1faa53; }
.rychla small { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rychla b { font-size: 21px; font-weight: 800; font-style: italic; line-height: 1.2; overflow-wrap: anywhere; }
.rychla--mail b { font-size: 16.500px; }
.rychla em { font-style: normal; font-size: 14px; color: var(--muted); }
.trojica { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.trojica .panel h3 { display: flex; align-items: center; gap: 10px; }
.trojica .panel:not(.panel--dark) h3 .icon { color: var(--red); }
.trojica .panel--dark h3 .icon { color: #ff6b70; }
.flow--sub .navi-sec { padding-top: 10px; }

.form-nahrada { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 10px; }
.form-card { overflow: hidden; padding: 0; border-radius: 20px; }
.form-card-in { padding: 30px; }
.mini-kroky { counter-reset: mk; display: grid; gap: 14px; }
.mini-kroky li { counter-increment: mk; position: relative; display: flex; align-items: center; min-height: 34px; padding-left: 48px; }
.mini-kroky li::before { content: counter(mk); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--red); color: var(--white); font-size: 17px; font-weight: 800; font-style: italic; transform: skewX(-8deg); }
.bok .panel h3 { display: flex; align-items: center; gap: 10px; }
.bok .panel:not(.panel--dark) h3 .icon { color: var(--red); }
.bok .panel--dark h3 .icon { color: #ff6b70; }
.form-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: start; }

.listy { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.list { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 24px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; }
.list:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.papier { position: relative; width: 92px; height: 120px; background: linear-gradient(180deg, #fff, #eff0f4); clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); box-shadow: inset 0 0 0 1.500px #cfd1d8; transition: transform .3s; }
.list:hover .papier { transform: rotate(-4deg); }
.papier::before { content: ""; position: absolute; right: 0; top: 0; width: 26px; height: 26px; background: linear-gradient(225deg, transparent 50%, #c3c6cf 50%); }
.papier::after { content: ""; position: absolute; left: 14px; right: 14px; top: 38px; height: 42px; background: repeating-linear-gradient(180deg, #d5d7de 0 3px, transparent 3px 11px); }
.papier b { position: absolute; left: 10px; bottom: 10px; padding: 2px 8px; border-radius: 4px; background: var(--red); color: var(--white); font-size: 11.500px; font-weight: 800; letter-spacing: .08em; }
.list h3 { margin-bottom: 6px; font-size: 20.500px; }
.list p { margin-bottom: 16px; font-size: 15.500px; color: var(--muted); }
.testy { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.prose--karta { max-width: 900px; padding: 44px 48px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); }
.prose--karta h2 { position: relative; margin-top: 1.600em; padding-left: 22px; font-size: 24px; }
.prose--karta h2::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 9px; background: var(--red); transform: skewX(-18deg); }
.prose--karta .note + h2 { margin-top: 0; }

@media (max-width: 1180px) {
  .rychle { grid-template-columns: 1fr 1fr; }
  .smer-in { padding-left: 70px; }
  .smer--p .smer-in { padding-right: 70px; }
}
@media (max-width: 1020px) {
  .razc { grid-template-columns: 1fr; gap: 18px; padding-bottom: 0; }
  .razc::before, .razc::after { display: none; }
  .podm-grid, .pripady, .vozy, .trojica, .listy, .preukazky { grid-template-columns: 1fr; }
  .kond, .cennik-grid, .cv-grid, .testy, .pribeh, .form-grid { grid-template-columns: 1fr; gap: 34px; }
  .kond-foto { margin: 30px 0 0 26px; }
  .tabula { padding-bottom: 0; }
  .tabula::before, .tabula::after { display: none; }
}
@media (max-width: 680px) {
  .smer-in { grid-template-columns: 1fr; min-height: 0; padding: 22px 22px 22px 62px; clip-path: polygon(38px 0, 100% 0, 100% 100%, 38px 100%, 0 50%); }
  .smer-in::before { clip-path: polygon(36px 0, 100% 0, 100% 100%, 36px 100%, 1px 50%); }
  .smer--p .smer-in { padding: 22px 62px 22px 22px; clip-path: polygon(0 0, calc(100% - 38px) 0, 100% 50%, calc(100% - 38px) 100%, 0 100%); }
  .smer--p .smer-in::before { clip-path: polygon(0 0, calc(100% - 36px) 0, calc(100% - 1px) 50%, calc(100% - 36px) 100%, 0 100%); }
  .smer:hover, .smer--p:hover { transform: none; }
  .kond-foto .pf-row { height: auto; }
  .kond-foto .pf { height: 260px; }
  .zn-cena { left: -14px; top: -34px; width: 118px; height: 118px; border-width: 12px; }
  .zn-cena b { font-size: 38px; }
  .zn-cena small { font-size: 10px; }
  .pas { flex-direction: column; align-items: flex-start; padding: 24px 22px; gap: 16px; }
  .pas .btn { width: 100%; }
  .tabula-top { padding: 14px 16px; font-size: 18px; }
  .tabula-row { grid-template-columns: 1fr; gap: 10px; padding: 14px 16px; }
  .cifry i { width: 30px; height: 40px; font-size: 24px; }
  .platby { grid-template-columns: 1fr; }
  .odo-cisla i { width: 46px; height: 62px; font-size: 36px; }
  .preukazka { padding: 46px 20px 22px; gap: 16px; }
  .rychle { grid-template-columns: 1fr; }
  .rychla { padding: 16px 18px; }
  .form-card-in { padding: 22px 18px; }
  .list { grid-template-columns: 1fr; gap: 16px; padding: 22px 20px; }
  .papier { width: 70px; height: 92px; }
  .papier::after { top: 30px; height: 30px; }
  .prose--karta { padding: 26px 20px; border-radius: 16px; }
}

/* ========================================================================== */
/* Podstránky skupín (skupina-*.html, generované zo src/skupiny.js)           */
/* ========================================================================== */
.ph-kod { display: inline-block; margin-right: 18px; padding: 2px 16px 4px; border-radius: 12px; background: var(--red); color: var(--white); font-size: .78em; line-height: 1.2; transform: skewX(-8deg); vertical-align: 3px; box-shadow: 0 8px 20px rgba(216, 30, 38, .4); }
.lz-tx h3 a { color: inherit; }
.lz-tx h3 a .icon { width: .8em; height: .8em; margin-left: 6px; stroke-width: 2.800; color: var(--red); transition: transform .2s; }
.lz-tx h3 a:hover { color: var(--red); text-decoration: none; }
.lz-tx h3 a:hover .icon { transform: translateX(4px); }
.sk-prehlad { display: grid; grid-template-columns: 5fr 6fr; gap: 70px; align-items: center; }
.sk-lic { justify-self: center; width: 100%; max-width: 470px; padding: 14px 0; }
.sk-lic .lic { zoom: 1.6; transform: rotate(-3deg); box-shadow: 0 14px 30px rgba(15, 15, 20, .22); transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.sk-lic:hover .lic { transform: rotate(1deg) translateY(-3px); }
[data-reveal].anim.is-visible .sk-lic .lic { animation: skLic .900s .150s cubic-bezier(.2, .9, .3, 1.1) backwards; }
@keyframes skLic { from { opacity: 0; transform: rotate(-14deg) translateY(26px) scale(.9); } }
.sk-udaje .section-head { margin-bottom: 20px; }
.sk-cisla { margin-bottom: 24px; }
.cislo--tx b { padding: 10px 0 4px; font-size: 30px; }
.cislo--sir strong { text-align: right; }
.sk-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.sk-tri { margin-top: 0; }
.sk-tri .podm-head h3 { font-size: 19px; }
.sk-ic { width: 50px; height: 50px; border-radius: 12px; }
.sk-ic .icon { width: 25px; height: 25px; }
.sk-ic .icon-solid { width: 34px; height: 20px; }
.podm--tm { border-color: #141416; background: #141416; color: #d9dae0; }
.podm--tm h3 { color: var(--white); }
.podm--tm .ticks li { color: #e9e9ec; }
.podm--tm .sk-ic { background: var(--red); }
.pf-row--v { height: 330px; }
.sk-dalsie { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.sk-dalsia { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: var(--shadow); color: var(--ink); transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .2s, box-shadow .25s; }
.sk-dalsia:hover { transform: translateY(-4px); border-color: var(--red); box-shadow: var(--shadow-lg); text-decoration: none; }
.sk-dalsia .lz-code { flex: none; min-width: 56px; padding: 6px 10px; font-size: 19px; }
.sk-dalsia b { display: block; font-size: 14.500px; line-height: 1.25; }
.sk-dalsia small { font-size: 12.500px; color: var(--muted); }
@media (max-width: 1180px) {
  .sk-dalsie { grid-template-columns: repeat(3, 1fr); }
  .sk-prehlad { gap: 44px; }
  .sk-lic .lic { zoom: 1.35; }
}
@media (max-width: 1020px) {
  .sk-prehlad { grid-template-columns: 1fr; gap: 34px; }
  .sk-lic { max-width: 400px; }
  .sk-dalsie { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .ph-kod { margin-right: 12px; padding: 2px 12px 3px; }
  .sk-lic { max-width: 320px; padding: 6px 0; }
  .sk-lic .lic { zoom: 1.12; }
  .sk-btns .btn { flex: 1 1 100%; }
  .pf-row--v { height: auto; flex-direction: row; flex-wrap: wrap; }
  .pf-row--v .pf { flex: 1 1 calc(50% - 5px); height: 210px; }
  .sk-dalsie { grid-template-columns: 1fr; }
}

/* prídavok pri kóde skupiny (B aut) */
.lz-code small, .ph-kod small { margin-left: 4px; font-size: .46em; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: .5em; }
.sk-dalsia .lz-code small { margin-left: 3px; }

/* omrvinky sa na úzkej obrazovke lámu po celých položkách */
.ph .crumbs { flex-wrap: wrap; row-gap: 2px; }
.ph .crumbs > * { white-space: nowrap; }

/* Traktor: dve fotky v menšom ráme (staré zábery v nízkom rozlíšení sa nesmú rozťahovať) + panel s výbavou */
.par { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 22px; align-items: stretch; margin-top: 28px; }
.par .pf-row { height: auto; min-height: 290px; margin: 0; }
.par .panel { display: flex; flex-direction: column; }
.par .panel h3 { display: flex; align-items: center; gap: 10px; }
.par .panel h3 .icon { color: var(--red); }
.par .panel .spec-list { margin-bottom: 18px; }
.par .panel .spec-list li { padding: 9px 0; }
.par .panel .btn { align-self: flex-start; margin-top: auto; }
.pf-row--par { max-width: 700px; height: 300px; margin-left: auto; margin-right: auto; }
@media (max-width: 1180px) { .par { grid-template-columns: minmax(0, 1fr) 330px; } }
@media (max-width: 1020px) {
  .par { grid-template-columns: 1fr; }
  .par .pf-row { min-height: 330px; }
}
@media (max-width: 680px) {
  .par .pf-row { min-height: 0; }
  .par .pf, .pf-row--par .pf { height: 250px; }
  .pf-row--par { height: auto; }
}

/* Hlavičky Kontaktu (auto) a Cenníka (auto s prívesom): bežná hlavička necháva časť fotky mimo obrazovky (vpravo)
   a pod šikmou hranou (vľavo). Tu fotka siaha presne od ľavého dolného rohu šikmého rámu po pravý okraj obrazovky
   (80 px − --r), takže je vidno celú jej šírku. Zvislý posun (--y) drží kolesá tesne nad spodkom hlavičky;
   --min-y nedovolí odrezať nápis AUTOŠKOLA na streche. Fotka Cenníka je vľavo o 64 px rozšírená (viď suprava-platno.js),
   z toho je vidno len trojuholník asfaltu v ľavom dolnom rohu. */
.ph-photo--auto img, .ph-photo--suprava img { object-position: 50% 57%; }
@media (min-width: 1021px) {
  .ph-photo--auto { --r: 80px; --y: calc(294px - 22.31vw); --min-y: calc(-7.5vw - 8px); }
  .ph-photo--suprava { --r: 70px; --y: calc(292px - 21.42vw); --min-y: calc(-9.4vw - 10px); }
  .ph-photo--auto img, .ph-photo--suprava img { left: -55px; width: calc(100% + 55px - var(--r)); object-position: 0% 0; }
  /* nápisy na plachte sú pri ľavom okraji rámu, preto je tam stmavenie slabšie */
  .ph-photo--suprava::after { background: linear-gradient(90deg, rgba(20, 20, 22, .42) 0%, rgba(20, 20, 22, .08) 34%, rgba(20, 20, 22, 0) 60%), linear-gradient(0deg, rgba(20, 20, 22, .4), rgba(20, 20, 22, 0) 40%); }
}
@media (min-width: 1251px) {
  .ph-photo--auto img, .ph-photo--suprava img { object-position: 0% max(min(0px, var(--y)), var(--min-y)); }
  .ph-photo--suprava { --r: 80px; }
}

/* ===== Motocykle (motocykle.html): ktorú skupinu môžete robiť podľa veku – schody AM › A1 › A2 › A ===== */
.mt-panel { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; margin-bottom: 34px; padding: 28px 34px 30px; border-radius: 20px; background: radial-gradient(520px 260px at 0% 100%, rgba(216, 30, 38, .24), transparent 70%), #141416; color: var(--white); box-shadow: var(--shadow-lg); }
.mt-panel[hidden] { display: none; }
.mt-vek { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 16px; }
.mt-otazka, .mt-mam legend { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #b9bac0; }
.mt-otazka { padding-bottom: 12px; }
.mt-cislo { font-size: 17px; font-weight: 600; color: #b9bac0; line-height: 1; }
.mt-cislo b { margin-right: 4px; font-size: 68px; font-weight: 800; font-style: italic; color: var(--white); font-variant-numeric: tabular-nums; }
.mt-draha { grid-column: 1 / -1; position: relative; padding-bottom: 30px; }
.mt-draha input { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; --stopa: repeating-linear-gradient(90deg, rgba(255, 255, 255, .55) 0 10px, transparent 10px 22px) 0 50% / 100% 2px no-repeat, linear-gradient(90deg, var(--red) 0 calc(14px + var(--p, .4) * (100% - 28px)), #2c2d32 0); }
.mt-draha input::-webkit-slider-runnable-track { height: 14px; border-radius: 8px; background: var(--stopa); }
.mt-draha input::-moz-range-track { height: 14px; border-radius: 8px; background: var(--stopa); }
.mt-draha input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 40px; margin-top: -13px; border: 3px solid var(--red); border-radius: 9px; background: var(--white); box-shadow: 0 6px 16px rgba(0, 0, 0, .5); transform: skewX(-8deg); transition: transform .15s; }
.mt-draha input::-moz-range-thumb { box-sizing: border-box; width: 28px; height: 40px; border: 3px solid var(--red); border-radius: 9px; background: var(--white); box-shadow: 0 6px 16px rgba(0, 0, 0, .5); transform: skewX(-8deg); }
.mt-draha input:active::-webkit-slider-thumb { transform: skewX(-8deg) scale(1.08); }
.mt-draha input:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; border-radius: 10px; }
.mt-znacky { position: absolute; left: 14px; right: 14px; top: 48px; height: 26px; pointer-events: none; }
.mt-znacky span { position: absolute; left: calc(var(--x) * 100%); padding-top: 9px; transform: translateX(-50%); font-size: 13px; font-weight: 700; color: #9a9ca4; }
.mt-znacky span::before { content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 7px; margin-left: -1px; background: #55575e; }
.mt-doplnok { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding-left: 36px; border-left: 1px solid #2e2f34; }
.mt-mam { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.mt-mam legend { float: left; width: 100%; margin-bottom: 10px; padding: 0; }
.mt-mam label { position: relative; cursor: pointer; }
.mt-mam input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.mt-mam label span { display: block; padding: 9px 15px; border: 1px solid #3a3c42; border-radius: 40px; font-size: 15px; font-weight: 600; transition: background .2s, border-color .2s; }
.mt-mam label:hover span { border-color: #6a6c74; }
.mt-mam input:checked + span { border-color: var(--red); background: var(--red); }
.mt-mam input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 2px; }
.mt-veta { min-height: 2.8em; margin: 0; font-size: 19px; font-weight: 600; line-height: 1.4; color: var(--white); }

.mt-schody { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 14px; align-items: end; margin: 0; padding: 0; list-style: none; }
.mt-sk { display: flex; flex-direction: column; min-width: 0; scroll-margin-top: calc(var(--header-h) + 24px); }
.mt-karta { padding: 20px 20px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .25s, box-shadow .3s, background .25s; }
.mt-hlava { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.mt-hlava .lz-code { min-width: 62px; padding: 6px 12px; font-size: 23px; transition: background .25s; }
.mt-stav { margin-left: auto; padding: 5px 11px; border: 1px solid var(--line); border-radius: 40px; background: var(--white); font-size: 12.5px; font-weight: 700; color: var(--ink); white-space: nowrap; transition: background .25s, border-color .25s, color .25s; }
.mt-karta h3 { margin: 0 0 2px; font-size: 19px; }
.mt-limit { margin: 0 0 10px; font-size: 22px; font-weight: 800; font-style: italic; line-height: 1.2; color: var(--red); transition: color .25s; }
.mt-vykon { display: flex; gap: 5px; margin: 0 4px 14px; transform: skewX(-18deg); }
.mt-vykon i { flex: 1; height: 8px; border-radius: 2px; background: var(--line); transition: background .25s; }
.mt-vykon[data-n="1"] i:nth-child(-n+1), .mt-vykon[data-n="2"] i:nth-child(-n+2), .mt-vykon[data-n="3"] i:nth-child(-n+3), .mt-vykon[data-n="4"] i { background: var(--red); }
.mt-popis { min-height: 4.6em; margin: 0 0 16px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.mt-akcie { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.mt-akcie .more-link { font-size: 15px; }
/* schod pod kartou: výška rastie so skupinou, na schode je vek */
.mt-schod { display: flex; align-items: baseline; gap: 8px; height: var(--h, 46px); margin: 10px -7px 0; padding: 4px 18px 0; border-top: 5px solid var(--red); background: #141416; color: var(--white); transition: border-color .25s, background .25s; }
.mt-sk:nth-child(1) .mt-schod { --h: 46px; margin-left: 0; border-radius: 10px 0 0 12px; }
.mt-sk:nth-child(2) .mt-schod { --h: 84px; border-top-left-radius: 10px; }
.mt-sk:nth-child(3) .mt-schod { --h: 122px; border-top-left-radius: 10px; }
.mt-sk:nth-child(4) .mt-schod { --h: 160px; margin-right: 0; border-radius: 10px 12px 12px 0; }
.mt-schod b { font-size: 32px; font-weight: 800; font-style: italic; line-height: 1.15; }
.mt-schod span { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #b9bac0; }
.mt-schod em { display: block; margin-top: 2px; font-style: normal; letter-spacing: .02em; text-transform: none; color: #ff7a7f; }
/* stavy po nastavení veku */
.mt-sk.is-ano .mt-karta, .mt-sk.is-postup .mt-karta { border-color: var(--red); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.mt-sk.is-ano .mt-stav { border-color: var(--red); background: var(--red); color: var(--white); }
.mt-sk.is-postup .mt-stav { border-color: var(--black); background: var(--black); color: var(--white); }
.mt-sk.is-mam .mt-stav { background: var(--soft); }
.mt-sk.is-nie .mt-karta { background: var(--soft); box-shadow: none; }
.mt-sk.is-nie .lz-code { background: #8d9098; }
.mt-sk.is-nie .mt-limit, .mt-sk.is-mam .mt-limit { color: #8d9098; }
.mt-sk.is-nie .mt-vykon i, .mt-sk.is-mam .mt-vykon i { background: #cfd1d7; }
.mt-sk.is-nie .mt-stav { color: var(--muted); }
.mt-sk.is-nie .mt-akcie .btn, .mt-sk.is-mam .mt-akcie .btn { border-color: #b4b6bd; background: transparent; color: var(--ink); box-shadow: none; }
.mt-sk.is-nie .mt-akcie .btn::after, .mt-sk.is-mam .mt-akcie .btn::after { display: none; }
.mt-sk.is-nie .mt-schod { border-top-color: #6a6c74; background: #2a2b30; }

.flow--sub > .section--dark .sec-lead { color: #b9bac0; }
.mt-fotky { margin-top: 0; }
.mt-stroje { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 28px 0 0; padding: 0 20px; list-style: none; }
.mt-stroje li { padding: 12px 18px 13px; border: 1px solid #303035; border-radius: 12px; background: #1e1e21; transform: skewX(-8deg); }
.mt-stroje li > * { display: block; transform: skewX(8deg); }
.mt-stroje small { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ff7a7f; }
.mt-stroje b { font-size: 18px; font-weight: 800; font-style: italic; color: var(--white); }

.mt-vybava { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mt-vec { padding: 24px 22px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.mt-vec h3 { margin: 16px 0 4px; font-size: 18.5px; }
.mt-vec p { margin: 0; font-size: 15.5px; color: var(--muted); }
.mt-dalsie { grid-template-columns: repeat(3, 1fr); }
.mt-dalsie .sk-dalsia { padding: 16px 18px; gap: 16px; }
.mt-dalsie .sk-dalsia b { font-size: 17.5px; }
.mt-dalsie .sk-dalsia small { font-size: 13.5px; }

@media (max-width: 1020px) {
  .mt-panel { grid-template-columns: 1fr; gap: 24px; padding: 24px 22px 26px; }
  .mt-doplnok { padding: 22px 0 0; border-left: 0; border-top: 1px solid #2e2f34; }
  .mt-veta { min-height: 0; }
  .mt-schody { grid-template-columns: 1fr 1fr; gap: 18px 14px; align-items: stretch; }
  .mt-karta { flex: 1; }
  .mt-schody .mt-sk .mt-schod { --h: 44px; margin: 8px 0 0; border-radius: 10px; }
  .mt-sk.is-ano .mt-karta, .mt-sk.is-postup .mt-karta { transform: none; }
  .mt-stroje { grid-template-columns: repeat(3, 1fr); }
  .mt-vybava { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .mt-cislo b { font-size: 54px; }
  .mt-schody { grid-template-columns: 1fr; }
  .mt-popis { min-height: 0; }
  .mt-stroje { grid-template-columns: 1fr 1fr; padding: 0 8px; }
  .mt-dalsie { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .mt-vybava { grid-template-columns: 1fr; }
  .mt-mam label { flex: 1 1 auto; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .mt-karta, .mt-stav, .mt-schod { transition: none; }
}

/* ===== Ako prebieha kurz – jazda po ceste (.steps--jazda): vozidlo prejde od kroku 1 po 4 a kroky sa postupne rozsvietia.
   Ukazovanie myšou alebo ťuknutie na krok pošle vozidlo k nemu. Bez skriptu ostáva sekcia v pôvodnej podobe. ===== */
.jazda-stopa { position: absolute; left: 0; top: 21px; width: var(--w, 0px); height: 4px; border-radius: 2px; background: linear-gradient(90deg, rgba(216, 30, 38, 0), var(--red) 60px); box-shadow: 0 0 14px rgba(216, 30, 38, .75); transition: width .95s cubic-bezier(.45, .05, .25, 1); pointer-events: none; }
.jazda-moto { position: absolute; left: 0; top: -5px; z-index: 2; width: 46px; height: 29px; color: var(--white); opacity: 0; transform: translateX(var(--x, -70px)); transition: transform .95s cubic-bezier(.45, .05, .25, 1), opacity .3s; filter: drop-shadow(0 5px 8px rgba(0, 0, 0, .7)); pointer-events: none; }
.jazda-moto .icon { display: block; width: 100%; height: 100%; transform-origin: 19% 90%; transition: transform .3s cubic-bezier(.3, 1.4, .5, 1); }
.steps--jazda.is-aktivne .jazda-moto { opacity: 1; }
.steps--jazda.is-ide .jazda-moto .icon { transform: rotate(-11deg); }
.steps--jazda.is-ide .jazda-moto::before { content: ""; position: absolute; right: 100%; top: 9px; width: 34px; height: 12px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5)) 0 0 / 100% 2px no-repeat, linear-gradient(90deg, transparent, rgba(255, 255, 255, .32)) 8px 5px / 76% 2px no-repeat, linear-gradient(90deg, transparent, rgba(255, 255, 255, .5)) 0 10px / 100% 2px no-repeat; animation: jazdaCiary .35s linear infinite; }
.jazda-ciel { position: absolute; right: 0; top: 23px; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 40px; background: var(--white); color: var(--ink); font-size: 14px; white-space: nowrap; box-shadow: 0 0 0 8px #141416; transform: translateY(-50%) scale(0); transform-origin: 100% 50%; transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); pointer-events: none; }
.jazda-ciel i { font-style: normal; font-size: 22px; line-height: 1; }
.jazda-ciel b { font-weight: 800; font-style: italic; }
.steps--jazda.is-ciel .jazda-ciel { transform: translateY(-50%) scale(1); transition-delay: .75s; }
.steps--jazda.is-ciel .jazda-ciel i { animation: jazdaKyv 1.2s 1.2s ease-in-out 2; }
.jazda-emo { display: inline-block; margin-left: 9px; font-style: normal; font-size: 1.08em; transform-origin: 50% 80%; transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), opacity .3s; }

/* kroky, ku ktorým sa vozidlo ešte nedostalo, sú stlmené */
.steps--jazda .step::before { transition: background .35s, color .35s; }
.steps--jazda .step h3, .steps--jazda .step p { transition: opacity .4s, color .4s; }
.steps--jazda.is-aktivne .step { cursor: pointer; }
.steps--jazda.is-aktivne .step:not(.is-hotovo)::before { background: #2a2b30; color: #8f9199; }
.steps--jazda.is-aktivne .step:not(.is-hotovo) h3 { color: #8f9199; }
.steps--jazda.is-aktivne .step:not(.is-hotovo) p { opacity: .45; }
.steps--jazda.is-aktivne .step:not(.is-hotovo) .jazda-emo { opacity: 0; transform: scale(0) rotate(-40deg); }
.steps--jazda .step.is-teraz::before { animation: jazdaPop .55s cubic-bezier(.34, 1.56, .64, 1), jazdaKruh 1.5s .3s ease-out; }
.steps--jazda .step.is-teraz .jazda-emo { animation: jazdaKyv .9s .5s ease-in-out; }
@keyframes jazdaPop { 0% { transform: skewX(-8deg) scale(.7); } 60% { transform: skewX(-8deg) scale(1.22); } 100% { transform: skewX(-8deg) scale(1); } }
@keyframes jazdaKruh { from { box-shadow: 0 0 0 10px #141416, 0 0 0 10px rgba(216, 30, 38, .7); } to { box-shadow: 0 0 0 10px #141416, 0 0 0 30px rgba(216, 30, 38, 0); } }
@keyframes jazdaKyv { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-16deg) scale(1.15); } 60% { transform: rotate(12deg) scale(1.15); } }
@keyframes jazdaCiary { from { transform: translateX(0); opacity: 1; } to { transform: translateX(-14px); opacity: .2; } }

@media (max-width: 1020px) {
  /* kroky sú v mriežke 2 × 2 alebo pod sebou – cesta tu nie je, kroky sa len postupne rozsvietia */
  .jazda-stopa, .jazda-moto, .jazda-ciel { display: none; }
  .steps--jazda .step.is-teraz::before { animation: jazdaPop .55s cubic-bezier(.34, 1.56, .64, 1); }
}
@media (max-width: 1260px) { .jazda-ciel b { display: none; } .jazda-ciel { padding: 6px 8px; } }
@media (prefers-reduced-motion: reduce) {
  .jazda-stopa, .jazda-moto, .jazda-moto .icon, .jazda-ciel, .jazda-emo, .steps--jazda .step::before, .steps--jazda .step h3, .steps--jazda .step p { transition: none; }
  .steps--jazda .step.is-teraz::before, .steps--jazda .step.is-teraz .jazda-emo, .steps--jazda.is-ciel .jazda-ciel i, .steps--jazda.is-ide .jazda-moto::before { animation: none; }
  .steps--jazda.is-ciel .jazda-ciel { transition-delay: 0s; }
}

/* ===== KKV – kvalifikačná karta vodiča (kkv.html) ===== */
.kk-uvod { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.kk-text { max-width: 640px; font-size: 17.5px; }
.kk-uvod .ticks { margin-bottom: 26px; }
.kk-karta-wrap { justify-self: center; width: 100%; max-width: 390px; text-align: center; }
.kk-karta { position: relative; width: 100%; padding: 18px 20px 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(135deg, #fff 0%, #f4f5f8 55%, #e6e8ee 100%); box-shadow: var(--shadow-lg); text-align: left; transform: rotate(-4deg); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.kk-karta-wrap:hover .kk-karta { transform: rotate(0deg) scale(1.02); }
.kk-karta-hlava { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 3px solid var(--red); }
.kk-karta-hlava b { font-size: 13.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.kk-karta-hlava span { font-size: 11px; color: var(--muted); white-space: nowrap; }
@media (max-width: 420px) { .kk-karta-hlava span { display: none; } .kk-karta-telo { grid-template-columns: 76px 1fr; gap: 12px; } .kk-foto { height: 96px; } .kk-95 { right: 12px; bottom: 44px; width: 60px; height: 60px; font-size: 24px; } }
.kk-karta-telo { display: grid; grid-template-columns: 92px 1fr; gap: 16px; margin-top: 14px; }
.kk-foto { display: grid; place-items: center; height: 114px; border-radius: 10px; background: #e1e3e9; color: #a3a6ae; }
.kk-foto .icon { width: 46px; height: 46px; }
.kk-udaje p { display: flex; align-items: baseline; gap: 8px; margin: 0 0 8px; font-size: 13.5px; }
.kk-udaje i { min-width: 22px; font-size: 11.5px; font-style: normal; color: var(--muted); }
.kk-udaje b { font-weight: 700; }
.kk-udaje span { color: var(--muted); }
.kk-skupiny em { display: inline-block; margin-right: 4px; padding: 1px 7px; border-radius: 6px; background: var(--black); color: var(--white); font-size: 12.5px; font-weight: 800; font-style: italic; }
.kk-95 { position: absolute; right: 16px; bottom: 12px; display: grid; place-items: center; width: 72px; height: 72px; border: 3px solid var(--red); border-radius: 50%; background: rgba(255, 255, 255, .75); color: var(--red); font-size: 30px; font-weight: 800; font-style: italic; transform: rotate(-12deg); }
[data-reveal].anim.is-visible .kk-95 { animation: kkPeciatka .7s .9s cubic-bezier(.34, 1.56, .64, 1) backwards; }
@keyframes kkPeciatka { from { opacity: 0; transform: rotate(-30deg) scale(2.2); } }
.kk-karta-pozn { margin: 20px 0 0; font-size: 13.5px; color: var(--muted); }

.kk-vyber { margin-bottom: 26px; padding: 24px 28px 26px; border-radius: 18px; background: radial-gradient(520px 260px at 0% 100%, rgba(216, 30, 38, .24), transparent 70%), #141416; color: var(--white); box-shadow: var(--shadow-lg); scroll-margin-top: calc(var(--header-h) + 24px); }
.kk-vyber[hidden] { display: none; }
.kk-vyber fieldset { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.kk-vyber legend { float: left; width: 100%; margin-bottom: 12px; padding: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #b9bac0; }
.kk-vyber label { position: relative; cursor: pointer; }
.kk-vyber input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.kk-vyber label span { display: block; padding: 9px 15px; border: 1px solid #3a3c42; border-radius: 40px; font-size: 15px; font-weight: 600; transition: background .2s, border-color .2s; }
.kk-vyber label:hover span { border-color: #6a6c74; }
.kk-vyber input:checked + span { border-color: var(--red); background: var(--red); }
.kk-vyber input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 2px; }
.kk-odpoved { min-height: 2.9em; margin: 18px 0 0; font-size: 18px; font-weight: 600; line-height: 1.45; }

.kk-kurzy { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kk-kurz { position: relative; display: flex; flex-direction: column; padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .25s, box-shadow .3s, opacity .3s; }
.kk-hod { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.kk-hod b { font-size: 54px; font-weight: 800; font-style: italic; line-height: 1; color: var(--red); }
.kk-hod b small { font-size: .45em; color: var(--ink); }
.kk-hod span { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.kk-kurz .kicker { margin-bottom: 2px; }
.kk-kurz h3 { margin: 0 0 6px; font-size: 20px; }
.kk-kurz > p:not(.kicker) { min-height: 4.5em; margin: 0 0 10px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.kk-kurz .spec-list { margin: 0 0 18px; padding: 0; list-style: none; font-size: 15px; }
.kk-kurz .spec-list li { padding: 8px 0; }
.kk-kurz .btn { align-self: flex-start; margin-top: auto; }
.kk-kurz--tm { border-color: #141416; background: #141416; color: #e9e9ec; }
.kk-kurz--tm h3 { color: var(--white); }
.kk-kurz--tm > p:not(.kicker), .kk-kurz--tm .kk-hod span, .kk-kurz--tm .spec-list span { color: #b9bac0; }
.kk-kurz--tm .kk-hod b { color: #ff4b52; }
.kk-kurz--tm .spec-list li { border-color: #303035; }
.kk-kurz--tm .spec-list b { color: var(--white); }
.kk-kurzy.is-vyber .kk-kurz:not(.is-on) { opacity: .42; }
.kk-kurz.is-on { border-color: var(--red); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.kk-kurz.is-on::after { content: "Váš kurz"; position: absolute; top: -13px; right: 16px; padding: 4px 12px; border-radius: 40px; background: var(--red); color: var(--white); font-size: 12.5px; font-weight: 700; box-shadow: 0 6px 14px rgba(216, 30, 38, .35); }
.kk-dva { grid-template-columns: 1fr 1fr; margin-top: 0; }
.kk-dva .podm > p { margin: 14px 0 0; }
.steps--jazda.is-ide .jazda-moto--nakladne .icon { transform: rotate(-3deg); }

@media (max-width: 1100px) {
  .kk-kurzy { grid-template-columns: 1fr 1fr; }
  .kk-kurz > p:not(.kicker) { min-height: 0; }
}
@media (max-width: 900px) {
  .kk-uvod { grid-template-columns: 1fr; gap: 34px; }
  .kk-dva { grid-template-columns: 1fr; }
  .kk-vyber { padding: 22px 20px 24px; }
  .kk-odpoved { min-height: 0; }
}
@media (max-width: 640px) {
  .kk-kurzy { grid-template-columns: 1fr; }
  .kk-kurz.is-on { transform: none; }
  .kk-karta { transform: rotate(-2deg); }
  .kk-vyber label { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .kk-karta, .kk-kurz { transition: none; }
  [data-reveal].anim.is-visible .kk-95 { animation: none; }
}

/* ===== Osobné autá (osobne-auta.html): tri cesty k skupine B (pedále) a váha súpravy s prívesom ===== */
.oa-cesty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.oa-cesta { position: relative; display: flex; flex-direction: column; padding: 24px 24px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 24px); transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.oa-cesta:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.oa-stuzka { position: absolute; top: -12px; left: 22px; padding: 4px 12px; border-radius: 40px; background: var(--red); color: var(--white); font-size: 12.5px; font-weight: 700; box-shadow: 0 6px 14px rgba(216, 30, 38, .35); }
.oa-hlava { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.oa-hlava .lz-code { min-width: 64px; padding: 6px 13px; font-size: 24px; }
.oa-cena { font-size: 34px; font-weight: 800; font-style: italic; line-height: 1; color: var(--red); white-space: nowrap; }
/* podlaha auta s pedálmi: manuál má tri, automat dva */
.oa-pedale, .oa-dvojica { display: flex; justify-content: center; height: 108px; margin-bottom: 18px; border-radius: 14px; background: linear-gradient(180deg, #f4f4f6, #e7e8ed); }
.oa-pedale { align-items: flex-end; gap: 22px; padding: 14px 10px 11px; }
.oa-pedal { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.oa-pedal i { display: block; width: 46px; height: 36px; border-radius: 8px; background: repeating-linear-gradient(0deg, #2a2b30 0 5px, #3d3f46 5px 8px); box-shadow: 0 5px 0 #111113, 0 9px 12px rgba(0, 0, 0, .25); }
.oa-pedal--plyn i { width: 28px; height: 54px; border-radius: 8px 8px 12px 12px; }
.oa-pedale--aut .oa-pedal--brzda i { width: 66px; }
.oa-pedal--nie i { border: 2px dashed #b4b6bd; background: none; box-shadow: none; }
.oa-pedal small, .oa-osoba small { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.oa-cesta:hover .oa-pedal:not(.oa-pedal--nie) i { animation: oaPedal 1.4s ease-in-out infinite; }
.oa-cesta:hover .oa-pedal--brzda i { animation-delay: .25s; }
.oa-cesta:hover .oa-pedal--plyn i { animation-delay: .5s; }
@keyframes oaPedal { 0%, 45%, 100% { transform: none; box-shadow: 0 5px 0 #111113, 0 9px 12px rgba(0, 0, 0, .25); } 20% { transform: translateY(4px); box-shadow: 0 1px 0 #111113, 0 4px 8px rgba(0, 0, 0, .25); } }
.oa-dvojica { align-items: center; gap: 14px; }
.oa-osoba { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.oa-osoba b, .oa-osoba .icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; }
.oa-osoba b { background: var(--red); color: var(--white); font-size: 24px; font-weight: 800; font-style: italic; transform: skewX(-8deg); }
.oa-osoba .icon { padding: 13px; background: var(--black); color: var(--white); }
.oa-plus { margin-bottom: 20px; font-size: 26px; font-weight: 800; color: var(--muted); }
.oa-cesta h3 { margin: 0 0 6px; font-size: 21px; }
.oa-cesta > p { min-height: 4.7em; margin: 0 0 10px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.oa-cesta .spec-list, .oa-vys .spec-list { margin: 0 0 18px; padding: 0; list-style: none; font-size: 15px; }
.oa-cesta .spec-list li, .oa-vys .spec-list li { padding: 9px 0; }
.oa-cesta .spec-list b { max-width: 62%; }
.oa-akcie { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: auto; }
.oa-akcie .more-link { font-size: 15px; }
.oa-cesta--tm { border-color: #141416; background: #141416; color: #e9e9ec; }
.oa-cesta--tm h3 { color: var(--white); }
.oa-cesta--tm > p, .oa-cesta--tm .spec-list span, .oa-cesta--tm .oa-pedal small { color: #b9bac0; }
.oa-cesta--tm .oa-cena { color: #ff4b52; }
.oa-cesta--tm .lz-code { background: var(--red); }
.oa-cesta--tm .oa-pedale { background: linear-gradient(180deg, #26262b, #1c1c20); }
.oa-cesta--tm .oa-pedal i { background: repeating-linear-gradient(0deg, #6a6c74 0 5px, #83858e 5px 8px); box-shadow: 0 5px 0 #000, 0 9px 12px rgba(0, 0, 0, .5); }
.oa-cesta--tm .oa-pedal--nie i { border-color: #55575e; background: none; box-shadow: none; }
.oa-cesta--tm .spec-list li { border-color: #303035; }
.oa-cesta--tm .spec-list b { color: var(--white); }
.oa-cesta--tm .more-link { color: #ff7a7f; }

.oa-vaha { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 22px; align-items: stretch; }
.oa-vaha-ovl { padding: 26px 30px 24px; border: 1px solid #2e2f34; border-radius: 20px; background: radial-gradient(520px 260px at 0% 100%, rgba(216, 30, 38, .22), transparent 70%), #1b1b1e; }
.oa-prives { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.oa-prives legend, .oa-otazka { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #b9bac0; }
.oa-prives legend { float: left; width: 100%; margin-bottom: 12px; padding: 0; }
.oa-prives label { position: relative; cursor: pointer; }
.oa-prives input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.oa-prives label span { display: block; padding: 9px 16px; border: 1px solid #3a3c42; border-radius: 40px; font-size: 15px; font-weight: 600; transition: background .2s, border-color .2s; }
.oa-prives label:hover span { border-color: #6a6c74; }
.oa-prives input:checked + span { border-color: var(--red); background: var(--red); }
.oa-prives input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 2px; }
.oa-posuv { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 16px; margin-top: 24px; }
.oa-otazka { padding-bottom: 10px; }
.oa-kg { font-size: 17px; font-weight: 600; line-height: 1; color: #b9bac0; }
.oa-kg b { margin-right: 4px; font-size: 58px; font-weight: 800; font-style: italic; color: var(--white); font-variant-numeric: tabular-nums; }
.oa-draha.mt-draha { padding-bottom: 54px; }
.oa-zony { position: absolute; left: 14px; right: 14px; top: 50px; height: 44px; pointer-events: none; }
.oa-zona { position: absolute; left: calc(var(--od) * 100%); top: 0; width: calc((var(--do) - var(--od)) * 100% - 4px); padding-top: 8px; overflow: hidden; border-top: 4px solid #3a3c42; text-align: center; white-space: nowrap; transition: border-color .25s; }
.oa-zona b { display: block; font-size: 14.5px; font-weight: 800; font-style: italic; line-height: 1.2; color: #8f9199; transition: color .25s; }
.oa-zona small { display: block; font-size: 11.5px; color: #8f9199; }
.oa-zona.is-on { border-top-color: var(--red); }
.oa-zona.is-on b { color: var(--white); }
.oa-zona.is-on small { color: #d9dae0; }
.oa-vaha.je-lahky .oa-zona[data-zona="B96"], .oa-vaha.je-lahky .oa-zona[data-zona="BE"] { display: none; }
.oa-vaha.je-lahky .oa-zona[data-zona="B"] { left: 0; width: 100%; }
.oa-pozn { margin: 14px 0 0; font-size: 13.5px; line-height: 1.5; color: #9a9ca4; }
.oa-vysledok { display: flex; flex-direction: column; gap: 14px; }
.oa-vys { flex: 1; display: flex; flex-direction: column; padding: 26px 26px 24px; border-radius: 20px; background: var(--white); color: var(--text); box-shadow: var(--shadow-lg); animation: oaVys .4s cubic-bezier(.2, .8, .2, 1); }
.oa-vys[hidden] { display: none; }
@keyframes oaVys { from { opacity: 0; transform: translateY(10px); } }
.oa-vys .lz-code { align-self: flex-start; margin-bottom: 14px; background: var(--red); font-size: 28px; }
.section--dark .oa-vys h3 { margin: 0 0 8px; font-size: 22px; color: var(--ink); }
.oa-vys p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.steps--jazda.is-ide .jazda-moto--auto .icon { transform: rotate(-4deg); }

@media (max-width: 980px) {
  .oa-cesty { grid-template-columns: 1fr; gap: 26px; }
  .oa-cesta > p { min-height: 0; }
  .oa-cesta:hover { transform: none; }
  .oa-vaha { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .oa-vaha-ovl { padding: 22px 18px 20px; }
  .oa-kg b { font-size: 46px; }
  .oa-vys { padding: 22px 20px 20px; }
  .oa-zona small { font-size: 10.5px; }
  .oa-zona[data-zona="B96"] small { display: none; }
  .oa-prives label { flex: 1 1 auto; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .oa-cesta, .oa-zona, .oa-zona b { transition: none; }
  .oa-cesta:hover .oa-pedal i, .oa-vys { animation: none; }
}
