/* Doplnkové štýly: stránka ALLDATA (náhľady, video, doručovanie) a Ako to funguje (kroky) */
/* =========================================================
   ALLDATA – náhľady, video, doručovanie
   ========================================================= */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.shot { margin: 0; display: grid; gap: 14px; }
.shot__btn { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; cursor: zoom-in; aspect-ratio: 10 / 7; transition: border-color .3s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease); }
.shot__btn img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.shot__btn:hover, .shot__btn:focus-visible { border-color: rgba(46,125,255,.6); transform: translateY(-3px); box-shadow: 0 18px 50px -20px rgba(46,125,255,.45); outline: none; }
.shot figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-family: var(--font-head); font-size: 17px; font-weight: 500; }
.shot figcaption .mono { color: var(--accent-2); font-size: 12px; }
.shot figcaption small { flex-basis: 100%; padding-left: 30px; color: var(--muted); font-family: var(--font); font-size: 13px; font-weight: 400; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.lightbox::backdrop { background: rgba(4, 6, 9, .9); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(1200px, 92vw); max-height: 82vh; width: auto; height: auto; border-radius: 10px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox__cap { position: fixed; bottom: 22px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 14px; margin: 0; }
.lightbox__close, .lightbox__nav { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(16,21,28,.85); color: var(--text); font-size: 28px; line-height: 1; cursor: pointer; transition: border-color .2s, background .2s; }
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--accent); background: var(--panel-2); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

.split--center { align-items: center; }
.small-note { font-size: 13px; margin-top: 18px; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: #000; }
.yt img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: brightness(.62) saturate(.85); }
.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,9,12,.75), transparent 40%); pointer-events: none; }
.yt__play { position: absolute; inset: 0; margin: auto; width: 86px; height: 86px; border-radius: 50%; border: 0; z-index: 1; color: #fff; cursor: pointer; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 0 0 10px rgba(46,125,255,.18), 0 20px 50px -10px rgba(25,200,255,.6); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.yt__play svg { margin-left: 4px; }
.yt__play:hover, .yt__play:focus-visible { transform: scale(1.07); box-shadow: 0 0 0 16px rgba(46,125,255,.2), 0 20px 60px -10px rgba(25,200,255,.75); outline: none; }
.yt__label { position: absolute; left: 18px; bottom: 16px; z-index: 1; font-size: 12px; color: rgba(233,237,242,.7); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.deliver { display: grid; gap: 0; margin: 30px 0 34px; border-top: 1px solid var(--line); }
.deliver > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.deliver .mono { color: var(--accent-2); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding-top: 3px; }
.deliver p { margin: 0; color: var(--text); }
.deliver__intro { margin-top: 0; margin-bottom: 18px; }

@media (max-width: 900px) {
  .shots { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .shots { grid-template-columns: 1fr; }
  .deliver > div { grid-template-columns: 1fr; gap: 4px; }
  .lightbox__nav { top: auto; bottom: 60px; transform: none; }
  .lightbox__cap { bottom: 120px; padding: 0 16px; }
}
.sr-sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* =========================================================
   Ako to funguje – kroky (časová os)
   ========================================================= */
.flow { list-style: none; margin: 0 0 clamp(50px, 6vw, 80px); padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: none; }
.flow li { position: relative; }
.flow li:not(:last-child)::after { content: ""; position: absolute; top: 27px; left: 64px; right: 8px; height: 2px; background: linear-gradient(90deg, var(--accent), rgba(25,200,255,.25)); }
.flow li:not(:last-child)::before { content: ""; position: absolute; top: 22px; right: 4px; width: 10px; height: 10px; border-top: 2px solid rgba(25,200,255,.6); border-right: 2px solid rgba(25,200,255,.6); transform: rotate(45deg); }
.flow a { display: grid; gap: 14px; justify-items: start; padding-right: 24px; text-decoration: none; color: var(--text); }
.flow__no { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font-family: var(--font-head); font-size: 22px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 0 0 6px rgba(46,125,255,.12), 0 10px 30px -8px rgba(25,200,255,.6); transition: transform .3s var(--ease); }
.flow__t { font-family: var(--font-head); font-size: 18px; font-weight: 600; line-height: 1.25; }
.flow a:hover .flow__no, .flow a:focus-visible .flow__no { transform: scale(1.08); }

.kroky { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.krok { display: grid; grid-template-columns: 96px 1fr; gap: 0 clamp(16px, 3vw, 40px); position: relative; padding-bottom: clamp(28px, 3vw, 40px); scroll-margin-top: 110px; }
.krok::before { content: ""; position: absolute; left: 47px; top: 72px; bottom: 0; width: 2px; background: linear-gradient(180deg, rgba(46,125,255,.9), rgba(25,200,255,.2)); }
.krok--last::before { display: none; }
.krok__marker { position: relative; display: flex; justify-content: center; padding-top: 6px; }
.krok__marker span { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; font-family: var(--font-head); font-size: 30px; font-weight: 700; color: #fff; background: radial-gradient(circle at 30% 25%, var(--accent-2), var(--accent) 70%); box-shadow: 0 0 0 8px var(--bg), 0 0 0 9px rgba(46,125,255,.35), 0 14px 40px -10px rgba(25,200,255,.7); }
.krok__card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 60px); align-items: start; padding: clamp(26px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.krok__kicker { margin: 0 0 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); }
.krok__head h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 0 0 10px; }
.krok__head p { margin: 0; }
.krok .checks { padding-top: 6px; }
.krok .repair-types { margin: 0; }

.chips { list-style: none; margin: 0; padding: 4px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--panel-2); font-size: 15px; color: #d0d6de; }
.chips .chips__hl { border-color: rgba(46,125,255,.6); background: var(--accent-soft); color: #fff; font-weight: 500; }

@media (max-width: 900px) {
  .flow { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .flow li:nth-child(2)::after, .flow li:nth-child(2)::before { display: none; }
  .krok__card { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .flow { display: none; }
  .flow li::after, .flow li::before { display: none; }
  .flow a { grid-template-columns: 44px 1fr; align-items: center; gap: 14px; }
  .flow__no { width: 44px; height: 44px; font-size: 18px; }
  .flow__t { font-size: 16px; }
  .krok { grid-template-columns: 52px 1fr; gap: 0 14px; }
  .krok::before { left: 25px; top: 54px; }
  .krok__marker span { width: 48px; height: 48px; font-size: 20px; box-shadow: 0 0 0 5px var(--bg), 0 0 0 6px rgba(46,125,255,.35); }
  .krok__card { padding: 22px 18px; }
  .repair-types div { grid-template-columns: 1fr; gap: 2px; }
}

/* =========================================================
   Úvod podstránky s jemne prelínajúcou sa fotkou (ALLDATA, Ako to funguje)
   ========================================================= */
.page-hero__bg { position: absolute; top: 0; right: 0; bottom: 0; width: min(68%, 1100px); pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%), linear-gradient(to bottom, transparent 0%, #000 22%, #000 62%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0%, #000 45%), linear-gradient(to bottom, transparent 0%, #000 22%, #000 62%, transparent 100%); mask-composite: intersect; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; animation: heroBgIn 2.4s var(--ease) both; }
@keyframes heroBgIn { from { opacity: 0; transform: scale(1.04); } to { opacity: .55; transform: none; } }
.page-hero--img .page-hero__lead { text-shadow: 0 1px 18px rgba(7,9,12,.9); }
@media (max-width: 900px) {
  .page-hero__bg { width: 100%; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 25%, #000 55%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 25%, #000 55%, transparent 100%); }
  .page-hero__bg img { opacity: .35; animation-name: heroBgInM; }
  @keyframes heroBgInM { from { opacity: 0; } to { opacity: .35; } }
}
@media (prefers-reduced-motion: reduce) { .page-hero__bg img { animation: none; } }
