/* public/assets/css/modules/homepage.css */

#main-content > section,
#main-content > .section-services,
#main-content > .section-about-premium {
    position: relative;
    scroll-margin-top: calc(var(--header-height, 121px) + 20px);
}

#main-content > section + section,
#main-content > section + .section-services,
#main-content > .section-services + section {
    border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.home-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.75rem;
    flex-wrap: wrap;
}

.home-section-copy-wrap {
    max-width: 760px;
}

.home-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(0, 155, 58, 0.08);
    border: 1px solid rgba(0, 155, 58, 0.15);
    color: var(--fl-green-primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--fl-heading, #3C3939);
    margin: 0.95rem 0 0;
}

.home-section-title .title-em,
.live-title-group h2 .title-em,
.location-map-title .title-em,
.home-section-note .title-em,
.services-main-title span {
    color: var(--fl-heading-accent, #16A34A);
    background: none;
    -webkit-text-fill-color: var(--fl-heading-accent, #16A34A);
    white-space: nowrap;
}

.home-section-copy {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.75;
    margin: 0.9rem 0 0;
    max-width: 700px;
}

.home-section-meta {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.home-section-note {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(226, 232, 240, 0.95);
    color: #475569;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 20px 30px -28px rgba(15, 23, 42, 0.28);
}

.home-section-note i {
    color: var(--fl-green-primary);
}

.section-live,
.section-services,
.section-transport,
.section-terminal-map,
.section-marketing,
.section-reviews-home,
.section-news {
    padding-top: 90px !important;
    padding-bottom: 90px !important;
}

/* Hierarchie homepage: provoz nahoře, zbytek lehčí */
#main-content > .section-live,
#main-content > .section-transport {
    padding-top: 96px !important;
    padding-bottom: 88px !important;
}

#main-content > .section-services {
    padding-top: 84px !important;
    padding-bottom: 84px !important;
}

#main-content > .section-news,
#main-content > .section-location-map,
#main-content > .section-reviews-home {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
}

#main-content > .section-reviews-home {
    background: #f8fafc;
}

#main-content > .section-reviews-home .home-section-title {
    font-size: clamp(1.55rem, 3vw, 2.1rem);
}

#main-content > .section-reviews-home .home-section-copy {
    font-size: 0.95rem;
}

/* Homepage aktuality: editorial board (bez falešných fotokaret) */
.section-news {
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.home-news-board {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 1.5rem 2rem;
    align-items: stretch;
}

.home-news-feature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.75rem 1.85rem 1.65rem;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-left: 4px solid var(--fl-green-primary, var(--fl-green-primary));
    border-radius: 4px 22px 22px 4px;
    box-shadow: 0 18px 40px -34px rgba(15, 23, 42, 0.35);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.home-news-feature--provoz {
    border-left-color: #dc2626;
}

.home-news-feature--dopravci {
    border-left-color: #2563eb;
}

.home-news-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 44px -30px rgba(15, 23, 42, 0.4);
}

.home-news-feature-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
}

.home-news-cat {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--fl-green-primary, var(--fl-green-primary));
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-news-feature--provoz .home-news-cat {
    color: #b91c1c;
}

.home-news-feature--dopravci .home-news-cat {
    color: #1d4ed8;
}

.home-news-date {
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 700;
}

.home-news-feature-title {
    font-family: var(--font-heading, 'Sora', 'Plus Jakarta Sans', sans-serif);
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--fl-dark-deep, #0f172a);
    margin: 0;
}

.home-news-feature-excerpt {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-news-more {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: auto;
    padding-top: 0.35rem;
    color: var(--fl-green-primary, var(--fl-green-primary));
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-news-feature:hover .home-news-more i {
    transform: translateX(3px);
}

.home-news-more i {
    transition: transform 0.22s ease;
}

.home-news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 40px -34px rgba(15, 23, 42, 0.28);
}

.home-news-list > li + li {
    border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.home-news-row {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr) 1.5rem;
    gap: 0.85rem;
    align-items: center;
    padding: 1.05rem 1.15rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}

.home-news-row:hover {
    background: rgba(0, 155, 58, 0.04);
}

.home-news-row-date {
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-news-row-main {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    min-width: 0;
}

.home-news-row-cat {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fl-green-primary, var(--fl-green-primary));
}

.home-news-row-cat--provoz {
    color: #b91c1c;
}

.home-news-row-cat--dopravci {
    color: #1d4ed8;
}

.home-news-row-title {
    font-family: var(--font-heading, 'Sora', 'Plus Jakarta Sans', sans-serif);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--fl-dark-deep, #0f172a);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-news-row-go {
    color: #cbd5e1;
    font-size: 0.95rem;
    text-align: right;
    transition: color 0.2s ease, transform 0.2s ease;
}

.home-news-row:hover .home-news-row-go {
    color: var(--fl-green-primary, var(--fl-green-primary));
    transform: translateX(2px);
}

@media (max-width: 991px) {
    .home-news-board {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }
}

@media (max-width: 575px) {
    .home-news-feature {
        padding: 1.35rem 1.25rem 1.25rem;
        border-radius: 4px 18px 18px 4px;
    }

    .home-news-row {
        grid-template-columns: minmax(0, 1fr) 1.25rem;
        gap: 0.65rem;
        padding: 0.95rem 1rem;
    }

    .home-news-row-date {
        grid-column: 1 / -1;
        margin-bottom: -0.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-news-feature,
    .home-news-more i,
    .home-news-row-go {
        transition: none;
    }

    .home-news-feature:hover {
        transform: none;
    }
}

.home-section-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.95rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.92);
    color: var(--fl-dark-deep);
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 20px 34px -28px rgba(15, 23, 42, 0.35);
}

.home-section-cta:hover {
    transform: translateY(-2px);
    color: var(--fl-dark-deep);
    border-color: rgba(0, 155, 58, 0.26);
    box-shadow: 0 24px 40px -28px rgba(15, 23, 42, 0.36);
}

.hero-section {
    min-height: 520px;
    height: min(560px, calc(100vh - 72px));
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 24%, transparent 78%, rgba(255, 255, 255, 0.03)),
        radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.08), transparent 24%);
    pointer-events: none;
    z-index: 2;
}

.hero-overlay {
    background:
        linear-gradient(108deg, rgba(5, 8, 17, 0.52), rgba(5, 8, 17, 0.16) 42%, rgba(5, 8, 17, 0.44) 100%),
        radial-gradient(circle at 18% 34%, rgba(0, 155, 58, 0.1), transparent 34%);
}

.infinite-track {
    animation-duration: 96s;
}

.hero-background-img {
    object-position: center bottom;
    filter: saturate(0.96) brightness(0.9) contrast(1.05);
}

.hero-img {
    width: 20vw;
    filter: saturate(0.98) brightness(0.94) contrast(1.03);
}

.hero-content {
    max-width: 720px;
}

.hero-news-link {
    gap: 0.8rem;
    padding: 9px 14px;
    margin-top: 1.1rem;
    background: rgba(15, 23, 42, 0.18);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 16px 24px -24px rgba(15, 23, 42, 0.44);
}

.hero-news-link-badge {
    padding: 5px 9px;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
}

.hero-news-link-copy {
    font-size: 0.88rem;
}

.hero-title {
    max-width: 18ch;
    margin-bottom: 0.85rem;
    font-size: clamp(2.35rem, 4.8vw, 3.5rem);
    letter-spacing: -0.05em;
    text-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.hero-text {
    max-width: 560px;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
}

.hero-action-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0 0 1.25rem;
}

.hero-primary-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.95rem 1.35rem;
    border-radius: 999px;
    background: var(--fl-green-rich-gradient);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 18px 30px -18px rgba(0, 155, 58, 0.64);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-primary-cta:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 22px 34px -16px rgba(0, 155, 58, 0.72);
}

.hero-secondary-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-weight: 700;
}

.hero-secondary-link:hover {
    color: #fff;
}

.hero-guide-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 0 0 1.1rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff !important;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.35;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-guide-link:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.34);
    color: #fff !important;
    transform: translateY(-1px);
}

.hero-guide-copy {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    min-width: 0;
    text-align: start;
}

.hero-guide-copy strong {
    font-weight: 900;
    letter-spacing: 0.01em;
}

.hero-guide-hint {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.search-container-glass {
    max-width: 860px;
    padding: 12px 14px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.68);
    box-shadow: 0 34px 64px -42px rgba(15, 23, 42, 0.52);
}

/* Našeptávač „KAM“ přetéká pod formulář; pill řádek pod ním má backdrop-filter a jinak by ho překryl */
.hero-section #main-search-form {
    position: relative;
    z-index: 25;
    margin-top: 0.75rem;
}

.hero-section #field-search {
    z-index: 2;
}

.search-glass-item {
    padding: 12px 22px;
}

.hero-section .sg-label,
.sg-label {
    margin-bottom: 0.35rem;
    color: #166534;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    text-transform: none;
}

.sg-input {
    font-size: 1rem;
}

.sg-btn {
    width: 58px;
    height: 58px;
    box-shadow: 0 16px 28px -16px rgba(0, 155, 58, 0.7);
}

/* BEGIN homepage live-board redesign (saved baseline in tmp/live-board-before-redesign). */
/* Hero search panel. */
#search-results-content .search-connection-time {
    font-family: var(--font-heading);
    font-variant-numeric: tabular-nums;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.045em;
    color: #163e27;
}

#search-results-content .search-connection-destination {
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 750;
    line-height: 1.25;
    color: var(--fl-dark-deep);
}

@media (max-width: 767.98px) {
    #search-results-content .search-connection-time { font-size: 1.15rem; }
    #search-results-content .search-connection-destination { font-size: 1rem; }
}

.hero-section #main-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 36px minmax(0, 1.25fr) minmax(0, 1fr) 60px;
    gap: 8px;
    max-width: 860px;
    padding: 14px 18px;
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 18px 50px -20px rgba(0, 25, 10, 0.55);
}

.hero-section #main-search-form .search-glass-item {
    min-width: 0;
    padding: 10px 16px;
    border-radius: 0;
    background: transparent;
    border: 0;
}

.hero-section #main-search-form .search-glass-item:focus-within {
    background: transparent;
    box-shadow: none;
}

.hero-section #main-search-form .sg-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    margin-bottom: 8px;
    color: #356548;
}

.hero-section #main-search-form .sg-label i {
    font-size: 0.85rem;
    color: #178344;
}

.hero-section #main-search-form .sg-input {
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: #193526;
    min-width: 0;
    line-height: 1.5;
}

.hero-section #main-search-form .sg-input::placeholder {
    color: #788d7f;
    font-weight: 500;
}

.hero-section #main-search-form .search-glass-item:focus-within .sg-label {
    color: #009b3a;
}

.hero-section #main-search-form .search-glass-item[style*="order: 5"] {
    border-left: 1px solid #d8e3db;
    padding-left: 20px;
}

.hero-section #main-search-form .search-divider {
    display: none !important;
}

.hero-section #main-search-form .search-swap-wrapper {
    width: 36px;
    height: 40px;
    margin: 0;
}

.hero-section #main-search-form .btn-swap-direction {
    position: relative;
    width: 36px;
    height: 36px;
    border-color: #d5e8dc;
    background: #fff;
    box-shadow: none;
}

.hero-section #main-search-form .search-glass-btn-wrapper {
    padding: 0;
}

.hero-section #main-search-form .sg-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.45rem;
    box-shadow: 0 8px 20px -12px rgba(0, 100, 40, 0.6);
}

.hero-section #main-search-form button:focus-visible {
    outline: 3px solid #83d6a2;
    outline-offset: 3px;
}

@media (max-width: 991.98px) {
    .hero-section #main-search-form {
        display: flex;
        flex-direction: column;
        gap: 8px;
        max-width: 560px;
        border-radius: 22px;
    }

    .hero-section #main-search-form .search-glass-item,
    .hero-section #main-search-form .search-glass-btn-wrapper {
        width: 100%;
    }

    .hero-section #main-search-form .search-glass-item[style*="order: 5"] {
        border-left: 0;
        border-top: 1px solid #d8e3db;
        padding-left: 16px;
        padding-top: 16px;
    }

    .hero-section #main-search-form .search-swap-wrapper {
        height: 26px;
    }

    .hero-section #main-search-form .sg-btn {
        width: 100%;
        height: 48px;
        border-radius: 13px;
    }
}

#live-board.section-live {
    background: linear-gradient(160deg, #eef7f1, #f8faf9 55%, #f0f5f3);
    padding-block: clamp(48px, 6vw, 80px);
}

#live-board::before {
    background-image: radial-gradient(#a3c6b0 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.2;
}

#live-board .live-header {
    align-items: flex-end;
    margin-bottom: 28px;
    gap: 24px;
}

#live-board .live-title-group {
    flex: 1 1 550px;
}

#live-board .live-title-group h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.7rem);
    letter-spacing: -0.045em;
    line-height: 1.18;
    max-width: 760px;
}

#live-board .live-pulse-badge {
    background: #fff;
    border-color: #cce6d5;
    box-shadow: 0 4px 12px -8px rgba(0, 100, 40, 0.25);
    padding: 8px 14px;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
}

#live-board .pulse-dot {
    box-shadow: 0 0 0 4px #e1f3e7;
}

#live-board .live-subtitle {
    margin-top: 12px;
    color: #52665a;
    font-size: 0.98rem;
}

#live-board .premium-tabs {
    padding: 6px;
    gap: 5px;
    background: #fff;
    border: 1px solid #dce8df;
    border-radius: 17px;
    box-shadow: 0 8px 20px -14px rgba(19, 68, 38, 0.3);
}

#live-board .premium-tab-btn {
    min-height: 46px;
    padding: 11px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    gap: 9px;
}

#live-board .premium-tab-btn.active {
    box-shadow: 0 5px 14px -8px rgba(0, 100, 40, 0.5);
}

#live-board .live-board-surface {
    padding: 20px;
    border: 1px solid #dfe9e3;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 60px -42px rgba(16, 61, 33, 0.35);
}

#live-board .grid-header {
    padding-top: 8px;
    padding-bottom: 16px;
    color: #627569;
    font-size: 0.68rem;
    letter-spacing: 0.09em;
}

#live-board .flight-card {
    border-color: #e4ece7;
    border-radius: 14px;
    padding-block: 16px;
    margin-bottom: 8px;
    box-shadow: 0 3px 10px -8px rgba(24, 54, 36, 0.2);
}

#live-board .flight-card:hover {
    background: #f4faf6;
    border-color: #b7d9c3;
}

#live-board .flight-card.current-time-highlight {
    background: #eef8f1;
    border-left-color: var(--fl-green-primary);
}

#live-board .col-time {
    font-family: var(--font-heading);
    font-variant-numeric: tabular-nums;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.045em;
    color: #163e27;
}

#live-board .dest-main {
    font-size: 1.1rem;
    font-weight: 750;
}

#live-board .dest-sub {
    font-size: 0.8rem;
    color: #6c7c72;
    margin-top: 3px;
}

#live-board .col-line {
    font-variant-numeric: tabular-nums;
    font-size: 0.78rem;
}

#live-board .platform-box:not(.text-mode) {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #173e2b;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    box-shadow: 0 4px 10px -6px rgba(20, 58, 36, 0.4);
}

#live-board .status-pill {
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 0.7rem;
    letter-spacing: 0.025em;
}

#live-board .show-all-btn {
    margin-top: 18px;
    border-radius: 12px;
    padding: 12px 22px;
    background: #eef7f1;
    border: 1px solid #cde4d5;
    color: #176334;
    font-size: 0.9rem;
}

#live-board .show-all-btn:hover {
    background: #e0f1e6;
}

#live-board :is(button, a):focus-visible {
    outline: 3px solid #25864b;
    outline-offset: 3px;
}

@media (max-width: 991.98px) {
    #live-board .col-carrier {
        grid-column: 2 / -1;
        grid-row: 4;
    }

    #live-board .board-carrier-logo-wrap {
        min-width: 0;
        height: 38px;
        padding: 4px 8px;
    }

    #live-board .board-carrier-logo {
        max-width: 110px;
        height: 28px;
    }
}

@media (max-width: 767.98px) {
    #live-board .live-header {
        gap: 18px;
    }

    #live-board .home-section-meta,
    #live-board .premium-tabs {
        width: 100%;
    }

    #live-board .premium-tabs .nav-item {
        flex: 1;
    }

    #live-board .premium-tab-btn {
        width: 100%;
        justify-content: center;
        padding-inline: 10px;
    }

    #live-board .live-board-surface {
        padding: 10px;
        border-radius: 20px;
    }

    #live-board .flight-card {
        padding: 14px 10px;
    }

    #live-board .col-time {
        font-size: 1.15rem;
    }

    #live-board .dest-main {
        font-size: 1rem;
    }

    #live-board .platform-box:not(.text-mode) {
        width: 34px;
        height: 34px;
        font-size: 1rem;
        border-radius: 10px;
    }
}
/* END homepage live-board redesign. */

.live-header {
    margin-bottom: 2.75rem;
}

.live-title-group h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.04em;
}

.live-subtitle {
    max-width: 640px;
    font-size: 1rem;
    line-height: 1.75;
}

.premium-tabs {
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 16px 28px -26px rgba(15, 23, 42, 0.2);
}

.live-board-ad-row {
    border-radius: 14px !important;
    box-shadow: 0 16px 28px -24px rgba(15, 23, 42, 0.22) !important;
    margin-bottom: 0.55rem !important;
    min-height: 120px !important;
}

.section-transport {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
}

.transport-time-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: 0 16px 28px -26px rgba(15, 23, 42, 0.22);
}

.transport-card-label {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 0.42rem 0.78rem;
    margin-bottom: 0.9rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.transport-card-topgroup {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
    padding-right: 0.75rem;
}

.transport-card-label-inline {
    align-self: center;
    margin-bottom: 0;
    white-space: nowrap;
}

.transport-card-label-tram {
    background: rgba(186, 12, 47, 0.08);
    border: 1px solid rgba(186, 12, 47, 0.12);
    color: var(--tram-red);
}

.transport-card-label-bus {
    background: rgba(0, 123, 255, 0.08);
    border: 1px solid rgba(0, 123, 255, 0.12);
    color: var(--bus-blue);
}

.transport-card-label-parking {
    background: rgba(0, 155, 58, 0.08);
    border: 1px solid rgba(0, 155, 58, 0.14);
    color: var(--fl-green-primary);
}

.transport-card-label-taxi {
    background: rgba(255, 209, 0, 0.16);
    border: 1px solid rgba(217, 164, 6, 0.22);
    color: #b7791f;
    margin-bottom: 0.75rem;
}

.transport-card-subtle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 700;
}

.transport-card-subtle i {
    color: var(--tram-red);
}

.transport-card-subtle-bus i {
    color: var(--bus-blue);
}

.transport-service-copy {
    line-height: 1.6;
}

.transport-taxi-btn {
    box-shadow: 0 18px 28px -22px rgba(234, 179, 8, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.transport-taxi-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 30px -20px rgba(234, 179, 8, 0.48);
}

.section-transport .bus-card,
.section-transport .tram-card,
.section-transport .parking-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-color: rgba(226, 232, 240, 0.98);
    box-shadow: 0 28px 52px -38px rgba(15, 23, 42, 0.24);
}

.section-transport .bus-card,
.section-transport .tram-card {
    padding: 28px 32px 22px;
    border-radius: 24px;
    cursor: default;
}

.section-transport .tram-card {
    cursor: pointer;
}

.section-transport .bus-card {
    background: linear-gradient(100deg, #ffffff 0%, #ffffff 55%, #f3f8ff 100%);
}

.section-transport .tram-card {
    background: linear-gradient(100deg, #ffffff 0%, #ffffff 55%, #fff5f6 100%);
}

.section-transport .bus-card > *,
.section-transport .tram-card > * {
    position: relative;
    z-index: 1;
}

.section-transport .transport-watermark {
    position: absolute;
    z-index: 0;
    top: 50%;
    right: clamp(24px, 6%, 96px);
    transform: translateY(-50%);
    font-size: 11rem;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.section-transport .bus-card .transport-watermark {
    color: rgba(0, 123, 255, 0.13);
}

.section-transport .tram-card .transport-watermark {
    color: rgba(186, 12, 47, 0.1);
}

.section-transport .bus-card .transport-card-topgroup,
.section-transport .tram-card .transport-card-topgroup {
    margin-bottom: 0.9rem;
}

.section-transport .bus-card .icon-square,
.section-transport .tram-card .icon-square {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    font-size: 1.6rem;
}

.section-transport .bus-card .icon-square {
    background: rgba(0, 123, 255, 0.1);
}

.section-transport .tram-card .icon-square {
    background: rgba(186, 12, 47, 0.1);
}

.section-transport .bus-card .transport-card-label,
.section-transport .tram-card .transport-card-label {
    padding: 0.55rem 1.05rem;
    border: 0;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
}

.section-transport .bus-card .transport-card-label {
    background: rgba(0, 123, 255, 0.1);
}

.section-transport .tram-card .transport-card-label {
    background: rgba(186, 12, 47, 0.08);
}

.section-transport .bus-card .trans-title,
.section-transport .tram-card .trans-title {
    font-size: clamp(1.7rem, 2.6vw, 2.1rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 0.9rem;
}

.section-transport .line-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 18px;
}

.section-transport .line-row .tram-badge {
    width: 70px;
    min-width: 0;
    height: 42px;
    padding: 0;
    border-width: 2px;
    border-color: #fbd5db;
    border-radius: 10px;
    font-size: 1.05rem;
    line-height: 1;
    box-shadow: none;
}

.section-transport .line-row .bus-badge {
    border-color: #cfe2fb;
}

.section-transport .line-row .line-badge-night {
    color: #111827;
    border-color: #111827;
    background: #fff;
}

.section-transport .line-row .line-badge-night-first {
    margin-left: 6px;
}

.section-transport .bus-card .transport-card-subtle,
.section-transport .tram-card .transport-card-subtle {
    display: flex;
    width: 100%;
    padding-top: 14px;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    color: #475569;
    font-weight: 600;
}

.section-transport .transport-card-subtle i {
    font-size: 1.05rem;
}

@media (min-width: 992px) {
    .section-transport .bus-card,
    .section-transport .tram-card {
        padding: 22px 22px 16px;
    }

    .section-transport .transport-watermark {
        font-size: 7.5rem;
        right: 16px;
    }

    .section-transport .bus-card .transport-card-topgroup,
    .section-transport .tram-card .transport-card-topgroup {
        margin-bottom: 0.6rem;
    }

    .section-transport .bus-card .icon-square,
    .section-transport .tram-card .icon-square {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 1.3rem;
    }

    .section-transport .bus-card .transport-card-label,
    .section-transport .tram-card .transport-card-label {
        padding: 0.42rem 0.85rem;
        font-size: 0.7rem;
    }

    .section-transport .bus-card .trans-title,
    .section-transport .tram-card .trans-title {
        font-size: 1.6rem;
        margin-bottom: 0.7rem;
    }

    .section-transport .line-row {
        flex-wrap: nowrap;
        gap: 6px;
        margin-bottom: 14px;
    }

    .section-transport .line-row .tram-badge {
        flex: 1 1 0;
        width: auto;
        max-width: 50px;
        height: 36px;
        border-radius: 9px;
        font-size: clamp(0.78rem, 0.9vw, 0.95rem);
    }

    .section-transport .line-row .line-badge-night-first {
        margin-left: 4px;
    }

    .section-transport .bus-card .transport-card-subtle,
    .section-transport .tram-card .transport-card-subtle {
        margin-top: auto;
        padding-top: 10px;
        font-size: 0.82rem;
    }
}

@media (max-width: 575px) {
    .section-transport .bus-card,
    .section-transport .tram-card {
        padding: 22px 20px 18px;
    }

    .section-transport .transport-watermark {
        font-size: 7rem;
        right: 12px;
    }

    .section-transport .line-row .tram-badge {
        width: 56px;
        height: 40px;
        font-size: 0.98rem;
    }
}

.section-transport .parking-card {
    border-radius: 30px;
}

.section-transport .parking-card .border-end-md {
    border-color: rgba(226, 232, 240, 0.95) !important;
}

/* Homepage only: the paired parking and taxi block. */
.section-transport .home-parking-taxi {
    padding: 12px;
    background: #fff;
    border: 1px solid #e2ebe5;
    border-radius: 28px;
    box-shadow: 0 16px 40px -28px rgba(20, 50, 35, 0.3);
}

.section-transport .home-parking-taxi .pt-options {
    align-items: stretch !important;
    gap: 12px !important;
}

.section-transport .home-parking-taxi .pt-option {
    flex: 1;
    min-width: 0;
    align-items: flex-start !important;
    gap: 20px !important;
    padding: 24px !important;
    border: 0 !important;
    border-radius: 20px;
}

.section-transport .home-parking-taxi .pt-option--parking {
    background: linear-gradient(135deg, #eff8f2, #fafdfb);
}

.section-transport .home-parking-taxi .pt-option--taxi {
    background: linear-gradient(135deg, #fff8e5, #fffdf7);
}

.section-transport .home-parking-taxi .icon-square {
    margin-top: 3px;
    border-radius: 18px;
    box-shadow: 0 8px 18px -12px rgba(25, 50, 35, 0.5);
}

.section-transport .home-parking-taxi .transport-card-label {
    padding: 0;
    border: 0;
    background: transparent;
    margin-bottom: 10px;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
}

.section-transport .home-parking-taxi h4 {
    font-size: clamp(1.15rem, 1rem + 0.4vw, 1.45rem) !important;
    letter-spacing: -0.025em;
    line-height: 1.3;
}

.section-transport .home-parking-taxi .transport-service-copy {
    line-height: 1.7;
    color: #52645a !important;
}

.section-transport .home-parking-taxi .transport-taxi-btn {
    min-height: 46px;
    border-radius: 12px !important;
    box-shadow: none !important;
}

.section-transport .home-parking-taxi .transport-taxi-btn:focus-visible {
    outline: 3px solid #805e00;
    outline-offset: 3px;
}

@media (max-width: 767.98px) {
    .section-transport .home-parking-taxi .pt-option {
        padding: 20px 16px !important;
        gap: 14px !important;
    }

    .section-transport .home-parking-taxi .icon-square {
        width: 48px !important;
        height: 48px !important;
        font-size: 1.5rem !important;
        border-radius: 14px;
    }
}

.section-services {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
}

.section-services .services-header-label {
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    letter-spacing: 0.12em;
}

.section-services .services-main-title {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.04em;
    text-transform: none;
}

.section-services .wifi-badge {
    border-radius: 18px;
    box-shadow: 0 16px 30px -24px rgba(14, 165, 233, 0.25), 0 1px 3px rgba(0, 0, 0, 0.05);
}

.section-services .wifi-panel {
    border-radius: 20px;
}

.section-services .bento-card {
    box-shadow: 0 24px 42px -34px rgba(15, 23, 42, 0.28) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.section-services .bento-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 30px 48px -32px rgba(15, 23, 42, 0.3) !important;
}

.section-services .hero-green {
    box-shadow: 0 34px 56px -36px rgba(22, 101, 52, 0.42) !important;
}

.section-services .shops-card-slideshow img,
.stack-main-image,
.future-terminal-card img,
.terminal-bg-image {
    filter: saturate(0.94) contrast(1.03) brightness(0.96);
}

.section-terminal-map:not(.section-terminal-map--home) {
    background: #ffffff;
}

.section-marketing {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.marketing-grid {
    gap: 28px;
    grid-template-rows: 360px 360px;
}

.section-about-premium {
    padding: 112px 0;
}

.about-stats-grid {
    gap: 16px;
}

.stat-item-modern {
    padding: 1rem 1.1rem;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 18px 34px -30px rgba(15, 23, 42, 0.24);
}

.about-content-wrapper .btn-brand-gradient,
.about-content-wrapper .btn-outline-dark {
    padding: 0.95rem 1.4rem;
}

.trans-card {
    border-radius: 26px;
    box-shadow: 0 24px 50px -38px rgba(15, 23, 42, 0.32);
    border-color: rgba(226, 232, 240, 0.95);
}

.trans-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 56px -36px rgba(15, 23, 42, 0.36);
}

.metro-card {
    box-shadow: 0 36px 64px -44px rgba(2, 6, 23, 0.7);
}

.terminal-widget-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.92);
    box-shadow: 0 34px 68px -44px rgba(15, 23, 42, 0.34);
}

.terminal-float-card {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 28px 40px -30px rgba(15, 23, 42, 0.28);
}

.terminal-link-card {
    border-radius: 22px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    box-shadow: 0 20px 30px -28px rgba(15, 23, 42, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.terminal-link-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 155, 58, 0.18);
    box-shadow: 0 26px 38px -28px rgba(15, 23, 42, 0.28);
}

.market-card {
    border-radius: 26px;
    box-shadow: 0 30px 56px -40px rgba(15, 23, 42, 0.34);
    position: relative;
    isolation: isolate;
    transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.market-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 38px 68px -36px rgba(15, 23, 42, 0.4);
}

/* Scrim nad fotkou, ne nad textovým panelem (z-index) */
.market-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0) 0%,
        rgba(15, 23, 42, 0.08) 42%,
        rgba(15, 23, 42, 0.52) 100%
    );
    pointer-events: none;
}

.market-card img {
    position: relative;
    z-index: 0;
    filter: saturate(0.96);
    transition: transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.45s ease;
}

.market-card:hover img {
    transform: scale(1.06);
    filter: saturate(1.02) brightness(0.94);
}

.mc-glass-info {
    z-index: 2;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 20px 22px 22px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    color: rgba(248, 250, 252, 0.94);
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.9) 100%);
    backdrop-filter: blur(14px) saturate(1.12);
    -webkit-backdrop-filter: blur(14px) saturate(1.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 20px 44px rgba(2, 6, 23, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(0);
    pointer-events: none;
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.market-card:hover .mc-glass-info {
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.94) 100%);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow:
        0 24px 50px rgba(2, 6, 23, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.mc-badge {
    border-radius: 999px;
    box-shadow: none;
    margin-bottom: 0;
    align-self: flex-start;
}

/* base.css barví všechny h*.h5 tmavě; tady musí být světlý kontrast na skle */
.section-marketing .mc-glass-info h3.mc-title {
    color: #f8fafc;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.18;
    margin: 0;
    text-shadow: none;
}

.section-marketing .mc-glass-info h3.mc-title.h5 {
    font-size: clamp(1.02rem, 2.4vw, 1.18rem);
}

.section-marketing .mc-glass-info h3.mc-title:not(.h5) {
    font-size: clamp(1.22rem, 2.6vw, 1.52rem);
}

.mc-desc {
    color: rgba(248, 250, 252, 0.86);
    text-shadow: none;
    line-height: 1.55;
    margin: 0;
}

.section-reviews-home {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.reviews-home-marquee {
    display: grid;
    gap: 1rem;
}

.reviews-home-marquee .reviews-slider-window {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
    padding: 0.35rem 0 0.75rem;
}

.reviews-home-marquee .reviews-track-infinite {
    display: flex;
    gap: 1rem;
    width: max-content;
    will-change: transform;
    opacity: 0;
    transition: opacity 0.45s ease;
    animation: reviewsHomeScroll var(--reviews-scroll-duration, 72s) linear infinite;
    animation-delay: var(--reviews-scroll-delay, 0s);
}

.reviews-home-marquee .reviews-track-infinite--reverse {
    animation-direction: reverse;
}

.reviews-home-marquee.is-ready .reviews-track-infinite {
    opacity: 1;
}

.reviews-home-marquee .reviews-slider-window:hover .reviews-track-infinite {
    animation-play-state: paused;
}

.review-home-slide {
    width: min(340px, 78vw);
    flex: 0 0 auto;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.reviews-home-marquee .reviews-slider-window:hover .review-home-slide {
    filter: saturate(0.94);
}

.reviews-home-marquee .reviews-slider-window:hover .review-home-slide:hover {
    filter: none;
    transform: translateY(-3px);
}

.review-story-card--slide {
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

.review-home-quote {
    margin: 0;
    color: #1e293b;
    font-style: italic;
    line-height: 1.65;
    font-size: 0.92rem;
}

.review-stars {
    letter-spacing: 0.04em;
    font-size: 0.82rem;
}

@keyframes reviewsHomeScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .reviews-home-marquee .reviews-track-infinite {
        animation: none;
        transform: none;
        opacity: 1 !important;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }

    .reviews-home-marquee .reviews-slider-window {
        mask-image: none;
        -webkit-mask-image: none;
        overflow: visible;
    }
}

.review-story-card {
    height: 100%;
    padding: 1.5rem;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 42px -36px rgba(15, 23, 42, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.review-story-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 155, 58, 0.16);
    box-shadow: 0 30px 48px -34px rgba(15, 23, 42, 0.32);
}

.review-source-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.92);
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 800;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 155, 58, 0.08);
    color: var(--fl-green-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .hero-section {
        height: auto;
        min-height: 0;
        padding: 88px 0 56px;
    }

    .hero-title {
        max-width: 16ch;
        margin-bottom: 0.75rem;
    }

    .hero-section .sg-label {
        text-transform: none;
        letter-spacing: 0.04em;
    }

    .search-container-glass {
        border-radius: 28px;
        padding: 18px;
    }

    .section-live,
    .section-services,
    .section-transport,
    .section-terminal-map,
    .section-marketing,
    .section-reviews-home,
    .section-news,
    .section-about-premium,
    .future-terminal-section {
        padding-top: 78px !important;
        padding-bottom: 78px !important;
    }

}

@media (max-width: 767px) {
    .home-section-head {
        align-items: flex-start;
        margin-bottom: 2rem !important;
    }

    .home-section-title {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
    }

    .hero-news-link {
        width: 100%;
        justify-content: space-between;
    }

    .hero-action-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }

    .hero-primary-cta,
    .hero-secondary-link {
        justify-content: center;
    }

    .hero-img {
        width: 44vw;
    }

    .marketing-grid {
        gap: 20px;
    }

    .transport-card-label {
        margin-bottom: 0.75rem;
    }

    .transport-card-topgroup {
        gap: 0.65rem;
        padding-right: 0.5rem;
    }

    .transport-card-label-inline {
        margin-bottom: 0;
    }

    .transport-card-subtle {
        font-size: 0.86rem;
    }

    .transport-taxi-btn {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}
