/* KPJ Autodiely – Modrá čistota */

:root {
  --color-primary: #0963F6;
  --color-primary-hover: #074DC5;
  --color-heading: #071B52;
  --color-text: #43516A;
  --color-surface: #FFFFFF;
  --color-surface-blue: #EAF5FF;
  --color-divider: #DCE5EF;
  --content-width: 1180px;
  --gutter: 20px;
  --radius-button: 6px;
  --radius-image: 8px;
  --header-height: 76px;
  --section-pad: 64px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  margin: 0;
  color: var(--color-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.5rem; line-height: 1.1; }
h2 { font-size: 1.875rem; line-height: 1.15; }
h3 { font-size: 1.125rem; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

a { color: var(--color-primary); }

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 2px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--color-heading);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-button);
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--content-width) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Ikony */
.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-fill { fill: currentColor; stroke: none; }

/* Tlačidlá */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 26px;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-button);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
}
.btn { transition: background-color .2s, border-color .2s, color .2s, box-shadow .25s, transform .25s; }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { box-shadow: 0 10px 22px -10px rgba(9, 99, 246, .55); transform: translateY(-1px); }
.btn-primary:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); }
.btn-outline { background: #fff; color: var(--color-primary); }
.btn-outline:hover { background: var(--color-surface-blue); color: var(--color-primary-hover); border-color: var(--color-primary-hover); }
.btn-sm { min-height: 46px; padding: 10px 22px; }

/* Hlavička */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--color-divider);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.brand img { display: block; width: auto; height: 40px; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  margin-right: -12px;
  border: 0;
  background: transparent;
  color: var(--color-heading);
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  cursor: pointer;
}
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .icon-close,
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.site-nav ul { display: flex; gap: 8px; }
.site-nav ul a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--color-heading);
  font-size: 0.9375rem;
  font-weight: 550;
  text-decoration: none;
}
.site-nav ul a { transition: color .2s; }
.site-nav ul a:hover { color: var(--color-primary); text-decoration: underline; text-underline-offset: 6px; }

/* Sekcie */
.section {
  padding-block: var(--section-pad);
  scroll-margin-top: var(--header-height);
}
.bg-blue { background: var(--color-surface-blue); }


.section-text {
  max-width: 60ch;
  margin-top: 20px;
}

.h2-narrow { max-width: 16ch; }

/* 1. Úvod */
.hero-grid,
.about-grid,
.contact-grid { grid-template-columns: minmax(0, 1fr); }

.hero-grid {
  display: grid;
  gap: 40px;
}
.hero { overflow: hidden; } /* hero fotka prichádza sprava – nesmie vytvoriť vodorovný posuv */
.hero h1 { max-width: 10ch; }
.lead {
  max-width: 42ch;
  margin-top: 20px;
  font-size: 1.125rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-actions .btn-outline { font-variant-numeric: tabular-nums; }
.hero-media { position: relative; }
.hero-media img { width: 100%; max-width: 640px; margin-inline: auto; object-fit: contain; }

/* Pozadie úvodu: jemná bodková sieť + svetlý kruh za fotkou */
.hero { position: relative; isolation: isolate; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(9, 99, 246, .14) 1.2px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(115deg, transparent 38%, #000 100%);
  mask-image: linear-gradient(115deg, transparent 38%, #000 100%);
}
.hero-photo { position: relative; }
.hero-photo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8% 6% 4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, #fff 55%, rgba(255, 255, 255, 0));
}

/* Štítok otvorené / zatvorené */
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 7px 14px 7px 12px;
  border: 1px solid rgba(7, 27, 82, .12);
  border-radius: 999px;
  background: #fff;
  color: var(--color-heading);
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.3;
}
.status-dot { width: 9px; height: 9px; flex: none; border-radius: 50%; background: #8E97A6; }
.status.is-open .status-dot { background: #16A34A; box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }

/* Rýchle odkazy na kategórie */
.hero-chips { display: none; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(7, 27, 82, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  color: var(--color-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s;
}
.hero-chips a:hover { background: #fff; border-color: var(--color-primary); color: var(--color-primary); }

/* Plávajúci štítok na fotke */
.hero-tag {
  position: absolute;
  left: 4px;
  bottom: 6%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  background: var(--color-heading);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.2;
  box-shadow: 0 10px 22px -12px rgba(7, 27, 82, .6);
}
.hero-tag .icon { width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: #16A34A; stroke-width: 3; }

/* Panel faktov pod úvodom */
.hero-facts {
  display: grid;
  gap: 0;
  border: 1px solid rgba(7, 27, 82, .1);
  border-radius: var(--radius-image);
  background: #fff;
  overflow: hidden;
}
.hero-facts li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  color: var(--color-text);
  font-size: 0.9375rem;
  line-height: 1.35;
}
.hero-facts li + li { border-top: 1px solid var(--color-divider); }
.hero-facts strong { display: block; color: var(--color-heading); font-weight: 700; }
.fact-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--color-surface-blue);
  color: var(--color-primary);
}
.fact-icon .icon { width: 21px; height: 21px; }

/* 2. Sortiment */
.categories {
  display: grid;
  margin-top: 40px;
}
.category {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 20px;
  align-items: center;
  padding-block: 22px;
  border-top: 1px solid var(--color-divider);
}
.category:last-child { border-bottom: 1px solid var(--color-divider); }
.category img {
  width: 100%;
  height: 96px;
  object-fit: contain;
}
.category p { margin-top: 4px; }
.category img { transition: transform .35s cubic-bezier(.34, 1.3, .64, 1); }
.category h3 { transition: color .2s; }
.category:hover img { transform: translateY(-4px); }
.category:hover h3 { color: var(--color-primary); }

/* Značky (textový zoznam, bez cudzích log) */
.brands { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--color-divider); }
.brands-title { font-size: 1rem; font-weight: 650; color: var(--color-text); letter-spacing: 0.02em; }
.brands-list { display: flex; flex-wrap: wrap; gap: 10px 10px; margin-top: 16px; }
.brands-list li {
  padding: 8px 14px;
  border: 1px solid var(--color-divider);
  border-radius: 999px;
  color: var(--color-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  background: #fff;
}
.brands-note { margin-top: 16px; font-size: 0.9375rem; }
@media (min-width: 1024px) {
  .brands { margin-top: 72px; padding-top: 40px; }
  .brands-list { gap: 12px; }
}

/* 3. Pomoc s výberom */
.steps {
  display: grid;
  gap: 36px;
  margin-top: 44px;
  counter-reset: none;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: start;
}
.step-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
}
.step-icon .icon { width: 28px; height: 28px; }
.step h3 { padding-top: 6px; }
.step p { margin-top: 4px; max-width: 26ch; }

/* 4. O firme */
.about-grid { display: grid; gap: 48px; }
.about-items {
  display: grid;
  gap: 28px;
  margin-top: 40px;
}
.about-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
}
.about-icon { width: 40px; height: 40px; color: var(--color-primary); stroke-width: 1.75; }
.about-item p { margin-top: 4px; max-width: 34ch; }
.about-media img { width: 100%; max-width: 520px; margin-inline: auto; object-fit: contain; }

/* (rozvoz zatiaľ vypustený) */

/* 6. Kontakt */
.contact-grid { display: grid; gap: 40px; }
.contact-details {
  display: grid;
  gap: 28px;
}
.contact-block {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.contact-icon { width: 26px; height: 26px; margin-top: 4px; color: var(--color-primary); }
.contact-block address { display: grid; gap: 4px; }
.contact-block address strong { color: var(--color-heading); font-size: 1.125rem; font-weight: 700; }
.contact-mail { overflow-wrap: anywhere; color: var(--color-heading); font-size: 1.0625rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; transition: color .2s; }
.contact-mail:hover { color: var(--color-primary); text-decoration: underline; text-underline-offset: 4px; }
.contact-hours { display: grid; gap: 2px; }
.contact-hours strong { color: var(--color-heading); font-weight: 700; }
.phones { display: grid; }
.phones a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-heading);
  font-size: 1.25rem;
  font-weight: 650;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.phones a { transition: color .2s; }
.phones a:hover { color: var(--color-primary); text-decoration: underline; text-underline-offset: 4px; }
.contact-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

/* Pätička */
.site-footer { border-top: 1px solid var(--color-divider); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 24px 28px;
  font-size: 0.875rem;
}
.footer-ids { display: grid; gap: 2px; }
.footer-domain { color: var(--color-heading); font-size: 1rem; font-weight: 700; }
.footer-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

/* Odznak „Vytvoril Tvorbox“ – oficiálna predloha, svetlá verzia */
.tvx-odznak {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 16px 0 12px;
  border: 1px solid #e3e1ea;
  border-radius: 20px;
  background: #fff;
  color: #13207a;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
}
.tvx-odznak { transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s; }
.tvx-odznak:hover { transform: translateY(-2px) rotate(-1.5deg); box-shadow: 0 10px 24px -12px rgba(19, 32, 122, .45); }
.tvx-odznak b { font-weight: 700; }
.tvx-logo { position: relative; display: inline-block; width: 22px; height: 20px; flex: none; }
.tvx-logo i { position: absolute; top: 0; height: 8px; }
.tvx-logo i:nth-child(1) { left: 0; width: 12px; background: #1f5bff; border-radius: 4px 0 0 4px; }
.tvx-logo i:nth-child(2) { left: 7px; width: 8px; height: 20px; background: #ffc82e; border-radius: 0 0 4px 4px; clip-path: polygon(0 38%, 100% 0, 100% 100%, 0 100%); }
.tvx-logo i:nth-child(3) { left: 12px; width: 10px; background: #ff6a55; border-radius: 0 4px 4px 0; }

/* Mobilné menu (s JS) */
@media (max-width: 767px) {
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    width: 100%;
    padding: 8px 0 24px;
  }
  .site-nav.is-open ul { flex-direction: column; gap: 0; }
  .site-nav.is-open ul a {
    width: 100%;
    min-height: 52px;
    padding: 0;
    border-top: 1px solid var(--color-divider);
    font-size: 1.125rem;
  }

  /* Bez JS: odkazy v riadku pod logom */
  .no-js .site-nav {
    flex-wrap: wrap;
    gap: 8px 16px;
    width: 100%;
    padding-bottom: 12px;
  }
  .no-js .site-nav ul a { padding: 0 8px 0 0; }
}

@media (max-width: 359px) {
  .brand img { height: 34px; }
  .category { grid-template-columns: 1fr; gap: 12px; }
  .category img { width: 140px; height: 110px; }
  .contact-buttons { grid-template-columns: 1fr; }
}

/* Tablet */
@media (min-width: 768px) {
  .brand img { height: 44px; }
  :root {
    --gutter: 32px;
    --header-height: 92px;
    --section-pad: 96px;
  }
  h1 { font-size: 3.5rem; line-height: 1.06; }
  h2 { font-size: 2.375rem; }

  .categories {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 0;
    margin-top: 56px;
  }
  .category {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 22px;
    padding: 0 28px;
    border: 0;
    text-align: center;
    align-content: start;
  }
  .category:last-child { border: 0; }
  .category:nth-child(n + 2) { border-left: 1px solid var(--color-divider); }
  .category img { height: 200px; }
  .category p { max-width: 24ch; margin-inline: auto; }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .step { grid-template-columns: 1fr; gap: 18px; }
  .step h3 { padding-top: 0; }

  .about-items { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-media img { max-width: 560px; }
  .hero-chips { display: flex; }
  .hero-facts { grid-template-columns: repeat(3, 1fr); }
  .hero-facts li + li { border-top: 0; border-left: 1px solid var(--color-divider); }
  .about-media img { max-width: 400px; }

  .contact-details { grid-template-columns: 1fr 1fr; gap: 28px; }
  .contact-buttons { grid-column: 1 / -1; }

  .footer-inner { align-items: center; }
  .footer-ids { display: flex; flex-wrap: wrap; gap: 4px 32px; }
}

/* Desktop */
@media (min-width: 1024px) {
  :root { --section-pad: 120px; }
  .brand img { height: 56px; }
  h1 { font-size: 4.5rem; line-height: 1.05; }
  h2 { font-size: 2.75rem; }
  body { font-size: 1.125rem; }

  .hero { padding-block: 104px; }
  .hero .hero-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 40px 56px;
  }
  .hero { padding-block: 88px 72px; }
  .lead { font-size: 1.25rem; }
  .hero-media img { max-width: none; }
  .hero-facts { grid-column: 1 / -1; margin-top: 8px; }
  .hero-facts li { padding: 20px 28px; font-size: 1rem; }

  .categories { grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; }
  .category { padding: 0 24px; }
  .category:nth-child(n + 2) { border-left: 1px solid var(--color-divider); }
  .category img { height: 210px; }

  .step {
    grid-template-columns: 72px 1fr;
    gap: 20px;
    padding-right: 40px;
  }
  .step-icon { width: 72px; height: 72px; }
  .step h3 { padding-top: 8px; }
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 26px;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--color-primary);
    border-right: 2px solid var(--color-primary);
    transform: rotate(45deg);
  }

  .container.about-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    align-items: center;
    gap: 72px;
  }
  .about-item:nth-child(2) {
    padding-left: 32px;
    border-left: 1px solid var(--color-divider);
  }
  .about-media img { max-width: none; }

  .container.contact-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 72px;
  }
  .contact-details {
    padding-left: 64px;
    border-left: 1px solid var(--color-divider);
  }
}

@media (max-width: 767px) {
  /* Mobil: kroky pod sebou s jemnou šípkou nadol */
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 27px;
    bottom: -26px;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    transform: rotate(45deg);
  }
  .about-media { display: none; }
}

@media (min-width: 600px) and (max-width: 767px) {
  .about-media { display: block; }
}

/* ---------- Animácie (jemné, bez skriptov na scroll okrem IntersectionObserver) ---------- */

/* Odhalenie sekcií pri prvom zobrazení */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.22, .61, .36, 1);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: .08s; }
.js [data-reveal-delay="2"] { transition-delay: .16s; }
.js [data-reveal-delay="3"] { transition-delay: .24s; }
.js [data-reveal-delay="4"] { transition-delay: .32s; }
/* Hero fotka prichádza sprava */
.js .hero-media[data-reveal] { transform: translateX(28px); transition-duration: .7s; }
.js .hero-media[data-reveal].is-in { transform: none; }
/* Fotka v úvode jemne pláva, štítok naskočí */
.js .hero-photo img { animation: float 7s ease-in-out 1s infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.js .hero-tag { opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .4s ease .9s, transform .5s cubic-bezier(.34, 1.56, .64, 1) .9s; }
.js .hero-media.is-in .hero-tag { opacity: 1; transform: none; }
/* Šípky medzi krokmi sa „dokreslia“ po zobrazení kroku */
.js .step::after { opacity: 0; transition: opacity .3s ease .5s; }
.js .step.is-in::after { opacity: 1; }

/* Mobilná lišta Zavolať */
.call-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 45;
  display: none;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--color-divider);
  box-shadow: 0 -8px 24px -16px rgba(7, 27, 82, .35);
  transform: translateY(110%);
  transition: transform .35s cubic-bezier(.22, .61, .36, 1);
}
.call-bar .btn { width: 100%; }
.call-bar.is-visible { transform: none; }
@media (max-width: 767px) {
  .js .call-bar { display: block; }
  .js body.has-call-bar { padding-bottom: 72px; }
}

/* Šípka „Späť hore“ – klientska verzia (farby KPJ: červený prstenec z loga, tmavomodrá šípka) */
.sh-fab {
  --sh-bg: #fff;
  --sh-ink: #071B52;
  --sh-ring: #DF1724;
  --sh-track: #E6E9EE;
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--sh-bg);
  color: var(--sh-ink);
  box-shadow: 0 14px 30px -14px rgba(7, 27, 82, .5);
  display: block;
  opacity: 0;
  transform: translateY(24px) scale(.6);
  pointer-events: none;
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), opacity .3s, bottom .3s;
}
.no-js .sh-fab { display: none; }
.sh-fab svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sh-track { fill: none; stroke: var(--sh-track); stroke-width: 3; }
.sh-ring { fill: none; stroke: var(--sh-ring); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: var(--p, 1); transition: stroke-dashoffset .25s linear; }
.sh-arrow { fill: none; stroke: var(--sh-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s ease; }
.sh-fab:hover .sh-arrow { transform: translateY(-2px); }
.sh-fab:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 4px; }
.sh-fab.show { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 767px) {
  .sh-fab { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  body.has-call-bar .sh-fab { bottom: 86px; }
}
@media print { .sh-fab, .call-bar { display: none; } }

/* Používateľ nechce pohyb: všetko okamžite */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero-photo img, .status.is-open .status-dot { animation: none; }
  .js .hero-tag { opacity: 1; transform: none; }
  .category:hover img, .btn-primary:hover, .tvx-odznak:hover { transform: none; }
}

/* Stránka 404 */
.page-404 { min-height: 100vh; background: var(--color-surface-blue); }
.page-404 .section { min-height: 100vh; display: grid; align-items: center; }
.page-404 h1 { max-width: 14ch; margin-top: 8px; }
.page-404 .contact-buttons { max-width: 480px; margin-top: 32px; }

/* Mobil: kompaktnejší úvod, dve tlačidlá vedľa seba */
@media (max-width: 767px) {
  .hero { padding-block: 36px 40px; }
  .hero-grid { gap: 28px; }
  .status { margin-bottom: 16px; padding: 6px 12px 6px 10px; font-size: 0.8125rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
  .hero-actions .btn { min-width: 0; padding-inline: 10px; gap: 8px; font-size: 0.9375rem; }
  .hero-actions .btn .icon { width: 18px; height: 18px; }
  .hero-tag { left: 8px; bottom: 2%; font-size: 0.8125rem; padding: 7px 12px 7px 9px; }
  .hero-facts li { padding: 12px 16px; }
  .fact-icon { width: 38px; height: 38px; }
}
@media (max-width: 359px) {
  .hero-actions { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .brands { margin-top: 36px; padding-top: 24px; }
  .brands-list { gap: 8px; }
  .brands-list li { padding: 6px 12px; font-size: 0.875rem; }
}

/* ---------- Čo vám poradíme ---------- */
.advice { margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(7, 27, 82, .12); }
.advice-title { font-size: 1.125rem; }
.advice-list { display: grid; gap: 22px; margin-top: 24px; }
.advice-list li, .partner-points li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; }
.advice-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary);
}
.advice-icon .icon { width: 24px; height: 24px; stroke-width: 1.8; }
.advice-list h4 { margin: 0; color: var(--color-heading); font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.advice-list p, .partner-points p { margin-top: 4px; max-width: 34ch; }

/* ---------- Čísla v O nás ---------- */
.stats {
  display: grid;
  gap: 0;
  margin-top: 32px;
  border-block: 1px solid var(--color-divider);
}
.stats li { display: grid; gap: 2px; padding: 16px 0; min-width: 0; }
.stats li + li { border-top: 1px solid var(--color-divider); }
.stats strong { overflow-wrap: anywhere; color: var(--color-primary); font-size: 1.75rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.stats span { font-size: 0.9375rem; }

/* ---------- Pre autoservisy ---------- */
.partner-points { display: grid; gap: 26px; margin-top: 40px; }
.partner-points h3 { margin: 0; }
.servisy-btn { margin-top: 40px; }

/* ---------- Časté otázky ---------- */
.faq-wrap { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
.faq details { border-top: 1px solid var(--color-divider); }
.faq details:last-child { border-bottom: 1px solid var(--color-divider); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 14px 0;
  color: var(--color-heading);
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 24px; height: 24px; color: var(--color-primary); transition: transform .25s ease; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq summary:hover { color: var(--color-primary); }
.faq details p { max-width: 60ch; padding: 0 40px 20px 0; }

@media (min-width: 768px) {
  .advice-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
  .partner-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: 760px; }
  .stats { grid-template-columns: repeat(3, auto); justify-content: start; }
  .stats li + li { border-top: 0; border-left: 1px solid var(--color-divider); padding-left: 28px; margin-left: 28px; }
  .stats li { padding: 20px 0; }
}
@media (min-width: 1024px) {
  .advice { margin-top: 72px; padding-top: 40px; }
  .advice-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .advice-list li { grid-template-columns: 1fr; gap: 14px; }
  .stats strong { font-size: 2rem; }
  .faq-wrap { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; }
}

/* ===== Nitra svetlá (schválená farebnosť) a pohyb ===== */
:root { --ease-out: cubic-bezier(0.23, 1, 0.32, 1); interpolate-size: allow-keywords; }
html {
  --nitra: #0A23C3;
  --nitra-deep: #071A8F;
  --nitra-light: #8CD2F0;
  --nitra-tint: #DDF1FB;
  --color-primary: #0A23C3;
  --color-primary-hover: #081B9C;
  --color-heading: #0A1B7A;
  --color-text: #2F3B55;
  --color-surface-blue: #DDF1FB;
  --color-divider: #C3D5E5;
}
.topbar { background: var(--nitra); color: #fff; font-size: 0.875rem; font-weight: 600; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.topbar-right { display: flex; align-items: center; gap: 24px; }
.topbar-addr { display: none; }
.topbar a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.topbar a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 768px) { .topbar-addr { display: inline; } }
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px;
  background: linear-gradient(90deg, var(--nitra) 50%, var(--nitra-light) 50%);
  transform-origin: left center;
  animation: pasik .8s var(--ease-out) .1s both;
}
@keyframes pasik { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.site-header { border-bottom-color: transparent; }
.hero { background: var(--nitra-tint); }
#poradenstvo, #servisy { background: var(--nitra-tint); }
.hero-facts { border-color: #BCD8EC; }
.site-footer { background: var(--nitra); border-top: 0; color: #DCE9FB; }
.site-footer .footer-domain { color: #fff; }
.hero::before { background-image: radial-gradient(rgba(10, 35, 195, .16) 1.2px, transparent 1.4px); }
/* ---------- pohyb: jeden zladený úvod, ostatné striedmo (zásady Emila Kowalskeho) ---------- */
/* odkrytie sekcií: len zjavenie a malý posun, krátko; úvod má vlastnú choreografiu */
.js [data-reveal] { transform: translateY(8px); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); }
.js [data-reveal].is-in { transform: none; }
.js [data-reveal-delay="1"] { transition-delay: .05s; }
.js [data-reveal-delay="2"] { transition-delay: .1s; }
.js [data-reveal-delay="3"] { transition-delay: .15s; }
.js [data-reveal-delay="4"] { transition-delay: .2s; }

/* úvod: text po riadkoch, fotka sa „položí“, fakty dobehnú */
.js .hero [data-reveal] { opacity: 1; transform: none; transition: none; }
@keyframes zdvih { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes poloz { from { opacity: 0; transform: translateY(-22px) rotate(-2deg) scale(.97); } to { opacity: 1; transform: none; } }
.js .hero-text > * { animation: zdvih .5s var(--ease-out) both; }
.js .hero-text > :nth-child(1) { animation-delay: .05s; }
.js .hero-text > :nth-child(2) { animation-delay: .1s; }
.js .hero-text > :nth-child(3) { animation-delay: .15s; }
.js .hero-text > :nth-child(4) { animation-delay: .22s; }
.js .hero-text > :nth-child(5) { animation-delay: .3s; }
.js .hero-text > :nth-child(6) { animation-delay: .36s; }
.js .hero-media { animation: poloz .85s cubic-bezier(.22, 1, .36, 1) .12s both; }
.js .hero-facts li { animation: zdvih .45s var(--ease-out) both; }
.js .hero-facts li:nth-child(1) { animation-delay: .5s; }
.js .hero-facts li:nth-child(2) { animation-delay: .56s; }
.js .hero-facts li:nth-child(3) { animation-delay: .62s; }

/* kategórie: obrázok sa odkryje zhora nadol (raz) */
.js .category img { clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-out) .1s, transform .35s var(--ease-out); }
.js .category.is-in img { clip-path: inset(0); }

/* stlačenie tlačidla a hover len tam, kde je myš */
.btn { transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .2s ease, transform .16s var(--ease-out); }
.btn:active, .hero-chips a:active, .sh-fab:active { transform: scale(.97); }
@media (hover: none) { .category:hover img { transform: none; } .btn-primary:hover { transform: none; } }

/* otázky: rozbalenie sa plynulo otvorí (ukazuje, čo sa zmenilo) */
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .28s var(--ease-out), content-visibility .28s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* šípka v otázkach sa otočí, nie preskočí */
.faq summary .icon { transition: transform .22s var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  .js .hero-text > *, .js .hero-media, .js .hero-facts li, .site-header::after { animation: none; }
  .js .category img { clip-path: none; }
  .faq details::details-content { transition: none; }
}
