/* =========================================================
   JAPOS-STAV – styl webu
   ========================================================= */

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/manrope-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --navy-900: #070b26;
    --navy-800: #0b1033;
    --navy-700: #141b4d;
    --blue: #1730e0;
    --blue-600: #1226b8;
    --cyan: #00c3f5;
    --ink: #11152e;
    --text: #3b4160;
    --muted: #6b7190;
    --line: #e3e6f0;
    --bg: #ffffff;
    --bg-alt: #f4f6fb;
    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(11, 16, 51, .06), 0 8px 24px rgba(11, 16, 51, .08);
    --shadow-lg: 0 2px 4px rgba(11, 16, 51, .06), 0 24px 48px rgba(11, 16, 51, .16);
    --grad: linear-gradient(120deg, var(--blue) 0%, var(--cyan) 100%);
    --header-h: 78px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
    margin: 0;
    font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
address { font-style: normal; }

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

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
    color: var(--blue); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--grad); }

.text-gradient {
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------- Tlačítka ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
    font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(23, 48, 224, .3); background-size: 150% 100%; }
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 12px 28px rgba(23, 48, 224, .4); }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-light:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, .25); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .14); }

.link-arrow { font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }

/* ---------- Hlavička ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(11, 16, 51, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { width: 150px; height: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a {
    position: relative; display: block; padding: 8px 14px; border-radius: 999px;
    color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none;
    transition: background-color .2s, color .2s;
}
.main-nav ul a:hover { background: var(--bg-alt); }
.main-nav ul a[aria-current="page"] { color: var(--blue); background: rgba(23, 48, 224, .08); }

.nav-toggle {
    display: none; position: relative; width: 46px; height: 46px; border: 0; border-radius: 12px;
    background: var(--bg-alt); cursor: pointer;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    position: absolute; left: 13px; width: 20px; height: 2px; border-radius: 2px; background: var(--ink);
    transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle-bar { top: 22px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-open .nav-toggle-bar { background: transparent; }
.nav-open .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px;
        padding: 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
        transform: translateY(-12px); opacity: 0; visibility: hidden;
        transition: transform .3s var(--ease), opacity .3s, visibility .3s;
    }
    .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
    .main-nav ul { flex-direction: column; }
    .main-nav ul a { padding: 12px 16px; font-size: 1.05rem; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: min(88vh, 760px); display: flex; align-items: center;
    color: #fff; background: var(--navy-800);
}
.hero-slides, .hero-slide, .hero-overlay { position: absolute; inset: 0; }
.hero-slides { z-index: -2; }
.hero-slide {
    background-size: cover; background-position: center;
    opacity: 0; transform: scale(1.08);
    transition: opacity 1.4s ease, transform 7s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-overlay {
    z-index: -1;
    background:
        radial-gradient(ellipse at 85% 10%, rgba(0, 195, 245, .25), transparent 55%),
        linear-gradient(100deg, rgba(7, 11, 38, .92) 0%, rgba(7, 11, 38, .72) 45%, rgba(7, 11, 38, .25) 100%);
}
.hero-content { padding: 80px 0 90px; }
.hero .eyebrow { color: var(--cyan); }
.hero h1 { color: #fff; max-width: 18ch; margin-bottom: 24px; text-wrap: balance; }
.hero .text-gradient { background-image: linear-gradient(120deg, #5f8bff 0%, var(--cyan) 100%); }
.hero-captions { display: grid; max-width: 560px; margin-bottom: 32px; }
.hero-caption {
    grid-area: 1 / 1; margin: 0;
    font-size: 1.15rem; color: rgba(255, 255, 255, .85);
    opacity: 0; transform: translateY(10px); transition: opacity .6s, transform .6s var(--ease);
    pointer-events: none;
}
.hero-caption.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hero-caption a { color: inherit; text-decoration: none; }
.hero-caption a:hover { color: #fff; }
.hero-caption strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-dots { display: flex; gap: 10px; margin-top: 48px; }
.hero-dot {
    width: 34px; height: 5px; padding: 0; border: 0; border-radius: 5px; cursor: pointer;
    background: rgba(255, 255, 255, .3); overflow: hidden; position: relative;
}
.hero-dot::after {
    content: ""; position: absolute; inset: 0; background: var(--cyan);
    transform: scaleX(0); transform-origin: left;
}
.hero-dot.is-active::after { animation: dot-progress var(--slide-ms, 6000ms) linear forwards; }
@keyframes dot-progress { to { transform: scaleX(1); } }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -56px; }
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 28px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.stat span { font-size: .9rem; color: var(--muted); }
@media (max-width: 800px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Sekce ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy-800); color: rgba(255, 255, 255, .75); position: relative; overflow: hidden; }
.section-dark::before {
    content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -250px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 195, 245, .22), transparent 65%); pointer-events: none;
}
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: var(--cyan); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 0; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-lead { font-size: 1.1rem; margin-top: 16px; }

/* ---------- Karty služeb ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 900px) { .cards-3, .cards-2 { grid-template-columns: 1fr; } }

.service-card {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover .link-arrow::after { transform: translateX(5px); }
.service-card-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.service-card:hover .service-card-img::after { transform: scaleX(1); }
.service-card-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.service-card-body p { flex: 1; }

/* ---------- O nás ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: #fff; }
.split-media::before {
    content: ""; position: absolute; inset: -18px 18px 18px -18px; z-index: -1;
    border-radius: var(--radius); background: var(--grad); opacity: .15;
}
.split-media { isolation: isolate; }
.badge-float {
    position: absolute; right: -16px; bottom: -24px;
    background: var(--navy-800); color: #fff; padding: 18px 22px; border-radius: 14px; box-shadow: var(--shadow-lg);
}
.badge-float strong { display: block; font-size: 1.6rem; line-height: 1; }
.badge-float span { font-size: .85rem; opacity: .75; }
.split-text h3 { margin-top: 1.6em; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .badge-float { right: 12px; } }

/* ---------- Činnosti ---------- */
.activity-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.activity {
    display: flex; align-items: center; gap: 16px; padding: 18px 20px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); font-weight: 600; line-height: 1.4;
    transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.activity:hover { border-color: rgba(23, 48, 224, .35); transform: translateY(-3px); box-shadow: var(--shadow); }
.activity-num {
    flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
    background: rgba(23, 48, 224, .08); color: var(--blue); font-weight: 800; font-size: .9rem;
}
.activity:hover .activity-num { background: var(--grad); color: #fff; }

/* ---------- Reference ---------- */
.ref-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
@media (max-width: 1000px) { .ref-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ref-grid { grid-template-columns: 1fr; } }
.ref-card { margin: 0; }
.ref-open {
    display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: none;
    border-radius: 14px; overflow: hidden; position: relative; aspect-ratio: 7 / 4;
}
.ref-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .5s; }
.ref-open::after {
    content: "+"; position: absolute; inset: 0; display: grid; place-items: center;
    font-size: 2.4rem; font-weight: 300; color: #fff; background: rgba(23, 48, 224, .55);
    opacity: 0; transition: opacity .3s;
}
.ref-open:hover img { transform: scale(1.08); }
.ref-open:hover::after { opacity: 1; }
.ref-card figcaption { padding-top: 14px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.section-dark .ref-card figcaption { color: #fff; }
.tag {
    display: block; width: fit-content; margin-bottom: 6px; padding: 2px 10px; border-radius: 999px;
    font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    background: rgba(0, 195, 245, .14); color: #0089ad;
}
.section-dark .tag { color: var(--cyan); }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px;
    background: rgba(7, 11, 38, .9); backdrop-filter: blur(6px);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(900px, 100%); }
.lightbox img { width: 100%; border-radius: 12px; image-rendering: auto; }
.lightbox figcaption { color: #fff; margin-top: 12px; text-align: center; font-weight: 600; }
.lightbox-close {
    position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0;
    background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.6rem; cursor: pointer;
}

/* ---------- Podstránky ---------- */
.page-hero {
    position: relative; isolation: isolate; color: #fff; background-size: cover; background-position: center;
    padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 8vw, 100px);
}
.page-hero h1 { color: #fff; max-width: 20ch; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.page-hero .lead { font-size: 1.2rem; max-width: 620px; color: rgba(255, 255, 255, .85); margin: 0; }
.breadcrumb { font-size: .9rem; margin-bottom: 18px; color: rgba(255, 255, 255, .7); }
.breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-hidden] { margin: 0 6px; opacity: .5; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .content-grid { grid-template-columns: 1fr; } }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-top: 1.8em; }
.lead-text { font-size: 1.25rem; line-height: 1.6; color: var(--ink); font-weight: 600; }
.highlight {
    margin-top: 2em; padding: 22px 26px; border-radius: 14px; font-weight: 700; color: var(--ink);
    background: linear-gradient(120deg, rgba(23, 48, 224, .08), rgba(0, 195, 245, .1));
    border-left: 4px solid var(--blue);
}
.motto { margin: 2em 0; padding: 30px 32px; border-radius: var(--radius); background: var(--navy-800); color: rgba(255, 255, 255, .75); position: relative; overflow: hidden; }
.motto::before { content: "“"; position: absolute; right: 20px; top: -30px; font-size: 10rem; line-height: 1; color: var(--cyan); opacity: .25; font-family: Georgia, serif; }
.motto p { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: #fff; margin-bottom: .4em; letter-spacing: -.02em; }
.motto cite { font-style: normal; font-size: .95rem; }

.chip-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.2em; }
.chip-list li { padding: 6px 14px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--ink); }

.side-card {
    position: sticky; top: calc(var(--header-h) + 24px);
    padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.side-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; margin-bottom: 20px; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; }
.check-list li { position: relative; padding: 6px 0 6px 32px; color: var(--ink); font-weight: 600; }
.check-list li::before {
    content: ""; position: absolute; left: 0; top: 10px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--grad) center / 100%;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10'/%3E%3C/svg%3E");
}
.check-list li::after {
    content: ""; position: absolute; left: 7px; top: 14px; width: 6px; height: 10px;
    border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; counter-reset: step; }
.step {
    position: relative; padding: 30px 26px 26px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
    counter-increment: step; transition: transform .3s var(--ease), box-shadow .3s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step::before {
    content: counter(step, decimal-leading-zero); display: block; margin-bottom: 14px;
    font-size: 2.4rem; font-weight: 800; line-height: 1; letter-spacing: -.04em;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.step p { margin: 0; }

.info-card { padding: 34px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.info-card-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); margin-bottom: 20px; box-shadow: 0 10px 24px rgba(23, 48, 224, .3); }
.info-card-icon svg { width: 26px; height: 26px; fill: #fff; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 14px; }
.contact-tile {
    display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: 16px;
    background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink);
    transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.contact-tile:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: transparent; }
.contact-tile small { display: block; color: var(--muted); font-size: .8rem; font-weight: 600; }
.contact-tile strong { display: block; font-size: 1.05rem; line-height: 1.35; overflow-wrap: anywhere; }
.contact-icon { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); }
.contact-icon svg { width: 22px; height: 22px; fill: #fff; }
.company-box { padding: 24px 22px; border-radius: 16px; background: var(--bg-alt); }
.company-box h3 { font-size: 1.1rem; }
.company-box p:last-child { margin: 0; }

.form-card { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea, .field select {
    width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line);
    font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg-alt);
    transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(23, 48, 224, .12); }
.field [aria-invalid="true"] { border-color: #d92d4b; background: #fff6f7; }
.field-error { color: #c4213e; font-size: .85rem; font-weight: 600; margin: 6px 0 0; }
.field-captcha input { max-width: 120px; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; }
.field-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--blue); }
.field-check label { font-weight: 500; font-size: .9rem; color: var(--text); margin: 0; }
.field-check .field-error { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 16px 20px; border-radius: 12px; margin-bottom: 22px; font-weight: 500; }
.alert-success { background: #e8f8ef; color: #12663a; border: 1px solid #b8e8cc; }
.alert-error { background: #fff1f3; color: #a3182f; border: 1px solid #f6c5ce; }

/* ---------- CTA ---------- */
.cta { padding: 0 0 clamp(64px, 8vw, 100px); }
.section + .cta, .section-alt + .cta { padding-top: 0; }
.section-alt + .cta { background: linear-gradient(var(--bg-alt) 50%, var(--bg) 50%); }
.section-dark + .cta { background: linear-gradient(var(--navy-800) 50%, var(--bg) 50%); }
.cta-inner {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
    padding: clamp(32px, 5vw, 56px); border-radius: 26px; background: var(--grad); color: rgba(255, 255, 255, .9);
    box-shadow: 0 24px 60px rgba(23, 48, 224, .35);
}
.cta-inner::before {
    content: ""; position: absolute; z-index: -1; inset: 0;
    background:
        radial-gradient(circle at 90% 120%, rgba(255, 255, 255, .25), transparent 40%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 22px);
}
.cta h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.2rem); margin-bottom: .3em; }
.cta p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Patička ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .65); font-size: .95rem; padding-top: 72px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr .8fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { font-size: 1.6rem; font-weight: 800; color: #fff; letter-spacing: -.02em; margin-bottom: 12px; }
.footer-logo span { color: var(--cyan); }
.footer-logo small { font-size: .8rem; font-weight: 600; opacity: .6; letter-spacing: 0; }
.footer-about strong { color: #fff; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.muted { color: rgba(255, 255, 255, .45); font-size: .88rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Animace při scrollu ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; }
}

/* 404 */
.notfound { text-align: center; padding: clamp(80px, 14vw, 160px) 0; }
.notfound strong { display: block; font-size: clamp(5rem, 16vw, 10rem); line-height: 1; font-weight: 800; letter-spacing: -.05em; }
