/* ==========================================================================
   Entranova IT — design system
   Inspirováno dc6.cz (tmavý, moderní, Space Grotesk), ale s vlastní
   modro-limetkovou identitou Entranovy.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
    /* Pozadí */
    --bg:            #080c16;
    --bg-soft:       #0b1120;
    --bg-elev:       #0f1626;
    --surface:       #111a2e;
    --surface-2:     #16203a;
    --surface-3:     #1b2745;

    /* Linky / okraje */
    --border:        rgba(148, 163, 184, 0.12);
    --border-strong: rgba(148, 163, 184, 0.22);

    /* Text */
    --text:          #eef2fb;
    --text-muted:    #9fb0cc;
    --text-faint:    #66789a;

    /* Akcenty — primární azurová, sekundární limetka */
    --accent:        #36b5ff;
    --accent-2:      #18e0d4;
    --accent-deep:   #1f6dff;
    --lime:          #a8e83a;
    --lime-deep:     #84c40f;

    /* Stavové */
    --danger:        #ff5470;
    --warn:          #ffb547;

    /* Záře / stíny */
    --glow-accent:   0 0 0 1px rgba(54, 181, 255, .25), 0 18px 50px -12px rgba(54, 181, 255, .45);
    --glow-lime:     0 0 0 1px rgba(168, 232, 58, .25), 0 18px 50px -12px rgba(168, 232, 58, .35);
    --shadow-card:   0 24px 60px -28px rgba(0, 0, 0, .8);

    /* Rádiusy — spíš ostřejší (dc6) */
    --r-sm: 8px;
    --r:    12px;
    --r-lg: 18px;
    --r-xl: 26px;

    /* Layout */
    --maxw: 1200px;
    --gutter: clamp(20px, 5vw, 48px);
    --nav-h: 72px;

    --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
    --font-body:    'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 20px); }

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

/* Jemné radiální záře na pozadí */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(900px 520px at 78% -8%, rgba(54, 181, 255, .14), transparent 60%),
        radial-gradient(760px 520px at 8% 6%, rgba(24, 224, 212, .08), transparent 55%),
        radial-gradient(1100px 700px at 50% 120%, rgba(168, 232, 58, .07), transparent 60%);
    pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #fff;
}

::selection { background: rgba(54, 181, 255, .3); color: #fff; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--alt { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }
.center { text-align: center; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 44px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-display);
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 7px 14px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: rgba(54, 181, 255, .06);
}
.eyebrow::before {
    content: "";
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 12px var(--lime);
}

.h-display {
    font-size: clamp(2.1rem, 5.2vw, 3.85rem);
    letter-spacing: -0.035em;
}
.h-section { font-size: clamp(1.8rem, 3.6vw, 2.85rem); }
.lead {
    font-size: clamp(1.02rem, 1.5vw, 1.22rem);
    color: var(--text-muted);
    max-width: 64ch;
}
.section-head { max-width: 760px; margin-inline: auto; }
.section-head.center .lead { margin-inline: auto; }
.text-grad {
    background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 55%, var(--lime) 120%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
    --_bg: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: .98rem;
    line-height: 1;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: var(--r-sm);
    transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
    white-space: nowrap;
}
.btn i { font-size: .92em; }
.btn--primary {
    background: linear-gradient(120deg, var(--accent), var(--accent-deep));
    color: #04121f;
    font-weight: 600;
    box-shadow: 0 10px 30px -10px rgba(54, 181, 255, .6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(54, 181, 255, .75); }
.btn--lime {
    background: linear-gradient(120deg, var(--lime), var(--lime-deep));
    color: #0d1a00; font-weight: 600;
    box-shadow: 0 10px 30px -10px rgba(168, 232, 58, .55);
}
.btn--lime:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(168, 232, 58, .7); }
.btn--ghost {
    background: rgba(255, 255, 255, .03);
    border-color: var(--border-strong);
    color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent); color: #fff; transform: translateY(-2px); background: rgba(54, 181, 255, .08); }
.btn--lg { padding: 17px 32px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* ---------- Navbar ---------- */
.nav {
    position: sticky; top: 0; z-index: 100;
    height: var(--nav-h);
    backdrop-filter: blur(16px);
    background: rgba(8, 12, 22, .72);
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease, background .3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--border); background: rgba(8, 12, 22, .9); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; color: #fff; letter-spacing: -0.02em; }
.brand__mark {
    width: 34px; height: 34px; border-radius: 9px; flex: none;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    box-shadow: 0 6px 18px -6px rgba(54, 181, 255, .8);
    color: #04121f; font-weight: 800; font-size: 1.05rem;
}
.brand__mark span { transform: translateY(-1px); }
.brand small { color: var(--accent); font-weight: 500; }

.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav__links a {
    font-size: .94rem; color: var(--text-muted); font-weight: 500;
    padding: 9px 13px; border-radius: 8px;
    transition: color .18s ease, background .18s ease;
}
.nav__links a:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.nav__links a.is-active { color: #fff; }
.nav__links a.is-active::after {
    content: ""; display: block; height: 2px; margin-top: 5px; border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), var(--lime));
}
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 14px; }

/* Měnový přepínač */
.cur-switch { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--border-strong); border-radius: 999px; background: rgba(255, 255, 255, .03); }
.cur-switch button {
    border: 0; background: transparent; color: var(--text-faint);
    font-family: var(--font-display); font-weight: 600; font-size: .8rem;
    padding: 6px 13px; border-radius: 999px; transition: all .18s ease;
}
.cur-switch button.active { background: var(--accent); color: #04121f; }

.nav__cta { display: inline-flex; }
.nav__burger { display: none; background: transparent; border: 1px solid var(--border-strong); border-radius: 9px; width: 42px; height: 42px; color: #fff; font-size: 1.15rem; }

/* Mobilní menu */
.mobile-menu {
    position: fixed; inset: var(--nav-h) 0 0; z-index: 99;
    background: rgba(8, 12, 22, .97); backdrop-filter: blur(20px);
    padding: 28px var(--gutter);
    display: none; flex-direction: column; gap: 6px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; color: var(--text); padding: 14px 0; border-bottom: 1px solid var(--border); }
.mobile-menu a.is-active { color: var(--accent); }
.mobile-menu .btn { margin-top: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 110px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-top: 22px; }
.hero .lead { margin-top: 22px; }
.hero__cta { margin-top: 34px; }
.hero__trust { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 22px 34px; color: var(--text-muted); font-size: .92rem; }
.hero__trust span { display: inline-flex; align-items: center; gap: 9px; }
.hero__trust i { color: var(--lime); }

/* Hero vizuál — server/terminál karta */
.hero__visual { position: relative; }
.glass {
    background: linear-gradient(160deg, rgba(22, 32, 58, .85), rgba(15, 22, 38, .7));
    border: 1px solid var(--border-strong);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(8px);
}
.terminal { overflow: hidden; }
.terminal__bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, .02); }
.terminal__bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot-r { background: #ff5f57; } .dot-y { background: #febc2e; } .dot-g { background: #28c840; }
.terminal__title { margin-left: 8px; font-family: var(--font-display); font-size: .82rem; color: var(--text-faint); }
.terminal__body { padding: 20px 18px; font-family: 'Space Grotesk', ui-monospace, monospace; font-size: .86rem; line-height: 1.9; }
.terminal__body .ln { color: var(--text-muted); white-space: nowrap; }
.terminal__body .pmt { color: var(--lime); }
.terminal__body .ok { color: var(--accent-2); }
.terminal__body .val { color: #fff; }
.cursor { display: inline-block; width: 9px; height: 1.05em; background: var(--accent); vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero__badge {
    position: absolute; right: -10px; bottom: -18px;
    display: flex; align-items: center; gap: 12px;
    padding: 14px 18px; border-radius: var(--r);
    background: var(--surface-2); border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-card);
}
.hero__badge b { font-family: var(--font-display); font-size: 1.5rem; color: #fff; line-height: 1; }
.hero__badge small { color: var(--text-muted); font-size: .8rem; }
.hero__badge .ring { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--lime); display: grid; place-items: center; color: var(--lime); }

/* Loga / pruh důvěry */
.marquee { border-block: 1px solid var(--border); background: var(--bg-soft); }
.marquee__inner { display: flex; align-items: center; gap: 14px; padding: 22px 0; flex-wrap: wrap; justify-content: center; color: var(--text-faint); font-size: .9rem; }
.marquee__inner .pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border: 1px solid var(--border); border-radius: 999px; font-family: var(--font-display); font-weight: 500; color: var(--text-muted); }
.marquee__inner .pill i { color: var(--accent); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 28px 24px; border: 1px solid var(--border); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface), transparent); text-align: center; }
.stat b { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.9rem); color: #fff; display: block; letter-spacing: -0.03em; }
.stat b .u { color: var(--accent); }
.stat span { color: var(--text-muted); font-size: .92rem; }

/* ---------- Cards / features ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    position: relative;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: linear-gradient(180deg, var(--surface), var(--bg-elev));
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
    overflow: hidden;
}
.card::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
    background: linear-gradient(140deg, rgba(54, 181, 255, .5), transparent 40%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: opacity .25s ease;
}
.card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow-card); }
.card:hover::after { opacity: 1; }
.card__icon {
    width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
    font-size: 1.3rem; margin-bottom: 20px;
    background: rgba(54, 181, 255, .1); color: var(--accent);
    border: 1px solid rgba(54, 181, 255, .2);
}
.card--lime .card__icon { background: rgba(168, 232, 58, .1); color: var(--lime); border-color: rgba(168, 232, 58, .22); }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: .97rem; }
.card__num { font-family: var(--font-display); font-size: .85rem; color: var(--accent); letter-spacing: .1em; font-weight: 600; }

/* Spec / checklist seznamy */
.checklist li, .speclist li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--text-muted); }
.checklist li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; left: 0; top: 1px; color: var(--lime); font-size: .82rem;
}
.speclist { columns: 2; column-gap: 34px; }
.speclist li::before {
    content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px;
    border-radius: 50%; background: var(--accent);
}
.speclist li { break-inside: avoid; }

/* Feature blok s ikonou v řádku */
.feat { display: flex; gap: 16px; }
.feat__ic { flex: none; width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: rgba(54,181,255,.1); color: var(--accent); border: 1px solid rgba(54,181,255,.2); }
.feat h4 { font-size: 1.08rem; margin-bottom: 5px; }
.feat p { color: var(--text-muted); font-size: .94rem; }

/* ---------- Split sekce (text + panel) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split--rev .split__media { order: -1; }
.panel { padding: 32px; border: 1px solid var(--border); border-radius: var(--r-xl); background: linear-gradient(160deg, var(--surface), var(--bg-elev)); }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price-card {
    position: relative; display: flex; flex-direction: column;
    padding: 30px 26px; border: 1px solid var(--border); border-radius: var(--r-lg);
    background: linear-gradient(180deg, var(--surface), var(--bg-elev));
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.price-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow-card); }
.price-card.is-popular {
    border-color: rgba(54, 181, 255, .55);
    box-shadow: var(--glow-accent);
    background: linear-gradient(180deg, rgba(20, 32, 60, .9), var(--bg-elev));
}
.price-card__badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    font-family: var(--font-display); font-size: .72rem; font-weight: 600; letter-spacing: .08em;
    text-transform: uppercase; padding: 6px 14px; border-radius: 999px; white-space: nowrap;
    background: linear-gradient(120deg, var(--accent), var(--accent-deep)); color: #04121f;
}
.price-card.is-best .price-card__badge { background: linear-gradient(120deg, var(--lime), var(--lime-deep)); color: #0d1a00; }
.price-card__name { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; color: #fff; }
.price-card__price { margin: 16px 0 4px; display: flex; align-items: baseline; gap: 4px; }
.price-card__amount { font-family: var(--font-display); font-size: 2.7rem; font-weight: 700; color: #fff; letter-spacing: -0.03em; }
.price-card__cur { font-size: 1.1rem; color: var(--text-muted); font-weight: 600; }
.price-card__period { color: var(--text-faint); font-size: .95rem; margin-left: 4px; }
.price-card__perm { color: var(--accent); font-size: .85rem; font-family: var(--font-display); margin-bottom: 18px; }
.price-card__perm .muted { color: var(--text-faint); }
.price-card ul { margin: 6px 0 24px; }
.price-card .checklist li { font-size: .92rem; margin-bottom: 10px; }
.price-card .btn { margin-top: auto; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); margin-bottom: 12px; overflow: hidden; transition: border-color .2s ease; }
.faq__item.open { border-color: var(--border-strong); }
.faq__q { width: 100%; text-align: left; background: transparent; border: 0; color: #fff; font-family: var(--font-display); font-weight: 500; font-size: 1.06rem; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.faq__q i { color: var(--accent); transition: transform .25s ease; flex: none; }
.faq__item.open .faq__q i { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a > div { padding: 0 22px 22px; color: var(--text-muted); }
.faq__a a { color: var(--accent); }

/* ---------- CTA banner ---------- */
.cta-banner {
    position: relative; overflow: hidden;
    border: 1px solid var(--border-strong); border-radius: var(--r-xl);
    padding: clamp(38px, 6vw, 72px);
    background:
        radial-gradient(600px 300px at 85% -20%, rgba(54, 181, 255, .25), transparent 60%),
        radial-gradient(500px 300px at 0% 120%, rgba(168, 232, 58, .16), transparent 60%),
        linear-gradient(160deg, var(--surface-2), var(--bg-elev));
    text-align: center;
}
.cta-banner h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.cta-banner .lead { margin: 16px auto 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; }
.contact-card { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); margin-bottom: 14px; }
.contact-card i { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(54,181,255,.1); color: var(--accent); border: 1px solid rgba(54,181,255,.2); }
.contact-card h4 { font-size: 1.05rem; margin-bottom: 3px; }
.contact-card a, .contact-card p { color: var(--text-muted); }
.contact-card a:hover { color: var(--accent); }

/* ---------- Formuláře ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; color: var(--text-muted); margin-bottom: 7px; font-weight: 500; }
.field label .req { color: var(--accent); }
.input, .select, .textarea {
    width: 100%; padding: 13px 15px; font: inherit; color: var(--text);
    background: var(--bg-soft); border: 1px solid var(--border-strong); border-radius: var(--r-sm);
    transition: border-color .18s ease, box-shadow .18s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(54, 181, 255, .18); }
.textarea { resize: vertical; min-height: 120px; }
.field small { display: block; margin-top: 6px; color: var(--text-faint); font-size: .82rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; padding: 24px; overflow-y: auto; background: rgba(4, 7, 14, .78); backdrop-filter: blur(6px); }
.modal.open { display: block; }
.modal__box { max-width: 860px; margin: 40px auto; background: var(--bg-elev); border: 1px solid var(--border-strong); border-radius: var(--r-xl); box-shadow: var(--shadow-card); }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 26px 30px; border-bottom: 1px solid var(--border); }
.modal__head h2 { font-size: 1.5rem; }
.modal__head p { color: var(--text-muted); font-size: .92rem; margin-top: 4px; }
.modal__close { width: 40px; height: 40px; flex: none; border-radius: 10px; border: 1px solid var(--border-strong); background: transparent; color: var(--text-muted); font-size: 1.2rem; transition: all .18s ease; }
.modal__close:hover { color: #fff; border-color: var(--danger); background: rgba(255, 84, 112, .12); }
.modal__body { padding: 26px 30px; }
.order-summary { padding: 18px 20px; border: 1px dashed var(--border-strong); border-radius: var(--r); background: rgba(54, 181, 255, .05); margin-bottom: 24px; }
.order-summary .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.order-summary .row b { font-family: var(--font-display); }
.order-summary .price-out { color: var(--accent); font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.form-foot { margin-top: 8px; display: flex; flex-direction: column; gap: 14px; }
.form-foot .note { color: var(--text-faint); font-size: .84rem; }

.form-msg { padding: 14px 16px; border-radius: var(--r-sm); font-size: .92rem; display: none; }
.form-msg.ok { display: block; background: rgba(168, 232, 58, .12); border: 1px solid rgba(168, 232, 58, .3); color: var(--lime); }
.form-msg.err { display: block; background: rgba(255, 84, 112, .12); border: 1px solid rgba(255, 84, 112, .3); color: var(--danger); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); background: var(--bg-soft); padding-block: clamp(48px, 6vw, 80px) 32px; margin-top: 40px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-faint); margin-bottom: 18px; font-family: var(--font-display); font-weight: 600; }
.footer ul li { margin-bottom: 11px; }
.footer a { color: var(--text-muted); font-size: .95rem; }
.footer a:hover { color: var(--accent); }
.footer__about p { color: var(--text-muted); font-size: .95rem; margin-top: 16px; max-width: 36ch; }
.footer__legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between; align-items: center; color: var(--text-faint); font-size: .88rem; }
.footer__legal a { color: var(--text-faint); }
.footer__legal a:hover { color: var(--accent); }

/* ---------- Page hero (vnitřní stránky) ---------- */
.page-hero { padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(36px, 4vw, 56px); position: relative; }
.breadcrumb { display: flex; gap: 9px; align-items: center; color: var(--text-faint); font-size: .86rem; margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb i { font-size: .65rem; }

/* ---------- Reveal animace ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    .cursor { animation: none; }
}

/* ---------- Divider ---------- */
.hr { height: 1px; background: var(--border); border: 0; margin-block: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__visual { max-width: 520px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .pricing { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer__about { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
    .nav__links, .nav__cta { display: none; }
    .nav__burger { display: grid; place-items: center; }
    .split, .split--rev .split__media { grid-template-columns: 1fr; }
    .split--rev .split__media { order: 0; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .pricing { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .speclist { columns: 1; }
    .form-grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .footer__legal { flex-direction: column; align-items: flex-start; }
    .modal__box { margin: 0 auto; }
    .hero__badge { position: static; margin-top: 18px; }
}
