/**
 * Carsbath.cz — Site v2 (redesign 2026)
 *
 * Nový vzhled veřejného webu. Platí jen pro stránky s <body class="site-v2">,
 * takže portál a admin zůstávají beze změny, dokud je nepřevedeme.
 * Staví nad theme.css (Bootstrap navbar, konfigurátor, starší komponenty
 * na podstránkách) a přebíjí jeho vzhled.
 */

/* ============================================
   TOKENY
   ============================================ */
body.site-v2 {
    --sx-bg: #F4F7FB;
    --sx-surface: #FFFFFF;
    --sx-surface-2: #F0F3F8;
    --sx-ink: #0C1A2B;
    --sx-muted: #46546A;
    --sx-faint: #8391A6;
    --sx-line: #D9E1EB;
    --sx-line-soft: #E6EBF2;
    --sx-line-strong: #C9D3E0;
    --sx-brand: #36A8FF;
    --sx-brand-strong: #0B6FC6;
    --sx-brand-strong-hover: #08599F;
    --sx-brand-ink: #FFFFFF;
    --sx-tint: #E8F4FF;
    --sx-tint-2: #F0F7FF;
    --sx-night: #0A1A2F;
    --sx-night-2: #07111F;
    --sx-wa: #1FA855;
    --sx-wa-hover: #188A45;
    --sx-warn: #B25E00;
    --sx-warn-bg: #FFF4E5;
    --sx-shadow: 0 18px 40px rgba(12, 26, 43, 0.08);
    --sx-shadow-strong: 0 30px 60px rgba(12, 26, 43, 0.16);
    --sx-r-xl: 32px;
    --sx-r-lg: 28px;
    --sx-r: 22px;
    --sx-r-sm: 14px;
    --sx-font: 'DM Sans', system-ui, sans-serif;
    --sx-display: 'Jost', 'DM Sans', sans-serif;

    /* Starší komponenty (glass-card, pricing…) na podstránkách převezmou nové barvy */
    --cb-bg: var(--sx-bg);
    --cb-text: var(--sx-ink);
    --cb-text-muted: var(--sx-muted);
    --cb-glass-bg: var(--sx-surface);
    --cb-glass-border: var(--sx-line);
    --cb-shadow: var(--sx-shadow);
    --cb-card-hover-border: rgba(11, 111, 198, 0.35);

    background: var(--sx-bg);
    color: var(--sx-ink);
    font-family: var(--sx-font);
    padding-top: 108px;
    -webkit-font-smoothing: antialiased;
}

:root[data-theme="dark"] body.site-v2 {
    --sx-bg: #08111E;
    --sx-surface: #101B2C;
    --sx-surface-2: #16233A;
    --sx-ink: #EAF1FA;
    --sx-muted: #A5B3C6;
    --sx-faint: #7C8BA1;
    --sx-line: rgba(255, 255, 255, 0.12);
    --sx-line-soft: rgba(255, 255, 255, 0.08);
    --sx-line-strong: rgba(255, 255, 255, 0.18);
    --sx-brand-strong: #36A8FF;
    --sx-brand-strong-hover: #5EBAFF;
    --sx-brand-ink: #04121F;
    --sx-tint: rgba(54, 168, 255, 0.14);
    --sx-tint-2: rgba(54, 168, 255, 0.09);
    --sx-night: #0E1D33;
    --sx-warn: #F5B461;
    --sx-warn-bg: rgba(245, 180, 97, 0.12);
    --sx-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    --sx-shadow-strong: 0 30px 60px rgba(0, 0, 0, 0.45);
}

body.site-v2.has-dark-hero { padding-top: 0; }
body.site-v2::before { display: none; }

.site-v2 h1, .site-v2 h2, .site-v2 h3, .site-v2 h4 {
    font-family: var(--sx-display);
    font-weight: 500;
    color: inherit;
}

.site-v2 a:not([class]),
.site-v2 .sx-link-arrow { color: var(--sx-brand-strong); }
.site-v2 a:not([class]):hover,
.site-v2 .sx-link-arrow:hover { color: var(--sx-brand-strong-hover); }

.site-v2 :focus-visible {
    outline: 2px solid var(--sx-brand);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ============================================
   LAYOUT A TYPOGRAFIE
   ============================================ */
.sx-wrap {
    width: 100%;
    max-width: 1248px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-v2 .sx-sec { padding: 128px 0 0; }
.site-v2 .sx-sec--tight { padding-top: 96px; }

.sx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sx-brand-strong);
    margin-bottom: 12px;
}

.sx-eyebrow--line::before {
    content: '';
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: var(--sx-brand);
}

.sx-h2 {
    font-size: 44px;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 0;
}

.sx-h2--lg { font-size: 56px; line-height: 1.02; letter-spacing: -0.025em; }
.sx-h2--md { font-size: 48px; line-height: 1.05; }
.sx-h2--sm { font-size: 40px; }

.sx-lead {
    font-size: 17px;
    line-height: 1.6;
    color: var(--sx-muted);
    margin: 0;
}

.sx-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: 40px;
}

.sx-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
}

.sx-link-arrow i { transition: transform 0.2s ease; }
.sx-link-arrow:hover i { transform: translateX(3px); }

/* Odlesk světla přes text — jediná „efektní“ animace webu */
.sx-sweep {
    background: linear-gradient(100deg, #6CC2FF 0%, #6CC2FF 42%, #FFFFFF 50%, #6CC2FF 58%, #6CC2FF 100%);
    background-size: 260% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: sxSweep 5.5s ease-in-out infinite;
}

@keyframes sxSweep {
    0% { background-position: 110% 0; }
    55%, 100% { background-position: -60% 0; }
}

/* ============================================
   TLAČÍTKA
   ============================================ */
.sx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 16px;
    border: 1px solid transparent;
    font-family: var(--sx-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.sx-btn i { font-size: 1.05em; }

.sx-btn--primary { background: var(--sx-brand-strong); color: var(--sx-brand-ink); }
.sx-btn--primary:hover { background: var(--sx-brand-strong-hover); color: var(--sx-brand-ink); }

.sx-btn--bright { background: var(--sx-brand); color: #04121F; box-shadow: 0 10px 30px rgba(54, 168, 255, 0.35); }
.sx-btn--bright:hover { background: #5EBAFF; color: #04121F; }

.sx-btn--ghost { background: var(--sx-surface); border-color: var(--sx-line); color: var(--sx-ink); font-weight: 500; }
.sx-btn--ghost:hover { border-color: var(--sx-brand-strong); color: var(--sx-ink); }

.sx-btn--dark { background: var(--sx-ink); color: var(--sx-bg); }
.sx-btn--dark:hover { background: var(--sx-brand-strong); color: var(--sx-brand-ink); }

.sx-btn--glass { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.28); color: #FFFFFF; font-weight: 500; }
.sx-btn--glass:hover { background: rgba(255, 255, 255, 0.18); color: #FFFFFF; }

.sx-btn--wa { background: var(--sx-wa); color: #FFFFFF; }
.sx-btn--wa:hover { background: var(--sx-wa-hover); color: #FFFFFF; }

.sx-btn--lg { min-height: 58px; padding: 0 28px; }
.sx-btn--block { width: 100%; }

/* ============================================
   NAVIGACE (restyle Bootstrap navbaru z nav.php)
   ============================================ */
.site-v2 .navbar {
    position: fixed;
    top: 16px;
    left: 16px;
    right: 16px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.site-v2 .navbar.scrolled { background: transparent; box-shadow: none; backdrop-filter: none; }

.site-v2 .navbar > .container {
    max-width: 1400px;
    min-height: 68px;
    padding: 0 10px 0 22px;
    border-radius: 18px;
    background: var(--sx-surface);
    border: 1px solid var(--sx-line);
    box-shadow: 0 8px 30px rgba(12, 26, 43, 0.08);
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-v2 .navbar-logo { height: 34px; max-width: 170px; }

.site-v2 .nav-link {
    color: var(--sx-ink) !important;
    font-size: 15px;
    padding: 8px 12px !important;
    border-radius: 10px;
}

.site-v2 .nav-link::after { display: none; }
.site-v2 .nav-link:hover { color: var(--sx-brand-strong) !important; }
.site-v2 .nav-link.active { color: var(--sx-brand-strong) !important; }

.site-v2 .theme-toggle,
.site-v2 .nav-icon-btn,
.site-v2 .btn-icon-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: var(--sx-muted);
    background: transparent;
    border: 0;
}

.site-v2 .theme-toggle:hover,
.site-v2 .nav-icon-btn:hover,
.site-v2 .btn-icon-link:hover { background: var(--sx-surface-2); color: var(--sx-ink); }

.site-v2 .nav-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    background: var(--sx-brand-strong);
    color: var(--sx-brand-ink);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    box-shadow: none;
}

.site-v2 .nav-phone-btn:hover { background: var(--sx-brand-strong-hover); color: var(--sx-brand-ink); }

.site-v2 .hamburger-line { background: var(--sx-ink); }

.site-v2 .dropdown-menu {
    background: var(--sx-surface);
    border: 1px solid var(--sx-line);
    border-radius: 16px;
    box-shadow: var(--sx-shadow);
    padding: 8px;
    backdrop-filter: none;
}

.site-v2 .dropdown-item {
    color: var(--sx-ink);
    border-radius: 10px;
    border-left: 0;
    padding: 10px 14px;
    font-size: 15px;
}

.site-v2 .dropdown-item:hover,
.site-v2 .dropdown-item:focus { background: var(--sx-tint); color: var(--sx-ink); }
.site-v2 .dropdown-item.active { background: var(--sx-tint); color: var(--sx-brand-strong); }
.site-v2 .dropdown-item strong { color: var(--sx-brand-strong); }
.site-v2 .dropdown-divider { border-color: var(--sx-line-soft); }

/* Skleněná navigace přes tmavou fotku (homepage, ceník) — než se odscrolluje */
.site-v2.has-dark-hero .navbar:not(.scrolled):not(.menu-open) > .container {
    background: rgba(7, 17, 31, 0.42);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.site-v2.has-dark-hero .navbar:not(.scrolled):not(.menu-open) .nav-link,
.site-v2.has-dark-hero .navbar:not(.scrolled):not(.menu-open) .theme-toggle,
.site-v2.has-dark-hero .navbar:not(.scrolled):not(.menu-open) .nav-icon-btn,
.site-v2.has-dark-hero .navbar:not(.scrolled):not(.menu-open) .btn-icon-link { color: #FFFFFF !important; }

.site-v2.has-dark-hero .navbar:not(.scrolled):not(.menu-open) .nav-link.active { color: #6CC2FF !important; }
.site-v2.has-dark-hero .navbar:not(.scrolled):not(.menu-open) .hamburger-line { background: #FFFFFF; }
.site-v2.has-dark-hero .navbar:not(.scrolled):not(.menu-open) .nav-phone-btn { background: #FFFFFF; color: var(--sx-night); }
.site-v2.has-dark-hero .navbar:not(.scrolled):not(.menu-open) .theme-toggle:hover,
.site-v2.has-dark-hero .navbar:not(.scrolled):not(.menu-open) .nav-icon-btn:hover { background: rgba(255, 255, 255, 0.12); }

@media (max-width: 991.98px) {
    .site-v2 .navbar { top: 10px; left: 10px; right: 10px; }
    .site-v2 .navbar > .container { min-height: 60px; padding: 0 6px 0 16px; overflow: visible; }
    .site-v2 .navbar-logo { height: 28px; }

    .site-v2 .navbar-collapse {
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 12px;
        background: var(--sx-surface);
        border: 1px solid var(--sx-line);
        border-radius: 18px;
        box-shadow: var(--sx-shadow-strong);
        backdrop-filter: none;
    }

    .site-v2 .navbar-collapse .nav-link { color: var(--sx-ink) !important; font-size: 17px; padding: 12px 14px !important; }
    .site-v2 .navbar-collapse .nav-link:hover { background: var(--sx-surface-2); }
    .site-v2 .navbar-collapse .dropdown-menu { background: var(--sx-surface-2); border: 0; border-radius: 12px; margin: 4px 0 8px; padding: 6px; }
}

/* ============================================
   HERO — filmová scéna
   ============================================ */
.sx-hero { padding: 12px 12px 0; }

.sx-hero__frame {
    position: relative;
    min-height: min(880px, calc(100svh - 24px));
    border-radius: var(--sx-r-xl);
    overflow: hidden;
    background: var(--sx-night-2);
    display: flex;
    flex-direction: column;
    isolation: isolate;
}

.sx-hero__frame--page { min-height: 480px; }

.sx-hero__img,
.sx-hero__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.sx-hero__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(0deg, rgba(5, 13, 25, 0.8) 0%, rgba(5, 13, 25, 0) 32%),
        linear-gradient(90deg, rgba(5, 13, 25, 0.9) 0%, rgba(5, 13, 25, 0.62) 38%, rgba(5, 13, 25, 0.05) 70%);
}

.sx-hero__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px 96px 40px;
    max-width: 800px;
    color: #FFFFFF;
}

.sx-hero__frame--page .sx-hero__body { justify-content: flex-end; padding-bottom: 64px; }

.sx-hero .sx-eyebrow { color: #9FD4FF; letter-spacing: 0.16em; }

.sx-hero__title {
    font-size: clamp(52px, 7.4vw, 108px);
    line-height: 0.96;
    letter-spacing: -0.035em;
    font-weight: 400 !important;
    color: #FFFFFF;
    margin: 0 0 28px;
}

.sx-hero__frame--page .sx-hero__title { font-size: clamp(44px, 5vw, 72px); margin-bottom: 20px; }
.sx-hero__frame--page .sx-hero__body { max-width: 920px; }

.sx-hero__title .sx-sweep { font-weight: 500; }

.sx-hero__lead {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
    max-width: 540px;
    margin: 0 0 32px;
}

.sx-hero__frame--page .sx-hero__lead { font-size: 18px; margin-bottom: 0; }

.sx-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.sx-hero__foot {
    display: flex;
    align-items: flex-end;
    gap: 48px;
    padding: 0 96px 40px;
    color: #FFFFFF;
}

.sx-hero__stats { display: flex; }

.sx-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 36px;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.sx-hero__stat:first-child { padding-left: 0; border-left: 0; }
.sx-hero__stat strong { font-family: var(--sx-display); font-size: 34px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; }
.sx-hero__stat span { font-size: 14px; color: rgba(255, 255, 255, 0.66); }

.sx-hero__scroll {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72) !important;
    text-decoration: none;
}

.sx-hero__scroll span {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Panel s přepínači v hero (ceník) */
.sx-hero__panel {
    position: absolute;
    right: 64px;
    bottom: 64px;
    width: 340px;
    padding: 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #FFFFFF;
}

.sx-hero__panel label,
.sx-hero__panel .sx-panel-label { font-size: 13px; color: rgba(255, 255, 255, 0.72); margin-bottom: 8px; display: block; }

/* ============================================
   SEGMENTOVÝ PŘEPÍNAČ
   ============================================ */
.sx-seg {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    gap: 4px;
    padding: 4px;
    border-radius: 14px;
    background: var(--sx-surface-2);
}

.sx-seg button,
.sx-seg a {
    min-height: 40px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--sx-muted);
    font-family: var(--sx-font);
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sx-seg [aria-pressed="true"],
.sx-seg .is-active { background: var(--sx-surface); color: var(--sx-ink); font-weight: 600; box-shadow: 0 1px 3px rgba(12, 26, 43, 0.12); }

.sx-seg--glass { background: rgba(0, 0, 0, 0.25); }
.sx-seg--glass button,
.sx-seg--glass a { color: #FFFFFF; }
.sx-seg--glass [aria-pressed="true"],
.sx-seg--glass .is-active { background: #FFFFFF; color: #0C1A2B; }

/* ============================================
   PROTOKOL — „Co dostanete při předání“
   ============================================ */
.sx-proof { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.sx-proof__visual { grid-column: span 6; position: relative; height: 680px; }
.sx-proof__text { grid-column: 8 / span 5; }

.sx-paper-back {
    position: absolute;
    left: 40px;
    top: 40px;
    width: 470px;
    height: 600px;
    background: var(--sx-surface-2);
    border: 1px solid var(--sx-line);
    border-radius: 10px;
    transform: rotate(-4deg);
    box-shadow: 0 10px 30px rgba(12, 26, 43, 0.08);
}

.sx-paper {
    position: absolute;
    left: 90px;
    top: 20px;
    width: 480px;
    padding: 32px;
    background: #FFFFFF;
    color: #0C1A2B;
    border: 1px solid #D9E1EB;
    border-radius: 10px;
    transform: rotate(1.5deg);
    box-shadow: var(--sx-shadow-strong);
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 12px;
}

.sx-paper__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.sx-paper__head img { height: 22px; width: auto; }
.sx-paper__title { text-align: right; display: flex; flex-direction: column; gap: 2px; }
.sx-paper__title strong { font-size: 11px; letter-spacing: 0.12em; }
.sx-paper__title span { color: #46546A; }
.sx-paper__bar { padding: 6px 10px; background: #0B6FC6; color: #FFFFFF; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; }
.sx-paper__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.sx-paper__grid span:nth-child(odd) { color: #8391A6; }
.sx-paper__rows { display: flex; flex-direction: column; gap: 6px; }
.sx-paper__rows div { display: flex; justify-content: space-between; gap: 12px; }
.sx-paper__total { padding-top: 6px; border-top: 1px solid #E6EBF2; font-weight: 600; }
.sx-paper__photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.sx-paper__photos img { width: 100%; height: 64px; object-fit: cover; border-radius: 4px; }
.sx-paper__sign { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 10px; }
.sx-paper__sign div { display: flex; flex-direction: column; gap: 4px; }
.sx-paper__sign span { border-top: 1px solid #0C1A2B; padding-top: 4px; color: #8391A6; }

.sx-list { list-style: none; padding: 0; margin: 28px 0 0; }

.sx-list li {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-top: 1px solid var(--sx-line);
}

.sx-list li:last-child { border-bottom: 1px solid var(--sx-line); }
.sx-list strong { display: block; font-size: 16px; font-weight: 600; }
.sx-list p { margin: 2px 0 0; font-size: 15px; line-height: 1.5; color: var(--sx-muted); }

.sx-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--sx-tint);
    color: var(--sx-brand-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

/* ============================================
   ČÍSLA
   ============================================ */
.sx-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--sx-line-strong);
    border-bottom: 1px solid var(--sx-line-strong);
}

.sx-stats > div {
    padding: 40px 28px;
    border-left: 1px solid var(--sx-line-strong);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sx-stats > div:first-child { padding-left: 0; border-left: 0; }

.sx-stats strong {
    font-family: var(--sx-display);
    font-size: 88px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.04em;
}

.sx-stats small { font-size: 40px; letter-spacing: 0; color: var(--sx-muted); font-weight: 300; }
.sx-stats span { font-size: 15px; line-height: 1.5; color: var(--sx-muted); }

/* ============================================
   SLUŽBY — triptych
   ============================================ */
.sx-tri { display: flex; gap: 16px; height: 640px; }

.sx-tri__panel {
    position: relative;
    flex: 1 1 0;
    border-radius: var(--sx-r-lg);
    overflow: hidden;
    color: #FFFFFF !important;
    text-decoration: none;
    isolation: isolate;
    transition: flex-grow 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease;
}

.sx-tri__panel--wide { flex-grow: 1.35; box-shadow: 0 30px 60px rgba(12, 26, 43, 0.22); }

@media (hover: hover) and (min-width: 992px) {
    .sx-tri:hover .sx-tri__panel { flex-grow: 1; box-shadow: none; }
    .sx-tri .sx-tri__panel:hover { flex-grow: 1.35; box-shadow: 0 30px 60px rgba(12, 26, 43, 0.22); }
}

.sx-tri__panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform 0.8s ease;
}

.sx-tri__panel:hover img { transform: scale(1.03); }

.sx-tri__panel::after {
    content: '';
    position: absolute;
    inset: 30% 0 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(5, 13, 25, 0.94) 0%, rgba(5, 13, 25, 0) 100%);
}

.sx-tri__body {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sx-tri__num { font-family: var(--sx-display); font-size: 15px; color: #9FD4FF; }
.sx-tri__body h3 { font-size: 42px; line-height: 1; margin: 0; color: #FFFFFF; }
.sx-tri__body p { font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, 0.78); margin: 0; max-width: 420px; }

.sx-tri__rows { display: flex; flex-direction: column; font-size: 15px; }

.sx-tri__rows div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.sx-tri__rows span:last-child { color: rgba(255, 255, 255, 0.72); white-space: nowrap; }

/* ============================================
   ZNAČKY CHEMIE
   ============================================ */
.sx-brands { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.sx-brands__text { grid-column: span 4; }
.sx-brands__grid { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.sx-brands__tile {
    height: 180px;
    background: #FFFFFF;
    border: 1px solid var(--sx-line);
    border-radius: var(--sx-r);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.sx-brands__tile img { max-width: 62%; max-height: 64px; object-fit: contain; }

/* ============================================
   PŘED / PO (zobrazí se, až budou fotky)
   ============================================ */
.sx-ba { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.sx-ba__text { grid-column: span 4; padding-right: 24px; }
.sx-ba__stage { grid-column: span 8; }

.sx-compare {
    --pos: 50%;
    position: relative;
    aspect-ratio: 792 / 560;
    border-radius: var(--sx-r-lg);
    overflow: hidden;
    background: var(--sx-night);
    box-shadow: var(--sx-shadow-strong);
    user-select: none;
}

.sx-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sx-compare__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.sx-compare__line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 2px;
    margin-left: -1px;
    background: #FFFFFF;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    pointer-events: none;
}

.sx-compare__knob {
    position: absolute;
    top: 50%;
    left: var(--pos);
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
    border-radius: 50%;
    background: #FFFFFF;
    color: #0B6FC6;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    pointer-events: none;
}

.sx-compare__tag {
    position: absolute;
    top: 20px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    pointer-events: none;
}

.sx-compare__tag--before { left: 20px; background: rgba(5, 13, 25, 0.6); color: #FFFFFF; }
.sx-compare__tag--after { right: 20px; background: var(--sx-brand); color: #04121F; }

.sx-compare input[type="range"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
}

/* ============================================
   KDO ZA TÍM STOJÍ (zobrazí se, až bude fotka)
   ============================================ */
.sx-founder { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.sx-founder__photo { grid-column: span 5; position: relative; }
.sx-founder__photo img { width: 100%; height: 600px; object-fit: cover; border-radius: var(--sx-r-lg); display: block; }

.sx-founder__badge {
    position: absolute;
    right: -32px;
    bottom: 48px;
    padding: 20px 24px;
    background: var(--sx-surface);
    border: 1px solid var(--sx-line);
    border-radius: 18px;
    box-shadow: var(--sx-shadow);
}

.sx-founder__badge strong { display: block; font-family: var(--sx-display); font-size: 22px; font-weight: 500; }
.sx-founder__badge span { font-size: 14px; color: var(--sx-muted); }
.sx-founder__text { grid-column: 7 / span 6; }

/* ============================================
   KONFIGURÁTOR (restyle markupu, logika v main.js beze změny)
   ============================================ */
.site-v2 .sx-config { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.site-v2 .sx-config > .configurator-form { grid-column: span 8; }
.site-v2 .sx-config > .configurator-result { grid-column: span 4; }

.site-v2 .configurator-form,
.site-v2 .configurator-result {
    background: var(--sx-surface);
    border: 1px solid var(--sx-line);
    border-radius: 24px;
    box-shadow: none;
    backdrop-filter: none;
}

.site-v2 .configurator-form { padding: 36px; }
.site-v2 .configurator-result { padding: 28px; position: sticky; top: 100px; box-shadow: var(--sx-shadow); }

.site-v2 .config-step { margin-bottom: 36px; padding-bottom: 0; border: 0; }
.site-v2 .config-step:last-child { margin-bottom: 0; }
.site-v2 .config-step-header { margin-bottom: 16px; gap: 12px; }

.site-v2 .config-step-number {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: var(--sx-brand-strong);
    color: var(--sx-brand-ink);
    font-size: 14px;
    font-weight: 600;
    box-shadow: none;
}

.site-v2 .config-step-title { font-family: var(--sx-font); font-size: 18px; font-weight: 600; color: var(--sx-ink); }
.site-v2 .config-step-hint { font-size: 14px; color: var(--sx-faint); }

.site-v2 .config-reset-btn { color: var(--sx-muted); background: transparent; border: 0; font-size: 14px; }
.site-v2 .config-reset-btn:hover { color: var(--sx-brand-strong); background: var(--sx-surface-2); }

.site-v2 .config-options { gap: 12px; }

.site-v2 .config-option-content {
    background: var(--sx-surface);
    border: 1px solid var(--sx-line);
    border-radius: var(--sx-r-sm);
    padding: 18px 12px;
    color: var(--sx-ink);
    box-shadow: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-v2 .config-option-content i { color: var(--sx-muted); font-size: 24px; }
.site-v2 .config-option-content span { font-size: 15px; font-weight: 600; color: var(--sx-ink); }
.site-v2 .config-option-content small { font-size: 13px; color: var(--sx-muted); }

.site-v2 .config-option:hover .config-option-content { border-color: var(--sx-brand-strong); background: var(--sx-surface); transform: none; }
.site-v2 .config-option:hover .config-option-content i { color: var(--sx-brand-strong); transform: none; }

.site-v2 .config-option input:checked + .config-option-content,
.site-v2 .config-option.is-checked .config-option-content {
    background: var(--sx-tint-2);
    border-color: var(--sx-brand-strong);
    box-shadow: 0 0 0 1px var(--sx-brand-strong);
}

.site-v2 .config-option input:checked + .config-option-content i,
.site-v2 .config-option.is-checked .config-option-content i { color: var(--sx-brand-strong); }

.site-v2 .config-option input:focus-visible + .config-option-content { outline: 2px solid var(--sx-brand); outline-offset: 3px; }

.site-v2 .config-option.recommended .config-option-content { border-color: #E8A317; animation: none; box-shadow: 0 0 0 1px #E8A317; }
.site-v2 .config-option.recommended .config-option-content::after { background: #E8A317; color: #1B1200; border-radius: 999px; padding: 3px 8px; font-size: 10px; }

.site-v2 .config-addons { gap: 8px; padding-top: 4px; }

.site-v2 .config-addon span {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--sx-line);
    background: var(--sx-surface);
    color: var(--sx-ink);
    font-size: 14px;
    font-weight: 500;
}

.site-v2 .config-addon:hover span { border-color: var(--sx-brand-strong); background: var(--sx-surface); }
.site-v2 .config-addon span i { color: var(--sx-faint); }
.site-v2 .config-addon input:checked + span { background: var(--sx-brand-strong); border-color: var(--sx-brand-strong); color: var(--sx-brand-ink); }
.site-v2 .config-addon input:checked + span i { color: var(--sx-brand-ink); }

#addonsStep { padding-top: 28px; border-top: 1px solid var(--sx-line-soft); }

.site-v2 .result-header { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sx-brand-strong); margin-bottom: 10px; padding: 0; border: 0; }
.site-v2 .result-header i { color: var(--sx-brand-strong); }
.site-v2 .result-package-name { font-family: var(--sx-display); font-size: 26px; font-weight: 500; line-height: 1.15; color: var(--sx-ink); }
.site-v2 .result-package-desc { font-size: 14px; line-height: 1.55; color: var(--sx-muted) !important; }

.site-v2 .result-levels { background: var(--sx-surface-2); border: 0; border-radius: var(--sx-r-sm); padding: 14px; }
.site-v2 .result-levels-header { color: var(--sx-faint); font-size: 12px; letter-spacing: 0.1em; }
.site-v2 .result-level-label { color: var(--sx-ink); font-weight: 600; font-size: 14px; }
.site-v2 .result-level-desc { color: var(--sx-muted); }

.site-v2 .result-level-select {
    background-color: var(--sx-surface);
    border: 1px solid var(--sx-line);
    border-radius: 10px;
    color: var(--sx-ink);
    min-height: 40px;
    font-family: var(--sx-font);
    font-size: 14px;
}

.site-v2 .result-level-select:focus { border-color: var(--sx-brand-strong); box-shadow: 0 0 0 3px var(--sx-tint); }

.site-v2 .result-details {
    background: transparent;
    border: 0;
    border-top: 1px solid var(--sx-line-soft);
    border-bottom: 1px solid var(--sx-line-soft);
    border-radius: 0;
    padding: 16px 0;
    margin: 18px 0;
}

.site-v2 .result-label { color: var(--sx-muted); font-size: 15px; }
.site-v2 .result-label i { color: var(--sx-faint); }
.site-v2 .result-value { color: var(--sx-ink); font-weight: 600; }
.site-v2 .result-price { font-family: var(--sx-display); font-size: 34px; font-weight: 500; letter-spacing: -0.02em; color: var(--sx-ink); }

.site-v2 .result-note { background: transparent; border: 0; padding: 0; color: var(--sx-muted); font-size: 13px; }
.site-v2 .result-warning { background: var(--sx-warn-bg); border: 0; border-radius: 12px; color: var(--sx-ink); }
.site-v2 .result-warning i { color: var(--sx-warn); }

.site-v2 .result-cta .btn-whatsapp {
    min-height: 54px;
    border-radius: 14px;
    background: var(--sx-wa);
    border: 0;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-v2 .result-cta .btn-whatsapp:hover { background: var(--sx-wa-hover); }
.site-v2 .result-cta-hint { color: var(--sx-muted); font-size: 13px; }
.site-v2 .result-share { border-top: 1px solid var(--sx-line-soft); }
.site-v2 .result-share-label { color: var(--sx-muted); }
.site-v2 .share-btn { border-radius: 10px; border: 1px solid var(--sx-line); background: var(--sx-surface); color: var(--sx-ink); width: 40px; height: 40px; }

/* ============================================
   JAK TO PROBÍHÁ
   ============================================ */
.sx-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }

.sx-steps li {
    padding-top: 22px;
    border-top: 2px solid var(--sx-line);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sx-steps li:first-child { border-top-color: var(--sx-brand); }
.sx-steps b { font-family: var(--sx-display); font-size: 15px; font-weight: 600; color: var(--sx-brand-strong); }
.sx-steps h3 { font-size: 22px; margin: 0; }
.sx-steps p { font-size: 15px; line-height: 1.6; color: var(--sx-muted); margin: 0; }

/* ============================================
   MOJE GARÁŽ — teaser
   ============================================ */
.sx-garage {
    background: var(--sx-surface);
    border: 1px solid var(--sx-line);
    border-radius: var(--sx-r-xl);
    padding: 64px;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: center;
}

.sx-garage__text { grid-column: span 5; }
.sx-garage__demo { grid-column: 7 / span 6; background: var(--sx-bg); border-radius: var(--sx-r); padding: 28px; display: flex; flex-direction: column; gap: 14px; }

.sx-garage__item {
    background: var(--sx-surface);
    border: 1px solid var(--sx-line);
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.sx-garage__item strong { display: block; font-size: 15px; font-weight: 600; }
.sx-garage__item span { font-size: 14px; color: var(--sx-muted); }
.sx-icon--warn { background: var(--sx-warn-bg); color: var(--sx-warn); }
.sx-icon--ok { background: rgba(31, 168, 85, 0.12); color: #178A45; }

/* ============================================
   CTA S FOTKOU
   ============================================ */
.sx-cta {
    position: relative;
    min-height: 460px;
    border-radius: var(--sx-r-xl);
    overflow: hidden;
    background: var(--sx-night-2);
    display: flex;
    align-items: center;
    isolation: isolate;
}

.sx-cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: -2; }
.sx-cta::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 13, 25, 0.92) 0%, rgba(5, 13, 25, 0.7) 50%, rgba(5, 13, 25, 0.35) 100%); }
.sx-cta__body { padding: 64px 72px; max-width: 720px; color: #FFFFFF; }
.sx-cta__body h2 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1; letter-spacing: -0.03em; font-weight: 400 !important; margin: 0 0 20px; color: #FFFFFF; }
.sx-cta__body p { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, 0.75); margin: 0 0 28px; }

.sx-band {
    background: var(--sx-night);
    border-radius: var(--sx-r-xl);
    padding: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
    color: #FFFFFF;
}

.sx-band h2 { font-size: 44px; line-height: 1.08; letter-spacing: -0.02em; font-weight: 400 !important; margin: 0 0 12px; color: #FFFFFF; }
.sx-band p { font-size: 18px; line-height: 1.6; color: #A9B8CC; margin: 0; }
.sx-band__actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ============================================
   CENÍK
   ============================================ */
.sx-tabs-wrap {
    position: sticky;
    top: 64px;
    z-index: 20;
    padding-top: 28px;
}

.sx-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 64px;
    padding: 8px;
    background: var(--sx-surface);
    border: 1px solid var(--sx-line);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(12, 26, 43, 0.06);
    overflow-x: auto;
    scrollbar-width: none;
}

.sx-tabs::-webkit-scrollbar { display: none; }

.sx-tabs a {
    flex-shrink: 0;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    color: var(--sx-ink);
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.site-v2 .sx-tabs a { color: var(--sx-ink); }
.site-v2 .sx-tabs a:hover { background: var(--sx-surface-2); color: var(--sx-ink); }
.site-v2 .sx-tabs a.is-active { background: var(--sx-ink); color: var(--sx-bg); }
.site-v2 .sx-tabs .sx-tabs__cta { margin-left: auto; color: var(--sx-brand-strong); font-weight: 600; }

.sx-price-cat { scroll-margin-top: 180px; }

.sx-price-head { display: flex; align-items: flex-end; gap: 28px; margin-bottom: 32px; }
.sx-price-head img { width: 104px; height: 104px; border-radius: 24px; object-fit: cover; flex-shrink: 0; }
.sx-price-head__text { flex: 1; }
.sx-price-head h2 { font-size: 40px; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 10px; }
.sx-price-head p { font-size: 16px; line-height: 1.6; color: var(--sx-muted); margin: 0; max-width: 720px; }

.sx-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }

.sx-tier {
    position: relative;
    background: var(--sx-surface);
    border: 1px solid var(--sx-line);
    border-radius: 24px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sx-tier--hi { border-color: var(--sx-brand-strong); box-shadow: 0 0 0 1px var(--sx-brand-strong), 0 24px 48px rgba(11, 111, 198, 0.14); }

.sx-tier__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sx-tier__code { padding: 5px 10px; border-radius: 8px; background: var(--sx-surface-2); font-family: var(--sx-display); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--sx-muted); }
.sx-tier__badge { padding: 5px 10px; border-radius: 999px; background: var(--sx-brand-strong); color: var(--sx-brand-ink); font-size: 12px; font-weight: 600; }
.sx-tier h3 { font-size: 26px; line-height: 1.1; margin: 0 0 4px; }
.sx-tier__tagline { font-size: 15px; color: var(--sx-muted); }
.sx-tier__price { font-family: var(--sx-display); font-size: 44px; font-weight: 400; letter-spacing: -0.03em; line-height: 1.05; display: block; }
.sx-tier__alt { font-size: 14px; color: var(--sx-faint); }

.sx-meter { display: flex; flex-direction: column; gap: 6px; }
.sx-meter__row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.sx-meter__row span:first-child { color: var(--sx-muted); }
.sx-meter__row span:last-child { font-weight: 600; }
.sx-meter__bar { height: 6px; border-radius: 3px; background: var(--sx-line-soft); overflow: hidden; }
.sx-meter__bar i { display: block; height: 100%; border-radius: 3px; background: var(--sx-brand-strong); }

.sx-tier__feat { padding-top: 18px; border-top: 1px solid var(--sx-line-soft); }
.sx-tier__feat-head { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sx-faint); margin-bottom: 10px; display: block; }
.sx-tier__feat ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.sx-tier__feat li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.sx-tier__feat li i { color: var(--sx-brand-strong); font-size: 16px; margin-top: 1px; }
.sx-tier .sx-btn { margin-top: auto; min-height: 50px; font-size: 15px; border-radius: 14px; }

.sx-note { display: flex; gap: 10px; align-items: center; margin-top: 20px; font-size: 14px; color: var(--sx-muted); }
.sx-note i { color: var(--sx-warn); }

.sx-addons {
    background: var(--sx-surface);
    border: 1px solid var(--sx-line);
    border-radius: 24px;
    padding: 28px 32px;
    margin-top: 20px;
}

.sx-addons__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.sx-addons__head h3 { font-size: 22px; margin: 0; }
.sx-addons__head span { font-size: 14px; color: var(--sx-faint); }
.sx-addons__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sx-addons__grid > div { padding: 0 24px; border-left: 1px solid var(--sx-line-soft); display: flex; flex-direction: column; gap: 6px; }
.sx-addons__grid > div:first-child { padding-left: 0; border-left: 0; }
.sx-addons__grid strong { font-size: 15px; font-weight: 600; }
.sx-addons__grid span { font-size: 14px; color: var(--sx-muted); }
.sx-addons__grid b { font-family: var(--sx-display); font-size: 26px; font-weight: 400; padding-top: 4px; }

.sx-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.sx-photo-card {
    position: relative;
    min-height: 440px;
    border-radius: var(--sx-r-lg);
    overflow: hidden;
    background: var(--sx-night-2);
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    isolation: isolate;
}

.sx-photo-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.sx-photo-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 13, 25, 0.95) 0%, rgba(5, 13, 25, 0.55) 55%, rgba(5, 13, 25, 0.2) 100%); }
.sx-photo-card__body { padding: 32px 36px; display: flex; flex-direction: column; gap: 14px; }
.sx-photo-card .sx-eyebrow { color: #9FD4FF; margin: 0; }
.sx-photo-card h2 { font-size: 36px; margin: 0; color: #FFFFFF; }
.sx-photo-card__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 15px; }
.sx-photo-card__rows em { font-style: normal; color: rgba(255, 255, 255, 0.7); }
.sx-photo-card__rows b { font-family: var(--sx-display); font-size: 20px; font-weight: 400; white-space: nowrap; }
.sx-photo-card small { font-size: 13px; color: rgba(255, 255, 255, 0.6); }

.sx-fees { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.sx-fees__text { grid-column: span 4; }
.sx-fees__table { grid-column: 6 / span 7; background: var(--sx-surface); border: 1px solid var(--sx-line); border-radius: 24px; padding: 8px 28px; }
.sx-fees__row { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; }
.sx-fees__row + .sx-fees__row { border-top: 1px solid var(--sx-line-soft); }
.sx-fees__row strong { display: block; font-size: 16px; font-weight: 600; }
.sx-fees__row p { margin: 2px 0 0; font-size: 14px; color: var(--sx-muted); }
.sx-fees__row b { font-family: var(--sx-display); font-size: 22px; font-weight: 400; white-space: nowrap; }

/* ============================================
   RECENZE + PATIČKA (markup z footer.php)
   ============================================ */
.site-v2 .sx-reviews { padding: 128px 0 0; }
.site-v2 .sx-reviews .section-title { font-size: 44px; font-weight: 500; letter-spacing: -0.02em; }

.site-v2 .footer {
    background: transparent;
    color: var(--sx-ink);
    margin-top: 128px;
    border-top: 1px solid var(--sx-line);
}

.site-v2 .footer-top { display: none; }
.site-v2 .footer .text-white-50 { color: var(--sx-muted) !important; }
.site-v2 .footer-heading { font-family: var(--sx-font); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sx-faint); }
.site-v2 .footer-links a,
.site-v2 .footer-contact-link { color: var(--sx-ink); }
.site-v2 .footer-links a:hover,
.site-v2 .footer-contact-link:hover { color: var(--sx-brand-strong); }
.site-v2 .footer-contact-link i { color: var(--sx-brand-strong); }
.site-v2 .footer-social-link { background: var(--sx-surface); border: 1px solid var(--sx-line); color: var(--sx-ink); border-radius: 12px; }
.site-v2 .footer-social-link:hover { border-color: var(--sx-brand-strong); color: var(--sx-brand-strong); background: var(--sx-surface); }
.site-v2 .footer .btn-whatsapp { border-radius: 14px; }
.site-v2 .footer-bottom { border-top: 1px solid var(--sx-line); background: transparent; }
.site-v2 .footer-tiny-link { color: var(--sx-muted); }

/* ============================================
   RESPONZIVITA
   ============================================ */
@media (max-width: 1199.98px) {
    .sx-hero__body { padding-left: 64px; padding-right: 64px; }
    .sx-hero__foot { padding-left: 64px; padding-right: 64px; }
    .sx-stats strong { font-size: 68px; }
    .sx-paper { left: 40px; }
    .sx-paper-back { left: 0; }
}

@media (max-width: 991.98px) {
    body.site-v2 { padding-top: 88px; }
    .site-v2 .sx-sec { padding-top: 80px; }
    .site-v2 .sx-sec--tight { padding-top: 64px; }

    .sx-h2 { font-size: 34px; }
    .sx-h2--lg { font-size: 40px; }
    .sx-h2--md { font-size: 34px; }
    .sx-h2--sm { font-size: 30px; }
    .sx-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 28px; }

    .sx-hero { padding: 8px 8px 0; }
    .sx-hero__frame { min-height: calc(100svh - 16px); border-radius: 26px; }
    .sx-hero__frame--page { min-height: 480px; }
    .sx-hero__shade { background: linear-gradient(0deg, rgba(5, 13, 25, 0.95) 0%, rgba(5, 13, 25, 0.7) 45%, rgba(5, 13, 25, 0.1) 75%, rgba(5, 13, 25, 0.45) 100%); }
    .sx-hero__img img { object-position: 66% 50%; }
    .sx-hero__frame--page .sx-hero__shade { background: linear-gradient(0deg, rgba(5, 13, 25, 0.95) 0%, rgba(5, 13, 25, 0.72) 55%, rgba(5, 13, 25, 0.6) 100%); }
    .sx-hero__body { justify-content: flex-end; padding: 110px 20px 20px; }
    .sx-hero__lead { font-size: 16px; margin-bottom: 20px; }
    .sx-hero__actions .sx-btn { flex: 1 1 100%; }
    .sx-hero__foot { padding: 0 20px 24px; }
    .sx-hero__stats { width: 100%; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
    .sx-hero__stat { flex: 1; padding: 0 0 0 14px; }
    .sx-hero__stat strong { font-size: 22px; }
    .sx-hero__stat span { font-size: 12px; }
    .sx-hero__scroll { display: none; }

    .sx-hero__panel { position: static; width: auto; margin: 0 20px 20px; }

    .sx-proof,
    .sx-ba,
    .sx-founder,
    .sx-brands,
    .sx-fees { display: flex; flex-direction: column; align-items: stretch; gap: 32px; }

    .sx-proof__visual { height: auto; order: 2; }
    .sx-paper-back { display: none; }
    .sx-paper { position: relative; left: auto; top: auto; width: 100%; max-width: 480px; margin: 0 auto; transform: rotate(0.8deg); padding: 24px; }
    .sx-ba__text { padding-right: 0; }
    .sx-founder__photo img { height: 420px; }
    .sx-founder__badge { right: 16px; bottom: 16px; }

    .sx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 0; }
    .sx-stats > div { padding: 22px 0 22px 16px; border-bottom: 1px solid var(--sx-line-strong); }
    .sx-stats > div:nth-child(odd) { padding-left: 0; border-left: 0; }
    .sx-stats strong { font-size: 52px; }
    .sx-stats small { font-size: 24px; }
    .sx-stats span { font-size: 13px; }

    .sx-tri { flex-direction: column; height: auto; gap: 12px; }
    .sx-tri__panel { flex: none; min-height: 300px; }
    .sx-tri__panel--wide { min-height: 380px; box-shadow: none; }
    .sx-tri__body { left: 20px; right: 20px; bottom: 20px; }
    .sx-tri__body h3 { font-size: 32px; }

    .sx-brands__tile { height: 120px; }

    .site-v2 .sx-config { display: flex; flex-direction: column; }
    .site-v2 .configurator-form { padding: 20px 16px; }
    .site-v2 .configurator-result { position: static; padding: 20px; }

    .sx-steps { grid-template-columns: 1fr 1fr; }

    .sx-garage { padding: 28px 22px; display: flex; flex-direction: column; gap: 28px; align-items: stretch; }
    .sx-garage__demo { padding: 16px; }

    .sx-cta { min-height: 0; }
    .sx-cta__body { padding: 36px 24px; }
    .sx-band { flex-direction: column; align-items: stretch; padding: 32px 24px; gap: 24px; }
    .sx-band h2 { font-size: 30px; }
    .sx-band__actions { flex-direction: column; }

    .sx-tabs-wrap { top: 58px; padding-top: 16px; }
    .sx-tabs { border-radius: 14px; min-height: 56px; padding: 6px; }
    .sx-tabs a { min-height: 44px; padding: 0 14px; font-size: 14px; }
    .sx-tabs .sx-tabs__cta { display: none; }
    .sx-price-cat { scroll-margin-top: 150px; }
    .sx-price-head { flex-direction: column; align-items: flex-start; gap: 16px; }
    .sx-price-head img { width: 72px; height: 72px; border-radius: 18px; }
    .sx-price-head h2 { font-size: 30px; }
    .sx-tiers { grid-template-columns: 1fr; gap: 14px; }
    .sx-tier { padding: 22px; }
    .sx-tier__price { font-size: 36px; }
    .sx-addons { padding: 22px; }
    .sx-addons__grid { grid-template-columns: 1fr 1fr; gap: 20px 0; }
    .sx-addons__grid > div:nth-child(odd) { padding-left: 0; border-left: 0; }
    .sx-duo { grid-template-columns: 1fr; }
    .sx-photo-card__body { padding: 24px; }

    .site-v2 .sx-reviews { padding-top: 80px; }
    .site-v2 .sx-reviews .section-title { font-size: 32px; }
    .site-v2 .footer { margin-top: 80px; }
}

@media (max-width: 575.98px) {
    .sx-wrap { padding: 0 16px; }
    .sx-steps { grid-template-columns: 1fr; }
    .sx-hero__title { font-size: 56px; }
    .sx-paper { font-size: 11px; }
    .sx-paper__photos img { height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
    .sx-sweep { animation: none; background-position: 30% 0; }
    .sx-tri__panel,
    .sx-tri__panel img { transition: none; }
    .site-v2 .hero-bg-image { animation: none; }
}

/* Tlačítko „Moje garáž“ v navigaci (nepřihlášený návštěvník) */
.site-v2 .nav-garage-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid var(--sx-line);
    color: var(--sx-ink);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}

.site-v2 .nav-garage-btn:hover { border-color: var(--sx-brand-strong); color: var(--sx-ink); }

.site-v2.has-dark-hero .navbar:not(.scrolled):not(.menu-open) .nav-garage-btn { border-color: rgba(255, 255, 255, 0.28); color: #FFFFFF; }

/* Konfigurátor — rozložení řádků s úrovněmi */
.site-v2 .configurator-wrapper { max-width: none; margin: 0; }
.site-v2 .result-level-row { display: block; }
.site-v2 .result-level-row + .result-level-row { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--sx-line); }
.site-v2 .result-level-top { gap: 12px; }
.site-v2 .result-level-select { max-width: 200px; padding-top: 8px; padding-bottom: 8px; }
.site-v2 .result-level-desc { font-size: 13px; line-height: 1.45; margin-top: 6px; }
.site-v2 .result-details .result-row:first-child { flex-direction: column; align-items: flex-start; gap: 4px; }
.site-v2 .result-details .result-row:first-child .result-price { font-size: 32px; line-height: 1.1; }

/* ============================================
   PODSTRÁNKY — sdílené komponenty (includes/v2/components.php)
   ============================================ */
.sx-hero__price {
    align-self: flex-start;
    margin-top: 24px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-family: var(--sx-display);
    font-size: 20px;
    color: #FFFFFF;
}

.sx-intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.sx-intro__head { grid-column: span 4; }
.sx-intro__body { grid-column: 6 / span 7; display: flex; flex-direction: column; gap: 18px; }
.sx-intro__body p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--sx-muted); }
.sx-intro__body .sx-intro__lead { font-family: var(--sx-display); font-size: 26px; line-height: 1.4; color: var(--sx-ink); }
.sx-intro__body strong { color: var(--sx-ink); font-weight: 600; }
.sx-intro__aside { display: flex; gap: 12px; padding: 16px 18px; border-radius: 16px; background: var(--sx-surface); border: 1px solid var(--sx-line); font-size: 15px !important; line-height: 1.6 !important; }
.sx-intro__aside i { color: var(--sx-brand-strong); margin-top: 2px; }

.sx-pricebar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.sx-pricebar p { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--sx-muted); }
.sx-pricebar p i { color: var(--sx-brand-strong); }
.sx-pricebar .sx-seg { min-width: 260px; background: var(--sx-surface); border: 1px solid var(--sx-line); }
.sx-pricebar .sx-seg [aria-pressed="true"] { background: var(--sx-ink); color: var(--sx-bg); }

.sx-tier__time { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--sx-surface-2); font-size: 14px; color: var(--sx-muted); }
.sx-tier__time i { color: var(--sx-brand-strong); }

.sx-tier__detail { border-top: 1px solid var(--sx-line-soft); padding-top: 14px; }
.sx-tier__detail summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 600; color: var(--sx-brand-strong); }
.sx-tier__detail summary::-webkit-details-marker { display: none; }
.sx-tier__detail summary i { transition: transform 0.2s ease; }
.sx-tier__detail[open] summary i { transform: rotate(180deg); }
.sx-tier__detail > div { padding-top: 12px; font-size: 14px; line-height: 1.65; color: var(--sx-muted); }
.sx-tier__detail em { display: block; margin-top: 10px; color: var(--sx-ink); font-style: normal; font-weight: 500; }

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

.sx-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.sx-related__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    border-radius: var(--sx-r);
    background: var(--sx-surface);
    border: 1px solid var(--sx-line);
    color: var(--sx-ink) !important;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sx-related__item:hover { border-color: var(--sx-brand-strong); box-shadow: var(--sx-shadow); }
.sx-related__item strong { display: block; font-size: 16px; font-weight: 600; }
.sx-related__item small { display: block; font-size: 14px; color: var(--sx-muted); margin-top: 2px; }
.sx-related__arrow { margin-left: auto; color: var(--sx-brand-strong); transition: transform 0.2s ease; }
.sx-related__item:hover .sx-related__arrow { transform: translateX(3px); }

/* Obecný panel s obsahem (např. „Proč…“, „Jak probíhá…“) */
.sx-panel {
    background: var(--sx-surface);
    border: 1px solid var(--sx-line);
    border-radius: var(--sx-r-lg);
    padding: 48px;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
}

.sx-panel__head { grid-column: span 4; }
.sx-panel__body { grid-column: 6 / span 7; }
.sx-panel__body > p { font-size: 16px; line-height: 1.7; color: var(--sx-muted); margin: 0 0 16px; }

.sx-checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.sx-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.sx-checks li i { color: var(--sx-brand-strong); font-size: 17px; margin-top: 1px; }
.sx-checks--1 { grid-template-columns: 1fr; }

@media (max-width: 991.98px) {
    .sx-intro,
    .sx-panel { display: flex; flex-direction: column; gap: 20px; }
    .sx-intro__body .sx-intro__lead { font-size: 21px; }
    .sx-panel { padding: 24px; }
    .sx-pricebar { flex-direction: column; align-items: stretch; }
    .sx-pricebar .sx-seg { min-width: 0; }
    .sx-tiers--2 { grid-template-columns: 1fr; }
    .sx-related { grid-template-columns: 1fr; gap: 10px; }
    .sx-related__item { padding: 16px; }
    .sx-checks { grid-template-columns: 1fr; }
}
.sx-tier__feat li.is-excluded { color: var(--sx-faint); }
.sx-tier__feat li.is-excluded i { color: var(--sx-faint); }

.sx-process { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.sx-process li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.55; }
.sx-process b { width: 28px; height: 28px; border-radius: 50%; background: var(--sx-tint); color: var(--sx-brand-strong); font-family: var(--sx-display); font-size: 14px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Přehled služeb — karty s fotkou */
.sx-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.sx-card-photo {
    position: relative;
    min-height: 440px;
    border-radius: var(--sx-r-lg);
    overflow: hidden;
    color: #FFFFFF !important;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    isolation: isolate;
    background: var(--sx-night-2);
}

.sx-card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.8s ease; }
.sx-card-photo:hover img { transform: scale(1.04); }
.sx-card-photo::after { content: ''; position: absolute; inset: 25% 0 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 13, 25, 0.94) 0%, rgba(5, 13, 25, 0) 100%); }
.sx-card-photo__body { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.sx-card-photo__group { font-family: var(--sx-display); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: #9FD4FF; }
.sx-card-photo h2 { font-size: 32px; line-height: 1.05; margin: 0; color: #FFFFFF; }
.sx-card-photo p { margin: 0; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, 0.78); }
.sx-card-photo__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; margin-top: 4px; border-top: 1px solid rgba(255, 255, 255, 0.18); font-family: var(--sx-display); font-size: 20px; }
.sx-card-photo__foot i { transition: transform 0.2s ease; }
.sx-card-photo:hover .sx-card-photo__foot i { transform: translateX(4px); }

@media (max-width: 991.98px) {
    .sx-cards { grid-template-columns: 1fr; gap: 12px; }
    .sx-card-photo { min-height: 320px; }
    .sx-card-photo__body { padding: 20px; }
    .sx-card-photo h2 { font-size: 28px; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .sx-cards { grid-template-columns: 1fr 1fr; }
}

/* Galerie */
.sx-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 260px; grid-auto-flow: dense; gap: 16px; }
.sx-gallery__item { position: relative; margin: 0; border-radius: var(--sx-r); overflow: hidden; background: var(--sx-night-2); }
.sx-gallery__item--wide { grid-column: span 2; }
.sx-gallery__item--tall { grid-row: span 2; }
.sx-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s ease; }
.sx-gallery__item:hover img { transform: scale(1.04); }

.sx-gallery__item figcaption {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(5, 13, 25, 0.62);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-size: 13px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.sx-gallery__item:hover figcaption { opacity: 1; transform: none; }

.sx-insta {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 36px 40px;
    border-radius: var(--sx-r-lg);
    background: var(--sx-surface);
    border: 1px solid var(--sx-line);
}

.sx-insta__icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: #FFFFFF;
    background: linear-gradient(135deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
}

.sx-insta h2 { font-size: 30px; margin: 0 0 6px; }
.sx-insta p { margin: 0; font-size: 16px; color: var(--sx-muted); }
.sx-insta .sx-btn { margin-left: auto; }

@media (max-width: 991.98px) {
    .sx-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; gap: 10px; }
    .sx-gallery__item figcaption { opacity: 1; transform: none; font-size: 12px; }
    .sx-insta { flex-direction: column; align-items: flex-start; padding: 24px; gap: 16px; }
    .sx-insta .sx-btn { margin-left: 0; width: 100%; }
}

/* Dárkové poukazy */
.sx-voucher { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.sx-voucher__visual { grid-column: span 7; }
.sx-voucher__visual img { width: 100%; border-radius: 16px; box-shadow: var(--sx-shadow-strong); transform: rotate(-1.5deg); display: block; }
.sx-voucher__visual p { margin: 24px 0 0; display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--sx-faint); }
.sx-voucher__text { grid-column: 9 / span 4; }
.sx-voucher__subhead { font-family: var(--sx-font) !important; font-size: 13px; font-weight: 600 !important; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sx-faint); margin: 32px 0 16px; }
.sx-voucher .sx-process em { font-style: normal; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--sx-surface-2); color: var(--sx-muted); margin-left: 6px; }
.sx-voucher .sx-process strong { font-weight: 600; }

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

.sx-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sx-features > div { padding: 28px; border-radius: var(--sx-r); background: var(--sx-surface); border: 1px solid var(--sx-line); display: flex; flex-direction: column; gap: 12px; }
.sx-features h3 { font-size: 20px; margin: 4px 0 0; }
.sx-features p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--sx-muted); }

@media (max-width: 991.98px) {
    .sx-voucher { display: flex; flex-direction: column; gap: 36px; }
    .sx-voucher__visual img { transform: none; }
    .sx-steps--3,
    .sx-features { grid-template-columns: 1fr; }
}

/* FAQ */
.sx-faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.sx-faq__side { grid-column: span 4; position: sticky; top: 110px; }
.sx-faq__contact { display: flex; flex-direction: column; gap: 10px; }
.sx-faq__list { grid-column: 6 / span 7; }

.site-v2 .sx-faq .accordion { --bs-accordion-bg: transparent; --bs-accordion-border-color: var(--sx-line); }
.site-v2 .sx-faq .accordion-item { background: var(--sx-surface); border: 1px solid var(--sx-line) !important; border-radius: 18px !important; margin-bottom: 10px; overflow: hidden; }
.site-v2 .sx-faq .accordion-button {
    background: transparent;
    color: var(--sx-ink);
    font-family: var(--sx-font);
    font-size: 17px;
    font-weight: 600;
    padding: 22px 24px;
    box-shadow: none;
}

.site-v2 .sx-faq .accordion-button i { color: var(--sx-brand-strong) !important; font-size: 18px; }
.site-v2 .sx-faq .accordion-button:not(.collapsed) { background: transparent; color: var(--sx-brand-strong); }
.site-v2 .sx-faq .accordion-button:focus { box-shadow: 0 0 0 3px var(--sx-tint); }
.site-v2 .sx-faq .accordion-body { padding: 0 24px 24px 60px; font-size: 16px; line-height: 1.7; color: var(--sx-muted); }
.site-v2 .sx-faq .accordion-body strong { color: var(--sx-ink); }
.site-v2 .sx-faq .accordion-body .text-primary { color: var(--sx-brand-strong) !important; }
.site-v2 .sx-faq .accordion-body > :last-child { margin-bottom: 0; }
.site-v2 .sx-faq .accordion-body ul { padding-left: 1.2em; }
:root[data-theme="dark"] .site-v2 .sx-faq .accordion-button::after { filter: invert(1); }

@media (max-width: 991.98px) {
    .sx-faq { display: flex; flex-direction: column; gap: 28px; }
    .sx-faq__side { position: static; }
    .site-v2 .sx-faq .accordion-button { font-size: 16px; padding: 18px; }
    .site-v2 .sx-faq .accordion-body { padding: 0 18px 20px; }
}

/* Kontakt */
.sx-contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.sx-contact__main { grid-column: span 7; }
.sx-contact__info { grid-column: 9 / span 4; }

.sx-contact__phone {
    display: block;
    font-family: var(--sx-display);
    font-size: clamp(48px, 6vw, 84px);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--sx-ink) !important;
    text-decoration: none;
    margin: 4px 0 32px;
}

.sx-contact__phone:hover { color: var(--sx-brand-strong) !important; }

.sx-contact__rows { display: flex; flex-direction: column; }

.sx-contact__rows a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-top: 1px solid var(--sx-line);
    color: var(--sx-ink) !important;
    text-decoration: none;
}

.sx-contact__rows a:last-child { border-bottom: 1px solid var(--sx-line); }
.sx-contact__rows strong { display: block; font-size: 17px; font-weight: 600; }
.sx-contact__rows small { display: block; font-size: 14px; color: var(--sx-muted); }
.sx-contact__rows > a > i { margin-left: auto; color: var(--sx-brand-strong); transition: transform 0.2s ease; }
.sx-contact__rows a:hover > i { transform: translateX(4px); }

.sx-features--stack { grid-template-columns: 1fr; gap: 14px; }
.sx-features strong { color: var(--sx-ink); font-weight: 600; }

.sx-map { border-radius: var(--sx-r-lg); overflow: hidden; border: 1px solid var(--sx-line); background: var(--sx-surface); line-height: 0; }
:root[data-theme="dark"] .sx-map iframe { filter: invert(0.9) hue-rotate(180deg); }

.sx-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; margin: 0; }
.sx-dl dt { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sx-faint); }
.sx-dl dd { margin: 4px 0 0; font-size: 18px; font-weight: 500; color: var(--sx-ink); }

@media (max-width: 991.98px) {
    .sx-contact { display: flex; flex-direction: column; gap: 32px; }
    .sx-contact__phone { margin-bottom: 20px; }
    .sx-map iframe { height: 320px; }
    .sx-dl { grid-template-columns: 1fr; }
}

/* ============================================
   ZÁKAZNICKÝ PORTÁL (body.portal-v2) — restyle stávajícího markupu
   ============================================ */
.site-v2 .glass-card {
    background: var(--sx-surface);
    border: 1px solid var(--sx-line);
    border-radius: 22px;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transform: none;
}

.site-v2 .glass-card:hover { transform: none; box-shadow: none; border-color: var(--sx-line); }

.site-v2 .btn { border-radius: 12px; font-family: var(--sx-font); font-weight: 600; }
.site-v2 .btn-primary { background: var(--sx-brand-strong); border-color: var(--sx-brand-strong); color: var(--sx-brand-ink); box-shadow: none; }
.site-v2 .btn-primary:hover,
.site-v2 .btn-primary:focus { background: var(--sx-brand-strong-hover); border-color: var(--sx-brand-strong-hover); color: var(--sx-brand-ink); transform: none; box-shadow: none; }
.site-v2 .btn-outline-secondary { border-color: var(--sx-line); color: var(--sx-ink); background: var(--sx-surface); }
.site-v2 .btn-outline-secondary:hover { border-color: var(--sx-brand-strong); color: var(--sx-ink); background: var(--sx-surface); }
.site-v2 .btn-outline-primary { border-color: var(--sx-brand-strong); color: var(--sx-brand-strong); }
.site-v2 .btn-outline-primary:hover { background: var(--sx-brand-strong); color: var(--sx-brand-ink); }

.site-v2 .alert { border-radius: 14px; border: 1px solid transparent; }
.site-v2 .alert-success { background: rgba(31, 168, 85, 0.1); border-color: rgba(31, 168, 85, 0.25); color: var(--sx-ink); }
.site-v2 .alert-warning { background: var(--sx-warn-bg); border-color: rgba(178, 94, 0, 0.25); color: var(--sx-ink); }
.site-v2 .alert-danger { background: rgba(220, 38, 38, 0.08); border-color: rgba(220, 38, 38, 0.22); color: var(--sx-ink); }

.portal-v2 main > .container { max-width: 1248px; padding-top: 8px; }

/* Formuláře */
.portal-v2 .portal-input-group { border-radius: 12px; border-color: var(--sx-line); background: var(--sx-surface); }
.portal-v2 .portal-input-group:focus-within { border-color: var(--sx-brand-strong); box-shadow: 0 0 0 3px var(--sx-tint); }
.portal-v2 .form-label,
.portal-v2 .portal-input-group .form-label { font-size: 14px; font-weight: 600; color: var(--sx-ink); }
.portal-v2 .form-control,
.portal-v2 .form-select { border-radius: 12px; border-color: var(--sx-line); background-color: var(--sx-surface); color: var(--sx-ink); }
.portal-v2 .form-control:focus,
.portal-v2 .form-select:focus { border-color: var(--sx-brand-strong); box-shadow: 0 0 0 3px var(--sx-tint); }
.portal-v2 .portal-btn-submit { border-radius: 14px; min-height: 52px; background: var(--sx-brand-strong); border: 0; color: var(--sx-brand-ink); font-weight: 600; font-size: 16px; }
.portal-v2 .portal-btn-submit:hover { background: var(--sx-brand-strong-hover); }

/* Přihlášení / registrace */
.portal-v2 .portal-auth-card { border-radius: 24px; box-shadow: var(--sx-shadow); }
.portal-v2 .portal-auth-title,
.portal-v2 .portal-info-title { font-family: var(--sx-display); font-weight: 500; letter-spacing: -0.02em; }
.portal-v2 .portal-info-title { font-size: 44px; line-height: 1.08; }
.portal-v2 .portal-info-badge { border-radius: 999px; background: var(--sx-tint); color: var(--sx-brand-strong); }

/* Přehled — uvítání */
.portal-v2 .portal-welcome { padding-bottom: 8px; }
.portal-v2 .portal-dashboard-title { font-family: var(--sx-display); font-size: 40px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
.portal-v2 .portal-info-text { color: var(--sx-muted); font-size: 15px; }

.portal-v2 .portal-dash-btn { height: 46px; min-width: 46px; border-radius: 14px; border: 1px solid var(--sx-line); background: var(--sx-surface); color: var(--sx-ink); font-weight: 600; box-shadow: none; }
.portal-v2 .portal-dash-btn:hover { border-color: var(--sx-brand-strong); color: var(--sx-ink); transform: none; }
.portal-v2 .portal-dash-btn-primary { background: var(--sx-brand-strong); border-color: var(--sx-brand-strong); color: var(--sx-brand-ink); padding: 0 18px; }
.portal-v2 .portal-dash-btn-primary:hover { background: var(--sx-brand-strong-hover); color: var(--sx-brand-ink); }

.portal-v2 .portal-features { gap: 8px; }
.portal-v2 .portal-feature { padding: 6px 12px; border-radius: 999px; background: var(--sx-surface); border: 1px solid var(--sx-line); font-size: 13px; color: var(--sx-muted); }
.portal-v2 .portal-feature > i:first-child { color: var(--sx-brand-strong); }

/* Přehled — statistiky */
.portal-v2 .portal-dash-stats { gap: 16px; }
.portal-v2 .portal-dash-stat { padding: 20px 22px; border-radius: 20px; background: var(--sx-surface); border: 1px solid var(--sx-line); box-shadow: none; gap: 16px; }
.portal-v2 .portal-dash-stat-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--sx-tint); color: var(--sx-brand-strong); font-size: 20px; }
.portal-v2 .portal-dash-stat-alert .portal-dash-stat-icon { background: var(--sx-warn-bg); color: var(--sx-warn); }
.portal-v2 .portal-dash-stat-val { font-family: var(--sx-display); font-size: 30px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; color: var(--sx-ink); }
.portal-v2 .portal-dash-stat-label { font-size: 13px; color: var(--sx-muted); text-transform: none; letter-spacing: 0; }

/* Upozornění */
.portal-v2 .portal-alert-card { padding: 16px 20px; border-radius: 16px; font-size: 15px; color: var(--sx-ink) !important; }
.portal-v2 .portal-alert-card > i:first-child { font-size: 18px; }
.portal-v2 .portal-alert-danger { background: rgba(220, 38, 38, 0.06); border-color: rgba(220, 38, 38, 0.22); }
.portal-v2 .portal-alert-danger > i:first-child { color: #DC2626; }
.portal-v2 .portal-alert-warning { background: var(--sx-warn-bg); border-color: rgba(178, 94, 0, 0.25); }
.portal-v2 .portal-alert-warning > i:first-child { color: var(--sx-warn); }

/* Karty vozidel */
.portal-v2 .portal-vehicle-card { border-radius: 22px; overflow: hidden; }
.portal-v2 .portal-vehicle-accent { height: 4px; }
.portal-v2 .portal-vehicle-clickable { transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.portal-v2 .portal-vehicle-clickable:hover { border-color: var(--sx-brand-strong); box-shadow: var(--sx-shadow); }
.portal-v2 .portal-vehicle-card h3,
.portal-v2 .portal-vehicle-card h2 { font-family: var(--sx-display); font-weight: 500; }

/* SPZ jako česká registrační značka */
.site-v2 .portal-vehicle-plate {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 0 7px 0 0;
    border: 1.5px solid #0C1A2B;
    border-radius: 5px;
    background: #FFFFFF;
    color: #0C1A2B;
    font-family: var(--sx-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1;
    overflow: hidden;
}

.site-v2 .portal-vehicle-plate::before {
    content: "CZ";
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    margin-right: 6px;
    padding: 0 3px 2px;
    background: #1D4ED8;
    color: #FFFFFF;
    font-size: 7px;
    letter-spacing: 0.02em;
}

/* Detail vozidla a sekce */
.portal-v2 .portal-section-title,
.portal-v2 .portal-edit-section-title,
.portal-v2 .portal-drawer-title { font-family: var(--sx-display); font-weight: 500; }
.portal-v2 .portal-back-link { color: var(--sx-muted); font-weight: 500; }
.portal-v2 .portal-back-link:hover { color: var(--sx-brand-strong); }
.portal-v2 .portal-action-btn { border-radius: 12px; }
.portal-v2 .portal-drawer { background: var(--sx-surface); }
.portal-v2 .portal-cost-pill { border-radius: 999px; }

@media (max-width: 991.98px) {
    .portal-v2 .portal-dashboard-title { font-size: 30px; }
    .portal-v2 .portal-info-title { font-size: 32px; }
    .portal-v2 .portal-dash-stat-val { font-size: 24px; }
}

/* Portál: body už má odsazení pod plovoucí navigací */
.portal-v2 .portal-dashboard-page,
.portal-v2 .portal-auth-page { padding-top: 0 !important; min-height: 0; background: transparent; }
.portal-v2 .portal-auth-page { padding-bottom: 32px; }

@media (max-width: 767.98px) {
    .portal-v2 .portal-dash-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .portal-v2 .portal-dash-stat { flex-direction: row; align-items: center; text-align: left; padding: 14px 16px; gap: 12px; }
    .portal-v2 .portal-dash-stat:last-child:nth-child(odd) { grid-column: span 2; }
    .portal-v2 .portal-dash-stat-icon { width: 40px; height: 40px; font-size: 18px; flex-shrink: 0; }
    .portal-v2 .portal-dash-stat-val { font-size: 22px; white-space: nowrap; }
}
@media (max-width: 767.98px) {
    .portal-v2 .portal-dash-stat { justify-content: flex-start; }
    .portal-v2 .portal-dash-stat > div:last-child { text-align: left; margin: 0; }
}

/* Galerie z adminu — popisek a lightbox (js/main.js, sekce 9) */
/* Galerie z adminu: sloupce (masonry) — fotky celé, bez ořezu, v poměru stran */
.sx-masonry { columns: 3; column-gap: 16px; }
.sx-masonry__item { position: relative; display: block; margin: 0 0 16px; break-inside: avoid; border-radius: var(--sx-r); overflow: hidden; background: var(--sx-surface-2); cursor: zoom-in; }
.sx-masonry__item img { display: block; width: 100%; height: auto; transition: transform 0.8s ease; }
.sx-masonry__item:hover img { transform: scale(1.03); }
.sx-masonry__item:focus-visible { outline: 3px solid var(--sx-brand); outline-offset: 3px; }
@media (max-width: 991.98px) { .sx-masonry { columns: 2; column-gap: 10px; } .sx-masonry__item { margin-bottom: 10px; border-radius: 14px; } }

a.sx-gallery__item { display: block; cursor: zoom-in; }
.sx-gallery__caption {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: fit-content;
    max-width: calc(100% - 24px);
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(5, 13, 25, 0.62);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
a.sx-gallery__item:hover .sx-gallery__caption,
a.sx-gallery__item:focus-visible .sx-gallery__caption,
.sx-masonry__item:hover .sx-gallery__caption,
.sx-masonry__item:focus-visible .sx-gallery__caption { opacity: 1; transform: none; }
@media (hover: none) { .sx-masonry__item .sx-gallery__caption { opacity: 1; transform: none; } }

.sx-lb {
    position: fixed;
    inset: 0;
    z-index: 2147483000; /* nad plovoucí bublinou WhatsAppu (Elfsight) */
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(4, 9, 17, 0.94);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.sx-lb.is-open { display: flex; }
.sx-lb__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 94vw; }
.sx-lb__img { max-width: 94vw; max-height: 82vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); user-select: none; }
.sx-lb__cap { color: rgba(255, 255, 255, 0.85); font-size: 15px; text-align: center; max-width: 720px; min-height: 1em; }
.sx-lb__count { position: absolute; top: 24px; left: 24px; color: rgba(255, 255, 255, 0.7); font-size: 14px; font-family: var(--sx-display); letter-spacing: 0.06em; }
.sx-lb__btn {
    position: absolute;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.sx-lb__btn:hover { background: rgba(255, 255, 255, 0.2); }
.sx-lb__close { top: 16px; right: 16px; }
.sx-lb__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.sx-lb__next { right: 20px; top: 50%; transform: translateY(-50%); }
body.sx-lb-open { overflow: hidden; }

@media (max-width: 767.98px) {
    .sx-lb__prev,
    .sx-lb__next { top: auto; bottom: 20px; transform: none; }
    .sx-lb__prev { left: calc(50% - 64px); }
    .sx-lb__next { right: calc(50% - 64px); }
    .sx-lb__img { max-height: 72vh; border-radius: 8px; }
    .sx-lb__figure { margin-bottom: 64px; }
}

/* Navigace na užších desktopech (992–1279 px): nic se nesmí zalomit */
.site-v2 .nav-link,
.site-v2 .nav-garage-btn,
.site-v2 .nav-phone-btn { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1279.98px) {
    .site-v2 .navbar > .container { padding-left: 16px; gap: 4px; }
    .site-v2 .navbar-logo { height: 28px; max-width: 130px; }
    .site-v2 .nav-link { font-size: 14px; padding: 8px 8px !important; }
    .site-v2 .nav-garage-btn span,
    .site-v2 .nav-phone-btn span { display: none; }
    .site-v2 .nav-garage-btn,
    .site-v2 .nav-phone-btn { width: 44px; padding: 0; justify-content: center; }
}

/* Nad úvodní fotkou menu odsadit od její horní hrany; po odscrollování zpět nahoru */
.site-v2 .navbar { transition: top 0.3s ease; }
.site-v2.has-dark-hero .navbar:not(.scrolled) { top: 32px; }
@media (max-width: 991.98px) {
    .site-v2.has-dark-hero .navbar:not(.scrolled) { top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .site-v2 .navbar { transition: none; }
}

/* Vlajky CZ / GB (náhrada za celou knihovnu flag-icons z CDN) */
.fi { display: inline-block; position: relative; width: 1.333em; line-height: 1em; background-size: cover; background-position: 50%; background-repeat: no-repeat; border-radius: 2px; vertical-align: -0.1em; }
.fi::before { content: "\00a0"; }
.fi-cz { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 4'%3E%3Cpath fill='%23d7141a' d='M0 0h6v4H0z'/%3E%3Cpath fill='%23fff' d='M0 0h6v2H0z'/%3E%3Cpath fill='%2311457e' d='M0 0l3 2-3 2z'/%3E%3C/svg%3E"); }
.fi-gb { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Cpath fill='%23012169' d='M0 0h60v30H0z'/%3E%3Cpath stroke='%23fff' stroke-width='6' d='M0 0l60 30M60 0L0 30'/%3E%3Cpath stroke='%23C8102E' stroke-width='3' d='M0 0l60 30M60 0L0 30'/%3E%3Cpath stroke='%23fff' stroke-width='10' d='M30 0v30M0 15h60'/%3E%3Cpath stroke='%23C8102E' stroke-width='6' d='M30 0v30M0 15h60'/%3E%3C/svg%3E"); }

/* Klíčová slova v H1: nadtitulek je součástí nadpisu, vypadá ale stejně jako dřív */
.sx-hero__title .sx-hero__kicker { display: flex; margin: 0 0 22px; font-family: var(--sx-font); font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: 0.16em; color: #9FD4FF; }
@media (max-width: 991.98px) { .sx-hero__title .sx-hero__kicker { font-size: 12px; margin-bottom: 16px; } }

/* Textová stránka (zásady cookies apod.) */
.site-v2 .sx-doc { max-width: 720px; font-size: 16px; line-height: 1.7; color: var(--sx-muted); }
.site-v2 .sx-doc h2 { font-family: 'Jost', sans-serif; font-size: 22px; font-weight: 600; color: var(--sx-ink); margin: 36px 0 12px; }
.site-v2 .sx-doc strong { color: var(--sx-ink); }
.site-v2 .sx-doc ul { padding-left: 1.2em; }
.site-v2 .sx-doc li { margin-bottom: 8px; }
.site-v2 .sx-doc a { color: var(--sx-brand-strong); text-decoration: underline; }

/* ============================================================
   Blog (/blog, /blog/<slug>) — sekce článku .bl-* z includes/blog.php
   ============================================================ */
.site-v2 .bl-preview-bar { position: sticky; top: 0; z-index: 1040; background: var(--sx-warn-bg); color: var(--sx-warn); text-align: center; font-size: 14px; font-weight: 600; padding: 8px 16px; }

/* Rozcestník */
.site-v2 .bl-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.site-v2 .bl-filter a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--sx-line); color: var(--sx-muted); font-size: 14px; font-weight: 600; text-decoration: none; }
.site-v2 .bl-filter a:hover { border-color: var(--sx-brand-strong); color: var(--sx-brand-strong); }
.site-v2 .bl-filter a.is-active { background: var(--sx-ink); border-color: var(--sx-ink); color: var(--sx-bg); }
.site-v2 .bl-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.site-v2 .bl-post { display: flex; flex-direction: column; background: var(--sx-surface); border: 1px solid var(--sx-line); border-radius: var(--sx-r); overflow: hidden; color: var(--sx-ink); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.site-v2 .bl-post:hover { border-color: var(--sx-brand-strong); box-shadow: var(--sx-shadow); transform: translateY(-2px); }
.site-v2 .bl-post__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sx-tint); }
.site-v2 .bl-post__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.site-v2 .bl-post:hover .bl-post__img img { transform: scale(1.04); }
.site-v2 .bl-post__body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; flex: 1; }
.site-v2 .bl-post__cat { font-family: var(--sx-display); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sx-brand-strong); }
.site-v2 .bl-post__title { font-family: var(--sx-display); font-size: 22px; font-weight: 500; line-height: 1.2; }
.site-v2 .bl-post__excerpt { font-size: 15px; line-height: 1.55; color: var(--sx-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.site-v2 .bl-post__meta { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--sx-faint); }
.site-v2 .bl-post__meta i { color: var(--sx-brand-strong); transition: transform .2s ease; }
.site-v2 .bl-post:hover .bl-post__meta i { transform: translateX(3px); }
/* první (nejnovější / doporučený) článek přes celou šířku, fotka vedle textu */
.site-v2 .bl-post--big { grid-column: span 3; flex-direction: row; }
.site-v2 .bl-post--big .bl-post__img { flex: 0 0 58%; aspect-ratio: auto; min-height: 340px; }
.site-v2 .bl-post--big .bl-post__body { padding: 40px; justify-content: center; }
.site-v2 .bl-post--big .bl-post__title { font-size: 34px; }
.site-v2 .bl-post--big .bl-post__meta { margin-top: 12px; }
.site-v2 .bl-empty { text-align: center; padding: 64px 16px; border: 1px dashed var(--sx-line-strong); border-radius: var(--sx-r); color: var(--sx-muted); }
.site-v2 .bl-empty i { font-size: 40px; color: var(--sx-brand-strong); }
.site-v2 .bl-empty p { margin: 12px 0 20px; }

/* Hlavička článku */
.site-v2 .bl-crumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-family: var(--sx-display); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.site-v2 .bl-crumbs a { color: #9FD4FF; text-decoration: none; }
.site-v2 .bl-crumbs a:hover { color: #FFFFFF; }
.site-v2 .bl-crumbs i { font-size: 10px; color: rgba(255, 255, 255, 0.5); }
.site-v2 .bl-hero .bl-hero__title { font-size: clamp(36px, 4.2vw, 60px); }
.site-v2 .bl-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.78); }
.site-v2 .bl-meta i { color: #9FD4FF; margin-right: 4px; }

/* Tělo článku */
.site-v2 .bl-article { max-width: 760px; margin: 0 auto; font-size: 18px; line-height: 1.75; color: var(--sx-muted); }
.site-v2 .bl-article > * + * { margin-top: 32px; }
.site-v2 .bl-text h2 { font-family: var(--sx-display); font-size: 30px; font-weight: 500; line-height: 1.2; color: var(--sx-ink); margin: 48px 0 16px; }
.site-v2 .bl-text h3 { font-family: var(--sx-display); font-size: 22px; font-weight: 500; color: var(--sx-ink); margin: 32px 0 10px; }
.site-v2 .bl-text > :first-child { margin-top: 0; }
.site-v2 .bl-text > :last-child { margin-bottom: 0; }
.site-v2 .bl-text strong { color: var(--sx-ink); }
.site-v2 .bl-text a { color: var(--sx-brand-strong); text-decoration: underline; text-underline-offset: 3px; }
.site-v2 .bl-text ul, .site-v2 .bl-text ol { padding-left: 1.3em; }
.site-v2 .bl-text li { margin-bottom: 6px; }
.site-v2 .bl-summary { background: var(--sx-tint); border-radius: var(--sx-r); padding: 26px 30px; color: var(--sx-ink); }
.site-v2 .bl-summary__t { font-family: var(--sx-display); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sx-brand-strong); margin: 0 0 10px; }
.site-v2 .bl-summary ul { margin: 0; padding-left: 1.2em; font-size: 17px; line-height: 1.6; }
.site-v2 .bl-summary li + li { margin-top: 6px; }
.site-v2 .bl-image { margin-left: 0; margin-right: 0; }
.site-v2 .bl-image img { width: 100%; border-radius: var(--sx-r); display: block; }
.site-v2 .bl-image figcaption, .site-v2 .bl-video figcaption { font-size: 14px; color: var(--sx-faint); margin-top: 10px; text-align: center; }
.site-v2 .bl-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.site-v2 .bl-gallery a { display: block; aspect-ratio: 4 / 3; border-radius: var(--sx-r-sm); overflow: hidden; }
.site-v2 .bl-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.site-v2 .bl-gallery a:hover img { transform: scale(1.05); }
.site-v2 .bl-video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--sx-r); overflow: hidden; background: #000 center / cover no-repeat; cursor: pointer; }
.site-v2 .bl-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.site-v2 .bl-video__play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.92); color: var(--sx-ink); font-size: 36px; display: grid; place-items: center; box-shadow: var(--sx-shadow-strong); }
.site-v2 .bl-notice { display: flex; gap: 14px; padding: 20px 24px; border-radius: var(--sx-r-sm); border: 1px solid var(--sx-line); background: var(--sx-surface); font-size: 16px; line-height: 1.6; }
.site-v2 .bl-notice > i { font-size: 22px; line-height: 1.2; color: var(--sx-brand-strong); }
.site-v2 .bl-notice strong { display: block; color: var(--sx-ink); margin-bottom: 2px; }
.site-v2 .bl-notice p { margin: 0; }
.site-v2 .bl-notice--warning { background: var(--sx-warn-bg); border-color: transparent; }
.site-v2 .bl-notice--warning > i { color: var(--sx-warn); }
:root[data-theme="dark"] .site-v2 .bl-notice--warning { background: rgba(178, 94, 0, 0.16); }
.site-v2 .bl-notice--success > i { color: var(--sx-wa); }
.site-v2 .bl-steps { list-style: none; padding: 0; counter-reset: bl-step; display: grid; gap: 14px; }
.site-v2 .bl-steps li { counter-increment: bl-step; position: relative; padding: 20px 24px 20px 76px; background: var(--sx-surface); border: 1px solid var(--sx-line); border-radius: var(--sx-r-sm); }
.site-v2 .bl-steps li::before { content: counter(bl-step); position: absolute; left: 22px; top: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--sx-brand-strong); color: #fff; font-family: var(--sx-display); font-weight: 600; display: grid; place-items: center; }
.site-v2 .bl-steps h3 { font-family: var(--sx-display); font-size: 19px; font-weight: 500; color: var(--sx-ink); margin: 4px 0; }
.site-v2 .bl-steps p { margin: 0; font-size: 16px; line-height: 1.6; }
.site-v2 .bl-faq { display: grid; gap: 10px; }
.site-v2 .bl-faq__item { background: var(--sx-surface); border: 1px solid var(--sx-line); border-radius: var(--sx-r-sm); padding: 0 22px; }
.site-v2 .bl-faq__item summary { cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--sx-ink); font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.site-v2 .bl-faq__item summary::after { content: "+"; color: var(--sx-brand-strong); font-size: 22px; line-height: 1; transition: transform .2s ease; }
.site-v2 .bl-faq__item[open] summary::after { transform: rotate(45deg); }
.site-v2 .bl-faq__item summary::-webkit-details-marker { display: none; }
.site-v2 .bl-faq__item p { margin: 0 0 18px; font-size: 16px; line-height: 1.65; }
.site-v2 .bl-table { overflow-x: auto; border: 1px solid var(--sx-line); border-radius: var(--sx-r-sm); }
.site-v2 .bl-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.site-v2 .bl-table th, .site-v2 .bl-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--sx-line-soft); }
.site-v2 .bl-table th { background: var(--sx-tint); color: var(--sx-ink); font-weight: 600; }
.site-v2 .bl-table tr:last-child td { border-bottom: 0; }
.site-v2 .bl-service { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: var(--sx-surface); border: 1px solid var(--sx-line); border-radius: var(--sx-r-sm); color: var(--sx-ink); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.site-v2 .bl-service:hover { border-color: var(--sx-brand-strong); box-shadow: var(--sx-shadow); }
.site-v2 .bl-service em { display: block; font-style: normal; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sx-brand-strong); }
.site-v2 .bl-service strong { display: block; font-size: 18px; }
.site-v2 .bl-service small { display: block; font-size: 14px; color: var(--sx-muted); line-height: 1.4; }
.site-v2 .bl-service__arrow { margin-left: auto; color: var(--sx-brand-strong); }
.site-v2 .bl-cta { text-align: center; padding: 40px 28px; border-radius: var(--sx-r); background: var(--sx-night); color: rgba(255, 255, 255, 0.8); }
.site-v2 .bl-cta h2 { font-family: var(--sx-display); font-size: 30px; font-weight: 500; color: #fff; margin: 0 0 8px; }
.site-v2 .bl-cta p { margin: 0 0 22px; font-size: 16px; }
.site-v2 .bl-tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; }
.site-v2 .bl-tags a { font-size: 14px; color: var(--sx-muted); background: var(--sx-tint); border-radius: 999px; padding: 4px 12px; text-decoration: none; }
.site-v2 .bl-tags a:hover { color: var(--sx-brand-strong); }

@media (max-width: 991.98px) {
    .site-v2 .bl-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-v2 .bl-post--big { grid-column: span 2; flex-direction: column; }
    .site-v2 .bl-post--big .bl-post__img { flex: none; min-height: 0; aspect-ratio: 16 / 9; }
    .site-v2 .bl-post--big .bl-post__body { padding: 24px; }
    .site-v2 .bl-post--big .bl-post__title { font-size: 26px; }
}
@media (max-width: 575.98px) {
    .site-v2 .bl-posts { grid-template-columns: 1fr; }
    .site-v2 .bl-post--big { grid-column: auto; }
    .site-v2 .bl-article { font-size: 17px; }
    .site-v2 .bl-text h2 { font-size: 25px; margin-top: 36px; }
    .site-v2 .bl-steps li { padding: 64px 18px 18px; }
    .site-v2 .bl-summary { padding: 22px; }
}

/* Před a po — mřížka párů (galerie, služby, blog) */
.site-v2 .sx-ba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.site-v2 .sx-ba-grid--single { grid-template-columns: minmax(0, 540px); }   /* jeden pár — o ~40 % menší, fotky na výšku jinak zabírají celou obrazovku */
.site-v2 .sx-ba-card { margin: 0; }
.site-v2 .sx-ba-card .sx-compare { box-shadow: var(--sx-shadow); }
.site-v2 .sx-ba-card figcaption { margin-top: 14px; }
.site-v2 .sx-ba-card figcaption strong { display: block; font-family: var(--sx-display); font-size: 20px; font-weight: 500; color: var(--sx-ink); }
.site-v2 .sx-ba-card figcaption span { display: block; font-size: 15px; color: var(--sx-muted); margin-top: 4px; line-height: 1.5; }
@media (max-width: 767.98px) {
    .site-v2 .sx-ba-grid { grid-template-columns: 1fr; gap: 28px; }
    .site-v2 .sx-compare__tag { top: 12px; padding: 5px 10px; font-size: 11px; }
    .site-v2 .sx-compare__tag--before { left: 12px; }
    .site-v2 .sx-compare__tag--after { right: 12px; }
}

/* Fotky „do textu" v článku (Blog::renderBody) */
.site-v2 .bl-article::after { content: ""; display: table; clear: both; }
.site-v2 .bl-article > :not(.bl-text):not(.bl-photo--float) { clear: both; }
.site-v2 .bl-photo { margin: 0; }
.site-v2 .bl-photo a { display: block; border-radius: var(--sx-r); overflow: hidden; cursor: zoom-in; }
.site-v2 .bl-photo img { display: block; width: 100%; height: auto; transition: transform .6s ease; }
.site-v2 .bl-photo a:hover img { transform: scale(1.03); }
.site-v2 .bl-photo figcaption { font-size: 14px; color: var(--sx-faint); margin-top: 8px; line-height: 1.45; }
/* na šířku: o kus širší než text, ať je fotka dominanta */
.site-v2 .bl-photo--wide { margin-left: -60px; margin-right: -60px; }
.site-v2 .bl-photo--wide figcaption { padding: 0 60px; text-align: center; }
/* na výšku: menší vedle textu, střídavě vpravo a vlevo */
.site-v2 .bl-photo--float { width: 42%; margin-top: 6px !important; margin-bottom: 18px; }
.site-v2 .bl-photo--right { float: right; margin-left: 32px; margin-right: -60px; }
.site-v2 .bl-photo--left { float: left; margin-right: 32px; margin-left: -60px; }
.site-v2 .bl-photo--narrow { max-width: 440px; margin-left: auto; margin-right: auto; }
.site-v2 .bl-photo-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-left: -60px; margin-right: -60px; }
.site-v2 .bl-photo-duo .bl-photo img { aspect-ratio: 3 / 4; object-fit: cover; }
.site-v2 .bl-compare { margin-left: -60px; margin-right: -60px; }
.site-v2 .bl-compare figcaption { font-size: 15px; color: var(--sx-muted); margin-top: 12px; text-align: center; }
.site-v2 .bl-compare figcaption strong { color: var(--sx-ink); }
@media (max-width: 991.98px) {
    .site-v2 .bl-photo--wide, .site-v2 .bl-photo-duo, .site-v2 .bl-compare { margin-left: 0; margin-right: 0; }
    .site-v2 .bl-photo--wide figcaption { padding: 0; }
    .site-v2 .bl-photo--right { margin-right: 0; }
    .site-v2 .bl-photo--left { margin-left: 0; }
}
@media (max-width: 575.98px) {
    .site-v2 .bl-photo--float { float: none; width: 100%; margin: 0 !important; }
    .site-v2 .bl-article > .bl-photo--float + * { margin-top: 32px; }
    .site-v2 .bl-photo-duo { gap: 8px; }
}

/* Před / po: fotka PŘED v obalu (ořez posuvníku), uvnitř srovnání transformací */
.sx-compare div.sx-compare__before { position: absolute; inset: 0; overflow: hidden; }
.sx-compare div.sx-compare__before img { transform-origin: 50% 50%; }

/* Před / po po srovnání: scéna s oběma fotkami, rámeček ukazuje jen výřez, kde jsou vidět obě */
.sx-compare__stage { position: absolute; inset: 0; }
.sx-compare.is-cropped .sx-compare__stage { inset: auto; }
.sx-compare.is-cropped .sx-compare__before { clip-path: inset(0 calc(100% - (var(--cx) + var(--pos) * var(--cw))) 0 0); }

/* Výřez titulní fotky článku — vlastní pro počítač a mobil (Blog::heroFocusAttr) */
.bl-hero .sx-hero__img img.has-focus { object-fit: var(--ff); object-position: var(--fp); transform-origin: var(--fp); scale: var(--fz); }
@media (max-width: 767.98px) {
    .bl-hero .sx-hero__img img.has-focus { object-fit: var(--ffm); object-position: var(--fpm); transform-origin: var(--fpm); scale: var(--fzm); }
}

/* Oddálená fotka (výřez pod 100 %): volné místo v rámečku vyplní rozmazaná kopie (photoFocusFill) */
.ph-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(20px) brightness(0.75) saturate(1.1); scale: 1.2; pointer-events: none; }
.sx-gallery__item .ph-fill + img { position: relative; }
.bl-hero__fill { z-index: -3; }

/* Náhled fotky v galerii při hoveru (main.js, sekce 10): obal nese posun + stín, vnitřek ořez */
.sx-peek { position: fixed; z-index: 1020; margin: 0; display: none; pointer-events: none; transition: transform .45s cubic-bezier(.2, .8, .2, 1), filter .45s ease; will-change: transform; }
.sx-peek.is-on { display: block; }
.sx-peek.is-open { filter: drop-shadow(0 24px 48px rgba(5, 13, 25, .45)); }
.sx-peek__clip { position: absolute; inset: 0; background: var(--sx-night-2); transition: clip-path .45s cubic-bezier(.2, .8, .2, 1); }
.sx-peek img { width: 100%; height: 100%; display: block; object-fit: cover; }
.sx-peek figcaption { position: absolute; left: 14px; bottom: 14px; max-width: calc(100% - 28px); padding: 6px 12px; border-radius: 999px; background: rgba(5, 13, 25, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-size: 13px; opacity: 0; transition: opacity .25s ease .2s; }
.sx-peek.is-open figcaption { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .sx-peek, .sx-peek__clip { transition: none; } }

/* Mobilní menu: nikdy na dva řádky (úzké telefony, zvětšené písmo) — logo se raději zmenší */
@media (max-width: 991.98px) {
    .site-v2 .navbar > .container { flex-wrap: nowrap; }
    .site-v2 .navbar-brand { flex: 0 1 auto; min-width: 0; margin-right: 8px; }
    .site-v2 .navbar-logo { display: block; max-width: 100%; object-fit: contain; object-position: left center; }
    .site-v2 .navbar-mobile-tools { flex: 0 0 auto; margin-left: auto; }

    /* Nahoře nad fotkou sedí menu soustředně v rámečku fotky: rámeček je 8 px od kraje
       se zaoblením 26 px, menu o dalších 8 px dovnitř se zaoblením 26 − 8 = 18 px */
    .site-v2 .navbar { transition: top 0.3s ease, left 0.3s ease, right 0.3s ease; }
    .site-v2.has-dark-hero .navbar:not(.scrolled) { top: 16px; left: 16px; right: 16px; }
    .site-v2.has-dark-hero .navbar:not(.scrolled) > .container { border-radius: 18px; }
}
@media (max-width: 399.98px) {
    .site-v2 .navbar > .container { padding: 0 4px 0 14px; }
    .site-v2 .navbar-logo { height: 24px; }
    .site-v2 .navbar-mobile-tools { gap: 2px !important; }
    .site-v2 .navbar-mobile-tools .theme-toggle,
    .site-v2 .navbar-mobile-tools .nav-icon-btn,
    .site-v2 .navbar-mobile-tools .btn-icon-link { width: 40px; height: 40px; }
}
