/* ==========================================================================
   Autoškola Špalek – hlavný štýl
   Farby: čierna, biela, červený akcent
   ========================================================================== */

:root {
  --red: #d81e26;
  --red-dark: #a90f17;
  --red-deep: #7c0c12;
  --black: #131313;
  --ink: #1b1b1d;
  --text: #2a2b2f;
  --muted: #5d6068;
  --line: #e2e3e7;
  --soft: #f4f4f6;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 6px 22px rgba(15, 15, 20, .08);
  --shadow-lg: 0 16px 40px rgba(15, 15, 20, .18);
  --font: "Fira Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --header-h: 94px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* --- Ikony ---------------------------------------------------------------- */
.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.icon-solid { fill: currentColor; stroke: none; }

/* --- Tlačidlá ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 9px; border: 2px solid transparent;
  font: 600 17px/1.2 var(--font); cursor: pointer; text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 6px 16px rgba(216, 30, 38, .32); }
.btn-red:hover { background: var(--red-dark); }
.btn-red { position: relative; overflow: hidden; }
.btn-red::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-20deg); pointer-events: none; }
.btn-red:hover::after { left: 120%; transition: left .7s ease; }
.btn .icon:last-child:not(:first-child) { transition: transform .2s; }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn-dark { background: rgba(15, 15, 15, .72); color: var(--white); border-color: var(--white); }
.btn-dark:hover { background: var(--black); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--soft); }
.btn-sm { padding: 10px 16px; font-size: 15px; border-radius: 8px; }
.btn-lg { padding: 16px 28px; font-size: 19px; }
.btn .icon { width: 1.15em; height: 1.15em; }

.more-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--red); }
.more-link .icon { width: 1em; height: 1em; stroke-width: 2.600; transition: transform .2s; }
.more-link:hover .icon { transform: translateX(3px); }

/* --- Hlavička ------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--black); color: var(--white); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.logo { display: inline-flex; align-items: flex-end; gap: 4px; color: var(--white); text-decoration: none; flex: none; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 92px; height: 54px; flex: none; }
.logo-text { display: flex; flex-direction: column; font-style: italic; line-height: 1; text-transform: uppercase; margin-left: -6px; }
.logo-text small { font-size: 17px; font-weight: 500; letter-spacing: .02em; padding-left: 30px; }
.logo-text strong { font-size: 44px; font-weight: 800; letter-spacing: -.01em; }

.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; min-width: 0; }
.topbar { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 26px; font-size: 14.500px; }
.topbar a { color: var(--white); display: inline-flex; align-items: center; gap: 8px; }
.topbar .icon { color: var(--red); width: 17px; height: 17px; }

.nav { display: flex; align-items: center; gap: 18px; }
.nav > ul { display: flex; align-items: center; gap: 4px; }
.nav li { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; padding: 9px 12px; color: var(--white); font-size: 15.500px; font-weight: 500; position: relative; white-space: nowrap; }
.nav-link:hover { text-decoration: none; color: #ffd7d9; }
.nav-link .icon { width: 14px; height: 14px; stroke-width: 2.600; }
.nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { font-weight: 600; }

.sub { position: absolute; top: 100%; left: 0; min-width: 270px; background: var(--white); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 12px; border-radius: 7px; color: var(--ink); font-size: 15px; font-weight: 500; }
.sub a:hover { background: var(--soft); color: var(--red); text-decoration: none; }

.nav-toggle { display: none; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }
.nav-toggle .icon { width: 30px; height: 30px; }
.nav-toggle-close { display: none; }

/* --- Hero (úvod) ---------------------------------------------------------- */
/* Fotka má vľavo vlastný rozmazaný tmavý les; vozidlá na nej začínajú v 33 % šírky.
   --w = šírka fotky, počítaná tak, aby vozidlá neprekryli text vľavo. */
.hero { --cl: max(20px, calc((100vw - 1240px) / 2)); --w: min(1800px, calc((100vw - var(--cl) - 500px) / 0.666));
  position: relative; overflow: hidden; background: #0b100c; color: var(--white); padding: 76px 0 190px; min-height: calc(var(--w) * 0.3 + 140px);
  display: flex; flex-direction: column; justify-content: center; isolation: isolate; }
.hero-photo { position: absolute; top: -6px; right: -10px; width: var(--w); z-index: -2;
  translate: calc(var(--mx, 0) * -8px) calc(var(--my, 0) * -5px); transition: translate .6s cubic-bezier(.2, .7, .2, 1);
  transform-origin: 100% 60%; animation: heroPhoto 1.800s cubic-bezier(.16, 1, .3, 1) backwards; }
.hero-photo img { position: relative; z-index: 1; display: block; width: 100%; max-width: none; height: auto;
  -webkit-mask-image: linear-gradient(180deg, #000 93%, transparent 100%); mask-image: linear-gradient(180deg, #000 93%, transparent 100%); }
/* pokračovanie fotky doľava: zrkadlo jej rozmazanej ľavej časti (0,45 šírky fotky), postupne tmavšie; a cesty nadol */
.hero-photo::before { content: ""; position: absolute; z-index: 1; top: 0; right: calc(100% - 1px); width: calc(var(--w) * 0.45); height: 100%; background: url("../img/hero-okraj-lavy.jpg") right top / 100% 100% no-repeat; -webkit-mask-image: linear-gradient(180deg, #000 93%, transparent 100%); mask-image: linear-gradient(180deg, #000 93%, transparent 100%); }
.hero-photo::after { content: ""; position: absolute; top: 92%; left: calc(var(--w) * -0.45); right: 0; height: 700px; background: url("../img/hero-okraj-dolny.png") 0 0 / 100% 100% no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 10, 6, .45) 0%, rgba(6, 10, 6, .2) 30%, rgba(6, 10, 6, 0) 48%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 192px; z-index: -1; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .1) 16%, rgba(255, 255, 255, .34) 32%, rgba(255, 255, 255, .66) 48%, rgba(255, 255, 255, .9) 62%, rgba(255, 255, 255, .98) 72%, #fff 80%); }
.hero h1 { color: var(--white); font-size: clamp(42px, 5.600vw, 68px); font-weight: 800; font-style: italic; letter-spacing: -.01em; margin: 0; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero h1::after { content: ""; display: block; width: 92px; height: 7px; border-radius: 2px; background: var(--red); margin: 14px 0 20px; transform: skewX(-18deg); transform-origin: 0 50%; animation: heroLine .700s .550s cubic-bezier(.16, 1, .3, 1) backwards; }
.hero-lead { font-size: clamp(20px, 2.300vw, 27px); line-height: 1.3; max-width: 430px; margin-bottom: 26px; text-shadow: 0 1px 12px rgba(0, 0, 0, .45); animation: heroUp .800s .450s cubic-bezier(.16, 1, .3, 1) backwards; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 15px 7px 11px; border-radius: 40px; background: rgba(8, 12, 8, .42); border: 1px solid rgba(255, 255, 255, .24);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 14.500px; font-weight: 600; letter-spacing: .02em; animation: heroUp .800s .050s cubic-bezier(.16, 1, .3, 1) backwards; }
.hero-eyebrow .icon { color: #ff6a70; width: 17px; height: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; animation: heroUp .800s .600s cubic-bezier(.16, 1, .3, 1) backwards; }
.hero-status { display: flex; align-items: center; gap: 10px; margin: 20px 0 0; font-size: 15px; font-weight: 500; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); animation: heroUp .800s .750s cubic-bezier(.16, 1, .3, 1) backwards; }
.pulse { position: relative; flex: none; width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #3ddc84; animation: pulse 2.200s ease-out infinite; }

/* nadpis: slová vychádzajú spod masky */
.hw { display: inline-block; }
.hw > span { display: inline-block; animation: heroWord .950s .150s cubic-bezier(.16, 1, .3, 1) backwards; }
.hw + .hw > span { animation-delay: .270s; }

/* značka „rokov tradície" – tvar značky najvyššej dovolenej rýchlosti */
.hero-sign { position: absolute; z-index: 2; left: 39%; top: 6%; width: clamp(84px, 6.400%, 118px); aspect-ratio: 1; container-type: inline-size;
  translate: calc(var(--mx, 0) * 16px) calc(var(--my, 0) * 11px); transition: translate .6s cubic-bezier(.2, .7, .2, 1); pointer-events: none; }
.hero-sign-pop { width: 100%; height: 100%; transform: rotate(-7deg); animation: signPop .750s 1.100s cubic-bezier(.34, 1.56, .64, 1) backwards; }
.hero-sign-disc { width: 100%; height: 100%; border-radius: 50%; background: #fff; border: 9px solid var(--red); border-width: 10cqw; box-shadow: 0 0 0 2px #fff, 0 10px 26px rgba(0, 0, 0, .45);
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: #131313; line-height: 1; animation: signFloat 6s 1.900s ease-in-out infinite; }
.hero-sign-disc b { font-size: 38px; font-size: 42cqw; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hero-sign-disc span { margin-top: 1px; font-size: 11px; font-size: 12.500cqw; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }

@keyframes heroUp { from { opacity: 0; transform: translateY(18px); } }
@keyframes heroWord { from { opacity: 0; transform: translateY(70%); clip-path: inset(0 -10% 100% -10%); } to { opacity: 1; transform: none; clip-path: inset(-50% -10% -50% -10%); } }
@keyframes heroLine { from { transform: skewX(-18deg) scaleX(0); } }
@keyframes heroPhoto { from { opacity: 0; transform: scale(1.060); } }
@keyframes signPop { from { opacity: 0; transform: rotate(-45deg) scale(.3); } }
@keyframes signFloat { 50% { transform: translateY(-5px); } }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(3.200); opacity: 0; } }

/* prekrytie vlasovej linky na spodnej hrane hero (výška sekcie nie je celé číslo, hrana sa inak vyhladí do sivej) */
.hero-seam { position: relative; height: 0; }
.hero-seam::before { content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 6px; background: var(--white); }

/* --- Dve veľké karty ------------------------------------------------------ */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: -128px; position: relative; z-index: 2; padding-inline: 14px; }
.duo-card { position: relative; display: flex; align-items: center; gap: 26px; min-height: 152px; padding: 30px 84px 30px 62px; color: var(--white); isolation: isolate; }
.duo-card { transition: transform .25s cubic-bezier(.2, .7, .2, 1); animation: heroUp .800s .850s cubic-bezier(.16, 1, .3, 1) backwards; }
.duo-card + .duo-card { animation-delay: .970s; }
.duo-card:hover { text-decoration: none; transform: translateY(-4px); }
.duo-icon .icon, .duo-bg .icon { transition: transform .7s cubic-bezier(.3, 1.3, .5, 1); }
.duo-card--red:hover .duo-icon .icon { transform: rotate(-32deg); }
.duo-card--red:hover .duo-bg .icon { transform: translateY(-50%) skewX(10deg) rotate(-40deg); }
.duo-card--dark:hover .duo-icon .icon { transform: scale(1.080) rotate(-6deg); }
.duo-card--dark:hover .duo-bg .icon { transform: translateY(-50%) skewX(10deg) rotate(-8deg) scale(1.060); }
.duo-bg { position: absolute; inset: 0; z-index: -1; border-radius: 14px; transform: skewX(-10deg); overflow: hidden; box-shadow: var(--shadow-lg); border: 2px solid rgba(255, 255, 255, .9); transition: filter .2s; }
.duo-card--red .duo-bg { background: linear-gradient(115deg, #e3252d 0%, #c2141c 45%, #8a0b12 100%); }
.duo-card--dark .duo-bg { background: linear-gradient(115deg, #1b1b1d 0%, #101011 55%, #2a2a2d 100%); }
.duo-card:hover .duo-bg { filter: brightness(1.080); }
.duo-bg .icon { position: absolute; right: 4%; top: 50%; width: 230px; height: 230px; transform: translateY(-50%) skewX(10deg) rotate(-8deg); opacity: .13; stroke-width: 1.300; }
.duo-icon { flex: none; width: 82px; height: 82px; display: grid; place-items: center; }
.duo-icon .icon { width: 78px; height: 78px; stroke-width: 1.900; }
.duo-card h2 { color: var(--white); font-size: clamp(24px, 2.500vw, 33px); font-weight: 800; font-style: italic; margin: 0 0 6px; }
.duo-card p { margin: 0; font-size: 16.500px; line-height: 1.4; max-width: 330px; }
.duo-arrow { position: absolute; right: 44px; bottom: 22px; width: 40px; height: 40px; border-radius: 8px; background: var(--white); color: var(--ink); display: grid; place-items: center; transition: transform .2s; }
.duo-arrow .icon { width: 20px; height: 20px; stroke-width: 2.800; }
/* tri veľké karty pod úvodom: Vodičské kurzy · Špeciálne kurzy · KKV */
.duo--tri { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.duo--tri .duo-card { gap: 18px; padding: 26px 58px 30px 42px; }
.duo--tri .duo-card + .duo-card + .duo-card { animation-delay: 1.090s; }
.duo--tri .duo-icon { width: 62px; height: 62px; }
.duo--tri .duo-icon .icon { width: 60px; height: 60px; }
.duo--tri .duo-bg .icon { width: 190px; height: 190px; }
.duo--tri .duo-card h2 { font-size: clamp(22px, 2.100vw, 28px); }
.duo--tri .duo-card p { font-size: 15px; }
.duo--tri .duo-arrow { right: 30px; bottom: 16px; width: 34px; height: 34px; }
.duo-card--light { color: var(--ink); }
.duo-card--light .duo-bg { background: linear-gradient(115deg, #fff 0%, #f6f6f8 55%, #e8e9ed 100%); border-color: var(--red); }
.duo-card--light h2 { color: var(--ink); }
.duo-card--light .duo-icon { color: var(--red); }
.duo-card--light .duo-bg .icon { color: var(--red); opacity: .1; }
.duo-card--light .duo-arrow { background: var(--red); color: var(--white); }
.duo-card--light:hover .duo-icon .icon { transform: rotate(-8deg) scale(1.080); }
.duo-card--light:hover .duo-bg .icon { transform: translateY(-50%) skewX(10deg) rotate(-16deg); }
.offer-tab strong small { margin-left: 2px; font-size: .5em; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; vertical-align: .55em; }
.duo-card:hover .duo-arrow { transform: translateX(4px); }

/* --- Sekcie --------------------------------------------------------------- */
.section { padding: 64px 0; }
.section--tight { padding: 44px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--black); color: #e9e9ec; }
.section--dark h2, .section--dark h3 { color: var(--white); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.section-title { display: flex; align-items: center; gap: 14px; font-size: clamp(27px, 3vw, 35px); font-weight: 700; margin: 0; }
.section-title::before { content: ""; flex: none; width: 34px; height: 26px; background: linear-gradient(var(--red), var(--red)) 0 0 / 13px 100% no-repeat, linear-gradient(var(--red), var(--red)) 19px 0 / 13px 100% no-repeat; transform: skewX(-18deg); }
.section-intro { max-width: 760px; color: var(--muted); font-size: 18px; margin: -8px 0 28px; }
.section--dark .section-intro { color: #b9bac0; }

/* --- Naša ponuka (mriežka skupín) ---------------------------------------- */

.offer-intro { max-width: 640px; margin: -10px 0 24px; color: var(--muted); font-size: 17.500px; }
.offer-tabs { position: relative; display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; margin-bottom: 18px; }
.offer-tab { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 16px 6px 15px; background: var(--white); border: 1.500px solid var(--line); border-radius: 12px; color: var(--ink); --icon-bg: #fff;
  transition: transform .2s, border-color .2s, background-color .2s, color .2s, box-shadow .2s; }
.offer-tab:hover { text-decoration: none; transform: translateY(-3px); border-color: #b9bac2; box-shadow: var(--shadow); }
.offer-tab .icon { width: 66px; height: 36px; margin-bottom: 6px; }
.offer-tab strong { font-size: 22px; font-weight: 800; font-style: italic; line-height: 1.1; }
.offer-tab span { margin-top: 2px; font-size: 13.500px; line-height: 1.25; color: var(--muted); transition: color .2s; }
.offer-tab em { position: absolute; top: 8px; right: 8px; padding: 1px 7px; border-radius: 20px; background: var(--red); color: var(--white); font-size: 11.500px; font-weight: 700; font-style: normal; }
.offer-tab::after { content: ""; position: absolute; left: 24%; right: 24%; bottom: -1.500px; height: 4px; border-radius: 3px 3px 0 0; background: var(--red); transform: scaleX(0); transition: transform .25s; }
.offer-tab.is-active { background: var(--black); border-color: var(--black); color: var(--white); --icon-bg: #131313; transform: none; box-shadow: 0 10px 24px rgba(0, 0, 0, .22); }
.offer-tab.is-active span { color: #c9cad0; }
.offer-tab.is-active::after { transform: scaleX(1); }
.offer-tab.is-active::before { content: ""; position: absolute; left: 50%; top: calc(100% + 1px); margin-left: -9px; border: 9px solid transparent; border-top-color: var(--black); }

.offer-panel { display: grid; grid-template-columns: 41% 1fr; min-height: 316px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.offer-panel[hidden] { display: none; }
.offer-visual { position: relative; overflow: hidden; color: var(--white); --icon-bg: #131313;
  background: linear-gradient(108deg, #131313 0 73%, transparent 73% 74.500%, var(--red) 74.500% 82%, transparent 82% 84%, var(--red) 84% 86.500%, transparent 86.500%); }
.offer-ghost { position: absolute; left: 20px; top: -30px; font-size: calc(236px * var(--gs, 1)); font-weight: 800; font-style: italic; line-height: 1.1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .13); user-select: none; }
.offer-vehicle { position: absolute; left: 4%; bottom: 47px; width: 61%; height: 150px; }
.offer-road { position: absolute; left: 0; right: 24%; bottom: 40px; height: 3px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .42) 0 26px, transparent 26px 46px); }
.offer-body { display: flex; flex-direction: column; justify-content: center; padding: 30px 40px 32px 28px; min-width: 0; }
.offer-kicker { margin: 0 0 6px; font-size: 13.500px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--red); }
.offer-body h3 { margin: 0 0 10px; font-size: clamp(24px, 2.400vw, 31px); font-weight: 800; font-style: italic; }
.offer-body > p:not(.offer-kicker) { max-width: 580px; margin: 0 0 20px; font-size: 16.500px; color: var(--muted); }
.offer-facts { display: grid; grid-template-columns: auto auto 1fr; gap: 0 36px; margin: 0 0 24px; padding: 15px 0 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.offer-facts dt { margin-bottom: 3px; font-size: 12.500px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.offer-facts dd { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--ink); white-space: nowrap; }
.offer-facts .is-price dd { font-size: 27px; font-weight: 800; font-style: italic; line-height: 1.050; color: var(--red); }
.offer-facts .is-note dd { font-size: 15.500px; font-weight: 600; white-space: normal; }
.offer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

/* nábeh sekcie pri príchode do záberu a „príjazd" vozidla pri prepnutí skupiny */
.offer.anim:not(.is-visible) .offer-tab, .offer.anim:not(.is-visible) .offer-panel, .offer.anim:not(.is-visible) .offer-intro { opacity: 0; }
.offer.anim.is-visible .offer-intro { animation: heroUp .600s cubic-bezier(.16, 1, .3, 1) backwards; }
.offer.anim.is-visible .offer-tab { animation: heroUp .600s calc(var(--i, 0) * 55ms + 80ms) cubic-bezier(.16, 1, .3, 1) backwards; }
.offer.anim.is-visible .offer-panel { animation: heroUp .700s .420s cubic-bezier(.16, 1, .3, 1) backwards; }
.offer.is-visible .offer-panel:not([hidden]) .offer-vehicle { animation: driveIn .900s .100s cubic-bezier(.16, 1, .3, 1) backwards; }
.offer.is-visible .offer-panel:not([hidden]) .offer-ghost { animation: ghostIn .900s cubic-bezier(.16, 1, .3, 1) backwards; }
.offer.is-visible .offer-panel:not([hidden]) .offer-road { animation: roadRun .900s .100s cubic-bezier(.16, 1, .3, 1) backwards; }
.offer.is-visible .offer-panel:not([hidden]) .offer-body > * { animation: heroUp .550s cubic-bezier(.16, 1, .3, 1) backwards; }
.offer.is-visible .offer-panel:not([hidden]) .offer-body > :nth-child(2) { animation-delay: .050s; }
.offer.is-visible .offer-panel:not([hidden]) .offer-body > :nth-child(3) { animation-delay: .100s; }
.offer.is-visible .offer-panel:not([hidden]) .offer-body > :nth-child(4) { animation-delay: .150s; }
.offer.is-visible .offer-panel:not([hidden]) .offer-body > :nth-child(5) { animation-delay: .200s; }
.offer.anim.is-visible .offer-panel:not([hidden]) .offer-vehicle, .offer.anim.is-visible .offer-panel:not([hidden]) .offer-road { animation-delay: .500s; }
@keyframes driveIn { from { transform: translateX(-135%); } }
@keyframes ghostIn { from { opacity: 0; transform: translateX(46px); } }
@keyframes roadRun { from { background-position-x: 320px; opacity: 0; } }

/* --- Dekoratívne pozadie sekcií -------------------------------------------
   Šikmé sivé plochy (sklon ako v logu), obrysy značiek, bodky, pruhy a kužele.
   .d-m = len ak je vedľa obsahu voľný okraj, .d-w = len na širokých monitoroch. */
.has-deco { position: relative; overflow: hidden; overflow: clip; isolation: isolate; --okraj: calc(50% - 620px); }
.has-deco > .container { position: relative; z-index: 1; }
.deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.deco > * { position: absolute; }
.shard { display: block; }
.dots { width: 128px; height: 92px; background: radial-gradient(circle, #c3c6cf 2.200px, transparent 2.700px) 0 0 / 18px 18px; }
.sign { color: #dfe2e8; }
.slashes { width: 62px; height: 46px; transform: skewX(-18deg); background: linear-gradient(90deg, var(--red) 0 12px, transparent 12px 24px, var(--red) 24px 36px, transparent 36px 48px, rgba(216, 30, 38, .35) 48px 60px, transparent 60px); }
.cone { filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .12)); }

/* Spoločné pozadie pre ponuku, karty výhod a novinky (.flow). Horné prvky sú ukotvené zhora, dolné zdola. */
.flow { position: relative; overflow: hidden; isolation: isolate; --okraj: calc(50% - 620px); }
@supports (overflow: clip) { .flow { overflow: visible; overflow-x: clip; } }
.flow > section { position: relative; z-index: 1; }
.shard--o1 { left: 0; top: -200px; width: min(46vw, 640px); height: 1120px; clip-path: polygon(0 0, 70% 0, 0 100%); background: linear-gradient(100deg, #eceef2 0%, rgba(236, 238, 242, .55) 45%, rgba(236, 238, 242, 0) 100%); -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .12) 110px, rgba(0, 0, 0, .5) 250px, #000 440px); mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .12) 110px, rgba(0, 0, 0, .5) 250px, #000 440px); }
.shard--o2 { left: -40px; top: 500px; width: 380px; height: 340px; clip-path: polygon(0 0, 100% 62%, 0 100%); background: linear-gradient(60deg, #e3e6eb, rgba(227, 230, 235, .15)); }
.shard--o3 { right: 0; top: -200px; width: min(40vw, 540px); height: 760px; clip-path: polygon(100% 0, 100% 100%, 26% 0); background: linear-gradient(250deg, #eceef2 0%, rgba(236, 238, 242, .1) 100%); -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .12) 110px, rgba(0, 0, 0, .5) 250px, #000 440px); mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .12) 110px, rgba(0, 0, 0, .5) 250px, #000 440px); }
.shard--o4 { right: -30px; top: 600px; width: 300px; height: 320px; clip-path: polygon(100% 0, 100% 100%, 0 52%); background: linear-gradient(300deg, #e6e8ed, rgba(230, 232, 237, .1)); }
.shard--n1 { right: 0; bottom: 0; width: min(38vw, 500px); height: 760px; clip-path: polygon(100% 0, 100% 100%, 46% 100%); background: linear-gradient(260deg, #eceef2 0%, rgba(236, 238, 242, 0) 100%); -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 220px), transparent 100%); mask-image: linear-gradient(180deg, #000 calc(100% - 220px), transparent 100%); }
.shard--n2 { left: -30px; bottom: 330px; width: 340px; height: 300px; clip-path: polygon(0 0, 100% 45%, 0 100%); background: linear-gradient(140deg, #e6e8ed, rgba(230, 232, 237, .1)); }
.dots--o { left: calc(var(--okraj) - 196px); top: 236px; }
.sign--o2 { left: calc(100% - var(--okraj) + 96px); top: 196px; width: 132px; height: 132px; }
.slashes--o { left: calc(100% - var(--okraj) + 44px); top: 62px; }
.sign--o1 { left: calc(var(--okraj) - 232px); top: 486px; width: 148px; height: 134px; transform: rotate(-14deg); }
.cone--o1 { left: calc(100% - var(--okraj) + 50px); top: 572px; width: 74px; height: 92px; }
.cone--o2 { left: calc(100% - var(--okraj) + 142px); top: 596px; width: 62px; height: 78px; transform: rotate(74deg); }
.sign--n1 { left: calc(var(--okraj) - 214px); bottom: 396px; width: 124px; height: 124px; }
.slashes--n { left: calc(var(--okraj) - 118px); bottom: 100px; }
.cone--n1 { left: calc(var(--okraj) - 236px); bottom: 48px; width: 70px; height: 88px; }
.dots--n { left: calc(100% - var(--okraj) + 70px); bottom: 84px; }

/* Druhá časť (.flow--b): Prečo k nám (hore, v px), radenie a fotogaléria (stred, v %), navigácia (dole, od spodku) */
.flow > .section--soft { background: transparent; }
.shard--p1 { left: 0; top: -70px; width: min(44vw, 600px); height: 1000px; 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%); -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .12) 110px, rgba(0, 0, 0, .5) 250px, #000 440px); mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .12) 110px, rgba(0, 0, 0, .5) 250px, #000 440px); }
.shard--p2 { right: -30px; top: 430px; width: 320px; height: 380px; clip-path: polygon(100% 0, 100% 100%, 0 58%); background: linear-gradient(300deg, #e6e8ed, rgba(230, 232, 237, .1)); }
.sign--p1 { left: calc(var(--okraj) - 226px); top: 214px; width: 138px; height: 138px; transform: rotate(8deg); }
.slashes--p { left: calc(var(--okraj) - 118px); top: 650px; }
.dots--p { left: calc(100% - var(--okraj) + 70px); top: 150px; }
.cone--p1 { left: calc(100% - var(--okraj) + 88px); top: 706px; width: 70px; height: 88px; }
.shard--g1 { right: 0; top: 20.7%; 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--g2 { left: -40px; top: 27.9%; width: 360px; height: 330px; clip-path: polygon(0 0, 100% 60%, 0 100%); background: linear-gradient(60deg, #e3e6eb, rgba(227, 230, 235, .15)); }
.sign--g1 { left: calc(100% - var(--okraj) + 92px); top: 25.5%; width: 136px; height: 136px; transform: rotate(-10deg); }
.slashes--g { left: calc(100% - var(--okraj) + 48px); top: 34.9%; }
.dots--g { left: calc(var(--okraj) - 200px); top: 24.2%; }
.cone--g1 { left: calc(var(--okraj) - 156px); top: 35.5%; width: 66px; height: 82px; transform: rotate(-76deg); }
/* pri fotogalérii */
.shard--f1 { left: 0; top: 44.6%; width: min(38vw, 520px); height: 800px; clip-path: polygon(0 0, 80% 40%, 0 100%); background: linear-gradient(110deg, #eceef2 0%, rgba(236, 238, 242, .08) 100%); }
.dots--f { left: calc(100% - var(--okraj) + 70px); top: 46.6%; }
.slashes--f { left: calc(var(--okraj) - 118px); top: 55.8%; }
.cone--f1 { left: calc(100% - var(--okraj) + 96px); top: 57.4%; width: 68px; height: 86px; }
/* pri sekcii Kde sídlime */
.shard--h1 { right: 0; top: 63%; width: min(38vw, 520px); height: 780px; clip-path: polygon(100% 0, 100% 100%, 20% 58%); background: linear-gradient(250deg, #eceef2 0%, rgba(236, 238, 242, .08) 100%); }
.dots--h { left: calc(var(--okraj) - 196px); top: 66%; }
.slashes--h { left: calc(100% - var(--okraj) + 48px); top: 79%; }
.shard--k1 { left: 0; bottom: 0; width: min(42vw, 560px); height: 760px; clip-path: polygon(0 0, 0 100%, 64% 100%); background: linear-gradient(80deg, #eceef2 0%, rgba(236, 238, 242, .1) 100%); }
.shard--k2 { right: -30px; bottom: 300px; width: 300px; height: 300px; clip-path: polygon(100% 0, 100% 100%, 0 48%); background: linear-gradient(300deg, #e6e8ed, rgba(230, 232, 237, .1)); }
.sign--k1 { left: calc(100% - var(--okraj) + 88px); bottom: 430px; width: 128px; height: 128px; }
.sign--k2 { left: calc(var(--okraj) - 232px); bottom: 410px; width: 146px; height: 132px; transform: rotate(12deg); }
.dots--k { left: calc(100% - var(--okraj) + 66px); bottom: 110px; }
.slashes--k { left: calc(var(--okraj) - 120px); bottom: 258px; }
.cone--k1 { left: calc(var(--okraj) - 214px); bottom: 70px; width: 72px; height: 90px; }
.cone--k2 { left: calc(var(--okraj) - 120px); bottom: 56px; width: 60px; height: 76px; transform: rotate(74deg); }
@media (max-width: 1699px) { .deco .d-w { display: none; } }
@media (max-width: 1519px) { .deco .d-m { display: none; } }
@media (max-width: 1020px) { .shard--o3, .shard--o4, .shard--o2, .shard--n2, .shard--p2, .shard--g2, .shard--k2 { display: none; } }

/* --- Výhody ako dopravné značky pri ceste --------------------------------
   Vlastná scéna: biely závoj stíši dekorácie pozadia, za značkami sú siluety kopcov, pod nimi asfaltka.
   --road = výška od vrchu radu po cestu, --rh = výška cesty. Po ceste jazdí auto; značka, okolo ktorej prejde, sa rozkýve. */
.roadside { --road: 176px; --rh: 64px; padding: 30px 0 46px; }
.roadside::before { content: ""; position: absolute; z-index: -2; left: 0; right: 0; top: -70px; bottom: -40px; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0, #fff 110px, #fff calc(100% - 100px), rgba(255, 255, 255, 0) 100%); }
.roadside > .container { position: relative; }
.rs-row { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.rs-row::before { content: ""; position: absolute; left: calc(50% - 50vw); width: 100vw; top: var(--road); height: var(--rh); box-shadow: 0 12px 26px rgba(15, 15, 20, .2);
  background: linear-gradient(90deg, #fff 0 30px, transparent 30px 58px) 0 50% / 58px 3px repeat-x, linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, .8)) 0 6px / 100% 2px no-repeat, linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, .8)) 0 calc(100% - 6px) / 100% 2px no-repeat, linear-gradient(180deg, #3b3d43, #27282d); }
.rs-row::after { content: ""; position: absolute; z-index: -1; left: calc(50% - 50vw); width: 100vw; top: calc(var(--road) - 150px); height: 150px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 720 150' preserveAspectRatio='none'%3E%3Cpath d='M0 150V70C80 30 150 30 230 62S380 100 460 58 640 28 720 70V150z' fill='%23f0f2f5'/%3E%3Cpath d='M40 80l-8 26h16zM95 70l-9 28h18zM112 78l-7 20h14zM297 96l-8 26h16zM474 66l-8 26h16zM545 60l-9 28h18zM566 64l-8 26h16zM585 70l-7 22h14z' fill='%23d6dae1'/%3E%3Cpath d='M0 150V112C60 92 120 88 190 104S330 128 420 100 600 84 720 112V150z' fill='%23e3e6eb'/%3E%3C/svg%3E") 50% 0 / 720px 150px repeat-x;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.rs { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.rs-top { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: var(--road); transform-origin: 50% 100%; transition: transform .45s cubic-bezier(.3, 1.7, .5, 1); }
.rs:hover .rs-top { transform: rotate(-4deg); }
.rs:nth-child(even):hover .rs-top { transform: rotate(4deg); }
.rs.is-hit .rs-top { animation: rsHit .900s cubic-bezier(.3, .7, .3, 1); }
.rs-pole { position: relative; width: 7px; height: calc(var(--h, 36px) + 12px); border-radius: 0 0 2px 2px; background: linear-gradient(90deg, #8d9099 0%, #d9dbe1 45%, #9a9da6 100%); }
.rs-pole::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 46px; height: 9px; margin-left: -23px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .3), transparent); }
.rs-tx { position: relative; display: flex; flex-direction: column; align-items: center; margin-top: calc(var(--rh) + 26px); }
.rs-tx::before { content: ""; width: 26px; height: 4px; margin-bottom: 10px; border-radius: 2px; background: var(--red); transform: skewX(-18deg); transition: width .3s cubic-bezier(.2, .7, .2, 1); }
.rs:hover .rs-tx::before, .rs.is-hit .rs-tx::before { width: 54px; }
.rs-tx small { font-size: 12.500px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rs-tx strong { margin-top: 2px; font-size: 21.500px; font-weight: 800; font-style: italic; line-height: 1.15; color: var(--ink); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.rs-tx strong b { font-weight: 800; color: var(--red); }
.rs.is-hit .rs-tx strong { transform: scale(1.070); }

/* tabule */
.bd { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; flex: none; color: #131313; font-style: normal; line-height: 1; box-shadow: 0 10px 20px rgba(0, 0, 0, .22); }
.bd b { font-weight: 800; }
.bd i { font-style: normal; }
.bd--ecv { width: 150px; height: 44px; overflow: hidden; border: 2.500px solid #131313; border-radius: 7px; background: var(--white); }
.bd--ecv i { align-self: stretch; display: flex; align-items: flex-end; justify-content: center; width: 23px; padding-bottom: 5px; background: #1e56a8; color: var(--white); font-size: 9px; font-weight: 700; }
.bd--ecv b { flex: 1; font-size: 24px; letter-spacing: .05em; }
.bd--info, .bd--l { flex-direction: column; width: 90px; height: 90px; border: 3px solid var(--white); border-radius: 13px; background: #1e56a8; color: var(--white); box-shadow: 0 0 0 2px #1e56a8, 0 10px 20px rgba(0, 0, 0, .24); }
.bd--info b { font-size: 26px; letter-spacing: -.01em; }
.bd--info i { margin-top: 3px; font-size: 15px; font-weight: 700; }
.bd--l b { font-size: 60px; }
.bd--obec { width: 152px; height: 56px; border: 4px solid #131313; border-radius: 10px; background: var(--white); box-shadow: 0 0 0 2px var(--white), 0 10px 20px rgba(0, 0, 0, .24); }
.bd--obec b { font-size: 25px; letter-spacing: .07em; text-transform: uppercase; }
.bd--zakaz { width: 94px; height: 94px; border: 12px solid var(--red); border-radius: 50%; background: var(--white); box-shadow: 0 0 0 2px var(--white), 0 10px 20px rgba(0, 0, 0, .24); }
.bd--zakaz svg { width: 50px; height: auto; }

/* vozidlá: biele auto autoškoly v bližšom pruhu, motorka v protismere vo vzdialenejšom */
.rs-car, .rs-moto { position: absolute; left: calc(50% - 50vw - 90px); pointer-events: none; }
.rs-car { top: calc(var(--road) + var(--rh) - 47px); width: 68px; height: 43px; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .45)); animation: rsDrive 24s linear infinite; }
.rs-car svg { display: block; width: 100%; height: 100%; }
.rs-moto { top: calc(var(--road) + 3px); width: 40px; height: 25px; color: #c9ccd4; animation: rsDriveBack 37s -15s linear infinite; }
.rs-moto .icon { display: block; width: 100%; height: 100%; }

/* nábeh: cesta sa rozvinie zľava, stĺpik vyrastie, tabuľa vyskočí */
[data-reveal].anim:not(.is-visible) .rs-row::before, [data-reveal].anim:not(.is-visible) .rs-row::after { opacity: 0; }
[data-reveal].anim.is-visible .rs-row::before { animation: rsRoad 1.100s cubic-bezier(.2, .7, .2, 1) backwards; }
[data-reveal].anim.is-visible .rs-row::after { animation: rsFade 1.200s .200s ease-out backwards; }
[data-reveal].anim.is-visible .rs-pole { transform-origin: 50% 100%; animation: rsPole .500s calc(var(--i, 0) * 110ms + 350ms) cubic-bezier(.2, .7, .2, 1) backwards; }
[data-reveal].anim.is-visible .bd { transform-origin: 50% 100%; animation: rsBoard .650s calc(var(--i, 0) * 110ms + 600ms) cubic-bezier(.34, 1.56, .64, 1) backwards; }
@keyframes rsRoad { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 -40px 0); } }
@keyframes rsFade { from { opacity: 0; } }
@keyframes rsPole { from { transform: scaleY(0); } }
@keyframes rsBoard { from { opacity: 0; transform: translateY(26px) scale(.4) rotate(-12deg); } }
@keyframes rsHit { 20% { transform: rotate(6deg); } 45% { transform: rotate(-4deg); } 70% { transform: rotate(2deg); } 100% { transform: rotate(0); } }
@keyframes rsDriveBack { from { transform: translateX(calc(100vw + 180px)) scaleX(-1); } to { transform: translateX(0) scaleX(-1); } }
@keyframes rsDrive { to { transform: translateX(calc(100vw + 180px)); } }


/* --- Novinky + výzva ------------------------------------------------------ */
.bottom-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: stretch; }
.news { display: flex; flex-direction: column; min-width: 0; }
.news .section-head { margin-bottom: 20px; }
.news-list { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.news-list li { flex: 1; display: flex; }
.news-row { position: relative; flex: 1; display: flex; align-items: center; gap: 15px; padding: 15px 16px 15px 18px; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 12px; color: var(--ink);
  transition: transform .22s cubic-bezier(.2, .7, .2, 1), box-shadow .22s, border-color .22s; }
.news-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.news-row:hover { text-decoration: none; transform: translateX(5px); border-color: #cfd0d6; box-shadow: var(--shadow); }
.news-row:hover::before { transform: scaleY(1); }
.news-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--black); color: var(--white); transform: skewX(-10deg); transition: background-color .22s; }
.news-ic .icon { width: 23px; height: 23px; transform: skewX(10deg); }
.news-row:hover .news-ic { background: var(--red); }
.news-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.news-tx strong { font-size: 17px; font-weight: 600; line-height: 1.25; }
.news-tx span { font-size: 14.500px; line-height: 1.35; color: var(--muted); }
.news-row em { flex: none; padding: 4px 11px; border-radius: 20px; background: #fdecec; color: var(--red-dark); font-size: 13px; font-weight: 700; font-style: normal; white-space: nowrap; }
.news-go { flex: none; width: 16px; height: 16px; stroke-width: 2.600; color: #a4a6ae; transition: transform .22s, color .22s; }
.news-row:hover .news-go { transform: translateX(3px); color: var(--red); }

.cta-card { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; min-height: 348px; padding: 38px 40px; border-radius: 18px; color: var(--white);
  background: #131313; box-shadow: var(--shadow-lg); }
/* pravá polovica: pozadie z hero fotky (kopce a obloha, bez áut) so šikmým okrajom a dvoma červenými pruhmi */
.cta-photo { position: absolute; z-index: -1; top: -2px; bottom: -2px; right: -19%; width: 63%; overflow: hidden; transform: skewX(-18deg); border-left: 11px solid var(--red); box-shadow: -15px 0 0 #131313, -25px 0 0 var(--red); }
.cta-photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 70% 0; transform: skewX(18deg) scale(1.340) translateY(8%); }
.cta-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 19, 19, .08) 0%, rgba(19, 19, 19, .12) 45%, rgba(19, 19, 19, .55) 100%); }
.cta-copy { position: relative; max-width: 322px; }
.cta-kicker { margin: 0 0 9px; font-size: 13.500px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #ff7479; }
.cta-card h2 { margin: 0; color: var(--white); font-size: clamp(27px, 2.600vw, 33px); font-weight: 800; font-style: italic; }
.cta-card h2::after { content: ""; display: block; width: 64px; height: 6px; margin: 13px 0 16px; border-radius: 2px; background: var(--red); transform: skewX(-18deg); }
.cta-copy > p:not(.cta-kicker) { margin: 0 0 24px; font-size: 17.500px; line-height: 1.45; color: #d9dade; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.cta-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-size: 17px; font-weight: 600; }
.cta-phone .icon { color: #ff7479; width: 19px; height: 19px; }

/* ilustrácia vodičského preukazu – nakláňa sa za myšou */
.lic-wrap { position: absolute; right: 26px; top: 50%; width: 280px; margin-top: -92px; }
.lic-float { animation: licFloat 7s ease-in-out infinite; }
.lic { position: relative; overflow: hidden; aspect-ratio: 1.586; border-radius: 14px; color: #2a2b2f;
  background: repeating-radial-gradient(circle at 85% 15%, rgba(216, 30, 38, .08) 0 1px, transparent 1px 7px), linear-gradient(135deg, #ffffff 0%, #fdeef0 55%, #f8d6da 100%);
  box-shadow: 0 26px 50px rgba(0, 0, 0, .5), inset 0 1px rgba(255, 255, 255, .8);
  transform: perspective(900px) rotateX(calc(var(--ry, 0) * -9deg)) rotateY(calc(var(--rx, 0) * 12deg)) rotate(-6deg); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.lic::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .45) 48%, transparent 62%) calc(18% + var(--rx, 0) * 60%) 0 / 260% 100% no-repeat; transition: background-position .35s; }
.lic-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 14px; background: linear-gradient(90deg, #d81e26, #a90f17); color: var(--white); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.lic-head b { font-size: 12.500px; font-weight: 800; font-style: italic; letter-spacing: .04em; }
.lic-body { display: grid; grid-template-columns: 78px 1fr; gap: 14px; padding: 13px 14px; }
.lic-photo { display: grid; place-items: center; height: 98px; border-radius: 8px; background: linear-gradient(180deg, #dcdee4, #bfc2ca); color: var(--white); }
.lic-photo .icon { width: 46px; height: 46px; stroke-width: 1.600; }
.lic-data p { display: flex; align-items: baseline; gap: 7px; margin: 0 0 7px; font-size: 13px; line-height: 1.2; }
.lic-data i { flex: none; width: 15px; font-size: 9.500px; font-style: normal; color: #8a8c95; }
.lic-data b { font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.lic-data p > span { color: #5d6068; }
.lic-cats > span { display: flex; flex-wrap: wrap; gap: 3px; }
.lic-cats em { padding: 1px 5px; border: 1px solid rgba(0, 0, 0, .2); border-radius: 4px; font-size: 10px; font-weight: 700; font-style: normal; color: #5d6068; }
.lic-cats em.on { background: var(--red); border-color: var(--red); color: var(--white); }
.lic-stamp { position: absolute; left: 9px; bottom: 11px; padding: 3px 8px; border: 2px solid var(--red); border-radius: 6px; background: rgba(255, 255, 255, .78); color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; transform: rotate(-11deg); }

/* všeobecný nábeh častí pri príchode do záberu: [data-reveal] obal, [data-r] položky */
[data-reveal].anim:not(.is-visible) [data-r] { opacity: 0; }
[data-reveal].anim.is-visible [data-r] { animation: heroUp .700s calc(var(--i, 0) * 90ms) cubic-bezier(.16, 1, .3, 1) backwards; }
[data-reveal].anim.is-visible .lic-wrap { animation: licIn 1s .450s cubic-bezier(.2, .9, .3, 1.1) backwards; }
@keyframes licFloat { 50% { transform: translateY(-7px); } }
@keyframes licIn { from { opacity: 0; transform: translate(70px, 36px) rotate(16deg); } }


/* --- Karty výhod ---------------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { display: flex; gap: 16px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.feature-icon { flex: none; width: 50px; height: 50px; border-radius: 10px; background: var(--black); color: var(--white); display: grid; place-items: center; transform: skewX(-8deg); }
.feature-icon .icon { width: 26px; height: 26px; transform: skewX(8deg); }
.feature-icon .icon-solid { width: 34px; height: 22px; --icon-bg: #131313; }
.feature h3 { font-size: 18.500px; margin: 2px 0 5px; }
.feature p { margin: 0; font-size: 15.500px; line-height: 1.5; color: var(--muted); }
.feature:hover .feature-icon { background: var(--red); }
.feature:hover .feature-icon .icon-solid { --icon-bg: #d81e26; }

/* --- Prečo k nám: mozaika s reálnymi fotkami ------------------------------ */
.why-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.why { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; padding: 26px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(15, 15, 20, .05);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.why:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.why h3 { margin: 0 0 6px; font-size: 22px; font-weight: 800; font-style: italic; }
.why p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted); }
.why--a { grid-column: 1 / span 7; grid-row: 1 / span 2; min-height: 478px; }
.why--b { grid-column: 8 / span 5; justify-content: center; min-height: 230px; }
.why--c { grid-column: 8 / span 5; min-height: 230px; }
.why--d, .why--e, .why--f { grid-column: span 4; }

/* fotodlaždice */
.why--photo { padding: 0; justify-content: flex-end; border: 0; background: #131313; }
.why--photo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.why--a img { object-position: 50% 40%; }
.why--c img { object-position: 30% 38%; }
.why--photo:hover img { transform: scale(1.060); }
.why--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 12, .18) 0%, rgba(10, 10, 12, 0) 26%, rgba(10, 10, 12, .5) 58%, rgba(10, 10, 12, .92) 100%); }
.why--c::after { background: linear-gradient(90deg, rgba(10, 10, 12, .92) 0%, rgba(10, 10, 12, .72) 42%, rgba(10, 10, 12, .05) 78%); }
.why--c { justify-content: center; }
.why--c .why-body { max-width: 62%; }
.why-body { padding: 26px; }
.why--photo h3 { color: var(--white); }
.why--photo p { color: #dcdde2; }
.why--a h3 { font-size: clamp(25px, 2.500vw, 31px); }
.why--a .why-body > p:not(.why-num) { max-width: 540px; }
.why .why-num { margin-bottom: 8px; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--white); }
.why-num b { margin-right: 6px; font-size: 58px; font-weight: 800; font-style: italic; letter-spacing: -.02em; line-height: 1; text-transform: none; }
.why-tag { position: absolute; left: 20px; top: 20px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px 7px 10px; border-radius: 40px; background: rgba(10, 10, 12, .55); border: 1px solid rgba(255, 255, 255, .26); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--white); font-size: 13.500px; font-weight: 600; }
.why-tag .icon { width: 16px; height: 16px; color: #ff6a70; }
.why-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.why-chips li { padding: 5px 13px; border-radius: 20px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); color: var(--white); font-size: 13.500px; font-weight: 600; }
.why--a::before { content: ""; position: absolute; right: 26px; top: 22px; width: 62px; height: 40px; transform: skewX(-18deg); background: linear-gradient(90deg, var(--red) 0 12px, transparent 12px 24px, var(--red) 24px 36px, transparent 36px 48px, rgba(255, 255, 255, .85) 48px 60px, transparent 60px); }

/* červená a tmavá dlaždica */
.why-ic { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 11px; background: var(--black); color: var(--white); transform: skewX(-10deg); }
.why-ic .icon { width: 26px; height: 26px; transform: skewX(10deg); }
.why--red { border: 0; background: linear-gradient(135deg, #e3252d 0%, #c2141c 50%, #8f0c13 100%); box-shadow: 0 14px 30px rgba(216, 30, 38, .28); }
.why--red:hover { box-shadow: 0 22px 42px rgba(216, 30, 38, .36); }
.why--red .why-ic { margin-bottom: 16px; background: var(--white); color: var(--red); }
.why--red h3 { color: var(--white); font-size: clamp(25px, 2.500vw, 31px); }
.why--red p { max-width: 340px; color: rgba(255, 255, 255, .92); }
.why-ghost { position: absolute; z-index: -1; right: -26px; bottom: -34px; width: 210px; height: 210px; color: rgba(255, 255, 255, .16); stroke-width: 1.100; transform: rotate(-14deg); transition: transform .6s cubic-bezier(.3, 1.4, .5, 1); }
.why--red:hover .why-ghost { transform: rotate(-4deg) scale(1.080); }
.why--dark { border: 0; background: radial-gradient(90% 120% at 100% 0%, rgba(216, 30, 38, .26), transparent 60%), #131313; }
.why--dark h3 { color: var(--white); }
.why--dark p { color: #b9bac0; }
.why--dark .why-ic { background: var(--red); }

/* malé ilustrácie v spodnom rade */
.why-art { display: flex; align-items: center; gap: 14px; min-height: 76px; margin-bottom: auto; padding-bottom: 22px; }
.eq { display: flex; align-items: center; gap: 5px; height: 44px; }
.eq i { width: 5px; height: 100%; border-radius: 3px; background: var(--white); transform: scaleY(.25); animation: eq 1.300s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.900s; background: #ff6a70; }
.eq i:nth-child(3) { animation-delay: -.350s; }
.eq i:nth-child(4) { animation-delay: -1.100s; background: #ff6a70; }
.eq i:nth-child(5) { animation-delay: -.600s; }
.eq i:nth-child(6) { animation-delay: -.150s; background: #ff6a70; }
.eq i:nth-child(7) { animation-delay: -.750s; }
.why-badges span { min-width: 54px; padding: 8px 14px; border-radius: 9px; background: var(--black); color: var(--white); font-size: 24px; font-weight: 800; font-style: italic; text-align: center; transform: skewX(-8deg); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), background-color .25s; }
.why-badges span:last-child { background: var(--red); }
.why--e:hover .why-badges span { transform: skewX(-8deg) translateY(-5px); }
.why--e:hover .why-badges span:nth-child(2) { transition-delay: .060s; }
.why--e:hover .why-badges span:nth-child(3) { transition-delay: .120s; }
.why-quiz { flex-direction: column; align-items: stretch; gap: 7px; counter-reset: odp; }
.why-quiz span { counter-increment: odp; display: flex; align-items: center; gap: 10px; height: 26px; padding: 0 10px 0 4px; border: 1.500px solid var(--line); border-radius: 8px; color: var(--muted); }
.why-quiz span::before { content: counter(odp, upper-alpha); display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: var(--soft); font-size: 11px; font-weight: 700; }
.why-quiz span::after { content: ""; order: 1; flex: 1; height: 6px; border-radius: 3px; background: #e6e7eb; }
.why-quiz .ok { border-color: #1faa53; background: #eaf7ee; color: #14803c; }
.why-quiz .ok::before { background: #1faa53; color: var(--white); }
.why-quiz .ok::after { background: #a9dfbc; }
.why-quiz .icon { order: 2; width: 16px; height: 16px; stroke-width: 3; }
[data-reveal].anim.is-visible .why-quiz .icon { stroke-dasharray: 30; animation: iconDraw .600s 1.100s ease-out backwards; }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

/* --- Postup ako radenie rýchlostí ------------------------------------------
   Vľavo kulisa radenia s hlavicou páky, vpravo kroky = stupne 1–4 a päťka (vodičský preukaz).
   Skript radí podľa skrolovania alebo po kliknutí na krok; hlavica ide kulisou cez neutrál. */
.gear-intro { max-width: 640px; margin: -10px 0 30px; color: var(--muted); font-size: 17.500px; }
.gear { display: grid; grid-template-columns: minmax(0, 404px) minmax(0, 1fr); gap: 52px; align-items: start; }
.gear-box { position: sticky; top: calc(var(--header-h) + 18px); overflow: hidden; padding: 22px 24px 18px; border-radius: 24px; background: radial-gradient(90% 62% at 100% 0%, rgba(216, 30, 38, .34), transparent 64%), #131313; color: var(--white); box-shadow: var(--shadow-lg); }
.gear-dash { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 6px; }
.gear-stav { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gear-stav small { font-size: 12.500px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #b9bac0; }
.gear-stav strong { display: flex; align-items: center; gap: 9px; color: var(--white); font-size: 17.500px; font-weight: 800; font-style: italic; line-height: 1.2; transition: opacity .2s; }
.gear-stav i, .gear-emoji, .gear-oslava span { font-style: normal; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.gear-stav i { font-size: 23px; line-height: 1; }
.gear.is-shifting .gear-stav strong { opacity: .4; }
.gear-leds { display: flex; gap: 7px; margin: 12px 0 2px; }
.gear-leds i { flex: 1; height: 7px; border-radius: 4px; background: #2a2b30; transition: background-color .25s, box-shadow .25s; }
.gear-leds i.is-on { background: #35d07f; box-shadow: 0 0 10px rgba(53, 208, 127, .7); }
.gear-leds i:nth-child(3).is-on, .gear-leds i:nth-child(4).is-on { background: #ffc233; box-shadow: 0 0 10px rgba(255, 194, 51, .7); }
.gear-leds i:nth-child(5).is-on { background: #ff3b44; box-shadow: 0 0 12px rgba(255, 59, 68, .85); }
.gear-leds.is-plne i { animation: gearBlik .5s steps(2, jump-none) 3; }
@keyframes gearBlik { 50% { opacity: .25; } }
.gear-box:focus-visible { outline-offset: 4px; border-radius: 24px; }
.gear-knob { cursor: grab; touch-action: none; }
.gear.is-drag .gear-knob { cursor: grabbing; }
.gear-knob:hover .gear-knob-in { transform: scale(1.060); }
.gear-ovl { display: flex; gap: 10px; margin-top: 8px; }
.gear-btn { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid #3a3c42; border-radius: 10px; background: #1f2023; color: var(--white); cursor: pointer; transition: background-color .2s, border-color .2s, opacity .2s; }
.gear-btn:hover { background: #2b2c31; border-color: #55575e; }
.gear-btn:disabled { opacity: .35; cursor: default; }
.gear-btn .icon { width: 20px; height: 20px; stroke-width: 2.600; }
.gear-next { flex: 1; justify-content: center; min-height: 44px; }
.gear-next .icon { width: 1em; height: 1em; stroke-width: 2.600; }
.gear-oslava { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.gear-oslava span { position: absolute; left: 50%; top: 46%; font-size: 26px; line-height: 1; animation: gearLet 1.500s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes gearLet { from { opacity: 1; transform: translate(-50%, -50%) scale(.4); } 70% { opacity: 1; } to { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--r)) scale(1.150); } }
.gear-dash b { display: grid; place-items: center; min-width: 62px; height: 54px; padding: 0 12px; border-radius: 11px; background: #09090a; border: 1px solid #34353a; color: #ff5a61; font-size: 36px; font-weight: 800; font-style: italic; line-height: 1; text-shadow: 0 0 16px rgba(216, 30, 38, .75); }
.gear-svg { display: block; width: 100%; height: auto; }
.gear-svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.gear-gate-edge { stroke: #5c5e66; stroke-width: 38; }
.gear-gate { stroke: #0b0b0c; stroke-width: 32; }
.gear-trail { stroke: var(--red); stroke-width: 5; opacity: .9; stroke-dasharray: 0 2000; }
.gear-labels text { fill: #7d8089; font-family: var(--font); font-size: 30px; font-weight: 800; font-style: italic; text-anchor: middle; transition: fill .3s; }
.gear-labels .is-done { fill: var(--white); }
.gear-labels .is-on { fill: #ff5a61; }
.gear-labels .is-r { fill: #4d4f56; }
.gear-hit { fill: transparent; cursor: pointer; }
.gear-knob-in { transition: transform .25s cubic-bezier(.3, 1.5, .5, 1); }
.gear.is-shifting .gear-knob-in { transform: scale(1.090); }
.gear-note { margin: 8px 0 0; font-size: 13px; line-height: 1.4; color: #9c9da5; text-align: center; }

.gear-steps { position: relative; display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gear-steps::before { content: ""; position: absolute; left: 46px; top: 44px; bottom: 60px; width: 2px; background: repeating-linear-gradient(180deg, #cfd2d9 0 6px, transparent 6px 12px); }
.gear-step { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; align-items: start; padding: 18px 24px 18px 20px; border: 1px solid transparent; border-radius: 16px; cursor: pointer;
  transition: background-color .3s, border-color .3s, box-shadow .3s, transform .4s cubic-bezier(.2, .7, .2, 1); }
.gear-step::before { content: ""; position: absolute; left: -1px; top: 18px; bottom: 18px; width: 4px; border-radius: 3px; background: var(--red); transform: scaleY(0); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.gear-step:hover { background: #f6f6f8; }
.gear-step.is-on { background: var(--white); border-color: var(--line); box-shadow: var(--shadow-lg); transform: translateX(10px); }
.gear-step.is-on::before { transform: scaleY(1); }
.gear-pick { position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 2px solid var(--black); border-radius: 50%; background: var(--black); color: var(--white); font: italic 800 22px/1 var(--font); cursor: pointer;
  transition: background-color .3s, border-color .3s, color .3s, box-shadow .3s, transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.gear.is-live .gear-step:not(.is-done):not(.is-on) .gear-pick { border-color: #c9ccd4; background: var(--white); color: #8d9099; }
.gear-step.is-on .gear-pick { border-color: var(--red); background: var(--red); color: var(--white); box-shadow: 0 0 0 6px rgba(216, 30, 38, .16), 0 8px 18px rgba(216, 30, 38, .32); transform: scale(1.080); }
.gear-tx small { font-size: 12.500px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--red); }
.gear-tx h3 { margin: 2px 0 6px; font-size: 22px; font-weight: 800; font-style: italic; }
.gear-tx p { max-width: 580px; margin: 0; font-size: 15.500px; line-height: 1.55; color: var(--muted); }
.gear-tx .btn { margin-top: 14px; }
.gear-step { grid-template-columns: 52px minmax(0, 1fr) auto; }
.gear-emoji { align-self: center; font-size: 36px; line-height: 1; transition: filter .3s, opacity .3s, transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.gear.is-live .gear-step:not(.is-done):not(.is-on) .gear-emoji { filter: grayscale(1); opacity: .32; transform: scale(.82); }
.gear-step.is-on .gear-emoji { animation: gearEmoji 1.600s ease-in-out infinite; }
@keyframes gearEmoji { 0%, 100% { transform: scale(1.220) rotate(-8deg); } 50% { transform: scale(1.340) rotate(8deg); } }

/* --- Kroky ---------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: krok; }
.step { position: relative; padding: 26px 22px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); counter-increment: krok; }
.step::before { content: counter(krok); display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; background: var(--red); color: var(--white); font-size: 22px; font-weight: 800; font-style: italic; border-radius: 9px; transform: skewX(-8deg); }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { margin: 0; font-size: 15.500px; color: var(--muted); line-height: 1.5; }
.section--dark .step { background: #1e1e21; border-color: #303035; }
.section--dark .step p { color: #b9bac0; }

/* --- Ceny ----------------------------------------------------------------- */

.price-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-table caption { text-align: left; font-size: 22px; font-weight: 700; color: var(--ink); padding: 0 0 12px; }
.price-table th, .price-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.price-table thead th { background: var(--black); color: var(--white); font-size: 14.500px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.price-table tbody tr:last-child td, .price-table tbody tr:last-child th { border-bottom: 0; }
.price-table tbody th { font-weight: 600; color: var(--ink); }
.price-table tbody th small { display: block; font-weight: 400; font-size: 14.500px; color: var(--muted); }
.price-table td.price { text-align: right; white-space: nowrap; font-size: 21px; font-weight: 800; color: var(--red); }
.price-table td.price--soft { font-size: 16.500px; font-weight: 600; color: var(--ink); }
.table-wrap { border-radius: var(--radius); box-shadow: var(--shadow); overflow-x: auto; }

/* --- Podstránky: hlavička ------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; background: #1a1a1c; color: var(--white); padding: 52px 0 50px; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; top: -20%; bottom: -20%; right: -4%; width: 44%; z-index: -1; transform: skewX(-18deg);
  background: linear-gradient(90deg, rgba(216, 30, 38, 0) 0, rgba(216, 30, 38, .9) 0) 0 0 / 30px 100% no-repeat,
              linear-gradient(90deg, #c2141c, #7c0c12) 54px 0 / 100% 100% no-repeat; opacity: .92; }
.page-hero h1 { color: var(--white); font-size: clamp(34px, 4.500vw, 52px); font-weight: 800; font-style: italic; margin: 0; }
.page-hero h1::after { content: ""; display: block; width: 76px; height: 6px; border-radius: 2px; background: var(--red); margin: 12px 0 14px; transform: skewX(-18deg); }
.page-hero p { max-width: 560px; margin: 0; font-size: 19px; color: #dedee2; }
.crumbs { display: flex; gap: 8px; font-size: 14.500px; color: #b9bac0; margin-bottom: 12px; }
.crumbs a { color: #dedee2; }

/* --- Karty kurzov --------------------------------------------------------- */
.group-head { display: flex; align-items: center; gap: 18px; margin-bottom: 8px; }
.group-head .icon { width: 86px; height: 50px; color: var(--black); }
.course-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.course-grid--2 { grid-template-columns: repeat(2, 1fr); }
.course { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 2px 10px rgba(15, 15, 20, .05); }
.course-badge { align-self: flex-start; min-width: 58px; padding: 6px 14px; margin-bottom: 12px; background: var(--black); color: var(--white); font-size: 22px; font-weight: 800; font-style: italic; text-align: center; border-radius: 8px; transform: skewX(-8deg); }
.course h3 { font-size: 19.500px; margin-bottom: 6px; }
.course p { font-size: 15.500px; color: var(--muted); line-height: 1.5; }
.course-meta { margin: auto 0 14px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 15px; display: grid; gap: 4px; }
.course-meta li { display: flex; justify-content: space-between; gap: 10px; }
.course-meta b { color: var(--ink); font-weight: 600; }
.course-meta .is-price b { color: var(--red); font-size: 19px; font-weight: 800; }

.note { display: flex; gap: 14px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--red); border-radius: 10px; font-size: 16px; }
.note .icon { width: 24px; height: 24px; color: var(--red); margin-top: 2px; }
.note p:last-child { margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.split--wide-left { grid-template-columns: 7fr 5fr; }
.prose h2 { font-size: clamp(25px, 2.800vw, 32px); }
.prose h3 { font-size: 20px; margin-top: 1.300em; }
.prose ul.ticks, ul.ticks { display: grid; gap: 9px; margin: 0 0 1.200em; }
ul.ticks li { position: relative; padding-left: 30px; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 5px; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.500' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.section--dark ul.ticks li { color: #e9e9ec; }

.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.panel h3 { font-size: 20px; }
.panel--dark { background: var(--black); border-color: var(--black); color: #e9e9ec; }
.panel--dark h3 { color: var(--white); }
.panel--dark a { color: #ff8589; }

.spec-list { display: grid; gap: 0; }
.spec-list li { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.spec-list li:last-child { border-bottom: 0; }
.spec-list b { color: var(--ink); font-weight: 600; text-align: right; }
.panel--dark .spec-list li { border-color: #303035; }
.panel--dark .spec-list b { color: var(--white); }

.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.person { display: flex; align-items: center; gap: 18px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.avatar { flex: none; width: 72px; height: 72px; border-radius: 50%; background: var(--black); color: var(--white); display: grid; place-items: center; font-size: 25px; font-weight: 800; font-style: italic; border: 3px solid var(--red); }
.person h3 { font-size: 20px; margin: 0 0 2px; }
.person p { margin: 0; color: var(--muted); font-size: 15.500px; }

.fleet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fleet .panel .icon-solid { width: 78px; height: 46px; color: var(--black); margin-bottom: 6px; }

/* --- Dokumenty ------------------------------------------------------------ */
.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.doc { display: flex; gap: 18px; align-items: flex-start; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 2px 10px rgba(15, 15, 20, .05); }
.doc-icon { flex: none; width: 56px; height: 66px; border-radius: 8px; background: var(--black); color: var(--white); display: grid; place-items: center; }
.doc-icon .icon { width: 28px; height: 28px; }
.doc h3 { font-size: 19.500px; margin-bottom: 4px; }
.doc p { font-size: 15.500px; color: var(--muted); margin-bottom: 14px; }
.doc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 20px; background: var(--soft); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); }

/* --- Formulár ------------------------------------------------------------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; color: var(--ink); font-size: 15.500px; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--white); border: 1.500px solid #c9cad1; border-radius: 9px; padding: 12px 14px; width: 100%; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(216, 30, 38, .18); }
.field input:user-invalid, .field select:user-invalid { border-color: #c2141c; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; display: none; padding: 16px 18px; border-radius: 10px; font-weight: 500; }
.form-status.is-ok { display: block; background: #eaf7ee; border: 1px solid #9fd3ae; color: #14532d; }
.form-status.is-error { display: block; background: #fdecec; border: 1px solid #f0a8ac; color: #7c0c12; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-actions small { color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }

.form-heading { font-size: 19px; margin: 10px 0 -4px; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.form-heading:first-child { margin-top: 0; }
.choice { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice legend { font-weight: 600; color: var(--ink); font-size: 15.500px; padding: 0; margin-bottom: 8px; }
.choice label { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-weight: 400; font-size: 16px; color: var(--text); cursor: pointer; }
.choice input { width: 19px; height: 19px; accent-color: var(--red); flex: none; padding: 0; }
.zastupca { padding: 18px; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; }
.zastupca[hidden] { display: none; }
.result { margin-top: 24px; padding: 22px; background: #eaf7ee; border: 1px solid #9fd3ae; border-radius: 10px; }
.result h3 { color: #14532d; font-size: 20px; display: flex; align-items: center; gap: 10px; }
.result p { color: #1f3d2a; }

/* --- Kontakt -------------------------------------------------------------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 2px 10px rgba(15, 15, 20, .05); }
.contact-card > .icon { width: 34px; height: 34px; color: var(--red); margin-bottom: 10px; }
.contact-card h3 { font-size: 19.500px; margin-bottom: 6px; }
.contact-card p { margin: 0; }
.contact-card a { font-weight: 600; }
.big-link { display: block; font-size: 23px; font-weight: 800; color: var(--ink); }

.map { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #e9eaee; min-height: 340px; }
.map iframe { display: block; width: 100%; height: 340px; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px;
  background: repeating-linear-gradient(135deg, #eeeff2 0 22px, #e6e7eb 22px 44px); }
.map-placeholder > .icon { width: 40px; height: 40px; color: var(--red); }
.map-placeholder strong { color: var(--ink); font-size: 18.500px; }
.map-placeholder small { color: var(--muted); max-width: 360px; }
.maps { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.maps h3 { font-size: 18.500px; margin-bottom: 10px; }

/* --- Kde nás nájdete: obrazovka navigácie ----------------------------------
   Vľavo výber cieľa, úradné hodiny a telefóny; vpravo schematická mapa (skutočná mapa Google sa načíta až po kliknutí).
   Stav „otvorené/zatvorené" a hodiny dopĺňa skript podľa času v Bratislave. */
.navi { overflow: hidden; border: 6px solid #26272b; border-radius: 28px; background: #131313; color: var(--white); box-shadow: var(--shadow-lg); }
.navi-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 22px; background: #0c0c0d; border-bottom: 1px solid #26272b; font-size: 14.500px; }
.navi-status { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.navi-status i { position: relative; flex: none; width: 9px; height: 9px; border-radius: 50%; background: #8d9099; }
.navi-status b { font-weight: 700; }
.navi-status span { color: #b9bac0; }
.navi-status.is-open i { background: #3ddc84; }
.navi-status.is-open i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #3ddc84; animation: pulse 2.200s ease-out infinite; }
.navi-status.is-open b { color: #6fe7a5; }
.navi-status.is-closed i { background: #ff5a61; }
.navi-status.is-closed b { color: #ff8589; }
.navi-clock { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; color: #e9e9ec; }
.navi-body { display: grid; grid-template-columns: 344px minmax(0, 1fr); min-height: 474px; }
.navi-side { display: flex; flex-direction: column; gap: 16px; padding: 22px; background: #18181a; border-right: 1px solid #26272b; }
.navi-kicker { margin: 0 0 -4px; font-size: 12.500px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ff7479; }
.navi-dests { display: grid; gap: 8px; }
.navi-dest { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 13px; align-items: center; width: 100%; padding: 12px 14px; border: 1px solid #2e2f34; border-radius: 13px; background: #1f2023; color: var(--white); font: inherit; text-align: left; cursor: pointer;
  transition: background .25s, border-color .25s, box-shadow .25s, transform .25s; }
.navi-dest:hover { border-color: #55575e; }
.navi-dest.is-on { border-color: transparent; background: linear-gradient(135deg, #e3252d, #a90f17); box-shadow: 0 10px 22px rgba(216, 30, 38, .3); }
.navi-pin { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #0c0c0d; font-size: 19px; font-weight: 800; font-style: italic; transform: skewX(-8deg); transition: background-color .25s, color .25s; }
.navi-dest.is-on .navi-pin { background: var(--white); color: var(--red); }
.navi-dest-tx { display: flex; flex-direction: column; min-width: 0; }
.navi-dest-tx strong { font-size: 16.500px; font-weight: 700; line-height: 1.25; }
.navi-dest-tx span { font-size: 13.500px; line-height: 1.35; color: #b9bac0; }
.navi-dest.is-on .navi-dest-tx span { color: rgba(255, 255, 255, .9); }
.navi-hours { margin: 0; border-top: 1px solid #2e2f34; }
.navi-hours div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #2e2f34; font-size: 15px; }
.navi-hours dt { color: #b9bac0; }
.navi-hours dd { margin: 0; font-weight: 700; }
.navi-hours .is-today dt { color: var(--white); font-weight: 600; }
.navi-hours .is-today dt::after { content: "dnes"; margin-left: 8px; padding: 1px 7px; border-radius: 20px; background: var(--red); font-size: 11.500px; font-weight: 700; }
.navi-calls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.navi-calls a { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 6px; border: 1px solid #2e2f34; border-radius: 10px; background: #1f2023; color: var(--white); font-size: 14.500px; font-weight: 700; white-space: nowrap; transition: background-color .2s, border-color .2s; }
.navi-calls a:hover { background: var(--red); border-color: var(--red); text-decoration: none; }
.navi-calls .icon { width: 16px; height: 16px; color: #ff7479; transition: color .2s; }
.navi-calls a:hover .icon { color: var(--white); }

.navi-map { position: relative; overflow: hidden; isolation: isolate; min-height: 400px; background: #1b1c20; }
.navi-map.is-swap .navi-turn, .navi-map.is-swap .navi-photo { animation: heroUp .550s cubic-bezier(.16, 1, .3, 1) backwards; }
/* 3D pohľad navigácie: rovina cesty je sklopená (rotateX) a jej vzor sa posúva smerom k divákovi */
.navi-view { --hz: 36%; position: absolute; inset: 0; z-index: -1; overflow: hidden; perspective: 600px; perspective-origin: 50% var(--hz); background: linear-gradient(180deg, #0c0d10 0%, #191a1f var(--hz), #131417 var(--hz)); }
.navi-view::before { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--hz) - 104px); height: 104px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 720 150' preserveAspectRatio='none'%3E%3Cpath d='M0 150V70C80 30 150 30 230 62S380 100 460 58 640 28 720 70V150z' fill='%2318191d'/%3E%3Cpath d='M40 80l-8 26h16zM95 70l-9 28h18zM112 78l-7 20h14zM297 96l-8 26h16zM474 66l-8 26h16zM545 60l-9 28h18zM566 64l-8 26h16zM585 70l-7 22h14z' fill='%2326272c'/%3E%3Cpath d='M0 150V112C60 92 120 88 190 104S330 128 420 100 600 84 720 112V150z' fill='%23202126'/%3E%3C/svg%3E") 50% 100% / 640px 104px repeat-x; }
.navi-glow { position: absolute; left: 50%; top: var(--hz); width: 560px; height: 240px; margin: -120px 0 0 -280px; background: radial-gradient(closest-side, rgba(216, 30, 38, .46), transparent); }
.navi-plane { position: absolute; left: -10%; right: -10%; top: var(--hz); height: 460px; overflow: hidden; transform-origin: 50% 0; transform: rotateX(70deg); background: linear-gradient(90deg, #30323a 0 10px, transparent 10px) 50% 0 / 150px 100%, #1b1c20; }
.navi-plane::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #131417 0%, rgba(19, 20, 23, .62) 16%, rgba(19, 20, 23, 0) 44%); }
.navi-move { position: absolute; left: 0; right: 0; top: -120px; bottom: 0; background: repeating-linear-gradient(180deg, #30323a 0 10px, transparent 10px 120px); animation: naviDrive 1.500s linear infinite; }
.navi-lane { position: absolute; left: 50%; top: 0; bottom: 0; width: 52px; margin-left: -26px; overflow: hidden; background: linear-gradient(90deg, transparent 0 19px, var(--red) 19px 33px, transparent 33px), #363840; box-shadow: 0 0 30px rgba(216, 30, 38, .6); }
.navi-lane::after { content: ""; position: absolute; left: 50%; top: -120px; bottom: 0; width: 3px; margin-left: -1.500px; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .9) 0 16px, transparent 16px 40px); animation: naviDrive 1.500s linear infinite; }
.navi-goal { position: absolute; left: 50%; top: var(--hz); width: 62px; height: 79px; margin: -76px 0 0 -31px; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .55)); animation: naviBob 2.600s ease-in-out infinite; }
.navi-goal svg { display: block; width: 100%; height: 100%; }
/* menovka cieľa pri špendlíku: Autoškola / Cvičisko */
.navi-name { position: absolute; left: calc(100% + 12px); top: 9px; display: flex; align-items: center; gap: 8px; width: max-content; padding: 7px 16px 7px 10px; border-radius: 9px; background: var(--white); color: var(--black); font-size: 15px; font-weight: 800; font-style: italic; letter-spacing: .05em; line-height: 1.2; white-space: nowrap; box-shadow: 0 8px 18px rgba(0, 0, 0, .45); }
.navi-name::before { content: ""; position: absolute; left: -6px; top: 50%; width: 13px; height: 13px; margin-top: -6.500px; border-radius: 2px; background: var(--white); transform: rotate(45deg); }
.navi-name .icon { position: relative; flex: none; width: 19px; height: 19px; stroke-width: 2.300; color: var(--red); }
.navi-name > span { position: relative; flex: none; white-space: nowrap; }
.navi-name[data-kind="a"] .navi-ic-b, .navi-name[data-kind="b"] .navi-ic-a { display: none; }
/* modrá informačná tabuľka „hotel" pod menovkou – len pri cieli Autoškola */
.navi-hotel { position: absolute; left: calc(100% + 12px); top: 50px; display: flex; align-items: center; gap: 8px; width: max-content; padding: 6px 13px 6px 9px; border: 2px solid var(--white); border-radius: 8px; background: #0b5ea8; color: var(--white); font-size: 13.500px; font-weight: 700; letter-spacing: .07em; line-height: 1.2; white-space: nowrap; box-shadow: 0 8px 18px rgba(0, 0, 0, .45); }
.navi-hotel .icon { flex: none; width: 19px; height: 19px; stroke-width: 2.200; }
.navi-hotel i { font-style: normal; }
.navi-name[data-kind="b"] ~ .navi-hotel { display: none; }
.navi-goal b { position: absolute; left: 0; right: 0; top: 15px; color: var(--red); font-size: 24px; font-weight: 800; font-style: italic; line-height: 1.15; text-align: center; }
.navi-map.is-swap .navi-goal { animation: naviDrop .750s cubic-bezier(.34, 1.56, .64, 1) backwards, naviBob 2.600s .750s ease-in-out infinite; }
.navi-cursor { position: absolute; left: 50%; bottom: 92px; width: 58px; height: 58px; margin-left: -29px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); }
.navi-cursor::before { content: ""; position: absolute; left: 50%; top: 62%; width: 124px; height: 42px; margin: -21px 0 0 -62px; border-radius: 50%; background: rgba(216, 30, 38, .4); animation: pulse 2s ease-out infinite; }
.navi-cursor svg { position: relative; display: block; width: 100%; height: 100%; }
.navi-map::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, 0) 28%); }
@keyframes naviDrive { to { transform: translateY(120px); } }
@keyframes naviBob { 50% { transform: translateY(-7px); } }
@keyframes naviDrop { from { opacity: 0; transform: translateY(-90px) scale(.6); } }
.navi-turn { position: absolute; left: 18px; top: 18px; display: flex; align-items: center; gap: 13px; max-width: min(100% - 36px, 50% - 62px); padding: 11px 18px 11px 11px; border: 1px solid #3a3c42; border-radius: 14px; background: rgba(12, 12, 13, .86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.navi-arrow { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 11px; background: var(--red); }
.navi-arrow .icon { width: 24px; height: 24px; stroke-width: 2.600; transform: rotate(-90deg); }
.navi-turn > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.navi-turn small { font-size: 11.500px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ff7479; }
.navi-turn strong { font-size: 17.500px; font-weight: 800; font-style: italic; line-height: 1.2; }
.navi-turn span span { font-size: 13.500px; color: #b9bac0; }
.navi-photo { position: absolute; left: 20px; bottom: 20px; width: 268px; margin: 0; overflow: hidden; border: 4px solid var(--white); border-radius: 14px; box-shadow: 0 16px 34px rgba(0, 0, 0, .6); transform: rotate(-2.500deg); }
.navi-photo img { display: block; width: 100%; height: 168px; object-fit: cover; }
.navi-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 7px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .82)); font-size: 12.500px; font-weight: 600; }
.navi-actions { position: absolute; right: 18px; bottom: 44px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.navi-note { position: absolute; right: 18px; bottom: 12px; margin: 0; padding: 2px 9px; border-radius: 6px; background: rgba(12, 12, 13, .74); font-size: 12.500px; color: #9c9da5; }
.navi-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.navi-map.is-loaded .navi-view, .navi-map.is-loaded::after, .navi-map.is-loaded .navi-turn, .navi-map.is-loaded .navi-photo, .navi-map.is-loaded .navi-note, .navi-map.is-loaded [data-navi-load] { display: none; }
.navi-map.is-loaded .navi-actions { top: 14px; right: 14px; bottom: auto; }

/* skutočná mapa ulíc (OpenStreetMap) v 3D pohľade: .mp-drzak sa natáča a približuje na vybranú trasu (premenné nastavuje main.js) */
/* perspektívu má len .mp-scena, aby naklonená mapa neprekrývala špendlík a menovky (tie sú v bežnej vrstve nad ňou) */
.navi-view { perspective: none; --mp-k: .6; }
.mp-scena { position: absolute; inset: 0; overflow: hidden; perspective: 820px; perspective-origin: 50% var(--hz); }
.mp-rovina { position: absolute; left: 50%; top: 62%; width: 0; height: 0; transform: rotateX(57deg); }
.mp-drzak { position: absolute; left: 0; top: 0; --sc: .5; transform-origin: 0 0; transform: scale(var(--sc)) rotate(var(--rz, 0deg)) translate(calc(var(--cx, 950) * -1px), calc(var(--cy, 800) * -1px)); transition: transform 1.500s cubic-bezier(.3, .8, .2, 1); }
.mp-svg { display: block; max-width: none; overflow: visible; }
.mp-svg path, .mp-svg circle { fill: none; }
.mp-voda { fill: #18304a !important; }
.mp-rieka { stroke: #18304a; stroke-width: 30px; stroke-linecap: round; }
.mp-potok { stroke: #18304a; stroke-width: 6px; }
.mp-zel { stroke: #5d606a; stroke-width: calc(3.200px / var(--sc)); }
.mp-zel2 { stroke: #17181c; stroke-width: calc(1.600px / var(--sc)); stroke-dasharray: 9 9; }
.mp-ul { stroke-linecap: round; stroke-linejoin: round; }
.mp-ul--s { stroke: #2b2d34; stroke-width: calc(2.200px / var(--sc)); }
.mp-ul--v { stroke: #40434d; stroke-width: calc(4.200px / var(--sc)); }
.mp-ul--h { stroke: #636775; stroke-width: calc(6.500px / var(--sc)); }
.mp-budova { fill: #0b5ea8 !important; stroke: var(--white); stroke-width: calc(1.500px / var(--sc)); }
.mp-t { display: none; }
.navi-view[data-trasa="a"] .mp-t--a, .navi-view[data-trasa="b"] .mp-t--b { display: inline; }
.mp-trasa-pod { stroke: rgba(216, 30, 38, .32); stroke-width: calc(26px / var(--sc)); stroke-linecap: round; stroke-linejoin: round; }
.mp-trasa { stroke: var(--red); stroke-width: calc(12px / var(--sc)); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: var(--len, none); }
.mp-trasa-ciary { stroke: var(--white); stroke-width: calc(1.800px / var(--sc)); stroke-dasharray: calc(10px / var(--sc)) calc(12px / var(--sc)); animation: mpTec 1.100s linear infinite; }
.mp-start { fill: var(--white) !important; stroke: var(--red); stroke-width: calc(4px / var(--sc)); r: calc(8px / var(--sc)); }
.mp-kot { opacity: 0; }
.mp-sipka-in { transform: scale(calc(1.150 / var(--sc))); }
.mp-sipka path { fill: var(--white) !important; stroke: var(--red); stroke-width: 2.400px; stroke-linejoin: round; }
.navi-map.is-swap .mp-trasa { animation: mpKresli 1.700s .350s cubic-bezier(.3, .7, .3, 1) backwards; }
.navi-map.is-swap .mp-trasa-ciary, .navi-map.is-swap .mp-sipka { animation: rsFade .600s 1.700s ease-out backwards, mpTec 1.100s linear infinite; }
.navi-map.is-swap .mp-sipka { animation: rsFade .600s 1.900s ease-out backwards; }
@keyframes mpKresli { from { stroke-dashoffset: var(--len, 0); } to { stroke-dashoffset: 0; } }
@keyframes mpTec { to { stroke-dashoffset: calc(-22px / var(--sc)); } }
.mp-hmla { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #0c0d10 0, #0c0d10 calc(var(--hz) - 70px), rgba(16, 17, 20, .82) var(--hz), rgba(16, 17, 20, 0) calc(var(--hz) + 150px)), radial-gradient(120% 90% at 50% 62%, transparent 55%, rgba(12, 13, 16, .85) 100%); }
.mp-menovky span, .mp-start-zn { position: absolute; left: 0; top: 0; padding: 3px 9px; border-radius: 6px; background: rgba(12, 12, 13, .78); color: #d9dae0; font-size: 12px; font-weight: 600; letter-spacing: .02em; line-height: 1.3; white-space: nowrap; transform: translate(18px, -50%); }
.mp-start-zn { transform: translate(calc(-100% - 18px), -50%); background: var(--white); color: var(--ink); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .05em; font-size: 11.500px; box-shadow: 0 6px 14px rgba(0, 0, 0, .4); }
.mp-start-zn[hidden] { display: none; }
.mp-menovky span.je-skryta, .mp-start-zn.je-skryta { visibility: hidden; }
.navi-turn em { margin-top: 4px; padding-top: 5px; border-top: 1px solid #34363c; font-style: normal; font-size: 12.500px; line-height: 1.35; color: #8f9199; }

/* --- Výzva na konci stránok ---------------------------------------------- */
/* Recenzie absolventov (úvodná stránka) */
.rec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rec { position: relative; display: flex; flex-direction: column; margin: 0; padding: 26px 24px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.rec:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.rec::before { content: "\201E"; position: absolute; right: 20px; top: -6px; font-size: 96px; font-weight: 800; font-style: italic; line-height: 1; color: var(--red); opacity: .16; pointer-events: none; }
.rec-stars { display: flex; gap: 3px; margin-bottom: 12px; color: var(--red); }
.rec-stars .icon { width: 18px; height: 18px; fill: currentColor; }
.rec blockquote { flex: 1; margin: 0 0 18px; font-size: 16.500px; line-height: 1.55; color: var(--text); }
.rec figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.rec-av { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--black); color: var(--white); font-size: 19px; font-weight: 800; font-style: italic; transform: skewX(-8deg); }
.rec figcaption b { display: block; font-size: 15.500px; }
.rec figcaption small { font-size: 13px; color: var(--muted); }
.rec-lead { max-width: 720px; margin: -12px 0 26px; font-size: 17.500px; color: var(--muted); }
.rec--zhrn { padding-top: 24px; overflow: hidden; }
.rec--zhrn::before { content: ""; left: 0; right: 0; top: 0; width: auto; height: 5px; background: linear-gradient(90deg, var(--red), #a90f17); opacity: 1; font-size: 0; }
.rec-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 5px 12px 5px 10px; border-radius: 8px; background: var(--black); color: var(--white); font-size: 13.500px; font-weight: 800; font-style: italic; letter-spacing: .02em; transform: skewX(-8deg); }
.rec-tag .icon { width: 17px; height: 17px; }
.rec-tag .icon-solid { width: 30px; height: 17px; }
.rec--zhrn h3 { margin: 0 0 8px; font-size: 20px; }
.rec--zhrn p { flex: 1; margin: 0 0 18px; font-size: 16px; line-height: 1.55; color: var(--text); }
.rec--zhrn .rec-zdroj { flex: none; display: flex; align-items: center; gap: 8px; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.500px; font-weight: 600; color: var(--muted); }
.rec-zdroj .icon { width: 16px; height: 16px; color: var(--red); fill: currentColor; }
@media (max-width: 980px) { .rec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .rec-grid { display: flex; gap: 12px; margin: 0 -16px; padding: 4px 16px 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; } .rec-grid::-webkit-scrollbar { display: none; } .rec { flex: 0 0 84%; scroll-snap-align: center; } }
.cta-band { background: linear-gradient(100deg, #c2141c 0%, #8a0b12 55%, #1a1a1c 100%); color: var(--white); padding: 44px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); font-size: clamp(25px, 3vw, 34px); font-weight: 800; font-style: italic; margin: 0 0 4px; }
.cta-band p { margin: 0; font-size: 18px; opacity: .95; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- Pätička -------------------------------------------------------------- */
.site-footer { background: #0d0d0d; color: #c9cad0; font-size: 15.500px; }
.footer-grid { display: grid; grid-template-columns: 1.500fr 1fr 1fr 1.200fr; gap: 40px; padding: 54px 0 40px; }
.site-footer h3 { color: var(--white); font-size: 17px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; }
.site-footer h3::after { content: ""; display: block; width: 34px; height: 3px; background: var(--red); margin-top: 8px; border-radius: 2px; }
.site-footer a { color: #e6e6ea; }
.site-footer a:hover { color: var(--white); }
.footer-about p { margin-top: 16px; max-width: 360px; line-height: 1.55; }
.footer-about .logo-text strong { font-size: 38px; }
.footer-links { display: grid; gap: 8px; }
.footer-contact { display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact .icon { color: var(--red); width: 19px; height: 19px; margin-top: 3px; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.footer-actions .icon-solid { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid #25252a; padding: 20px 0 22px; font-size: 14px; color: #9c9da5; }
.footer-row { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 10px 28px; }
.footer-row p { margin: 0; line-height: 1.6; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-legal a { text-decoration: underline; text-decoration-color: #4a4c53; text-underline-offset: 3px; }
.footer-row--credit { align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid #1d1d21; }
.footer-credit { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.footer-credit strong { color: var(--white); font-weight: 600; }
.footer-credit a { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1px solid #2e2f34; border-radius: 40px; transition: background-color .2s, border-color .2s; }
.footer-credit a:hover { background: var(--red); border-color: var(--red); text-decoration: none; }
.footer-credit a .icon { width: 14px; height: 14px; stroke-width: 2.600; transform: rotate(-45deg); transition: transform .2s; }
.footer-credit a:hover .icon { transform: rotate(-45deg) translateX(2px); }
.footer-top { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 16px; border: 1px solid #2e2f34; border-radius: 40px; font-weight: 600; transition: background-color .2s, border-color .2s; }
.footer-top:hover { background: var(--red); border-color: var(--red); text-decoration: none; }
.footer-top .icon { width: 16px; height: 16px; stroke-width: 2.600; transform: rotate(180deg); }

/* --- WhatsApp ------------------------------------------------------------- */
.whatsapp-fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 40px; background: #1faa53; color: var(--white); font-weight: 600; font-size: 15.500px; box-shadow: 0 8px 24px rgba(0, 0, 0, .28); transition: transform .2s, background-color .2s; }
.whatsapp-fab:hover { text-decoration: none; background: #178f45; transform: translateY(-2px); }
.whatsapp-fab .icon { width: 28px; height: 28px; }

/* ==========================================================================
   Responzívne úpravy
   ========================================================================== */
/* miesto pre plávajúce tlačidlo WhatsApp, aby neprekrývalo „Späť hore" */
@media (max-width: 1716px) and (min-width: 681px) { .footer-row--credit { padding-right: 232px; } }

/* --- Kde sídlime: hotel Triclinium – fotka učebne, tabuľka s číslom 588 a kľúče na lište ------------ */
.sidlo { display: grid; grid-template-columns: 1.08fr 1fr; gap: 64px; align-items: center; }
.sidlo-foto { position: relative; margin: 0 0 30px; }
.sidlo-okno { position: relative; height: 400px; overflow: hidden; border-radius: 22px; background: #1b1b1e; box-shadow: var(--shadow-lg); }
.sidlo-okno img { width: 100%; height: 100%; object-fit: cover; }
.sidlo-okno iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; visibility: hidden; }
.sidlo-foto.je-zvonku .sidlo-okno iframe { visibility: visible; }
.sidlo-prep { display: inline-flex; gap: 4px; margin-bottom: 12px; padding: 4px; border-radius: 12px; background: var(--black); box-shadow: var(--shadow); }
.sidlo-prep button { display: flex; align-items: center; gap: 8px; padding: 8px 13px 8px 10px; border: 0; border-radius: 9px; background: transparent; color: #d9dae0; font: inherit; font-size: 14.500px; font-weight: 700; line-height: 1.2; cursor: pointer; transition: background-color .2s, color .2s; }
.sidlo-prep button:hover { color: var(--white); }
.sidlo-prep button.is-on { background: #0b5ea8; color: var(--white); }
.sidlo-prep button:focus-visible { border-radius: 9px; }
.sidlo-prep .icon { width: 18px; height: 18px; stroke-width: 2.200; }
.sidlo-foto figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; font-size: 15.500px; font-weight: 700; color: var(--ink); }
.sidlo-foto figcaption small { font-size: 13px; font-weight: 400; color: var(--muted); }
.sidlo-foto.je-zvonku .sidlo-okno img { visibility: hidden; }
.tab588 { position: absolute; right: -30px; top: 4px; z-index: 2; width: 178px; overflow: hidden; border-radius: 16px; background: var(--white); box-shadow: 0 22px 44px rgba(15, 15, 20, .32), 0 0 0 1px var(--line); text-align: center; transform: rotate(-4deg); transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), opacity .3s; }
.sidlo-foto:hover .tab588 { transform: rotate(2deg) translateY(-5px); }
.tab588-h { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 8px; background: #0b5ea8; color: var(--white); font-size: 11.500px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tab588-h .icon { width: 16px; height: 16px; stroke-width: 2.200; }
.tab588 b { display: block; margin-top: 10px; font-size: 68px; font-weight: 800; font-style: italic; line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.tab588-u { display: block; margin: 4px 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.tab588-a { display: block; padding: 8px 8px; background: var(--red); color: var(--white); font-size: 12px; font-weight: 800; font-style: italic; letter-spacing: .06em; text-transform: uppercase; }
[data-reveal].anim.is-visible .tab588 { animation: tabPad .800s .500s cubic-bezier(.34, 1.56, .64, 1) backwards; }
@keyframes tabPad { from { opacity: 0; transform: rotate(-16deg) translateY(-34px) scale(.86); } }
.sidlo-k { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #0b5ea8; }
.sidlo-tx h3 { margin: 0 0 14px; font-size: clamp(32px, 3.400vw, 46px); font-weight: 800; font-style: italic; }
.sidlo-tx > p:not(.sidlo-k) { max-width: 520px; margin: 0; font-size: 18px; color: var(--muted); }
.sidlo-adr { display: grid; gap: 10px; margin: 22px 0 26px; }
.sidlo-adr li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.sidlo-adr .icon { width: 22px; height: 22px; color: var(--red); }
.sidlo-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.kluce { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 62px 0 0; padding-top: 46px; }
.kluce::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; border-radius: 8px; background: linear-gradient(180deg, #33343a, #131313); box-shadow: 0 6px 12px rgba(15, 15, 20, .2); }
.kluc { position: relative; display: flex; flex-direction: column; align-items: center; padding: 40px 18px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); text-align: center; transform-origin: 50% -34px; animation: klucKyv 3.600s calc(var(--i, 0) * -.9s) ease-in-out infinite alternate; }
.kluc::before { content: ""; position: absolute; left: 50%; top: -42px; width: 24px; height: 62px; margin-left: -12px; border: 4px solid #b3b6c0; border-radius: 12px; }
.kluc::after { content: ""; position: absolute; left: 50%; top: 10px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #e9eaee; box-shadow: inset 0 2px 3px rgba(15, 15, 20, .25); }
.kluc-ic { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 12px; border-radius: 12px; background: var(--black); color: var(--white); transform: skewX(-8deg); transition: background-color .2s; }
.kluc-ic .icon { width: 25px; height: 25px; transform: skewX(8deg); }
.kluc:hover { animation-play-state: paused; }
.kluc:hover .kluc-ic { background: var(--red); }
.kluc b { font-size: 18.500px; line-height: 1.25; color: var(--ink); }
.kluc > span:last-child { margin-top: 5px; font-size: 15px; line-height: 1.45; color: var(--muted); }
@keyframes klucKyv { from { transform: rotate(-1.300deg); } to { transform: rotate(1.300deg); } }
@media (max-width: 1020px) {
  .sidlo { grid-template-columns: 1fr; gap: 44px; }
  .kluce { grid-template-columns: 1fr 1fr; row-gap: 56px; }
}
@media (max-width: 680px) {
  .sidlo-okno { height: 260px; border-radius: 18px; }
  .sidlo-prep button { padding: 7px 10px 7px 8px; font-size: 13.500px; gap: 6px; }
  .sidlo-foto figcaption { font-size: 14.500px; }
  .sidlo-foto figcaption small { font-size: 12px; }
  /* na mobile je tabuľka s číslom domu len malý štítok v riadku prepínača – nezakrýva fotku ani Street View */
  .tab588 { right: 0; top: 3px; display: flex; align-items: stretch; width: auto; border-radius: 10px; box-shadow: 0 8px 18px rgba(15, 15, 20, .22), 0 0 0 1px var(--line); transform: rotate(-2deg); }
  .sidlo-foto:hover .tab588 { transform: rotate(-2deg); }
  .tab588-h { padding: 0 8px; gap: 0; font-size: 0; letter-spacing: 0; }
  .tab588-h .icon { width: 16px; height: 16px; }
  .tab588 b { margin: 0; padding: 4px 10px 5px; font-size: 26px; line-height: 1.1; }
  .tab588-u, .tab588-a { display: none; }
  .sidlo-tx > p:not(.sidlo-k) { font-size: 16.500px; }
  .sidlo-adr li { align-items: flex-start; font-size: 15.500px; }
  .sidlo-btns .btn { flex: 1 1 100%; }
  .kluce { gap: 12px; row-gap: 52px; margin-top: 46px; }
  .kluc { padding: 36px 12px 18px; }
  .kluc b { font-size: 16px; }
  .kluc > span:last-child { font-size: 13.500px; }
}
@media (max-width: 350px) { .tab588-h { display: none; } .tab588 b { padding: 5px 8px 6px; font-size: 22px; } }

/* --- Fotogaléria: dva šikmé pásy; fotka sa pri prechode myšou roztiahne, kliknutím sa otvorí veľká --- */
.gal-intro { max-width: 640px; margin: -10px 0 28px; color: var(--muted); font-size: 17.500px; }
.gal { display: grid; gap: 12px; --gh: 330px; --sk: 8deg; --bleed: 20px; }
.gal-row { padding: 0 24px; container-type: inline-size; }
.gal-track { display: flex; gap: 10px; height: var(--gh); transform: skewX(calc(var(--sk) * -1)); }
.gal-item { position: relative; flex: 1 1 0; min-width: 0; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #1b1b1e; color: var(--white); font: inherit; text-align: left; cursor: zoom-in; transition: flex-grow .55s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.gal-item.is-on { flex-grow: 3.4; box-shadow: var(--shadow-lg); }
.gal-item--v.is-on { flex-grow: 1.7; }
.gal-item:focus-visible { border-radius: 14px; }
.gal-item img { position: absolute; top: 0; left: 50%; width: 470px; width: calc(36.2cqw + 34px); max-width: none; height: 100%; object-fit: cover; transform: translateX(calc(-50% + var(--dx, 0px))) skewX(var(--sk)); filter: grayscale(.6) brightness(.6); transition: transform .55s cubic-bezier(.2, .8, .2, 1), filter .4s; }
.gal-item--v img { width: 306px; width: calc(22.1cqw + 38px); }
.gal-item.is-on img { transform: translateX(-50%) skewX(var(--sk)); filter: none; }
.gal-item::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 10, 12, 0) 45%, rgba(10, 10, 12, .82) 100%); opacity: 0; transition: opacity .35s; }
.gal-item::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.gal-item.is-on::before { opacity: 1; }
.gal-item.is-on::after { transform: scaleX(1); }
.gal-cap { position: absolute; left: 30px; bottom: 20px; z-index: 2; width: 300px; display: grid; gap: 4px; transform: skewX(var(--sk)) translateY(8px); opacity: 0; transition: opacity .2s, transform .3s; pointer-events: none; }
.gal-item--v .gal-cap { left: 26px; width: 190px; }
.gal-item.is-on .gal-cap { opacity: 1; transform: skewX(var(--sk)); transition: opacity .35s .22s, transform .45s .22s cubic-bezier(.2, .8, .2, 1); }
.gal-cap em { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ff6b70; }
.gal-cap strong { font-size: 19px; font-weight: 800; font-style: italic; line-height: 1.2; text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.gal-item--v .gal-cap strong { font-size: 17px; }
.gal-zoom { position: absolute; top: 14px; right: 20px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(19, 19, 19, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transform: skewX(var(--sk)) scale(.7); opacity: 0; transition: opacity .25s, transform .3s, background-color .2s; }
.gal-zoom .icon { width: 18px; height: 18px; stroke-width: 2.400; }
.gal-item.is-on .gal-zoom { opacity: 1; transform: skewX(var(--sk)); transition-delay: .2s, .2s, 0s; }
.gal-item.is-on:hover .gal-zoom { background: var(--red); }

/* veľká fotka */
html.lb-open { overflow: hidden; }
.lb { width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--white); overflow: hidden; }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.lb::backdrop { background: rgba(12, 12, 14, .94); }
.lb-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px 10px; }
.lb-count { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 18px; font-weight: 800; font-style: italic; letter-spacing: .04em; }
.lb-count::before { content: ""; width: 26px; height: 20px; background: linear-gradient(var(--red), var(--red)) 0 0 / 10px 100% no-repeat, linear-gradient(var(--red), var(--red)) 15px 0 / 10px 100% no-repeat; transform: skewX(-18deg); }
.lb-btn { display: grid; place-items: center; flex: none; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; background: rgba(255, 255, 255, .07); color: var(--white); cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s; }
.lb-btn:hover { background: var(--red); border-color: var(--red); }
.lb-btn:focus-visible { border-radius: 50%; }
.lb-btn .icon { width: 22px; height: 22px; stroke-width: 2.400; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 6px 92px 30px; }
.lb-fig { display: grid; justify-items: center; gap: 14px; margin: 0; min-width: 0; }
.lb-fig img { opacity: 0; width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 190px); max-height: calc(100dvh - 190px); border-radius: 12px; background: #1b1b1e; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lb-fig img.is-in { opacity: 1; animation: lbIn .3s cubic-bezier(.2, .8, .2, 1); }
.lb-fig figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 12px; text-align: center; }
.lb-fig em { font-style: normal; font-size: 12.500px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ff6b70; }
.lb-fig strong { font-size: 19px; font-weight: 800; font-style: italic; }
.lb-prev, .lb-next { position: absolute; top: calc(50% - 44px); }
.lb-prev { left: 22px; }
.lb-prev .icon { transform: rotate(180deg); }
.lb-next { right: 22px; }
@keyframes lbIn { from { opacity: 0; transform: scale(.975); } }

@media (max-width: 1180px) {
  .logo-mark { width: 74px; height: 44px; }
  .logo-text strong { font-size: 36px; }
  .logo-text small { font-size: 14px; padding-left: 24px; }
  .nav-link { padding: 9px 8px; font-size: 14.500px; }
  .nav-link::after { left: 8px; right: 8px; }
  .nav { gap: 10px; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .lic-wrap { right: -64px; }
  .cta-copy { max-width: 310px; }
  .news-row em { display: none; }
}

@media (max-width: 1020px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: inline-flex; }
  .header-right { position: absolute; top: 100%; left: 0; right: 0; background: var(--black); border-top: 1px solid #2a2a2e; padding: 14px 20px 22px; align-items: stretch; gap: 14px; display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto; box-shadow: 0 20px 30px rgba(0, 0, 0, .4); }
  .site-header.is-open .header-right { display: flex; }
  .site-header.is-open .nav-toggle-open { display: none; }
  .site-header.is-open .nav-toggle-close { display: block; }
  .topbar { justify-content: flex-start; order: 2; padding-top: 12px; border-top: 1px solid #2a2a2e; font-size: 16px; gap: 10px 22px; }
  .nav { flex-direction: column; align-items: stretch; gap: 12px; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { padding: 12px 4px; font-size: 17px; width: 100%; justify-content: space-between; }
  .nav-link::after { display: none; }
  .nav-link.is-active { color: #ff8589; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; padding: 0 0 8px 12px; min-width: 0; }
  .sub a { color: #c9cad0; padding: 7px 8px; }
  .sub a:hover { background: #1e1e21; color: var(--white); }
  .has-sub .nav-link .icon { display: none; }
  .nav-cta { align-self: flex-start; }

  .offer-tabs { gap: 7px; }
  .offer-tab { padding: 13px 3px 12px; }
  .offer-tab .icon { width: 50px; height: 28px; }
  .offer-tab strong { font-size: 19px; }
  .offer-tab span { font-size: 12px; }
  .offer-tab em { top: 5px; right: 5px; font-size: 10.500px; padding: 0 5px; }
  .offer-panel { grid-template-columns: 37% 1fr; }
  .offer-ghost { font-size: calc(170px * var(--gs, 1)); top: -14px; }
  .offer-vehicle { width: 66%; height: 88px; }
  .offer-body { padding: 26px 26px 28px 20px; }
  .offer-facts { grid-template-columns: 1fr 1fr; gap: 14px 24px; }
  .offer-facts .is-note { grid-column: 1 / -1; }
  .lic-wrap { right: 36px; }
  .cta-copy { max-width: 340px; }
  .news-row em { display: inline-block; }
  .roadside { --road: 150px; --rh: 56px; padding: 20px 0 34px; }
  .rs-row { gap: 4px; }
  .rs .bd { zoom: .82; }
  .rs-tx strong { font-size: 17px; }
  .rs-tx small { font-size: 11.500px; }
  .rs-car { width: 58px; height: 37px; top: calc(var(--road) + var(--rh) - 41px); }
  .why-grid { grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .why--a { grid-column: 1 / -1; grid-row: auto; min-height: 400px; }
  .why--b, .why--c, .why--d, .why--e { grid-column: span 3; }
  .why--f { grid-column: 1 / -1; }
  .why--c .why-body { max-width: 78%; }
  .gear { grid-template-columns: 1fr; gap: 26px; }
  .gear-box { position: relative; top: auto; width: 100%; max-width: 380px; margin-inline: auto; }
  .navi-body { grid-template-columns: 1fr; min-height: 0; }
  .navi-side { border-right: 0; border-bottom: 1px solid #26272b; }
  .navi-map { min-height: 420px; }
  .hero { padding: 54px 0 170px; min-height: 0; }
  .gal { --gh: 290px; gap: 10px; }
  .gal-row { margin-inline: calc(var(--bleed) * -1); padding-inline: calc(var(--bleed) + 20px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; container-type: normal; }
  .gal-row::-webkit-scrollbar { display: none; }
  .gal-track { width: max-content; }
  .gal-item, .gal-item.is-on, .gal-item--v.is-on { flex: none; width: 350px; box-shadow: none; scroll-snap-align: center; cursor: pointer; }
  .gal-item--v, .gal-item--v.is-on { width: 210px; }
  .gal-item img, .gal-item--v img, .gal-item.is-on img { width: calc(100% + 46px); transform: translateX(-50%) skewX(var(--sk)); filter: none; }
  .gal-item::before, .gal-item.is-on::before { opacity: 1; }
  .gal-item::after { display: none; }
  .gal-cap, .gal-item.is-on .gal-cap { left: 26px; bottom: 16px; width: 250px; opacity: 1; transform: skewX(var(--sk)); transition: none; }
  .gal-item--v .gal-cap { width: 160px; }
  .gal-cap strong { font-size: 17px; }
  .gal-item--v .gal-cap strong { font-size: 15.500px; }
  .gal-zoom, .gal-item.is-on .gal-zoom { top: 12px; right: 18px; width: 34px; height: 34px; opacity: 1; transform: skewX(var(--sk)); }
  .hero-photo { top: 0; right: 0; left: 0; width: auto; height: calc(100% - 118px); translate: none; }
  .hero-sign { left: auto; right: 24px; top: 26px; width: 92px; translate: none; }
  .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 100%; opacity: .6; -webkit-mask-image: none; mask-image: none; }
  .hero-photo::before, .hero-photo::after { display: none; }
  .hero::before { background: linear-gradient(90deg, rgba(6, 10, 6, .8) 0%, rgba(6, 10, 6, .4) 100%); }
  .duo { grid-template-columns: 1fr; margin-top: -120px; }
  .duo--tri { grid-template-columns: 1fr; }
  .duo--tri .duo-card { padding: 24px 70px 26px 48px; }
  .bottom-grid, .split, .split--wide-left { grid-template-columns: 1fr; gap: 30px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .price-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-cards, .fleet { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { width: min(1240px, 100% - 32px); }
  .section { padding: 46px 0; }
  .logo-mark { width: 62px; height: 37px; }
  .logo-text strong { font-size: 30px; }
  .logo-text small { font-size: 12px; padding-left: 20px; }
  .hero { padding: 40px 0 150px; }
  .hero-actions .btn { width: 100%; }
  .gal { --gh: 250px; --bleed: 16px; }
  .gal-intro { font-size: 16px; margin-bottom: 22px; }
  .gal-item, .gal-item.is-on, .gal-item--v.is-on { width: 280px; }
  .gal-item--v, .gal-item--v.is-on { width: 178px; }
  .gal-cap, .gal-item.is-on .gal-cap { width: 210px; }
  .gal-item--v .gal-cap { width: 132px; }
  .lb-top { padding: 12px 14px 8px; }
  .lb-stage { padding: 0 12px 84px; }
  .lb-fig img { max-height: calc(100vh - 230px); max-height: calc(100dvh - 230px); }
  .lb-prev, .lb-next { top: auto; bottom: 20px; }
  .lb-prev { left: calc(50% - 58px); }
  .lb-next { right: calc(50% - 58px); }
  .navi { border-width: 4px; border-radius: 22px; }
  .navi-bar { padding: 11px 16px; font-size: 13.500px; }
  .navi-side { padding: 18px 16px; }
  .navi-map { min-height: 470px; }
  .navi-turn { left: 12px; top: 12px; max-width: calc(100% - 24px); }
  .navi-photo { left: 12px; bottom: 124px; width: 150px; }
  .navi-cursor { display: none; }
  .navi-view { --hz: 43%; }
  .navi-name { left: calc(100% + 9px); top: 12px; padding: 5px 12px 5px 8px; font-size: 12.500px; gap: 6px; }
  .navi-name .icon { width: 16px; height: 16px; }
  .navi-hotel { left: calc(100% + 9px); top: 44px; gap: 6px; padding: 4px 10px 4px 7px; font-size: 11.500px; }
  .navi-hotel .icon { width: 15px; height: 15px; }
  .navi-hotel i { display: none; }
  .navi-turn { padding: 9px 14px 9px 9px; }
  .navi-turn em { display: none; }
  .navi-turn span span { font-size: 12.500px; }
  .navi-view { --mp-k: .36; }
  .mp-rovina { top: 55%; }
  .mp-menovky span { font-size: 11px; padding: 2px 7px; transform: translate(12px, -50%); }
  .mp-start-zn { font-size: 10px; transform: translate(calc(-100% - 12px), -50%); }
  .navi-arrow { width: 40px; height: 40px; }
  .navi-photo img { height: 92px; }
  .navi-actions { left: 12px; right: 12px; bottom: 50px; }
  .navi-actions .btn { flex: 1; padding-inline: 12px; }
  .navi-note { left: 12px; right: 12px; bottom: 10px; text-align: center; font-size: 11px; line-height: 1.4; }
  .navi-map.is-loaded .navi-actions { left: auto; }
  .gear-intro { font-size: 16px; margin-bottom: 22px; }
  .gear-step { gap: 14px; padding: 16px 14px 16px 14px; }
  .gear-emoji { font-size: 28px; }
  .gear-stav strong { font-size: 16px; }
  .gear-step.is-on { transform: none; }
  .gear-steps::before { left: 40px; }
  .why-grid { grid-template-columns: 1fr; }
  .why--a, .why--b, .why--c, .why--d, .why--e, .why--f { grid-column: 1 / -1; }
  .why { padding: 22px; }
  .why--photo { padding: 0; }
  .why-body { padding: 22px; }
  .why--a { min-height: 440px; }
  .why--a::before { display: none; }
  .why-num b { font-size: 46px; }
  .why-tag { left: 14px; top: 14px; font-size: 12.500px; }
  .roadside { padding: 6px 0 24px; }
  .rs-row { display: flex; gap: 0; margin: 0 -16px; padding: 6px 16px 4px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scrollbar-width: none; }
  .rs-row::-webkit-scrollbar { display: none; }
  .rs-row::before { left: 0; width: 790px; top: calc(var(--road) + 6px); box-shadow: none; }
  .rs-row::after { left: 0; width: 790px; top: calc(var(--road) - 144px); -webkit-mask-image: none; mask-image: none; }
  .rs { flex: 0 0 150px; scroll-snap-align: center; }
  .rs-tx strong { font-size: 16px; }
  .rs-car, .rs-moto { display: none; }
  .news-row { flex-wrap: wrap; gap: 9px 13px; padding: 14px; }
  .news-tx { flex: 1 1 calc(100% - 100px); }
  .news-go { order: 2; }
  .news-row em { order: 3; margin-left: 57px; }
  .cta-card { flex-direction: column; align-items: stretch; min-height: 0; padding: 28px 22px 0; }
  .cta-photo { top: auto; bottom: 0; left: 0; right: 0; width: auto; height: 148px; transform: none; border-left: 0; border-top: 6px solid var(--red); box-shadow: 0 -5px 0 #131313, 0 -9px 0 var(--red); }
  .cta-photo img { transform: none; object-position: 70% 20%; }
  .cta-copy { max-width: none; }
  .cta-actions .btn { width: 100%; }
  .lic-wrap { position: relative; right: auto; top: auto; width: min(288px, 100%); margin: 30px auto -38px; }
  .offer-intro { font-size: 16px; margin-bottom: 16px; }
  .offer-tabs { display: flex; gap: 8px; margin: 0 -16px 8px; padding: 5px 16px 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .offer-tabs::-webkit-scrollbar { display: none; }
  .offer-tab { flex: 0 0 100px; scroll-snap-align: center; }
  .offer-panel { grid-template-columns: 1fr; min-height: 0; }
  .offer-visual { height: 172px; }
  .offer-ghost { font-size: calc(190px * var(--gs, 1)); top: -22px; }
  .offer-vehicle { left: 6%; bottom: 33px; width: 56%; height: 92px; }
  .offer-road { bottom: 26px; }
  .offer-body { padding: 22px 20px 24px; }
  .offer-actions .btn { width: 100%; }
  .hero-sign { display: none; }
  .hero-eyebrow { font-size: 13px; padding: 6px 12px 6px 9px; gap: 6px; margin-bottom: 14px; }
  .hero-status { font-size: 14.500px; }
  .duo { padding-inline: 8px; }
  .duo-card { padding: 24px 56px 24px 34px; gap: 16px; min-height: 0; }
  .duo--tri .duo-card { padding: 22px 54px 22px 32px; gap: 16px; }
  .duo--tri .duo-icon { width: 52px; height: 52px; }
  .duo--tri .duo-icon .icon { width: 50px; height: 50px; }
  .duo--tri .duo-card h2 { font-size: 24px; }
  .duo-bg { transform: skewX(-5deg); }
  .duo-icon { width: 54px; height: 54px; }
  .duo-icon .icon { width: 52px; height: 52px; }
  .duo-arrow { right: 24px; bottom: 14px; width: 34px; height: 34px; }
  .duo-bg .icon { display: none; }
  .feature-grid, .steps, .course-grid, .course-grid--2, .doc-grid, .people, .contact-cards, .fleet, .maps, .price-cards { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; padding-top: 40px; }
  .footer-bottom { padding-bottom: 84px; }
  .footer-row--credit { align-items: flex-start; }
  .price-table th, .price-table td { padding: 12px 14px; }
  .doc { flex-direction: column; }
  .whatsapp-fab span { display: none; }
  .whatsapp-fab { padding: 13px; }
  .page-hero::before { opacity: .35; }
}

@media (max-width: 360px) {
  .navi-name { left: calc(100% + 7px); top: 13px; gap: 5px; padding: 4px 9px 4px 6px; font-size: 11px; }
  .navi-name .icon { width: 14px; height: 14px; }
  .navi-hotel { left: calc(100% + 7px); top: 39px; padding: 3px 8px 3px 6px; font-size: 10.500px; }
  .navi-actions { bottom: 52px; }
  .navi-note { font-size: 11px; line-height: 1.4; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .site-footer, .whatsapp-fab, .cta-band, .no-print { display: none !important; }
  body { font-size: 12pt; }
}
