/**
 * site.css — prezentačný web it-helpdesk.sk.
 * Marketingový štýl (full-bleed hero, gradienty, tučné sekcie) postavený na
 * rovnakej brand palete a písme (Inter) ako helpdesk aplikácia, aby web a
 * portál pôsobili jednotne. Žiadne externé knižnice — čisté CSS.
 */

:root {
    --brand: #1b74ff;
    --brand-dark: #0b57d0;
    --brand-light: #e8f1ff;
    --navy: #0b1f36;
    --navy-2: #0f2942;
    --ink: #0f172a;
    --text: #1f2b3d;
    --muted: #5b6b82;
    --faint: #8b98ab;
    --line: #e5eaf1;
    --canvas: #f6f8fb;
    --white: #ffffff;
    --success: #16a34a;
    --radius: 16px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
    --shadow: 0 10px 30px rgba(15, 23, 42, .08);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, .16);
    --container: 1180px;
    --nav-h: 112px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
    margin: 0; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--text); background: var(--white); line-height: 1.6;
    font-size: 17px; -webkit-font-smoothing: antialiased;
    overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section--canvas { background: var(--canvas); }
.section--navy { background: var(--navy); color: #cdd9ea; }
.section--navy h2, .section--navy h3 { color: #fff; }

/* Nadpisová hlava sekcie */
.eyebrow {
    display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.section--navy .eyebrow { color: #5fa0ff; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.12rem; margin: 0; }
.section--navy .section-head p { color: #aebfd4; }

/* ---------- Tlačidlá ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 9px; justify-content: center;
    padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
    border: 1.5px solid transparent; cursor: pointer; transition: all .16s ease;
    font-family: inherit; white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(27, 116, 255, .32); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(27, 116, 255, .4); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); border-color: #fff; }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-lg { padding: 17px 34px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
    display: flex; align-items: center; transition: background .25s ease, box-shadow .25s ease;
}
.nav.solid { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(10px); box-shadow: 0 1px 0 var(--line); }
/* Nad hero je navigácia priehľadná — tmavý horný závoj zaručí čitateľnosť
   bieleho loga aj odkazov nad ľubovoľnou (aj svetlou) fotkou. */
.nav.at-top:not(.menu-open)::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 20, 38, .6) 0%, rgba(8, 20, 38, .28) 55%, rgba(8, 20, 38, 0) 100%);
}
.nav .container { display: flex; align-items: center; gap: 22px; width: 100%; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 84px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
    padding: 9px 15px; border-radius: 10px; font-weight: 600; font-size: .96rem;
    color: var(--text); transition: background .12s, color .12s;
}
.nav.at-top:not(.menu-open) .nav-link { color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .45); }
/* logo je modré na priehľadnom pozadí — nad hero ho prefarbíme nabielo + tieň pre čitateľnosť */
.nav.at-top:not(.menu-open) .nav-logo img { filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0, 0, 0, .55)); }
.nav-link:hover { background: rgba(127, 127, 127, .12); }
.nav.at-top:not(.menu-open) .nav-link:hover { background: rgba(255, 255, 255, .16); }
.nav-link.is-active { color: var(--brand); }
.nav.at-top:not(.menu-open) .nav-link.is-active { color: #fff; }
.nav-cta { margin-left: 8px; }
.nav-cta-btn { padding: 9px 18px; font-size: .92rem; }
.nav-cta-btn svg { width: 16px; height: 16px; }

/* Rozbaľovacie menu Služby */
.nav-drop-wrap { position: relative; }
.nav-drop-toggle { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.nav-caret { transition: transform .15s ease; }
.nav-drop {
    position: absolute; top: 100%; right: 0; left: auto; transform: translateY(8px);
    min-width: 720px; max-width: calc(100vw - 32px); border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow-lg); padding: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 14px; z-index: 120;
    opacity: 0; visibility: hidden; transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav-mega-col { display: flex; flex-direction: column; }
.nav-mega-head { font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; color: var(--faint); padding: 2px 10px 8px; }
.nav-mega-col + .nav-mega-col { position: relative; }
.nav-mega-col:not(:first-child)::before { content: ''; position: absolute; left: -7px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
/* fallback pre prehliadače bez backdrop-filter — nech ostane čitateľné */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .nav-drop { background: rgba(255, 255, 255, 0.97); }
}
.nav-drop::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-drop-wrap:hover .nav-drop, .nav-drop-wrap:focus-within .nav-drop {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-drop-wrap:hover .nav-caret { transform: rotate(180deg); }
/* grafické položky s ikonou */
.nav-drop-link { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; color: var(--text); font-weight: 500; font-size: .88rem; white-space: nowrap; transition: background .12s ease, color .12s ease; }
.nav-drop-ico { flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; background: var(--brand-light); color: var(--brand); display: flex; align-items: center; justify-content: center; transition: background .12s ease, color .12s ease; }
.nav-drop-ico svg { width: 16px; height: 16px; }
/* hover — podsvietenie modrou */
.nav-drop-link:hover { background: var(--brand); color: #fff; }
.nav-drop-link:hover .nav-drop-ico { background: rgba(255, 255, 255, .22); color: #fff; }
/* aktuálne otvorená stránka */
.nav-drop-link.is-active { background: var(--brand-light); color: var(--brand-dark); font-weight: 700; }
.nav-drop-link.is-active .nav-drop-ico { background: var(--brand); color: #fff; }
.nav-drop-link.is-active:hover { background: var(--brand); color: #fff; }
.nav-drop-link.is-active:hover .nav-drop-ico { background: rgba(255, 255, 255, .22); }
.nav-burger {
    display: none; margin-left: auto; width: 44px; height: 44px; border: none; background: none;
    cursor: pointer; color: var(--ink); align-items: center; justify-content: center;
}
.nav.at-top:not(.menu-open) .nav-burger { color: #fff; }

/* ---------- Hero (full-bleed) ---------- */
.hero {
    position: relative; min-height: 92vh; display: flex; align-items: center;
    color: #fff; overflow: hidden; padding: calc(var(--nav-h) + 40px) 0 80px;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(120deg, rgba(8, 20, 38, .92) 0%, rgba(8, 20, 38, .72) 45%, rgba(11, 87, 208, .45) 100%);
}
.hero-inner { max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero-lead { font-size: 1.28rem; color: rgba(255, 255, 255, .9); margin-bottom: 34px; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; margin-bottom: 26px;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px; font-size: .88rem; font-weight: 600; backdrop-filter: blur(4px);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .25); }

/* sekundárny (menší) hero pre podstránky */
.subhero { min-height: 62vh; }

/* hero bez fotky — čistý brand gradient (napr. Kamerové systémy) */
.hero--gradient { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, #123a6b 100%); }
/* dekoratívna AI grafika v hero (neurónová sieť vpravo) */
.hero .container { position: relative; z-index: 1; }
.hero-ai { position: absolute; right: -10px; top: 50%; transform: translateY(-50%); width: min(50%, 600px); z-index: 0; pointer-events: none; }
.hero-ai svg { width: 100%; height: auto; overflow: visible; }
.hai-lines line { stroke: url(#haiLine); stroke-width: 1.3; opacity: .4; }
.hai-node { fill: url(#haiNode); animation: haiPulse 2.6s ease-in-out infinite; }
@keyframes haiPulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hai-node { animation: none; } }
@media (max-width: 860px) { .hero-ai { width: 92%; right: -30px; opacity: .28; } }
.hero--gradient::after {
    background: radial-gradient(900px 500px at 85% -10%, rgba(27, 116, 255, .45), transparent 70%),
                radial-gradient(700px 500px at 0% 110%, rgba(27, 116, 255, .22), transparent 70%);
}

/* ---------- Service / feature karty ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-ico {
    width: 56px; height: 56px; border-radius: 15px; display: flex; align-items: center; justify-content: center;
    background: var(--brand-light); color: var(--brand); margin-bottom: 20px;
}
.card-ico svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }
/* klikateľná karta služby */
.card-link { display: block; }
.card-link:hover { border-color: transparent; }
.card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: .92rem; color: var(--brand); }
.card-more svg { width: 16px; height: 16px; transition: transform .16s ease; }
.card-link:hover .card-more svg { transform: translateX(4px); }

/* ---------- Split (text + obrázok) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--rev .split-media { order: 2; }
.split-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 3/2; object-fit: cover; }
.split-body h2 { margin-bottom: 18px; }
.split-body p { color: var(--muted); font-size: 1.08rem; }
.checklist { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--text); }
.checklist--center { max-width: 620px; margin: 0 auto 28px; }

/* Veľká obrázková figúra na plnú šírku (napr. infografika s textom — nič sa neoreže) */
.feature-figure { max-width: 1040px; margin: 0 auto 30px; }
.feature-figure img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); }
.checklist .tick { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-light); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.checklist .tick svg { width: 14px; height: 14px; }

/* ---------- Proces (kroky) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding: 34px 26px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.section--navy .step { background: var(--navy-2); border-color: rgba(255, 255, 255, .08); }
.step-num {
    position: absolute; top: -22px; left: 26px; width: 46px; height: 46px; border-radius: 13px;
    background: var(--brand); color: #fff; font-weight: 800; font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(27, 116, 255, .35);
}
.step h3 { margin: 14px 0 8px; }
.step p { color: var(--muted); margin: 0; font-size: 1rem; }
.section--navy .step p { color: #aebfd4; }

/* ---------- CTA pás ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 64px; color: #fff; text-align: center; }
.cta-band .cta-bg { position: absolute; inset: 0; z-index: -2; }
.cta-band .cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(11, 31, 54, .93), rgba(11, 87, 208, .82)); }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, .9); font-size: 1.15rem; max-width: 620px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { color: var(--muted); font-size: 1.08rem; }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci-ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-light); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.contact-list .ci-ico svg { width: 20px; height: 20px; }
.contact-list b { display: block; color: var(--ink); }
.contact-list span { color: var(--muted); font-size: .96rem; }

/* Fakturačné údaje — prehľadný blok */
.contact-legal { margin-top: 28px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--canvas); }
.cl-head { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin-bottom: 14px; }
.cl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.cl-row { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cl-row--wide { grid-column: 1 / -1; }
.cl-row > span { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--faint); }
.cl-row > b { font-size: .96rem; color: var(--ink); font-weight: 600; word-break: break-word; }
@media (max-width: 480px) { .cl-grid { grid-template-columns: 1fr; } }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; color: var(--ink); }
.field input, .field textarea {
    width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
    font-family: inherit; font-size: 1rem; color: var(--text); background: #fbfcfe; transition: border-color .12s, box-shadow .12s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(27, 116, 255, .12); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .84rem; color: var(--faint); margin: 4px 0 0; }
.alert { padding: 14px 18px; border-radius: 12px; font-weight: 600; margin-bottom: 20px; }
.alert-success { background: #e7f8ee; color: #10693a; border: 1px solid #b6e6c9; }
.alert-error { background: #fdeaea; color: #a12020; border: 1px solid #f3c2c2; }

/* ---------- Legal / obsahová stránka ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.55rem; margin-top: 1.6em; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; background: #fff; }
.faq-item summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--brand); font-weight: 400; transition: transform .15s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #9fb1c8; padding: 70px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand img { height: 84px; margin-bottom: 18px; }
.footer-brand p { color: #8296b0; max-width: 320px; font-size: .96rem; line-height: 1.6; }
.footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-links a { color: #9fb1c8; font-size: .96rem; }
.footer-links a:hover { color: #fff; }
.footer-links--2col { grid-template-columns: 1fr 1fr; gap: 11px 24px; }
/* Kontaktný blok s ikonami */
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .fc-ico { flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; background: rgba(255, 255, 255, .06); color: #7fb2ff; display: flex; align-items: center; justify-content: center; }
.footer-contact .fc-ico svg { width: 17px; height: 17px; }
.footer-contact a, .footer-contact span { color: #9fb1c8; font-size: .95rem; line-height: 1.5; }
.footer-contact a:hover { color: #fff; }
.footer-ids { margin-top: 18px; font-size: .82rem; color: #6d8098; display: grid; gap: 4px; }
.footer-ids span { display: block; }
.footer-ids b { color: #aebfd4; font-weight: 600; }
.footer-legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: .86rem; color: #6d8098; }
.footer-legal a { color: #9fb1c8; }

/* ---------- Slider služieb ---------- */
.svc-slider { position: relative; max-width: 820px; margin: 0 auto; }
.svc-slides { display: grid; }
.svc-slide {
    grid-area: 1 / 1; text-align: center; padding: 8px 40px;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .45s ease, transform .45s ease, visibility .45s;
}
.svc-slide.is-active { opacity: 1; visibility: visible; transform: none; }
.svc-slide-ico { width: 70px; height: 70px; border-radius: 19px; margin: 0 auto 22px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1b74ff, #4f9bff); color: #fff; box-shadow: 0 12px 28px rgba(27, 116, 255, .5); }
.svc-slide-ico svg { width: 33px; height: 33px; }
.svc-slide h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 0 0 12px; }
.svc-slide p { color: #aebfd4; font-size: 1.08rem; line-height: 1.6; max-width: 560px; margin: 0 auto 26px; }
.svc-arrow { position: absolute; top: 40%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s, border-color .15s; z-index: 2; }
.svc-arrow:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); }
.svc-prev { left: -8px; } .svc-next { right: -8px; }
.svc-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.svc-dot { width: 9px; height: 9px; padding: 0; border: none; border-radius: 50%; background: rgba(255, 255, 255, .25); cursor: pointer; transition: background .15s, width .2s; }
.svc-dot:hover { background: rgba(255, 255, 255, .5); }
.svc-dot.is-active { background: #4f9bff; width: 26px; border-radius: 5px; }
@media (max-width: 640px) {
    .svc-slide { padding: 8px 6px; }
    .svc-arrow { width: 40px; height: 40px; top: 34%; }
    .svc-prev { left: -4px; } .svc-next { right: -4px; }
}

/* ---------- AI — reklamný banner (kompaktný, klikateľný) ---------- */
.ai-banner {
    position: relative; overflow: hidden; display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
    padding: 32px 40px; border-radius: 22px; text-decoration: none;
    background: linear-gradient(120deg, #0b1f36 0%, #0f2942 45%, #16407a 100%);
    border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 22px 50px rgba(11, 31, 54, .3);
    transition: transform .18s ease, box-shadow .18s ease;
}
.ai-banner:hover { transform: translateY(-3px); box-shadow: 0 30px 64px rgba(11, 31, 54, .42); }
.ai-banner-glow {
    position: absolute; width: 360px; height: 360px; border-radius: 50%; top: -150px; right: -70px; pointer-events: none;
    background: radial-gradient(circle, rgba(37, 99, 235, .6), transparent 65%); animation: aiFloat 6s ease-in-out infinite;
}
@keyframes aiFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(20px); } }
.ai-banner-body { position: relative; z-index: 1; flex: 1; min-width: 280px; display: block; }
.ai-eyebrow { display: inline-flex; align-items: center; gap: 7px; color: #7fb2ff; font-size: .8rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 10px; }
.ai-eyebrow svg { width: 15px; height: 15px; }
.ai-banner-title { display: block; color: #fff; font-weight: 800; letter-spacing: -.01em; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.2; margin-bottom: 8px; }
.ai-banner-text { display: block; color: #aebfd4; font-size: 1.02rem; margin-bottom: 16px; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ai-chips span { font-size: .82rem; font-weight: 600; color: #bcd4f5; background: rgba(95, 160, 255, .14); border: 1px solid rgba(95, 160, 255, .28); padding: 6px 13px; border-radius: 999px; }
.ai-banner-cta { position: relative; z-index: 1; flex-shrink: 0; pointer-events: none; }
@media (max-width: 720px) { .ai-banner { padding: 26px 22px; gap: 22px; } .ai-banner-cta { width: 100%; } }

/* ---------- Scroll-reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responzivita ---------- */
@media (max-width: 940px) {
    .grid-3, .steps, .grid-4 { grid-template-columns: 1fr 1fr; }
    .ai-grid { grid-template-columns: 1fr; gap: 36px; }
    .split, .contact { grid-template-columns: 1fr; gap: 36px; }
    .split--rev .split-media { order: 0; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 40px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-col--wide { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
    body { font-size: 16px; }
    :root { --nav-h: 84px; }
    .nav-logo img { height: 62px; }
    .section { padding: 64px 0; }
    .nav-links {
        position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch;
        background: #fff; padding: 14px; gap: 4px; box-shadow: var(--shadow-lg); margin: 0;
        transform: translateY(-130%); transition: transform .25s ease; border-top: 1px solid var(--line);
    }
    .nav.menu-open .nav-links { transform: none; overflow-y: auto; max-height: calc(100vh - var(--nav-h)); }
    .nav-link { color: var(--text) !important; padding: 13px 15px; }
    /* Dropdown na mobile: statický, služby vždy zobrazené odsadene pod „Služby". */
    .nav-drop-wrap { width: 100%; }
    .nav-caret { display: none; }
    .nav-drop {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: none; border-radius: 0; padding: 0 0 4px 12px;
        min-width: 0; max-width: none; background: transparent; grid-template-columns: 1fr;
        backdrop-filter: none; -webkit-backdrop-filter: none; gap: 0;
    }
    .nav-mega-col:not(:first-child)::before { display: none; }
    .nav-mega-head { padding: 12px 10px 6px; }
    .nav-drop-link { padding: 11px 15px; color: var(--muted); font-size: .92rem; }
    .nav-cta { margin: 6px 0 0; }
    .nav-cta .btn { width: 100%; }
    .nav-burger { display: flex; }
    .grid-3, .grid-2, .grid-4, .steps, .form-row { grid-template-columns: 1fr; }
    .cta-band { padding: 44px 24px; }
    .hero { min-height: 88vh; }
    .footer-top { grid-template-columns: 1fr; gap: 30px; }
    .footer-links--2col { grid-template-columns: 1fr 1fr; }
}
