/* ══════════════════════════════════════════════════════════
   TwinTech – hlavný štýl webu
   Farby loga: červená #C41230 • oceľová šedá #5A6472
   ══════════════════════════════════════════════════════════ */

:root {
    --bg: #07090e;
    --bg-2: #0b0e14;
    --bg-3: #10141c;
    --panel: rgba(255, 255, 255, .035);
    --panel-2: rgba(255, 255, 255, .06);
    --line: rgba(255, 255, 255, .09);
    --red: #C41230;
    --red-2: #E22243;
    --steel: #5A6472;
    --steel-2: #8B96A5;
    --text: #E9EDF3;
    --muted: #9AA4B2;
    --ok: #38d178;
    --grad: linear-gradient(135deg, #E22243 0%, #C41230 60%, #8E0C22 100%);
    --r-lg: 22px;
    --r-md: 16px;
    --r-sm: 10px;
    --nav-h: 74px;
    --font-d: "Space Grotesk", "Inter", sans-serif;
    --font-b: "Inter", system-ui, sans-serif;
    --sh-card: 0 18px 50px rgba(0, 0, 0, .45);
    --sh-red: 0 10px 34px rgba(196, 18, 48, .38);
}

/* ── Reset / base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
    font-family: var(--font-b);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }

::selection { background: rgba(196, 18, 48, .55); color: #fff; }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #232a36; border-radius: 8px; border: 2px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

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

h1, h2, h3, h4 { font-family: var(--font-d); font-weight: 700; line-height: 1.14; letter-spacing: -.01em; }

h2 { font-size: clamp(30px, 4.2vw, 46px); }
h3 { font-size: 20px; }

.muted { color: var(--muted); }

.grad {
    background: linear-gradient(120deg, #FF5871, #E22243 45%, #C41230);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.container { width: min(1200px, 100% - 44px); margin-inline: auto; }
.container--narrow { width: min(800px, 100% - 44px); }

.ic {
    width: 20px; height: 20px; flex: none;
    fill: none; stroke: currentColor;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ── Pozadie ──────────────────────────────────────────── */
.bgfx { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; pointer-events: none; }

.bgfx__grid {
    position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
}

/* radiálne gradienty namiesto filter: blur – plynulé aj na iOS/Safari */
.bgfx__glow { position: absolute; border-radius: 50%; }
.bgfx__glow--1 { width: 720px; height: 720px; top: -280px; right: -200px; background: radial-gradient(circle, rgba(196, 18, 48, .13) 0%, rgba(196, 18, 48, 0) 65%); }
.bgfx__glow--2 { width: 640px; height: 640px; bottom: -260px; left: -220px; background: radial-gradient(circle, rgba(90, 100, 114, .12) 0%, rgba(90, 100, 114, 0) 65%); }

/* ── Progress bar ─────────────────────────────────────── */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; background: transparent; }
.progress span { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 12px rgba(226, 34, 67, .8); }

/* ── Navigácia ────────────────────────────────────────── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
    border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
    background: rgba(9, 11, 17, .82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--line);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .4);
}

.nav__inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }

.brand__img { height: 44px; width: auto; transition: transform .3s ease; }
.brand:hover .brand__img { transform: scale(1.04); }

.nav__links { display: flex; align-items: center; gap: 6px; }

.nav__link {
    position: relative; padding: 9px 14px; border-radius: 10px;
    font-weight: 600; font-size: 14.5px; color: var(--text);
    display: inline-flex; align-items: center; gap: 7px;
    transition: color .25s ease, background .25s ease;
}

.nav__link::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px;
    height: 2px; background: var(--grad); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}

.nav__link:hover { color: #fff; }
.nav__link:hover::after { transform: scaleX(1); }

.nav__link--zs { color: var(--steel-2); }
.nav__link--zs .ic { width: 17px; height: 17px; }

.nav__link--cta {
    background: var(--grad); color: #fff; margin-left: 8px;
    box-shadow: 0 6px 22px rgba(196, 18, 48, .35);
    transition: transform .25s ease, box-shadow .25s ease;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { transform: translateY(-2px); box-shadow: var(--sh-red); }

.nav__link--portal {
    border: 1px solid rgba(255, 255, 255, .22); color: #fff; margin-left: 8px;
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.nav__link--portal .ic { width: 17px; height: 17px; }
.nav__link--portal::after { display: none; }
.nav__link--portal:hover { transform: translateY(-2px); border-color: var(--red-2); background: rgba(226, 34, 67, .12); }

.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 10px; z-index: 130; }
.nav__burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Tlačidlá ─────────────────────────────────────────── */
.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 24px; border-radius: 12px; font-weight: 700; font-size: 15px;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
    overflow: hidden; white-space: nowrap;
}

.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--sm { padding: 9px 16px; font-size: 13.5px; border-radius: 9px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 26px rgba(196, 18, 48, .32); }
.btn--primary::before {
    content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: skewX(-20deg); transition: left .6s ease;
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: var(--sh-red); }
.btn--primary:hover::before { left: 130%; }

.btn--glass {
    background: var(--panel-2); border: 1px solid var(--line); color: var(--text);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn--glass:hover { transform: translateY(-3px); border-color: rgba(226, 34, 67, .5); background: rgba(226, 34, 67, .1); }

.btn--ghost { border: 1px solid var(--line); color: var(--muted); }
.btn--ghost:hover { color: var(--text); border-color: var(--steel); }

.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading::after {
    content: ""; width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff;
    animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Hero ─────────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 90px; }

.hero__media { position: absolute; top: 0; right: 0; bottom: 0; left: 0; overflow: hidden; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }

.hero__shade {
    position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    background:
        radial-gradient(ellipse 60% 55% at 72% 40%, rgba(196, 18, 48, .16), transparent 70%),
        linear-gradient(180deg, rgba(7, 9, 14, .72) 0%, rgba(7, 9, 14, .55) 45%, var(--bg) 100%);
}

.hero__content { position: relative; z-index: 2; max-width: 900px; }

.badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px; border-radius: 999px;
    background: rgba(226, 34, 67, .08); border: 1px solid rgba(226, 34, 67, .3);
    font-size: 13.5px; font-weight: 600; letter-spacing: .04em; color: #f2c3cc;
    margin-bottom: 26px;
}

.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-2); box-shadow: 0 0 0 0 rgba(226, 34, 67, .6); animation: pulse 2s infinite; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(226, 34, 67, .55); }
    70% { box-shadow: 0 0 0 11px rgba(226, 34, 67, 0); }
    100% { box-shadow: 0 0 0 0 rgba(226, 34, 67, 0); }
}

.hero__title { font-size: clamp(40px, 6.6vw, 78px); margin-bottom: 24px; max-width: 820px; }

.hero__title .w { display: inline-block; opacity: 0; transform: translateY(30px); filter: blur(6px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1), filter .6s ease; }
.hero__title.is-in .w { opacity: 1; transform: none; filter: none; }
.hero__title.no-split .w { opacity: 1; transform: none; filter: none; }

.hero__subtitle { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 640px; margin-bottom: 34px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }

.hero__stats { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.stat {
    min-width: 170px; padding: 18px 22px; border-radius: var(--r-md);
    background: rgba(13, 16, 23, .55); border: 1px solid var(--line);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}

.stat__num { font-family: var(--font-d); font-size: 34px; font-weight: 700; line-height: 1; background: linear-gradient(120deg, #fff, #ffd9df 55%, var(--red-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { font-size: 13.5px; color: var(--muted); margin-top: 7px; }

.hero__typing { font-size: 15px; display: flex; gap: 10px; align-items: baseline; min-height: 24px; }
.typing { font-family: var(--font-d); font-weight: 600; color: #ffccd4; }
.typing::after { content: "▌"; color: var(--red-2); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero__scroll {
    position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
    width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 16px;
}
.hero__scroll span {
    position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px;
    background: var(--red-2); border-radius: 3px; animation: wheel 1.8s ease infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ── Marquee ──────────────────────────────────────────── */
.marquee { position: relative; overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: rgba(11, 14, 20, .7); }
.marquee::before, .marquee::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.marquee__track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__group { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.marquee__group span { font-family: var(--font-d); font-weight: 600; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-2); white-space: nowrap; }
.marquee__group i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none; }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Sekcie ───────────────────────────────────────────── */
.section { position: relative; padding: clamp(72px, 9vw, 122px) 0; }
section[id], .section[id] { scroll-margin-top: calc(var(--nav-h) + 14px); }
.section--first { padding-top: clamp(40px, 5vw, 70px); }
.section--alt { background: linear-gradient(180deg, rgba(15, 18, 26, .65), rgba(11, 14, 20, .35)); border-block: 1px solid rgba(255, 255, 255, .05); }

.section__head { max-width: 640px; margin-bottom: clamp(38px, 5vw, 60px); }
.section__head p { margin-top: 14px; font-size: 17px; }
.section__head--row { display: flex; max-width: none; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    color: var(--red-2); margin-bottom: 14px;
}
.eyebrow .ic { width: 16px; height: 16px; }

/* ── Reveal / tilt ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

.tilt { transform: perspective(950px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .2s ease, opacity .7s ease, border-color .3s ease, box-shadow .3s ease; will-change: transform; }
.tilt.reveal:not(.in) { transform: translateY(34px); }

/* ── Služby – hlavné karty ────────────────────────────── */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.scard {
    position: relative; display: flex; flex-direction: column; overflow: hidden;
    border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line);
    box-shadow: var(--sh-card);
}

.scard::after {
    content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: inherit; pointer-events: none; opacity: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(226, 34, 67, .14), transparent 65%);
    transition: opacity .3s ease;
}
.scard:hover::after { opacity: 1; }
.scard:hover { border-color: rgba(226, 34, 67, .45); }

/* padding-top pomer namiesto aspect-ratio – funguje aj v starších Safari */
.scard__media { position: relative; padding-top: 62.5%; overflow: hidden; }
.scard__media::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(180deg, rgba(7, 9, 14, .05), rgba(7, 9, 14, .82)); }
.scard__media img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.scard:hover .scard__media img { transform: scale(1.09); }

.scard__body { position: relative; padding: 0 22px 24px; margin-top: -30px; z-index: 2; display: flex; flex-direction: column; flex: 1; }

.scard__icon {
    width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
    background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(196, 18, 48, .45);
    margin-bottom: 16px;
}
.scard__icon .ic { width: 25px; height: 25px; }

.scard__body h3 { margin-bottom: 9px; }
.scard__body p { font-size: 14.5px; color: var(--muted); flex: 1; }

.scard__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; font-size: 14px; color: var(--red-2); }
.scard__more .ic { width: 17px; height: 17px; transition: transform .3s ease; }
.scard:hover .scard__more .ic { transform: translateX(5px); }

/* ── Služby – mini karty ──────────────────────────────── */
.services__sub { margin: 44px 0 20px; font-size: 22px; color: var(--steel-2); }

.services--mini { grid-template-columns: repeat(3, 1fr); }

.mcard {
    padding: 24px; border-radius: var(--r-md);
    background: var(--panel); border: 1px solid var(--line);
    transition: transform .2s ease, border-color .3s ease, background .3s ease;
}
.mcard:hover { border-color: rgba(226, 34, 67, .4); background: var(--panel-2); }

.mcard__icon {
    width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
    background: rgba(90, 100, 114, .18); border: 1px solid rgba(139, 150, 165, .25); color: var(--steel-2);
    margin-bottom: 14px; transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.mcard:hover .mcard__icon { background: rgba(196, 18, 48, .16); border-color: rgba(226, 34, 67, .4); color: var(--red-2); }
.mcard__icon .ic { width: 22px; height: 22px; }

.mcard h4 { font-size: 16.5px; margin-bottom: 7px; }
.mcard p { font-size: 14px; color: var(--muted); }

/* ── Callout ──────────────────────────────────────────── */
.callout {
    margin-top: 44px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
    padding: 30px 34px; border-radius: var(--r-lg);
    background: linear-gradient(120deg, rgba(196, 18, 48, .14), rgba(90, 100, 114, .1));
    border: 1px solid rgba(226, 34, 67, .3);
}

.callout__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: var(--sh-red); }
.callout__icon .ic { width: 28px; height: 28px; }
.callout__text { flex: 1; min-width: 240px; }
.callout__text h3 { margin-bottom: 5px; }

/* ── Split (automatizácia + terminál) ─────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 70px); align-items: center; }

.split__text h2 { margin-bottom: 16px; }
.split__text > p { margin-bottom: 24px; }

.checklist { list-style: none; display: grid; gap: 13px; margin-bottom: 30px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.checklist .ic { color: var(--ok); margin-top: 2px; width: 21px; height: 21px; }

.term {
    border-radius: var(--r-md); overflow: hidden;
    background: #0a0d13; border: 1px solid var(--line);
    box-shadow: var(--sh-card), 0 0 80px rgba(196, 18, 48, .1);
}

.term__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid var(--line); }
.term__bar span { width: 11px; height: 11px; border-radius: 50%; background: #2e3542; }
.term__bar span:nth-child(1) { background: #e5484d; }
.term__bar span:nth-child(2) { background: #f2b338; }
.term__bar span:nth-child(3) { background: #38d178; }
.term__bar em { margin-left: 10px; font-style: normal; font-size: 12.5px; color: var(--muted); font-family: var(--font-d); letter-spacing: .04em; }
.term__live { margin-left: auto; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; color: var(--red-2); border: 1px solid rgba(226, 34, 67, .5); padding: 3px 8px; border-radius: 6px; animation: livePulse 2.4s ease infinite; }
@keyframes livePulse { 50% { opacity: .45; } }

.term__body { padding: 18px; height: 300px; overflow: hidden; font-family: "JetBrains Mono", "Consolas", monospace; font-size: 13.2px; line-height: 1.9; }
.term__line { transition: opacity .45s ease; }
.term__line--cmd { color: #f2f5f9; font-weight: 600; }
.term__line--out { color: var(--muted); }
.term__line--ok { color: var(--ok); }
.term__prompt { color: var(--red-2); font-weight: 800; }

/* ── Video band (digitalizácia) ───────────────────────── */
.band { position: relative; padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.band__media { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.band__media video, .band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__shade { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(100deg, rgba(7, 9, 14, .93) 25%, rgba(7, 9, 14, .72) 60%, rgba(124, 10, 28, .45)); }
.band__content { position: relative; z-index: 2; }

.band__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.band__grid h2 { margin-bottom: 16px; }

.band__points { display: grid; gap: 16px; }

.bpoint {
    display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--r-md);
    background: rgba(10, 13, 19, .72); border: 1px solid var(--line);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.bpoint .ic { width: 26px; height: 26px; color: var(--red-2); margin-top: 3px; }
.bpoint strong { display: block; margin-bottom: 3px; font-size: 16px; }
.bpoint p { font-size: 14px; color: var(--muted); }

/* ── Proces / kroky ───────────────────────────────────── */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.steps::before {
    content: ""; position: absolute; top: 44px; left: 6%; right: 6%; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(226, 34, 67, .5), rgba(226, 34, 67, .5), transparent);
}

.step {
    position: relative; padding: 26px 24px; border-radius: var(--r-md);
    background: var(--panel); border: 1px solid var(--line);
    transition: transform .3s ease, border-color .3s ease;
}
.step:hover { transform: translateY(-6px); border-color: rgba(226, 34, 67, .4); }

.step__num {
    font-family: var(--font-d); font-weight: 700; font-size: 38px; line-height: 1; margin-bottom: 14px;
    background: linear-gradient(180deg, #ff5871, var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* ── Technológie ──────────────────────────────────────── */
.section--tech { overflow: hidden; }
.tech__canvas { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; opacity: .6; }
.section--tech .container { position: relative; z-index: 2; }

.techgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }

.tcard {
    padding: 22px 24px; border-radius: var(--r-md);
    background: rgba(13, 16, 23, .78); border: 1px solid var(--line);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    transition: border-color .3s ease, transform .2s ease;
}
.tcard:hover { border-color: rgba(226, 34, 67, .45); }

.tcard__top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-family: var(--font-d); font-weight: 700; font-size: 17px; }
.tcard__top .ic { color: var(--red-2); width: 22px; height: 22px; }
.tcard p { font-size: 14px; color: var(--muted); }

/* ── Novinky ──────────────────────────────────────────── */
.newsgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.ncard {
    display: flex; flex-direction: column; overflow: hidden;
    border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line);
    box-shadow: var(--sh-card);
}
.ncard:hover { border-color: rgba(226, 34, 67, .45); }

.ncard__media { position: relative; padding-top: 56.25%; overflow: hidden; }
.ncard__media img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.ncard:hover .ncard__media img { transform: scale(1.08); }
.ncard__media::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 9, 14, .65)); }

.ncard__date {
    position: absolute; left: 14px; bottom: 12px; z-index: 2;
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
    background: rgba(9, 11, 17, .8); border: 1px solid var(--line);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ncard__date .ic { width: 14px; height: 14px; color: var(--red-2); }

.ncard__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.ncard__body h3 { font-size: 18.5px; margin-bottom: 9px; }
.ncard__body p { font-size: 14px; color: var(--muted); flex: 1; }

.ncard__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 700; font-size: 13.5px; color: var(--red-2); }
.ncard__more .ic { width: 16px; height: 16px; transition: transform .3s ease; }
.ncard:hover .ncard__more .ic { transform: translateX(5px); }

/* ── O nás ────────────────────────────────────────────── */
.about { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(34px, 5vw, 72px); align-items: center; }

.about__photo { position: relative; }

.about__frame {
    position: relative; border-radius: var(--r-lg); overflow: hidden;
    border: 1px solid var(--line); box-shadow: var(--sh-card);
}
.about__frame::before {
    content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(200deg, rgba(196, 18, 48, .18), transparent 45%);
}
.about__frame img { width: 100%; }

.about__photo::after {
    content: ""; position: absolute; top: 18px; right: -18px; bottom: -18px; left: 18px; z-index: -1;
    border-radius: var(--r-lg); border: 1px solid rgba(226, 34, 67, .35);
}

.about__chip {
    position: absolute; left: 20px; bottom: 20px; z-index: 3;
    display: inline-flex; align-items: center; gap: 9px;
    padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 700;
    background: rgba(9, 11, 17, .85); border: 1px solid var(--line);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.about__chip .ic { width: 16px; height: 16px; color: var(--red-2); }

.about__text h2 { margin-bottom: 18px; }
.about__text > p { margin-bottom: 26px; }

.values { display: grid; gap: 14px; margin-bottom: 28px; }

.value {
    display: flex; gap: 15px; padding: 17px 20px; border-radius: var(--r-md);
    background: var(--panel); border: 1px solid var(--line);
    transition: border-color .3s ease, transform .2s ease;
}
.value:hover { border-color: rgba(226, 34, 67, .4); transform: translateX(6px); }
.value .ic { width: 24px; height: 24px; color: var(--red-2); margin-top: 2px; }
.value strong { display: block; font-size: 15.5px; }
.value p { font-size: 13.5px; color: var(--muted); }

.team { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.tperson {
    display: flex; align-items: center; gap: 14px; padding: 15px 18px;
    border-radius: var(--r-md); background: var(--panel-2); border: 1px solid var(--line);
    transition: border-color .3s ease, background .3s ease, transform .2s ease;
}
.tperson:hover { border-color: rgba(226, 34, 67, .5); background: rgba(226, 34, 67, .08); transform: translateY(-3px); }

.tperson__avatar {
    width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
    background: var(--grad); font-family: var(--font-d); font-weight: 700; font-size: 15px; color: #fff;
}
.tperson span:nth-child(2) { flex: 1; line-height: 1.35; }
.tperson strong { display: block; font-size: 15px; }
.tperson em { font-style: normal; font-size: 13px; color: var(--muted); }
.tperson > .ic { color: var(--red-2); }

/* ── CTA band ─────────────────────────────────────────── */
.cta { position: relative; padding: clamp(90px, 11vw, 150px) 0; overflow: hidden; text-align: center; }
.cta__media { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.cta__media video, .cta__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.cta__shade {
    position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    background:
        radial-gradient(ellipse 55% 65% at 50% 50%, rgba(196, 18, 48, .3), transparent 75%),
        linear-gradient(180deg, var(--bg) 0%, rgba(7, 9, 14, .68) 30%, rgba(7, 9, 14, .68) 70%, var(--bg) 100%);
}
.cta__content { position: relative; z-index: 2; }
.cta__content h2 { font-size: clamp(32px, 4.6vw, 52px); margin-bottom: 16px; }
.cta__content p { max-width: 480px; margin: 0 auto 32px; font-size: 17px; }

/* ── Kontakt ──────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(26px, 4vw, 50px); align-items: start; }

.contact__info { display: grid; gap: 13px; }

.cinfo {
    display: flex; align-items: center; gap: 16px; padding: 17px 20px;
    border-radius: var(--r-md); background: var(--panel); border: 1px solid var(--line);
    transition: border-color .3s ease, background .3s ease;
}
.cinfo:hover { border-color: rgba(226, 34, 67, .45); background: var(--panel-2); }

.cinfo__icon {
    width: 46px; height: 46px; border-radius: 13px; flex: none;
    display: grid; place-items: center; color: var(--red-2);
    background: rgba(196, 18, 48, .12); border: 1px solid rgba(226, 34, 67, .3);
}
.cinfo strong { display: block; font-size: 15px; }
.cinfo span { font-size: 14px; color: var(--muted); }

.billing { margin-top: 10px; padding: 20px 22px; border-radius: var(--r-md); background: rgba(90, 100, 114, .08); border: 1px dashed rgba(139, 150, 165, .3); }
.billing h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--steel-2); margin-bottom: 12px; }
.billing ul { list-style: none; display: grid; gap: 7px; font-size: 14px; }
.billing li span { color: var(--muted); margin-right: 6px; }

.contact__form form {
    padding: 30px 32px; border-radius: var(--r-lg);
    background: var(--panel); border: 1px solid var(--line);
    box-shadow: var(--sh-card);
}

.contact__form h3 { font-size: 22px; margin-bottom: 6px; }
.fine { font-size: 13px; margin-bottom: 18px; }

.contact__form label { display: block; margin-bottom: 16px; }
.contact__form label span { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--steel-2); }

.contact__form input, .contact__form textarea {
    width: 100%; padding: 13px 16px; border-radius: 11px;
    background: rgba(9, 11, 17, .7); border: 1px solid var(--line);
    color: var(--text); font: inherit; font-size: 16px; /* 16px = iOS Safari nezoomuje pri ťuknutí do poľa */
    transition: border-color .25s ease, box-shadow .25s ease;
}
.contact__form input:focus, .contact__form textarea:focus {
    outline: none; border-color: var(--red-2); box-shadow: 0 0 0 3px rgba(226, 34, 67, .18);
}
.contact__form textarea { resize: vertical; min-height: 110px; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* captcha (overenie „nie som robot“) */
.captcha__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.captcha__row img { display: block; flex: none; border-radius: 11px; border: 1px solid var(--line); }
.captcha__row input { flex: 1 1 120px; min-width: 120px; }
.captcha__refresh {
    flex: none; width: 42px; height: 42px; border-radius: 11px; font-size: 21px; line-height: 1;
    background: rgba(9, 11, 17, .7); border: 1px solid var(--line); color: var(--steel-2); cursor: pointer;
    transition: color .25s ease, border-color .25s ease;
}
.captcha__refresh:hover { color: #fff; border-color: var(--red-2); }

.contact__form .fine:last-child { margin: 12px 0 0; text-align: center; }

.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; }

/* ── Footer ───────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); background: rgba(9, 11, 17, .85); padding: 64px 0 30px; }

.footer__grid { display: grid; grid-template-columns: 4fr 2.5fr 2.5fr 3fr; gap: 36px; margin-bottom: 44px; }

.footer__logo { height: 42px; width: auto; margin-bottom: 16px; }
.footer__col--brand p { font-size: 14px; max-width: 300px; margin-bottom: 16px; }

.footer__badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--steel-2); }
.footer__badge .ic { width: 15px; height: 15px; color: var(--red-2); }

.footer__col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--steel-2); margin-bottom: 16px; }
.footer__col a, .footer__addr { display: flex; align-items: center; gap: 9px; padding: 6px 0; font-size: 14px; color: var(--muted); transition: color .25s ease; }
.footer__col a:hover { color: #fff; }
.footer__col .ic { width: 15px; height: 15px; color: var(--red-2); }

.footer__bottom {
    display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    padding-top: 24px; border-top: 1px solid var(--line);
    font-size: 13px; color: var(--steel);
}
.footer__meta a { color: var(--steel); text-decoration: underline; }
.footer__meta a:hover { color: var(--muted); }

/* ── Toast / cookies / totop ──────────────────────────── */
.toast {
    position: fixed; bottom: 26px; bottom: calc(26px + env(safe-area-inset-bottom)); left: 50%; transform: translate(-50%, 20px); z-index: 200;
    padding: 15px 24px; border-radius: 13px; font-weight: 600; font-size: 14.5px;
    background: #10141c; border: 1px solid var(--line); box-shadow: var(--sh-card);
    opacity: 0; pointer-events: none; transition: opacity .35s ease, transform .35s ease;
    max-width: min(480px, 90vw); text-align: center;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast--ok { border-color: rgba(56, 209, 120, .5); }
.toast--err { border-color: rgba(226, 34, 67, .6); }

.cookie { position: fixed; left: 20px; right: 20px; bottom: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 190; display: flex; justify-content: center; }
.cookie[hidden] { display: none; }
.cookie__inner {
    display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
    padding: 16px 22px; border-radius: var(--r-md);
    background: rgba(13, 16, 23, .92); border: 1px solid var(--line);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: var(--sh-card); max-width: 640px;
}
.cookie__inner p { font-size: 13.5px; color: var(--muted); flex: 1; min-width: 220px; }
.cookie__actions { display: flex; gap: 10px; }

.totop {
    position: fixed; right: 22px; bottom: 22px; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 180;
    width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
    background: rgba(13, 16, 23, .9); border: 1px solid var(--line); color: var(--muted);
    opacity: 0; pointer-events: none; transform: translateY(12px);
    transition: opacity .3s ease, transform .3s ease, border-color .3s ease, color .3s ease;
}
.totop.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.totop:hover { border-color: var(--red-2); color: #fff; }

/* ── Podstránky ───────────────────────────────────────── */
.subhero {
    padding: calc(var(--nav-h) + clamp(44px, 7vw, 84px)) 0 clamp(30px, 4vw, 50px);
    background:
        radial-gradient(ellipse 60% 90% at 70% 0%, rgba(196, 18, 48, .14), transparent 70%),
        linear-gradient(180deg, rgba(15, 18, 26, .6), transparent);
}
.subhero h1 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 12px; }
.subhero p { max-width: 560px; }

.pager { display: flex; gap: 8px; justify-content: center; margin-top: 46px; }
.pager__item {
    min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px;
    border-radius: 11px; border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--muted);
    transition: all .25s ease;
}
.pager__item:hover { border-color: var(--steel); color: #fff; }
.pager__item.is-active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 6px 20px rgba(196, 18, 48, .35); }

/* článok */
.arthero { position: relative; min-height: 46vh; display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 60px) 0 40px; }
.arthero__media { position: absolute; top: 0; right: 0; bottom: 0; left: 0; overflow: hidden; }
.arthero__media img { width: 100%; height: 100%; object-fit: cover; }
.arthero__shade { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(180deg, rgba(7, 9, 14, .68), rgba(7, 9, 14, .45) 45%, var(--bg) 100%); }
.arthero__content { position: relative; z-index: 2; }
.arthero__content h1 { font-size: clamp(30px, 4.6vw, 52px); max-width: 860px; margin: 14px 0; }
.arthero__meta { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.arthero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.arthero__meta .ic { width: 16px; height: 16px; color: var(--red-2); }

.crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--red-2); }
.crumb .ic { width: 15px; height: 15px; transform: rotate(180deg); }

.article { font-size: 16.5px; line-height: 1.8; }
.article > * + * { margin-top: 1.1em; }
.article h2 { font-size: clamp(23px, 2.6vw, 30px); margin-top: 1.7em; }
.article h3 { font-size: 20px; margin-top: 1.5em; }
.article a { color: var(--red-2); text-decoration: underline; text-underline-offset: 3px; }
.article ul, .article ol { padding-left: 24px; }
.article li + li { margin-top: .4em; }
.article img { border-radius: var(--r-md); border: 1px solid var(--line); }
.article blockquote { border-left: 3px solid var(--red); padding: 6px 0 6px 20px; color: var(--muted); font-style: italic; }
.article strong { color: #fff; }

.article__cta {
    margin-top: 50px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    padding: 26px 30px; border-radius: var(--r-lg);
    background: linear-gradient(120deg, rgba(196, 18, 48, .13), rgba(90, 100, 114, .1));
    border: 1px solid rgba(226, 34, 67, .3);
}
.article__cta h3 { margin-bottom: 4px; }

.err404 {
    font-family: var(--font-d); font-weight: 700; font-size: clamp(90px, 16vw, 170px); line-height: 1;
    background: linear-gradient(180deg, #ff5871, rgba(196, 18, 48, .2));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── Responzivita ─────────────────────────────────────── */
@media (max-width: 1100px) {
    .services { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
    .split, .band__grid, .about, .contact { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .steps::before { display: none; }
    .newsgrid { grid-template-columns: repeat(2, 1fr); }
    .about__photo { max-width: 520px; }
    .about__photo::after { display: none; } /* dekoratívny rám s presahom robil na mobile horizontálny posun */
}

@media (max-width: 860px) {
    .nav__links {
        position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 120;
        flex-direction: column; justify-content: center; gap: 10px;
        background: rgba(7, 9, 14, .96);
        -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
        transform: translateX(100%); transition: transform .4s cubic-bezier(.2, .7, .2, 1);
    }
    .nav__links.is-open { transform: none; }
    .nav__link { font-size: 19px; padding: 13px 22px; }
    .nav__burger { display: flex; }
    .services--mini { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .services, .services--mini, .newsgrid, .steps, .team, .form__row { grid-template-columns: 1fr; }
    .hero__stats { display: grid; grid-template-columns: 1fr 1fr; }
    .stat { min-width: 0; }
    .hero__actions { display: grid; grid-template-columns: 1fr; width: 100%; max-width: 420px; }
    .hero__actions .btn { width: 100%; justify-content: center; }
    .btn--lg { padding: 15px 20px; font-size: 15px; }
    .callout { padding: 24px; }
    .contact__form form { padding: 24px 20px; }
    .footer__grid { grid-template-columns: 1fr; gap: 26px; }
    .cookie { left: 12px; right: 12px; bottom: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
    .totop { display: none; }
    .hero__scroll { display: none; } /* na malých výškach prekrýval obsah */
    .hero { padding-bottom: 60px; }
}

/* ── Reduced motion ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
    .reveal { opacity: 1; transform: none; }
    .hero__title .w { opacity: 1; transform: none; filter: none; }
    .marquee__track { animation: none; flex-wrap: wrap; }
}
