/*
 * Nový verejný layout (resources/views/layouts/site.blade.php).
 * Samostatný súbor bez buildu - nezávislý od public/css/app.css (stará téma + administrácia).
 * Všetky pravidlá sú pod .site, triedy majú prefix s-.
 */

:root {
    --s-red: #d0141f;
    --s-red-dark: #a8101a;
    --s-ink: #16191d;
    --s-ink-2: #2a2f36;
    --s-muted: #5b636e;
    --s-line: #e3e6ea;
    --s-surface: #f4f5f7;
    --s-white: #fff;
    --s-radius: 10px;
    --s-shadow: 0 1px 2px rgba(22, 25, 29, 0.06), 0 6px 20px rgba(22, 25, 29, 0.06);
    --s-font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --s-gutter: 16px;
}

/* Základ */
.site,
.site *,
.site *::before,
.site *::after {
    box-sizing: border-box;
}

body.site {
    margin: 0;
    background: var(--s-white);
    color: var(--s-ink);
    font-family: var(--s-font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

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

.site :where(a) {
    color: var(--s-red);
    text-underline-offset: 2px;
}

/* :hover musí byť vnútri :where(), inak má pravidlo vyššiu špecificitu ako .s-btn a prebije farbu textu */
.site :where(a:hover) {
    color: var(--s-red-dark);
}

.site :focus-visible {
    outline: 3px solid var(--s-red);
    outline-offset: 2px;
}

/* Resety cez :where() majú nízku špecificitu, aby ich triedy s- vždy prebili */
.site :where(h1, h2, h3) {
    margin: 0 0 0.5em;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.site :where(p) {
    margin: 0 0 1em;
}

.site :where(ul, ol) {
    margin: 0;
    padding: 0;
}

.s-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--s-gutter);
}

/* Horná lišta */
.s-topbar {
    background: var(--s-ink);
    color: #cfd3d8;
    font-size: 14px;
}

/* Lišta presne podľa overeného variantu: blok, text vľavo, bez sloganu.
   Flexbox alebo float/blok so sloganom tu v Chrome (VM) spôsobovali samovoľný posun stránky po načítaní. */
.s-topbar__inner {
    line-height: 40px;
}

.s-topbar__slogan {
    display: none;
}

.s-topbar__nonstop strong a {
    color: var(--s-white) !important; /* prebíja inline style z contacts.nonstopInfo */
    text-decoration: none;
}

/* Header + navigácia */
.s-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--s-white);
    border-bottom: 1px solid var(--s-line);
}

.s-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    min-height: 64px;
}

.s-logo img {
    width: 180px;
}

.s-nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--s-line);
    border-radius: 8px;
    background: var(--s-white);
    color: var(--s-ink);
    font: 600 15px/1 var(--s-font);
    cursor: pointer;
}

.s-nav-toggle__bars,
.s-nav-toggle__bars::before,
.s-nav-toggle__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    position: relative;
}

.s-nav-toggle__bars::before,
.s-nav-toggle__bars::after {
    content: '';
    position: absolute;
    left: 0;
}

.s-nav-toggle__bars::before {
    top: -6px;
}

.s-nav-toggle__bars::after {
    top: 6px;
}

.s-nav {
    display: none;
    width: 100%;
    padding: 8px 0 16px;
}

/* Otvorené menu roluje samo. Výška = obrazovka mínus topbar (40px) a hlavička (64px), site.js ju spresní podľa polohy.
   Stránku pod menu nezamykáme - overflow: hidden na html/body by vypol sticky hlavičku a menu by sa otvorilo mimo pohľadu */
.s-nav.is-open {
    display: block;
    max-height: calc(100vh - 104px);
    max-height: calc(100dvh - 104px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.s-nav__list {
    list-style: none;
}

.s-nav__item > a {
    display: block;
    padding: 10px 0;
    color: var(--s-ink);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--s-line);
}

.s-nav__item > a.is-active {
    color: var(--s-red);
}

.s-nav__sub {
    list-style: none;
    padding: 4px 0 8px 16px;
}

/* Akordeón podmenu na mobile (tlačidlo pridáva site.js, bez JS ostanú podmenu otvorené) */
.s-nav__item {
    position: relative;
}

.s-nav__item--has-sub > a {
    padding-right: 52px;
}

.s-nav__expand {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 46px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--s-ink);
    cursor: pointer;
}

.s-nav__expand svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.s-nav__expand[aria-expanded='true'] svg {
    transform: rotate(180deg);
}

.s-js .s-nav__item--has-sub:not(.is-expanded) > .s-nav__sub {
    display: none;
}

.s-nav__sub a {
    display: block;
    padding: 6px 0;
    color: var(--s-muted);
    text-decoration: none;
}

.s-nav a:hover {
    color: var(--s-red);
}

.s-nav__sub a[aria-current='page'] {
    color: var(--s-red);
    font-weight: 600;
}

/* Prihlásený používateľ (ikona + meno na mobile, len ikona na desktope) */
.s-nav__item--user > a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.s-nav__user-icon {
    flex: none;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.s-nav__logout {
    display: block;
    width: 100%;
    padding: 6px 0;
    border: 0;
    background: none;
    color: var(--s-muted);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.s-nav__logout:hover {
    color: var(--s-red);
}

/* Oddeľovač skupín v podmenu */
.s-nav__sep {
    height: 1px;
    margin: 6px 0;
    background: var(--s-line);
}

/* Široké podmenu Predaj: nadpisy skupín, odkazy a modely s fotkami (na mobile pod sebou) */
.s-nav__label {
    display: block;
    padding: 6px 0 2px;
    color: var(--s-ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.s-nav__col,
.s-nav__links {
    list-style: none;
}

.s-nav__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 4px 0 8px;
    list-style: none;
}

.site .s-nav__card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 6px;
}

/* Omrvinky */
.s-breadcrumbs {
    background: var(--s-surface);
    border-bottom: 1px solid var(--s-line);
    font-size: 14px;
}

.s-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding-top: 10px;
    padding-bottom: 10px;
    color: var(--s-muted);
}

.s-breadcrumbs li + li::before {
    content: '/';
    margin: 0 8px;
    color: #a0a7b0;
}

.s-breadcrumbs a {
    color: var(--s-muted);
}

/* Flash správy */
.s-flash {
    padding-top: 16px;
}

.s-alert {
    margin: 0 0 8px;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid;
    list-style-position: inside;
}

.s-alert--success {
    background: #e9f6ee;
    border-color: #1f8a4c;
}
.s-alert--info {
    background: #e8f1fb;
    border-color: #2266b0;
}
.s-alert--warning {
    background: #fdf5e3;
    border-color: #b7791f;
}
.s-alert--danger {
    background: #fdecec;
    border-color: var(--s-red);
}

/* Tlačidlá */
.s-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.s-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 8px;
    border: 2px solid transparent;
    /* <button> nededí písmo ani pozadie */
    background: transparent;
    font-family: inherit;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition:
        background-color 0.15s,
        border-color 0.15s,
        color 0.15s;
}

.s-btn--primary {
    background: var(--s-red);
    color: var(--s-white);
}

.s-btn--primary:hover {
    background: var(--s-red-dark);
}

.s-btn--ghost {
    border-color: var(--s-ink);
    color: var(--s-ink);
}

.s-btn--ghost:hover {
    background: var(--s-ink);
    color: var(--s-white);
}

.s-btn--ghost-light {
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--s-white);
}

.s-btn--ghost-light:hover {
    background: var(--s-white);
    color: var(--s-ink);
}

/* Hero */
.s-hero {
    padding: 32px 0 40px;
    background: linear-gradient(180deg, var(--s-surface), var(--s-white));
}

.s-hero__grid {
    display: grid;
    gap: 28px;
}

.s-eyebrow {
    margin-bottom: 12px;
    color: var(--s-red);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.s-hero h1 {
    font-size: clamp(28px, 6vw, 46px);
}

.s-hero__lead {
    max-width: 640px;
    color: var(--s-ink-2);
    font-size: clamp(17px, 2.4vw, 20px);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
}

/* Hero s fotkou na pozadí (banner) */
.s-hero--banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--s-ink);
    color: var(--s-white);
}

.s-hero--banner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(15, 17, 20, 0.7);
}

/* Obal fotky je o 20 % vyšší nad bannerom - site.js ho pri scrollovaní posúva nadol (paralaxa) */
.s-hero__media {
    position: absolute;
    top: -20%;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -2;
    will-change: transform;
}

.site .s-hero__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 0%;
    animation: s-kenburns 24s ease-in-out infinite alternate;
}

@keyframes s-kenburns {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.08) translateX(-1.5%);
    }
}

.s-hero--banner .s-eyebrow {
    color: #ff7a7e;
}

.s-hero--banner .s-hero__lead {
    color: #e6e8eb;
}

/* Objavenie pri scrollovaní - len ak beží JS (trieda s-js z layoutu) */
.s-js .s-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
    transition-delay: calc(var(--d, 0) * 120ms);
}

.s-js .s-reveal.is-visible,
.s-reveal-all .s-reveal {
    opacity: 1;
    transform: none;
}

.s-contact-card {
    align-self: start;
    padding: 24px;
    background: var(--s-white);
    color: var(--s-ink);
    border: 1px solid var(--s-line);
    border-top: 4px solid var(--s-red);
    border-radius: var(--s-radius);
    box-shadow: var(--s-shadow);
    font-size: 15px;
}

.s-contact-card__title {
    font-size: 20px;
}

/* Kontakty s piktogramami */
.s-contact-list {
    display: grid;
    gap: 14px;
    list-style: none;
}

.s-contact-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.s-contact-list__icon {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    fill: none;
    stroke: var(--s-red);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Čísla majú 18px písmo - ikona sa posunie na stred prvého riadku */
.s-contact-list__icon--phone {
    margin-top: 4px;
}

.s-contact-list__phone {
    font-size: 18px;
    font-weight: 700;
    color: var(--s-ink);
    text-decoration: none;
}

.s-contact-list__phone:hover {
    color: var(--s-red);
}

/* Predajcovia v kontaktnej karte vedľa formulára dopytu */
.s-contact-card__intro {
    margin: -4px 0 4px;
    color: var(--s-ink-2);
}

.s-seller {
    padding-top: 16px;
}

.s-seller + .s-seller {
    margin-top: 16px;
    border-top: 1px solid var(--s-line);
}

.s-seller__name {
    margin: 0 0 10px;
    font-size: 17px;
}

.s-seller .s-contact-list {
    gap: 10px;
}

.s-contact-list__phone--small {
    font-size: 15px;
    font-weight: 600;
}

/* Text len pre čítačky obrazovky */
.s-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Sekcie */
.s-section {
    padding: 48px 0;
}

.s-section--muted {
    background: var(--s-surface);
}

.s-section__title {
    font-size: clamp(22px, 3.4vw, 30px);
    margin-bottom: 24px;
}

.s-split {
    display: grid;
    gap: 24px;
}

/* Panely pod sebou na celú šírku */
.s-stack {
    display: grid;
    gap: 24px;
}

/* Panely: všetky značky vs. autorizovaný servis */
.s-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 22px;
    border-radius: var(--s-radius);
}

.s-panel h2 {
    font-size: clamp(22px, 3vw, 28px);
    margin: 0;
}

.s-panel p {
    margin: 0;
}

/* Tlačidlá oboch panelov zarovnané na spodok, aby boli v jednej línii */
.s-panel .s-btn {
    align-self: flex-start;
    margin-top: auto;
}

.s-panel--light {
    background: var(--s-surface);
    border: 1px solid var(--s-line);
}

.s-panel--dark {
    background: var(--s-ink);
    color: #e6e8eb;
}

.s-badge {
    align-self: flex-start;
    margin: 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--s-red);
    color: var(--s-white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.s-badge--light {
    background: var(--s-white);
    color: var(--s-ink);
}

.s-tile {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px;
    background: var(--s-white);
    border: 1px solid var(--s-line);
    border-radius: 8px;
    color: var(--s-ink);
    text-decoration: none;
    transition:
        border-color 0.15s,
        transform 0.15s;
}

.s-tile:hover {
    border-color: var(--s-red);
    transform: translateY(-1px);
}

.s-tile img {
    flex: 0 0 auto;
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 6px;
    background: var(--s-surface);
}

.s-tile__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.s-tile__title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--s-red);
}

.s-tile__text {
    font-size: 14px;
    line-height: 1.45;
    color: var(--s-muted);
}

.s-tile--dark {
    background: var(--s-ink-2);
    border-color: #3a4049;
}

.s-tile--dark .s-tile__title {
    color: var(--s-white);
}

.s-tile--dark .s-tile__text {
    color: #c3c8ce;
}

.s-tile--dark:hover {
    border-color: var(--s-white);
}

.s-tile--dark img {
    background: var(--s-white);
    object-fit: contain;
}

/* Kompaktné dlaždice bez obrázka (panel Servis všetkých značiek) */
.s-tiles {
    display: grid;
    gap: 10px;
}

/* Bloky bez odkazu - bez hover efektu */
.s-tile--static:hover {
    border-color: var(--s-line);
    transform: none;
}

.s-tile--static .s-tile__title {
    color: var(--s-ink);
}

@media (min-width: 640px) {
    .s-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .s-tiles--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .s-stack {
        gap: 32px;
    }
}

/* Zvýraznené okná pod bannerom */
.s-highlights {
    padding: 32px 0 0;
}

.s-highlights__grid {
    display: grid;
    gap: 12px;
    list-style: none;
}

.s-highlight {
    display: grid;
    grid-template-columns: 28px 1fr;
    column-gap: 14px;
    align-items: start;
    padding: 16px 18px;
    background: var(--s-white);
    border: 1px solid var(--s-line);
    border-radius: var(--s-radius);
    box-shadow: var(--s-shadow);
}

.s-highlight--accent {
    border-left: 4px solid var(--s-red);
}

.s-highlight__icon {
    grid-row: span 2;
    width: 28px;
    height: 28px;
    fill: none;
    stroke: var(--s-red);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.s-highlight__title {
    margin: 0 0 4px;
    font-size: 17px;
}

.s-highlight__text {
    margin: 0;
    color: var(--s-muted);
    font-size: 15px;
    line-height: 1.5;
}

.s-highlight__text a {
    text-decoration: none;
}

.s-section--tight {
    padding-top: 32px;
}

@media (min-width: 640px) {
    .s-highlights__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .s-highlights {
        padding-top: 48px;
    }

    .s-highlights__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }

    .s-highlight {
        display: block;
        padding: 20px;
    }

    .s-highlight__icon {
        display: block;
        margin-bottom: 10px;
    }

    .s-section--tight {
        padding-top: 40px;
    }
}

/* Zoznamy */
.s-checklist {
    display: grid;
    gap: 12px 32px;
    list-style: none;
}

.s-checklist li {
    position: relative;
    padding-left: 32px;
}

.s-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--s-red)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
        center / 14px no-repeat;
}

.s-taglist {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.s-taglist li {
    padding: 6px 12px;
    background: var(--s-surface);
    border: 1px solid var(--s-line);
    border-radius: 999px;
    font-size: 15px;
}

/* Kroky objednania */
.s-cta {
    background: var(--s-ink);
    color: #e6e8eb;
}

/* Výzva s fotkou v pozadí (konfigurátor na stránke modelu) - tmavý prechod zľava kvôli čitateľnosti textu */
.s-cta--photo {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 72px 0;
}

.site .s-cta__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 50%;
}

.s-cta--photo::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(15, 17, 20, 0.9) 0%, rgba(15, 17, 20, 0.7) 45%, rgba(15, 17, 20, 0.15) 100%);
}

@media (max-width: 767px) {
    .s-cta--photo::before {
        background: rgba(15, 17, 20, 0.72);
    }
}

.s-cta .s-section__title {
    color: var(--s-white);
    margin-bottom: 8px;
}

.s-cta__intro {
    max-width: 640px;
    margin-bottom: 24px;
    color: #c3c8ce;
}

/* Kroky: časová os - guličky s číslami prepojené čiarou (mobil zvislo, desktop vodorovne) */
.s-steps {
    --s-step-color: var(--s-white);
    display: grid;
    list-style: none;
    counter-reset: s-step;
}

/* Kroky na svetlom pozadí (podstránky služieb) */
.s-steps--light {
    --s-step-color: var(--s-ink);
}

.s-steps li {
    counter-increment: s-step;
    position: relative;
    min-height: 48px;
    padding: 10px 0 44px 68px;
    color: var(--s-step-color);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.s-steps li:last-child {
    padding-bottom: 0;
}

.s-steps li::before {
    content: counter(s-step);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--s-red);
    box-shadow: 0 0 0 6px rgba(208, 20, 31, 0.2);
    color: var(--s-white);
    font-size: 20px;
    font-weight: 800;
    line-height: 48px;
    text-align: center;
}

/* Spojovacia čiara k ďalšej guličke */
.s-steps li:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 48px;
    bottom: 0;
    left: 23px;
    width: 2px;
    background: rgba(208, 20, 31, 0.7);
    transform-origin: top;
}

/* Animácia (len s JS): najprv guličky, potom rastie čiara */
.s-js .s-steps.s-reveal {
    opacity: 1;
    transform: none;
}

.s-js .s-steps li {
    color: transparent;
    transition: color 0.4s ease;
}

.s-js .s-steps li::before {
    opacity: 0;
    transform: scale(0);
    transition:
        transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.3s ease;
}

.s-js .s-steps li::after {
    transform: scaleY(0);
    transition: transform 0.45s ease-out;
}

.s-steps li:nth-child(2),
.s-steps li:nth-child(2)::before {
    transition-delay: 0.15s;
}

.s-steps li:nth-child(3),
.s-steps li:nth-child(3)::before {
    transition-delay: 0.3s;
}

.s-steps li:nth-child(4),
.s-steps li:nth-child(4)::before {
    transition-delay: 0.45s;
}

.s-steps li:nth-child(1)::after {
    transition-delay: 0.65s;
}

.s-steps li:nth-child(2)::after {
    transition-delay: 1.1s;
}

.s-steps li:nth-child(3)::after {
    transition-delay: 1.55s;
}

.s-js .s-steps.is-visible li,
.s-reveal-all .s-steps li {
    color: var(--s-step-color);
}

.s-js .s-steps.is-visible li::before,
.s-reveal-all .s-steps li::before {
    opacity: 1;
    transform: none;
}

.s-js .s-steps.is-visible li::after,
.s-reveal-all .s-steps li::after {
    transform: none;
}

.s-steps + .s-actions {
    margin-top: 32px;
}

@media (min-width: 1024px) {
    .s-steps {
        /* Toľko stĺpcov, koľko je krokov (3 aj 4 v jednom riadku) */
        grid-auto-columns: minmax(0, 1fr);
        grid-auto-flow: column;
    }

    /* Guličky aj text na stred stĺpca, čiara od stredu ku stredu susednej guličky */
    .s-steps li,
    .s-steps li:last-child {
        padding: 72px 16px 0;
        text-align: center;
    }

    .s-steps li::before {
        left: calc(50% - 24px);
    }

    .s-steps li:not(:last-child)::after {
        top: 23px;
        right: calc(-50% + 24px);
        bottom: auto;
        left: calc(50% + 24px);
        width: auto;
        height: 2px;
        transform-origin: left;
    }

    .s-js .s-steps li::after {
        transform: scaleX(0);
    }
}

/* Footer */
.s-footer {
    background: #0f1114;
    color: #b9bec5;
    font-size: 15px;
}

.s-footer a {
    color: #e6e8eb;
    text-decoration: none;
}

.s-footer a:hover {
    color: var(--s-white);
    text-decoration: underline;
}

.s-footer__grid {
    display: grid;
    gap: 28px;
    padding-top: 40px;
    padding-bottom: 32px;
}

.s-footer__logo {
    width: 171px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

/* Nadpis stĺpca pätičky je <p>, nie <h2> - pätička sa opakuje na každej stránke a nemá byť v osnove nadpisov */
.s-footer__title {
    margin: 0 0 0.5em;
    color: var(--s-white);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.s-footer__col ul {
    list-style: none;
}

.s-footer__col li {
    margin-bottom: 6px;
}

.s-hours {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 16px;
    margin: 0;
}

.s-hours dd {
    margin: 0;
}

.s-footer__bottom {
    border-top: 1px solid #262a30;
}

.s-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.s-footer__bottom p {
    margin: 0;
}

.s-social {
    display: flex;
    gap: 8px;
    list-style: none;
}

.s-social a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #262a30;
}

.s-social a:hover {
    background: var(--s-red);
}

/* Späť hore */
.s-to-top {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 40;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--s-ink);
    color: var(--s-white);
    box-shadow: var(--s-shadow);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.2s,
        visibility 0.2s;
}

/* Na stránkach s reCAPTCHA je vpravo dole jej odznak - tlačidlo ide vyššie */
body.site:has(.grecaptcha-badge) .s-to-top {
    bottom: 88px;
}

.s-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Právne modály (markup z layouts/partials/legal-modals) */
.site .modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    padding: 16px;
    background: rgba(15, 17, 20, 0.6);
    overflow-y: auto;
}

.site .modal.is-open {
    display: block;
}

.site .modal-dialog {
    max-width: 860px;
    margin: 24px auto;
}

.site .modal-content {
    background: var(--s-white);
    border-radius: var(--s-radius);
    box-shadow: var(--s-shadow);
}

.site .modal-header,
.site .modal-body,
.site .modal-footer {
    padding: 20px 24px;
}

.site .modal-header {
    position: relative;
    padding-right: 56px;
    border-bottom: 1px solid var(--s-line);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.site .modal-body {
    font-size: 15px;
}

.site .modal-body h1,
.site .modal-body h2,
.site .modal-body h3,
.site .modal-body h4 {
    font-size: 18px;
}

.site .modal-body ul,
.site .modal-body ol {
    padding-left: 20px;
    margin-bottom: 1em;
}

.site .modal-footer {
    border-top: 1px solid var(--s-line);
    text-align: right;
}

.site .modal .close {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: var(--s-muted);
}

.site .modal .btn {
    padding: 10px 18px;
    border: 1px solid var(--s-line);
    border-radius: 8px;
    background: var(--s-white);
    font: 600 15px var(--s-font);
    cursor: pointer;
}

body.site.s-modal-open {
    overflow: hidden;
}

/* Tablet */
@media (min-width: 640px) {
    .s-checklist {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .s-checklist--single {
        grid-template-columns: 1fr;
    }

    .s-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Desktop */
@media (min-width: 1024px) {
    :root {
        --s-gutter: 24px;
    }

    .s-hero {
        padding: 64px 0 72px;
    }

    .s-hero__grid {
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
        gap: 56px;
        align-items: center;
    }

    .s-section {
        padding: 72px 0;
    }

    .s-split {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }

    .s-panel {
        padding: 36px 32px;
    }

    .s-checklist {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .s-checklist--single {
        grid-template-columns: 1fr;
    }

    .s-footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
    }
}

/* Horizontálna navigácia - až od 1200px, pri menšej šírke by sa 9 položiek zalamovalo */
@media (min-width: 1200px) {
    .s-logo img {
        width: 190px;
    }

    .s-nav-toggle {
        display: none;
    }

    .s-header__inner {
        flex-wrap: nowrap;
        gap: 24px;
    }

    .s-nav,
    .s-nav.is-open {
        display: block;
        width: auto;
        padding: 0;
    }

    .s-nav__list {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .s-nav.is-open {
        max-height: none;
        overflow: visible;
    }

    .s-nav__expand {
        display: none;
    }

    .s-nav__item--has-sub > a {
        padding-right: 7px;
    }

    .s-nav__item > a {
        padding: 22px 7px;
        border: 0;
        font-size: 14px;
        white-space: nowrap;
    }

    .s-nav__item > a.is-active {
        box-shadow: inset 0 -3px 0 var(--s-red);
    }

    .s-nav__sub {
        display: none;
        position: absolute;
        left: 0;
        top: 100%;
        /* šírka podľa najdlhšej položky - názvy sa nelámu */
        width: max-content;
        min-width: 260px;
        padding: 8px 0;
        background: var(--s-white);
        border: 1px solid var(--s-line);
        border-radius: 0 0 8px 8px;
        box-shadow: var(--s-shadow);
    }

    .s-nav__item:hover > .s-nav__sub,
    .s-nav__item:focus-within > .s-nav__sub,
    .s-js .s-nav__item--has-sub:hover > .s-nav__sub,
    .s-js .s-nav__item--has-sub:focus-within > .s-nav__sub {
        display: block;
    }

    .s-nav__sub a,
    .s-nav__logout {
        padding: 8px 18px;
        white-space: nowrap;
    }

    .s-nav__logout:hover {
        background: var(--s-surface);
    }

    /* Posledná položka - podmenu zarovnané vpravo, aby nevyšlo za okraj */
    .s-nav__sub--end {
        right: 0;
        left: auto;
        min-width: 200px;
    }

    .s-nav__user-name {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .s-nav__sep {
        margin: 6px 18px;
    }

    .s-nav__label {
        padding: 6px 18px 2px;
    }

    .s-nav__item:hover > .s-nav__sub--mega,
    .s-nav__item:focus-within > .s-nav__sub--mega,
    .s-js .s-nav__item--has-sub:hover > .s-nav__sub--mega,
    .s-js .s-nav__item--has-sub:focus-within > .s-nav__sub--mega {
        display: flex;
    }

    /* Položka je static, panel sa umiestni k .s-header__inner a zarovná k pravému okraju menu - nepretečie vpravo */
    .s-header__inner {
        position: relative;
    }

    .s-nav__item--mega {
        position: static;
    }

    .s-nav__sub--mega {
        right: 16px;
        left: auto;
        gap: 4px;
        width: max-content;
        min-width: 0;
        padding: 12px 6px 14px;
        border-radius: 0 0 10px 10px;
    }

    .s-nav__col {
        min-width: 180px;
    }

    .s-nav__col + .s-nav__col {
        border-left: 1px solid var(--s-line);
    }

    /* Fotky modelov s pevnou šírkou - panel je len taký široký, ako treba */
    .s-nav__cards {
        gap: 10px;
        padding: 6px 18px 0;
    }

    .s-nav__cards--3 {
        grid-template-columns: repeat(3, 110px);
    }

    .s-nav__cards--2 {
        grid-template-columns: repeat(2, 110px);
    }

    .s-nav__sub .s-nav__card {
        padding: 0;
        white-space: normal;
        border-radius: 6px;
        color: var(--s-ink);
        font-size: 14px;
        font-weight: 600;
    }

    .s-nav__sub .s-nav__card:hover {
        background: none;
        color: var(--s-red);
    }

    .s-nav__sub .s-nav__card[aria-current='page'] {
        background: none;
    }

    /* Odkazy v širokom podmenu v dvoch stĺpcoch (služby autoservisu) */
    .s-nav__links--2col {
        display: grid;
        grid-template-columns: repeat(2, max-content);
        column-gap: 8px;
    }

    .s-nav__label--gap {
        margin-top: 10px;
    }

    .site .s-nav__card img {
        margin-bottom: 4px;
        transition:
            transform 0.2s ease,
            box-shadow 0.2s ease,
            filter 0.2s ease;
    }

    /* Hover: fotka sa zdvihne, dostane tieň a zosvetlí sa (aktuálny model má červený názov) */
    .site .s-nav__card:hover img,
    .site .s-nav__card:focus-visible img {
        transform: translateY(-3px);
        box-shadow: 0 8px 18px rgba(22, 25, 29, 0.25);
        filter: brightness(1.08);
    }

    .s-nav__sub a:hover {
        background: var(--s-surface);
    }
}

/* Kompaktný banner (podstránky) */
.s-hero--banner.s-hero--compact {
    padding: 32px 0 36px;
}

.s-hero--compact h1 {
    font-size: clamp(26px, 5vw, 40px);
}

/* Objednávací formulár */
.s-form-layout {
    display: grid;
    gap: 24px;
    align-items: start;
}

.s-form-card {
    padding: 24px 20px;
    background: var(--s-white);
    border: 1px solid var(--s-line);
    border-radius: var(--s-radius);
    box-shadow: var(--s-shadow);
}

.s-form__group {
    margin: 0 0 24px;
    padding: 0;
    border: 0;
    min-width: 0;
}

.s-form__group legend {
    width: 100%;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--s-line);
    font-size: 17px;
    font-weight: 700;
}

.s-form__row {
    display: grid;
    gap: 0 16px;
}

.s-field {
    margin-bottom: 16px;
}

.s-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 600;
}

.s-field__optional {
    color: var(--s-muted);
    font-weight: 400;
}

.s-field input,
.s-field select,
.s-field textarea {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid #c9ced5;
    border-radius: 8px;
    background: var(--s-white);
    color: var(--s-ink);
    font: 16px/1.4 var(--s-font);
    transition:
        border-color 0.15s,
        box-shadow 0.15s;
}

.s-field textarea {
    resize: vertical;
    min-height: 120px;
}

.s-field input:focus,
.s-field select:focus,
.s-field textarea:focus {
    outline: none;
    border-color: var(--s-ink);
    box-shadow: 0 0 0 3px rgba(22, 25, 29, 0.12);
}

.s-field__hint {
    margin: 6px 0 0;
    color: var(--s-muted);
    font-size: 13px;
}

.s-field--error input,
.s-field--error select,
.s-field--error textarea {
    border-color: var(--s-red);
}

.s-field__error {
    margin: 6px 0 0;
    color: var(--s-red);
    font-size: 14px;
    font-weight: 600;
}

.s-form__footer {
    display: grid;
    gap: 12px;
}

.s-form__note {
    margin: 0;
    color: var(--s-muted);
    font-size: 14px;
}

.s-form__note a {
    color: var(--s-muted);
}

.s-form__submit {
    justify-self: start;
    min-width: 200px;
    border: 0;
    cursor: pointer;
}

.s-form__submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.s-form-aside {
    display: grid;
    gap: 20px;
}

.s-next {
    padding: 20px 24px;
    background: var(--s-surface);
    border: 1px solid var(--s-line);
    border-radius: var(--s-radius);
}

.s-next__title {
    font-size: 17px;
}

.s-next__list {
    display: grid;
    gap: 8px;
    padding-left: 20px;
    font-size: 15px;
}

@media (min-width: 640px) {
    .s-form-card {
        padding: 32px;
    }

    .s-form__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .s-hero--banner.s-hero--compact {
        padding: 56px 0 60px;
    }

    .s-form-layout {
        grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
        gap: 32px;
    }

    .s-form-aside {
        position: sticky;
        top: 88px;
    }
}

/* Banner podstránok služieb: fotka v pozadí, zľava svetlý prechod a tmavý text */
.s-hero--compact .s-hero__text {
    max-width: 640px;
}

.s-hero--banner.s-hero--banner-light {
    background: var(--s-surface);
    color: var(--s-ink);
}

.s-hero--banner.s-hero--banner-light::before {
    background: rgba(255, 255, 255, 0.86);
}

.s-hero--banner.s-hero--banner-light .s-eyebrow {
    color: var(--s-red);
}

.s-hero--banner.s-hero--banner-light .s-hero__lead {
    color: var(--s-ink-2);
}

@media (min-width: 1024px) {
    .s-hero--banner.s-hero--banner-light::before {
        background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.97) 0%,
            rgba(255, 255, 255, 0.88) 42%,
            rgba(255, 255, 255, 0) 72%
        );
    }
}

/* Cenník */
.s-price-card {
    padding: 20px;
    background: var(--s-white);
    border: 1px solid var(--s-line);
    border-radius: var(--s-radius);
    box-shadow: var(--s-shadow);
}

.s-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.s-price-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 15px;
}

.s-price-table th,
.s-price-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--s-line);
    text-align: center;
    white-space: nowrap;
}

.s-price-table thead th {
    background: var(--s-surface);
    color: var(--s-muted);
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.s-price-table tbody th,
.s-price-table thead th:first-child {
    text-align: left;
    white-space: normal;
}

.s-price-table td {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.s-price-table tbody tr:hover {
    background: #fafbfc;
}

.s-price-card__note {
    margin: 14px 0 0;
    padding: 10px 14px;
    background: var(--s-surface);
    border-left: 3px solid var(--s-red);
    border-radius: 6px;
    font-size: 15px;
}

.s-price-card__subtitle {
    margin: 20px 0 10px;
    font-size: 16px;
}

.s-price-notes {
    display: grid;
    gap: 4px 20px;
    margin: 0;
    color: var(--s-muted);
    font-size: 14px;
}

.s-price-notes dt {
    color: var(--s-ink);
    font-weight: 600;
}

.s-price-notes dd {
    margin: 0 0 8px;
}

/* Mobil: každá služba ako karta, veľkosti kolies pod sebou (bez posúvania do strany) */
@media (max-width: 639px) {
    .s-price-table {
        min-width: 0;
    }

    .s-price-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .s-price-table tbody tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px 12px;
        margin-bottom: 12px;
        padding: 14px;
        border: 1px solid var(--s-line);
        border-radius: 8px;
    }

    .s-price-table tbody th {
        grid-column: 1 / -1;
        padding: 0 0 6px;
        font-size: 16px;
    }

    .s-price-table th,
    .s-price-table td {
        border: 0;
    }

    .s-price-table td {
        display: flex;
        justify-content: space-between;
        padding: 6px 10px;
        background: var(--s-surface);
        border-radius: 6px;
    }

    .s-price-table td::before {
        content: attr(data-label);
        color: var(--s-muted);
        font-weight: 400;
    }
}

/* Video - náhľad, iframe sa vloží až po kliknutí (site.js) */
.s-video {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--s-radius);
    background: #000;
    cursor: pointer;
}

.s-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.s-video:hover img {
    opacity: 1;
}

.s-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-flex;
    width: 68px;
    height: 68px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--s-red);
    color: var(--s-white);
    transform: translate(-50%, -50%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.s-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Informačný box */
.s-note {
    padding: 20px 24px;
    background: var(--s-surface);
    border-left: 4px solid var(--s-red);
    border-radius: var(--s-radius);
}

.s-note__title {
    font-size: 18px;
}

.s-note p {
    margin: 0;
    font-size: 15px;
}

/* Záverečná výzva s kontaktnou kartou */
.s-cta__grid {
    display: grid;
    gap: 28px;
    align-items: center;
}

@media (min-width: 640px) {
    .s-price-card {
        padding: 28px;
    }

    .s-price-notes {
        grid-template-columns: minmax(180px, auto) 1fr;
    }

    .s-price-notes dd {
        margin: 0;
    }
}

@media (min-width: 1024px) {
    .s-split--center {
        align-items: center;
    }

    .s-cta__grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        gap: 48px;
    }
}

/* Podstránky autorizovaného servisu */
.s-rounded {
    width: 100%;
    border-radius: var(--s-radius);
    box-shadow: var(--s-shadow);
}

.s-gallery__title {
    margin-top: 48px;
}

.s-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
}

.s-gallery a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
}

.s-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.s-gallery a:hover img {
    transform: scale(1.04);
}

@media (min-width: 1024px) {
    .s-checklist--equipment {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .s-gallery {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }
}

/* Podstránky služieb */
.s-container--narrow {
    max-width: 880px;
}

/* Vysvetlenie pojmov */
.s-terms {
    display: grid;
    gap: 14px;
    margin: 0;
}

.s-terms__item {
    padding: 18px 20px;
    background: var(--s-white);
    border: 1px solid var(--s-line);
    border-top: 3px solid var(--s-red);
    border-radius: var(--s-radius);
}

.s-terms dt {
    margin-bottom: 6px;
    font-weight: 700;
}

.s-terms dd {
    margin: 0;
    color: var(--s-ink-2);
    font-size: 15px;
}

@media (min-width: 640px) {
    .s-terms {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Časté otázky */
.s-faq {
    display: grid;
    gap: 10px;
}

/* Otázky na sivom pozadí (kontrast voči bielej sekcii), otvorená otázka biela s červeným pruhom */
/* Nenápadné textové tlačidlo „Rozbaliť všetko“ so šípkou ako pri otázkach, zobrazí ho až site.js */
.s-faq__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border: 0;
    background: none;
    color: var(--s-red);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.s-faq__toggle:hover {
    color: var(--s-red-dark);
    text-decoration: underline;
}

.s-faq__toggle::after {
    content: '';
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s;
}

.s-faq__toggle[aria-expanded='true']::after {
    transform: rotate(-135deg) translateY(-2px);
}

.s-faq__toggle[hidden] {
    display: none;
}

.s-faq__item {
    overflow: hidden;
    background: var(--s-surface);
    border: 1px solid #d5d9de;
    border-left: 4px solid #c9ced5;
    border-radius: var(--s-radius);
    transition:
        background-color 0.15s,
        border-color 0.15s,
        box-shadow 0.15s;
}

.s-faq__item:hover {
    background: #eceef1;
    border-left-color: var(--s-red);
}

/* Na sivom pozadí sekcie sú otázky biele, inak by splývali */
.s-section--muted .s-faq__item {
    background: var(--s-white);
}

.s-section--muted .s-faq__item:hover {
    background: #fafbfc;
}

.s-faq__item[open] {
    background: var(--s-white);
    border-color: #d5d9de;
    border-left-color: var(--s-red);
    box-shadow: var(--s-shadow);
}

.s-faq__item summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.s-faq__item[open] summary {
    color: var(--s-red);
}

.s-faq__item summary::-webkit-details-marker {
    display: none;
}

.s-faq__item summary::after {
    content: '';
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    margin-left: auto;
    border-right: 2px solid var(--s-red);
    border-bottom: 2px solid var(--s-red);
    transform: rotate(45deg) translateY(-3px);
    transition: transform 0.2s;
}

.s-faq__item[open] summary::after {
    transform: rotate(-135deg) translateY(-3px);
}

.s-faq__item p {
    margin: 0;
    padding: 0 20px 20px;
    color: var(--s-ink-2);
    line-height: 1.6;
}

.s-price-badge {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 18px;
    background: var(--s-surface);
    border-left: 4px solid var(--s-red);
    border-radius: 6px;
    font-size: 17px;
}

.s-price-badge strong {
    color: var(--s-red);
    font-size: 22px;
}

.s-price-note {
    margin: 8px 0 0;
    color: var(--s-muted);
    font-size: 14px;
}

/* Objednávka na podstránke a dopyt na /predaj-aut - kotvy pod lepiacou hlavičkou */
#objednavka,
#dopyt {
    scroll-margin-top: 80px;
}

.s-order__intro {
    max-width: 640px;
    margin-bottom: 24px;
    color: var(--s-ink-2);
}

/* Banner na desktope - prechod zľava, aby fotka vpravo bola viditeľná */
@media (min-width: 1024px) {
    .s-hero--banner {
        padding: 96px 0 104px;
    }

    .s-hero--banner::before {
        background: linear-gradient(
            90deg,
            rgba(15, 17, 20, 0.85) 0%,
            rgba(15, 17, 20, 0.62) 45%,
            rgba(15, 17, 20, 0.2) 100%
        );
    }

    /* Jemnejší prechod (STK) - tmavý len za textom, fotka vpravo zostane svetlejšia */
    .s-hero--banner.s-hero--banner-soft::before {
        background: linear-gradient(
            90deg,
            rgba(15, 17, 20, 0.9) 0%,
            rgba(15, 17, 20, 0.72) 38%,
            rgba(15, 17, 20, 0.25) 62%,
            rgba(15, 17, 20, 0.1) 100%
        );
    }
}

/* STK + EK: úvod sekcie, karty staníc, tabuľky a poznámky */
.s-section__intro {
    max-width: 760px;
    margin: -8px 0 24px;
    color: var(--s-ink-2);
}

.s-stations {
    display: grid;
    gap: 16px;
}

/* s-reveal je na obale karty, inak by jeho transform a oneskorenie prebili posun pri hoveri */
.s-station {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 22px 20px;
    background: var(--s-white);
    border: 1px solid var(--s-line);
    border-top: 3px solid var(--s-red);
    border-radius: var(--s-radius);
    box-shadow: var(--s-shadow);
    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        transform 0.2s;
}

.s-station:hover,
.s-station:focus-within {
    border-color: var(--s-red);
    box-shadow: 0 14px 34px rgba(22, 25, 29, 0.14);
    transform: translateY(-4px);
}

.s-station__title {
    margin: 0 0 4px;
    font-size: 20px;
}

.s-station__address {
    margin: 0 0 12px;
    color: var(--s-muted);
}

.s-station__vehicles {
    margin: 0 0 14px;
    padding: 8px 12px;
    background: var(--s-surface);
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
}

.s-station .s-hours {
    margin-bottom: 14px;
    font-size: 15px;
}

.s-station .s-hours dt {
    color: var(--s-muted);
}

.s-station__contact {
    margin: 0 0 18px;
    list-style: none;
    font-size: 15px;
}

.s-station__contact li {
    margin-bottom: 4px;
    overflow-wrap: anywhere;
}

.s-station__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

/* Užšia tabuľka cien (3 stĺpce) a tabuľka s textom v bunkách (lehoty) */
.s-price-table--compact {
    min-width: 0;
}

.s-price-table__cat {
    display: block;
    color: var(--s-muted);
    font-size: 13px;
    font-weight: 400;
}

.s-price-table--text td {
    font-weight: 400;
    text-align: left;
    white-space: normal;
}

/* Mobil: lehoty pod sebou (popis stĺpca nad textom) */
@media (max-width: 639px) {
    .s-price-table--text tbody tr {
        grid-template-columns: 1fr;
    }

    .s-price-table--text td {
        flex-direction: column;
        gap: 2px;
    }

    .s-price-table--text td::before {
        font-size: 13px;
    }
}

@media (min-width: 640px) {
    .s-price-table--text {
        min-width: 640px;
    }
}

.s-price-card__more {
    margin: 14px 0;
    color: var(--s-muted);
    font-size: 15px;
}

.s-footnotes {
    margin: 16px 0 0;
    list-style: none;
    color: var(--s-muted);
    font-size: 14px;
}

.s-footnotes li + li {
    margin-top: 4px;
}

.s-note--spaced {
    margin-top: 20px;
}

.s-section--muted .s-note {
    background: var(--s-white);
}

/* Súhlas (checkbox) vo formulári pripomenutia STK */
.s-check {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 0 12px;
    align-items: start;
    margin: 0 0 20px;
    font-size: 15px;
}

.s-check input {
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: var(--s-red);
}

.s-check .s-field__error {
    grid-column: 2;
}

.s-note__list {
    margin: 0 0 12px;
    padding-left: 20px;
    font-size: 15px;
}

.s-note__list li + li {
    margin-top: 6px;
}

@media (min-width: 1024px) {
    .s-stations {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}

/* ===== Úvodná stránka ===== */

/* Promo bannery (administrácia) - prelínanie, šípky, bodky */
.s-promo {
    position: relative;
    overflow: hidden;
    background: var(--s-ink);
}

.s-promo__track {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.s-promo__slide {
    grid-area: 1 / 1;
    position: relative;
    /* Šírka pevne - inak by sa pri min-height dopočítala z pomeru strán */
    width: 100%;
    display: flex;
    align-items: center;
    min-height: 340px;
    aspect-ratio: 1920 / 700;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.8s ease,
        visibility 0s linear 0.8s;
}

.s-promo__slide.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease;
}

/* .site img nastavuje height: auto - preto vyššia špecificita */
.site .s-promo__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 50%;
}

/* Banner s textom v obrázku: na mobile celý obrázok, okolo rozmazaná kópia */
.s-promo__backdrop {
    display: none;
}

.s-promo__slide--image::before {
    display: none;
}

@media (max-width: 1023px) {
    .s-promo__backdrop {
        position: absolute;
        inset: -20px;
        display: block;
        background: center / cover no-repeat;
        filter: blur(16px) brightness(0.7);
    }

    .site .s-promo__slide--image .s-promo__img {
        object-fit: contain;
        object-position: 50% 50%;
    }
}

/* Jemné stmavenie zľava, aby bol text banneru čitateľný */
.s-promo__slide::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(15, 17, 20, 0.55) 0%, rgba(15, 17, 20, 0.15) 55%, rgba(15, 17, 20, 0) 100%);
    pointer-events: none;
}

.s-promo__link {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.s-promo__inner {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    padding-bottom: 64px;
}

.s-promo__inner--center {
    justify-content: center;
    text-align: center;
}

.s-promo__inner--end {
    justify-content: flex-end;
    text-align: right;
}

.s-promo__content {
    max-width: 560px;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.s-promo__title {
    margin: 0 0 10px;
    font-size: clamp(26px, 4.4vw, 46px);
    line-height: 1.1;
}

.s-promo__text {
    margin: 0 0 18px;
    font-size: clamp(16px, 1.6vw, 19px);
}

.s-promo__btn {
    text-shadow: none;
}

.s-promo__arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: none;
    width: 46px;
    height: 46px;
    margin-top: -40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: var(--s-ink);
    cursor: pointer;
    transition: background-color 0.15s;
}

.s-promo__arrow:hover {
    background: var(--s-white);
}

.s-promo__arrow svg {
    display: block;
    margin: auto;
}

.s-promo__arrow--prev {
    left: 16px;
}

.s-promo__arrow--next {
    right: 16px;
}

.s-promo__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    z-index: 4;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.s-promo__dot {
    width: 28px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition:
        background-color 0.2s,
        width 0.2s;
}

.s-promo__dot.is-active {
    width: 44px;
    background: var(--s-white);
}

/* Väčšia klikacia plocha bodiek */
.s-promo__dot::after {
    content: '';
    display: block;
    height: 24px;
    margin-top: -10px;
}

/* Úvodná karta s H1 a rýchlymi akciami */
.s-home-intro {
    position: relative;
    z-index: 5;
    padding: 24px 0 8px;
}

.s-home-intro--overlap .s-home-intro__card {
    margin-top: -40px;
}

.s-home-intro__card {
    display: grid;
    gap: 24px;
    padding: 24px 20px;
    background: var(--s-white);
    border: 1px solid var(--s-line);
    border-top: 4px solid var(--s-red);
    border-radius: var(--s-radius);
    box-shadow: 0 10px 40px rgba(22, 25, 29, 0.12);
}

.s-home-intro h1 {
    margin-bottom: 12px;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.15;
}

.s-home-intro__lead {
    margin: 0;
    color: var(--s-ink-2);
    font-size: 17px;
}

.s-quick {
    display: grid;
    gap: 10px;
    list-style: none;
}

@media (min-width: 480px) {
    .s-quick {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobil: karta vodorovne - fotka vľavo, text a šípka vpravo, bez ikony (.s-quick kvôli poradiu pravidiel) */
@media (max-width: 479px) {
    .s-quick .s-quick__item {
        flex-direction: row;
    }

    .s-quick .s-quick__media {
        flex: none;
        width: 104px;
        height: auto;
        min-height: 76px;
    }

    .s-quick .s-quick__badge {
        display: none;
    }

    .s-quick .s-quick__body {
        padding: 12px 14px;
    }

    .s-quick .s-quick__title {
        font-size: 16px;
    }

    .s-quick .s-quick__txt {
        font-size: 13px;
    }

    .s-quick .s-quick__arrow {
        display: block;
    }
}

.s-quick__item {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--s-white);
    border: 2px solid var(--s-line);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(22, 25, 29, 0.06);
    color: var(--s-ink);
    text-decoration: none;
    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        transform 0.2s;
}

.s-quick__item:hover {
    border-color: var(--s-red);
    box-shadow: 0 12px 26px rgba(22, 25, 29, 0.14);
    color: var(--s-ink);
    transform: translateY(-3px);
}

.s-quick__media {
    display: block;
    height: 84px;
    overflow: hidden;
}

.site .s-quick__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.s-quick__item:hover .s-quick__media img {
    transform: scale(1.06);
}

/* Riadok pod fotkou: ikona v krúžku, text, šípka */
.s-quick__body {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 10px;
    padding: 12px 10px;
}

.s-quick__badge {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(208, 20, 31, 0.1);
}

.s-quick__icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--s-red);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.s-quick__text {
    flex: 1;
    min-width: 0;
}

.s-quick__title {
    display: block;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.s-quick__txt {
    display: block;
    margin-top: 2px;
    color: var(--s-muted);
    font-size: 12px;
    line-height: 1.35;
}

.s-quick__arrow {
    display: none;
    flex: none;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--s-red);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.15s;
}

.s-quick__item:hover .s-quick__arrow {
    transform: translateX(3px);
}

/* Hlavná akcia - objednávka do servisu */
.s-quick__item--primary {
    background: var(--s-red);
    border-color: var(--s-red);
    box-shadow: 0 8px 20px rgba(208, 20, 31, 0.3);
    color: var(--s-white);
}

.s-quick__item--primary:hover {
    border-color: var(--s-red-dark);
    background: var(--s-red-dark);
    color: var(--s-white);
}

.s-quick__item--primary .s-quick__badge {
    background: rgba(255, 255, 255, 0.18);
}

.s-quick__item--primary .s-quick__icon,
.s-quick__item--primary .s-quick__arrow {
    stroke: var(--s-white);
}

.s-quick__item--primary .s-quick__txt {
    color: rgba(255, 255, 255, 0.85);
}

@media (min-width: 640px) {
    .s-quick__media {
        height: 100px;
    }

    .s-quick__body {
        gap: 12px;
        padding: 14px;
    }

    .s-quick__badge {
        width: 44px;
        height: 44px;
    }

    .s-quick__icon {
        width: 22px;
        height: 22px;
    }

    .s-quick__title {
        font-size: 16px;
    }

    .s-quick__txt {
        font-size: 14px;
    }

    .s-quick__arrow {
        display: block;
    }
}

/* Čísla */
.s-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
    list-style: none;
}

.s-facts__item {
    padding: 4px 0 4px 14px;
    border-left: 3px solid var(--s-red);
}

.s-facts__value {
    display: block;
    font-size: clamp(24px, 3.4vw, 34px);
    line-height: 1.1;
}

.s-facts__label {
    color: var(--s-muted);
    font-size: 14px;
}

/* O nás - história ako zvislá časová os */
.s-timeline {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.s-timeline::before {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 7px;
    width: 2px;
    background: #d5d9df;
}

.s-timeline li {
    position: relative;
    padding: 0 0 28px 40px;
}

.s-timeline li:last-child {
    padding-bottom: 0;
}

.s-timeline li::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 0;
    width: 16px;
    height: 16px;
    background: var(--s-white);
    border: 3px solid var(--s-red);
    border-radius: 50%;
}

.s-timeline__year {
    display: block;
    color: var(--s-red);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.s-timeline__title {
    margin: 2px 0 4px;
    font-size: 18px;
}

.s-timeline__txt {
    margin: 0;
    color: var(--s-ink-2);
}

/* O nás - karty certifikátov */
.s-certs {
    display: grid;
    gap: 16px;
    list-style: none;
}

.s-cert {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    padding: 22px 20px;
    background: var(--s-white);
    border: 1px solid var(--s-line);
    border-top: 3px solid var(--s-red);
    border-radius: var(--s-radius);
    box-shadow: var(--s-shadow);
}

.s-cert__icon {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: var(--s-red);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.s-cert__title {
    margin: 0;
    font-size: 18px;
}

.s-cert p {
    margin: 0;
    color: var(--s-ink-2);
}

.s-cert__link {
    margin-top: auto;
    padding-top: 4px;
    color: var(--s-red);
    font-weight: 700;
}

@media (min-width: 800px) {
    .s-certs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Stránka modelu Škoda - úvod s renderom auta vpravo */
.s-model-hero {
    padding: 32px 0 24px;
    background: linear-gradient(180deg, var(--s-surface), var(--s-white));
}

.s-model-hero__grid {
    display: grid;
    gap: 16px;
    align-items: center;
}

.s-model-hero h1 {
    margin-bottom: 4px;
    font-size: clamp(32px, 6vw, 52px);
}

.s-model-hero__type {
    margin-bottom: 12px;
    color: var(--s-muted);
    font-size: 18px;
    font-weight: 600;
}

.s-model-hero__price {
    margin: 16px 0 0;
    color: var(--s-ink-2);
}

.s-model-hero__price strong {
    color: var(--s-red);
    font-size: 22px;
}

.site .s-model-hero__media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(22, 25, 29, 0.16);
}

/* Dlaždice modelov Škoda */
.s-model-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
}

.s-model-tile {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    padding: 0 0 14px;
    background: var(--s-white);
    border: 1px solid var(--s-line);
    border-radius: var(--s-radius);
    color: var(--s-ink);
    text-decoration: none;
    transition:
        border-color 0.15s,
        box-shadow 0.15s,
        transform 0.15s;
}

.s-model-tile:hover {
    border-color: var(--s-red);
    box-shadow: var(--s-shadow);
    color: var(--s-ink);
    transform: translateY(-2px);
}

.s-model-tile__media {
    display: block;
    aspect-ratio: 16 / 10;
    margin-bottom: 10px;
    overflow: hidden;
    background: var(--s-surface);
}

.site .s-model-tile__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.s-model-tile:hover .s-model-tile__media img {
    transform: scale(1.05);
}

.s-model-tile__name,
.s-model-tile__type {
    padding: 0 14px;
}

.s-model-tile__name {
    font-weight: 700;
    line-height: 1.3;
}

.s-model-tile__type {
    color: var(--s-muted);
    font-size: 13px;
}

@media (min-width: 640px) {
    .s-model-tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .s-model-hero {
        padding: 48px 0 32px;
    }

    .s-model-hero__grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 32px;
    }
}

@media (min-width: 1024px) {
    .s-model-tiles {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* Hlavička sekcie s odkazom vpravo */
.s-section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 24px;
}

.s-section__head .s-section__title,
.s-section__head .s-section__intro {
    margin-bottom: 0;
}

.s-section__head .s-section__intro {
    margin-top: 6px;
}

/* Stránka 404 - dopravná značka s kódom chyby, nadpis a tlačidlá v strede */
.s-e404 {
    padding: 56px 0 72px;
    background: linear-gradient(180deg, var(--s-surface), var(--s-white));
    text-align: center;
}

.s-e404 h1 {
    margin: 8px 0 12px;
    font-size: clamp(26px, 5vw, 40px);
}

.s-e404__lead {
    max-width: 580px;
    margin: 0 auto;
    color: var(--s-ink-2);
    font-size: 18px;
}

.s-e404 .s-actions {
    justify-content: center;
}

.s-e404-sign {
    display: grid;
    place-items: center;
    width: clamp(170px, 40vw, 230px);
    aspect-ratio: 1;
    margin: 0 auto 24px;
    background: var(--s-white);
    border: clamp(18px, 4vw, 24px) solid var(--s-red);
    border-radius: 50%;
    box-shadow: 0 12px 30px rgba(22, 25, 29, 0.16);
    color: var(--s-ink);
    font-size: clamp(54px, 12vw, 76px);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.s-e404__help {
    margin: 24px 0 0;
    color: var(--s-ink-2);
}

.s-e404__help a {
    color: var(--s-red);
    font-weight: 700;
    white-space: nowrap;
}

/* Dlaždice služieb s fotkou */
.s-svc-grid {
    display: grid;
    gap: 16px;
    list-style: none;
}

.s-svc {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--s-white);
    border: 1px solid var(--s-line);
    border-radius: var(--s-radius);
    box-shadow: var(--s-shadow);
    color: var(--s-ink);
    text-decoration: none;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.s-svc:hover {
    color: var(--s-ink);
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(22, 25, 29, 0.14);
}

.s-svc__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--s-surface);
}

.site .s-svc__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.s-svc:hover .s-svc__media img {
    transform: scale(1.05);
}

.s-svc__body {
    display: block;
    padding: 16px 48px 18px 18px;
}

.s-svc__title {
    display: block;
    margin-bottom: 4px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.s-svc__txt {
    display: block;
    color: var(--s-muted);
    font-size: 14px;
    line-height: 1.45;
}

.s-svc__arrow {
    position: absolute;
    right: 16px;
    bottom: 18px;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--s-red);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s;
}

.s-svc:hover .s-svc__arrow {
    transform: translateX(4px);
}

/* Kompaktná mriežka (súvisiace služby) - na mobile fotka vľavo a text vpravo, aby 8 kariet nebolo príliš dlhých */
@media (max-width: 639px) {
    .s-svc-grid--compact {
        gap: 10px;
    }

    .s-svc-grid--compact .s-svc {
        flex-direction: row;
    }

    .s-svc-grid--compact .s-svc__media {
        flex: none;
        width: 104px;
        min-height: 80px;
        aspect-ratio: auto;
    }

    .s-svc-grid--compact .s-svc__body {
        align-self: center;
        padding: 12px 44px 12px 14px;
    }

    .s-svc-grid--compact .s-svc__title {
        font-size: 16px;
    }

    .s-svc-grid--compact .s-svc__txt {
        font-size: 13px;
    }

    .s-svc-grid--compact .s-svc__arrow {
        top: 50%;
        bottom: auto;
        margin-top: -11px;
    }
}

/* Pás autoservisu */
.s-home-repair {
    background: var(--s-ink) url('/img/carservice-skoda4.jpg') center / cover no-repeat;
    background-blend-mode: soft-light;
    color: #e6e8eb;
}

.s-home-repair .s-section__title {
    color: var(--s-white);
}

.s-home-repair .s-eyebrow {
    color: #ff8a8f;
}

.s-home-repair__grid {
    display: grid;
    gap: 28px;
    align-items: center;
}

.s-home-repair__txt {
    max-width: 560px;
    color: #c3c8ce;
}

.s-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
}

.s-chips + p {
    margin-top: 16px;
}

.s-chip {
    display: inline-block;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: var(--s-white);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background-color 0.15s,
        border-color 0.15s;
}

.s-chip:hover {
    background: var(--s-red);
    border-color: var(--s-red);
    color: var(--s-white);
}

.s-home-repair__all {
    display: inline-block;
    margin-top: 18px;
    color: var(--s-white);
    font-weight: 700;
}

.s-home-repair__all:hover {
    color: var(--s-white);
}

/* Vodorovný rad kariet (skladové vozidlá) */
.s-rail {
    position: relative;
}

/* position: relative - absolútne prvky v kartách (.s-sr-only) sa orežú v pásiku, inak rozťahujú stránku do strany */
.s-rail__track {
    position: relative;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 16px;
    margin: 0 calc(var(--s-gutter) * -1);
    padding: 4px var(--s-gutter) 16px;
    overflow-x: auto;
    list-style: none;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--s-gutter);
    scrollbar-width: thin;
}

.s-rail__btn {
    position: absolute;
    top: 38%;
    z-index: 2;
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--s-line);
    border-radius: 50%;
    background: var(--s-white);
    box-shadow: var(--s-shadow);
    color: var(--s-ink);
    cursor: pointer;
}

.s-rail__btn svg {
    display: block;
    margin: auto;
}

.s-rail__btn:disabled {
    opacity: 0;
    pointer-events: none;
}

.s-rail__btn--prev {
    left: -22px;
}

.s-rail__btn--next {
    right: -22px;
}

.s-car {
    scroll-snap-align: start;
}

.s-car__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 14px;
    background: var(--s-white);
    border: 1px solid var(--s-line);
    border-radius: var(--s-radius);
    color: var(--s-ink);
    text-decoration: none;
    transition:
        border-color 0.15s,
        box-shadow 0.15s;
}

.s-car__link:hover {
    border-color: #c9ced5;
    box-shadow: var(--s-shadow);
    color: var(--s-ink);
}

.s-car__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    margin-bottom: 12px;
}

.site .s-car__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.s-car__badges {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* Modelový rok tmavý, predvádzacie vozidlo len obrysové - červenú necháme pre zľavu */
.s-car__year,
.s-car__demo {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.s-car__year {
    background: var(--s-ink);
    color: var(--s-white);
    text-decoration: none;
    cursor: help;
}

.s-car__demo {
    border: 1px solid #c9ced5;
    background: var(--s-white);
    color: var(--s-ink-2);
}

/* Render auta má okolo veľa prázdneho miesta - zväčšíme ho */
.site .s-car__media img {
    transform: scale(1.3);
    transition: transform 0.3s;
}

.s-car__link:hover .s-car__media img {
    transform: scale(1.36);
}

.s-car__name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.s-car__trim {
    color: var(--s-ink-2);
    font-size: 15px;
    font-weight: 600;
}

.s-car__engine {
    margin: 6px 0 14px;
    color: var(--s-muted);
    font-size: 13px;
}

.s-car__price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: auto;
}

.s-car__save {
    margin-bottom: 8px;
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--s-red);
    color: var(--s-white);
    font-size: 13px;
    font-weight: 700;
}

.s-car__price-label {
    color: var(--s-muted);
    font-size: 12px;
}

.s-car__price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 10px;
}

.s-car__price strong {
    color: var(--s-ink);
    font-size: 22px;
    line-height: 1.2;
}

.s-car__price del {
    color: var(--s-muted);
    font-size: 14px;
}

.s-car__cta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--s-line);
    color: var(--s-red);
    font-size: 14px;
    font-weight: 700;
}

.s-car__cta svg,
.s-car__all-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.15s;
}

.s-car__link:hover .s-car__cta svg {
    transform: translateX(3px);
}

/* Posledná karta pásu - odkaz na celú skladovú ponuku */
.s-car__link--all {
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px dashed #c9ced5;
    background: transparent;
    text-align: center;
}

.s-car__link--all:hover {
    border-color: var(--s-red);
    background: var(--s-white);
}

.s-car__all-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 4px;
    border-radius: 50%;
    background: var(--s-red);
    color: var(--s-white);
}

.s-car__all-icon svg {
    width: 24px;
    height: 24px;
}

.s-car__link--all:hover .s-car__all-icon svg {
    transform: translateX(3px);
}

.s-car__all-title {
    font-size: 18px;
    font-weight: 700;
}

.s-car__all-txt {
    max-width: 220px;
    color: var(--s-muted);
    font-size: 14px;
}

/* Jazdené vozidlá: skutočná fotka namiesto renderu - na celú šírku karty, orezaná */
.s-car--photo .s-car__link {
    padding-top: 0;
    overflow: hidden;
}

.s-car--photo .s-car__media {
    aspect-ratio: 4 / 3;
    margin: 0 -14px 14px;
    background: var(--s-surface);
}

.site .s-car--photo .s-car__media img {
    object-fit: cover;
    transform: none;
}

.s-car--photo .s-car__link:hover .s-car__media img {
    transform: scale(1.04);
}

.s-car--photo .s-car__badges {
    top: 12px;
    left: 14px;
}

/* Elektromobil / plug-in hybrid */
.s-car__fuel {
    padding: 3px 8px;
    border-radius: 4px;
    background: #e3f1dd;
    color: #2d6a1f;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

/* Skladové vozidlá (/predaj-aut-skoda): panel filtrov vľavo (na mobile rozbaľovací), radenie a mriežka kariet */
.s-stock-layout {
    display: grid;
    gap: 24px;
    align-items: start;
}

.s-stock-filters[hidden],
.s-stock-tools[hidden] {
    display: none;
}

/* Mobil: panel je zbalený, tlačidlo „Filtre“ ho otvorí cez celú obrazovku */
.s-stock-filters {
    display: none;
    padding: 20px;
    background: var(--s-white);
    border: 1px solid var(--s-line);
    border-radius: var(--s-radius);
}

.s-stock-filters.is-open {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: block;
    overflow-y: auto;
    padding-bottom: 0;
    border: 0;
    border-radius: 0;
}

.s-no-scroll,
.s-no-scroll body {
    overflow: hidden;
}

.s-stock-filters__close {
    order: 1;
    padding: 4px;
    border: 0;
    background: none;
    color: var(--s-ink);
    cursor: pointer;
}

.s-stock-filters__close svg {
    display: block;
}

/* Tlačidlo „Zobraziť X vozidiel“ ostáva dole na obrazovke */
.s-stock-filters__foot {
    position: sticky;
    bottom: 0;
    margin: 0 -20px;
    padding: 12px 20px 16px;
    background: var(--s-white);
    border-top: 1px solid var(--s-line);
}

.s-stock-filters__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.s-stock-filters__title {
    margin: 0;
    font-size: 20px;
}

.s-stock-filters__reset {
    margin-left: auto;
    padding: 4px 0;
    border: 0;
    background: none;
    color: var(--s-red);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.s-stock-filters__reset:hover {
    text-decoration: underline;
}

.s-stock-filters__group {
    margin: 0;
    padding: 16px 0;
    border: 0;
    border-top: 1px solid var(--s-line);
}

.s-stock-filters__group legend {
    float: left;
    width: 100%;
    margin-bottom: 8px;
    padding: 0;
    font-size: 15px;
    font-weight: 700;
}

.s-stock-tools__sort select {
    width: 100%;
    min-height: 40px;
    padding: 6px 10px;
    border: 1px solid #c9ced5;
    border-radius: 8px;
    background: var(--s-white);
    color: var(--s-ink);
    font: inherit;
    font-size: 15px;
}

.s-check-option {
    clear: both;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    font-size: 15px;
    cursor: pointer;
}

.s-check-option input {
    flex: none;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--s-red);
    cursor: pointer;
}

.s-check-option__label {
    flex: 1;
}

.s-check-option__count {
    color: var(--s-muted);
    font-size: 13px;
}

/* Dlhé skupiny: ďalšie možnosti skryté, zaškrtnuté ostanú viditeľné */
.s-check-option--extra {
    display: none;
}

.s-stock-filters__group.is-expanded .s-check-option--extra,
.s-check-option--extra:has(input:checked) {
    display: flex;
}

.s-stock-filters__more {
    clear: both;
    display: block;
    margin-top: 4px;
    padding: 4px 0;
    border: 0;
    background: none;
    color: var(--s-red);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.s-stock-filters__more:hover {
    text-decoration: underline;
}

/* Posuvník ceny s dvoma bodmi: dva input range nad sebou, červený úsek medzi --from a --to (0 – 1, nastavuje site.js) */
.s-range__values {
    clear: both;
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
}

.s-range {
    --from: 0;
    --to: 1;
    position: relative;
    height: 28px;
}

.s-range::before,
.s-range::after {
    content: '';
    position: absolute;
    top: 12px;
    height: 4px;
    border-radius: 2px;
}

.s-range::before {
    right: 10px;
    left: 10px;
    background: var(--s-line);
}

.s-range::after {
    left: calc(10px + (100% - 20px) * var(--from));
    right: calc(10px + (100% - 20px) * (1 - var(--to)));
    background: var(--s-red);
}

.s-range input {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 28px;
    margin: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.s-range input::-webkit-slider-runnable-track {
    background: none;
}

.s-range input::-moz-range-track {
    background: none;
}

.s-range input::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    border: 3px solid var(--s-red);
    border-radius: 50%;
    background: var(--s-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    pointer-events: auto;
    -webkit-appearance: none;
}

.s-range input::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: 3px solid var(--s-red);
    border-radius: 50%;
    background: var(--s-white);
    cursor: pointer;
    pointer-events: auto;
}

.s-range input:focus-visible::-webkit-slider-thumb {
    outline: 2px solid var(--s-ink);
    outline-offset: 2px;
}

/* Vybrané filtre nad vozidlami */
.s-stock-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-bottom: 20px;
}

.s-stock-chips[hidden] {
    display: none;
}

.s-stock-chips__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.s-stock-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 4px 10px 4px 14px;
    border: 1px solid var(--s-ink);
    border-radius: 999px;
    background: var(--s-white);
    color: var(--s-ink);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.s-stock-chip::after {
    content: '×';
    color: var(--s-red);
    font-size: 18px;
    line-height: 1;
}

.s-stock-chip:hover {
    border-color: var(--s-red);
}

.s-stock-chips .s-stock-filters__reset {
    margin-left: 0;
}

/* Možnosť bez vozidiel pri aktuálnom výbere */
.s-check-option:has(input:disabled) {
    opacity: 0.45;
    cursor: default;
}

.s-stock-filters__show {
    width: 100%;
}

.s-stock-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin-bottom: 20px;
}

.s-stock-tools__count {
    margin: 0 auto 0 0;
    font-weight: 700;
}

.s-stock-tools__toggle {
    min-height: 40px;
    padding: 6px 16px;
    font-size: 15px;
}

.s-stock-tools__sort {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--s-muted);
    font-size: 14px;
}

.s-stock-tools__sort select {
    width: auto;
}

.s-filter__count {
    min-width: 22px;
    padding: 1px 6px;
    border-radius: 999px;
    background: var(--s-red);
    color: var(--s-white);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.s-filter__count[hidden] {
    display: none;
}

.s-stock-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    list-style: none;
}

.s-stock-grid .s-car[hidden] {
    display: none;
}

@media (min-width: 600px) {
    .s-stock-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Počítač: panel vždy viditeľný vľavo a pri scrollovaní ostáva na mieste */
@media (min-width: 1024px) {
    .s-stock-layout {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 32px;
    }

    .s-stock-filters,
    .s-stock-filters.is-open {
        display: block;
        inset: auto;
        z-index: auto;
        padding-bottom: 20px;
        border: 1px solid var(--s-line);
        border-radius: var(--s-radius);
        position: sticky;
        top: 88px;
        max-height: calc(100vh - 104px);
        overflow-y: auto;
    }

    .s-stock-tools__toggle,
    .s-stock-filters__close,
    .s-stock-filters__foot {
        display: none;
    }
}

@media (min-width: 1200px) {
    .s-stock-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Detail skladového vozidla: galéria vľavo, súhrn s cenou vpravo, výbava a technické údaje */
.s-detail {
    display: grid;
    grid-template-areas: 'gallery' 'summary' 'params';
    gap: 24px;
    align-items: start;
}

.s-gallery-viewer {
    grid-area: gallery;
}

.s-detail__summary {
    grid-area: summary;
}

.s-detail__params {
    grid-area: params;
}

.s-gallery-viewer__main {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--s-surface);
    border-radius: var(--s-radius);
}

.site .s-gallery-viewer__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s-gallery-viewer__nav {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    border: 1px solid var(--s-line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--s-shadow);
    color: var(--s-ink);
    cursor: pointer;
}

.s-gallery-viewer__nav svg {
    display: block;
    margin: auto;
}

.s-gallery-viewer__nav--prev {
    left: 12px;
}

.s-gallery-viewer__nav--next {
    right: 12px;
}

.s-gallery-viewer__thumbs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
    list-style: none;
}

.s-gallery-viewer__thumb {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 2px solid transparent;
    border-radius: 6px;
    background: var(--s-surface);
    cursor: pointer;
}

.s-gallery-viewer__thumb.is-active {
    border-color: var(--s-red);
}

.site .s-gallery-viewer__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s-detail__summary {
    padding: 24px;
    background: var(--s-white);
    border: 1px solid var(--s-line);
    border-radius: var(--s-radius);
    box-shadow: var(--s-shadow);
}

.s-detail__badges {
    position: static;
    margin-bottom: 12px;
}

.s-detail__title {
    margin: 0;
    font-size: clamp(26px, 3vw, 32px);
    line-height: 1.15;
}

.s-detail__trim {
    display: block;
    margin-top: 4px;
    color: var(--s-ink-2);
    font-size: 18px;
    font-weight: 600;
}

.s-detail__engine {
    margin: 8px 0 16px;
    color: var(--s-muted);
}

.s-detail__price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
    border-top: 1px solid var(--s-line);
}

.s-detail__price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 12px;
}

.s-detail__price-row strong {
    font-size: 32px;
    line-height: 1.2;
}

.s-detail__price-row del {
    color: var(--s-muted);
}

.s-detail__actions {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

/* Parametre vozidla s ikonami (pod galériou) */
.s-detail__params {
    padding: 20px;
    background: var(--s-white);
    border: 1px solid var(--s-line);
    border-radius: var(--s-radius);
}

.s-detail__params-title {
    margin: 0 0 16px;
    font-size: 18px;
}

.s-detail__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
}

.s-detail__fact {
    position: relative;
    min-height: 40px;
    padding-left: 52px;
}

.s-detail__fact dt {
    color: var(--s-muted);
    font-size: 13px;
}

.s-detail__fact dd {
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
}

.s-detail__fact-icon {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fbe9ea;
    color: var(--s-red);
}

.s-detail__fact-svg,
.s-detail__btn-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.s-detail__btn-icon {
    width: 18px;
    height: 18px;
}

/* Zavolať / Napísať vedľa seba */
.s-detail__contact-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.s-detail__contact-btns .s-btn {
    min-height: 44px;
    padding: 8px 12px;
    font-size: 15px;
}

.s-detail__ids {
    margin: 16px 0 0;
    color: var(--s-muted);
    font-size: 12px;
    overflow-wrap: anywhere;
}

/* Výbava: skupiny ako FAQ, položky v dvoch stĺpcoch */
.s-equipment__count {
    margin-left: 8px;
    color: var(--s-muted);
    font-size: 13px;
    font-weight: 600;
}

.s-equipment__list {
    margin: 0;
    padding: 0 20px 14px;
    list-style: none;
    column-gap: 32px;
}

/* Novinové stĺpce: položky plynú zhora nadol, dlhá položka nevytvorí prázdny riadok v susednom stĺpci */
.s-equipment__list li {
    position: relative;
    margin-bottom: 6px;
    padding-left: 16px;
    color: var(--s-ink-2);
    break-inside: avoid;
}

.s-equipment__list li::before {
    content: '';
    position: absolute;
    top: 0.6em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--s-red);
}

/* Technické údaje: jeden blok, skupiny plynú v stĺpcoch po riadkoch (stĺpce vyjdú rovnako dlhé) */
.s-specs {
    padding: 8px 24px 16px;
    background: var(--s-white);
    border: 1px solid var(--s-line);
    border-radius: var(--s-radius);
    column-gap: 48px;
}

.s-specs__group {
    padding-top: 16px;
}

.s-specs__title {
    margin: 0 0 4px;
    font-size: 17px;
    break-after: avoid;
}

.s-specs__group dl {
    margin: 0;
}

.s-specs__group dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 7px 0;
    border-top: 1px solid var(--s-line);
    font-size: 14px;
    break-inside: avoid;
}

.s-specs__group dt {
    color: var(--s-muted);
}

.s-specs__group dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .s-equipment__list {
        column-count: 2;
    }

    .s-specs {
        column-count: 2;
    }
}

@media (min-width: 1024px) {
    .s-detail {
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
        grid-template-areas: 'gallery summary' 'params summary';
        grid-template-rows: auto 1fr;
        gap: 24px 32px;
    }

    .s-detail__facts {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .s-detail__summary {
        position: sticky;
        top: 88px;
    }
}

/* Kontakt: rýchle kontakty, adresa s mapou, hodnotenie, otváracie hodiny */
.s-contact-quick {
    display: grid;
    gap: 16px;
    list-style: none;
}

.s-contact-quick__item {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: var(--s-white);
    border: 1px solid var(--s-line);
    border-top: 3px solid var(--s-ink);
    border-radius: var(--s-radius);
}

.s-contact-quick__item--accent {
    border-top-color: var(--s-red);
}

.s-contact-quick__title {
    margin: 0;
    font-size: 18px;
}

.s-contact-quick__txt {
    margin: 4px 0 12px;
    color: var(--s-muted);
    font-size: 14px;
}

.s-contact-quick__phone {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.s-contact-quick__phone a,
.s-contact-quick__item--accent .s-contact-quick__phone a {
    color: var(--s-ink);
    text-decoration: none;
}

.s-contact-quick__item--accent .s-contact-quick__phone a {
    color: var(--s-red);
}

.s-contact-quick__email {
    margin: 4px 0 0;
    font-size: 15px;
}

.s-contact-quick__more {
    margin-top: auto;
    padding-top: 14px;
    font-size: 14px;
    font-weight: 700;
}

.s-contact-address__lines {
    margin: 0 0 16px;
    line-height: 1.6;
}

.s-contact-address__map {
    display: block;
    width: 100%;
    height: 240px;
    margin-bottom: 14px;
    border: 0;
    border-radius: 8px;
    background: var(--s-surface);
}

.s-contact-address__btn {
    width: 100%;
}

/* Widget car-advisor.sk v pôvodnom formáte (farba #f23827 a texty ako na pôvodnej stránke). Celý blok je odkaz */
.s-caradvisor {
    position: relative;
    margin-top: 24px;
    text-align: center;
}

/* Widget ako biela karta (banner na stránke Kontakt) */
.s-caradvisor--card {
    margin: 0;
    padding: 8px 0 4px;
    background: var(--s-white);
    border-radius: var(--s-radius);
    box-shadow: var(--s-shadow);
}

.s-caradvisor--card .s-caradvisor__row {
    border-bottom: 0;
}

.s-caradvisor__header {
    padding: 12px 16px;
}

.s-caradvisor__title {
    font-size: 32px;
    line-height: 1.25;
    text-decoration: none;
}

.s-caradvisor__title::after {
    content: '';
    position: absolute;
    inset: 0;
}

.s-caradvisor__title strong {
    color: #f23827;
}

.s-caradvisor__title span {
    color: #000;
    font-weight: 400;
}

.s-caradvisor__subtitle {
    font-size: 13px;
    text-transform: uppercase;
}

.s-caradvisor__text {
    color: var(--s-muted);
    font-size: 13px;
}

.s-caradvisor__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px;
    border-top: 1px solid #d2d2d2;
    border-bottom: 1px solid #d2d2d2;
}

.s-caradvisor__icons {
    display: inline-flex;
    color: #f23827;
}

.s-caradvisor__icons svg {
    fill: currentColor;
}

.s-caradvisor__row strong {
    margin-right: 8px;
}

.s-hours-grid {
    display: grid;
    gap: 16px;
}

@media (min-width: 600px) {
    .s-hours-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .s-hours-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.s-hours-card {
    padding: 20px;
    background: var(--s-white);
    border: 1px solid var(--s-line);
    border-radius: var(--s-radius);
}

.s-hours-card__title {
    margin: 0 0 12px;
    font-size: 17px;
}

.s-hours-card .s-hours dt {
    color: var(--s-muted);
    white-space: nowrap;
}

.s-hours-card .s-hours dd {
    font-weight: 600;
    white-space: nowrap;
}

.s-contact-table th,
.s-contact-table td {
    text-align: left;
}

.s-hours-note {
    margin: 16px 0 0;
    color: var(--s-ink-2);
}

@media (min-width: 600px) {
    .s-contact-quick {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .s-contact-quick {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Kariéra: kompaktné karty voľných pozícií vedľa seba, podrobnosti sa rozbalia */
.s-jobs {
    display: grid;
    gap: 20px;
    align-items: start;
}

/* Fotky rôznych rozmerov - pevný pomer strán, nech sú karty rovnako vysoké */
.s-job__media {
    flex: none;
    overflow: hidden;
}

.s-job {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--s-white);
    border: 1px solid var(--s-line);
    border-radius: var(--s-radius);
    box-shadow: var(--s-shadow);
}

.s-job__media {
    height: 0;
    padding-top: 56.25%;
    position: relative;
    background: var(--s-surface);
}

.site .s-job__media img {
    position: absolute;
    inset: 0;
}

.site .s-job__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s-job__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.s-job__title {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.25;
}

.s-job__facts {
    display: grid;
    gap: 10px;
    margin: 0 0 16px;
}

.s-job__facts dt {
    color: var(--s-muted);
    font-size: 13px;
}

.s-job__facts dd {
    margin: 0;
    font-weight: 600;
}

.s-job__fact--salary dd {
    color: var(--s-red);
    font-size: 18px;
    font-weight: 700;
}

.s-job__more {
    margin-bottom: 16px;
    border-top: 1px solid var(--s-line);
}

.s-job__more summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0 0;
    color: var(--s-red);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.s-job__more summary::-webkit-details-marker {
    display: none;
}

.s-job__more summary::after {
    content: '';
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s;
}

.s-job__more[open] summary::after {
    transform: rotate(-135deg) translateY(-2px);
}

.s-job__facts--more {
    margin-top: 14px;
}

.s-job__subtitle {
    margin: 16px 0 8px;
    font-size: 15px;
}

.s-job__duties {
    gap: 6px;
    font-size: 15px;
}

.s-job__skills {
    margin: 0;
    color: var(--s-ink-2);
    font-size: 15px;
}

.s-job__cta {
    width: 100%;
    margin-top: auto;
}

.s-job__gdpr {
    max-width: 760px;
    margin: 24px 0 0;
    color: #9aa1aa;
    font-size: 13px;
}

@media (min-width: 600px) {
    .s-jobs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .s-jobs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Znalecká činnosť: odbory ako svetlé štítky, karty služieb */
.s-chips--light .s-chip {
    background: var(--s-surface);
    border-color: var(--s-line);
    color: var(--s-ink);
}

.s-chips--light .s-chip:hover {
    background: var(--s-surface);
    border-color: var(--s-line);
    color: var(--s-ink);
}

.s-expert-grid {
    display: grid;
    gap: 16px;
}

.s-expert-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--s-white);
    border: 1px solid var(--s-line);
    border-radius: var(--s-radius);
}

.s-expert-card__media {
    position: relative;
    flex: none;
    height: 0;
    padding-top: 42%;
    overflow: hidden;
    background: var(--s-surface);
}

.site .s-expert-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s-expert-card__body {
    padding: 24px;
}

.s-expert-card__title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    font-size: 19px;
    line-height: 1.25;
}

.s-expert-card__title .s-detail__fact-icon {
    position: static;
    flex: none;
}

.s-expert-card__list {
    gap: 8px;
    font-size: 15px;
}

@media (min-width: 768px) {
    .s-expert-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .s-expert-card--wide {
        grid-column: 1 / -1;
    }

    /* Široká karta: fotka vľavo, text vpravo */
    .s-expert-card--wide {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    }

    .s-expert-card--wide .s-expert-card__media {
        height: auto;
        padding-top: 0;
    }

    .s-expert-card--wide .s-expert-card__list {
        display: block;
        column-count: 2;
        column-gap: 32px;
    }

    .s-expert-card--wide .s-expert-card__list li {
        margin-bottom: 8px;
        break-inside: avoid;
    }
}

/* Kontrola originality */
.s-ko__text {
    color: var(--s-ink-2);
}

.s-ko__badge {
    display: block;
    margin-top: 8px;
}

.s-ko__docs {
    display: grid;
    gap: 6px;
    font-size: 15px;
}

.s-ko__docs li {
    margin: 0;
}

/* Výsledok kontroly: tri hodnotenia s farebným pruhom */
.s-ko-results {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.s-ko-result {
    --s-ko-color: #1a7f37;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 18px;
    background: var(--s-white);
    border: 1px solid var(--s-line);
    border-left: 4px solid var(--s-ko-color);
    border-radius: var(--s-radius);
}

.s-ko-result--warn {
    --s-ko-color: #c27803;
}

.s-ko-result--bad {
    --s-ko-color: var(--s-red);
}

.s-ko-result__icon {
    flex: none;
    width: 40px;
    height: 40px;
    padding: 9px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--s-ko-color) 12%, transparent);
    color: var(--s-ko-color);
}

.s-ko-result__icon svg {
    display: block;
    width: 22px;
    height: 22px;
}

.s-ko-result__title {
    display: block;
    margin-bottom: 2px;
    color: var(--s-ko-color);
    font-size: 17px;
}

.s-ko-result__txt {
    color: var(--s-ink-2);
    font-size: 15px;
}

/* Kto potrebuje: karty s fotkou */
.s-ko-cases {
    display: grid;
    gap: 16px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.s-ko-case {
    overflow: hidden;
    background: var(--s-white);
    border: 1px solid var(--s-line);
    border-radius: var(--s-radius);
}

.s-ko-case__media {
    position: relative;
    height: 0;
    padding-top: 60%;
    overflow: hidden;
    background: var(--s-surface);
}

.site .s-ko-case__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s-ko-case__body {
    padding: 20px;
}

.s-ko-case__title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.25;
}

.s-ko-case__title .s-detail__fact-icon {
    position: static;
    flex: none;
}

.s-ko-case__txt {
    margin: 0;
    color: var(--s-ink-2);
    font-size: 15px;
}

.s-ko-more__title {
    margin: 0 0 16px;
    font-size: 19px;
}

/* Popis pod názvom kroku */
.s-steps__txt {
    display: block;
    margin-top: 6px;
    color: inherit;
    font-size: 15px;
    font-weight: 400;
    opacity: 0.75;
}

/* Odkaz preberá farbu kroku, aby sa objavil spolu s textom */
.s-steps__txt a {
    color: inherit;
}

@media (min-width: 640px) {
    .s-ko-cases {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .s-ko-cases {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Náhradné vozidlo a pick-up servis */
.s-mob__split {
    align-items: center;
}

.s-mob__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: var(--s-radius);
}

@media (min-width: 1024px) {
    .s-mob__media--first {
        order: -1;
    }
}

.s-mob-options {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.s-mob-option {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 18px;
    background: var(--s-white);
    border: 1px solid var(--s-line);
    border-radius: var(--s-radius);
}

.s-mob-option__icon {
    flex: none;
    width: 40px;
    height: 40px;
    padding: 9px;
    border-radius: 50%;
    background: rgba(208, 20, 31, 0.08);
    color: var(--s-red);
}

.s-mob-option__icon svg {
    display: block;
    width: 22px;
    height: 22px;
}

.s-mob-option__title {
    display: block;
    margin-bottom: 2px;
    font-size: 17px;
}

.s-mob-option__txt {
    color: var(--s-ink-2);
    font-size: 15px;
}

/* Prihlásenie do administrácie (layouts/auth) */
.s-auth {
    display: grid;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--s-surface);
}

.s-auth__brand {
    display: none;
}

.s-auth__panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 32px var(--s-gutter);
}

.s-auth__box {
    width: 100%;
    max-width: 420px;
    padding: 32px 24px;
    background: var(--s-white);
    border: 1px solid var(--s-line);
    border-top: 4px solid var(--s-red);
    border-radius: var(--s-radius);
    box-shadow: var(--s-shadow);
}

.s-auth__logo {
    display: inline-block;
    margin-bottom: 24px;
}

.site .s-auth__logo img {
    width: 170px;
    height: auto;
}

.s-auth__title {
    margin: 0 0 20px;
    font-size: 24px;
    line-height: 1.25;
}

.s-auth__intro {
    margin: -8px 0 20px;
    color: var(--s-ink-2);
    font-size: 15px;
}

.s-auth .s-alert {
    margin-bottom: 20px;
}

.s-auth__label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.s-auth__label-row a,
.s-auth__alt a {
    color: var(--s-red);
    font-size: 14px;
}

/* Heslo s tlačidlom zobraziť/skryť */
.s-auth__password {
    position: relative;
}

.s-field .s-auth__password input {
    padding-right: 52px;
}

.s-auth__reveal {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--s-muted);
    cursor: pointer;
}

.s-auth__reveal[hidden] {
    display: none;
}

.s-auth__reveal svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.s-auth__reveal[aria-pressed='true'] {
    color: var(--s-red);
}

.s-auth__check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 24px;
    font-size: 15px;
    cursor: pointer;
}

.s-auth__check input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--s-red);
}

.s-auth__submit {
    width: 100%;
    justify-content: center;
}

.s-auth__alt {
    margin: 20px 0 0;
    text-align: center;
}

.s-auth__back {
    color: var(--s-muted);
    font-size: 14px;
    text-decoration: none;
}

.s-auth__back:hover {
    color: var(--s-red);
}

@media (min-width: 960px) {
    .s-auth {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    }

    /* Fotka s tmavým prechodom a textom dole */
    .s-auth__brand {
        position: relative;
        display: flex;
        align-items: flex-end;
        overflow: hidden;
        background: var(--s-ink);
        color: var(--s-white);
    }

    .site .s-auth__photo {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
        opacity: 0.55;
    }

    .s-auth__brand::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(22, 25, 29, 0) 40%, rgba(22, 25, 29, 0.9) 100%);
    }

    .s-auth__brand-text {
        position: relative;
        z-index: 1;
        max-width: 440px;
        padding: 48px;
        color: #d5d9de;
    }

    .s-auth__brand-title {
        margin: 0 0 8px;
        color: var(--s-white);
        font-size: 30px;
        font-weight: 800;
        line-height: 1.2;
    }

    .s-auth__box {
        padding: 40px;
    }
}

/* Novinky */
.s-news-grid {
    display: grid;
    gap: 16px;
    list-style: none;
}

.s-news {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--s-white);
    border: 1px solid var(--s-line);
    border-radius: var(--s-radius);
    color: var(--s-ink);
    text-decoration: none;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.s-news:hover {
    color: var(--s-ink);
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(22, 25, 29, 0.12);
}

.s-news__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.site .s-news__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s-news__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px 20px;
}

.s-news__date {
    color: var(--s-red);
    font-size: 13px;
    font-weight: 700;
}

.s-news__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.s-news__txt {
    color: var(--s-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* Skončená akcia - sivá fotka so štítkom */
.s-news__media {
    position: relative;
}

.s-news--expired .s-news__media img {
    filter: grayscale(1);
    opacity: 0.6;
}

.s-news__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--s-ink);
    color: var(--s-white);
    font-size: 12px;
    font-weight: 700;
}

/* /novinky: zvýraznená najnovšia novinka a stránkovanie */
.s-news-featured {
    display: grid;
    overflow: hidden;
    margin-bottom: 24px;
    background: var(--s-white);
    border: 1px solid var(--s-line);
    border-radius: var(--s-radius);
    color: var(--s-ink);
    text-decoration: none;
    transition: box-shadow 0.2s;
}

.s-news-featured:hover {
    box-shadow: 0 14px 34px rgba(22, 25, 29, 0.12);
    color: var(--s-ink);
}

.s-news-featured__media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--s-surface);
}

.site .s-news-featured__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s-news-featured__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 24px;
}

.s-news-featured__title {
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 700;
    line-height: 1.2;
}

.s-news-featured__txt {
    color: var(--s-ink-2);
}

.s-news-featured__more {
    color: var(--s-red);
    font-weight: 700;
}

.s-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.s-pagination__page,
.s-pagination__arrow {
    display: grid;
    place-items: center;
    min-width: 44px;
    height: 44px;
    padding: 0 10px;
    border: 1px solid #c9ced5;
    border-radius: 8px;
    background: var(--s-white);
    color: var(--s-ink);
    font-weight: 700;
    text-decoration: none;
}

.s-pagination__page:hover,
.s-pagination__arrow:hover {
    border-color: var(--s-ink);
    color: var(--s-ink);
}

.s-pagination__page.is-current {
    border-color: var(--s-red);
    background: var(--s-red);
    color: var(--s-white);
}

.s-pagination__arrow.is-disabled {
    opacity: 0.4;
}

@media (min-width: 900px) {
    .s-news-featured {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    }

    .s-news-featured__media {
        aspect-ratio: auto;
        min-height: 320px;
    }

    .s-news-featured__body {
        padding: 32px;
    }
}

/* Detail novinky */
.s-article-wrap {
    max-width: 960px;
}

.s-article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--s-red);
    font-size: 14px;
    font-weight: 700;
}

.s-article__badge {
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--s-ink);
    color: var(--s-white);
    font-size: 12px;
}

.s-article__title {
    margin: 0 0 24px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
}

.s-article__back {
    display: inline-block;
    margin-top: 32px;
    font-weight: 700;
}

/* Telo článku z administrácie: typografia a podpora starých tried (Bootstrap 3 mriežka, tabuľky, tlačidlá, pomocné triedy) */
.s-article {
    color: var(--s-ink-2);
    font-size: 17px;
    line-height: 1.65;
    overflow-wrap: break-word;
}

.s-article::after {
    content: '';
    display: table;
    clear: both;
}

.s-article h1,
.s-article h2,
.s-article h3,
.s-article h4 {
    margin: 1.4em 0 0.5em;
    color: var(--s-ink);
    line-height: 1.25;
}

.s-article h1 {
    margin-top: 0;
    font-size: clamp(28px, 4vw, 40px);
}

.s-article h2 {
    font-size: clamp(22px, 3vw, 28px);
}

.s-article h3 {
    font-size: 20px;
}

.s-article h4 {
    font-size: 17px;
}

.s-article p,
.s-article ul,
.s-article ol,
.s-article table {
    margin: 0 0 1em;
}

.s-article ul,
.s-article ol {
    padding-left: 1.4em;
}

.s-article li {
    margin-bottom: 0.3em;
}

.s-article img,
.s-article video,
.s-article iframe {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.s-article strong,
.s-article .strongDark {
    color: var(--s-ink);
    font-weight: 700;
}

.s-article .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.s-article [class*='col-'] {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 12px;
}

@media (min-width: 768px) {
    .s-article .col-sm-4 {
        flex-basis: 33.333%;
        max-width: 33.333%;
    }
    .s-article .col-sm-12 {
        flex-basis: 100%;
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .s-article .col-md-3 {
        flex-basis: 25%;
        max-width: 25%;
    }
    .s-article .col-md-4 {
        flex-basis: 33.333%;
        max-width: 33.333%;
    }
    .s-article .col-md-5 {
        flex-basis: 41.667%;
        max-width: 41.667%;
    }
    .s-article .col-md-6 {
        flex-basis: 50%;
        max-width: 50%;
    }
    .s-article .col-md-7 {
        flex-basis: 58.333%;
        max-width: 58.333%;
    }
    .s-article .col-md-8 {
        flex-basis: 66.667%;
        max-width: 66.667%;
    }
    .s-article .col-md-10 {
        flex-basis: 83.333%;
        max-width: 83.333%;
    }
    .s-article .col-md-12 {
        flex-basis: 100%;
        max-width: 100%;
    }
    .s-article .col-md-offset-1 {
        margin-left: 8.333%;
    }
    .s-article .col-md-offset-2 {
        margin-left: 16.667%;
    }
}

.s-article .text-center {
    text-align: center;
}
.s-article .center-block {
    display: block;
    margin-right: auto;
    margin-left: auto;
}
.s-article .img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}
.s-article .d-inline-block {
    display: inline-block;
}
.s-article .font-italic {
    font-style: italic;
}
.s-article .vertalg-mid {
    vertical-align: middle;
}
.s-article .color-red {
    color: var(--s-red);
}
.s-article .color-skoda {
    color: #4ba82e;
}
.s-article .color-white {
    color: var(--s-white);
}
.s-article .subheading {
    color: var(--s-ink);
    font-size: 20px;
}
.s-article .silent-label {
    color: #999;
    font-weight: 600;
    letter-spacing: 2px;
}
.s-article .margin-0 {
    margin: 0;
}
.s-article .margin-t0 {
    margin-top: 0;
}
.s-article .margin-t15 {
    margin-top: 15px;
}
.s-article .margin-t20 {
    margin-top: 20px;
}
.s-article .margin-t40 {
    margin-top: 40px;
}
.s-article .margin-t50 {
    margin-top: 50px;
}
.s-article .margin-t60 {
    margin-top: 60px;
}
.s-article .margin-t100 {
    margin-top: 60px;
}
.s-article .margin-b5 {
    margin-bottom: 5px;
}
.s-article .margin-b20 {
    margin-bottom: 20px;
}
.s-article .margin-b30 {
    margin-bottom: 30px;
}
.s-article .margin-b50 {
    margin-bottom: 50px;
}
.s-article .padding-20 {
    padding: 20px;
}
.s-article .padding-30 {
    padding: 30px;
}
.s-article .padding-50 {
    padding: 30px;
}
.s-article .padding-l40 {
    padding-left: 40px;
}

.s-article .table-responsive {
    overflow-x: auto;
}

.s-article table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.s-article th,
.s-article td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--s-line);
    text-align: left;
    vertical-align: top;
}

.s-article .table-bordered th,
.s-article .table-bordered td {
    border: 1px solid var(--s-line);
}

.s-article .table-bordertransp {
    border-collapse: separate;
    border-spacing: 3px;
}

.s-article .table .black-part {
    background: #202020;
    color: var(--s-white);
}
.s-article .table .red-part {
    background: #bd161d;
    color: var(--s-white);
}
.s-article .table .grey-dark {
    background: #686868;
    color: var(--s-white);
}
.s-article .table .grey-medium {
    background: #7d7d7d;
    color: var(--s-white);
}
.s-article .table .grey-light2 {
    background: #969696;
    color: var(--s-white);
}
.s-article .table .grey-light {
    background: #a9a9a9;
    color: var(--s-white);
}

.s-article .btn {
    display: inline-block;
    margin: 4px 4px 4px 0;
    padding: 10px 22px;
    border: 2px solid var(--s-ink);
    border-radius: 8px;
    color: var(--s-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.s-article .btn-primary,
.s-article .btn-success {
    border-color: var(--s-red);
    background: var(--s-red);
    color: var(--s-white);
}

.s-article .btn-primary:hover,
.s-article .btn-success:hover {
    border-color: var(--s-red-dark);
    background: var(--s-red-dark);
    color: var(--s-white);
}

.s-article .new-skoda-btn {
    border-color: #78faae;
    border-radius: 22px;
    background: #78faae;
    color: #161718;
}

.s-article .new-skoda-white-btn {
    border-radius: 22px;
    background: var(--s-white);
    color: #161718;
}

.s-article .embed-responsive {
    position: relative;
    margin-bottom: 1em;
    padding-top: 56.25%;
}

.s-article .embed-responsive-item,
.s-article .embed-responsive iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Galéria zo starej šablóny (owl-carousel) bez skriptu - fotky v mriežke */
.s-article .owl-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
    margin-bottom: 1em;
}

.s-article .owl-carousel,
.s-article .owl-carousel li {
    padding: 0;
    list-style: none;
}

.s-article .owl-carousel .item {
    margin: 0;
}

.s-article .owl-carousel img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Ikony zo starej šablóny (glyphicon) tu nie sú k dispozícii */
.s-article .glyphicon {
    display: none;
}

/* O nás a kontakt */
.s-home-about__img {
    aspect-ratio: 900 / 500;
    object-fit: cover;
}

.s-home-contact {
    display: grid;
    gap: 16px;
}

.s-home-contact__item {
    padding: 22px 20px;
    background: var(--s-white);
    border: 1px solid var(--s-line);
    border-radius: var(--s-radius);
    box-shadow: var(--s-shadow);
}

.s-home-contact__item h3 {
    margin: 10px 0 8px;
    font-size: 18px;
}

.s-home-contact__item p {
    margin: 0 0 6px;
}

.s-home-contact__item .s-hours {
    margin-bottom: 8px;
    font-size: 15px;
}

.s-home-contact__item .s-hours dt {
    color: var(--s-muted);
}

.s-home-contact__icon {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: var(--s-red);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Partneri - farebné logá v rovnako veľkých políčkach, pri prejdení myšou sa zväčšia */
.s-home-partners {
    padding-bottom: 48px;
    border-top: 1px solid var(--s-line);
}

.s-home-partners__title {
    margin-bottom: 20px;
    font-size: clamp(20px, 2.6vw, 24px);
    text-align: center;
}

.s-partners {
    /* Flex namiesto mriežky - neúplný posledný rad (napr. 4 logá) je zarovnaný na stred */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    list-style: none;
}

.s-partners > li {
    flex: 0 0 calc((100% - 12px) / 2);
}

.s-partners__link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    padding: 10px;
    background: var(--s-white);
    border: 1px solid var(--s-line);
    border-radius: var(--s-radius);
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.site .s-partners__link img {
    max-width: 100%;
    max-height: 120px;
    transition: transform 0.25s ease;
}

.s-partners__link:hover {
    border-color: #c9ced5;
    box-shadow: var(--s-shadow);
}

.s-partners__link:hover img {
    transform: scale(1.08);
}

@media (min-width: 640px) {
    .s-partners > li {
        flex-basis: calc((100% - 24px) / 3);
    }
}

@media (min-width: 1024px) {
    .s-partners {
        gap: 16px;
    }

    .s-partners > li {
        flex-basis: calc((100% - 64px) / 5);
    }
}

@media (min-width: 640px) {
    .s-svc-grid,
    .s-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .s-rail__track {
        grid-auto-columns: calc((100% - 16px) / 2);
        margin: 0;
        padding: 4px 0 16px;
        scroll-padding: 0;
    }

    .s-home-contact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .s-facts {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .s-promo__arrow,
    .s-rail__btn {
        display: block;
    }

    .s-promo__slide {
        min-height: 420px;
        max-height: 620px;
    }

    .s-home-intro--overlap .s-home-intro__card {
        margin-top: -72px;
    }

    .s-home-intro__card {
        gap: 28px;
        padding: 36px 40px;
    }

    .s-home-intro__text {
        max-width: 860px;
    }

    /* Rýchle akcie v jednom rade pod textom */
    .s-quick {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }

    .s-svc-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }

    .s-news-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }

    .s-news-grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .s-rail__track {
        grid-auto-columns: calc((100% - 48px) / 4);
    }

    .s-home-repair__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 56px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site * {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }

    .s-js .s-reveal {
        opacity: 1;
        transform: none;
    }

    /* .site * nezasiahne pseudoelementy - kroky hneď v konečnom stave */
    .s-steps li::before,
    .s-steps li::after {
        transition: none !important;
    }

    .s-js .s-steps li {
        color: var(--s-step-color);
    }

    .s-js .s-steps li::before,
    .s-js .s-steps li::after {
        opacity: 1;
        transform: none;
    }
}
