:root {
    --bg: #08111f;
    --bg-soft: #101a2b;
    --panel: #ffffff;
    --panel-soft: #f4f7fb;
    --text: #152033;
    --muted: #65758b;
    --brand: #0aa7df;
    --brand-dark: #0478a2;
    --accent: #55d6be;
    --line: #dde6f0;
    --danger: #b42318;
    --success: #027a48;
    --shadow: 0 18px 50px rgba(8, 17, 31, .16);
    --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
}
a { color: inherit; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(8, 17, 31, .92);
    backdrop-filter: blur(14px);
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.brand-logo-box {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 46px; height: 46px; border-radius: 14px; overflow: hidden;
    background: rgba(255,255,255,.96); padding: 7px 10px;
}
.brand-logo { display: block; width: auto; height: 32px; max-width: 180px; object-fit: contain; }
.logo-fallback {
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #06111d; font-weight: 900; letter-spacing: -1px;
}
.brand-text { min-width: 0; }
.brand small { display: block; color: #b7c6d8; line-height: 1.2; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: #dbe8f5; text-decoration: none; font-weight: 600; }
.nav-links a:hover { color: #fff; }
.nav-toggle { display: none; border: 0; background: transparent; color: #fff; font-size: 28px; }

.hero {
    color: #fff;
    background:
        radial-gradient(circle at 78% 24%, rgba(85, 214, 190, .22), transparent 28%),
        radial-gradient(circle at 15% 18%, rgba(10, 167, 223, .26), transparent 32%),
        linear-gradient(135deg, #08111f 0%, #0d233a 58%, #06111d 100%);
    padding: 92px 0 84px;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 42px; align-items: center; }
.eyebrow { color: var(--brand); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }
.hero .eyebrow { color: #7be8d6; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 16px; }
h1 { font-size: clamp(2.25rem, 5vw, 4.9rem); letter-spacing: -0.055em; max-width: 900px; }
h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); letter-spacing: -0.04em; }
h3 { font-size: 1.35rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.32rem); color: #d1dfed; max-width: 760px; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 24px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 22px; border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #06111d; text-decoration: none; font-weight: 900; border: 0;
    box-shadow: 0 10px 30px rgba(10,167,223,.28);
    cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-outline { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.22); box-shadow: none; }
.btn-small { padding: 10px 16px; color: #06111d !important; }
.full { width: 100%; font-size: 1rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.trust-row span {
    padding: 8px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px;
    color: #e8f1fb; background: rgba(255,255,255,.06); font-size: .94rem;
}
.hero-card {
    position: relative; overflow: hidden;
    border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius);
    padding: 30px; background: rgba(255,255,255,.08); box-shadow: 0 24px 80px rgba(0,0,0,.28);
}
.hero-card h2 { font-size: 1.8rem; }
.hero-card p { color: #d7e5f2; }
.card-glow { position: absolute; inset: -80px -80px auto auto; width: 200px; height: 200px; background: rgba(85,214,190,.25); filter: blur(40px); }
.quick-list { margin: 24px 0 0; }
.quick-list div { display: flex; justify-content: space-between; gap: 15px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.16); }
.quick-list dt { color: #bcd0e1; }
.quick-list dd { margin: 0; font-weight: 900; }

.section { padding: 84px 0; }
.section-muted { background: var(--panel-soft); }
.section-heading { max-width: 760px; margin: 0 0 36px; }
.section-heading p, .map-grid p, .form-copy p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.cards { display: grid; gap: 22px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card, .price-card, .form-card, .map-card, .contact-box {
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.service-card { padding: 28px; }
.service-card .icon {
    width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px;
    background: #e8f8fc; color: var(--brand-dark); font-size: 1.7rem; font-weight: 900; margin-bottom: 18px;
}
.service-card p { color: var(--muted); margin-bottom: 0; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.price-card { padding: 30px; position: relative; }
.price-card.featured { border: 2px solid var(--brand); transform: translateY(-8px); }
.badge { position: absolute; top: 16px; right: 16px; background: #e5fbf7; color: #06735f; padding: 5px 10px; border-radius: 999px; font-weight: 800; font-size: .78rem; }
.price { font-size: 2.15rem; font-weight: 950; letter-spacing: -0.04em; margin: 12px 0; color: #07111f; }
.price span { font-size: 1rem; color: var(--muted); font-weight: 700; }
.price-card p:not(.price) { color: var(--muted); margin-bottom: 0; }
.extras {
    margin-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.extras div { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }

.map-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; align-items: center; }
.check-list { padding: 0; margin: 24px 0 0; list-style: none; }
.check-list li { margin: 10px 0; padding-left: 30px; position: relative; font-weight: 700; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 950; }
.map-card { padding: 10px; overflow: hidden; }
#serviceMap {
    width: 100%;
    height: clamp(390px, 46vw, 520px);
    border-radius: calc(var(--radius) - 8px);
    overflow: hidden;
    background: #dbe7ef;
}

/*
   Základní Leaflet CSS vložené lokálně jako pojistka.
   Když se z CDN nenačte leaflet.css, mapa se bez těchto pravidel rozpadne
   na jednotlivé dlaždice. Tohle drží dlaždice, markery a SVG vrstvy správně
   pozicované i bez externího CSS souboru.
*/
.leaflet-container {
    position: relative;
    overflow: hidden;
    outline: 0;
    font-family: inherit;
    touch-action: pan-x pan-y;
}
.leaflet-container img,
.leaflet-container svg {
    max-width: none !important;
    max-height: none !important;
}
.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
    position: absolute;
    left: 0;
    top: 0;
}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
    user-select: none;
    -webkit-user-drag: none;
}
.leaflet-tile {
    width: 256px;
    height: 256px;
    filter: inherit;
    visibility: hidden;
}
.leaflet-tile-loaded { visibility: inherit; }
.leaflet-tile-container {
    pointer-events: none;
    will-change: transform;
}
.leaflet-pane { z-index: 400; }
.leaflet-tile-pane { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane { z-index: 500; }
.leaflet-marker-pane { z-index: 600; }
.leaflet-tooltip-pane { z-index: 650; }
.leaflet-popup-pane { z-index: 700; }
.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg { z-index: 200; }
.leaflet-control {
    position: relative;
    z-index: 800;
    pointer-events: auto;
}
.leaflet-top,
.leaflet-bottom {
    position: absolute;
    z-index: 1000;
    pointer-events: none;
}
.leaflet-top { top: 0; }
.leaflet-right { right: 0; }
.leaflet-bottom { bottom: 0; }
.leaflet-left { left: 0; }
.leaflet-control { float: left; clear: both; }
.leaflet-right .leaflet-control { float: right; }
.leaflet-top .leaflet-control { margin-top: 10px; }
.leaflet-bottom .leaflet-control { margin-bottom: 10px; }
.leaflet-left .leaflet-control { margin-left: 10px; }
.leaflet-right .leaflet-control { margin-right: 10px; }
.leaflet-control-zoom a {
    display: block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    text-decoration: none;
    background: #fff;
    color: #152033;
    border-bottom: 1px solid #cbd8e6;
    font-weight: 800;
}
.leaflet-control-zoom a:first-child { border-radius: 6px 6px 0 0; }
.leaflet-control-zoom a:last-child { border-radius: 0 0 6px 6px; border-bottom: 0; }
.leaflet-control-attribution {
    background: rgba(255,255,255,.82);
    padding: 2px 6px;
    font-size: 11px;
}
.leaflet-popup {
    position: absolute;
    text-align: center;
    margin-bottom: 20px;
}
.leaflet-popup-content-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(8,17,31,.20);
    padding: 1px;
}
.leaflet-popup-content { margin: 12px 14px; line-height: 1.35; }
.leaflet-popup-tip-container {
    width: 40px;
    height: 20px;
    position: absolute;
    left: 50%;
    margin-left: -20px;
    overflow: hidden;
    pointer-events: none;
}
.leaflet-popup-tip {
    width: 17px;
    height: 17px;
    padding: 1px;
    margin: -10px auto 0;
    transform: rotate(45deg);
    background: #fff;
    box-shadow: 0 10px 30px rgba(8,17,31,.20);
}
.leaflet-popup-close-button {
    position: absolute;
    top: 0;
    right: 0;
    padding: 6px 8px 0 0;
    border: none;
    text-align: center;
    width: 24px;
    height: 24px;
    font: 18px/24px Tahoma, Verdana, sans-serif;
    color: #65758b;
    text-decoration: none;
    background: transparent;
}

.form-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; align-items: start; }
.form-card { padding: 28px; }
.quote-form { display: grid; gap: 16px; }
label { display: grid; gap: 7px; font-weight: 800; }
label span { color: var(--brand-dark); }
input, textarea {
    width: 100%; border: 1px solid #cbd8e6; border-radius: 14px; padding: 13px 14px;
    font: inherit; background: #fff; color: var(--text); outline: none;
}
input:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(10,167,223,.14); }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { background: #e8f8fc; color: #075b76; border-radius: 14px; padding: 11px 13px; font-weight: 700; }
.checkbox { display: flex; grid-template-columns: auto 1fr; align-items: flex-start; gap: 10px; font-weight: 700; }
.checkbox input { width: auto; margin-top: 5px; }
.antispam-check {
    padding: 14px; border: 1px dashed #adc4d9; border-radius: 16px;
    background: #f8fbfd;
}
.captcha-question {
    display: inline-flex; align-items: center; width: fit-content;
    padding: 6px 10px; border-radius: 999px;
    background: #e8f8fc; color: #075b76; font-weight: 900;
}
.antispam-check input { max-width: 220px; }
.privacy { color: var(--muted); font-size: .9rem; margin: 0; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.flash { padding: 14px 16px; border-radius: 16px; margin-bottom: 18px; font-weight: 800; }
.flash.success { background: #ecfdf3; color: var(--success); border: 1px solid #abefc6; }
.flash.error { background: #fef3f2; color: var(--danger); border: 1px solid #fecdca; }
.contact-box { padding: 22px; margin-top: 26px; display: grid; gap: 4px; }
.contact-box a { color: var(--brand-dark); font-size: 1.5rem; font-weight: 950; text-decoration: none; }
.contact-box span { color: var(--muted); }

.footer { background: var(--bg); color: #dbe8f5; padding: 36px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr 1fr; gap: 22px; }
.footer p { margin: 8px 0 0; color: #aebfd2; }
.footer a { color: #fff; }
.footer-logo {
    display: block; height: 38px; width: auto; max-width: 210px;
    margin-bottom: 10px; background: rgba(255,255,255,.96);
    border-radius: 12px; padding: 6px 10px;
}

@media (max-width: 900px) {
    .nav { min-height: 68px; }
    .nav-toggle { display: block; }
    .nav-links {
        display: none; position: absolute; left: 16px; right: 16px; top: 72px;
        flex-direction: column; align-items: stretch; padding: 16px; border-radius: 18px;
        background: #0b1625; border: 1px solid rgba(255,255,255,.12);
    }
    .nav-links.open { display: flex; }
    .hero { padding: 60px 0; }
    .hero-grid, .map-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
    .cards-3, .pricing-grid, .extras { grid-template-columns: 1fr; }
    .price-card.featured { transform: none; }
    .section { padding: 60px 0; }
}

@media (max-width: 640px) {
    .container { width: min(100% - 22px, 1160px); }
    .brand small { display: none; }
    .brand-text strong { display: none; }
    .brand-logo-box { height: 42px; min-width: 42px; padding: 6px 8px; }
    .brand-logo { height: 30px; max-width: 132px; }
    .hero-actions .btn { width: 100%; }
    .hero-card, .form-card, .service-card, .price-card { padding: 22px; }
    .two-cols { grid-template-columns: 1fr; }
    #serviceMap { height: 360px; }
    .quick-list div { display: grid; gap: 4px; }
}
