:root {
    --font-display: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;

    --bg: #0d1117;
    --ink: #ffffff;
    --muted: rgba(255, 255, 255, 0.7);
    --accent: #ffffff;
    --line: rgba(255, 255, 255, 0.16);

    --nav-h: calc(var(--nav-top-h) + var(--nav-bot-h));
    --nav-top-h: 100px;
    --nav-bot-h: 92px;
    --container: 1240px;
    --nav-container: min(97vw, 1680px);
    --gutter: 32px;
    --nav-gutter: 56px;
    --content-offset: clamp(24px, 3vw, 56px);

    /* Brand red — reserved for CTAs, icons, locations, interactive accents */
    --red: #e30613;
    --red-deep: #c4000e;

    /* Secondary — muted slate blue-gray inspired by the hero sky, for calm hierarchy */
    --accent-blue: #4f6d89;
    --accent-build: #5a6b5e;
    --slate-50: #f5f7f9;
    --slate-100: #eef1f5;
    --slate-200: #e4e9ef;
    --slate-300: #d7dee7;

    /*
      Type hierarchy (site-wide)
      1. display   — hero H1 only (bold)
      2. title     — section H2 (thin)
      3. subtitle  — panel / supporting H3 (regular)
      4. ui        — CTAs, eyebrows, active nav
      5. nav       — idle nav / secondary bar labels
      6. body      — leads, lists, default copy
    */
    --weight-display: 700;
    --weight-title: 300;
    --weight-title-feature: 500; /* sections with stronger visual character (e.g. referencie) */
    --weight-subtitle: 400;
    --weight-ui: 600;
    --weight-nav: 500;
    --weight-body: 400;

    --text-display: clamp(2.85rem, 6.4vw, 5.25rem);
    --text-h2: clamp(2rem, 3.5vw, 2.75rem);
    --text-h3: clamp(1.2rem, 1.9vw, 1.45rem);
    --text-lead: clamp(1.05rem, 1.2vw, 1.125rem);
    --text-body: 1.05rem;
    --text-ui: 0.9375rem;
    --text-eyebrow: 0.8125rem;
    --text-caption: 0.875rem;

    --lh-display: 1;
    --lh-title: 1.1;
    --lh-h3: 1.14;
    --lh-lead: 1.65;
    --lh-body: 1.55;

    --tracking-display: -0.04em;
    --tracking-title: -0.03em;
    --tracking-eyebrow: 0.14em;

    /* Icon system — fixed sizes next to text */
    --icon-sm: 16px;
    --icon-md: 20px;
    --icon-lg: 22px;
    --icon-box-sm: 28px;
    --icon-box-md: 34px;
    --icon-box-lg: 42px;

    /* Button system tokens */
    --btn-radius: 0px;
    --btn-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --btn-font-size: var(--text-ui);
    --btn-pad-y: 15px;
    --btn-pad-x: 30px;
    --btn-gap: 10px;
    --btn-icon-box: var(--icon-box-sm);

    /* Shared left rail — aligns section copy with „Stretnime sa“ */
    --section-rail-left: max(
        calc(var(--nav-gutter) + var(--content-offset)),
        calc((100vw - var(--nav-container)) / 2 + var(--nav-gutter) + var(--content-offset))
    );
    --section-rail-right: max(
        var(--nav-gutter),
        calc((100vw - var(--nav-container)) / 2 + var(--nav-gutter))
    );
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
    background-color: #ffffff;
    color-scheme: light;
}

body {
    font-family: var(--font-body);
    font-weight: var(--weight-body);
    background: #ffffff;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    font-optical-sizing: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ---------- NAVBAR ---------- */
/* info-strip removed */

/* ═══════════════════════════════════════════════════════════
   NAVBAR  — adaptive: transparent on hero → white on scroll
═══════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════
   NAVBAR — VSE-style 2-row (top: logo+search+cta | bottom: service tabs)
══════════════════════════════════════════════════════════ */

.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    background: transparent;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.navbar::after {
    content: '';
    position: absolute;
    top: var(--nav-top-h);
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--red);
    z-index: 72;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.subnav-reveal {
    position: absolute;
    /* Sit under the red accent line so it never cuts the stripe */
    top: calc(var(--nav-top-h) + 2px);
    left: max(var(--nav-gutter), calc((100vw - var(--nav-container)) / 2 + var(--nav-gutter)));
    transform: none;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 88px;
    height: 32px;
    padding: 0 14px 2px;
    margin: 0;
    border: 1px solid var(--slate-200);
    border-top: none;
    border-radius: 0 0 10px 10px;
    background: #ffffff;
    color: var(--accent-blue);
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(13, 17, 23, 0.08);
    line-height: 1;
    appearance: none;
    -webkit-appearance: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.28s ease,
        visibility 0.28s ease,
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.2s ease;
}

.subnav-reveal__label {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
}

.subnav-reveal__icon,
.subnav-reveal svg {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    display: block;
    margin: 0;
}

.subnav-reveal:hover,
.subnav-reveal:focus-visible {
    background: var(--slate-50);
    color: #0d1117;
    border-color: var(--slate-300);
    outline: none;
    transform: translateY(2px);
    box-shadow: 0 8px 16px rgba(13, 17, 23, 0.1);
}

html.navbar-sub-hidden .subnav-reveal {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.navbar.scrolled .navbar-top {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.11);
}

/* ── Shared inner container ── */
.nav-inner {
    width: 100%;
    max-width: var(--nav-container);
    margin: 0 auto;
    padding: 0 var(--nav-gutter);
    display: flex;
    align-items: center;
    gap: 24px;
}

/* ── TOP ROW ── */
.navbar-top {
    height: var(--nav-top-h);
    border-bottom: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    transition: box-shadow 0.3s ease;
}

/* ── BOTTOM ROW ── */
.navbar-bottom {
    max-height: var(--nav-bot-h);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: #ffffff;
    box-shadow:
        inset 0 1px 0 var(--slate-200),
        0 4px 14px rgba(13, 17, 23, 0.045);
    flex-shrink: 0;
    position: relative;
    z-index: 60;
    padding-left: 0;
    transition:
        max-height 0.36s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.22s ease,
        backdrop-filter 0.22s ease,
        box-shadow 0.22s ease;
}

html.search-is-open .navbar {
    z-index: 72;
}

html.search-is-open .navbar-bottom {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html.search-is-open {
    --nav-h: var(--nav-top-h);
}

html.search-is-open .subnav-reveal {
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

html.mega-menu-open .navbar-bottom {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html.navbar-sub-hidden .navbar-bottom {
    max-height: 0;
    pointer-events: none;
}

html.navbar-sub-hidden {
    --nav-h: var(--nav-top-h);
}

.nav-inner--sub {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 var(--nav-gutter);
    gap: 0;
    align-items: stretch;
    display: flex;
    height: var(--nav-bot-h);
    min-height: var(--nav-bot-h);
    flex-shrink: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* ─── Bottom row: mega-menu triggers ── */
.snav-item {
    height: 100%;
    position: relative;
}

.snav-item + .snav-item {
    box-shadow: inset 1px 0 0 var(--slate-100);
}

.snav-trigger {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: var(--weight-nav);
    color: #333;
    text-decoration: none;
    padding: 0 32px;
    min-width: 0;
    height: 100%;
    border: none;
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.15s, background 0.15s;
    position: relative;
    border-radius: 6px;
}

.snav-label {
    flex: 1;
    text-align: left;
}

.snav-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    flex-shrink: 0;
}

.snav-icon-wrap svg {
    width: 28px !important;
    height: 28px !important;
    stroke-width: 2.25;
}

.snav-chevron {
    margin-left: auto;
    opacity: 0.45;
    transition: transform 0.22s ease, opacity 0.15s;
    flex-shrink: 0;
}

.snav-item:hover .snav-trigger,
.snav-item.is-open .snav-trigger,
.snav-item.is-current .snav-trigger {
    color: var(--accent-blue);
    background: rgba(79, 109, 137, 0.045);
}

.snav-trigger:focus-visible {
    outline: 2px solid rgba(79, 109, 137, 0.35);
    outline-offset: -2px;
}

.snav-item:hover .snav-chevron,
.snav-item.is-open .snav-chevron {
    opacity: 1;
    transform: rotate(180deg);
}

.snav-trigger::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent-blue);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.snav-item:hover .snav-trigger::after,
.snav-item.is-open .snav-trigger::after,
.snav-item.is-current .snav-trigger::after {
    transform: scaleX(1);
}

/* ─── Language switcher — airy SK / ENG text ── */
.nav-lang-divider {
    width: 1px;
    height: 18px;
    background: rgba(13, 17, 23, 0.1);
    align-self: center;
    margin: 0 14px 0 auto;
    flex-shrink: 0;
}

.nav-lang {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: center;
    padding: 0;
    background: transparent;
    border: none;
    flex-shrink: 0;
    margin-right: 0;
}

.nav-inner--sub .nav-lang {
    margin-right: 0;
}

.nav-lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 0;
    border: none;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: var(--weight-ui);
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
    color: rgba(13, 17, 23, 0.34);
    box-shadow: none;
    opacity: 1;
    transform: none;
    transition: color 0.18s ease;
}

.nav-lang-sep {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 400;
    color: rgba(13, 17, 23, 0.18);
    line-height: 1;
    user-select: none;
}

.nav-lang-flag {
    display: none;
}

.nav-lang-btn:hover:not(.is-active) {
    color: rgba(13, 17, 23, 0.55);
    opacity: 1;
}

.nav-lang-btn.is-active {
    color: rgba(13, 17, 23, 0.82);
    background: transparent;
    box-shadow: none;
    transform: none;
    opacity: 1;
}

.nav-lang-btn:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 3px;
}

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

/* ─── Mega menu — full-width VSE-style panel ── */
.mega-backdrop {
    position: fixed;
    inset: var(--nav-top-h) 0 0 0;
    background: rgba(15, 20, 30, 0.42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s;
    z-index: 45;
}

.mega-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mega-panel {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.14);
    border-top: 1px solid #eee;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 55;
}

.mega-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    z-index: 56;
}

/* Smooth swap between categories — no drop animation / height jump */
html.mega-switching .mega-panel {
    transform: none;
    transition: opacity 0.16s ease, visibility 0.16s;
}

html.mega-switching .mega-panel.is-open {
    transform: none;
}

.mega-panel-inner {
    max-width: var(--nav-container);
    margin: 0 auto;
    padding: 36px var(--nav-gutter) 40px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 0;
    align-items: stretch;
    /* Runtime: Projekčná/Výstavba were 346px, Inžinierska 336px — lock to tallest */
    height: var(--mega-inner-h, 346px);
    min-height: var(--mega-inner-h, 346px);
    box-sizing: border-box;
}

.mega-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

#megaProjekcna .mega-cols {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

#megaProjekcna .mega-col:first-child .mega-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(5, auto);
    grid-auto-flow: column;
    column-gap: 28px;
}

#megaInzinierska .mega-cols,
#megaVystavba .mega-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mega-col {
    padding: 4px 36px 8px 0;
    border-right: 1px solid #ececec;
    margin-right: 36px;
}

.mega-col:last-child {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
}

.mega-col-hd {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--accent-blue);
    margin-bottom: 16px;
}

.mega-list {
    list-style: none;
}

.mega-lnk {
    display: block;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: var(--weight-body);
    color: #222;
    text-decoration: none;
    padding: 9px 0;
    transition: color 0.15s ease, padding-left 0.15s ease;
    white-space: nowrap;
}

.mega-lnk:hover {
    color: #e30613;
    padding-left: 6px;
}

.mega-promo {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    min-height: 100%;
    height: 100%;
    border: 1px solid var(--slate-200);
    background-color: #e8edf2;
    display: flex;
    flex-direction: column;
}

/* Shared corporate grid / hatch (no photos) */
.mega-promo::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
    background-image:
        linear-gradient(rgba(79, 109, 137, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 109, 137, 0.09) 1px, transparent 1px);
    background-size: 22px 22px;
}

.mega-promo::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(145deg, rgba(232, 237, 242, 0.2) 0%, rgba(232, 237, 242, 0.85) 62%, rgba(232, 237, 242, 0.95) 100%),
        repeating-linear-gradient(
            -18deg,
            transparent 0,
            transparent 11px,
            rgba(79, 109, 137, 0.045) 11px,
            rgba(79, 109, 137, 0.045) 12px
        );
}

/* One static frame per main service category */
#megaProjekcna .mega-promo {
    background-color: #e6ebf1;
}

#megaProjekcna .mega-promo::before {
    background-image:
        linear-gradient(rgba(227, 6, 19, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 109, 137, 0.1) 1px, transparent 1px);
    background-size: 24px 24px;
}

#megaInzinierska .mega-promo {
    background-color: #e9ece8;
}

#megaInzinierska .mega-promo::before {
    background-image:
        linear-gradient(rgba(90, 107, 94, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(90, 107, 94, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

#megaInzinierska .mega-promo::after {
    background:
        linear-gradient(145deg, rgba(233, 236, 232, 0.15) 0%, rgba(233, 236, 232, 0.88) 60%, rgba(233, 236, 232, 0.96) 100%),
        repeating-linear-gradient(
            28deg,
            transparent 0,
            transparent 13px,
            rgba(90, 107, 94, 0.05) 13px,
            rgba(90, 107, 94, 0.05) 14px
        );
}

#megaVystavba .mega-promo {
    background-color: #ece9e6;
}

#megaVystavba .mega-promo::before {
    background-image:
        linear-gradient(rgba(13, 17, 23, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 17, 23, 0.06) 1px, transparent 1px);
    background-size: 18px 18px;
}

#megaVystavba .mega-promo::after {
    background:
        linear-gradient(160deg, rgba(236, 233, 230, 0.1) 0%, rgba(236, 233, 230, 0.9) 55%, rgba(236, 233, 230, 0.97) 100%),
        repeating-linear-gradient(
            -32deg,
            transparent 0,
            transparent 10px,
            rgba(13, 17, 23, 0.04) 10px,
            rgba(13, 17, 23, 0.04) 11px
        );
}

.mega-promo-body {
    position: relative;
    z-index: 2;
    flex: 1;
    min-height: 0;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #0d1117;
}

.mega-promo-tag {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--accent-blue);
    opacity: 1;
    margin-bottom: 10px;
}

#megaProjekcna .mega-promo-tag {
    color: var(--red);
}

#megaInzinierska .mega-promo-tag {
    color: var(--accent-build);
}

#megaVystavba .mega-promo-tag {
    color: #5c534c;
}

.mega-promo-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: var(--weight-subtitle);
    line-height: 1.25;
    margin-bottom: 10px;
    color: #0d1117;
}

.mega-promo-desc {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.55;
    color: rgba(13, 17, 23, 0.68);
    opacity: 1;
    margin-bottom: 18px;
    max-width: 26ch;
}

.mega-promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: #0d1117;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: var(--btn-radius);
    background: transparent;
    border: 1.5px solid rgba(13, 17, 23, 0.22);
    transition: background 0.22s var(--btn-ease),
                border-color 0.22s var(--btn-ease),
                transform 0.22s var(--btn-ease);
}

.mega-promo-cta:hover {
    background: rgba(13, 17, 23, 0.04);
    border-color: #0d1117;
    transform: translateY(-2px);
}

/* ─── Logo ── */
.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 16px;
}

.nav-logo-img {
    height: 48px;
    width: auto;
    display: block;
    transition: opacity 0.2s;
}

.nav-logo-img--white {
    filter: brightness(0) invert(1);
}

.nav-brand:hover .nav-logo-img { opacity: 0.82; }

.footer-logo-img {
    height: 32px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    transition: opacity 0.2s;
}
.footer-logo:hover .footer-logo-img { opacity: 1; }

/* ─── Nav links (desktop) ── */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: var(--weight-nav);
    color: var(--accent-blue);
    padding: 12px 18px;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    transition: color 0.15s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 8px;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
    transform: scaleX(1);
}

/* ─── Search bar ── */
.nav-search {
    flex: 1;
    max-width: 720px;
    min-width: 260px;
    margin: 0 20px;
    position: relative;
    display: flex;
    align-items: center;
    transition:
        max-width 0.36s cubic-bezier(0.22, 1, 0.36, 1),
        margin 0.36s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.28s ease;
}

.nav-search-icon {
    position: absolute;
    left: 16px;
    z-index: 2;
    color: var(--red);
    pointer-events: none;
    flex-shrink: 0;
    transition: left 0.32s ease, transform 0.32s ease;
}

.nav-search-field {
    position: relative;
    width: 100%;
}

.nav-search-input {
    width: 100%;
    height: 52px;
    padding: 0 22px 0 48px;
    border: 1.5px solid var(--red);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 15.5px;
    color: #222;
    background: #fff;
    outline: none;
    transition:
        border-radius 0.34s cubic-bezier(0.22, 1, 0.36, 1),
        height 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        padding 0.3s ease,
        font-size 0.24s ease,
        border-color 0.22s ease,
        border-bottom-color 0.18s ease,
        background 0.2s ease,
        box-shadow 0.28s ease;
}

.nav-search-input:focus {
    border-color: var(--red-deep);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.12);
}

.nav-search-ghost {
    position: absolute;
    left: 48px;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    overflow: hidden;
    white-space: nowrap;
    font-family: var(--font-body);
    font-size: 15.5px;
    line-height: 1;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.nav-search-ghost.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.nav-search-ghost-static {
    flex-shrink: 0;
    color: #aaa;
}

.nav-search-ghost-clip {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 1em;
}

.nav-search-ghost-phrase {
    display: inline-block;
    color: #888;
    white-space: nowrap;
    transition: opacity 0.28s ease;
}

.nav-search-ghost-phrase.is-exiting {
    opacity: 0;
}

.nav-search-ghost-phrase.is-entering {
    opacity: 0;
}

/* ─── Search dropdown panel ── */
.nav-search-close {
    display: none;
}

.nav-search-backdrop {
    position: fixed;
    inset: var(--nav-top-h) 0 0 0;
    z-index: 55;
    border: none;
    padding: 0;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(245, 247, 249, 0.68);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    cursor: default;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        backdrop-filter 0.3s ease;
}

.nav-search-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.search-is-open {
    overflow: hidden;
}

html.search-is-open .mega-backdrop,
html.search-is-open .mega-panel {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.nav-search.is-open {
    position: relative;
    z-index: 80;
}

.nav-search.is-open .nav-search-panel {
    z-index: 81;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-search.is-open .nav-search-input {
    border-color: var(--red-deep);
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}

.nav-search-panel {
    position: fixed;
    top: calc(var(--nav-top-h) + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    width: min(1120px, 96vw);
    max-height: min(660px, 80vh);
    display: grid;
    grid-template-columns: 188px minmax(0, 1fr);
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: 20px;
    box-shadow: 0 32px 96px rgba(13, 17, 23, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    transition:
        opacity 0.24s ease,
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.24s ease;
}

.nav-search-side {
    background: var(--slate-50);
    border-right: 1px solid var(--slate-100);
    padding: 16px 12px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-search-cat {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 13px 14px;
    margin-bottom: 0;
    border: none;
    border-radius: 12px;
    background: transparent;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: rgba(13, 17, 23, 0.58);
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.nav-search-cat-label {
    flex: 1;
    min-width: 0;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    color: inherit;
}

.nav-search-cat svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    stroke-width: 2;
    opacity: 0.7;
}

.nav-search-cat:hover {
    color: #0d1117;
    background: rgba(255, 255, 255, 0.7);
}

.nav-search-cat.is-active {
    background: #ffffff;
    color: #0d1117;
    font-weight: 600;
    box-shadow: 0 1px 6px rgba(13, 17, 23, 0.06);
}

.nav-search-cat.is-active svg {
    color: var(--red);
    opacity: 1;
}

.nav-search-cat-count {
    margin-left: auto;
    font-size: 13px;
    font-weight: 600;
    color: rgba(13, 17, 23, 0.32);
    flex-shrink: 0;
}

.nav-search-cat.is-active .nav-search-cat-count {
    color: var(--accent-blue);
}

.nav-search-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
}

.nav-search-body-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 22px 28px 16px;
    border-bottom: 1px solid var(--slate-100);
    flex-shrink: 0;
}

.nav-search-body-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #0d1117;
}

.nav-search-body-count {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: rgba(13, 17, 23, 0.4);
    white-space: nowrap;
}

.nav-search-results {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--slate-300) transparent;
}

.nav-search-results--browse {
    padding: 8px 0 14px;
}

.nav-search-group + .nav-search-group {
    border-top: 1px solid var(--slate-100);
}

.nav-search-group-title {
    margin: 0;
    padding: 16px 28px 10px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(13, 17, 23, 0.42);
}

.nav-search-group-list {
    display: flex;
    flex-direction: column;
}

.nav-search-browse-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 28px;
    border-bottom: 1px solid var(--slate-100);
    text-decoration: none;
    color: inherit;
    transition: background 0.12s ease;
}

.nav-search-group-list .nav-search-browse-row:last-child {
    border-bottom: none;
}

.nav-search-browse-row:hover,
.nav-search-browse-row.is-active {
    background: var(--slate-50);
}

.nav-search-browse-row.is-active {
    box-shadow: inset 3px 0 0 var(--red);
}

.nav-search-browse-row--accent .nav-search-browse-title {
    color: var(--red);
}

.nav-search-browse-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-search-browse-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0d1117;
    line-height: 1.25;
}

.nav-search-browse-meta {
    font-family: var(--font-body);
    font-size: 13.5px;
    line-height: 1.45;
    color: rgba(13, 17, 23, 0.5);
}

.nav-search-browse-arrow {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: rgba(13, 17, 23, 0.28);
    transition: transform 0.15s ease, color 0.15s ease;
}

.nav-search-browse-row:hover .nav-search-browse-arrow,
.nav-search-browse-row.is-active .nav-search-browse-arrow {
    color: var(--red);
    transform: translateX(2px);
}

.nav-search-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 16px 28px;
    border-bottom: 1px solid var(--slate-100);
    text-decoration: none;
    color: inherit;
    transition: background 0.12s ease;
}

.nav-search-row:last-child {
    border-bottom: none;
}

.nav-search-row:hover,
.nav-search-row.is-active {
    background: var(--slate-50);
}

.nav-search-row.is-active {
    box-shadow: inset 3px 0 0 var(--red);
}

.nav-search-row-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--slate-100);
    color: var(--accent-blue);
}

.nav-search-row-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.nav-search-row--accent .nav-search-row-icon {
    background: rgba(227, 6, 19, 0.08);
    color: var(--red);
}

.nav-search-row-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-search-row-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0d1117;
    line-height: 1.25;
}

.nav-search-row-title mark {
    background: rgba(227, 6, 19, 0.12);
    color: var(--red-deep);
    border-radius: 2px;
    padding: 0 2px;
}

.nav-search-row-desc {
    font-family: var(--font-body);
    font-size: 13.5px;
    line-height: 1.45;
    color: rgba(13, 17, 23, 0.48);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-search-row-tag {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-blue);
    padding: 6px 11px;
    background: var(--slate-50);
    border: 1px solid var(--slate-100);
    border-radius: 100px;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-search-empty {
    padding: 56px 28px;
    text-align: center;
}

.nav-search-empty-title {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: #0d1117;
}

.nav-search-empty-desc {
    margin: 0;
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.5;
    color: rgba(13, 17, 23, 0.48);
}

@media (max-width: 860px) {
    .nav-search-panel {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        width: min(1120px, 96vw);
        max-height: min(660px, 82vh);
        top: calc(var(--nav-top-h) + 8px);
    }

    .nav-search-side {
        display: flex;
        gap: 6px;
        padding: 12px 14px;
        border-right: none;
        border-bottom: 1px solid var(--slate-100);
        overflow-x: auto;
        scrollbar-width: none;
    }

    .nav-search-side::-webkit-scrollbar {
        display: none;
    }

    .nav-search-cat {
        width: auto;
        flex-shrink: 0;
        margin-bottom: 0;
        padding: 8px 12px;
        font-size: 13px;
        align-items: center;
    }

    .nav-search-cat-count {
        display: none;
    }
}

/* ─── Help link ── */
.nav-help-link {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: var(--weight-nav);
    color: var(--accent-blue);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 12px 16px;
    position: relative;
    transition: color 0.15s ease;
}

.nav-help-link::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 8px;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-help-link:hover::after,
.nav-help-link:focus-visible::after {
    transform: scaleX(1);
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #b0b8c4;
    flex-shrink: 0;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.status-dot.is-online {
    background: #22c55e;
    animation: status-dot-pulse 2.2s ease-in-out infinite;
}

@keyframes status-dot-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
    }
    50% {
        box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);
    }
}

.nav-help-icon {
    display: flex;
    align-items: center;
    color: var(--accent-blue);
    flex-shrink: 0;
}

/* ─── Primary CTA button ── */
.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--btn-gap);
    font-family: var(--font-display);
    font-size: var(--btn-font-size);
    font-weight: var(--weight-ui);
    letter-spacing: 0.02em;
    color: #fff;
    background: var(--red);
    padding: var(--btn-pad-y) var(--btn-pad-x);
    border: 1.5px solid var(--red);
    border-radius: var(--btn-radius);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.22s var(--btn-ease),
                border-color 0.22s var(--btn-ease),
                color 0.22s var(--btn-ease);
    margin-left: 4px;
}

.nav-cta-btn:hover {
    background: #ffffff;
    border-color: var(--red);
    color: var(--red);
}

/* ─── Dropdown trigger ── */
.nav-item { position: relative; }

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px 18px;
    border-radius: 4px;
    white-space: nowrap;
    transition: color 0.15s, background 0.15s;
}

.nav-dropdown-trigger:hover,
.nav-item--dropdown:hover .nav-dropdown-trigger,
.nav-dropdown-trigger[aria-expanded="true"] {
    color: #e30613;
    background: rgba(227, 6, 19, 0.05);
}

.nav-chevron {
    transition: transform 0.25s ease;
    flex-shrink: 0;
    opacity: 0.6;
}

.nav-item--dropdown:hover .nav-chevron,
.nav-dropdown-trigger[aria-expanded="true"] .nav-chevron {
    transform: rotate(180deg);
    opacity: 1;
}


/* ─── Dropdown — VSE-style clean mega menu ───────────── */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 2px);
    left: -16px;
    width: 820px;
    background: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
    display: grid;
    grid-template-columns: 1fr 1fr 240px;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    transform: translateY(-6px);
    z-index: 100;
    border-top: 3px solid #e30613;
    overflow: hidden;
}

.nav-item--dropdown:hover .nav-dropdown,
.nav-dropdown-trigger[aria-expanded="true"] + .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Stĺpce */
.ndd-col {
    padding: 28px 28px 24px;
    border-right: 1px solid #f0f0f0;
}

.ndd-col-hd {
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #e30613;
    margin-bottom: 16px;
}

.ndd-col-list {
    list-style: none;
}

.ndd-lnk {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: #222222;
    text-decoration: none;
    padding: 7px 0;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, padding-left 0.15s ease;
    white-space: nowrap;
}

.ndd-lnk:hover {
    color: #e30613;
    padding-left: 8px;
}

.ndd-all-link {
    display: inline-block;
    margin-top: 18px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: #e30613;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.ndd-all-link:hover { opacity: 0.75; }

/* Náhľad obrázku vpravo */
.ndd-preview {
    overflow: hidden;
    background: #f4f4f4;
}

.ndd-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.25s ease;
}

/* ─── Hamburger (SVG lines) ──────────────── */
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--slate-200);
    background: #ffffff;
    cursor: pointer;
    color: #0d1117;
    margin-left: 6px;
    transition: background 0.2s ease, border-color 0.35s ease, color 0.35s ease;
    flex-shrink: 0;
}

.nav-toggle:hover {
    background: var(--slate-50);
    border-color: var(--slate-300);
}

.hamburger-icon line {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
    transform-box: fill-box;
}

/* open state */
.nav-toggle.open .hb-top {
    transform: translateY(5px) rotate(45deg);
}

.nav-toggle.open .hb-mid {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.open .hb-bot {
    transform: translateY(-5px) rotate(-45deg);
}

/* ─── Mobile drawer ──────────────────────── */
.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
}

.mobile-drawer.open {
    pointer-events: auto;
}

.mdr-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.35s ease;
}

.mobile-drawer.open .mdr-backdrop {
    background: rgba(0, 0, 0, 0.5);
}

.mdr-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(380px, 100vw);
    background: #0d1117;
    display: flex;
    flex-direction: column;
    padding: 0;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-drawer.open .mdr-panel {
    transform: translateX(0);
}

.mdr-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.mdr-close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: none;
    color: rgba(255, 255, 255, 0.7);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.mdr-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.mdr-nav {
    flex: 1;
    padding: 16px 16px 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mdr-link {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 14px 16px;
    border-radius: 10px;
    transition: background 0.18s ease, color 0.18s ease;
}

.mdr-link:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

/* accordion */
.mdr-group {
    display: flex;
    flex-direction: column;
}

.mdr-accordion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    background: none;
    border: none;
    cursor: pointer;
    padding: 14px 16px;
    border-radius: 10px;
    text-align: left;
    transition: background 0.18s ease, color 0.18s ease;
    width: 100%;
}

.mdr-accordion-left {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.mdr-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    flex-shrink: 0;
}

.mdr-icon-wrap svg {
    width: 22px !important;
    height: 22px !important;
    stroke-width: 2.25;
}

.mdr-accordion:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

.mdr-chevron {
    flex-shrink: 0;
    opacity: 0.5;
    transition: transform 0.28s ease, opacity 0.2s ease;
}

.mdr-accordion[aria-expanded="true"] .mdr-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.mdr-accordion-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    padding-left: 8px;
}

.mdr-accordion-body.open {
    grid-template-rows: 1fr;
}

.mdr-accordion-body > * {
    min-height: 0;
    overflow: hidden;
}

.mdr-sub-link {
    display: block;
    font-family: var(--font-body);
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    transition: background 0.18s ease, color 0.18s ease;
}

.mdr-sub-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
}

/* Red accent line on the left for sub-links */
.mdr-accordion-body {
    border-left: 2px solid rgba(227, 6, 19, 0.3);
    margin-left: 16px;
}

.mdr-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.mdr-cta {
    display: block;
    text-align: center;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: var(--weight-ui);
    letter-spacing: 0.2px;
    color: #fff;
    background: var(--red);
    padding: 15px 24px;
    border: 1.5px solid var(--red);
    border-radius: var(--btn-radius);
    text-decoration: none;
    margin-bottom: 14px;
    transition: background 0.22s var(--btn-ease), border-color 0.22s var(--btn-ease), color 0.22s var(--btn-ease);
}

.mdr-cta:hover {
    background: #ffffff;
    border-color: var(--red);
    color: var(--red);
}

.mdr-meta {
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
    line-height: 1.6;
}

/* ---------- HERO — defined in hero section below ---------- */

/* Floating editorial shapes — layered 1.webp + 2.webp */
.hero-shapes {
    position: absolute;
    bottom: -150px;
    right: clamp(-120px, -6vw, -40px);
    width: min(34vw, 460px);
    aspect-ratio: 1600 / 1578;
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.3));
    will-change: transform;
}

.hero-shape {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom right;
    will-change: transform, opacity;
}

.hero-shape--white {
    z-index: 1;
}

/* Navbar fade-in on load */
.navbar {
    opacity: 0;
    transform: translateY(-16px);
}

body.hero-ready .navbar {
    opacity: 1;
    transform: none;
    transition:
        opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.05s,
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.05s,
        box-shadow 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
    .hero-anim,
    .hero-shape--red,
    .hero-shape--white,
    .navbar,
    .navbar-bottom,
    .hero-overlay,
    .hero-tagline,
    .hero-headline,
    .hero-cta,
    .hero-arrows,
    .map-section,
    .map-panel-title,
    .map-panel-kicker,
    .map-panel-cities,
    .map-panel-cta,
    .map-svg-wrap,
    .map-branch-panel,
    .logos-track .logo-mono {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none;
    }

    .hero-tagline::before {
        transform: none;
    }

    .logos-track .logo-mono {
        opacity: 0.72;
    }

    .logos-track .logo-mono.logo-mono--ready {
        opacity: 0.72;
    }
}


/* ══════════════════════════════════════════════════════════
   HERO — VSE-style: dark card left + full video right
══════════════════════════════════════════════════════════ */

/* Spacer below fixed navbar.
   Homepage (.hero): top row only — secondary bar overlays the hero intentionally.
   Subpages: reserve top + secondary bar height using raw tokens (not --nav-h),
   so hide-on-scroll does not shrink the spacer and cause jump. */
.hero-spacer {
    height: var(--nav-top-h);
}

body:not(:has(.hero)) .hero-spacer {
    height: calc(var(--nav-top-h) + var(--nav-bot-h));
}

.hero {
    position: relative;
    width: 100%;
    height: calc(100dvh - var(--nav-top-h));
    min-height: 480px;
    overflow: hidden;
    background: #ffffff;
    z-index: 1;
}

/* ── Video fills entire hero ── */
.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #ffffff;
}

/* Top-left shade — readable text without crushing the photo */
.hero-media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(
        ellipse 66% 76% at 0% 0%,
        rgba(8, 12, 20, 0.44) 0%,
        rgba(8, 12, 20, 0.26) 28%,
        rgba(8, 12, 20, 0.1) 52%,
        rgba(8, 12, 20, 0.03) 68%,
        transparent 82%
    );
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(8, 12, 20, 0.28) 0%,
            rgba(8, 12, 20, 0.12) 28%,
            rgba(8, 12, 20, 0.04) 52%,
            transparent 70%
        ),
        linear-gradient(
            270deg,
            rgba(12, 18, 28, 0.28) 0%,
            rgba(12, 18, 28, 0.1) 34%,
            transparent 58%
        ),
        linear-gradient(
            0deg,
            rgba(12, 18, 28, 0.55) 0%,
            rgba(12, 18, 28, 0.22) 38%,
            transparent 62%
        );
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.025);
    transition:
        opacity 1.15s cubic-bezier(0.4, 0, 0.2, 1),
        transform 1.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    will-change: opacity, transform;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 1;
}

.hero-slide picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* ── Callout + arrows stack (PC: top right)
   Offset by secondary-nav band so the badge stays below the fixed subnav
   overlay (spacer is only --nav-top-h; subnav covers the top of the hero). */
.hero-callout-wrap {
    position: absolute;
    top: calc(var(--nav-bot-h) + clamp(16px, 2vw, 28px));
    right: max(var(--nav-gutter), calc((100vw - var(--nav-container)) / 2 + var(--nav-gutter)));
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    max-width: min(300px, 36vw);
    transition: top 0.36s cubic-bezier(0.4, 0, 0.2, 1);
}

html.navbar-sub-hidden .hero-callout-wrap {
    top: clamp(20px, 3vw, 36px);
}

.hero-callout {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-left: 3px solid var(--red);
    box-shadow: 0 4px 20px rgba(13, 17, 23, 0.08);
}

.hero-callout-link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: inherit;
    text-decoration: none;
}

.hero-callout-link:hover .hero-callout-text {
    color: var(--red);
}

.hero-callout-service {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: var(--text-eyebrow);
    font-weight: var(--weight-ui);
    letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase;
    color: var(--red);
    line-height: 1.2;
    transition: opacity 0.35s ease;
}

.hero-callout-service::after {
    content: "→";
    font-size: 0.85em;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.7;
}

.hero-callout-text {
    font-family: var(--font-body);
    font-size: clamp(0.8rem, 1vw, 0.92rem);
    font-weight: var(--weight-nav);
    line-height: 1.45;
    color: #0d1117;
    margin: 0;
    transition: opacity 0.35s ease, color 0.22s ease;
}

.hero-callout-text.is-fading,
.hero-callout-service.is-fading {
    opacity: 0;
}

/* ── Slider arrows — under callout on PC ── */
.hero-arrows {
    display: flex;
    gap: 8px;
    margin: 0;
}

.hero-arrow {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.hero-arrow svg {
    width: 14px;
    height: 14px;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
    transform: scale(1.04);
}

/* ── Caption — vertically centered on PC ── */
.hero-caption {
    position: absolute;
    top: 50%;
    bottom: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: var(--nav-container);
    padding: 0 var(--nav-gutter) 0 calc(var(--nav-gutter) + var(--content-offset));
    z-index: 2;
}

.hero-tagline,
.hero-headline,
.hero-cta,
.hero-arrows {
    opacity: 0;
    transform: translateY(22px);
    will-change: opacity, transform;
}

.hero.is-loaded .hero-tagline {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.14s,
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.14s;
}

.hero.is-loaded .hero-headline {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.28s,
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.28s;
}

.hero.is-loaded .hero-cta {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.42s,
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.42s;
}

.hero.is-loaded .hero-arrows {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.54s,
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.54s;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 20px;
    padding: 0;
    font-family: var(--font-body);
    font-size: var(--text-eyebrow);
    font-weight: var(--weight-ui);
    letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
}

.hero-tagline::before {
    content: "";
    width: 36px;
    height: 2.5px;
    background: var(--red);
    flex-shrink: 0;
}

.hero-tagline::after {
    display: none;
}

.hero-headline {
    margin: 0;
    max-width: 13ch;
    font-family: var(--font-display);
    font-weight: var(--weight-display);
    font-size: var(--text-display);
    line-height: var(--lh-display);
    letter-spacing: var(--tracking-display);
    text-transform: none;
    color: #ffffff;
}

.hero-headline__primary,
.hero-headline__secondary {
    display: block;
}

.hero-headline__secondary {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
}

.hero-cta {
    margin: 26px 0 0;
    align-self: flex-start;
}

/* ── White ghost button variant (kept for other sections) ── */
.btn-white-outline {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.55);
    background: transparent;
}

.btn-white-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.9);
}

/* ── Responsive hero ── */
@media (max-width: 900px) {
    .hero {
        height: clamp(440px, 58vh, 560px);
        min-height: 440px;
    }

    .hero-slide img {
        object-position: center top;
    }

    .hero-media::before {
        background: radial-gradient(
            ellipse 95% 70% at 0% 0%,
            rgba(8, 12, 20, 0.36) 0%,
            rgba(8, 12, 20, 0.18) 35%,
            rgba(8, 12, 20, 0.06) 62%,
            transparent 80%
        );
    }

    .hero-media::after {
        background:
            linear-gradient(
                180deg,
                rgba(8, 12, 20, 0.2) 0%,
                rgba(8, 12, 20, 0.2) 40%,
                rgba(8, 12, 20, 0.48) 100%
            );
    }

    .hero-callout-wrap {
        inset: auto;
        top: auto;
        right: 16px;
        bottom: 24px;
        left: auto;
        max-width: min(168px, 46vw);
        align-items: flex-end;
        gap: 8px;
        pointer-events: none;
    }

    html.navbar-sub-hidden .hero-callout-wrap {
        top: auto;
        bottom: 24px;
    }

    /* Secondary cue — softer glass, smaller type; CTA stays primary */
    .hero-callout {
        position: static;
        width: 100%;
        max-width: none;
        padding: 8px 10px;
        border-left-width: 2px;
        background: rgba(255, 255, 255, 0.55);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: 0 1px 8px rgba(13, 17, 23, 0.06);
        pointer-events: auto;
    }

    .hero-callout-service {
        font-size: 0.58rem;
        letter-spacing: 0.1em;
        gap: 4px;
    }

    .hero-callout-text {
        font-size: 0.68rem;
        line-height: 1.35;
        font-weight: var(--weight-body);
        color: rgba(13, 17, 23, 0.78);
    }

    .hero-caption {
        top: 42%;
        bottom: auto;
        left: 0;
        transform: translateY(-50%);
        padding: 0 20px;
        width: 100%;
        max-width: none;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .hero-tagline {
        font-size: 0.82rem;
        letter-spacing: 0.14em;
        margin-bottom: 16px;
        gap: 12px;
    }

    .hero-tagline::before {
        width: 28px;
    }

    .hero-headline {
        font-size: clamp(2.45rem, 10vw, 3.35rem);
        font-weight: 700;
        letter-spacing: -0.035em;
        line-height: 1.02;
        max-width: 11ch;
        text-align: left;
    }

    .hero-cta {
        margin-top: 18px;
        margin-bottom: 0;
    }

    .hero-arrows {
        position: static;
        margin: 0;
        gap: 8px;
        justify-content: flex-end;
        pointer-events: auto;
    }

    .hero-arrow {
        width: 34px;
        height: 34px;
        border-width: 1px;
        border-color: rgba(255, 255, 255, 0.55);
        background: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.88);
    }

    .hero-arrow svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: min(72vh, 520px);
        min-height: 420px;
    }

    .hero-callout-wrap {
        right: 14px;
        bottom: 20px;
        max-width: min(148px, 44vw);
        gap: 7px;
    }

    html.navbar-sub-hidden .hero-callout-wrap {
        bottom: 20px;
    }

    .hero-callout {
        padding: 7px 9px;
    }

    .hero-callout-service {
        font-size: 0.54rem;
    }

    .hero-callout-text {
        font-size: 0.64rem;
        line-height: 1.3;
    }

    .hero-caption {
        top: 40%;
        padding: 0 18px;
    }

    .hero-headline {
        font-size: clamp(2.2rem, 11vw, 3rem);
        max-width: 10ch;
    }

    .hero-cta {
        margin-top: 16px;
    }

    .hero-arrow {
        width: 32px;
        height: 32px;
    }

    .hero-arrow svg {
        width: 13px;
        height: 13px;
    }
}


.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════
   BUTTON SYSTEM — jednotná hierarchia CTA
   Primary  → plná červená (hlavná akcia)
   Secondary→ outline (vedľajšia akcia)
   Tertiary → textový odkaz s posuvnou šípkou (.link-cta)
═══════════════════════════════════════════════════════════ */
.btn {
    font-family: var(--font-display);
    font-weight: var(--weight-ui);
    font-size: var(--btn-font-size);
    letter-spacing: 0.02em;
    line-height: 1;
    padding: var(--btn-pad-y) var(--btn-pad-x);
    border-radius: var(--btn-radius);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--btn-gap);
    border: 1.5px solid transparent;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.22s var(--btn-ease),
                border-color 0.22s var(--btn-ease),
                color 0.22s var(--btn-ease),
                transform 0.22s var(--btn-ease);
}

.btn svg,
.btn span[aria-hidden] {
    width: var(--icon-sm);
    height: var(--icon-sm);
    transition: transform 0.22s var(--btn-ease);
}

.btn:hover svg,
.btn:hover span[aria-hidden] {
    transform: translateX(4px);
}

/* Primary — solid brand red */
.btn-primary {
    color: #ffffff;
    background: var(--red);
    border-color: var(--red);
}

.btn-primary:hover {
    background: #ffffff;
    border-color: var(--red);
    color: var(--red);
}

/* Secondary — outline (light background) */
.btn-secondary {
    color: #0d1117;
    background: transparent;
    border-color: rgba(13, 17, 23, 0.22);
}

.btn-secondary:hover {
    border-color: #0d1117;
    background: rgba(13, 17, 23, 0.04);
    transform: translateY(-2px);
}

/* Ghost — outline on dark backgrounds */
.btn-ghost {
    color: #ffffff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Shared focus ring for all CTAs */
.btn:focus-visible,
.nav-cta-btn:focus-visible,
.mdr-cta:focus-visible,
.mega-promo-cta:focus-visible,
.exp-cta-btn:focus-visible,
.infra-showcase-cta:focus-visible,
.link-cta:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
}

/* ---------- LARGE MONITORS ---------- */
@media (min-width: 1600px) {
    :root {
        --container: 1440px;
        --gutter: 40px;
        --nav-container: min(97vw, 1840px);
        --nav-gutter: 56px;
    }
    .hero-title { font-size: clamp(4rem, 5vw, 5.6rem); }
}

@media (min-width: 2000px) {
    :root {
        --container: 1680px;
        --gutter: 48px;
        --nav-container: min(96vw, 1960px);
        --nav-gutter: 64px;
    }
    .hero-title { font-size: clamp(5rem, 5vw, 6.2rem); }
    .btn { font-size: 17px; padding: 17px 34px; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    :root {
        /* Two-row mobile header: logo+menu, then full-width search */
        --nav-h: calc(136px + env(safe-area-inset-top, 0px));
        --nav-top-h: 136px;
        --nav-bot-h: 0px;
        --nav-gutter: 16px;
        --content-offset: 0px;
    }

    .nav-links,
    .nav-help-link,
    .nav-cta-btn {
        display: none !important;
    }

    .navbar-bottom,
    .mega-backdrop,
    .subnav-reveal {
        display: none !important;
    }

    .navbar::after {
        display: none;
    }

    .navbar {
        background: #ffffff;
        padding-top: env(safe-area-inset-top, 0px);
    }

    .navbar-top {
        height: var(--nav-top-h);
        align-items: stretch;
        background: #ffffff;
    }

    .hero-spacer {
        height: var(--nav-h);
    }

    /* ── Mobile header: row1 logo+menu · row2 search (not cramped) ── */
    .nav-inner {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        column-gap: 18px;
        row-gap: 14px;
        padding: 16px 20px 16px;
        width: 100%;
        max-width: none;
        height: 100%;
        align-items: center;
        box-sizing: border-box;
    }

    .nav-brand {
        margin-right: 0;
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        flex-shrink: 0;
        padding: 4px 0;
    }

    .nav-logo-img {
        height: 44px;
    }

    .nav-toggle {
        display: flex;
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        width: 52px;
        height: 52px;
        margin-left: 0;
        border-radius: 14px;
        flex-shrink: 0;
    }

    .hamburger-icon {
        width: 24px;
        height: 24px;
    }

    .nav-search {
        grid-column: 1 / -1;
        grid-row: 2;
        display: flex !important;
        width: 100%;
        min-width: 0;
        max-width: none;
        margin: 0;
        height: 44px;
    }

    .nav-search-input {
        height: 44px;
        font-size: 16px;
        padding: 0 14px 0 42px;
        border-radius: 12px;
        border-color: var(--slate-200);
        background: var(--slate-50);
        color: #0d1117;
    }

    .nav-search-input:focus {
        border-color: var(--red);
        background: #fff;
        box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
    }

    .nav-search-icon {
        left: 14px;
        width: 16px;
        height: 16px;
    }

    .nav-search-ghost {
        left: 42px;
        right: 14px;
        font-size: 16px;
    }

    .nav-search-ghost-static {
        display: none;
    }

    /* ── Fullscreen mobile search ── */
    .nav-search-close {
        display: none;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        height: 44px;
        padding: 0 14px;
        border: 1px solid var(--slate-200);
        border-radius: 12px;
        background: #ffffff;
        color: #0d1117;
        font-family: var(--font-body);
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-search-close:active {
        background: var(--slate-50);
    }

    html.search-is-open {
        --nav-h: calc(64px + env(safe-area-inset-top, 0px));
        --nav-top-h: 64px;
    }

    html.search-is-open .nav-brand,
    html.search-is-open .nav-toggle {
        display: none !important;
    }

    html.search-is-open .navbar-top {
        height: var(--nav-top-h);
        min-height: var(--nav-top-h);
    }

    html.search-is-open .nav-inner {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 10px 16px;
        height: 100%;
    }

    html.search-is-open .nav-search {
        display: flex !important;
        flex: 1 1 auto;
        align-items: center;
        gap: 10px;
        width: auto;
        height: 44px;
        margin: 0;
        grid-column: unset;
        grid-row: unset;
    }

    html.search-is-open .nav-search-close {
        display: inline-flex;
    }

    html.search-is-open .nav-search-field {
        flex: 1;
        min-width: 0;
    }

    .nav-search-backdrop {
        inset: 0;
        z-index: 310;
        background: #ffffff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    /* Navbar (input + Zavrieť) and its panel must paint above the white backdrop */
    html.search-is-open .navbar {
        z-index: 340;
    }

    html.search-is-open .cookie-banner,
    html.search-is-open .operator-pill {
        display: none !important;
    }

    .nav-search.is-open {
        z-index: 330;
    }

    .nav-search-panel {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: none;
        max-height: none;
        height: calc(100dvh - var(--nav-h));
        margin: 0;
        border: none;
        border-radius: 0;
        box-shadow: none;
        z-index: 320;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr);
        transform: none;
        background: #ffffff;
        transition: none;
    }

    .nav-search.is-open .nav-search-panel {
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-search-side {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
        padding: 12px 16px 14px;
        border-right: none;
        border-bottom: 1px solid var(--slate-100);
        background: #ffffff;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .nav-search-side::-webkit-scrollbar {
        display: none;
    }

    .nav-search-cat {
        width: auto;
        flex-shrink: 0;
        gap: 8px;
        padding: 10px 14px;
        margin: 0;
        border-radius: 999px;
        border: 1px solid var(--slate-200);
        background: var(--slate-50);
        font-size: 13px;
        font-weight: 600;
        color: rgba(13, 17, 23, 0.72);
        white-space: nowrap;
    }

    .nav-search-cat-label {
        font-size: 13px;
    }

    .nav-search-cat svg {
        width: 16px;
        height: 16px;
    }

    .nav-search-cat.is-active {
        background: #0d1117;
        border-color: #0d1117;
        color: #ffffff;
        box-shadow: none;
    }

    .nav-search-cat.is-active svg {
        color: #ffffff;
        opacity: 1;
    }

    .nav-search-cat-count {
        display: inline;
        margin-left: 2px;
        font-size: 12px;
        color: rgba(13, 17, 23, 0.4);
    }

    .nav-search-cat.is-active .nav-search-cat-count {
        color: rgba(255, 255, 255, 0.65);
    }

    .nav-search-body {
        min-height: 0;
        overflow: hidden;
    }

    .nav-search-body-top {
        padding: 16px 18px 12px;
        gap: 10px;
    }

    .nav-search-body-title {
        font-size: 15px;
    }

    .nav-search-body-count {
        font-size: 12px;
    }

    .nav-search-results {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    }

    .nav-search-group-title {
        padding: 18px 18px 10px;
        font-size: 11px;
    }

    .nav-search-row {
        grid-template-columns: 44px minmax(0, 1fr) auto;
        gap: 14px;
        padding: 16px 18px;
        min-height: 72px;
    }

    .nav-search-row-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .nav-search-row-title {
        font-size: 16px;
    }

    .nav-search-row-desc {
        font-size: 13px;
        line-height: 1.45;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .nav-search-browse-row {
        padding: 16px 18px;
        min-height: 68px;
        gap: 12px;
    }

    .nav-search-browse-title {
        font-size: 16px;
    }

    .nav-search-browse-meta {
        font-size: 13px;
    }

    .nav-search-empty {
        padding: 48px 24px;
    }

    .nav-search-empty-title {
        font-size: 18px;
    }

    .nav-search-empty-desc {
        font-size: 14px;
    }

    html.mobile-nav-open .nav-search-panel,
    html.mobile-nav-open .nav-search-backdrop {
        display: none !important;
    }

    /* ══════════════════════════════════════════════════
       FULLSCREEN MOBILE NAVIGATION — clean corporate white
    ══════════════════════════════════════════════════ */
    .mobile-drawer {
        z-index: 300;
    }

    .mdr-panel {
        width: 100%;
        max-width: none;
        left: 0;
        right: 0;
        background: #ffffff;
        transform: translateY(-6px);
        opacity: 0;
        visibility: hidden;
        transition:
            transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.26s ease,
            visibility 0.26s ease;
    }

    .mobile-drawer.open .mdr-panel {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mdr-backdrop {
        background: rgba(13, 17, 23, 0.42);
        opacity: 0;
        transition: opacity 0.26s ease;
    }

    .mobile-drawer.open .mdr-backdrop {
        opacity: 1;
    }

    .mdr-top {
        padding: 0 20px;
        height: 68px;
        min-height: 68px;
        position: sticky;
        top: 0;
        z-index: 2;
        background: #ffffff;
        border-bottom: 1px solid var(--slate-100);
    }

    .mdr-brand .nav-logo-img {
        height: 32px;
        filter: none;
    }

    .mdr-close {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        border: 1px solid var(--slate-200);
        background: #ffffff;
        color: #0d1117;
    }

    .mdr-close:hover {
        background: var(--slate-50);
        color: #0d1117;
    }

    .mdr-nav {
        padding: 8px 16px 12px;
        gap: 0;
    }

    .mdr-section {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 18px 0;
        border-bottom: 1px solid var(--slate-100);
    }

    .mdr-section:last-of-type {
        border-bottom: none;
    }

    .mdr-section-label {
        margin: 0 0 6px;
        padding: 0 4px;
        font-family: var(--font-display);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: rgba(13, 17, 23, 0.38);
    }

    /* Primary links — flat list, no bubble buttons */
    .mdr-link {
        font-family: var(--font-body);
        font-size: 17px;
        font-weight: 500;
        color: rgba(13, 17, 23, 0.78);
        padding: 13px 4px;
        border-radius: 0;
        transition: color 0.15s ease, padding-left 0.15s ease;
    }

    .mdr-link:hover {
        background: none;
        color: var(--red);
        padding-left: 8px;
    }

    .mdr-link--primary {
        color: #0d1117;
        font-weight: 600;
    }

    .mdr-link--primary:hover {
        color: var(--red);
    }

    /* Service accordions — clear 3-way split (red / blue / green) */
    .mdr-accordion {
        font-family: var(--font-body);
        font-size: 16px;
        font-weight: 600;
        color: #0d1117;
        padding: 13px 4px;
        border-radius: 0;
    }

    .mdr-accordion:hover {
        background: none;
    }

    .mdr-icon-wrap {
        width: 34px;
        height: 34px;
        border-radius: 9px;
        background: var(--slate-100);
        color: #0d1117;
    }

    .mdr-icon-wrap svg {
        width: 18px !important;
        height: 18px !important;
    }

    .mdr-icon-wrap--proj {
        background: rgba(227, 6, 19, 0.09);
        color: var(--red);
    }

    .mdr-icon-wrap--inz {
        background: rgba(79, 109, 137, 0.12);
        color: var(--accent-blue);
    }

    .mdr-icon-wrap--vyst {
        background: rgba(90, 107, 94, 0.12);
        color: var(--accent-build);
    }

    .mdr-accordion--proj:hover,
    .mdr-accordion--proj[aria-expanded="true"] {
        color: var(--red);
    }

    .mdr-accordion--inz:hover,
    .mdr-accordion--inz[aria-expanded="true"] {
        color: var(--accent-blue);
    }

    .mdr-accordion--vyst:hover,
    .mdr-accordion--vyst[aria-expanded="true"] {
        color: var(--accent-build);
    }

    .mdr-chevron {
        color: rgba(13, 17, 23, 0.32);
    }

    .mdr-sub-link {
        font-size: 14.5px;
        font-weight: 400;
        color: rgba(13, 17, 23, 0.6);
        padding: 10px 4px 10px 16px;
        border-radius: 0;
        transition: color 0.15s ease, padding-left 0.15s ease;
    }

    .mdr-sub-link:hover {
        background: none;
        padding-left: 20px;
    }

    .mdr-accordion-body {
        margin-left: 17px;
        padding-left: 0;
        border-left: 1.5px solid var(--slate-200);
    }

    .mdr-group:has(.mdr-accordion--proj) .mdr-sub-link:hover { color: var(--red); }
    .mdr-group:has(.mdr-accordion--inz) .mdr-sub-link:hover { color: var(--accent-blue); }
    .mdr-group:has(.mdr-accordion--vyst) .mdr-sub-link:hover { color: var(--accent-build); }

    /* Language switcher */
    .mdr-lang {
        display: flex;
        gap: 8px;
        padding-top: 2px;
    }

    .mdr-lang-btn {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 42px;
        padding: 9px 12px;
        border-radius: 10px;
        border: 1px solid var(--slate-200);
        background: #ffffff;
        color: rgba(13, 17, 23, 0.62);
        font-family: var(--font-body);
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    }

    .mdr-lang-btn.is-active {
        background: var(--slate-50);
        border-color: var(--slate-300);
        color: #0d1117;
    }

    .mdr-lang-flag {
        width: 20px;
        height: auto;
        border-radius: 2px;
        flex-shrink: 0;
        box-shadow: 0 0 0 1px rgba(13, 17, 23, 0.08);
    }

    /* Footer */
    .mdr-footer {
        padding: 16px 16px calc(18px + env(safe-area-inset-bottom, 0px));
        background: #ffffff;
        border-top: 1px solid var(--slate-100);
    }

    .mdr-cta {
        border-radius: 0;
        padding: 16px 24px;
        font-size: 15.5px;
    }

    .mdr-footer-contacts {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-top: 14px;
    }

    .mdr-footer-contacts a {
        display: block;
        text-align: center;
        font-family: var(--font-body);
        font-size: 14px;
        font-weight: 500;
        color: rgba(13, 17, 23, 0.5);
        text-decoration: none;
    }

    .mdr-footer-contacts a:hover,
    .mdr-footer-contacts a:focus-visible {
        color: var(--red);
    }

    .mdr-meta {
        display: none;
    }
}

/* Mobile */
@media (max-width: 640px) {
    :root {
        --gutter: 22px;
        --nav-h: calc(132px + env(safe-area-inset-top, 0px));
        --nav-top-h: 132px;
    }

    .nav-inner {
        padding: 14px 18px 14px;
        column-gap: 16px;
        row-gap: 12px;
    }

    .nav-logo-img {
        height: 42px;
    }

    .nav-toggle {
        width: 50px;
        height: 50px;
    }

    .hamburger-icon {
        width: 23px;
        height: 23px;
    }

    .nav-search {
        height: 44px;
    }

    .nav-search-input {
        height: 44px;
        font-size: 16px;
    }

    .nav-search-ghost {
        font-size: 16px;
    }

    .btn {
        flex: 1;
        justify-content: center;
        padding: 13px 14px;
        font-size: 14px;
    }

    .hero-brand {
        display: none;
    }
}

/* ============================================================
   HOMEPAGE SECTIONS
   ============================================================ */

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

section {
    color: #0d1117;
}

/* Reusable typography */
.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-eyebrow);
    font-weight: var(--weight-ui);
    letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase;
    color: #e30613;
    margin-bottom: 20px;
}

.eyebrow--light {
    color: rgba(255, 255, 255, 0.7);
}

.section-title {
    font-family: var(--font-display);
    font-weight: var(--weight-title);
    font-size: var(--text-h2);
    line-height: var(--lh-title);
    letter-spacing: var(--tracking-title);
    color: #0d1117;
    max-width: 20ch;
}

.section-head {
    margin-bottom: clamp(40px, 5vw, 72px);
    max-width: 760px;
}

.section-sub {
    font-family: var(--font-body);
    font-weight: var(--weight-body);
    font-size: var(--text-lead);
    line-height: var(--lh-lead);
    color: rgba(13, 17, 23, 0.58);
    margin-top: 18px;
    max-width: 48ch;
}

.lead {
    font-family: var(--font-body);
    font-weight: var(--weight-body);
    font-size: var(--text-lead);
    line-height: var(--lh-lead);
    color: rgba(13, 17, 23, 0.72);
    margin: 28px 0 20px;
    max-width: 50ch;
}

.muted-p {
    font-family: var(--font-body);
    font-weight: var(--weight-body);
    font-size: var(--text-body);
    line-height: var(--lh-body);
    color: rgba(13, 17, 23, 0.6);
    max-width: 54ch;
}

.link-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--btn-gap);
    margin-top: 30px;
    font-family: var(--font-display);
    font-weight: var(--weight-ui);
    font-size: var(--btn-font-size);
    letter-spacing: 0.02em;
    color: #0d1117;
    text-decoration: none;
    transition: color 0.22s var(--btn-ease);
}

.link-cta span {
    color: var(--red);
    transition: transform 0.22s var(--btn-ease);
}

.link-cta:hover {
    color: var(--red);
}

.link-cta:hover span {
    transform: translateX(4px);
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------- LOGO STRIP under hero ---------- */
.logos-strip {
    background: #ffffff;
    padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 64px);
    overflow: hidden;
}

.logos-track {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(56px, 9vw, 130px);
    flex-wrap: wrap;
    will-change: transform;
}

.logo-mono {
    height: clamp(30px, 4vw, 54px);
    width: auto;
    max-width: clamp(120px, 22vw, 230px);
    object-fit: contain;
    filter: brightness(0);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.3s ease;
}

body.hero-ready .logos-track .logo-mono {
    opacity: 0.72;
    transform: none;
    transition:
        opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

body.hero-ready .logos-track .logo-mono:nth-child(1) { transition-delay: 0.82s; }
body.hero-ready .logos-track .logo-mono:nth-child(2) { transition-delay: 0.94s; }
body.hero-ready .logos-track .logo-mono:nth-child(3) { transition-delay: 1.06s; }

.logo-mono:hover {
    opacity: 1;
}

.logo-mono--ready {
    filter: none;
}

body.hero-ready .logos-track .logo-mono--ready {
    opacity: 0.72;
}

/* ---------- SECTION 2 — TRUST ---------- */
.stats {
    background: #ffffff;
    padding: clamp(24px, 4vw, 56px) 0 clamp(70px, 8vw, 120px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(24px, 4vw, 56px);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 0.95;
    letter-spacing: -2px;
    color: #0d1117;
}

.stat-num--text {
    color: #e30613;
}

.stat-num--img {
    display: flex;
    align-items: center;
}

.stat-eu-img {
    height: clamp(44px, 6vw, 72px);
    width: auto;
    display: block;
    object-fit: contain;
}

.stat-label {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(0.9rem, 1.1vw, 1.05rem);
    color: rgba(13, 17, 23, 0.6);
}


/* ══════════════════════════════════════════════════════════
   SECTION — OFFICES MAP
══════════════════════════════════════════════════════════ */
.map-section {
    display: flex;
    align-items: stretch;
    min-height: 0;
    position: relative;
    z-index: 2;
    background:
        radial-gradient(ellipse 48% 60% at 12% 70%, rgba(79, 109, 137, 0.05) 0%, transparent 72%),
        linear-gradient(180deg, #e9edf2 0%, #e4e9ef 48%, #eef1f5 100%);
    overflow: visible;
    padding-bottom: clamp(24px, 3vw, 40px);
    color: #0d1117;
}

/* PC — subtle grid over soft gray */
@media (min-width: 861px) {
    .map-section::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        opacity: 0.35;
        background-image:
            linear-gradient(rgba(13, 17, 23, 0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(13, 17, 23, 0.03) 1px, transparent 1px);
        background-size: 56px 56px;
        mask-image: radial-gradient(ellipse 80% 75% at 65% 45%, #000 15%, transparent 80%);
        -webkit-mask-image: radial-gradient(ellipse 80% 75% at 65% 45%, #000 15%, transparent 80%);
    }

    .map-section::after {
        display: none;
    }

    .map-panel,
    .map-visual,
    .map-svg-wrap {
        background: transparent;
    }

    .map-panel,
    .map-visual {
        position: relative;
        z-index: 1;
    }

    .map-watermark {
        color: rgba(13, 17, 23, 0.04);
    }
}

.map-watermark {
    position: absolute;
    top: 48%;
    left: 58%;
    z-index: 1;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(6rem, 22vw, 16rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 0.88;
    color: rgba(13, 17, 23, 0.028);
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    transform: translate(-30%, -42%);
}

.map-panel-title,
.map-panel-kicker,
.map-panel-cities,
.map-panel-lead,
.map-panel-cta {
    opacity: 0;
    transform: translateY(24px);
    will-change: opacity, transform;
}

/* ── Left panel — anchored with branch controls, not floating mid-map ── */
.map-panel {
    width: clamp(260px, 26%, 340px);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 14px;
    padding:
        clamp(48px, 6vw, 80px)
        clamp(16px, 2vw, 28px)
        clamp(28px, 3.5vw, 44px)
        var(--section-rail-left);
    background: transparent;
    position: relative;
    z-index: 2;
}

.map-panel-kicker {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--text-eyebrow);
    font-weight: var(--weight-ui);
    letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase;
    color: var(--red);
}

.map-panel-title {
    font-family: var(--font-display);
    font-weight: var(--weight-title);
    font-size: clamp(2.1rem, 3.2vw, 2.65rem);
    letter-spacing: var(--tracking-title);
    color: #111111;
    margin: 0;
    line-height: 1.05;
    max-width: 8ch;
    white-space: normal;
}

.map-panel-title-dot {
    color: var(--red);
}

.map-panel-cities {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--text-caption);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.01em;
    color: rgba(13, 17, 23, 0.5);
    white-space: nowrap;
}

.map-panel-cta {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: 6px;
    text-decoration: none;
}

.map-panel-lead {
    margin: 0;
    max-width: 28ch;
    font-family: var(--font-body);
    font-size: var(--text-lead);
    font-weight: var(--weight-body);
    line-height: var(--lh-lead);
    color: rgba(13, 17, 23, 0.58);
}

.map-visual {
    --map-h: clamp(340px, 42vh, 520px);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    position: relative;
    z-index: 1;
    background: transparent;
}

.map-svg-wrap {
    flex-shrink: 0;
    position: relative;
    height: var(--map-h);
    min-height: var(--map-h);
    background: transparent;
    overflow: visible;
    opacity: 0;
    transform: translateY(36px) scale(0.97);
    transform-origin: center top;
    will-change: opacity, transform;
    z-index: 1;
}

#skMapChart {
    position: absolute;
    top: calc(var(--map-h) * -0.55);
    left: 6%;
    width: 100%;
    height: calc(var(--map-h) * 1.55);
    min-height: calc(var(--map-h) * 1.55);
    z-index: 2;
    pointer-events: auto;
    background: transparent !important;
    overflow: visible;
}

#skMapChart > div,
#skMapChart canvas,
#skMapChart svg {
    background: transparent !important;
}

#skMapChart .map-branch-popup,
.map-svg-wrap .map-branch-popup {
    position: absolute;
    z-index: 6;
}

.map-pins {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

.map-pins.is-ready {
    opacity: 1;
    visibility: visible;
}

.map-pin {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    transform: translate(-50%, -100%);
    transform-origin: 50% 100%;
    cursor: pointer;
    pointer-events: auto;
    z-index: 1;
    opacity: 0.82;
    transition:
        transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.22s ease;
}

.map-pin.is-active {
    z-index: 3;
    opacity: 1;
    transform: translate(-50%, -100%) scale(1.1);
}

/* Keep hit-area; only hide the visual pin under the popout */
.map-pin.is-open {
    z-index: 4;
    opacity: 1;
    transform: translate(-50%, -100%);
}

.map-pin.is-open .map-pin__body,
.map-pin.is-open .map-pin__pulse {
    opacity: 0;
    transition: opacity 0.18s ease;
}

/* Classic red teardrop — no black */
.map-pin__body {
    position: relative;
    display: block;
    width: 34px;
    height: 34px;
    margin: 0 auto;
    border-radius: 50% 50% 50% 0;
    background:
        linear-gradient(145deg, #ff3b45 0%, var(--red) 48%, #b80510 100%);
    border: 2px solid #ffffff;
    box-shadow:
        0 4px 12px rgba(227, 6, 19, 0.35),
        0 2px 6px rgba(13, 17, 23, 0.18);
    transform: rotate(-45deg);
}

.map-pin.is-active .map-pin__body {
    box-shadow:
        0 6px 18px rgba(227, 6, 19, 0.45),
        0 2px 8px rgba(13, 17, 23, 0.2);
}

.map-pin__logo {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    overflow: hidden;
    transform: rotate(45deg);
    background: transparent;
}

.map-pin__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Black bg disappears on red pin; white K stays */
    mix-blend-mode: screen;
    filter: brightness(1.08);
}

.map-pin__pulse {
    position: absolute;
    left: 50%;
    top: 17px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(227, 6, 19, 0.28);
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

.map-pin.is-active .map-pin__pulse {
    animation: mapPinPulse 1.9s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes mapPinPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.85);
        opacity: 0.35;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.85);
        opacity: 0;
    }
}

.map-branch-popup {
    position: absolute;
    z-index: 7;
    left: 0;
    top: 0;
    width: 212px;
    max-width: min(212px, 72vw);
    transform: translate(-50%, -100%) scale(0.18);
    transform-origin: 50% 100%;
    pointer-events: none;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    filter: drop-shadow(0 8px 24px rgba(13, 17, 23, 0.14))
            drop-shadow(0 2px 6px rgba(13, 17, 23, 0.06));
    transition:
        opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.36s;
}

.map-branch-popup.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -100%) scale(1);
    pointer-events: auto;
}

.map-branch-popup__shell {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 16px 15px;
    background: #ffffff;
    border: 1.5px solid var(--slate-200);
    border-radius: 18px;
    overflow: hidden;
}

.map-branch-popup__mark {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background:
        linear-gradient(145deg, #ff3b45 0%, var(--red) 50%, #b80510 100%);
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1.5px var(--red);
    flex-shrink: 0;
    transform: scale(0.75);
    opacity: 0;
    transition:
        opacity 0.22s ease 0.08s,
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1) 0.06s;
}

.map-branch-popup.is-visible .map-branch-popup__mark {
    opacity: 1;
    transform: scale(1);
}

.map-branch-popup__mark img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: cover;
    mix-blend-mode: screen;
    filter: brightness(1.08);
}

.map-branch-popup__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    opacity: 0;
    transform: translateY(6px);
    transition:
        opacity 0.22s ease 0.1s,
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

.map-branch-popup.is-visible .map-branch-popup__body {
    opacity: 1;
    transform: translateY(0);
}

.map-branch-popup__tip {
    display: block;
    width: 14px;
    height: 14px;
    margin: -8px auto 0;
    background: #ffffff;
    border-right: 1.5px solid var(--slate-200);
    border-bottom: 1.5px solid var(--slate-200);
    transform: rotate(45deg);
    border-radius: 0 0 2px 0;
}

.map-branch-popup-role {
    display: block;
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
}

.map-branch-popup-city {
    display: block;
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0d1117;
    line-height: 1.15;
}

.map-branch-popup-address {
    display: block;
    margin-top: 2px;
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 400;
    line-height: 1.35;
    color: rgba(13, 17, 23, 0.58);
    max-width: 28ch;
}

.map-branch-panel {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-height: 0;
    margin-top: clamp(-48px, -5vw, -24px);
    position: relative;
    z-index: 4;
    padding:
        0
        var(--section-rail-right)
        clamp(16px, 2.5vw, 28px)
        var(--section-rail-left);
    background: transparent;
    opacity: 0;
    transform: translateY(20px);
    will-change: opacity, transform;
}

.map-section.is-revealed .map-panel-kicker {
    opacity: 1;
    transform: none;
    transition:
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.02s,
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.02s;
}

.map-section.is-revealed .map-panel-title {
    opacity: 1;
    transform: none;
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.08s,
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

.map-section.is-revealed .map-panel-lead {
    opacity: 1;
    transform: none;
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.14s,
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.14s;
}

.map-section.is-revealed .map-panel-cities {
    opacity: 1;
    transform: none;
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.14s,
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.14s;
}

.map-section.is-revealed .map-panel-cta {
    opacity: 1;
    transform: none;
    transition:
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.2s,
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.map-section.is-revealed .map-svg-wrap {
    opacity: 1;
    transform: none;
    transition:
        opacity 1s cubic-bezier(0.22, 1, 0.36, 1) 0.22s,
        transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.22s;
}

.map-section.is-revealed .map-branch-panel {
    opacity: 1;
    transform: none;
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.38s,
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.38s;
}

.branch-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.branch-list li {
    min-width: 0;
}

.branch-item {
    display: block;
    width: 100%;
    padding: 10px 16px;
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    background: #ffffff;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.branch-item:hover {
    border-color: var(--slate-300);
    transform: translateY(-1px);
}

.branch-item.active {
    background: #0d1117;
    border-color: #0d1117;
}

.branch-item-city {
    display: block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: rgba(13, 17, 23, 0.62);
    line-height: 1.2;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.branch-item:hover .branch-item-city {
    color: #0d1117;
}

.branch-item.active .branch-item-city {
    color: #ffffff;
    font-weight: 600;
}

.branch-detail-card {
    position: relative;
    min-height: 92px;
    padding: 18px 22px;
    background: #ffffff;
    border: 1px solid rgba(227, 6, 19, 0.16);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(13, 17, 23, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.branch-detail-card:has(.branch-detail.active) {
    border-color: rgba(227, 6, 19, 0.22);
    box-shadow: 0 10px 28px rgba(13, 17, 23, 0.08);
}

.branch-detail {
    display: none;
    align-items: flex-start;
    gap: 14px;
    animation: branchDetailIn 0.24s ease;
}

.branch-detail.active {
    display: flex;
}

.branch-detail-pin {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    margin-top: 8px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.14);
}

.branch-detail-content {
    min-width: 0;
    flex: 1;
}

.branch-detail-hours {
    flex-shrink: 0;
    margin-left: auto;
    padding-left: 24px;
    border-left: 1px solid var(--slate-200);
    text-align: left;
    min-width: 148px;
}

.branch-detail-hours-label {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--red);
}

.branch-detail-hours p {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.86rem;
    font-weight: 400;
    line-height: 1.45;
    color: rgba(13, 17, 23, 0.58);
}

.branch-detail-hours p + p {
    margin-top: 2px;
}

.branch-detail-hours strong {
    font-weight: 600;
    color: #0d1117;
}

@keyframes branchDetailIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.branch-detail-head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 6px;
}

.branch-detail-city {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    font-weight: 700;
    letter-spacing: -0.3px;
    color: #0d1117;
    margin: 0;
    line-height: 1.15;
}

.branch-detail-role {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--red);
}

.branch-detail-address {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.55;
    color: rgba(13, 17, 23, 0.58);
    margin: 0;
}

.am5-credits-button { opacity: 0.25 !important; }

.am5-tooltip-container .am5-tooltip {
    font-family: var(--font-body) !important;
}

/* ═══════════════════════════════════════════════════════════
   SECTION — CLIENT REVIEWS
═══════════════════════════════════════════════════════════ */
.reviews {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: clamp(48px, 6vw, 72px) 0;
}

.reviews::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("img/elprokan-sluzby.webp") center center / cover no-repeat;
}

.reviews::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        180deg,
        rgba(245, 247, 249, 0.92) 0%,
        rgba(245, 247, 249, 0.84) 50%,
        rgba(245, 247, 249, 0.9) 100%
    );
}

.reviews-inner {
    position: relative;
    z-index: 2;
}

.reviews-watermark {
    position: absolute;
    top: 50%;
    right: max(
        calc(var(--nav-gutter) * 0.35),
        calc((100vw - var(--nav-container)) / 2 + var(--nav-gutter) * 0.2)
    );
    z-index: 1;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(20rem, 46vw, 40rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 0.82;
    color: var(--red);
    opacity: 0.22;
    pointer-events: none;
    user-select: none;
    transform: translate(8%, -48%);
}

.reviews-head {
    max-width: 640px;
    margin-bottom: clamp(24px, 3vw, 36px);
}

.reviews-head .eyebrow {
    margin-bottom: 12px;
}

.reviews-title {
    font-family: var(--font-display);
    font-weight: var(--weight-title);
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    line-height: 1.06;
    letter-spacing: -1px;
    color: #0d1117;
    margin: 0;
    max-width: 16ch;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(14px, 2vw, 22px);
    align-items: stretch;
}

.review-card {
    margin: 0;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 32px rgba(13, 17, 23, 0.06);
    padding: clamp(18px, 2.2vw, 24px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 100%;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover {
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 44px rgba(13, 17, 23, 0.1);
}

.review-mark {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
    line-height: 1;
    color: var(--red);
}

.review-text {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(0.9rem, 1.05vw, 0.98rem);
    line-height: 1.55;
    color: rgba(13, 17, 23, 0.72);
    margin: 0;
    flex: 1;
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 4px;
    border-top: 1px solid var(--slate-200);
}

.review-author strong {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: #0d1117;
}

.review-author span {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 400;
    color: rgba(13, 17, 23, 0.48);
    line-height: 1.4;
}

@media (max-width: 960px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .reviews-watermark {
        font-size: clamp(14rem, 72vw, 22rem);
        top: auto;
        bottom: 6%;
        transform: translate(16%, 0);
        opacity: 0.16;
    }
}

@media (max-width: 860px) {
    .map-section {
        flex-direction: column;
        align-items: center;
        min-height: 0;
        padding-bottom: 28px;
    }

    .map-panel {
        width: 100%;
        padding: 28px 16px 10px;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .map-panel-kicker {
        letter-spacing: 0.12em;
    }

    .map-panel-title {
        font-size: clamp(1.85rem, 6.5vw, 2.25rem);
        letter-spacing: -0.8px;
        max-width: 10ch;
        line-height: 1.08;
        text-align: center;
        white-space: normal;
    }

    .map-panel-lead {
        text-align: center;
        max-width: 32ch;
        margin: 0 auto;
    }

    .map-panel-cities {
        white-space: normal;
        text-align: center;
        max-width: 28ch;
    }

    .map-panel-cta {
        align-self: center;
    }

    .map-watermark {
        font-size: clamp(4.5rem, 38vw, 8rem);
        transform: translate(-50%, -50%);
        left: 50%;
        top: 50%;
        opacity: 0.7;
    }

    .map-branch-panel {
        margin-top: -28px;
        padding: 0 16px 24px;
        gap: 12px;
        width: 100%;
        z-index: 4;
    }

    .branch-detail.active {
        flex-wrap: wrap;
    }

    .branch-detail-hours {
        width: 100%;
        margin-left: 24px;
        margin-top: 10px;
        padding-left: 0;
        padding-top: 10px;
        border-left: none;
        border-top: 1px solid var(--slate-200);
        min-width: 0;
    }

    .branch-list {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        gap: 8px;
        padding: 2px 4px 6px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 4px;
        mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 36px), transparent 100%);
        -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 36px), transparent 100%);
    }

    .branch-list::-webkit-scrollbar {
        display: none;
    }

    .branch-list li {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .branch-item {
        white-space: nowrap;
        padding: 11px 16px;
        min-height: 42px;
    }

    .branch-item-city {
        font-size: 13.5px;
    }

    .branch-detail-card {
        padding: 16px 18px;
        min-height: 84px;
        border-radius: 12px;
    }

    .map-visual {
        --map-h: min(64vw, 400px);
        z-index: auto;
        width: 100%;
        align-items: center;
    }

    .map-svg-wrap {
        height: var(--map-h);
        min-height: var(--map-h);
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        isolation: isolate;
        touch-action: pan-y;
    }

    #skMapChart {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: var(--map-h);
        min-height: var(--map-h);
        margin: 0 auto;
        overflow: hidden;
        pointer-events: none;
        touch-action: pan-y;
        -webkit-user-select: none;
        user-select: none;
    }

    #skMapChart canvas,
    #skMapChart svg {
        pointer-events: none !important;
        touch-action: pan-y !important;
    }

    .map-pins {
        overflow: hidden;
        touch-action: pan-y;
    }

    .map-pin {
        width: 28px;
        height: 34px;
        opacity: 0.9;
        touch-action: manipulation;
    }

    .map-pin.is-active {
        transform: translate(-50%, -100%) scale(1.08);
    }

    .map-pin__body {
        width: 22px;
        height: 22px;
        border-width: 1.5px;
        box-shadow:
            0 2px 8px rgba(227, 6, 19, 0.3),
            0 1px 3px rgba(13, 17, 23, 0.14);
    }

    .map-pin__logo {
        inset: 3px;
    }

    .map-pin__pulse {
        top: 11px;
        width: 22px;
        height: 22px;
    }

    .map-branch-popup {
        width: 184px;
        max-width: min(184px, 78vw);
    }

    .map-branch-popup__shell {
        padding: 12px 13px 14px;
        border-radius: 18px;
        gap: 6px;
    }

    .map-branch-popup-role {
        font-size: 0.58rem;
    }

    .map-branch-popup-city {
        font-size: 0.95rem;
    }

    .map-branch-popup-address {
        font-size: 0.72rem;
    }
}

@media (max-width: 480px) {
    .map-section {
        padding-bottom: 20px;
    }

    .map-panel {
        padding: 28px 16px 8px;
        align-items: center;
        text-align: center;
    }

    .map-panel-title {
        font-size: clamp(1.9rem, 9vw, 2.35rem);
        text-align: center;
    }

    .map-visual {
        --map-h: min(68vw, 360px);
    }

    .map-branch-panel {
        padding: 12px 16px 20px;
    }

    .branch-item {
        padding: 10px 14px;
        min-height: 40px;
    }

    .branch-detail-card {
        padding: 14px 16px;
    }

    .map-watermark {
        font-size: clamp(3.8rem, 40vw, 6.5rem);
        transform: translate(-50%, -50%);
    }
}

/* ═══════════════════════════════════════════════════════════
   SECTION — TÍM PANORÁMA (O nás)
═══════════════════════════════════════════════════════════ */
.team-panorama {
    position: relative;
    background: #0d1117;
    padding: 0;
    overflow: hidden;
}

.team-panorama__stage {
    position: relative;
    width: 100%;
    min-height: clamp(320px, 52vw, 640px);
    line-height: 0;
    overflow: hidden;
}

.team-panorama__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
    user-select: none;
    pointer-events: none;
    transform: scale(1.02);
}

.team-panorama__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            105deg,
            rgba(8, 10, 14, 0.72) 0%,
            rgba(8, 10, 14, 0.42) 38%,
            rgba(8, 10, 14, 0.12) 68%,
            rgba(8, 10, 14, 0.28) 100%
        ),
        linear-gradient(
            to top,
            rgba(8, 10, 14, 0.55) 0%,
            rgba(8, 10, 14, 0.08) 42%,
            transparent 70%
        );
}

.team-panorama__caption {
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: 0;
    max-width: min(560px, 88vw);
    padding:
        clamp(28px, 5vw, 56px)
        clamp(20px, 4vw, 48px)
        clamp(32px, 5vw, 52px)
        clamp(20px, 5vw, 64px);
    color: #ffffff;
}

.team-panorama__kicker {
    margin: 0 0 14px;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.team-panorama__title {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: #ffffff;
    text-wrap: balance;
}

.team-panorama__accent {
    color: var(--red);
}

.team-panorama__line {
    margin: 0;
    max-width: 28em;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 640px) {
    .team-panorama__stage {
        min-height: clamp(280px, 78vw, 420px);
    }

    .team-panorama__img {
        object-position: center 30%;
    }

    .team-panorama__caption {
        max-width: none;
    }
}

/* ═══════════════════════════════════════════════════════════
   SECTION — KONTAKTY / TÍM (O nás)
═══════════════════════════════════════════════════════════ */
.team-contact {
    background: #ffffff;
    border-top: 1px solid var(--slate-100);
}

.team-contact__inner {
    width: min(var(--nav-container), 100%);
    margin: 0 auto;
    padding:
        clamp(48px, 6vw, 72px)
        var(--section-rail-right)
        clamp(40px, 5vw, 56px)
        var(--section-rail-left);
}

.team-contact__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(24px, 4vw, 48px);
    margin-bottom: clamp(24px, 3.5vw, 36px);
}

.team-contact__intro {
    max-width: 520px;
}

.team-contact__head .section-sub {
    margin-top: 10px;
    font-size: 0.92rem;
    color: rgba(13, 17, 23, 0.52);
}

.team-contact__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #0d1117;
}

.team-contact__general {
    flex-shrink: 0;
    text-align: right;
    padding-left: clamp(20px, 3vw, 36px);
    border-left: 1px solid var(--slate-100);
}

.team-contact__general-label {
    margin: 0 0 8px;
    font-family: var(--font-body);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(13, 17, 23, 0.38);
}

.team-contact__general-link {
    display: block;
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.55;
    color: #0d1117;
    text-decoration: none;
    transition: color 0.2s ease;
}

.team-contact__general-link:hover {
    color: var(--red);
}

.team-contact__general-note {
    margin: 8px 0 0;
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: rgba(13, 17, 23, 0.4);
}

/* --- karty --- */
.team-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(18px, 2.2vw, 24px);
    border: 1px solid var(--slate-100);
    background: #ffffff;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 40px;
    height: 2px;
    background: var(--slate-200);
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease;
}

.team-card:hover {
    border-color: rgba(13, 17, 23, 0.16);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px -22px rgba(13, 17, 23, 0.22);
}

.team-card:hover::before {
    width: calc(100% + 2px);
    background: var(--red);
}

.team-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 1.8vw, 20px);
}

.team-card__top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: clamp(14px, 1.8vw, 18px);
}

.team-card__dept {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(13, 17, 23, 0.38);
}

.team-card__index {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(13, 17, 23, 0.16);
    transition: color 0.25s ease;
}

.team-card:hover .team-card__index {
    color: rgba(227, 6, 19, 0.55);
}

.team-card__person {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: clamp(14px, 1.8vw, 18px);
}

.team-card__photo {
    display: block;
    flex-shrink: 0;
    width: 56px;
    height: auto;
    max-height: 68px;
    object-fit: contain;
    object-position: top center;
    filter: grayscale(1);
    transition: filter 0.35s ease;
}

.team-card:hover .team-card__photo {
    filter: grayscale(0);
}

.team-card__name {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #0d1117;
}

.team-card__actions {
    margin-top: auto;
    border-top: 1px solid var(--slate-100);
}

.team-card__action {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(13, 17, 23, 0.55);
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-word;
}

.team-card__action + .team-card__action {
    border-top: 1px solid var(--slate-100);
}

.team-card__action-ic {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1.5px solid rgba(227, 6, 19, 0.45);
    color: var(--red);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.team-card__action:hover {
    color: #0d1117;
}

.team-card__action:hover .team-card__action-ic {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

/* --- karta vedenia --- */
.team-card--lead {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: clamp(20px, 3vw, 40px);
    margin-bottom: clamp(14px, 1.8vw, 20px);
}

.team-card--lead::before {
    width: 40px;
    background: var(--red);
}

.team-card__lead-person {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 22px);
}

.team-card__photo--lead {
    width: 74px;
    max-height: 92px;
}

.team-card__name--lead {
    font-size: clamp(1.1rem, 1.6vw, 1.25rem);
}

.team-card__role {
    margin: 5px 0 0;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--red);
}

.team-card__lead-info .team-card__dept {
    margin-bottom: 7px;
}

.team-card__actions--lead {
    margin-top: 0;
    border-top: 0;
    flex-shrink: 0;
}

.team-card__actions--lead .team-card__action {
    justify-content: flex-end;
    font-size: 0.84rem;
}

/* --- CTA dlaždica --- */
.team-card--cta {
    background: #0d1117;
    border-color: #0d1117;
}

.team-card--cta::before {
    background: rgba(255, 255, 255, 0.16);
}

.team-card--cta:hover {
    border-color: #0d1117;
}

.team-card--cta .team-card__dept {
    color: rgba(255, 255, 255, 0.45);
}

.team-card--cta .team-card__index {
    color: rgba(255, 255, 255, 0.18);
}

.team-card--cta:hover .team-card__index {
    color: rgba(227, 6, 19, 0.75);
}

.team-card__cta-text {
    margin: 0 0 18px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
}

.team-card__cta-link {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-family: var(--font-display);
    font-size: 0.86rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
}

.team-card__cta-link .team-card__action-ic {
    border-color: rgba(227, 6, 19, 0.75);
    color: #ff4d57;
}

.team-card__cta-link:hover .team-card__action-ic {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.team-card__cta-link .team-card__action-ic svg {
    transition: transform 0.22s ease;
}

.team-card__cta-link:hover .team-card__action-ic svg {
    transform: translateX(2px);
}

.team-contact__legal {
    margin-top: clamp(36px, 5vw, 48px);
    padding-top: clamp(20px, 2.5vw, 28px);
    border-top: 1px solid var(--slate-100);
    text-align: center;
}

.team-contact__legal p {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(13, 17, 23, 0.4);
}

.team-contact__legal p + p {
    margin-top: 4px;
}

@media (max-width: 960px) {
    .team-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-card--lead {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .team-card__actions--lead {
        border-top: 1px solid var(--slate-100);
        padding-top: 4px;
    }

    .team-card__actions--lead .team-card__action {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .team-contact__head {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .team-contact__general {
        text-align: left;
        padding-left: 0;
        padding-top: 18px;
        border-left: 0;
        border-top: 1px solid var(--slate-100);
    }

    .team-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ═══════════════════════════════════════════════════════════
   SECTION — KONTAKTY / TÍM — VARIANT 2 (adresár)
═══════════════════════════════════════════════════════════ */
.team-variant-divider {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    background: #f6f8fa;
    border-top: 1px solid var(--slate-100);
    border-bottom: 1px solid var(--slate-100);
}

.team-variant-divider span {
    font-family: var(--font-body);
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(13, 17, 23, 0.35);
}

.team-dir {
    background: #ffffff;
}

.team-dir__inner {
    width: min(var(--nav-container), 100%);
    margin: 0 auto;
    padding:
        clamp(48px, 6vw, 72px)
        var(--section-rail-right)
        clamp(40px, 5vw, 56px)
        var(--section-rail-left);
    display: grid;
    grid-template-columns: minmax(260px, 330px) 1fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}

.team-dir__aside {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
}

.team-dir__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #0d1117;
}

.team-dir__aside .section-sub {
    margin-top: 10px;
    font-size: 0.92rem;
    color: rgba(13, 17, 23, 0.52);
}

.team-dir__general {
    margin-top: clamp(24px, 3vw, 32px);
    padding-top: clamp(18px, 2.2vw, 24px);
    border-top: 1px solid var(--slate-100);
}

.team-dir__general-label {
    margin: 0 0 8px;
    font-family: var(--font-body);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(13, 17, 23, 0.38);
}

.team-dir__general-link {
    display: block;
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.55;
    color: #0d1117;
    text-decoration: none;
    transition: color 0.2s ease;
}

.team-dir__general-link:hover {
    color: var(--red);
}

.team-dir__general-note {
    margin: 8px 0 0;
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: rgba(13, 17, 23, 0.4);
}

/* --- zoznam --- */
.team-dir__list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--slate-200);
}

.team-dir__row {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(14px, 2vw, 26px);
    padding: clamp(15px, 1.8vw, 20px) clamp(6px, 1vw, 14px);
    border-bottom: 1px solid var(--slate-200);
    transition: background 0.2s ease;
}

.team-dir__row::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: -1px;
    width: 2px;
    background: var(--red);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-dir__row:hover {
    background: #fafbfd;
}

.team-dir__row:hover::before {
    transform: scaleY(1);
}

.team-dir__index {
    font-family: var(--font-display);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(13, 17, 23, 0.2);
    transition: color 0.25s ease;
}

.team-dir__row:hover .team-dir__index {
    color: var(--red);
}

.team-dir__who {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.6vw, 18px);
    min-width: 0;
}

.team-dir__photo {
    display: block;
    flex-shrink: 0;
    width: 50px;
    height: auto;
    max-height: 62px;
    object-fit: contain;
    object-position: top center;
    filter: grayscale(1);
    transition: filter 0.35s ease;
}

.team-dir__row:hover .team-dir__photo {
    filter: grayscale(0);
}

.team-dir__dept {
    margin: 0 0 3px;
    font-family: var(--font-body);
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(13, 17, 23, 0.38);
}

.team-dir__name {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.02rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #0d1117;
}

.team-dir__role {
    margin: 3px 0 0;
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--red);
}

.team-dir__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.team-dir__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border: 1px solid var(--slate-200);
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 500;
    color: rgba(13, 17, 23, 0.6);
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.team-dir__pill svg {
    flex-shrink: 0;
    color: var(--red);
    transition: color 0.2s ease;
}

.team-dir__pill:hover {
    border-color: var(--red);
    background: var(--red);
    color: #ffffff;
}

.team-dir__pill:hover svg {
    color: #ffffff;
}

/* --- riadok vedenia --- */
.team-dir__row--lead {
    background: #fafbfc;
    padding-top: clamp(18px, 2.2vw, 24px);
    padding-bottom: clamp(18px, 2.2vw, 24px);
}

.team-dir__row--lead::before {
    transform: scaleY(1);
}

.team-dir__row--lead .team-dir__index {
    color: var(--red);
}

.team-dir__photo--lead {
    width: 62px;
    max-height: 78px;
}

.team-dir__name--lead {
    font-size: clamp(1.1rem, 1.5vw, 1.2rem);
}

/* --- CTA riadok --- */
.team-dir__row--cta {
    background: #0d1117;
    border-bottom-color: #0d1117;
}

.team-dir__row--cta::before {
    transform: scaleY(1);
}

.team-dir__row--cta .team-dir__index {
    color: rgba(255, 255, 255, 0.25);
}

.team-dir__row--cta:hover {
    background: #0d1117;
}

.team-dir__row--cta:hover .team-dir__index {
    color: rgba(227, 6, 19, 0.85);
}

.team-dir__cta-text {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.75);
}

.team-dir__cta-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
}

.team-dir__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1.5px solid rgba(227, 6, 19, 0.75);
    color: #ff4d57;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.team-dir__arrow svg {
    transition: transform 0.22s ease;
}

.team-dir__cta-link:hover .team-dir__arrow {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.team-dir__cta-link:hover .team-dir__arrow svg {
    transform: translateX(2px);
}

@media (max-width: 1100px) {
    .team-dir__row {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .team-dir__links {
        grid-column: 2;
        justify-content: flex-start;
        margin-top: 2px;
    }

    .team-dir__row--cta .team-dir__cta-link {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 960px) {
    .team-dir__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .team-dir__aside {
        position: static;
    }
}

@media (max-width: 640px) {
    .team-dir__row {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 12px;
    }

    .team-dir__pill {
        padding: 7px 11px;
        font-size: 0.72rem;
    }

    .team-dir__pill span {
        word-break: break-word;
    }
}

/* ═══════════════════════════════════════════════════════════
   SECTION — KONTAKTY / TÍM — VARIANT 3 (sprievodca)
═══════════════════════════════════════════════════════════ */
.team-guide {
    background: #f4f6f8;
    border-top: 1px solid var(--slate-100);
}

.team-guide__inner {
    width: min(var(--nav-container), 100%);
    margin: 0 auto;
    padding:
        clamp(48px, 6vw, 72px)
        var(--section-rail-right)
        clamp(40px, 5vw, 56px)
        var(--section-rail-left);
}

.team-guide__head {
    max-width: 560px;
    margin-bottom: clamp(22px, 3vw, 30px);
}

.team-guide__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.6rem, 2.6vw, 2.15rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
    color: #0d1117;
}

.team-guide__head .section-sub {
    margin-top: 10px;
    font-size: 0.92rem;
    color: rgba(13, 17, 23, 0.52);
}

.team-guide__map {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: clamp(22px, 3vw, 30px);
}

.team-guide__chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid rgba(13, 17, 23, 0.12);
    background: #ffffff;
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: rgba(13, 17, 23, 0.62);
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.team-guide__chip:hover {
    border-color: var(--red);
    color: var(--red);
    background: #fff;
}

.team-guide__stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-guide__panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(16px, 2.5vw, 32px);
    padding: clamp(16px, 2vw, 22px) clamp(16px, 2.2vw, 24px);
    background: #ffffff;
    border: 1px solid rgba(13, 17, 23, 0.06);
    scroll-margin-top: calc(var(--nav-h) + 16px);
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.team-guide__panel:hover {
    border-color: rgba(13, 17, 23, 0.14);
    box-shadow: 0 12px 28px -20px rgba(13, 17, 23, 0.28);
}

.team-guide__panel--lead {
    border-left: 3px solid var(--red);
}

.team-guide__person {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.8vw, 20px);
    min-width: 0;
    flex: 1;
}

.team-guide__photo {
    display: block;
    flex-shrink: 0;
    width: 58px;
    height: auto;
    max-height: 72px;
    object-fit: contain;
    object-position: top center;
    filter: grayscale(1);
    transition: filter 0.35s ease;
}

.team-guide__panel:hover .team-guide__photo {
    filter: grayscale(0);
}

.team-guide__photo--lead {
    width: 72px;
    max-height: 88px;
}

.team-guide__meta {
    min-width: 0;
}

.team-guide__dept {
    margin: 0 0 4px;
    font-family: var(--font-body);
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(13, 17, 23, 0.38);
}

.team-guide__name {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.02rem, 1.4vw, 1.12rem);
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #0d1117;
}

.team-guide__role {
    margin: 4px 0 0;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--red);
}

.team-guide__hint {
    margin: 6px 0 0;
    max-width: 420px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    line-height: 1.45;
    color: rgba(13, 17, 23, 0.48);
}

.team-guide__actions {
    display: flex;
    flex-shrink: 0;
    gap: 8px;
}

.team-guide__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 112px;
    justify-content: center;
    padding: 11px 16px;
    border: 1.5px solid rgba(13, 17, 23, 0.14);
    background: #ffffff;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: #0d1117;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.team-guide__btn svg {
    flex-shrink: 0;
    color: var(--red);
    transition: color 0.2s ease;
}

.team-guide__btn:hover {
    border-color: #0d1117;
    background: #0d1117;
    color: #ffffff;
}

.team-guide__btn:hover svg {
    color: #ffffff;
}

.team-guide__btn--primary {
    border-color: var(--red);
    background: var(--red);
    color: #ffffff;
}

.team-guide__btn--primary svg {
    color: #ffffff;
}

.team-guide__btn--primary:hover {
    border-color: #b80510;
    background: #b80510;
    color: #ffffff;
}

.team-guide__btn--primary:hover svg {
    color: #ffffff;
}

.team-guide__fallback {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(16px, 3vw, 32px);
    margin-top: clamp(16px, 2.2vw, 22px);
    padding: clamp(18px, 2.2vw, 24px);
    background: #0d1117;
}

.team-guide__fallback-label {
    margin: 0 0 6px;
    font-family: var(--font-body);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.team-guide__fallback-text {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
}

.team-guide__fallback-text a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.team-guide__fallback-text a:hover {
    color: #ff4d57;
}

.team-guide__fallback-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 0.86rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
}

.team-guide__fallback-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1.5px solid rgba(227, 6, 19, 0.75);
    color: #ff4d57;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.team-guide__fallback-arrow svg {
    transition: transform 0.22s ease;
}

.team-guide__fallback-cta:hover .team-guide__fallback-arrow {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.team-guide__fallback-cta:hover .team-guide__fallback-arrow svg {
    transform: translateX(2px);
}

@media (max-width: 900px) {
    .team-guide__panel {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .team-guide__actions {
        width: 100%;
    }

    .team-guide__btn {
        flex: 1;
    }

    .team-guide__fallback {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .team-guide__map {
        gap: 6px;
    }

    .team-guide__chip {
        padding: 7px 11px;
        font-size: 0.7rem;
    }

    .team-guide__hint {
        font-size: 0.76rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   SECTION — KONTAKTY / TÍM — VARIANT 4 (meet / overlapping)
═══════════════════════════════════════════════════════════ */
.team-meet {
    background: #ffffff;
    border-top: 1px solid var(--slate-100);
}

.team-meet__inner {
    width: min(1280px, 100%);
    margin: 0 auto;
    padding:
        clamp(56px, 7vw, 96px)
        clamp(24px, 4vw, 48px)
        clamp(48px, 5.5vw, 72px);
}

.team-meet__head {
    text-align: center;
    max-width: 480px;
    margin: 0 auto clamp(48px, 6vw, 64px);
}

.team-meet__head .eyebrow {
    margin-bottom: 12px;
}

.team-meet__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: var(--weight-title);
    font-size: var(--text-h2);
    line-height: var(--lh-title);
    letter-spacing: var(--tracking-title);
    color: #0d1117;
}

.team-meet__head .section-sub {
    margin: 14px auto 0;
    max-width: 34ch;
    font-size: clamp(0.95rem, 1.05vw, 1.05rem);
    line-height: var(--lh-lead);
    color: rgba(13, 17, 23, 0.55);
}

/* Primary arc — 5 people: S · M · LEAD · M · S */
.team-meet__row {
    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.05fr)
        minmax(0, 1.35fr)
        minmax(0, 1.05fr)
        minmax(0, 0.9fr);
    align-items: start;
    column-gap: clamp(8px, 1.8vw, 28px);
    width: 100%;
    margin: 0 auto;
}

.team-meet__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    text-align: center;
    padding: 0 4px;
    scroll-margin-top: calc(var(--nav-h) + 16px);
}

.team-meet__avatar-slot {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    margin: 0 0 28px;
    height: clamp(200px, 22vw, 248px);
    position: relative;
    overflow: visible;
}

/*
  Arc heights (lead highest, others step down symmetrically).
  Slot height absorbs the drop so copy never collides.
*/
.team-meet__card--s .team-meet__avatar {
    z-index: 1;
    margin-top: clamp(56px, 6.5vw, 78px);
    max-width: clamp(84px, 9vw, 104px);
}

.team-meet__card--m .team-meet__avatar {
    z-index: 4;
    margin-top: clamp(28px, 3.2vw, 40px);
    max-width: clamp(112px, 12vw, 136px);
}

.team-meet__card--lead .team-meet__avatar {
    z-index: 8;
    margin-top: 0;
    max-width: clamp(148px, 16vw, 188px);
}

.team-meet__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: none;
    background: var(--red);
    color: #ffffff;
    box-shadow: none;
    transition: transform 0.3s var(--btn-ease);
}

/* Photo pop-out: red disc + head overflowing the top edge */
.team-meet__avatar--photo {
    position: relative;
    overflow: visible;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    aspect-ratio: 1 / 1.22;
}

.team-meet__avatar-disc {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--red);
    border: none;
    box-shadow: none;
    z-index: 0;
    pointer-events: none;
}

.team-meet__avatar--photo img {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 1;
    width: 108%;
    height: 100%;
    transform: translateX(-50%);
    object-fit: contain;
    object-position: center bottom;
    display: block;
    /* Top of photo fully visible; bottom follows the red circle */
    -webkit-mask-image:
        linear-gradient(#000 0 0),
        radial-gradient(circle closest-side at 50% 50%, #000 100%, transparent 100.5%);
    -webkit-mask-size: 100% 50%, 93.2% 82.5%;
    -webkit-mask-position: top center, bottom center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-composite: source-over;
    mask-image:
        linear-gradient(#000 0 0),
        radial-gradient(circle closest-side at 50% 50%, #000 100%, transparent 100.5%);
    mask-size: 100% 50%, 93.2% 82.5%;
    mask-position: top center, bottom center;
    mask-repeat: no-repeat;
    mask-composite: add;
}

.team-meet__card--lead .team-meet__avatar--photo .team-meet__avatar-disc,
.team-meet__card--lead .team-meet__avatar:not(.team-meet__avatar--photo) {
    border: none;
    box-shadow: none;
}

.team-meet__initials {
    font-family: var(--font-display);
    font-weight: var(--weight-display);
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    line-height: 1;
    user-select: none;
}

.team-meet__card--s .team-meet__initials {
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
}

.team-meet__card--m .team-meet__initials {
    font-size: clamp(1.15rem, 1.35vw, 1.35rem);
}

.team-meet__card--lead .team-meet__initials {
    font-size: clamp(1.55rem, 2vw, 2rem);
    letter-spacing: 0.1em;
}

.team-meet__card:hover .team-meet__avatar-slot,
.team-meet__card:focus-within .team-meet__avatar-slot {
    z-index: 16;
}

.team-meet__card:hover .team-meet__avatar,
.team-meet__card:focus-within .team-meet__avatar {
    transform: scale(1.04);
    box-shadow: none;
}

/* Copy under circles — shared baseline, clearer type */
.team-meet__name {
    margin: 0 0 8px;
    max-width: 16ch;
    font-family: var(--font-display);
    font-weight: var(--weight-display);
    font-size: clamp(0.92rem, 1.15vw, 1.05rem);
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #0d1117;
    text-wrap: balance;
}

.team-meet__card--s .team-meet__name {
    font-size: clamp(0.86rem, 1.05vw, 0.98rem);
    font-weight: var(--weight-ui);
}

.team-meet__card--lead .team-meet__name {
    max-width: 18ch;
    font-size: clamp(1.15rem, 1.55vw, 1.4rem);
}

.team-meet__role {
    margin: 0 0 16px;
    max-width: 18ch;
    min-height: 2.6em;
    font-family: var(--font-body);
    font-size: clamp(0.82rem, 0.95vw, 0.9rem);
    font-weight: var(--weight-body);
    line-height: 1.4;
    color: rgba(13, 17, 23, 0.55);
}

.team-meet__name + .team-meet__links {
    margin-top: 12px;
}

.team-meet__card--lead .team-meet__role {
    color: var(--red);
    font-weight: var(--weight-ui);
    font-size: clamp(0.88rem, 1.05vw, 0.98rem);
    max-width: 20ch;
}

.team-meet__links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    margin-top: auto;
    width: 100%;
}

.team-meet__phone {
    font-family: var(--font-body);
    font-size: clamp(0.84rem, 1vw, 0.95rem);
    font-weight: var(--weight-ui);
    letter-spacing: -0.01em;
    color: #0d1117;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.team-meet__email {
    font-family: var(--font-body);
    font-size: clamp(0.78rem, 0.92vw, 0.88rem);
    font-weight: var(--weight-nav);
    color: rgba(13, 17, 23, 0.58);
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.team-meet__card--lead .team-meet__phone {
    font-size: clamp(0.95rem, 1.15vw, 1.05rem);
}

.team-meet__card--lead .team-meet__email {
    font-size: clamp(0.86rem, 1vw, 0.95rem);
    color: rgba(13, 17, 23, 0.62);
}

.team-meet__phone:hover,
.team-meet__email:hover {
    color: var(--red);
}

/* Secondary members — quieter hierarchy */
.team-meet__more {
    margin: clamp(56px, 7vw, 80px) auto 0;
    max-width: none;
    width: 100%;
    padding-top: clamp(28px, 3.5vw, 36px);
    border-top: 1px solid var(--slate-200);
}

.team-meet__more-label {
    margin: 0 0 24px;
    text-align: center;
    font-family: var(--font-body);
    font-size: var(--text-eyebrow);
    font-weight: var(--weight-ui);
    letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase;
    color: rgba(13, 17, 23, 0.38);
}

.team-meet__more-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--slate-100);
    border-bottom: 1px solid var(--slate-100);
}

.team-meet__more-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    max-width: none;
    padding: 22px 20px;
    text-align: center;
    border-right: 1px solid var(--slate-100);
    border-bottom: 1px solid var(--slate-100);
    scroll-margin-top: calc(var(--nav-h) + 16px);
    transition: background 0.2s ease;
}

.team-meet__more-item:nth-child(3n) {
    border-right: none;
}

.team-meet__more-item:nth-last-child(-n + 3) {
    border-bottom: none;
}

.team-meet__more-item:hover {
    background: var(--slate-50);
}

.team-meet__more-avatar {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--red);
    font-family: var(--font-display);
    font-weight: var(--weight-display);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    color: #ffffff;
}

.team-meet__more-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-width: 0;
}

.team-meet__more-name {
    font-family: var(--font-display);
    font-weight: var(--weight-ui);
    font-size: 0.88rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #0d1117;
}

.team-meet__more-meta a {
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: var(--weight-nav);
    color: rgba(13, 17, 23, 0.42);
    text-decoration: none;
    word-break: break-all;
    transition: color 0.18s ease;
}

.team-meet__more-meta a:first-of-type {
    color: rgba(13, 17, 23, 0.62);
    font-weight: var(--weight-ui);
    word-break: normal;
}

.team-meet__more-meta a:hover {
    color: var(--red);
}

.team-meet__note {
    margin: clamp(36px, 4.5vw, 48px) auto 0;
    max-width: 400px;
    text-align: center;
    font-family: var(--font-body);
    font-size: var(--text-caption);
    line-height: var(--lh-body);
    color: rgba(13, 17, 23, 0.45);
}

.team-meet__note a {
    color: #0d1117;
    font-weight: var(--weight-ui);
    text-decoration: none;
    transition: color 0.2s ease;
}

.team-meet__note a:hover {
    color: var(--red);
}

@media (max-width: 1100px) {
    .team-meet__row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 20px;
        row-gap: 36px;
    }

    .team-meet__avatar-slot {
        width: 100%;
        margin: 0 0 18px;
        height: auto;
        min-height: 0;
    }

    .team-meet__card--s .team-meet__avatar,
    .team-meet__card--m .team-meet__avatar,
    .team-meet__card--lead .team-meet__avatar {
        margin-top: 0;
    }

    .team-meet__card--lead {
        grid-column: 1 / -1;
    }

    .team-meet__card--s .team-meet__avatar {
        max-width: 96px;
    }

    .team-meet__card--m .team-meet__avatar {
        max-width: 112px;
    }

    .team-meet__card--lead .team-meet__avatar {
        max-width: 140px;
    }

    .team-meet__name {
        max-width: none;
        font-size: 1rem;
    }

    .team-meet__role {
        min-height: 0;
        max-width: none;
        font-size: 0.88rem;
    }

    .team-meet__phone {
        font-size: 0.9rem;
        white-space: normal;
    }

    .team-meet__email {
        font-size: 0.84rem;
    }

    .team-meet__more-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-meet__more-item:nth-child(3n) {
        border-right: 1px solid var(--slate-100);
    }

    .team-meet__more-item:nth-child(2n) {
        border-right: none;
    }

    .team-meet__more-item:nth-last-child(-n + 3) {
        border-bottom: 1px solid var(--slate-100);
    }

    .team-meet__more-item:nth-last-child(-n + 2) {
        border-bottom: none;
    }
}

@media (max-width: 640px) {
    .team-meet__inner {
        padding-left: 18px;
        padding-right: 18px;
    }

    .team-meet__head {
        margin-bottom: 36px;
    }

    .team-meet__row {
        grid-template-columns: 1fr 1fr;
        column-gap: 14px;
        row-gap: 28px;
    }

    .team-meet__card {
        padding: 0;
    }

    .team-meet__card--lead {
        grid-column: 1 / -1;
        order: -1;
        padding-bottom: 18px;
        margin-bottom: 8px;
        border-bottom: 1px solid var(--slate-200);
    }

    .team-meet__card--s .team-meet__avatar {
        max-width: 88px;
    }

    .team-meet__card--m .team-meet__avatar {
        max-width: 96px;
    }

    .team-meet__card--lead .team-meet__avatar {
        max-width: 128px;
    }

    .team-meet__card--lead .team-meet__name {
        font-size: 1.2rem;
    }

    .team-meet__name {
        font-size: 0.92rem;
    }

    .team-meet__role {
        margin-bottom: 12px;
        font-size: 0.84rem;
    }

    .team-meet__phone {
        font-size: 0.88rem;
    }

    .team-meet__email {
        font-size: 0.8rem;
    }

    .team-meet__more {
        margin-top: 44px;
    }

    .team-meet__more-list {
        grid-template-columns: 1fr;
        border: none;
    }

    .team-meet__more-item {
        max-width: none;
        padding: 14px 0;
        border-right: none;
        border-bottom: 1px solid var(--slate-100);
    }

    .team-meet__more-item:nth-child(n) {
        border-right: none;
    }

    .team-meet__more-item:last-child {
        border-bottom: none;
    }
}

/* ---------- SERVICE PAGE — Projekčná činnosť ---------- */
.svc-hero {
    background: #ffffff;
    overflow: hidden;
}

.svc-hero-inner {
    position: relative;
    width: 100%;
    min-height: clamp(480px, 56vw, 660px);
    margin: 0;
    padding: 0;
}

.svc-hero-media {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: clamp(96px, 10%, 160px);
    margin: 0;
    overflow: hidden;
}

.svc-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.svc-hero-panel {
    position: absolute;
    top: 38%;
    right: clamp(56px, 7vw, 96px);
    transform: translateY(-50%);
    z-index: 2;
    width: min(640px, 52vw);
    padding: clamp(36px, 4vw, 52px);
    background: #ffffff;
}

.svc-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin: 0 0 16px;
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 500;
    color: rgba(13, 17, 23, 0.45);
}

.svc-breadcrumb a {
    color: rgba(13, 17, 23, 0.55);
    transition: color 0.15s ease;
}

.svc-breadcrumb a:hover {
    color: var(--red);
}

.svc-breadcrumb [aria-current] {
    color: rgba(13, 17, 23, 0.75);
}

.svc-hero-title {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 2.8vw, 2.35rem);
    font-weight: var(--weight-title);
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #0d1117;
}

.svc-hero-lead {
    margin: 0;
    font-family: var(--font-body);
    font-size: clamp(0.92rem, 1.1vw, 1rem);
    line-height: 1.65;
    color: rgba(13, 17, 23, 0.58);
}

.svc-hero-cta {
    display: inline-block;
    margin-top: 26px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: #0d1117;
    text-decoration: none;
    border-bottom: 4px solid var(--red);
    padding-bottom: 3px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.svc-hero-cta:hover,
.svc-hero-cta:focus-visible {
    color: var(--red);
    border-color: var(--red-deep);
}

.svc-intro {
    background: #ffffff;
    overflow: hidden;
}

.svc-intro-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: clamp(460px, 58vw, 720px);
}

.svc-intro-text {
    padding: clamp(60px, 8vw, 120px)
             clamp(32px, 4vw, 72px)
             clamp(60px, 8vw, 120px)
             max(var(--gutter), calc((100vw - var(--nav-container)) / 2 + var(--gutter)));
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.svc-intro-title {
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    max-width: 14ch;
    margin-bottom: 20px;
}

.svc-intro-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 28px;
}

.svc-intro-media {
    margin: 0;
    overflow: hidden;
}

.svc-intro-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.svc-scope {
    background: #fff;
    padding: clamp(72px, 9vw, 112px) 0;
    border-top: 1px solid var(--slate-100);
}

.svc-scope--alt {
    background: #f6f7f9;
}

.svc-all-lead {
    margin: 0 0 clamp(72px, 9vw, 104px);
    max-width: 52ch;
    font-family: var(--font-body);
    font-size: clamp(0.92rem, 1.1vw, 1rem);
    line-height: 1.65;
    color: rgba(13, 17, 23, 0.58);
}

.svc-all-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2.4vw, 28px);
}

.svc-all-pillar {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--slate-200);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.svc-all-pillar:hover,
.svc-all-pillar:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(13, 17, 23, 0.08);
}

.svc-all-pillar--proj:hover,
.svc-all-pillar--proj:focus-visible {
    border-color: rgba(227, 6, 19, 0.35);
}

.svc-all-pillar--inz:hover,
.svc-all-pillar--inz:focus-visible {
    border-color: rgba(0, 168, 232, 0.35);
}

.svc-all-pillar--vyst:hover,
.svc-all-pillar--vyst:focus-visible {
    border-color: rgba(90, 107, 94, 0.45);
}

.svc-all-pillar-media {
    margin: 0;
    overflow: hidden;
    background: var(--slate-50);
}

.svc-all-pillar-media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.svc-all-pillar:hover .svc-all-pillar-media img,
.svc-all-pillar:focus-visible .svc-all-pillar-media img {
    transform: none;
}

.svc-all-pillar-body {
    padding: clamp(22px, 2.8vw, 30px);
}

.svc-all-pillar-title {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 1.8vw, 1.45rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #0d1117;
}

.svc-all-pillar-text {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(13, 17, 23, 0.58);
}

.svc-all-pillar-cta {
    display: inline-block;
    margin-top: 18px;
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    color: #0d1117;
}

.svc-all-pillar--proj .svc-all-pillar-cta {
    border-bottom: 3px solid var(--red);
    padding-bottom: 2px;
}

.svc-all-pillar--inz .svc-all-pillar-cta {
    border-bottom: 3px solid var(--accent-blue);
    padding-bottom: 2px;
}

.svc-all-pillar--vyst .svc-all-pillar-cta {
    border-bottom: 3px solid var(--accent-build);
    padding-bottom: 2px;
}

.svc-ref-cat--proj {
    color: var(--red);
}

.svc-ref-cat--inz {
    color: var(--accent-blue);
}

.svc-ref-cat--vyst {
    color: var(--accent-build);
}

.svc-ref-title {
    margin: 0 0 clamp(40px, 5vw, 64px);
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: var(--weight-title);
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #0d1117;
}

.svc-ref-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(40px, 6vw, 80px);
}

.svc-ref-grid--quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: clamp(48px, 6vw, 72px);
    column-gap: clamp(40px, 6vw, 80px);
}

.svc-ref-cat {
    margin: 0;
    padding-bottom: clamp(20px, 2.5vw, 28px);
    border-bottom: 2px solid #0d1117;
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #0d1117;
}

.svc-scope .svc-ref-col,
.svc-faq .svc-ref-col,
.svc-corp .svc-ref-col {
    display: flex;
    flex-direction: column;
    gap: clamp(32px, 4vw, 48px);
}

.svc-ref-col > .svc-corp-list > li:first-child,
.svc-ref-col > .svc-ref-rows > li:first-child.svc-ref-row,
.svc-ref-col > .svc-ref-rows > li:first-child .svc-ref-link,
.svc-ref-col > .svc-ref-rows--faq > li:first-child .svc-faq-trigger {
    padding-top: 0;
}

.svc-ref-cat--spaced {
    margin-top: clamp(36px, 4.5vw, 52px);
}

.svc-ref-rows {
    margin: 0;
    padding: 0;
    list-style: none;
}

.svc-ref-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: clamp(16px, 2vw, 20px) 0;
    border-bottom: 1px solid var(--slate-200);
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.15vw, 1.05rem);
    font-weight: 500;
    line-height: 1.45;
    color: #0d1117;
}

.svc-ref-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 0;
    border: 1.5px solid rgba(227, 6, 19, 0.45);
    background: transparent;
    color: var(--red);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.svc-ref-btn svg {
    width: 11px;
    height: 11px;
    transition: transform 0.22s ease;
}

.svc-ref-link:hover .svc-ref-btn,
.svc-ref-link:focus-visible .svc-ref-btn {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.svc-ref-row--link {
    padding: 0;
}

.svc-ref-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: clamp(16px, 2vw, 20px) 0;
    text-decoration: none;
    color: #0d1117;
    transition: color 0.2s ease;
}

.svc-ref-link:hover,
.svc-ref-link:focus-visible {
    color: var(--red);
}

.svc-ref-link:focus-visible {
    outline: 2px solid rgba(227, 6, 19, 0.28);
    outline-offset: 2px;
}

.svc-faq {
    background: #fff;
    padding: clamp(72px, 9vw, 112px) 0;
    border-top: 1px solid var(--slate-100);
}

.svc-ref-row--faq {
    display: block;
    padding: 0;
    border-bottom: none;
}

.svc-ref-rows--faq .svc-ref-row--faq {
    border-bottom: 1px solid var(--slate-200);
}

.svc-ref-rows--faq .svc-ref-row--faq:last-child {
    border-bottom: none;
}

.svc-faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: clamp(16px, 2vw, 20px) 0;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.15vw, 1.05rem);
    font-weight: 500;
    line-height: 1.45;
    color: #0d1117;
    transition: color 0.2s ease;
}

.svc-faq-trigger:hover,
.svc-faq-trigger:focus-visible {
    color: rgba(13, 17, 23, 0.72);
}

.svc-faq-trigger[aria-expanded="true"] .svc-ref-btn {
    background: #0d1117;
    border-color: #0d1117;
    color: #fff;
}

.svc-faq-trigger[aria-expanded="true"] .svc-ref-btn svg {
    transform: rotate(90deg);
}

.svc-faq-body {
    display: none;
    padding: 0 0 clamp(16px, 2vw, 20px);
}

.svc-faq-body.open {
    display: block;
}

.svc-faq-body p {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(13, 17, 23, 0.65);
}

.svc-faq-body a {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.svc-manager {
    margin-top: clamp(96px, 12vw, 160px);
    display: flex;
    justify-content: center;
}

.svc-manager-inner {
    position: relative;
    width: min(1180px, 100%);
    min-height: clamp(380px, 40vw, 500px);
}

.svc-manager-media {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: clamp(28px, 4.5vw, 52px);
    margin: 0;
    overflow: hidden;
}

.svc-manager-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.svc-manager-panel {
    position: absolute;
    top: 50%;
    right: clamp(20px, 3vw, 36px);
    transform: translateY(-50%);
    z-index: 2;
    width: min(520px, 52%);
    padding: clamp(28px, 3vw, 40px);
    background: #ffffff;
}

.svc-manager-name {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: #0d1117;
    max-width: 18ch;
}

.svc-manager-role {
    margin: 0;
    font-family: var(--font-body);
    font-size: clamp(0.88rem, 1vw, 0.95rem);
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: -0.01em;
    color: rgba(13, 17, 23, 0.58);
    max-width: 42ch;
}

.svc-manager-contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 20px;
}

.svc-manager-contact a {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 600;
    color: #0d1117;
    text-decoration: none;
    border-bottom: 2px solid var(--red);
    align-self: flex-start;
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.svc-manager-contact a:hover,
.svc-manager-contact a:focus-visible {
    color: var(--red);
    border-color: var(--red-deep);
}

.svc-corp {
    background: #f6f7f9;
    padding: clamp(72px, 9vw, 112px) 0;
    border-top: 1px solid var(--slate-100);
}

.svc-corp-lead {
    margin: 0 0 clamp(72px, 9vw, 104px);
    max-width: 56ch;
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.15vw, 1.05rem);
    line-height: 1.6;
    color: rgba(13, 17, 23, 0.58);
}

.svc-ref-title + .svc-corp-lead,
.svc-ref-title + .svc-all-lead {
    margin-top: clamp(-28px, -3.5vw, -16px);
}

.svc-corp-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.svc-corp-list li {
    padding: clamp(14px, 1.8vw, 18px) 0;
    border-bottom: 1px solid var(--slate-200);
    font-family: var(--font-body);
    font-size: clamp(0.92rem, 1.1vw, 1rem);
    font-weight: 500;
    line-height: 1.5;
    color: rgba(13, 17, 23, 0.72);
}

.svc-corp-list li:last-child {
    border-bottom: none;
}

/* ── Catalog (podkategórie) — boxy product grid ── */
.svc-catalog {
    background: #ffffff;
    padding: clamp(72px, 9vw, 120px) 0;
    border-top: 1px solid var(--slate-100);
}

.svc-catalog__head {
    margin-bottom: clamp(40px, 5.5vw, 64px);
}

.svc-catalog__intro {
    max-width: 560px;
}

.svc-catalog__title {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #0d1117;
}

.svc-catalog__lead {
    margin: 0 0 22px;
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.15vw, 1.05rem);
    line-height: 1.6;
    color: rgba(13, 17, 23, 0.58);
}

.svc-catalog__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--red);
    border: 1.5px solid var(--red);
    border-radius: var(--btn-radius);
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: background 0.22s var(--btn-ease), color 0.22s var(--btn-ease), border-color 0.22s var(--btn-ease);
}

.svc-catalog__cta:hover,
.svc-catalog__cta:focus-visible {
    background: #ffffff;
    color: var(--red);
}

.svc-catalog__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(32px, 4.5vw, 56px) clamp(28px, 3.5vw, 48px);
}

.svc-catalog__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.svc-catalog__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
}

.svc-catalog__name {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #0d1117;
}

.svc-catalog__text {
    margin: 0 0 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(13, 17, 23, 0.55);
}

.svc-catalog__more {
    margin-top: auto;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: #0d1117;
    text-decoration: none;
    border-bottom: 3px solid var(--red);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.svc-catalog__more:hover,
.svc-catalog__more:focus-visible {
    color: var(--red);
    border-color: var(--red-deep);
}

/* ── Path (od návrhu) — boxy split ── */
.svc-path {
    background: var(--slate-100);
    padding: clamp(56px, 7vw, 96px) 0;
    border-top: 1px solid var(--slate-200);
}

.svc-path__inner {
    width: min(var(--nav-container), 100%);
    margin: 0 auto;
    padding: 0 var(--section-rail-right) 0 var(--section-rail-left);
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.75fr);
    gap: clamp(20px, 3vw, 36px);
    align-items: stretch;
}

.svc-path__card {
    background: #ffffff;
    padding: clamp(32px, 4vw, 52px);
    border-radius: var(--btn-radius);
}

.svc-path__title {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #0d1117;
}

.svc-path__lead {
    margin: 0 0 24px;
    max-width: 48ch;
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.15vw, 1.05rem);
    line-height: 1.6;
    color: rgba(13, 17, 23, 0.6);
}

.svc-path__checks {
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.svc-path__checks li {
    position: relative;
    padding-left: 36px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.45;
    color: #0d1117;
}

.svc-path__checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 22px;
    height: 22px;
    background: var(--red);
    border-radius: 50%;
    box-shadow: inset 0 0 0 0 transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m3.5 8.2 3 3 6-6.5' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
}

.svc-path__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.svc-path__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    background: var(--red);
    border: 1.5px solid var(--red);
    border-radius: var(--btn-radius);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: background 0.22s var(--btn-ease), color 0.22s var(--btn-ease);
}

.svc-path__btn:hover,
.svc-path__btn:focus-visible {
    background: #ffffff;
    color: var(--red);
}

.svc-path__aside {
    background: #ffffff;
    padding: clamp(28px, 3.5vw, 40px);
    border-radius: var(--btn-radius);
    display: flex;
    flex-direction: column;
}

.svc-path__aside-title {
    margin: 0 0 22px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0d1117;
}

.svc-path__links {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.svc-path__links a {
    display: inline;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: #0d1117;
    text-decoration: none;
    border-bottom: 3px solid var(--red);
    padding-bottom: 2px;
    transition: color 0.2s ease;
}

.svc-path__links a:hover,
.svc-path__links a:focus-visible {
    color: var(--red);
}

@media (max-width: 960px) {
    .svc-catalog__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .svc-path__inner {
        grid-template-columns: 1fr;
        padding-left: var(--gutter);
        padding-right: var(--gutter);
    }
}

@media (max-width: 640px) {
    .svc-catalog__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .svc-path__actions {
        flex-direction: column;
    }

    .svc-path__btn {
        width: 100%;
    }
}

/* ── Deliver (leaf scope) — boxy benefit cards ── */
.svc-deliver {
    background: #ffffff;
    padding: clamp(64px, 8vw, 104px) 0;
    border-top: 1px solid var(--slate-100);
}

.svc-deliver__head {
    margin-bottom: clamp(32px, 4.5vw, 48px);
    max-width: 640px;
}

.svc-deliver__title {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3.2vw, 2.55rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #0d1117;
}

.svc-deliver__lead {
    margin: 0;
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.15vw, 1.05rem);
    line-height: 1.6;
    color: rgba(13, 17, 23, 0.58);
}

.svc-deliver__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2.2vw, 24px);
}

.svc-deliver__card {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    padding: clamp(24px, 3vw, 32px);
}

.svc-deliver__card-title {
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0d1117;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0d1117;
}

.svc-deliver__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.svc-deliver__list li {
    position: relative;
    padding-left: 28px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.45;
    color: rgba(13, 17, 23, 0.78);
}

.svc-deliver__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 16px;
    height: 16px;
    background: var(--red);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m3.5 8.2 3 3 6-6.5' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 10px;
}

.svc-deliver__card--links {
    background: #ffffff;
}

.svc-deliver__card--links .svc-deliver__list li {
    padding-left: 0;
}

.svc-deliver__card--links .svc-deliver__list li::before {
    display: none;
}

.svc-deliver__card--links a {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: #0d1117;
    text-decoration: none;
    border-bottom: 3px solid var(--red);
    padding-bottom: 2px;
    transition: color 0.2s ease;
}

.svc-deliver__card--links a:hover,
.svc-deliver__card--links a:focus-visible {
    color: var(--red);
}

@media (max-width: 720px) {
    .svc-deliver__grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ polish to match boxy system */
.svc-faq .svc-ref-title {
    margin-bottom: clamp(28px, 4vw, 40px);
}

.svc-faq .svc-ref-cat {
    border-bottom-color: var(--red);
}

.svc-areas {
    background: #f6f7f9;
    padding: clamp(72px, 9vw, 120px) 0;
    border-top: 1px solid var(--slate-100);
}

.svc-areas-head {
    margin-bottom: clamp(36px, 5vw, 52px);
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 1.8vw, 20px);
}

.svc-card {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.svc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(13, 17, 23, 0.08);
}

.svc-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.svc-card-body {
    padding: clamp(16px, 2vw, 22px);
}

.svc-card-title {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0d1117;
}

.svc-card-desc {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(13, 17, 23, 0.58);
}

.svc-trust {
    background: #0d1117;
    padding: clamp(48px, 6vw, 72px) 0;
}

.svc-trust-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 2.5vw, 32px);
}

.svc-trust-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: clamp(16px, 2vw, 24px);
    border-left: 2px solid var(--red);
}

.svc-trust-num {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #fff;
}

.svc-trust-label {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 1100px) {
    .svc-ref-grid,
    .svc-ref-grid--quad {
        grid-template-columns: 1fr;
        gap: clamp(40px, 8vw, 56px);
    }

    .svc-all-pillars {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 820px) {
    .svc-hero-inner {
        min-height: auto;
        display: flex;
        flex-direction: column;
    }

    .svc-hero-media {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        min-height: clamp(280px, 52vw, 380px);
    }

    .svc-hero-panel {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 100%;
        padding: 32px var(--gutter) 40px;
        box-shadow: none;
    }

    .svc-manager-inner {
        min-height: auto;
        display: flex;
        flex-direction: column;
    }

    .svc-manager-media {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        min-height: clamp(300px, 56vw, 400px);
    }

    .svc-manager-panel {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 100%;
        padding: 28px var(--gutter) 36px;
    }

    .svc-manager-name {
        max-width: none;
    }

    .svc-manager-role {
        max-width: none;
    }

    .svc-intro-inner {
        grid-template-columns: 1fr;
    }

    .svc-intro-media {
        min-height: 280px;
        order: -1;
    }

    .svc-intro-text {
        padding: 40px var(--gutter);
    }

    .svc-scope,
    .svc-faq,
    .svc-corp {
        padding: clamp(56px, 10vw, 72px) 0;
    }

    .svc-ref-title {
        margin-bottom: clamp(28px, 6vw, 40px);
    }

    .svc-manager {
        margin-top: clamp(72px, 14vw, 112px);
    }

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

@media (max-width: 520px) {
    .svc-grid,
    .svc-trust-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- FULL-WIDTH BANNER (own section, gentle overlap below) ---------- */
/* ---------- BLOG PREVIEW ---------- */
.blog-section {
    background: #fff;
    padding: clamp(80px, 10vw, 150px) 0;
    border-top: 1px solid #eef0f4;
}

.blog-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: clamp(40px, 6vw, 64px);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.5vw, 28px);
}

.blog-card {
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.blog-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.blog-card-img-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
}

.blog-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-card-img-wrap img {
    transform: scale(1.05);
}

.blog-card-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #fff;
    background: #e30613;
    padding: 5px 11px;
    border-radius: 20px;
}

.blog-card-cat--blue  { background: #1a56e8; }
.blog-card-cat--green { background: #14874e; }

.blog-card-body {
    display: flex;
    flex-direction: column;
    padding: 22px 22px 20px;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-date {
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(13,17,23,0.4);
}

.blog-read {
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(13,17,23,0.4);
    padding-left: 12px;
    border-left: 1px solid #e0e2e7;
}

.blog-card-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.3;
    letter-spacing: -0.2px;
    margin-bottom: 12px;
}

.blog-card-title a {
    color: #0d1117;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover { color: #e30613; }

.blog-card-excerpt {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.65;
    color: rgba(13,17,23,0.58);
    flex: 1;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: #e30613;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.blog-card-link:hover { gap: 10px; }

/* ---------- CONTACT CTA ---------- */
.contact-cta {
    position: relative;
    overflow: visible;
    z-index: 1;
    padding: clamp(80px, 10vw, 150px) 0;
    color: #fff;
    background-image: linear-gradient(rgba(13, 17, 23, 0.82), rgba(13, 17, 23, 0.82)),
        url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
}

.contact-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.contact-cta-heading {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.12;
    color: #ffffff;
    max-width: 18ch;
}

.contact-cta-text {
    margin: 0;
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    max-width: 42ch;
}

.svc-areas .section-sub {
    color: rgba(13, 17, 23, 0.58);
}

/* ═══════════════════════════════════════════════════════════
   SECTION — KONTAKTNÝ FORMULÁR
═══════════════════════════════════════════════════════════ */
.contact-form-section {
    position: relative;
    background: #ffffff;
    padding: clamp(72px, 9vw, 120px) 0;
    border-top: 1px solid var(--slate-100);
    overflow: hidden;
}

.contact-form-aside {
    position: relative;
    min-height: 100%;
}

.contact-form-accent--bar {
    position: absolute;
    top: clamp(-20px, -2.5vw, -8px);
    right: 0;
    bottom: clamp(-20px, -2.5vw, -8px);
    width: clamp(96px, 18vw, 220px);
    background: linear-gradient(
        180deg,
        var(--slate-200) 0%,
        var(--slate-100) 100%
    );
    z-index: 0;
}

.contact-form-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: stretch;
    width: min(var(--nav-container), 100%);
    margin: 0 auto;
    padding-left: max(
        var(--gutter),
        calc((100vw - var(--nav-container)) / 2 + var(--gutter))
    );
    padding-right: max(
        var(--gutter),
        calc((100vw - var(--nav-container)) / 2 + var(--gutter))
    );
    min-height: clamp(480px, 52vw, 620px);
}

.contact-form-panel {
    padding: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 56px) clamp(40px, 6vw, 72px) 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-title {
    font-family: var(--font-display);
    font-weight: var(--weight-title);
    font-size: var(--text-h2);
    line-height: var(--lh-title);
    letter-spacing: var(--tracking-title);
    color: #0d1117;
    margin-bottom: clamp(14px, 2vw, 20px);
}

.contact-form-lead {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: var(--text-lead);
    line-height: var(--lh-lead);
    color: rgba(13, 17, 23, 0.55);
    max-width: 42ch;
    margin-bottom: clamp(28px, 4vw, 44px);
}

.contact-form {
    max-width: 520px;
}

.contact-field {
    margin-bottom: clamp(22px, 3vw, 32px);
}

.contact-field label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(13, 17, 23, 0.72);
    margin-bottom: 10px;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: #0d1117;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid var(--slate-200);
    border-radius: 0;
    padding: 10px 0 12px;
    outline: none;
    resize: vertical;
    min-height: 44px;
    transition: border-color 0.22s var(--btn-ease);
}

.contact-field textarea {
    min-height: 110px;
    line-height: 1.55;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: rgba(13, 17, 23, 0.32);
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-bottom-color: #0d1117;
}

.contact-field input:invalid:not(:placeholder-shown),
.contact-field textarea:invalid:not(:placeholder-shown) {
    border-bottom-color: rgba(227, 6, 19, 0.55);
}

.contact-form-submit {
    margin-top: clamp(8px, 1.5vw, 16px);
    min-width: clamp(160px, 28vw, 200px);
}

.contact-form-feedback {
    margin-top: 14px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--accent-blue);
}

.contact-form-feedback.is-error {
    color: var(--red);
}

.contact-info-panel {
    position: relative;
    z-index: 1;
    background: var(--bg);
    color: #ffffff;
    padding: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 48px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: clamp(12px, 2vw, 24px) clamp(40px, 7vw, 96px) clamp(12px, 2vw, 24px) 0;
    box-shadow: 0 28px 64px rgba(13, 17, 23, 0.18);
}

.contact-info-accent {
    position: absolute;
    top: clamp(18px, 3vw, 28px);
    left: clamp(-10px, -1.2vw, -6px);
    width: clamp(22px, 2.8vw, 32px);
    height: clamp(22px, 2.8vw, 32px);
    background: var(--red);
    z-index: 1;
}

.contact-info-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: clamp(28px, 4vw, 40px);
}

.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: clamp(22px, 3vw, 30px);
}

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

.contact-info-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.72);
    margin-top: 2px;
}

.contact-info-list a,
.contact-info-list span {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.15vw, 1.05rem);
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
}

.contact-info-list a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info-list a:hover {
    color: #ffffff;
}

@media (max-width: 960px) {
    .contact-form-inner {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-left: var(--gutter);
        padding-right: var(--gutter);
    }

    .contact-form-panel {
        padding: 0 0 clamp(32px, 6vw, 48px);
    }

    .contact-form {
        max-width: none;
    }

    .contact-form-accent--bar {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: clamp(72px, 14vw, 120px);
    }

    .contact-info-panel {
        margin: 0 0 clamp(72px, 14vw, 120px);
    }
}

@media (max-width: 640px) {
    .contact-form-submit {
        width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════════
   SECTION — KONTAKT (glass checklist CTA, full-width pozadie)
═══════════════════════════════════════════════════════════ */
.contact-glass-anchor {
    position: relative;
    overflow: visible;
    --contact-glass-top-space: clamp(28px, 3.5vw, 48px);
}

.contact-glass {
    position: relative;
    z-index: 4;
    min-height: clamp(820px, 96vh, 1100px);
    overflow: visible;
    background: #ffffff;
    margin-top: 0;
}

.contact-glass__media {
    position: absolute;
    /* Bleed white phone top into section above */
    top: calc(var(--contact-glass-top-space) * -0.55);
    right: 0;
    bottom: 0;
    left: 0;
    background: #ffffff;
    z-index: 0;
}

.contact-glass__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Keep phone crown/top visible; crop surplus from bottom if needed */
    object-position: 100% 0%;
}

.contact-glass__overlay {
    display: none;
}

.contact-glass__badge {
    position: absolute;
    top: clamp(20px, 3vw, 36px);
    right: clamp(20px, 4vw, 56px);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--red);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 12px 32px rgba(227, 6, 19, 0.35);
}

.contact-glass__badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28);
}

.contact-glass__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    min-height: inherit;
    width: min(var(--nav-container), 100%);
    margin: 0 auto;
    padding:
        clamp(96px, 14vw, 168px)
        var(--section-rail-right)
        clamp(56px, 8vw, 96px)
        var(--section-rail-left);
}

.contact-glass__panel {
    width: min(100%, 440px);
    padding: clamp(22px, 3vw, 32px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(22px) saturate(1.35);
    -webkit-backdrop-filter: blur(22px) saturate(1.35);
    box-shadow:
        0 4px 24px rgba(13, 17, 23, 0.12),
        0 28px 64px rgba(13, 17, 23, 0.22);
}

.contact-glass__eyebrow {
    margin: 0 0 10px;
    font-family: var(--font-body);
    font-size: var(--text-eyebrow, 0.72rem);
    font-weight: var(--weight-ui);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.contact-glass__title {
    font-family: var(--font-display);
    font-weight: var(--weight-title);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    letter-spacing: -0.03em;
    color: #ffffff;
    line-height: 1.08;
    margin: 0 0 clamp(22px, 3vw, 28px);
}

.contact-glass__lead {
    font-family: var(--font-body);
    font-size: clamp(0.82rem, 1vw, 0.92rem);
    font-weight: var(--weight-body);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 clamp(18px, 2.5vw, 22px);
    max-width: 40ch;
}

.contact-glass__check {
    list-style: none;
    margin: 0 0 clamp(20px, 2.8vw, 26px);
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.contact-glass__check li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.92);
}

.contact-glass__check-ic {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border: 1.5px solid rgba(227, 6, 19, 0.65);
    background: rgba(227, 6, 19, 0.18);
    color: #ffffff;
}

.contact-glass__check-ic svg {
    display: block;
}

.contact-glass__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.contact-glass__submit {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.contact-glass__tel {
    display: block;
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: var(--weight-nav);
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-glass__tel:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-glass__micro {
    margin: 2px 0 0;
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.76rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 720px) {
    .contact-glass {
        min-height: clamp(720px, 96vh, 900px);
    }

    .contact-glass__media {
        top: calc(var(--contact-glass-top-space) * -0.35);
    }

    .contact-glass__media img {
        object-position: 70% 0%;
    }

    .contact-glass__overlay {
        display: block;
        position: absolute;
        inset: 0;
        background: linear-gradient(
            180deg,
            rgba(13, 17, 23, 0.55) 0%,
            rgba(13, 17, 23, 0.72) 55%,
            rgba(13, 17, 23, 0.82) 100%
        );
    }

    .contact-glass__inner {
        align-items: flex-end;
        padding-top: clamp(96px, 16vw, 148px);
    }

    .contact-glass__panel {
        width: 100%;
    }

    .contact-glass__badge {
        top: clamp(16px, 4vw, 28px);
        right: 16px;
        font-size: 0.62rem;
        padding: 8px 12px;
    }
}

/* ═══════════════════════════════════════════════════════════
   PAGE END — partneri, certifikáty, floating CTA, footer
═══════════════════════════════════════════════════════════ */
.partners {
    position: relative;
    overflow: visible;
    background: linear-gradient(
        165deg,
        #ffffff 0%,
        #ffffff 28%,
        var(--slate-50) 100%
    );
    padding: clamp(88px, 10.5vw, 132px) 0 clamp(92px, 11vw, 140px);
    border-top: none;
    min-height: 0;
    display: flex;
    align-items: flex-start;
}

.partners-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
    width: min(var(--nav-container), 100%);
    margin: 0 auto;
    padding-left: var(--section-rail-left);
    padding-right: var(--section-rail-right);
}

.partners-copy {
    max-width: none;
    text-align: left;
}

.partners-title {
    font-family: var(--font-display);
    font-weight: var(--weight-title);
    font-size: var(--text-h2);
    line-height: var(--lh-title);
    letter-spacing: var(--tracking-title);
    color: #0d1117;
    margin-bottom: clamp(14px, 2vw, 20px);
    text-align: left;
}

.partners-lead {
    font-family: var(--font-body);
    font-weight: var(--weight-body);
    font-size: var(--text-lead);
    line-height: var(--lh-lead);
    color: rgba(13, 17, 23, 0.58);
    max-width: 42ch;
    margin-bottom: clamp(24px, 3vw, 32px);
    text-align: left;
}

.partners-cta {
    min-width: clamp(160px, 24vw, 200px);
}

/* Desktop: static 2×2 logo cards */
.partners-marquee {
    margin-top: 0;
    width: 100%;
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
}

.partners-marquee-track {
    display: block;
    width: 100%;
    animation: none;
}

.partners-logos.partners-logos--clone {
    display: none;
}

.partners-logos {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 36px);
    margin: 0;
    padding: 0;
}

.partners-logos li {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(72px, 9vw, 96px);
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.22s ease;
}

.partners-logos li:hover {
    border: none;
    box-shadow: none;
    transform: translateY(-1px);
}

.partners-logos img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(0.15);
    opacity: 0.92;
    transition: filter 0.22s ease, opacity 0.22s ease;
}

/* Per-logo optical balance (content aspect ratios differ a lot) */
.partners-logo--vsd img {
    max-height: clamp(72px, 9vw, 96px);
    max-width: min(100%, 260px);
}

.partners-logo--spp img {
    max-height: clamp(68px, 8.5vw, 90px);
    max-width: min(100%, 250px);
}

.partners-logo--zse img {
    max-height: clamp(34px, 4.2vw, 44px);
    max-width: min(100%, 240px);
}

.partners-logo--vvs img {
    max-height: clamp(70px, 8.5vw, 92px);
    max-width: min(100%, 78px);
}

.partners-logos li:hover img {
    filter: grayscale(0);
    opacity: 1;
}

@keyframes partnersMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.certs-showcase {
    position: relative;
    z-index: 3;
    background: #ffffff;
    /* Sit a bit higher above partners; keep logos clear of contact bleed */
    margin-top: clamp(-36px, -3.5vw, -20px);
    padding: clamp(72px, 9vw, 110px) 0 clamp(140px, 15vw, 180px);
    margin-bottom: clamp(-104px, -10.5vw, -72px);
    border-top: none;
}

.certs-showcase-inner {
    width: min(920px, 100%);
    margin: 0 auto;
    padding: 0 var(--gutter);
    text-align: center;
}

.certs-showcase-title {
    font-family: var(--font-display);
    font-weight: var(--weight-title);
    font-size: var(--text-h2);
    line-height: var(--lh-title);
    letter-spacing: var(--tracking-title);
    color: #0d1117;
    margin-bottom: clamp(14px, 2vw, 18px);
}

.certs-showcase-lead {
    font-family: var(--font-body);
    font-weight: var(--weight-body);
    font-size: var(--text-lead);
    line-height: var(--lh-lead);
    color: rgba(13, 17, 23, 0.58);
    max-width: 58ch;
    margin: 0 auto clamp(24px, 3.5vw, 36px);
}

.certs-showcase-grid {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 4vw, 40px);
    margin: 0;
    padding: 0;
}

.certs-showcase-item {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.certs-showcase-item img {
    width: clamp(88px, 12vw, 120px);
    height: clamp(88px, 12vw, 120px);
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.72;
    transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.certs-showcase-item:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.04);
}

.certs-showcase-item figcaption {
    font-family: var(--font-display);
    font-size: var(--text-eyebrow);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(13, 17, 23, 0.45);
}

@media (max-width: 900px) {
    .certs-showcase {
        margin-top: -16px;
        padding: 48px 0 120px;
        margin-bottom: -72px;
    }

    .certs-showcase-inner {
        padding: 0 16px;
    }

    .certs-showcase-title {
        font-size: clamp(1.45rem, 5.5vw, 1.85rem);
        margin-bottom: 10px;
    }

    .certs-showcase-lead {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .certs-showcase-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        align-items: start;
        justify-items: center;
    }

    .certs-showcase-item {
        gap: 6px;
        min-width: 0;
        width: 100%;
    }

    .certs-showcase-item img {
        width: min(100%, 72px);
        max-width: 72px;
        height: auto;
        aspect-ratio: 1;
    }

    .certs-showcase-item figcaption {
        font-size: 0.58rem;
        letter-spacing: 0.04em;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .certs-showcase-grid {
        gap: 6px;
    }

    .certs-showcase-item img {
        max-width: 64px;
    }

    .certs-showcase-item figcaption {
        font-size: 0.52rem;
        letter-spacing: 0.02em;
    }
}

.page-end {
    position: relative;
}

.page-end-cta {
    position: relative;
    z-index: 4;
    width: min(920px, calc(100% - var(--gutter) * 2));
    margin: clamp(-56px, -5vw, -40px) auto 0;
}

.page-end-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: clamp(22px, 3vw, 32px) clamp(24px, 4vw, 40px);
    background: #ffffff;
    border: 1px solid var(--slate-100);
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(13, 17, 23, 0.1);
}

.page-end-cta-text {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    letter-spacing: -0.02em;
    color: #0d1117;
}

.page-end-cta-btn {
    flex-shrink: 0;
}

.page-end .footer {
    padding-top: 0;
}

.footer--corp {
    position: relative;
    overflow: hidden;
}

.footer--corp::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 100% 0%, rgba(227, 6, 19, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 0% 100%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.footer--corp > .container,
.footer--corp > .footer-cta {
    position: relative;
    z-index: 1;
}

.footer-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    gap: clamp(28px, 5vw, 56px);
    align-items: start;
    padding: clamp(40px, 6vw, 64px) 0 clamp(28px, 4vw, 40px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-logo--original {
    margin-bottom: 18px;
}

.footer-logo-img--hero {
    height: clamp(40px, 5vw, 52px);
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-tagline--hero {
    max-width: 42ch;
    font-size: clamp(14px, 1.6vw, 16px);
    margin-bottom: 20px;
}

.footer-social-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.footer-social-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
    color: inherit;
    transition:
        border-color 0.22s ease,
        background 0.22s ease,
        transform 0.22s ease;
}

.footer-social-card:hover {
    border-color: rgba(227, 6, 19, 0.45);
    background: rgba(227, 6, 19, 0.08);
    transform: translateY(-2px);
}

.footer-social-card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    display: grid;
    place-items: center;
    transition: background 0.22s ease;
}

.footer-social-card:hover .footer-social-card-icon {
    background: var(--red);
}

.footer-social-card-copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-social-card-copy strong {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

.footer-social-card-copy span {
    font-family: var(--font-body);
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.42);
}

.footer-social-card-arrow {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.28);
    transition: color 0.22s ease, transform 0.22s ease;
}

.footer-social-card:hover .footer-social-card-arrow {
    color: var(--red);
    transform: translate(2px, -2px);
}

.footer-stats {
    list-style: none;
    margin: 0;
    padding: clamp(24px, 4vw, 36px) 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-stats li {
    padding: clamp(16px, 2.5vw, 22px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

.footer-stats strong {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
}

.footer-stats span {
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 300;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.45);
}

.footer-col-title--spaced {
    margin-top: 28px;
}

.footer-map-section {
    padding: clamp(36px, 5vw, 52px) 0 clamp(12px, 2vw, 20px);
}

.footer-map-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: clamp(18px, 3vw, 24px);
}

.footer-map-eyebrow {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
}

.footer-map-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.footer-map-open {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-map-open:hover {
    color: #fff;
}

.footer-map-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    min-height: 280px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.footer-map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.footer-newsletter {
    margin-top: 8px;
}

@media (max-width: 1100px) {
    .footer-hero {
        grid-template-columns: 1fr;
    }

    .footer-social-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 640px) {
    .footer-social-showcase {
        grid-template-columns: 1fr;
    }

    .footer-stats {
        grid-template-columns: 1fr 1fr;
    }

    .footer-map-frame {
        aspect-ratio: 4 / 3;
        min-height: 240px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-made {
        order: 3;
    }
}

@media (max-width: 420px) {
    .footer-stats {
        grid-template-columns: 1fr;
    }
}

.footer-main--compact {
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
}

.footer-copy--inline {
    margin: 12px 0 0;
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.38);
}

.footer-address--compact {
    margin-top: 18px;
    margin-bottom: 0;
}

@media (max-width: 960px) {
    .partners {
        padding: 56px 0 48px;
        overflow: hidden;
    }

    .partners-inner {
        display: block;
        padding-left: 16px;
        padding-right: 16px;
        gap: 0;
    }

    .partners-copy {
        display: block;
        max-width: none;
        text-align: left;
    }

    .partners-title {
        font-size: clamp(1.55rem, 6.5vw, 1.9rem);
        margin-bottom: 10px;
        text-align: left;
    }

    .partners-lead {
        font-size: 0.92rem;
        line-height: 1.55;
        max-width: 42ch;
        margin-bottom: 18px;
        text-align: left;
    }

    .partners-cta {
        margin-top: 36px;
    }

    /* Mobile: infinite logo marquee, no frames */
    .partners-marquee {
        margin-top: 44px;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        overflow: hidden;
        mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    }

    .partners-marquee-track {
        display: flex;
        width: max-content;
        align-items: center;
        gap: 36px;
        animation: partnersMarquee 28s linear infinite;
        will-change: transform;
    }

    .partners-marquee:hover .partners-marquee-track {
        animation-play-state: paused;
    }

    .partners-logos.partners-logos--clone {
        display: flex;
    }

    .partners-logos {
        display: flex;
        align-items: center;
        gap: 36px;
        flex-shrink: 0;
        width: auto;
        grid-template-columns: none;
    }

    .partners-logos li {
        flex-shrink: 0;
        min-height: 0;
        padding: 0;
        border: none;
        border-radius: 0;
        background: none;
        box-shadow: none;
    }

    .partners-logos li:hover {
        border: none;
        box-shadow: none;
        transform: none;
    }

    .partners-logos img {
        height: auto;
        max-height: none;
        width: auto;
        max-width: none;
        filter: none;
        opacity: 0.88;
    }

    .partners-logo--vsd img {
        height: 52px;
        max-height: none;
        max-width: none;
    }

    .partners-logo--spp img {
        height: 54px;
        max-height: none;
        max-width: none;
    }

    .partners-logo--zse img {
        height: 28px;
        max-height: none;
        max-width: none;
    }

    .partners-logo--vvs img {
        height: 52px;
        max-height: none;
        max-width: none;
    }

    .partners-logos li:hover img {
        filter: none;
        opacity: 1;
    }

    .footer-main--compact {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .partners {
        padding: 96px 0 40px;
    }

    .partners-marquee {
        margin-top: 52px;
    }

    .partners-marquee-track,
    .partners-logos {
        gap: 28px;
    }

    .partners-logos img {
        height: auto;
    }

    .partners-logo--vsd img {
        height: 46px;
    }

    .partners-logo--spp img {
        height: 46px;
    }

    .partners-logo--zse img {
        height: 24px;
    }

    .partners-logo--vvs img {
        height: 46px;
    }

    .page-end-cta-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .page-end-cta-btn {
        width: 100%;
    }

    .footer-main--compact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) and (prefers-reduced-motion: reduce) {
    .partners-marquee-track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: flex-start;
        gap: 28px;
        padding: 0 16px;
    }

    .partners-logos.partners-logos--clone {
        display: none;
    }

    .partners-marquee {
        width: 100%;
        margin-left: 0;
        mask-image: none;
        -webkit-mask-image: none;
        overflow: visible;
    }
}

/* ---------- SECTION 4 — EXPERTISE ---------- */
/* ═══════════════════════════════════════════════════════════
   SECTION 4 — EXPERTISE
═══════════════════════════════════════════════════════════ */
.expertise {
    position: relative;
    z-index: 1;
    background: #ffffff;
    padding: 0;
    color: #0d1117;
}

.exp-container {
    max-width: none;
    padding: 0;
}

.exp-board {
    --exp-content-inset: max(
        calc(var(--nav-gutter) + var(--content-offset)),
        calc((100vw - var(--nav-container)) / 2 + var(--nav-gutter) + var(--content-offset))
    );
    --exp-right-inset: clamp(32px, 4vw, 52px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(40vh, 1fr) auto;
    min-height: clamp(560px, 80vh, 820px);
    gap: 2px;
    background: var(--slate-100);
}

.exp-cell {
    min-height: 0;
    min-width: 0;
}

.exp-cell--intro {
    grid-column: 1;
    grid-row: 1;
    background: #ffffff;
    padding:
        clamp(28px, 4vw, 48px)
        clamp(24px, 3vw, 40px)
        clamp(28px, 4vw, 48px)
        var(--exp-content-inset);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    overflow: auto;
}

.exp-cell--intro .exp-intro-title {
    opacity: 1;
    transform: none;
    margin: 0;
    max-width: 14ch;
}

.exp-cell--proj {
    grid-column: 1;
    grid-row: 1;
}

.exp-cell--inz {
    grid-column: 2;
    grid-row: 1;
}

.exp-cell--inz-sub {
    grid-column: 1 / -1;
    grid-row: 2;
    background: #ffffff;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(32px, 5vw, 56px);
    padding:
        clamp(32px, 4vw, 52px)
        clamp(24px, 3vw, 40px)
        clamp(32px, 4vw, 52px)
        var(--exp-right-inset);
}

.exp-cell--inz-sub .exp-sub-col {
    min-width: 0;
    padding: 0;
}

/* ── Sub‑services (in board cells) ───────── */
.exp-sub-label {
    margin: 0 0 14px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
}

.exp-sub-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.exp-sub-link {
    display: block;
    padding: 11px 0;
    border-bottom: 1px solid var(--slate-200);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
    color: rgba(13, 17, 23, 0.78);
    transition: color 0.15s ease;
}

.exp-sub-link:hover {
    color: var(--red);
}

.exp-sub-more {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
    overflow: hidden;
}

.exp-sub-more.open {
    grid-template-rows: 1fr;
}

.exp-sub-more > ul {
    min-height: 0;
    overflow: hidden;
}

.exp-sub-toggle {
    margin-top: 10px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--red);
    transition: opacity 0.15s ease;
}

.exp-sub-toggle:hover {
    opacity: 0.7;
}

.exp-cell--proj,
.exp-cell--inz {
    padding: 0;
    overflow: hidden;
}

.exp-board .exp-item {
    aspect-ratio: unset;
    height: 100%;
    width: 100%;
    border-radius: 0;
    border: none;
    box-shadow: none;
    display: block;
}

.exp-board .exp-item:hover {
    transform: none;
    box-shadow: none;
}

.exp-board .exp-thumb {
    inset: 0;
}

.exp-board .exp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    transform: scale(1.06);
    transform-origin: center;
    filter: brightness(1.06) contrast(1.04);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.exp-board .exp-item:hover .exp-thumb img {
    transform: scale(1.1);
}

.exp-board .exp-info {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding:
        clamp(22px, 3.2vw, 40px)
        clamp(24px, 3vw, 40px)
        clamp(28px, 4vw, 48px);
    background: linear-gradient(
        to top,
        rgba(13, 17, 23, 0.72) 0%,
        rgba(13, 17, 23, 0.28) 52%,
        transparent 100%
    );
}

.exp-cell--inz .exp-info {
    padding-left: var(--exp-content-inset);
}

.exp-cell--proj .exp-info {
    padding-left: var(--exp-right-inset);
}

.exp-board .exp-claim {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.15rem, 2vw, 1.65rem);
    line-height: 1.15;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
    max-width: 20ch;
    margin: 0 0 clamp(18px, 2.5vw, 24px);
}

.exp-board .exp-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    background: #ffffff;
    color: var(--red);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease, gap 0.2s ease;
}

.exp-board .exp-cta-icon {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.exp-board .exp-item:hover .exp-cta-btn {
    background: var(--red);
    color: #ffffff;
    gap: 14px;
}

.exp-board .exp-item:hover .exp-cta-icon {
    transform: translateX(2px);
}

.exp-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
    aspect-ratio: 4 / 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.exp-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
}

.exp-thumb {
    position: absolute;
    inset: 0;
    margin: 0;
}

.exp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.55;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

.exp-item:hover .exp-thumb img {
    transform: scale(1.07);
    opacity: 0.45;
}

.exp-info {
    position: relative;
    z-index: 1;
    padding: clamp(18px, 3vw, 32px);
}

.exp-num {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.55);
    display: block;
    margin-bottom: 10px;
}

.exp-claim {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.2rem, 2.1vw, 1.75rem);
    line-height: 1.12;
    letter-spacing: -0.4px;
    color: #ffffff;
    max-width: 18ch;
    margin: 0 0 clamp(16px, 2.5vw, 22px);
}

.exp-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--btn-pad-y) var(--btn-pad-x);
    background: var(--red);
    color: #ffffff;
    border: 1.5px solid var(--red);
    border-radius: var(--btn-radius);
    font-family: var(--font-display);
    font-size: var(--btn-font-size);
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
    transition: background 0.22s var(--btn-ease),
                border-color 0.22s var(--btn-ease),
                color 0.22s var(--btn-ease);
}

.exp-item:hover .exp-cta-btn {
    background: #ffffff;
    border-color: var(--red);
    color: var(--red);
}

.exp-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.25rem, 2.2vw, 1.9rem);
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin-bottom: 10px;
}

.exp-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.65);
    max-width: 40ch;
    margin-bottom: 18px;
    display: none;
}

.exp-item:hover .exp-desc {
    display: block;
}

.exp-link {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.25s ease;
}

.exp-link span {
    color: var(--red);
    transition: transform 0.3s ease;
    display: inline-block;
}

.exp-item:hover .exp-link {
    gap: 14px;
}

.exp-item:hover .exp-link span {
    transform: translateX(4px);
}

/* ── Responsive ─────────────────────────── */
@media (max-width: 820px) {
    .exp-board {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        min-height: 0;
        gap: 2px;
    }

    .exp-cell--proj,
    .exp-cell--inz,
    .exp-cell--inz-sub {
        grid-column: 1;
        grid-row: auto;
    }

    .exp-cell--proj .exp-info {
        padding-left: max(
            calc(var(--gutter) + var(--content-offset)),
            calc((100vw - var(--nav-container)) / 2 + var(--nav-gutter) + var(--content-offset))
        );
    }

    .exp-cell--inz-sub {
        grid-template-columns: 1fr;
        gap: clamp(32px, 6vw, 48px);
        padding:
            clamp(28px, 6vw, 40px)
            var(--gutter);
    }

    .exp-cell--inz-sub .exp-sub-col {
        max-width: none;
        padding: 0
            0
            0
            max(
                calc(var(--gutter) + var(--content-offset)),
                calc((100vw - var(--nav-container)) / 2 + var(--nav-gutter) + var(--content-offset))
            );
    }

    .exp-board .exp-item {
        min-height: clamp(320px, 58vw, 440px);
    }
}

/* ---------- SECTION 5 — PROCESS ---------- */
.process {
    background: #0d1117;
    padding: clamp(48px, 6vw, 80px) 0;
}

.process-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: clamp(20px, 4vw, 48px);
    margin-bottom: clamp(32px, 5vw, 56px);
}

.process-header .eyebrow {
    color: #e30613;
    margin-bottom: 12px;
}

.process-title {
    font-family: var(--font-display);
    font-weight: var(--weight-title);
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
    line-height: 1.06;
    letter-spacing: -1.2px;
    color: #ffffff;
    grid-column: 1;
    margin-top: 0;
}

.process-sub {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(0.95rem, 1.15vw, 1.05rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    max-width: 44ch;
    grid-column: 2;
    justify-self: end;
    text-align: right;
    padding-bottom: 4px;
    padding-left: clamp(24px, 5vw, 72px);
}

.proc-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
}

.proc-item {
    padding-right: clamp(16px, 2.5vw, 36px);
    transition: opacity 0.3s ease;
}

.proc-list:has(.proc-item:hover) .proc-item:not(:hover) {
    opacity: 0.4;
}

.proc-top {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.proc-divider {
    display: block;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin-top: 12px;
    width: calc(100% + clamp(16px, 2.5vw, 36px));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.proc-divider--last {
    width: 100%;
}

.proc-item.is-visible .proc-divider {
    transform: scaleX(1);
}

.proc-num {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #e30613;
}

.proc-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(0.95rem, 1.4vw, 1.2rem);
    line-height: 1.2;
    letter-spacing: -0.3px;
    color: #ffffff;
    margin-bottom: 8px;
}

.proc-desc {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
    padding-right: 4px;
}

/* ═══════════════════════════════════════════════════════════
   SECTION — SHOWCASE (referencie)
═══════════════════════════════════════════════════════════ */
.showcase {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    margin-top: 0;
    padding: clamp(72px, 9vw, 110px) 0 clamp(64px, 7vw, 96px);
    border-top: 1px solid var(--slate-100);
}

.showcase-deco {
    position: absolute;
    left: 0;
    top: 50%;
    width: clamp(960px, 150vh, 1800px);
    height: clamp(960px, 150vh, 1800px);
    border-radius: 50%;
    background: var(--slate-200);
    transform: translate(-62%, -50%);
    pointer-events: none;
    user-select: none;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.showcase-deco-k {
    width: clamp(480px, 62vw, 1100px);
    max-width: none;
    height: auto;
    object-fit: contain;
    opacity: 1;
    transform: translate(8%, -2%);
}

.showcase .container,
.showcase .showcase-head-wrap,
.showcase .showcase-rail,
.showcase .showcase-foot {
    position: relative;
    z-index: 1;
}

.showcase-head-wrap {
    max-width: none;
    width: 100%;
    margin: 0;
    padding-left: var(--section-rail-left);
    padding-right: var(--section-rail-right);
}

.showcase-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(24px, 4vw, 48px);
    margin-bottom: clamp(36px, 5vw, 56px);
}

.showcase-head-main {
    flex: 1;
    min-width: 0;
    max-width: 640px;
}

.showcase-title-light {
    color: var(--red);
}

.showcase .section-title {
    color: #0d1117;
    font-weight: var(--weight-title-feature);
}

.showcase-lead {
    margin: clamp(12px, 1.8vw, 18px) 0 0;
    font-family: var(--font-body);
    font-weight: var(--weight-body);
    font-size: var(--text-lead);
    line-height: var(--lh-lead);
    color: rgba(13, 17, 23, 0.58);
}

.showcase-head-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: var(--btn-gap);
    font-family: var(--font-display);
    font-size: var(--btn-font-size);
    font-weight: var(--weight-ui);
    letter-spacing: 0.02em;
    color: #0d1117;
    text-decoration: none;
    white-space: nowrap;
}

.showcase-head-cta-ic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--icon-box-md);
    height: var(--icon-box-md);
    border: 1.5px solid rgba(227, 6, 19, 0.5);
    color: var(--red);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.showcase-head-cta-ic svg {
    width: var(--icon-sm);
    height: var(--icon-sm);
    transition: transform 0.22s ease;
}

.showcase-head-cta:hover .showcase-head-cta-ic {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.showcase-head-cta:hover .showcase-head-cta-ic svg {
    transform: translateX(2px);
}

.showcase-rail {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.4vw, 16px);
    padding-left: var(--section-rail-left);
    padding-right: 0;
    margin-bottom: clamp(20px, 3vw, 28px);
}

.showcase-viewport-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
}

.showcase-viewport {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    --showcase-gap: clamp(14px, 1.6vw, 20px);
    --showcase-visible: 2.35;
}

.showcase-track {
    display: flex;
    gap: var(--showcase-gap);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    padding-right: var(--showcase-gap);
}

.showcase-item {
    flex: 0 0 calc((100% - (var(--showcase-visible) - 1) * var(--showcase-gap)) / var(--showcase-visible));
    height: clamp(340px, 44vh, 480px);
    border-radius: 18px;
    overflow: hidden;
    border: none;
    background: var(--slate-100);
    box-shadow:
        0 4px 24px rgba(13, 17, 23, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.04) inset;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.showcase-item:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 48px rgba(13, 17, 23, 0.16),
        0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.showcase-item:last-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.showcase-media {
    position: relative;
    display: block;
    height: 100%;
    min-height: 0;
    text-decoration: none;
    color: inherit;
}

.showcase-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase-media-cap {
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 28px 24px 22px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(13, 17, 23, 0.28) 28%,
        rgba(13, 17, 23, 0.78) 100%
    );
    pointer-events: none;
}

.showcase-media-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 6px;
    border-radius: 50%;
    background: rgba(227, 6, 19, 0.95);
    color: #fff;
    box-shadow: 0 6px 18px rgba(227, 6, 19, 0.35);
}

.showcase-media-icon svg,
.showcase-media-icon i {
    width: 24px;
    height: 24px;
}

.showcase-media-tag {
    align-self: flex-start;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(227, 6, 19, 0.9);
    padding: 6px 12px;
    border-radius: 999px;
}

.showcase-media-title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.45rem, 2.6vw, 1.85rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #fff;
    text-wrap: balance;
}

.showcase-media-meta {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
}

.showcase-item--claim .showcase-media-title {
    max-width: 14ch;
}

.showcase-media:hover img {
    transform: scale(1.05);
}

.showcase-nav {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid var(--slate-200);
    border-radius: 50%;
    background: #fff;
    color: #0d1117;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 4px 18px rgba(13, 17, 23, 0.08);
}

.showcase-nav--next {
    position: absolute;
    right: clamp(14px, 2vw, 24px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.showcase-nav--prev:hover:not(:disabled) {
    border-color: rgba(227, 6, 19, 0.35);
    color: var(--accent-red, #e30613);
    transform: scale(1.04);
}

.showcase-nav--next:hover:not(:disabled) {
    border-color: rgba(227, 6, 19, 0.35);
    color: var(--accent-red, #e30613);
    transform: translateY(-50%) scale(1.04);
}

.showcase-nav:disabled {
    opacity: 0.3;
    cursor: default;
}

.showcase-nav:focus-visible {
    outline: 2px solid var(--accent-red, #e30613);
    outline-offset: 2px;
}

.showcase-dots {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
}

.showcase-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 0;
    max-width: none;
    width: 100%;
    margin: 0;
    padding-left: var(--section-rail-left);
    padding-right: var(--section-rail-right);
}

.showcase-foot-note {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: rgba(13, 17, 23, 0.42);
}

.showcase-foot-accent {
    background: linear-gradient(90deg, var(--red) 0%, #ff6b52 55%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
}

.showcase-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: var(--slate-200);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.showcase-dot.is-active {
    width: 28px;
    background: var(--accent-red, #e30613);
}

.showcase-dot:focus-visible {
    outline: 2px solid var(--accent-red, #e30613);
    outline-offset: 2px;
}

@media (max-width: 960px) {
    .showcase {
        margin-top: 0;
        padding: clamp(56px, 8vw, 80px) 0 clamp(48px, 7vw, 72px);
    }

    .showcase-deco {
        display: flex;
        width: min(200vw, 1100px);
        height: min(200vw, 1100px);
        top: 8%;
        left: 0;
        transform: translate(-58%, -8%);
        opacity: 0.95;
    }

    .showcase-deco-k {
        width: min(155vw, 780px);
        transform: translate(10%, -18%);
        opacity: 0.92;
    }

    .showcase-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .showcase-head-cta {
        align-self: flex-start;
    }

    .showcase-viewport {
        --showcase-visible: 1.45;
    }

    .showcase-rail {
        gap: 8px;
    }

    .showcase-nav {
        width: 44px;
        height: 44px;
    }

    .showcase-item:last-child {
        border-radius: 18px;
    }

    .showcase-foot {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 560px) {
    .showcase-deco {
        width: min(240vw, 920px);
        height: min(240vw, 920px);
        top: 4%;
        transform: translate(-62%, -6%);
    }

    .showcase-deco-k {
        width: min(175vw, 700px);
        transform: translate(12%, -16%);
    }

    .showcase-viewport {
        --showcase-visible: 1.08;
    }

    .showcase-item {
        height: clamp(300px, 72vw, 400px);
    }

    .showcase-nav--prev {
        display: none;
    }

    .showcase-foot-note {
        display: none;
    }
}

@media (min-width: 1400px) {
    .showcase-viewport {
        --showcase-visible: 2.55;
    }
}

/* ═══════════════════════════════════════════════════════════
   SECTION — INFRAŠTRUKTÚRA / RIEŠENIA
═══════════════════════════════════════════════════════════ */
.infra-showcase {
    background: linear-gradient(
        165deg,
        var(--slate-50) 0%,
        #ffffff 42%,
        var(--slate-100) 100%
    );
    padding: clamp(72px, 9vw, 120px) 0;
    border-top: 1px solid var(--slate-100);
}

.infra-showcase-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
    width: min(var(--nav-container), 100%);
    margin: 0 auto;
    padding-left: max(var(--nav-gutter), calc(var(--section-rail-left) - clamp(96px, 14vw, 180px)));
    padding-right: var(--section-rail-right);
}

.infra-showcase-media {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.infra-showcase-media img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: clamp(500px, 58vw, 760px);
    object-fit: contain;
    display: block;
    margin-left: clamp(-40px, -6vw, -80px);
    filter: drop-shadow(0 24px 48px rgba(13, 17, 23, 0.08));
}

.infra-showcase-copy {
    max-width: 500px;
    margin-left: 0;
}

.infra-showcase-title {
    font-family: var(--font-display);
    font-weight: var(--weight-title);
    font-size: var(--text-h2);
    line-height: var(--lh-title);
    letter-spacing: var(--tracking-title);
    color: #0d1117;
    margin-bottom: clamp(20px, 2.5vw, 28px);
}

.infra-showcase-accent {
    background: linear-gradient(90deg, var(--red) 0%, #ff6b52 55%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.infra-showcase-lead {
    font-family: var(--font-body);
    font-weight: var(--weight-body);
    font-size: var(--text-lead);
    line-height: var(--lh-lead);
    color: rgba(13, 17, 23, 0.62);
    max-width: 46ch;
}

.infra-showcase-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--btn-gap);
    margin-top: clamp(28px, 3.5vw, 40px);
    padding: var(--btn-pad-y) var(--btn-pad-x);
    background: var(--red);
    border: 1.5px solid var(--red);
    border-radius: var(--btn-radius);
    color: #ffffff;
    text-decoration: none;
    transition: background 0.22s var(--btn-ease),
                border-color 0.22s var(--btn-ease),
                color 0.22s var(--btn-ease);
    font-weight: var(--weight-ui);
}

.infra-showcase-cta:hover {
    background: #ffffff;
    border-color: var(--red);
    color: var(--red);
}

.infra-showcase-cta-text {
    font-family: var(--font-display);
    font-weight: var(--weight-ui);
    font-size: var(--btn-font-size);
    letter-spacing: 0.02em;
    line-height: 1;
    color: inherit;
}

.infra-showcase-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--icon-sm);
    height: var(--icon-sm);
    color: inherit;
    flex-shrink: 0;
    transition: transform 0.22s var(--btn-ease), color 0.22s var(--btn-ease);
}

.infra-showcase-cta-icon svg {
    width: 100%;
    height: 100%;
}

.infra-showcase-cta:hover .infra-showcase-cta-icon {
    transform: translateX(4px);
}

.infra-showcase--about {
    padding: clamp(44px, 5.5vw, 72px) 0 clamp(12px, 1.5vw, 20px);
}

.infra-showcase--about .infra-showcase-inner {
    align-items: center;
    gap: clamp(24px, 4vw, 48px);
}

.infra-showcase--about .infra-showcase-media {
    justify-content: center;
    margin-left: 0;
    line-height: 0;
}

.infra-showcase--about .infra-showcase-media img {
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    max-height: clamp(240px, 45vw, 360px);
    margin-left: auto;
    margin-right: auto;
    border-radius: 0;
}

.infra-showcase--about .infra-showcase-copy {
    align-self: auto;
    padding-top: 0;
    margin-left: 0;
    max-width: none;
    width: 100%;
}

.infra-showcase--about .infra-showcase-copy .eyebrow {
    display: block;
    margin-bottom: clamp(14px, 2vw, 20px);
}

.infra-showcase--about .infra-showcase-title {
    margin-bottom: clamp(14px, 1.8vw, 20px);
}

.infra-showcase--about .infra-showcase-cta {
    margin-top: clamp(18px, 2.2vw, 28px);
}

.infra-showcase--about .infra-showcase-lead + .infra-showcase-lead {
    margin-top: clamp(14px, 2vw, 18px);
}

.infra-showcase--about .infra-showcase-lead {
    max-width: none;
}

@media (min-width: 1200px) {
    .infra-showcase--about .infra-showcase-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: start;
        gap: clamp(32px, 4vw, 56px);
        padding-left: max(var(--nav-gutter), calc(var(--section-rail-left) - clamp(56px, 9vw, 140px)));
        padding-right: var(--section-rail-right);
    }

    .infra-showcase--about .infra-showcase-media {
        justify-content: flex-start;
        margin-left: clamp(-12px, -2vw, -24px);
    }

    .infra-showcase--about .infra-showcase-media img {
        width: auto;
        max-width: calc(100% + clamp(28px, 4.5vw, 64px));
        height: auto;
        max-height: clamp(500px, 54vw, 680px);
        margin-left: clamp(-28px, -4.5vw, -64px);
        margin-right: auto;
        object-position: left center;
    }

    .infra-showcase--about .infra-showcase-copy {
        align-self: start;
        padding-top: clamp(16px, 2vw, 28px);
        margin-top: 0;
        margin-left: 0;
        max-width: none;
    }

    .infra-showcase--about .infra-showcase-title {
        font-size: clamp(1.5rem, 2.1vw, 1.9rem);
        max-width: none;
    }

    .infra-showcase--about .infra-showcase-lead {
        font-size: clamp(0.92rem, 1.05vw, 1.02rem);
        max-width: none;
    }
}

@media (min-width: 1680px) {
    .infra-showcase--about .infra-showcase-inner {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
        align-items: start;
        gap: clamp(20px, 3vw, 40px);
        padding-left: max(var(--nav-gutter), calc(var(--section-rail-left) - clamp(120px, 18vw, 240px)));
    }

    .infra-showcase--about .infra-showcase-media {
        justify-content: flex-start;
        margin-left: clamp(-16px, -2.5vw, -32px);
    }

    .infra-showcase--about .infra-showcase-media img {
        object-position: left center;
        width: auto;
        max-width: calc(100% + clamp(40px, 6vw, 88px));
        height: auto;
        max-height: clamp(540px, 58vw, 820px);
        margin-left: clamp(-40px, -6vw, -88px);
        margin-right: 0;
    }

    .infra-showcase--about .infra-showcase-copy {
        align-self: start;
        padding-top: clamp(18px, 2.2vw, 32px);
        margin-left: clamp(-20px, -3vw, -40px);
        max-width: 520px;
    }

    .infra-showcase--about .infra-showcase-title {
        font-size: var(--text-h2);
    }

    .infra-showcase--about .infra-showcase-lead {
        font-size: var(--text-lead);
    }
}

@media (max-width: 1199px) {
    .infra-showcase--about .infra-showcase-inner {
        grid-template-columns: 1fr;
        padding-left: var(--section-rail-left);
        padding-right: var(--section-rail-right);
    }

    .infra-showcase--about .infra-showcase-media img {
        max-width: min(100%, 520px);
        max-height: clamp(260px, 42vw, 380px);
        width: auto;
        height: auto;
    }

    .infra-showcase--about .infra-showcase-title {
        font-size: clamp(1.35rem, 4vw, 1.7rem);
        max-width: none;
    }

    .infra-showcase--about .infra-showcase-lead {
        font-size: 0.94rem;
        max-width: none;
    }
}

@media (max-width: 640px) {
    .infra-showcase--about {
        padding: clamp(32px, 6vw, 48px) 0 clamp(12px, 3vw, 20px);
    }

    .infra-showcase--about .infra-showcase-inner {
        gap: clamp(20px, 5vw, 28px);
    }

    .infra-showcase--about .infra-showcase-media img {
        max-height: clamp(180px, 50vw, 260px);
        max-width: 100%;
        width: auto;
        height: auto;
    }

    .infra-showcase--about .infra-showcase-title {
        font-size: clamp(1.5rem, 6.5vw, 2rem);
    }
}

@media (max-width: 960px) {
    .infra-showcase-inner {
        grid-template-columns: 1fr;
        gap: clamp(28px, 6vw, 40px);
        padding-left: max(var(--nav-gutter), calc(var(--section-rail-left) - clamp(48px, 8vw, 96px)));
        padding-right: var(--section-rail-right);
    }

    .infra-showcase-media {
        justify-content: center;
        margin-left: 0;
    }

    .infra-showcase-media img {
        width: 100%;
        max-height: clamp(320px, 72vw, 480px);
        margin: 0 auto;
    }

    .infra-showcase-copy {
        max-width: none;
        margin-left: 0;
    }
}

/* ═══════════════════════════════════════════════════════════
   SECTION — SLUŽBY (route)
═══════════════════════════════════════════════════════════ */
.svc-route {
    background: #ffffff;
    border-top: 1px solid rgba(13, 17, 23, 0.06);
    color: #0d1117;
}

.svc-route__inner {
    width: min(var(--nav-container), 100%);
    margin: 0 auto;
    padding:
        clamp(72px, 9vw, 120px)
        var(--section-rail-right)
        clamp(128px, 16vw, 220px)
        var(--section-rail-left);
}

.svc-route__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(24px, 4vw, 56px);
    margin-bottom: clamp(36px, 5vw, 52px);
}

.svc-route__intro {
    max-width: 640px;
}

.svc-route__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: var(--weight-title);
    font-size: var(--text-h2);
    line-height: var(--lh-title);
    letter-spacing: var(--tracking-title);
    color: #0d1117;
}

.svc-route__head-side {
    max-width: 280px;
    text-align: right;
}

.svc-route__lead {
    margin: 0 0 14px;
    font-family: var(--font-body);
    font-size: var(--text-lead);
    line-height: var(--lh-lead);
    color: rgba(13, 17, 23, 0.5);
}

.svc-route__all {
    display: inline-flex;
    align-items: center;
    gap: var(--btn-gap);
    font-family: var(--font-display);
    font-size: var(--btn-font-size);
    font-weight: var(--weight-ui);
    letter-spacing: 0.02em;
    color: #0d1117;
    text-decoration: none;
}

.svc-route__all-ic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--icon-box-md);
    height: var(--icon-box-md);
    border: 1.5px solid rgba(227, 6, 19, 0.5);
    color: var(--red);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.svc-route__all-ic svg {
    width: var(--icon-sm);
    height: var(--icon-sm);
    transition: transform 0.22s ease;
}

.svc-route__all:hover .svc-route__all-ic {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.svc-route__all:hover .svc-route__all-ic svg {
    transform: translateX(2px);
}

.svc-route__radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.svc-route__track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 28px;
}

.svc-route__line {
    position: absolute;
    top: 33px;
    left: calc(16.666% + 8px);
    right: calc(16.666% + 8px);
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(13, 17, 23, 0.12) 0%,
        rgba(13, 17, 23, 0.18) 50%,
        rgba(13, 17, 23, 0.12) 100%
    );
    pointer-events: none;
}

.svc-route__step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 0 8px 8px;
    cursor: pointer;
    text-align: center;
    transition: transform 0.25s ease;
}

.svc-route__step:hover {
    transform: translateY(-2px);
}

.svc-route__body:has(#sr-proj:focus-visible) .svc-route__step--proj .svc-route__node,
.svc-route__body:has(#sr-inz:focus-visible) .svc-route__step--inz .svc-route__node,
.svc-route__body:has(#sr-vyst:focus-visible) .svc-route__step--vyst .svc-route__node {
    outline: 2px solid var(--red);
    outline-offset: 3px;
}

.svc-route__node {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid rgba(13, 17, 23, 0.12);
    box-shadow: 0 8px 24px rgba(13, 17, 23, 0.06);
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.svc-route__node span {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: var(--weight-ui);
    letter-spacing: 0.08em;
    color: rgba(13, 17, 23, 0.45);
    transition: color 0.25s ease;
}

.svc-route__step-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.svc-route__phase {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: var(--weight-ui);
    letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase;
    color: rgba(13, 17, 23, 0.38);
    transition: color 0.25s ease;
}

.svc-route__name {
    font-family: var(--font-display);
    font-size: clamp(0.98rem, 1.35vw, 1.08rem);
    font-weight: var(--weight-nav);
    letter-spacing: -0.015em;
    line-height: 1.25;
    color: rgba(13, 17, 23, 0.48);
    transition: color 0.25s ease, font-weight 0.25s ease;
}

.svc-route__panels {
    position: relative;
    min-height: 340px;
}

.svc-route__panel {
    display: none;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: stretch;
    padding: clamp(32px, 4vw, 48px);
    background: #ffffff;
    border: 1px solid rgba(13, 17, 23, 0.08);
    box-shadow: 0 18px 48px rgba(13, 17, 23, 0.05);
    animation: svcRouteIn 0.35s ease;
}

.svc-route__panel-kicker {
    margin: 0 0 10px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(13, 17, 23, 0.4);
}

.svc-route__panel--proj .svc-route__panel-kicker,
.svc-route__panel--inz .svc-route__panel-kicker,
.svc-route__panel--vyst .svc-route__panel-kicker {
    color: var(--red);
}

.svc-route__panel-title {
    margin: 0 0 22px;
    max-width: 20ch;
    font-family: var(--font-display);
    font-weight: var(--weight-subtitle);
    font-size: var(--text-h3);
    line-height: 1.28;
    letter-spacing: -0.02em;
    color: #0d1117;
}

.svc-route__panel-text {
    display: none;
}

.svc-route__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--btn-gap);
    font-family: var(--font-display);
    font-size: var(--btn-font-size);
    font-weight: var(--weight-ui);
    letter-spacing: 0.02em;
    color: #0d1117;
    text-decoration: none;
}

.svc-route__cta-ic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--icon-box-md);
    height: var(--icon-box-md);
    border: 1.5px solid currentColor;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.svc-route__cta-ic svg {
    width: var(--icon-sm);
    height: var(--icon-sm);
    transition: transform 0.22s ease;
}

.svc-route__cta--proj .svc-route__cta-ic,
.svc-route__cta--inz .svc-route__cta-ic,
.svc-route__cta--vyst .svc-route__cta-ic {
    color: var(--red);
    border-color: rgba(227, 6, 19, 0.45);
}

.svc-route__cta:hover .svc-route__cta-ic svg {
    transform: translateX(2px);
}

.svc-route__cta--proj:hover .svc-route__cta-ic,
.svc-route__cta--inz:hover .svc-route__cta-ic,
.svc-route__cta--vyst:hover .svc-route__cta-ic {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.svc-route__links {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid rgba(13, 17, 23, 0.08);
    padding-left: clamp(20px, 3vw, 32px);
}

.svc-route__links a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(13, 17, 23, 0.08);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: var(--weight-body);
    line-height: 1.35;
    color: rgba(13, 17, 23, 0.72);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.svc-route__link-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: var(--icon-box-lg);
    height: var(--icon-box-lg);
    border: 1.5px solid rgba(13, 17, 23, 0.12);
    color: #0d1117;
    background: #f5f7f9;
}

.svc-route__link-ic svg,
.svc-route__link-ic i {
    width: var(--icon-lg);
    height: var(--icon-lg);
    stroke-width: 2;
}

.svc-route__panel--proj .svc-route__link-ic,
.svc-route__panel--inz .svc-route__link-ic,
.svc-route__panel--vyst .svc-route__link-ic {
    color: var(--red);
    border-color: rgba(227, 6, 19, 0.28);
}

.svc-route__links a > span:last-of-type {
    flex: 1;
    min-width: 0;
}

.svc-route__links li:first-child a {
    padding-top: 0;
}

.svc-route__links li:last-child a {
    border-bottom: 0;
    padding-bottom: 0;
}

.svc-route__links a::after {
    content: "";
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg);
    opacity: 0.3;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.svc-route__panel--proj .svc-route__links a:hover,
.svc-route__panel--inz .svc-route__links a:hover,
.svc-route__panel--vyst .svc-route__links a:hover {
    color: var(--red);
}

.svc-route__links a:hover {
    padding-left: 4px;
}

.svc-route__links a:hover::after {
    opacity: 1;
    transform: rotate(-45deg) translate(1px, 1px);
}

/* Active states via :has() */
.svc-route__body:has(#sr-proj:checked) .svc-route__step--proj .svc-route__node,
.svc-route__body:has(#sr-inz:checked) .svc-route__step--inz .svc-route__node,
.svc-route__body:has(#sr-vyst:checked) .svc-route__step--vyst .svc-route__node {
    transform: scale(1.08);
    box-shadow: 0 12px 28px rgba(13, 17, 23, 0.12);
    background: var(--red);
    border-color: var(--red);
}

.svc-route__body:has(#sr-proj:checked) .svc-route__step--proj .svc-route__node span,
.svc-route__body:has(#sr-inz:checked) .svc-route__step--inz .svc-route__node span,
.svc-route__body:has(#sr-vyst:checked) .svc-route__step--vyst .svc-route__node span {
    color: #ffffff;
}

.svc-route__body:has(#sr-proj:checked) .svc-route__step--proj .svc-route__phase,
.svc-route__body:has(#sr-inz:checked) .svc-route__step--inz .svc-route__phase,
.svc-route__body:has(#sr-vyst:checked) .svc-route__step--vyst .svc-route__phase {
    color: rgba(13, 17, 23, 0.55);
}

.svc-route__body:has(#sr-proj:checked) .svc-route__step--proj .svc-route__name,
.svc-route__body:has(#sr-inz:checked) .svc-route__step--inz .svc-route__name,
.svc-route__body:has(#sr-vyst:checked) .svc-route__step--vyst .svc-route__name {
    color: #0d1117;
    font-weight: var(--weight-ui);
}

.svc-route__body:has(#sr-proj:checked) .svc-route__panel--proj,
.svc-route__body:has(#sr-inz:checked) .svc-route__panel--inz,
.svc-route__body:has(#sr-vyst:checked) .svc-route__panel--vyst {
    display: grid;
}

@keyframes svcRouteIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .svc-route__panel {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .svc-route__links {
        border-left: 0;
        padding-left: 0;
        border-top: 1px solid rgba(13, 17, 23, 0.08);
        padding-top: 8px;
    }

    .svc-route__links li:first-child a {
        padding-top: 12px;
    }

    .svc-route__panel-title {
        max-width: none;
    }
}

@media (max-width: 720px) {
    .svc-route__track {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 14px;
    }

    .svc-route__line {
        top: 29px;
        bottom: 29px;
        left: 28px;
        right: auto;
        width: 2px;
        height: auto;
        background: rgba(13, 17, 23, 0.12);
    }

    .svc-route__step {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 16px;
        text-align: left;
        padding: 10px 0;
    }

    .svc-route__node {
        width: 58px;
        height: 58px;
        flex-shrink: 0;
    }

    .svc-route__panels {
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .svc-route__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .svc-route__head-side {
        max-width: none;
        text-align: left;
    }
}

/* ---------- SECTION 8 — INDUSTRIES ---------- */
.industries {
    background: #ffffff;
    padding: clamp(80px, 10vw, 150px) 0;
}

.ind-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 28px);
}

.ind-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: flex-end;
}

.ind-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.ind-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(13, 17, 23, 0.8) 0%, rgba(13, 17, 23, 0) 60%);
}

.ind-card:hover img {
    transform: scale(1.07);
}

.ind-name {
    position: relative;
    z-index: 1;
    padding: 26px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.2rem, 1.8vw, 1.6rem);
    color: #ffffff;
}

/* ---------- SECTION 9 — CLIENTS ---------- */
.clients {
    background: #ffffff;
    padding: clamp(70px, 9vw, 130px) 0 clamp(90px, 11vw, 160px);
}

.logo-wall {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(30px, 5vw, 70px) clamp(20px, 4vw, 60px);
    align-items: center;
}

.logo-item {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.1rem, 1.8vw, 1.6rem);
    letter-spacing: 1px;
    text-align: center;
    color: rgba(13, 17, 23, 0.3);
    transition: color 0.3s ease;
}

.logo-item:hover {
    color: rgba(13, 17, 23, 0.7);
}

.contact-title {
    font-family: var(--font-display);
    font-weight: var(--weight-title);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -1.5px;
    color: #fff;
    max-width: 18ch;
    margin-bottom: 40px;
}

.contact-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ---------- FOOTER ---------- */
/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
    background: #0a0d12;
    padding: 0 0 env(safe-area-inset-bottom, 0);
    border-top: 3px solid var(--red);
}

.footer-cta {
    background: linear-gradient(135deg, #11151c 0%, #0a0d12 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: clamp(28px, 4vw, 40px) 0;
}

.footer-cta-eyebrow {
    margin: 0 0 6px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
}

.footer-cta-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.footer-cta-actions {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 28px);
    flex-wrap: wrap;
}

.footer-cta-phone {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-cta-phone:hover {
    color: #fff;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 48px);
    padding: clamp(48px, 7vw, 72px) 0 clamp(40px, 6vw, 56px);
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-logo-k {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--red);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.footer-logo-k img {
    width: 78%;
    height: auto;
    display: block;
    mix-blend-mode: lighten;
}

.footer-logo-wordmark {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.18em;
    color: #fff;
    text-transform: uppercase;
}

.footer-tagline {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.48);
    margin: 0 0 16px;
    max-width: 32ch;
}

.footer-company {
    margin: 0 0 18px;
}

.footer-company div {
    margin: 0;
}

.footer-company dt {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 4px;
}

.footer-company dd {
    margin: 0;
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.38);
}

.footer-certs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 22px;
}

.footer-cert-badge {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 4px 10px;
    border-radius: 20px;
}

.footer-socials {
    display: flex;
    gap: 8px;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.5);
    display: grid;
    place-items: center;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.footer-social-link:hover {
    border-color: rgba(227, 6, 19, 0.45);
    color: #fff;
    background: rgba(227, 6, 19, 0.12);
}

.footer-nav-col h3,
.footer-col-title {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 18px;
}

.footer-nav-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-col ul a {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.48);
    text-decoration: none;
    transition: color 0.18s ease;
}

.footer-nav-col ul a:hover {
    color: rgba(255, 255, 255, 0.92);
}

.footer-branches {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-branches li {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-branches strong {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
}

.footer-branches span {
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 300;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.42);
}

.footer-branches-link {
    display: inline-block;
    margin-top: 14px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--red);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-branches-link:hover {
    opacity: 0.8;
}

.footer-address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.48);
}

.footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.28);
}

.footer-contact-item span,
.footer-contact-item a {
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 300;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.48);
    text-decoration: none;
    transition: color 0.18s ease;
}

.footer-contact-item a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-newsletter-label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.footer-newsletter-row {
    display: flex;
    gap: 8px;
}

.footer-newsletter-row input {
    flex: 1;
    min-width: 0;
    height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-family: var(--font-body);
    font-size: 13px;
}

.footer-newsletter-row input::placeholder {
    color: rgba(255, 255, 255, 0.32);
}

.footer-newsletter-row input:focus {
    outline: none;
    border-color: rgba(227, 6, 19, 0.45);
}

.footer-newsletter-row button {
    flex-shrink: 0;
    height: 40px;
    padding: 0 14px;
    border: none;
    border-radius: 8px;
    background: var(--red);
    color: #fff;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.2s ease;
}

.footer-newsletter-row button:hover {
    background: var(--red-deep);
}

.footer-blog {
    padding-bottom: clamp(40px, 6vw, 56px);
}

.footer-blog-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: clamp(20px, 3vw, 28px);
}

.footer-blog-eyebrow {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
}

.footer-blog-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.footer-blog-all {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-blog-all:hover {
    color: #fff;
}

.footer-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 20px);
}

.footer-blog-card {
    padding: clamp(18px, 2.5vw, 24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.footer-blog-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
}

.footer-blog-cat {
    display: inline-block;
    margin-bottom: 12px;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    background: var(--red);
    padding: 4px 9px;
    border-radius: 999px;
}

.footer-blog-cat--blue { background: #1a56e8; }
.footer-blog-cat--green { background: #14874e; }

.footer-blog-card-title {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: clamp(0.95rem, 1.4vw, 1.05rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.footer-blog-card-title a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-blog-card-title a:hover {
    color: #fff;
}

.footer-blog-card-meta {
    margin: 0;
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.38);
}

.footer-sep {
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 22px 0;
}

.footer-copy {
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal a {
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: color 0.18s ease;
}

.footer-legal a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.footer-made {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.18);
    margin: 0;
}

@media (max-width: 1100px) {
    .footer-main {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .footer-brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ---------- SECTION RESPONSIVE ---------- */
@media (max-width: 980px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }


    .ind-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .proc-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .proc-item {
        padding-bottom: 28px;
    }

    .process-header {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .process-sub {
        grid-column: 1;
        justify-self: start;
        text-align: left;
        padding-left: 0;
    }

    .logo-wall {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .proc-list {
        grid-template-columns: 1fr;
    }


    .ind-grid {
        grid-template-columns: 1fr;
    }

    .logo-wall {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-num {
        font-size: clamp(2.6rem, 14vw, 3.4rem);
    }

}

/* ─── Operator pill ── */
.operator-pill {
    position: fixed;
    right: clamp(16px, 2vw, 28px);
    bottom: clamp(16px, 2vw, 28px);
    z-index: 9990;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(0.94);
    transition:
        opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.45s ease;
}

.operator-pill.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.operator-pill-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: auto;
}

.operator-pill-main {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px 10px 10px;
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    box-shadow:
        0 2px 4px rgba(13, 17, 23, 0.04),
        0 12px 32px rgba(13, 17, 23, 0.14);
    cursor: default;
    outline: none;
    transition:
        border-color 0.25s ease,
        box-shadow 0.28s ease,
        transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.operator-pill-avatar {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--slate-100);
    flex-shrink: 0;
    transition: background 0.25s ease;
}

.operator-pill-avatar svg {
    width: 21px !important;
    height: 21px !important;
    color: var(--accent-blue);
    stroke-width: 2;
}

.operator-pill-avatar--chat {
    background: rgba(230, 0, 18, 0.08);
}

.operator-pill-avatar--chat svg {
    color: var(--red);
}

.operator-pill-status {
    position: absolute;
    top: 1px;
    right: 1px;
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
}

.operator-pill-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding-right: 2px;
}

.operator-pill-label {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: #0d1117;
    letter-spacing: -0.2px;
    line-height: 1.1;
}

.operator-pill-hint {
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 500;
    color: rgba(13, 17, 23, 0.45);
    line-height: 1.2;
    transition: color 0.25s ease;
}

.operator-pill[data-online="true"] .operator-pill-main {
    border-color: rgba(34, 197, 94, 0.28);
}

.operator-pill[data-online="true"] .operator-pill-avatar {
    background: rgba(34, 197, 94, 0.1);
}

.operator-pill[data-online="true"] .operator-pill-avatar svg {
    color: #14874e;
}

.operator-pill[data-online="true"] .operator-pill-hint {
    color: #14874e;
}

.operator-pill-inner:hover .operator-pill-main,
.operator-pill-inner:focus-within .operator-pill-main {
    transform: translateY(-3px);
    box-shadow:
        0 4px 8px rgba(13, 17, 23, 0.06),
        0 20px 48px rgba(13, 17, 23, 0.16);
}

.operator-pill-menu {
    position: absolute;
    right: 0;
    bottom: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 220px;
    padding-bottom: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.98);
    transition:
        opacity 0.24s ease,
        transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.24s ease;
    pointer-events: none;
}

.operator-pill-inner:hover .operator-pill-menu,
.operator-pill-inner:focus-within .operator-pill-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.operator-pill-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(13, 17, 23, 0.08);
    text-decoration: none;
    transition:
        border-color 0.18s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.operator-pill-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(227, 6, 19, 0.08);
    flex-shrink: 0;
    transition: background 0.18s ease;
}

.operator-pill-action-icon--mail {
    background: rgba(79, 109, 137, 0.1);
}

.operator-pill-action-icon svg {
    width: 17px !important;
    height: 17px !important;
    color: var(--red);
    stroke-width: 2;
}

.operator-pill-action-icon--mail svg {
    color: var(--accent-blue);
}

.operator-pill-action-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.operator-pill-action-copy strong {
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 600;
    color: #0d1117;
    line-height: 1.2;
}

.operator-pill-action-copy span {
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 400;
    color: rgba(13, 17, 23, 0.48);
    line-height: 1.2;
}

.operator-pill-action:hover {
    border-color: rgba(227, 6, 19, 0.25);
    transform: translateX(-4px);
    box-shadow: 0 10px 28px rgba(13, 17, 23, 0.1);
}

.operator-pill-action:hover .operator-pill-action-icon {
    background: rgba(227, 6, 19, 0.14);
}

.operator-pill-action:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .operator-pill-main {
        padding: 8px 14px 8px 8px;
        gap: 10px;
    }

    .operator-pill-avatar {
        width: 40px;
        height: 40px;
    }

    .operator-pill-label {
        font-size: 13px;
    }

    .operator-pill-menu {
        min-width: 200px;
    }
}

html[data-pending-i18n] body {
    visibility: hidden;
}

/* ═══════════════════════════════════════════════════════════
   SITE FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer {
    position: relative;
    overflow: hidden;
    background: var(--slate-50);
    border-top: 1px solid var(--slate-100);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 75% 90% at 100% 0%, rgba(227, 6, 19, 0.07) 0%, transparent 58%),
        radial-gradient(ellipse 55% 70% at 0% 100%, rgba(227, 6, 19, 0.05) 0%, transparent 52%);
    pointer-events: none;
}

.site-footer__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: clamp(24px, 4vw, 48px);
    width: min(var(--nav-container), 100%);
    margin: 0 auto;
    padding:
        clamp(40px, 5vw, 56px)
        var(--section-rail-right)
        clamp(32px, 4vw, 44px)
        var(--section-rail-left);
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 32px);
    flex-wrap: wrap;
}

.site-footer__logo {
    display: block;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.site-footer__logo img {
    display: block;
    height: clamp(34px, 4vw, 42px);
    width: auto;
}

.site-footer__logo:hover {
    opacity: 0.78;
}

.site-footer__social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-footer__social-link {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: rgba(13, 17, 23, 0.55);
    transition: color 0.2s ease, background 0.2s ease;
}

.site-footer__social-link:hover {
    color: var(--red);
    background: rgba(227, 6, 19, 0.08);
}

.site-footer__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.site-footer__contact-link {
    font-family: var(--font-body);
    font-size: clamp(0.92rem, 1.2vw, 1rem);
    font-weight: 400;
    color: rgba(13, 17, 23, 0.72);
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.site-footer__contact-link:hover {
    color: #0d1117;
}

.site-footer__address {
    margin: 0;
    font-family: var(--font-body);
    font-size: clamp(0.88rem, 1.1vw, 0.95rem);
    font-weight: 300;
    color: rgba(13, 17, 23, 0.52);
    line-height: 1.5;
}

.site-footer__nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.site-footer__nav a {
    font-family: var(--font-body);
    font-size: clamp(0.88rem, 1.1vw, 0.95rem);
    font-weight: 400;
    color: rgba(13, 17, 23, 0.62);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer__nav a:hover {
    color: #0d1117;
}

.site-footer__bar {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--slate-100);
    padding:
        clamp(16px, 2vw, 20px)
        var(--section-rail-right)
        clamp(20px, 2.5vw, 24px)
        var(--section-rail-left);
    text-align: center;
}

.site-footer__bar p {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 300;
    color: rgba(13, 17, 23, 0.42);
}

.site-footer__bar p + p {
    margin-top: 6px;
}

.site-footer__legal {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 14px;
}

.site-footer__legal a {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 400;
    color: rgba(13, 17, 23, 0.55);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer__legal a:hover {
    color: #0d1117;
}

.site-footer__legal a[aria-current="page"] {
    color: #0d1117;
    font-weight: 500;
}

.site-footer__credit a {
    background: linear-gradient(90deg, var(--red) 0%, #ff6b52 55%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.site-footer__credit a:hover {
    filter: brightness(1.12);
    opacity: 0.92;
}

@media (max-width: 640px) {
    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .site-footer__contact {
        align-items: flex-start;
    }
}

/* ═══════════════════════════════════════════════════════════
   LEGAL PAGES
═══════════════════════════════════════════════════════════ */
.legal-page {
    padding:
        clamp(48px, 8vw, 88px)
        var(--section-rail-right)
        clamp(72px, 10vw, 112px)
        var(--section-rail-left);
    background: var(--slate-50);
}

.legal-page__inner {
    width: min(760px, 100%);
    margin: 0 auto;
}

.legal-page__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #0d1117;
    margin: 0 0 12px;
    line-height: 1.15;
}

.legal-page__updated {
    margin: 0 0 clamp(32px, 5vw, 48px);
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(13, 17, 23, 0.45);
}

.legal-page__content h2 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: #0d1117;
    margin: 2rem 0 0.75rem;
}

.legal-page__content p,
.legal-page__content li {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(13, 17, 23, 0.72);
}

.legal-page__content p {
    margin: 0 0 1rem;
}

.legal-page__content ul {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

.legal-page__content a {
    color: var(--red);
    text-decoration: none;
}

.legal-page__content a:hover {
    text-decoration: underline;
}

.navbar--legal .nav-inner {
    justify-content: space-between;
}

.navbar--legal .nav-cta-btn {
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   COOKIE BANNER
═══════════════════════════════════════════════════════════ */
.cookie-banner {
    position: fixed;
    inset: auto auto 16px 16px;
    z-index: 9999;
    max-width: min(560px, calc(100vw - 32px));
    margin: 0;
}

.cookie-banner__inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px solid var(--slate-100);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 48px rgba(13, 17, 23, 0.14);
    backdrop-filter: blur(12px);
}

.cookie-banner__title {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: #0d1117;
}

.cookie-banner__desc {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.55;
    color: rgba(13, 17, 23, 0.68);
}

.cookie-banner__desc a {
    color: var(--red);
    text-decoration: none;
}

.cookie-banner__desc a:hover {
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-banner__btn {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cookie-banner__btn--primary {
    background: var(--red);
    color: #fff;
}

.cookie-banner__btn--primary:hover {
    background: #c20510;
}

.cookie-banner__btn--ghost {
    background: transparent;
    border-color: var(--slate-100);
    color: rgba(13, 17, 23, 0.72);
}

.cookie-banner__btn--ghost:hover {
    border-color: rgba(13, 17, 23, 0.2);
    color: #0d1117;
}

@media (min-width: 640px) {
    .cookie-banner {
        inset: auto auto 24px 24px;
    }

    .cookie-banner__inner {
        padding: 20px 22px;
    }

    .cookie-reopen {
        left: 24px;
        right: auto;
        bottom: 24px;
    }
}

.cookie-reopen {
    position: fixed;
    left: 16px;
    right: auto;
    bottom: 16px;
    z-index: 9998;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--slate-100);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 24px rgba(13, 17, 23, 0.1);
    backdrop-filter: blur(10px);
    color: rgba(13, 17, 23, 0.62);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cookie-reopen svg,
.cookie-reopen [data-lucide] {
    display: block;
    width: 18px;
    height: 18px;
}

.cookie-reopen:hover {
    color: #0d1117;
    border-color: rgba(13, 17, 23, 0.18);
    box-shadow: 0 10px 28px rgba(13, 17, 23, 0.14);
    transform: translateY(-1px);
}

.cookie-reopen:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}
