/*
 * ObecníMapa public landing page.
 * Layout principles are selectively adapted from the licensed Cuba landing theme by Pixelstrap.
 * Bootstrap remains provided by the project's local Cuba vendor bundle.
 */
@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/roboto-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;
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/roboto-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: "Roboto";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/roboto-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;
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/roboto-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;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--landing-header-height, 80px) + 16px); }
body.landing-page { background: var(--om-bg); color: var(--om-text); font-family: "Roboto", Arial, sans-serif; margin: 0; }
.landing-page h1, .landing-page h2, .landing-page h3, .landing-page p { color: inherit; }
.landing-page a:focus-visible, .landing-page button:focus-visible, .landing-page [tabindex]:focus-visible { outline: 3px solid #b2aaff; outline-offset: 4px; }
.landing-skip-link { background: var(--om-primary); color: #fff; left: 1rem; padding: .65rem 1rem; position: fixed; top: -5rem; z-index: 1100; }
.landing-skip-link:focus { top: 1rem; }
.landing-header { background: rgba(29,30,38,.97); border-bottom: 1px solid var(--om-border); position: fixed; inset: 0 0 auto; z-index: 1030; }
.landing-header.is-scrolled { box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.2); }
.landing-header .navbar { min-height: 5rem; padding: .75rem 0; }
.landing-brand { align-items: center; color: var(--om-text-strong); display: inline-flex; font-size: 1.2rem; font-weight: 700; gap: .7rem; text-decoration: none; }
.landing-brand:hover { color: #fff; }
.landing-brand-mark { align-items: center; background: var(--om-primary); border-radius: .55rem; color: #fff; display: inline-flex; font-size: 1rem; height: 2.25rem; justify-content: center; width: 2.25rem; }
.landing-header .navbar-nav { gap: .25rem; }
.landing-header .nav-link { color: var(--om-text-muted); font-weight: 500; padding: .65rem .8rem; }
.landing-header .nav-link:hover, .landing-header .nav-link:focus { color: #fff; }
.landing-login-item { margin-left: .75rem; }
.landing-header .navbar-toggler { border: 1px solid var(--om-border); border-radius: .5rem; box-shadow: none; gap: 4px; padding: .65rem; }
.landing-header .navbar-toggler span { background: var(--om-text); display: block; height: 2px; width: 1.35rem; margin: 4px 0; }
.landing-btn { border-radius: 2rem; font-weight: 500; padding: .72rem 1.3rem; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.landing-btn:hover { transform: translateY(-2px); }
.landing-btn-primary { background: var(--om-primary); border-color: var(--om-primary); color: #fff; }
.landing-btn-primary:hover, .landing-btn-primary:focus { background: var(--om-primary-hover); border-color: var(--om-primary-hover); color: #fff; }
.landing-btn-quiet { border: 1px solid var(--om-border); color: var(--om-text); }
.landing-btn-quiet:hover { background: var(--om-surface-elevated); border-color: #4a5060; color: #fff; }
.landing-hero { background: radial-gradient(circle at 82% 30%, rgba(var(--om-primary-rgb),.18), transparent 27rem), linear-gradient(180deg, var(--om-bg), #20212b); padding: 10rem 0 6rem; }
.landing-hero h1 { font-size: clamp(2.4rem, 4.5vw, 4.4rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.12; margin-bottom: 1.5rem; }
.landing-hero h1 span { color: #b2aaff; }
.landing-lead { color: var(--om-text-muted) !important; font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.75; max-width: 46rem; }
.landing-eyebrow { color: #b2aaff !important; font-size: .78rem; font-weight: 700; letter-spacing: .1em; margin-bottom: 1rem; text-transform: uppercase; }
.landing-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.landing-section { background: #20212a; padding: 4.5rem 0; }
.landing-section-alt { background: linear-gradient(180deg, #242630, #22242d); border-block: 1px solid var(--om-border); }
.landing-heading { margin: 0 auto 3rem; max-width: 47rem; }
.landing-section h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 500; letter-spacing: -.025em; margin-bottom: 1.25rem; }
.landing-copy { color: var(--om-text-muted) !important; font-size: 1.08rem; line-height: 1.75; }
.landing-check-list { display: grid; gap: .8rem; list-style: none; margin: 1.75rem 0 0; padding: 0; }
.landing-check-list li { color: var(--om-text-muted); padding-left: 1.75rem; position: relative; }
.landing-check-list li::before { color: #b2aaff; content: "✓"; font-weight: 700; left: 0; position: absolute; }
.landing-product-image { background: var(--om-surface); border: 1px solid var(--om-border); border-radius: .85rem; box-shadow: 0 1.75rem 4rem rgba(0,0,0,.25); margin: 0; overflow: hidden; }
.landing-product-image img { display: block; height: auto; max-width: 100%; width: 100%; }
.landing-page .landing-map-attribution { margin: 4px 0 0; color: #b8c0cc; font-size: .75rem; line-height: 1.5; overflow-wrap: anywhere; }
.landing-page .landing-map-attribution a { color: inherit; text-decoration: underline; }
.landing-steps { list-style: none; padding-left: 0; }
.landing-card { background: linear-gradient(145deg, var(--om-surface-elevated), var(--om-surface)); border: 1px solid var(--om-border); border-radius: .85rem; padding: 1.75rem; }
.landing-card h3 { font-size: 1.15rem; line-height: 1.4; margin: 1.25rem 0 .75rem; }
.landing-card p { color: var(--om-text-muted); line-height: 1.65; margin: 0; }
.landing-step-number { background: rgba(var(--om-primary-rgb),.12); border: 1px solid rgba(var(--om-primary-rgb),.3); border-radius: .7rem; color: #b2aaff; display: inline-flex; align-items: center; justify-content: center; height: 3rem; width: 3rem; font-weight: 700; }
.landing-roles { margin: 2.5rem auto 0; max-width: 48rem; text-align: center; }
.landing-text-link, .landing-contact-email { color: #b2aaff; font-weight: 500; overflow-wrap: anywhere; }
.landing-text-link:hover, .landing-contact-email:hover { color: #fff; }
.landing-final-cta { background: radial-gradient(ellipse at center, rgba(var(--om-primary-rgb),.12), transparent 65%), #252631; border-block: 1px solid var(--om-border); }
.landing-final-cta .landing-copy { margin: 0 auto; max-width: 42rem; }
.landing-footer { background: #17181e; border-top: 1px solid var(--om-border); color: var(--om-text-muted); padding: 3.5rem 0 1.5rem; }
.landing-footer p { margin: 1rem 0 0; max-width: 30rem; }
.landing-footer nav { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: flex-end; }
.landing-footer nav a { color: var(--om-text-muted); text-decoration: none; }
.landing-footer nav a:hover { color: #fff; }
.landing-copyright { border-top: 1px solid var(--om-border); font-size: .85rem; margin-top: 3rem; padding-top: 1.25rem; }
.landing-to-top { background: var(--om-primary); border: 0; border-radius: 50%; bottom: 1.25rem; color: #fff; display: none; height: 2.75rem; position: fixed; right: 1.25rem; width: 2.75rem; z-index: 1020; }
.landing-to-top.is-visible { display: block; }
@media (max-width: 991.98px) {
    .landing-header .navbar-collapse { background: var(--om-surface); border: 1px solid var(--om-border); border-radius: .75rem; margin-top: .75rem; padding: 1rem; }
    .landing-header .navbar-nav { align-items: stretch !important; }
    .landing-login-item { margin: .6rem 0 0; }
    .landing-login-item .btn { width: 100%; }
    .landing-hero { padding: 9rem 0 5rem; }
    .landing-section { padding: 4.5rem 0; }
    .landing-footer nav { justify-content: flex-start; }
}
@media (max-width: 575.98px) {
    .landing-actions { align-items: stretch; flex-direction: column; }
    .landing-actions .btn { width: 100%; }
    .landing-section { padding: 2.75rem 0; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .landing-page *, .landing-page *::before, .landing-page *::after { transition: none !important; animation: none !important; }
}

/* M5B.1-R: společné produktové rámy a kompozice bez ořezu screenshotů. */
.landing-planned { background: radial-gradient(ellipse at right, rgba(var(--om-primary-rgb),.1), transparent 70%), #292b36; border-block: 1px solid var(--om-border); }
.landing-planned-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 1rem; }
.landing-planned-card { display: flex; flex-direction: column; }
.landing-planned-card h3 { min-height: 3.2em; }
.landing-planned-status { color: #b2aaff; font-size: .75rem; letter-spacing: .04em; margin-top: auto; padding-top: 1.25rem; }
@media (max-width: 1199.98px) { .landing-planned-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .landing-planned-cards { grid-template-columns: 1fr; } }
:root { --landing-header-height: 80px; }
.landing-header .navbar > .container { gap: 1rem; }
.landing-header .landing-brand { flex-shrink: 0; }
.landing-header .nav-link, .landing-login-item .btn { white-space: nowrap; }
.landing-header .navbar-nav { list-style: none; margin-bottom: 0; padding-left: 0; }
.landing-header .navbar-toggler { display: none; }
.landing-hero { position: relative; isolation: isolate; padding: calc(var(--landing-header-height) + 64px) 0 72px; background: radial-gradient(ellipse at 82% 44%, rgba(var(--om-primary-rgb),.23), transparent 55%), linear-gradient(180deg, var(--om-bg), #242332); }
.landing-hero::before { content: ""; position: absolute; inset: 12% 5% 10% auto; width: 46%; border: 1px solid rgba(var(--om-primary-rgb),.18); border-radius: 50%; pointer-events: none; z-index: -1; }
.landing-hero h1 { font-size: clamp(2.25rem, 3.65vw, 3.5rem); line-height: 1.12; }
.landing-hero .landing-lead { font-size: 1.08rem; line-height: 1.7; }
.landing-hero-product { position: relative; }
.landing-product-image { border: 1px solid rgba(var(--om-primary-rgb),.35); border-radius: 1rem; box-shadow: 0 24px 60px rgba(0,0,0,.35), 0 0 40px rgba(var(--om-primary-rgb),.09); }
.landing-product-bar { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; background: linear-gradient(120deg, #343047, var(--om-surface-elevated)); border-bottom: 1px solid var(--om-border); color: var(--om-text-muted); font-size: .8rem; }
.landing-product-bar > span { min-width: 0; overflow-wrap: anywhere; }
.landing-page h1, .landing-page h2, .landing-page h3, .landing-page p,
.landing-page a, .landing-page .landing-feature-tags > span { overflow-wrap: anywhere; }
.landing-page .row > *, .landing-card, .landing-planned-column { min-width: 0; }
.landing-header .landing-brand { min-width: 0; max-width: 100%; flex-shrink: 1; overflow-wrap: anywhere; }
.landing-brand-mark { flex-shrink: 0; }
.landing-header.is-compact .navbar > .container { flex-wrap: wrap; }
.landing-header.is-compact .navbar-toggler { display: block; margin-left: auto; }
.landing-header.is-compact .navbar-collapse { flex-basis: 100%; flex-grow: 1; margin-left: 0; background: var(--om-surface); border: 1px solid var(--om-border); border-radius: .75rem; margin-top: .25rem; padding: .75rem; max-height: min(70vh, 540px); overflow-y: auto; }
.landing-header.is-compact .navbar-collapse:not(.show):not(.collapsing) { display: none !important; }
.landing-header.is-compact .navbar-nav { flex-direction: column; align-items: stretch !important; }
.landing-header.is-compact .landing-login-item { margin: .5rem 0 0; }
.landing-header.is-compact .landing-login-item .btn { width: 100%; }
.landing-header .landing-navigation-measure { position: absolute; visibility: hidden; pointer-events: none; width: max-content; display: flex; flex-direction: row !important; align-items: center !important; gap: .25rem; margin: 0; padding: 0; }
.landing-header .landing-navigation-measure .landing-login-item { margin: 0 0 0 .75rem; }
.landing-header .landing-navigation-measure .landing-login-item .btn { width: auto; }
.landing-product-mark { display: inline-flex; align-items: center; justify-content: center; background: var(--om-primary); color: white; border-radius: .3rem; width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.landing-feature-icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.landing-feature-tags { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.landing-feature-tags > span { display: inline-flex; align-items: center; gap: .6rem; padding: .65rem .85rem; border: 1px solid var(--om-border); border-radius: .6rem; background: var(--om-surface); font-size: .85rem; }
.landing-feature-tags svg { color: #b2aaff; width: 20px; height: 20px; }
.landing-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: .75rem; border: 1px solid rgba(var(--om-primary-rgb),.3); background: rgba(var(--om-primary-rgb),.14); color: #b2aaff; }
.landing-card { position: relative; box-shadow: 0 12px 28px rgba(0,0,0,.14); }
.landing-card::before { content: ""; position: absolute; inset: 0 auto auto 20px; width: 64px; height: 2px; background: var(--om-primary); }
.landing-infrastructure-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.landing-object-example { margin-top: 1.5rem; width: 40.5%; max-width: 240px; margin-right: auto; }
.landing-infrastructure-summary { margin-top: 1.5rem; }
.landing-infrastructure-summary .landing-card { padding: 1rem; }
@media (max-width: 991.98px) { .landing-object-example { width: 100%; max-width: min(240px, 100%); } }
#infrastruktura { background: radial-gradient(ellipse at right, rgba(var(--om-primary-rgb),.13), transparent 70%), #242630; }
.landing-document-cards { margin-top: .5rem; }
.landing-step-heading { display: flex; align-items: center; justify-content: space-between; color: #b2aaff; }
.landing-step-heading > svg { width: 36px; height: 36px; }
.landing-final-cta { background: var(--om-bg); border: 0; padding-bottom: 0; }
.landing-cta-panel { padding: clamp(2rem, 5vw, 4rem); border: 1px solid rgba(var(--om-primary-rgb),.45); border-radius: 1.2rem; background: radial-gradient(ellipse at top left, rgba(var(--om-primary-rgb),.24), transparent 70%), linear-gradient(120deg, #2e2a48, #242630); box-shadow: 0 20px 48px rgba(0,0,0,.2); }
@media (min-width: 1200px) {
    .landing-header .navbar-nav { flex-direction: row; align-items: center; }
    .landing-header .navbar-collapse { margin-left: auto; flex-grow: 0; }
}
@media (max-width: 1199.98px) {
    .landing-header .navbar-toggler { display: block; margin-left: auto; }
    .landing-header .navbar-collapse { background: var(--om-surface); border: 1px solid var(--om-border); border-radius: .75rem; margin-top: .25rem; padding: .75rem; max-height: calc(100dvh - 110px); max-height: min(70vh, 540px); overflow-y: auto; }
    .landing-header .navbar-nav { flex-direction: column; align-items: stretch !important; }
    .landing-login-item { margin: .5rem 0 0; }
    .landing-login-item .btn { width: 100%; }
}
@media (max-width: 991.98px) {
    .landing-hero { padding: calc(var(--landing-header-height) + 40px) 0 48px; }
    .landing-section { padding: 3rem 0; }
    .landing-final-cta { padding-bottom: 0; }
}
@media (max-width: 575.98px) {
    .landing-hero h1 { font-size: 2.1rem; }
    .landing-infrastructure-cards { grid-template-columns: 1fr; }
    .landing-feature-tags { gap: .5rem; }
    .landing-section { padding: 2.75rem 0; }
    .landing-final-cta { padding-bottom: 0; }
    .landing-product-bar { padding: .65rem .75rem; }
    .landing-cta-panel { padding: 2rem 1.25rem; }
}

.landing-header.is-compact .nav-link, .landing-header.is-compact .landing-login-item .btn { white-space: normal; }
@media (max-width: 1199.98px) { .landing-header .nav-link, .landing-header .landing-login-item .btn { white-space: normal; } }
.landing-header .landing-navigation-measure .nav-link, .landing-header .landing-navigation-measure .btn { white-space: nowrap; }

/* Při zvětšení textu nesmějí záporné okraje g-5 přesáhnout padding kontejneru. */
.landing-page .row.g-5 { --bs-gutter-x: min(3rem, 48px); }
/* Na mobilu záporný okraj řádku nesmí přesáhnout 12px padding kontejneru. */
@media (max-width: 575.98px) { .landing-page .row.g-5 { --bs-gutter-x: min(1.5rem, 24px); } }

/* Samostatné veřejné texty nemají hero odsazení pod pevnou hlavičkou. */
.landing-header.landing-public-header { position: relative; }

/* Ceník navazuje na existující karty; mění se pouze jeho ovládání a obsah. */
.landing-price-controls { border: 0; margin: 0 0 1.5rem; padding: 0; }
.landing-price-controls > div { max-width: 25rem; margin-bottom: 1.25rem; }
.landing-price-controls .form-select { background-color: var(--om-surface); color: var(--om-text-strong); border-color: var(--om-border); }
.landing-price-period { border: 0; padding: 0; margin: 0; }
.landing-price-period legend { font-size: 1rem; font-weight: 500; }
.landing-price-period label { color: var(--om-text-strong); cursor: pointer; }
.landing-price-period .form-check-input:checked { background-color: var(--om-primary); border-color: var(--om-primary); }
.landing-price-feedback { color: var(--om-text-strong); min-height: 1.5em; }
.landing-price-card { display: flex; flex-direction: column; gap: 1rem; }
.landing-price-card h3 { margin: 0; }
.landing-price-premium { border-color: var(--om-primary); }
.landing-price-card .landing-price-amount { color: var(--om-text-strong); margin: 0; }
.landing-price-amount strong { font-size: 1.85rem; white-space: nowrap; }
.landing-price-amount span { display: block; font-size: .875rem; }
.landing-price-card .landing-price-term { margin: .25rem 0 1rem; }
.landing-price-breakdown { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .4rem .6rem; margin: 0; font-size: .875rem; }
.landing-price-breakdown dt { color: var(--om-text-muted); font-weight: 400; }
.landing-price-breakdown dd { color: var(--om-text-strong); margin: 0; text-align: right; }
.landing-price-card .landing-price-limits { color: var(--om-text-strong); }
.landing-price-card .landing-check-list { margin-top: 0; }
