:root {
    --bg: #0b0c10;
    --surface: #11131a;
    --surface-soft: #171a23;
    --surface-strong: #1d2130;
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.2);
    --text: #f3f4f7;
    --muted: rgba(243, 244, 247, 0.72);
    --muted-dark: #989dac;
    --accent: #f42d32;
    --accent-dark: #c92227;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
    --radius: 18px;
    --radius-pill: 999px;
    --font-main: "Barlow", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(244, 45, 50, 0.08), transparent 28%),
        linear-gradient(180deg, #0b0c10 0%, #11131a 38%, #f4f5f8 38%, #f4f5f8 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

img,
video {
    display: block;
    max-width: 100%;
}

.site-shell {
    max-width: 1260px;
}

.hero-shell {
    position: relative;
    min-height: 100vh;
    background: #131720;
    overflow: hidden;
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(20, 24, 33, 0.8) 0%, rgba(20, 24, 33, 0.58) 38%, rgba(20, 24, 33, 0.66) 100%),
        linear-gradient(180deg, rgba(20, 24, 33, 0.2) 0%, rgba(20, 24, 33, 0.66) 100%);
}

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    padding: 0;
    background: rgba(29, 34, 44, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    backdrop-filter: none;
}

.site-nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: min(20rem, 42vw);
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, rgba(244, 45, 50, 0.28) 100%);
}

.nav-shell {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 2.25rem;
    min-height: 84px;
    position: relative;
    padding-top: 0.95rem;
    padding-bottom: 0.85rem;
}

.nav-shell::after {
    content: "";
    position: absolute;
    left: min(18rem, 32vw);
    right: 0;
    top: 2.25rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 55%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.logo-mark {
    width: 214px;
    filter: brightness(0) invert(1);
}

.navbar-collapse {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
    flex-basis: 100%;
}

.nav-primary {
    align-items: center;
    justify-content: flex-end;
    gap: 0.8rem;
    padding: 0;
    margin: 0;
    position: relative;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.nav-primary::before {
    display: none;
}

.nav-item {
    position: relative;
}

.nav-item + .nav-item::before {
    content: "";
    position: absolute;
    left: -0.4rem;
    top: 50%;
    width: 1px;
    height: 1.35rem;
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-50%);
}

.nav-link {
    position: relative;
    padding: 1rem 1.45rem 1.05rem;
    margin: 0;
    border-radius: 10px;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1;
    text-shadow: none;
    transition: color 0.18s ease, background-color 0.18s ease;
}

.nav-link:visited {
    color: rgba(255, 255, 255, 0.9);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 1.45rem;
    bottom: 0.72rem;
    width: calc(100% - 2.9rem);
    height: 3px;
    border-radius: 0;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left center;
    opacity: 1;
    transition: transform 0.22s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link:focus-visible,
.nav-link:active,
.nav-link[aria-current="page"] {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transform: none;
}

.nav-link:hover::after,
.nav-link:focus::after,
.nav-link:focus-visible::after,
.nav-link:active::after,
.nav-link[aria-current="page"]::after {
    transform: scaleX(1);
}

.nav-toggle {
    width: 56px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: #262c38;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    box-shadow: none;
    backdrop-filter: none;
}

.nav-toggle {
    padding: 0;
}

.nav-toggle:focus {
    box-shadow: none;
}

.nav-toggle-line,
.nav-utility-line {
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
}

.hero-layout {
    position: relative;
    z-index: 2;
    min-height: min(calc(100vh - 110px), 37.5rem);
    display: flex;
    align-items: flex-start;
    padding-top: 12.1rem;
    padding-bottom: 0;
}

.hero-copy {
    max-width: 940px;
}

.hero-caption,
.section-caption,
.card-index {
    margin: 0 0 1rem;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-caption,
.section-caption {
    color: rgba(255, 255, 255, 0.72);
}

.hero-copy h1,
.section-heading h1,
.section-heading h2,
.detail-panel h2,
.contact-copy h2 {
    margin: 0;
    letter-spacing: -0.04em;
    line-height: 0.93;
    font-weight: 800;
}

.hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(3.6rem, 7vw, 6.8rem);
}

.hero-lead,
.section-heading p,
.overview-card p,
.service-card p,
.process-card p,
.detail-panel p,
.plain-list,
.contact-copy p,
.footer-links {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.65;
}

.hero-lead {
    max-width: 50rem;
    margin: 1.75rem 0 0;
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}

.btn {
    border-radius: var(--radius-pill);
    padding: 1rem 1.8rem;
    font-size: 1rem;
    font-weight: 700;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.btn-arrow {
    font-size: 1.15rem;
    line-height: 1;
}

.btn-hero-primary {
    color: #fff;
    background: rgba(244, 45, 50, 0.96);
    border-color: rgba(244, 45, 50, 0.96);
}

.btn-hero-primary:hover,
.btn-hero-primary:focus-visible {
    color: #fff;
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

.btn-hero-secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.34);
}

.btn-hero-secondary:hover,
.btn-hero-secondary:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.54);
}

.overview-section,
.services-section,
.process-section,
.detail-section,
.contact-section {
    position: relative;
    z-index: 1;
}

.overview-section {
    margin-top: -13.6rem;
    padding-bottom: 4.5rem;
}

.lite-podlahy-page {
    padding-top: 9.5rem;
}

.lite-podlahy-page .detail-section:first-of-type {
    padding-top: 4rem;
}

.lite-page-intro {
    padding-bottom: 1rem;
}

.lite-podlahy-page .overview-section {
    margin-top: 0;
    padding-top: 1.5rem;
    padding-bottom: 2.8rem;
    background: linear-gradient(180deg, #232834 0%, #1a1f29 100%);
}

.lite-podlahy-page .overview-card {
    background: rgba(38, 43, 55, 0.88);
}

.lite-podlahy-page .overview-card h2 {
    color: #fff;
}

.lite-podlahy-page .overview-card p {
    color: rgba(255, 255, 255, 0.72);
}

.overview-card,
.service-card,
.process-card,
.detail-panel,
.contact-card {
    height: 100%;
    border-radius: var(--radius);
}

.overview-card {
    padding: 2rem;
    background: rgba(34, 39, 50, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
}

.card-index {
    color: rgba(244, 45, 50, 0.92);
}

.overview-card h2,
.service-card h3,
.process-card h3,
.footer-brand {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.overview-card p:last-child,
.service-card p:last-child,
.process-card p:last-child,
.detail-panel p:last-child {
    margin-bottom: 0;
}

.overview-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.4rem;
    color: #fff;
    font-size: 0.96rem;
    font-weight: 700;
}

.overview-link:hover,
.overview-link:focus-visible {
    color: rgba(255, 255, 255, 0.86);
}

.services-section,
.detail-section,
.contact-section {
    padding: 5rem 0;
    background: #f4f5f8;
}

.section-heading {
    max-width: 56rem;
    margin-bottom: 2.5rem;
}

.section-heading h1,
.section-heading h2,
.detail-panel h2,
.contact-copy h2 {
    font-size: clamp(2.3rem, 4vw, 3.5rem);
    color: #11131a;
}

.section-heading p,
.detail-panel p,
.plain-list,
.contact-copy p {
    color: var(--muted-dark);
}

.section-heading h1 + p,
.section-heading h2 + p {
    margin-top: 1rem;
}

.pronajem-hero .section-heading p,
.flooring-highlight-card p {
    color: #6f7788;
}

.section-caption,
.card-index,
.detail-panel .section-caption,
.contact-copy .section-caption {
    color: rgba(17, 19, 26, 0.58);
}

.service-card {
    padding: 2rem;
    background: #fff;
    border: 1px solid rgba(17, 19, 26, 0.08);
    box-shadow: 0 18px 40px rgba(17, 19, 26, 0.06);
}

.service-card h3 {
    color: #11131a;
}



.flooring-heading {
    max-width: 64rem;
    margin-bottom: 2.8rem;
}

.pronajem-hero .section-heading h2,
.flooring-highlight-card h3 {
    margin-bottom: 1rem;
}

.flooring-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 2rem;
}

.flooring-nav-link {
    padding: 0.8rem 1.1rem;
    border-radius: var(--radius-pill);
    background: rgba(17, 19, 26, 0.06);
    border: 1px solid rgba(17, 19, 26, 0.08);
    color: #11131a;
    font-size: 0.95rem;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.flooring-nav-link:hover,
.flooring-nav-link:focus-visible {
    transform: translateY(-1px);
    background: rgba(244, 45, 50, 0.08);
    border-color: rgba(244, 45, 50, 0.2);
}

.flooring-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.flooring-overview-single {
    grid-template-columns: minmax(0, 1fr);
}

.flooring-highlight-card,
.flooring-summary-card,
.service-form-panel {
    border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(17, 19, 26, 0.06);
}

.flooring-highlight-card {
    padding: 2rem;
    background: #fff;
    border: 1px solid rgba(17, 19, 26, 0.08);
}

.flooring-summary-card {
    padding: 2rem;
    background: #11131a;
    color: #fff;
}

.flooring-kicker,
.service-form-eyebrow {
    margin: 0 0 0.85rem;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.flooring-kicker {
    color: rgba(17, 19, 26, 0.62);
}

.flooring-highlight-card h3,
.flooring-summary-card h3,
.service-form-header h3 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1;
    letter-spacing: -0.03em;
}

.flooring-highlight-card h3 {
    color: #11131a;
}

.flooring-highlight-card p,
.service-form-header p {
    color: var(--muted-dark);
}

.service-form-header p {
    line-height: 1.65;
}

.pronajem-hero .section-heading p {
    margin-top: 0.2rem;
    line-height: 1.7;
}

.flooring-highlight-card p {
    line-height: 1.72;
}

.flooring-points {
    margin-top: 1.5rem;
}

.flooring-points li {
    border-top-color: rgba(17, 19, 26, 0.08);
}

.flooring-summary-card .flooring-kicker,
.flooring-summary-note,
.calc-result-label {
    color: rgba(255, 255, 255, 0.7);
}

.calc-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.calc-result-box {
    padding: 1.2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.calc-result-box-wide {
    grid-column: 1 / -1;
}

.calc-result-value {
    display: block;
    margin-bottom: 0.4rem;
    color: #fff;
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.calc-result-label {
    display: block;
    font-size: 0.94rem;
    line-height: 1.5;
}

.flooring-summary-note {
    margin: 1.25rem 0 0;
}

.service-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.service-form-grid-single {
    grid-template-columns: minmax(0, 1fr);
}

.service-form-panel {
    padding: 2rem;
    background: #fff;
    border: 1px solid rgba(17, 19, 26, 0.08);
}

#beton.service-form-panel,
#penobeton.service-form-panel {
    align-self: start;
}

.service-form-panel-primary {
    grid-column: 1 / -1;
    background:
        linear-gradient(135deg, rgba(31, 36, 46, 1) 0%, rgba(46, 52, 66, 1) 100%);
    border-color: rgba(255, 255, 255, 0.12);
}

.service-form-panel-primary .service-form-header h3,
.service-form-panel-primary .service-form-header p,
.service-form-panel-primary .service-form-eyebrow,
.service-form-panel-primary .form-field > span,
.service-form-panel-primary .consent-check span {
    color: #fff;
}

.service-form-panel-primary .service-form-header p,
.service-form-panel-primary .service-form-eyebrow,
.service-form-panel-primary .consent-check span {
    color: rgba(255, 255, 255, 0.74);
}

.service-form-header {
    max-width: 52rem;
    margin-bottom: 1.25rem;
}

.service-form-panel.service-form-panel-compact {
    padding: 1.5rem;
}

.service-form-header.service-form-header-compact {
    max-width: 38rem;
    margin-bottom: 0.95rem;
}

.service-form-panel.service-form-panel-compact .service-form-header h3 {
    font-size: clamp(1.55rem, 2.3vw, 2.1rem);
}

.service-form-panel.service-form-panel-compact .service-form-header p {
    font-size: 0.96rem;
    line-height: 1.5;
}

.client-switch {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 1.35rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.client-switch input {
    margin-top: 0.2rem;
    accent-color: var(--accent);
}

.client-switch span {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
    font-weight: 600;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field > span {
    color: #11131a;
    font-size: 0.95rem;
    font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(17, 19, 26, 0.12);
    background: #f9fafc;
    color: #11131a;
    font: inherit;
}

.form-field select option {
    color: #11131a;
    background: #fff;
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.quote-form.quote-form-compact .form-grid {
    gap: 0.85rem 1rem;
}

.quote-form.quote-form-compact .form-field {
    gap: 0.4rem;
}

.quote-form.quote-form-compact .form-field > span {
    font-size: 0.9rem;
}

.quote-form.quote-form-compact .form-field input,
.quote-form.quote-form-compact .form-field select,
.quote-form.quote-form-compact .form-field textarea {
    padding: 0.82rem 0.9rem;
    border-radius: 12px;
}

.quote-form.quote-form-compact .form-field textarea {
    min-height: 92px;
}

.quote-form.quote-form-compact .consent-check {
    margin-top: 1rem;
}

.quote-form.quote-form-compact .form-actions {
    margin-top: 1.2rem;
}

.invoice-field-wrap {
    display: none;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.invoice-field-wrap.is-active {
    display: block;
    background: rgba(244, 45, 50, 0.12);
    border-color: rgba(244, 45, 50, 0.4);
    box-shadow: 0 0 0 1px rgba(244, 45, 50, 0.18);
}

.invoice-field-wrap.is-filled {
    background: rgba(244, 45, 50, 0.16);
}

.invoice-lookup-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
}

.invoice-fetch-button {
    padding: 0.95rem 1.15rem;
    border-radius: 14px;
    border: 1px solid rgba(244, 45, 50, 0.4);
    background: rgba(244, 45, 50, 0.14);
    color: #fff;
    font: inherit;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.invoice-fetch-button:hover,
.invoice-fetch-button:focus-visible {
    background: rgba(244, 45, 50, 0.22);
    border-color: rgba(244, 45, 50, 0.55);
}

.invoice-fetch-button:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

.form-note {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
}

.service-form-panel-primary .form-note {
    color: rgba(255, 255, 255, 0.72);
}

.invoice-status.is-success {
    color: #b6f3c0;
}

.invoice-status.is-warning {
    color: #ffd98a;
}

.invoice-status.is-error {
    color: #ffb6b6;
}

.invoice-status.is-loading {
    color: #c6d3ff;
}

.service-form-panel-primary .form-field input,
.service-form-panel-primary .form-field select,
.service-form-panel-primary .form-field textarea {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.service-form-panel-primary .form-field select {
    color-scheme: dark;
}

.service-form-panel-primary .form-field select option {
    color: #11131a;
    background: #fff;
}

.service-form-panel-primary .form-field input::placeholder,
.service-form-panel-primary .form-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: rgba(244, 45, 50, 0.55);
    box-shadow: 0 0 0 4px rgba(244, 45, 50, 0.12);
}

.service-form-panel-primary .form-field input:focus,
.service-form-panel-primary .form-field select:focus,
.service-form-panel-primary .form-field textarea:focus {
    box-shadow: 0 0 0 4px rgba(244, 45, 50, 0.18);
}

.choice-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.choice-pill {
    position: relative;
}

.choice-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice-pill span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(17, 19, 26, 0.12);
    background: #f9fafc;
    color: #11131a;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.service-form-panel-primary .choice-pill span {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.choice-pill input:checked + span {
    background: rgba(244, 45, 50, 0.12);
    border-color: rgba(244, 45, 50, 0.4);
    color: var(--accent-dark);
}

.service-form-panel-primary .choice-pill input:checked + span {
    background: rgba(244, 45, 50, 0.18);
    border-color: rgba(244, 45, 50, 0.52);
    color: #fff;
}

.service-form-divider {
    height: 1px;
    margin: 1.6rem 0;
    background: rgba(255, 255, 255, 0.12);
}

.inline-calc-card {
    padding: 1.15rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
}

.inline-calc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.inline-calc-header .flooring-kicker {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.inline-calc-hint {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.92rem;
    line-height: 1.45;
}

.inline-calc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.inline-calc-box {
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
}

.inline-calc-box-wide {
    grid-column: 1 / -1;
}

.inline-calc-value {
    display: block;
    margin-bottom: 0.35rem;
    color: #fff;
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.inline-calc-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.94rem;
    line-height: 1.5;
}

.consent-check {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.consent-check input {
    margin-top: 0.2rem;
}

.consent-check span {
    color: var(--muted-dark);
    line-height: 1.55;
}

.form-actions {
    margin-top: 1.5rem;
}

.quote-submit {
    width: auto;
}

@media (min-width: 992px) {
    .service-form-grid {
        gap: 1.15rem;
    }

    .service-form-panel {
        padding: 1.55rem;
    }

    .service-form-header {
        max-width: 46rem;
        margin-bottom: 1rem;
    }

    .service-form-header h3 {
        margin-bottom: 0.45rem;
        font-size: clamp(1.85rem, 2.2vw, 2.4rem);
    }

    .service-form-header p {
        margin-bottom: 0;
        font-size: 1rem;
        line-height: 1.55;
    }

    .client-switch {
        gap: 0.75rem;
        margin-bottom: 1rem;
        padding: 0.8rem 0.9rem;
        border-radius: 14px;
    }

    .client-switch span,
    .form-note {
        font-size: 0.88rem;
        line-height: 1.45;
    }

    .form-grid,
    .form-grid-two {
        gap: 0.85rem;
    }

    .form-field {
        gap: 0.4rem;
    }

    .form-field > span {
        font-size: 0.88rem;
    }

    .form-field input,
    .form-field select,
    .form-field textarea {
        padding: 0.8rem 0.9rem;
        border-radius: 12px;
    }

    .form-field textarea {
        min-height: 96px;
    }

    .invoice-field-wrap {
        padding: 0.8rem 0.9rem;
        border-radius: 16px;
    }

    .invoice-lookup-row {
        gap: 0.7rem;
    }

    .invoice-fetch-button {
        padding: 0.8rem 1rem;
        border-radius: 12px;
        font-size: 0.92rem;
    }

    .choice-group {
        gap: 0.65rem;
    }

    .choice-pill span {
        min-width: 76px;
        padding: 0.72rem 0.9rem;
        font-size: 0.9rem;
    }

    .service-form-divider {
        margin: 1.2rem 0;
    }

    .inline-calc-card {
        padding: 0.9rem;
        border-radius: 16px;
    }

    .inline-calc-header {
        margin-bottom: 0.8rem;
    }

    .inline-calc-hint,
    .inline-calc-label {
        font-size: 0.86rem;
    }

    .inline-calc-box {
        padding: 0.85rem;
        border-radius: 14px;
    }

    .inline-calc-value {
        font-size: clamp(1.05rem, 1.5vw, 1.45rem);
    }

    .form-actions {
        margin-top: 1.15rem;
    }

    .quote-submit {
        padding-top: 0.85rem;
        padding-bottom: 0.85rem;
    }
}

.process-section {
    padding: 5rem 0;
    background:
        linear-gradient(135deg, #232835 0%, #3a285f 100%);
}

.section-heading-light h2 {
    color: #fff;
}

.section-heading-light p,
.section-heading-light .section-caption {
    color: rgba(255, 255, 255, 0.72);
}

.process-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.55fr);
    gap: 2rem;
    align-items: start;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.process-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.process-number {
    display: inline-block;
    margin-bottom: 1.25rem;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: rgba(244, 45, 50, 0.92);
}

.detail-panel {
    padding: 2.2rem;
    background: #fff;
    border: 1px solid rgba(17, 19, 26, 0.08);
    box-shadow: 0 18px 40px rgba(17, 19, 26, 0.06);
}

.detail-panel-contrast {
    background: #282e3b;
}

.detail-panel-contrast h2 {
    color: #fff;
}

.detail-panel-contrast p,
.detail-panel-contrast .section-caption,
.detail-panel-contrast .plain-list {
    color: rgba(255, 255, 255, 0.78);
}

.plain-list {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
}

.plain-list li {
    padding: 0.6rem 0 0.6rem 1.05rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
}

.detail-panel:not(.detail-panel-contrast) .plain-list li {
    border-top-color: rgba(17, 19, 26, 0.08);
}

.plain-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.55rem;
    width: 0.38rem;
    height: 0.38rem;
    background: var(--accent);
    border-radius: 50%;
}

.contact-card {
    padding: 2.4rem;
    background: #242a36;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2rem;
    align-items: start;
    box-shadow: var(--shadow);
}

.contact-copy {
    max-width: 46rem;
}

.contact-copy h2 {
    color: #fff;
}

.contact-copy p,
.contact-copy .section-caption {
    color: rgba(255, 255, 255, 0.74);
}

.contact-form-wrap {
    padding: 1.8rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-section-page {
    padding-top: 8.35rem;
    background: linear-gradient(180deg, #202531 0, #eef1f5 7.4rem, #f4f5f8 100%);
}

.contact-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 1rem;
}

.contact-page-intro {
    padding: 0.45rem 0 0;
}

.contact-page-intro h2 {
    margin: 0;
    color: #11131a;
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.contact-page-intro p {
    margin: 1rem 0 0;
    max-width: 30rem;
    color: #5d6678;
    font-size: 1.02rem;
    line-height: 1.65;
}

.contact-quick-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.contact-quick-card,
.contact-map-copy {
    padding: 1rem 1.1rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(17, 19, 26, 0.08);
    box-shadow: 0 8px 24px rgba(17, 19, 26, 0.05);
}

.contact-quick-card span {
    display: block;
    margin-bottom: 0.25rem;
    color: #798295;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-quick-card strong {
    display: block;
    color: #11131a;
    font-size: 1rem;
    font-weight: 700;
    word-break: break-word;
}

.contact-quick-card:hover,
.contact-quick-card:focus-visible {
    border-color: rgba(244, 45, 50, 0.22);
}

.contact-page-intro .contact-actions {
    margin-top: 1.5rem;
}

.contact-page-intro .btn {
    padding: 0.82rem 1.2rem;
    border-radius: 10px;
}

.contact-page-intro .btn-hero-secondary {
    color: #11131a;
    background: #fff;
    border-color: rgba(17, 19, 26, 0.12);
}

.contact-page-intro .btn-hero-secondary:hover,
.contact-page-intro .btn-hero-secondary:focus-visible {
    background: #f3f5f8;
    border-color: rgba(17, 19, 26, 0.18);
}

.contact-form-wrap.contact-form-wrap-page {
    padding: 1.35rem;
    border-radius: 14px;
    background: #343b47;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 14px 32px rgba(17, 19, 26, 0.12);
}

.contact-form.contact-form-compact .form-grid {
    gap: 0.9rem 0.95rem;
}

.contact-form.contact-form-compact .form-field {
    gap: 0.45rem;
}

.contact-form.contact-form-compact .form-field > span,
.contact-form.contact-form-compact .consent-check span {
    font-size: 0.92rem;
}

.contact-form.contact-form-compact .form-field input,
.contact-form.contact-form-compact .form-field textarea {
    padding: 0.85rem 0.95rem;
    border-radius: 10px;
}

.contact-form.contact-form-compact .form-field textarea {
    min-height: 9rem;
}

.contact-form.contact-form-compact .contact-consent {
    margin-top: 0.95rem;
}

.contact-form.contact-form-compact .form-actions {
    margin-top: 1.1rem;
}

.contact-form.contact-form-compact .quote-submit {
    border-radius: 10px;
}

.contact-map-panel {
    display: grid;
    grid-template-columns: minmax(16rem, 0.46fr) minmax(0, 1.54fr);
    gap: 1rem;
    align-items: stretch;
}

.contact-map-copy h3 {
    margin: 0;
    color: #11131a;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.contact-map-copy p {
    margin: 0.7rem 0 1rem;
    color: #5d6678;
    font-size: 0.96rem;
    line-height: 1.55;
}

.contact-map-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(17, 19, 26, 0.12);
    color: #11131a;
    font-weight: 700;
    background: #f7f8fa;
}

.contact-map-link:hover,
.contact-map-link:focus-visible {
    background: #eef1f5;
    border-color: rgba(17, 19, 26, 0.18);
}

.contact-map-card {
    padding: 0.8rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(17, 19, 26, 0.08);
    box-shadow: 0 8px 24px rgba(17, 19, 26, 0.05);
}

.contact-map-card iframe {
    display: block;
    width: 100%;
    min-height: 21rem;
    height: 100%;
    border: 0;
    border-radius: 10px;
}

.pronajem-page {
    background:
        linear-gradient(180deg, #090a0e 0, #11131a 7.5rem, #edf0f5 7.5rem, #f4f5f8 20rem, #f4f5f8 100%);
}

.pronajem-hero {
    padding-top: 3rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 1rem, #edf0f5 1rem, #f4f5f8 100%);
}

.pronajem-machine-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 1.5rem;
}

.pronajem-machine-card {
    display: grid;
    grid-template-columns: 1fr;
    align-self: start;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    background: #fff;
    border: 1px solid rgba(17, 19, 26, 0.08);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(17, 19, 26, 0.06);
    overflow: hidden;
}

.pronajem-machine-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    max-width: 100%;
    height: 13.5rem;
    padding: 0.35rem 0.45rem 0.25rem;
    background: linear-gradient(180deg, #f8f9fc 0%, #eef1f5 100%);
    overflow: hidden;
}

.pronajem-machine-media img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    min-height: 0;
    min-width: 0;
    flex: 0 1 auto;
    object-fit: contain;
    object-position: center;
}

.pronajem-machine-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    padding: 1rem 1rem 0.95rem;
}

.pronajem-machine-body > * {
    min-width: 0;
    max-width: 100%;
}

.pronajem-machine-body h2 {
    margin: 0;
    color: #11131a;
    font-size: clamp(1.45rem, 1.8vw, 1.9rem);
    line-height: 1;
    letter-spacing: -0.03em;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.pronajem-machine-body .service-form-eyebrow {
    color: rgba(17, 19, 26, 0.32);
    font-size: 0.78rem;
    letter-spacing: 0.11em;
}

.pronajem-machine-copy {
    margin-top: 0.65rem;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.pronajem-machine-copy p {
    margin: 0;
    color: var(--muted-dark);
    font-size: 0.88rem;
    line-height: 1.5;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.pronajem-machine-copy p + p {
    margin-top: 0.55rem;
}

.pronajem-machine-facts {
    list-style: none;
    margin: 0.8rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    min-width: 0;
    max-width: 100%;
}

.pronajem-machine-facts li {
    padding: 0.55rem 0.65rem 0.6rem;
    border-radius: 12px;
    background: #f9fafc;
    border: 1px solid rgba(17, 19, 26, 0.08);
    min-width: 0;
}

.pronajem-machine-facts span {
    display: block;
    margin-bottom: 0.18rem;
    color: rgba(17, 19, 26, 0.52);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pronajem-machine-facts strong {
    display: block;
    color: #11131a;
    font-size: 0.84rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.pronajem-machine-action {
    margin-top: auto;
    padding-top: 0.7rem;
}

.pronajem-machine-action .btn {
    padding: 0.72rem 1.15rem;
    font-size: 0.9rem;
    gap: 0.7rem;
}

.contact-form .form-field > span,
.contact-form .consent-check span {
    color: #fff;
}

.contact-form .client-switch span,
.contact-form .form-note {
    color: rgba(255, 255, 255, 0.78);
}

.contact-form .form-field input,
.contact-form .form-field select,
.contact-form .form-field textarea {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.contact-form .form-field input::placeholder,
.contact-form .form-field select::placeholder,
.contact-form .form-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.contact-form .form-field input:focus,
.contact-form .form-field select:focus,
.contact-form .form-field textarea:focus {
    box-shadow: 0 0 0 4px rgba(244, 45, 50, 0.18);
}

.contact-form .form-field select {
    color-scheme: dark;
}

.contact-form .form-field select option {
    color: #11131a;
    background: #fff;
}

.contact-consent {
    margin-top: 1rem;
}

.site-footer {
    padding: 0 0 2.5rem;
    background: #f4f5f8;
}

.footer-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(17, 19, 26, 0.08);
}

.footer-brand {
    font-size: 1rem;
    color: #11131a;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    color: #6b7182;
    font-size: 0.96rem;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .nav-shell {
        grid-template-columns: auto auto;
        gap: 1rem;
        min-height: 0;
    }

    .nav-shell::after {
        display: none;
    }

    .nav-panel {
        grid-column: 1 / -1;
        justify-content: flex-start;
        margin-top: 0.85rem;
        padding: 0.95rem 1.2rem 1rem;
        border-radius: 12px;
        background: #262c38;
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: none;
    }



    .nav-primary {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: stretch;
        padding: 0;
        gap: 0;
        border-radius: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        backdrop-filter: none;
    }

    .nav-primary::before {
        display: none;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        width: 100%;
        margin: 0;
        border-radius: 0;
        padding-left: 0;
        padding-right: 0;
        padding-top: 0.85rem;
        padding-bottom: 0.85rem;
        font-size: 1.02rem;
        transform: none;
        text-shadow: none;
        text-align: left;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link:focus,
    .nav-link:focus-visible,
    .nav-link:active,
    .nav-link[aria-current="page"] {
        background: transparent;
        color: #fff;
    }

    .nav-item + .nav-item::before {
        display: none;
    }

    .hero-layout {
        min-height: auto;
        padding-top: 10.55rem;
        padding-bottom: 0.1rem;
    }

    .overview-section {
        margin-top: -10.55rem;
    }

    .process-layout {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .flooring-overview,
    .service-form-grid,
    .pronajem-machine-card {
        grid-template-columns: 1fr;
    }

    .contact-card {
        grid-template-columns: 1fr;
    }

    .contact-page-layout,
    .contact-map-panel {
        grid-template-columns: 1fr;
    }

    .pronajem-machine-media img {
        min-height: 0;
    }

    .pronajem-machine-grid {
        grid-template-columns: 1fr;
    }

    .lite-podlahy-page {
        padding-top: 8rem;
    }

    .contact-section-page {
        padding-top: 7.75rem;
        background: linear-gradient(180deg, #202531 0, #edf0f5 7.5rem, #f4f5f8 100%);
    }

    .contact-page-intro p {
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .hero-shell {
        min-height: auto;
    }

    .logo-mark {
        width: 176px;
    }

    .hero-layout {
        padding-top: 6.5rem;
        padding-bottom: 4.5rem;
    }

    .hero-copy h1 {
        max-width: none;
        font-size: clamp(2.7rem, 14vw, 4.5rem);
    }

    .hero-lead,
    .section-heading p,
    .overview-card p,
    .service-card p,
    .process-card p,
    .detail-panel p,
    .plain-list,
    .contact-copy p,
    .footer-links {
        font-size: 1rem;
    }

    .overview-section {
        margin-top: -3.5rem;
    }

    .overview-card,
    .service-card,
    .process-card,
    .detail-panel,
    .contact-card {
        padding: 1.5rem;
    }

    .flooring-highlight-card,
    .flooring-summary-card,
    .service-form-panel,
    .pronajem-machine-body {
        padding: 1.5rem;
    }

    .calc-result-grid,
    .form-grid,
    .form-grid-two,
    .inline-calc-grid,
    .pronajem-machine-facts {
        grid-template-columns: 1fr;
    }

    .invoice-lookup-row,
    .inline-calc-header {
        grid-template-columns: 1fr;
        display: grid;
    }

    .choice-group {
        flex-direction: column;
    }

    .choice-pill span,
    .invoice-fetch-button,
    .quote-submit {
        width: 100%;
    }

    .hero-actions,
    .contact-actions,
    .footer-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn {
        width: 100%;
        justify-content: space-between;
    }

    .footer-layout {
        flex-direction: column;
        align-items: flex-start;
    }

    .lite-podlahy-page {
        padding-top: 7rem;
    }

    .contact-section-page {
        padding-top: 6.8rem;
        background: linear-gradient(180deg, #202531 0, #edf0f5 6.6rem, #f4f5f8 100%);
    }

    .contact-page-intro h2 {
        font-size: clamp(2rem, 11vw, 2.9rem);
    }

    .contact-form-wrap.contact-form-wrap-page,
    .contact-map-copy,
    .contact-map-card {
        padding: 1rem;
        border-radius: 12px;
    }

    .contact-quick-card {
        padding: 0.9rem 1rem;
    }

    .contact-map-card iframe {
        min-height: 16rem;
    }
}
