/* style.css - Moderní responzivní design pro REDAKO s.r.o. (čisté HTML + CSS) */
:root {
    --primary: #0b2545;
    --primary-light: #13315c;
    --accent: #1d63b8;
    --accent-hover: #154d91;
    --bg: #f4f7fb;
    --card: #ffffff;
    --text: #1e293b;
    --muted: #64748b;
    --border: #e2e8f0;
    --radius: 14px;
    --shadow: 0 10px 28px rgba(11, 37, 69, 0.07);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

/* Celostránkový obrázek na pozadí přes celé okno */
.page-bg-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: #0b2545;
}
.page-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.04);
    will-change: transform, opacity;
}
@media (max-width: 768px) {
    .page-bg-img {
        object-position: 72% center;
    }
}
.page-bg-img-active {
    z-index: 1;
    opacity: 1;
}
.page-bg-img-next {
    z-index: 2;
    opacity: 0;
    transition: opacity 1.3s ease-in-out;
}
.page-bg-img-next.is-visible {
    opacity: 1;
}
.page-bg-overlay {
    display: none;
}
header.navbar,
main.container,
footer {
    position: relative;
}
main.container,
footer {
    z-index: 1;
}
header.navbar {
    position: sticky;
    top: 0;
    z-index: 999;
}
@media (prefers-reduced-motion: reduce) {
    .page-bg-img {
        transition: none;
        transform: none;
    }
}

/* Navigace */
.navbar {
    background: linear-gradient(135deg, #0b2545 0%, #13315c 62%, #133866 100%);
    color: #fff;
    padding: 6px 20px;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 6px 18px rgba(11, 37, 69, 0.24);
}
.navbar-inner {
    max-width: 1140px;
    margin: 0 auto;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 24px;
}
.nav-contact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-left: 0;
    border-left: none;
    flex-shrink: 0;
}
.nav-contact a.nav-phone {
    color: #08203d;
    background: #64b5f6;
    border: none;
    padding: 7px 13px;
    border-radius: 9px;
    font-size: 16.5px;
    font-weight: 800;
    letter-spacing: 0.2px;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-shadow: none;
    transition: background 0.15s, transform 0.1s;
}
.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #08203d;
}
.nav-icon svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.nav-contact a.nav-phone:hover {
    background: #81c7f8;
    text-decoration: none;
}
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s, border-color 0.15s;
}
.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.45);
}
.nav-toggle svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 960px) {
    .navbar {
        padding: 8px 14px;
    }
    .navbar-inner {
        flex-wrap: wrap;
        gap: 10px;
        min-height: 52px;
    }
    .brand-logo {
        height: 40px !important;
        min-height: 40px !important;
    }
    .nav-toggle {
        display: inline-flex;
        order: 2;
    }
    .nav-contact {
        border-left: none;
        padding-left: 0;
        margin-left: auto;
        order: 1;
    }
    .nav-contact a.nav-phone {
        padding: 6px 11px;
        font-size: 14.5px;
        gap: 6px;
    }
    .nav-right {
        display: none;
        flex-basis: 100%;
        width: 100%;
        order: 3;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.16);
    }
    .navbar.is-open .nav-right {
        display: block;
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        margin: 0;
        gap: 4px;
        width: 100%;
    }
    .nav-links a {
        padding: 11px 14px;
        font-size: 16px;
        border-radius: 9px;
        width: 100%;
    }
}
/* Logo v záhlaví a zápatí */
.brand {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    padding: 4px 0;
    flex-shrink: 0;
}
.brand-logo {
    height: 46px !important;
    min-height: 46px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain;
    display: block;
}
.footer-logo {
    height: 50px !important;
    min-height: 50px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain;
    display: block;
    margin-bottom: 12px;
}
.brand-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.6px;
    line-height: 1.1;
}
.brand-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    flex-wrap: wrap;
}
.nav-links a {
    color: #90caf9;
    text-decoration: none;
    padding: 9px 15px;
    border-radius: 9px;
    font-size: 16.5px;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}
.nav-links a:hover {
    background: rgba(144, 202, 249, 0.14);
    color: #cbe7ff;
}
.nav-links a.active {
    position: relative;
    background: transparent;
    color: #64b5f6;
    font-weight: 700;
    box-shadow: none;
}
.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: #64b5f6;
}
.nav-links a.nav-cta,
.nav-links a.nav-cta:hover {
    background: transparent;
    color: #90caf9;
}
.nav-links a.nav-cta:hover {
    background: rgba(144, 202, 249, 0.14);
    color: #cbe7ff;
}
.nav-links a.nav-cta.active {
    background: transparent;
    color: #64b5f6;
    box-shadow: none;
}

/* Kontejner */
.container {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    padding: 36px 20px;
    flex: 1;
}

/* Úvodní text přímo nad celostránkovým obrázkem bez bubliny a bez trhaného pohybu */
.hero {
    position: relative;
    width: 100%;
    color: #fff;
    min-height: 540px;
    padding: 150px 0 64px;
    margin-bottom: 140px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: left;
}
.hero-text {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 760px;
    margin-left: 0;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
}

.hero-kicker {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: #e3f2fd;
    margin: 0 0 12px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.98), 0 6px 24px rgba(0, 0, 0, 0.95), 0 0 42px rgba(0, 0, 0, 0.9);
}
.hero h1 {
    margin: 0 0 16px;
    font-size: 38px;
    line-height: 1.16;
    color: #7cc4fa;
    font-weight: 800;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.48), 0 4px 14px rgba(0, 0, 0, 0.34);
}
.hero p {
    margin: 0 0 28px;
    font-size: 17.5px;
    line-height: 1.6;
    color: #ffffff;
    font-weight: 500;
    max-width: 660px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.98), 0 6px 24px rgba(0, 0, 0, 0.96), 0 0 44px rgba(0, 0, 0, 0.92);
}
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
@media (max-width: 900px) {
    .hero {
        min-height: 440px;
        padding: 96px 4px 48px;
        margin-bottom: 105px;
    }
    .hero h1 {
        font-size: 30px;
    }
}
@media (max-width: 640px) {
    .hero {
        min-height: 390px;
        padding: 76px 0 40px;
        margin-bottom: 85px;
    }
    .hero h1 {
        font-size: 25px;
    }
    .hero p {
        font-size: 15.5px;
    }
}

/* Tlačítka */
.btn {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover {
    background: var(--accent-hover);
}
.btn-white {
    background: #fff;
    color: var(--primary);
}
.btn-white:hover {
    background: #f1f5f9;
}
.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.65);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
}

/* Mřížky a karty */
.section-title {
    font-size: 38px;
    line-height: 1.16;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 10px;
}
@media (max-width: 900px) {
    .section-title {
        font-size: 30px;
    }
}
@media (max-width: 640px) {
    .section-title {
        font-size: 25px;
    }
}
.section-sub {
    color: var(--muted);
    margin: 0 0 26px;
    font-size: 15px;
}
.has-full-bg .section-title {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85), 0 0 22px rgba(0, 0, 0, 0.65);
}
.has-full-bg .section-sub {
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 0 20px rgba(0, 0, 0, 0.65);
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}
#o-nas .grid-3 {
    margin-bottom: 8px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 36px;
}
@media (max-width: 960px) {
    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 680px) {
    .grid-3,
    .grid-2 {
        grid-template-columns: minmax(0, 1fr);
    }
}
.card {
    background: rgba(255, 255, 255, 0.94);
    border-radius: var(--radius);
    padding: 28px 20px;
    box-shadow: var(--shadow);
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    width: 100%;
    max-width: 310px;
    justify-self: center;
}
.grid-2 .card {
    max-width: 440px;
}
.card-icon {
    font-size: 32px;
    margin-bottom: 12px;
    line-height: 1.2;
}
.card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.3;
    color: var(--primary);
}
.card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 16px;
}
.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}
.check-list li {
    padding: 5px 0 5px 24px;
    position: relative;
    font-size: 14px;
    color: var(--text);
}
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 800;
}

/* Vozový park / Galerie – původní výška, užší bublina, obrázek až do kraje */
#vozovy-park .card {
    padding: 0;
    overflow: hidden;
}
#vozovy-park .card > div:first-child {
    display: flex;
    flex-direction: column;
    flex: 1;
}
#vozovy-park .card > div:first-child > :not(.vehicle-img) {
    padding-left: 20px;
    padding-right: 20px;
}
#vozovy-park .card > .btn {
    margin: 8px 20px 24px;
    padding: 13px 20px;
    font-size: 15px;
}
/* Akce v kartách vozového parku – pouze Rezervovat tento vůz */
.vehicle-card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 20px 24px;
    margin-top: 8px;
}
.vehicle-card-actions .btn {
    width: 100%;
    text-align: center;
    padding: 13px 18px;
    font-size: 15px;
}

/* Klikací obrázek vozidla se znakem galerie */
.vehicle-img-trigger {
    position: relative;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    display: block;
    text-align: left;
}
.vehicle-img-trigger img {
    transition: transform 0.28s ease, filter 0.22s ease;
}
.vehicle-img-trigger:hover img,
.vehicle-img-trigger:focus-visible img {
    transform: scale(1.03);
    filter: brightness(0.88);
}
.vehicle-img-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(11, 37, 69, 0.78);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.2px;
    pointer-events: none;
    transition: background 0.18s ease, transform 0.18s ease;
}
.vehicle-img-trigger:hover .vehicle-img-badge,
.vehicle-img-trigger:focus-visible .vehicle-img-badge {
    background: rgba(29, 99, 184, 0.94);
    transform: translateY(-1px);
}
.vehicle-img-badge svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* Čistá modální galerie – pouze obrázek se zaoblenými rohy a navigací */
.vehicle-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(7, 25, 48, 0.86);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.vehicle-modal.is-open {
    display: flex;
}
.vehicle-modal-dialog {
    position: relative;
    max-width: 920px;
    width: auto;
    max-height: 90vh;
    background: transparent;
    border-radius: var(--radius);
    overflow: visible;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vehicle-modal-stage {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 88vh;
    background: transparent;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.vehicle-modal-stage img {
    display: block;
    max-width: min(920px, calc(100vw - 48px));
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius);
}
.vehicle-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    background: rgba(11, 37, 69, 0.72);
    color: #ffffff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, transform 0.15s ease;
}
.vehicle-modal-close:hover {
    background: rgba(11, 37, 69, 0.94);
    transform: scale(1.05);
}
.vehicle-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(11, 37, 69, 0.72);
    color: #ffffff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, transform 0.15s ease;
}
.vehicle-modal-nav:hover {
    background: rgba(11, 37, 69, 0.94);
    transform: translateY(-50%) scale(1.05);
}
.vehicle-modal-prev { left: 12px; }
.vehicle-modal-next { right: 12px; }
@media (max-width: 640px) {
    .vehicle-modal {
        padding: 14px;
    }
    .vehicle-modal-stage img {
        max-width: calc(100vw - 28px);
        max-height: 84vh;
    }
    .vehicle-modal-nav {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }
    .vehicle-modal-close {
        width: 34px;
        height: 34px;
        font-size: 20px;
    }
}

.vehicle-img {
    width: 100%;
    height: 224px;
    border-radius: 0;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    display: block;
    margin: 0 0 18px 0;
    overflow: hidden;
    padding: 0;
}
.vehicle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.tag {
    display: inline-block;
    background: rgba(224, 237, 255, 0.68);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
    width: fit-content;
}

/* Výhody pruh */
.stats-bar {
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius);
    padding: 26px 30px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.stat-item strong {
    display: block;
    font-size: 22px;
    color: var(--accent);
    text-align: center;
}
.stat-item span {
    display: block;
    font-size: 14px;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

/* Formulář objednávky – plnohodnotné 2-sloupcové rozložení přes celou šířku kontejneru */
.quote-layout {
    display: grid;
    grid-template-columns: minmax(270px, 0.8fr) minmax(380px, 1.15fr);
    gap: 24px;
    align-items: stretch;
    max-width: 1020px;
    margin: 0 auto;
}

.quote-aside {
    background: linear-gradient(155deg, #0b2545 0%, #133969 58%, #1b4d89 100%);
    color: #ffffff;
    border-radius: var(--radius);
    padding: 32px 24px;
    box-shadow: 0 14px 32px rgba(11, 37, 69, 0.16);
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}

.quote-badge {
    display: inline-block;
    background: rgba(100, 181, 246, 0.18);
    color: #90caf9;
    border: 1px solid rgba(144, 202, 249, 0.35);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
    width: fit-content;
}

.quote-aside h3 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.25;
    color: #ffffff;
}

.quote-aside-lead {
    margin: 0 0 22px;
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.86);
}

.quote-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quote-steps li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.quote-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #64b5f6;
    color: #08203d;
    font-weight: 800;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.quote-steps strong {
    display: block;
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 2px;
}

.quote-steps span {
    display: block;
    font-size: 13.5px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.8);
}

.quote-fast-contact {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 12px;
    padding: 18px 18px;
}

.quote-fast-label {
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #90caf9;
    font-weight: 700;
    margin-bottom: 6px;
}

.quote-fast-phone {
    display: inline-block;
    font-size: 21px;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 4px;
}

.quote-fast-phone:hover {
    color: #90caf9;
}

.quote-fast-mail {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.82);
}

.quote-fast-mail a {
    color: #90caf9;
    text-decoration: none;
    font-weight: 600;
}

.form-card {
    width: 100%;
    max-width: none;
    margin: 0;
    background: rgba(255, 255, 255, 0.96);
    padding: 32px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: none;
}

.form-card-header {
    margin-bottom: 6px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.form-card-header h3 {
    margin: 0 0 4px;
    font-size: 21px;
    color: var(--primary);
}

.form-card-header p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

@media (max-width: 900px) {
    .quote-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .quote-aside,
    .form-card {
        padding: 24px 20px;
    }
}
.row { display: flex; gap: 16px; }
.row > div { flex: 1; }
@media (max-width: 640px) { .row { flex-direction: column; gap: 0; } }

label {
    display: block;
    font-weight: 600;
    margin: 14px 0 6px;
    font-size: 14px;
    color: var(--primary);
}
input, select, textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    color: var(--text);
}
input::placeholder, textarea::placeholder {
    color: #cbd5e1;
}
input[type="date"],
input[type="date"]:invalid {
    color: #cbd5e1;
}
input[type="date"].has-value,
input[type="date"]:required:valid {
    color: var(--text);
}
input[type="date"]::-webkit-datetime-edit,
input[type="date"]::-webkit-datetime-edit-fields-wrapper,
input[type="date"]::-webkit-datetime-edit-text,
input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field,
input[type="date"]:invalid::-webkit-datetime-edit,
input[type="date"]:invalid::-webkit-datetime-edit-fields-wrapper,
input[type="date"]:invalid::-webkit-datetime-edit-text,
input[type="date"]:invalid::-webkit-datetime-edit-month-field,
input[type="date"]:invalid::-webkit-datetime-edit-day-field,
input[type="date"]:invalid::-webkit-datetime-edit-year-field {
    color: #cbd5e1;
}
input[type="date"].has-value::-webkit-datetime-edit,
input[type="date"].has-value::-webkit-datetime-edit-fields-wrapper,
input[type="date"].has-value::-webkit-datetime-edit-text,
input[type="date"].has-value::-webkit-datetime-edit-month-field,
input[type="date"].has-value::-webkit-datetime-edit-day-field,
input[type="date"].has-value::-webkit-datetime-edit-year-field,
input[type="date"]:required:valid::-webkit-datetime-edit,
input[type="date"]:required:valid::-webkit-datetime-edit-fields-wrapper,
input[type="date"]:required:valid::-webkit-datetime-edit-text,
input[type="date"]:required:valid::-webkit-datetime-edit-month-field,
input[type="date"]:required:valid::-webkit-datetime-edit-day-field,
input[type="date"]:required:valid::-webkit-datetime-edit-year-field {
    color: var(--text);
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(29, 99, 184, 0.14);
}

.alert-ok { background: rgba(220, 252, 231, 0.85); color: #166534; padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 500; border: 1px solid #bbf7d0; }
.alert-err { background: rgba(254, 226, 226, 0.9); color: #991b1b; padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 500; border: 1px solid #fecaca; }

/* CTA banner */
.cta-box {
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    padding: 32px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.cta-box h3 {
    margin: 0 0 6px;
    font-size: 22px;
}
.cta-box p {
    margin: 0;
    color: rgba(255,255,255,0.85);
    font-size: 15px;
}

/* Patička */
footer {
    background: #071930;
    color: rgba(255,255,255,0.75);
    padding: 28px 20px;
    font-size: 14px;
    margin-top: 24px;
}
.footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: flex-end;
    gap: 24px 36px;
}
.footer-contact {
    text-align: left;
    justify-self: center;
}
.footer-copy {
    text-align: right;
    justify-self: end;
}
@media (max-width: 820px) {
    .footer-inner {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }
    .footer-contact {
        text-align: left;
        justify-self: start;
    }
    .footer-copy {
        text-align: left;
        justify-self: start;
    }
}
footer a {
    color: #fff;
    text-decoration: none;
}


/* One-page plynulé rolování a odsazení sekcí pod fixní lištou */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

section[id] {
    scroll-margin-top: 92px;
}

.page-section {
    padding-top: 24px;
    padding-bottom: 18px;
}

.page-section + .page-section {
    margin-top: 22px;
}

.section-heading-accent {
    color: #7cc4fa !important;
    text-shadow: none !important;
}

.content-blue-zone .section-title,
.content-blue-zone .section-sub {
    text-shadow: none !important;
}

.btn-select-vehicle {
    cursor: pointer;
}


/* Rozdělení: úvodní hero sekce má obrázek na pozadí, ostatní sekce čisté modré pozadí */
body.has-full-bg {
    background: linear-gradient(180deg, #0b2545 0%, #10325c 35%, #133b6e 72%, #0d2b52 100%);
}

.page-bg-wrap {
    transition: opacity 0.55s ease;
}

body.is-past-hero .page-bg-wrap {
    opacity: 0;
}

.container {
    max-width: none;
    padding: 0;
}

.hero {
    max-width: 1140px;
    margin: 0 auto 0 auto;
    min-height: calc(100vh - 70px);
    padding: 120px 20px 76px;
}

.content-blue-zone {
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, #1b4d89 0%, #2460a7 52%, #1d5496 100%);
    border-top: 1px solid rgba(144, 202, 249, 0.35);
    box-shadow: 0 -18px 44px rgba(7, 25, 48, 0.45);
    padding: 44px 0 64px;
}

.content-blue-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-blue-zone .card {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
}

.content-blue-zone .form-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
}

footer {
    margin-top: 0;
    border-top: 1px solid rgba(124, 196, 250, 0.18);
}

@media (max-width: 900px) {
    .hero {
        min-height: calc(100svh - 68px);
        padding: 96px 20px 64px;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: calc(100svh - 68px);
        padding: 64px 20px 52px;
    }
    .content-blue-zone {
        padding: 28px 0 16px;
    }
}


/* Samostatná bílá zóna pro sekci Poptávka – jasné oddělení sekcí */
.content-white-zone {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-top: 1px solid #dce6f2;
    border-bottom: 1px solid #dce6f2;
    box-shadow: 0 -8px 24px rgba(11, 37, 69, 0.07);
    padding: 40px 0 28px;
}

.content-white-zone .section-title,
.content-white-zone .section-heading-accent {
    color: #0b2545 !important;
    text-shadow: none !important;
}

.content-white-zone .section-sub {
    color: #475569 !important;
    text-shadow: none !important;
}

.content-white-zone .form-card {
    background: #f8fbff;
    border: none;
    box-shadow: 0 10px 26px rgba(11, 37, 69, 0.07);
}

/* Zóna pro sekci Kontakt v příjemné světlé modré barvě */
.content-light-blue-zone {
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, #d7eafa 0%, #e4f1fc 52%, #cfe5f8 100%);
    border-top: 1px solid rgba(29, 99, 184, 0.22);
    box-shadow: 0 -10px 28px rgba(11, 37, 69, 0.12);
    padding: 40px 0 28px;
}

.content-light-blue-zone .section-title,
.content-light-blue-zone .section-heading-accent {
    color: #0b2545 !important;
    text-shadow: none !important;
}

.content-light-blue-zone .section-sub {
    color: #334e68 !important;
    text-shadow: none !important;
}

.content-light-blue-zone .card {
    background: rgba(255, 255, 255, 0.92);
    border: none;
    box-shadow: 0 10px 26px rgba(11, 37, 69, 0.08);
}


/* Odlišená zóna pro sekci Vozový park – střední ocelově/azurově modrá mezi tmavou a světlou zónou */
.content-fleet-zone {
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, #1c1f24 0%, #252930 52%, #181a1f 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(0, 0, 0, 0.35);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.35);
    padding: 40px 0 28px;
}

.content-fleet-zone .section-title,
.content-fleet-zone .section-heading-accent {
    color: #e3f2fd !important;
    text-shadow: 0 2px 8px rgba(7, 25, 48, 0.55) !important;
}

.content-fleet-zone .section-sub {
    color: rgba(255, 255, 255, 0.92) !important;
    text-shadow: 0 1px 6px rgba(7, 25, 48, 0.45) !important;
}

.content-fleet-zone .card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: 0 12px 30px rgba(7, 25, 48, 0.18);
}

@media (max-width: 640px) {
    .content-fleet-zone,
    .content-white-zone {
        padding: 28px 0 18px;
    }
    .content-light-blue-zone {
        padding: 32px 0 22px;
    }
}


/* Samotná mapa bez bílé bubliny a textů kolem */
.map-only {
    width: 100%;
    height: 240px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(11, 37, 69, 0.12);
    border: 1px solid rgba(29, 99, 184, 0.24);
    margin-bottom: 0;
    background: #e2eef9;
}

.map-only iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 640px) {
    .map-only {
        height: 200px;
    }
}

/* Čisté kontaktní a fakturační údaje bez bublin (rámečků/pozadí kartiček) */
.contact-plain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px 44px;
    margin-bottom: 28px;
    padding: 4px 0;
}

.contact-plain-col h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #0b2545;
}

.contact-plain-col p {
    margin: 0 0 10px;
    font-size: 15.5px;
    line-height: 1.65;
    color: #1e293b;
}

.contact-plain-col a {
    color: #154d91;
    font-weight: 600;
    text-decoration: none;
}

.contact-plain-col a:hover {
    text-decoration: underline;
}

.contact-item-block {
    margin-bottom: 18px;
}

.contact-item-label,
.contact-plain-col h3.contact-section-heading {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: normal;
    color: #64748b;
    margin: 0 0 2px;
    line-height: 1.35;
}

.contact-plain-col h3.contact-section-heading {
    margin-bottom: 8px;
}

.contact-plain-col a.contact-item-value {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 17.5px;
    font-weight: 600;
    line-height: 1.35;
    color: #0b2545;
    text-decoration: none;
}

.contact-plain-col a.contact-item-value:hover {
    color: #154d91;
    text-decoration: underline;
}

.contact-value-icon {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #154d91;
    transition: transform 0.15s ease, color 0.15s ease;
}

.contact-value-icon svg {
    width: 19px;
    height: 19px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-plain-col a.contact-item-value:hover .contact-value-icon {
    color: #0b2545;
    transform: translateX(1px);
}

@media (max-width: 640px) {
    .contact-item-label,
    .contact-plain-col h3.contact-section-heading {
        font-size: 13.5px;
        line-height: 1.35;
    }
    .contact-plain-col a.contact-item-value {
        font-size: 16.5px;
        line-height: 1.35;
    }
    .contact-value-icon,
    .contact-value-icon svg {
        width: 17px;
        height: 17px;
    }
}

/* Sjednocení vyplnění obrázků na kartách vozového parku */
#vozovy-park .vehicle-img {
    height: 224px;
    width: 100%;
    padding: 0;
    margin: 0 0 18px 0;
}
#vozovy-park .vehicle-img-trigger {
    width: 100%;
    height: 100%;
    display: block;
    padding: 0;
}
#vozovy-park .vehicle-img-trigger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* v30.12: Jemný přechod pod sekcí O nás a služby + horní obrázkové sloty v kartách služeb */
.content-blue-zone {
    background: linear-gradient(
        180deg,
        #18457c 0%,
        #1e5291 58%,
        #224c7d 82%,
        #1d2633 100%
    );
    border-top: 1px solid rgba(144, 202, 249, 0.35);
    box-shadow: 0 -18px 44px rgba(7, 25, 48, 0.45);
    padding: 40px 0 24px;
}

.card.card--service {
    padding: 0 0 24px;
    overflow: hidden;
}

.card.card--service > div:first-child {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card.card--service > div:first-child > :not(.service-media-slot) {
    padding-left: 20px;
    padding-right: 20px;
}

.card.card--service > .btn {
    margin: 8px 20px 0;
}

.service-media-slot {
    width: 100%;
    height: 158px;
    margin: 0 0 18px 0;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #0b2545 0%, #1d63b8 100%);
    position: relative;
}

.service-media-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* v30.13: Roztažení dvou horních bublin na šířku spodní 3-sloupcové mřížky + živější pozadí bublin v sekci O nás */
#o-nas .grid-2.grid-2--full {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 680px) {
    #o-nas .grid-2.grid-2--full {
        grid-template-columns: minmax(0, 1fr);
    }
}

#o-nas .card.card--intro,
#o-nas .card.card--service {
    max-width: none;
    width: 100%;
    justify-self: stretch;
    background:
        radial-gradient(circle at 92% 8%, rgba(100, 181, 246, 0.22) 0%, rgba(100, 181, 246, 0) 44%),
        radial-gradient(circle at 8% 92%, rgba(29, 99, 184, 0.12) 0%, rgba(29, 99, 184, 0) 48%),
        linear-gradient(160deg, #ffffff 0%, #f6faff 56%, #ebf3fc 100%);
    border: none;
    box-shadow: 0 14px 32px rgba(7, 25, 48, 0.20);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

#o-nas .card.card--intro:hover,
#o-nas .card.card--service:hover {
    transform: translateY(-3px);
    box-shadow:
        0 18px 38px rgba(7, 25, 48, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

#o-nas .card.card--intro {
    padding: 28px 26px;
}

#o-nas .card.card--intro h3 {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 14px;
}

#o-nas .card.card--intro h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent) 0%, #64b5f6 100%);
}

/* v30.14: Dva horní bloky v sekci O nás úplně bez bublin – pouze čistý text přímo na pozadí sekce */
#o-nas .o-nas-plain-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 44px;
    margin-bottom: 36px;
    padding: 6px 0;
}

@media (max-width: 680px) {
    #o-nas .o-nas-plain-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
}

#o-nas .o-nas-plain-col {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    color: #ffffff;
}

#o-nas .o-nas-plain-col h3 {
    position: relative;
    margin: 0 0 14px;
    padding-bottom: 10px;
    font-size: 21px;
    line-height: 1.3;
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(7, 25, 48, 0.35);
}

#o-nas .o-nas-plain-col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #90caf9 0%, #64b5f6 100%);
}

#o-nas .o-nas-plain-col p {
    margin: 0 0 14px;
    font-size: 15.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 1px 4px rgba(7, 25, 48, 0.25);
}

#o-nas .o-nas-plain-col strong {
    color: #ffffff;
}

#o-nas .o-nas-plain-list li {
    color: rgba(255, 255, 255, 0.94);
    font-size: 15px;
    padding: 5px 0 5px 24px;
    text-shadow: 0 1px 4px rgba(7, 25, 48, 0.25);
}

#o-nas .o-nas-plain-list li::before {
    color: #90caf9;
}
