:root {
    --yellow: #f6c800;
    --yellow-dark: #dcae00;
    --black: #101010;
    --dark: #191919;
    --gray: #6f6f6f;
    --light-gray: #f4f4f4;
    --white: #ffffff;
    --red: #c40000;

    --max-width: 1180px;
    --radius: 18px;
    --radius-small: 12px;

    --shadow-small: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-large: 0 25px 70px rgba(0, 0, 0, 0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    overflow-x: hidden;

    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;

    color: var(--black);
    background: var(--white);
}

body.menu-open {
    overflow: hidden;
}

img,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

address {
    font-style: normal;
}

svg {
    display: block;
}

.container {
    width: min(92%, var(--max-width));
    margin: 0 auto;
}

/* Přeskočení na obsah */

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9999;

    padding: 12px 18px;

    color: var(--black);
    background: var(--yellow);
    border-radius: 8px;

    font-weight: 800;

    transform: translateY(-150%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

/* Horní lišta */

.topbar {
    position: relative;
    z-index: 1100;

    color: var(--white);
    background: var(--black);

    font-size: 14px;
}

.topbar-inner {
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar a {
    transition: color 0.2s ease;
}

.topbar a:hover {
    color: var(--yellow);
}

/* Hlavička */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    transition:
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.site-header.scrolled {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.98);
}

.header-inner {
    min-height: 84px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

/* Logo */

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    flex-shrink: 0;

    font-weight: 900;
}

.logo-mark {
    position: relative;

    width: 48px;
    height: 48px;

    flex-shrink: 0;

    border-radius: 50%;
    background: var(--yellow);
    box-shadow: inset 0 0 0 4px var(--black);
}

.logo-mark::before,
.logo-mark::after {
    content: "";

    position: absolute;
    left: 50%;

    background: var(--black);

    transform: translateX(-50%);
}

.logo-mark::before {
    top: 8px;

    width: 4px;
    height: 26px;
}

.logo-mark::after {
    bottom: 10px;

    width: 22px;
    height: 4px;
}

.logo-text {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.logo-text strong {
    font-size: 24px;
    letter-spacing: -1px;
}

.logo-text span {
    margin-top: 7px;

    color: var(--red);

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Menu */

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;

    margin-left: auto;

    font-size: 15px;
    font-weight: 800;
}

.main-nav a {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 84px;
}

.main-nav a::after {
    content: "";

    position: absolute;
    right: 100%;
    bottom: 20px;
    left: 0;

    height: 3px;

    background: var(--yellow);

    transition: right 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    right: 0;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--black);
}

/* Telefon v hlavičce */

.header-call {
    display: flex;
    flex-direction: column;

    flex-shrink: 0;

    padding: 10px 18px;

    color: var(--black);
    background: var(--yellow);
    border-radius: 999px;

    line-height: 1.1;
    text-align: center;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.header-call:hover {
    background: var(--yellow-dark);
    transform: translateY(-2px);
}

.header-call-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.header-call strong {
    margin-top: 4px;

    font-size: 17px;
}

/* Tlačítko mobilního menu */

.menu-button {
    display: none;

    width: 46px;
    height: 46px;

    padding: 10px;

    border: 0;
    border-radius: 10px;

    background: var(--black);

    cursor: pointer;
}

.menu-button span {
    display: block;

    width: 100%;
    height: 3px;

    margin: 5px 0;

    background: var(--white);
    border-radius: 3px;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.menu-button.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-button.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-button.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero */

.hero {
    position: relative;

    min-height: 690px;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: var(--white);

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.72) 43%,
            rgba(0, 0, 0, 0.23) 100%
        ),
        url("../images/hero-antena.jpg") center center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 20% 50%,
            rgba(246, 200, 0, 0.12),
            transparent 42%
        );
}

.hero-inner {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 780px;

    padding: 110px 0 130px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: var(--yellow);

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";

    width: 42px;
    height: 3px;

    flex-shrink: 0;

    background: var(--yellow);
}

.hero h1 {
    max-width: 900px;

    margin-top: 25px;

    font-size: clamp(48px, 7vw, 88px);
    line-height: 0.98;
    letter-spacing: -4px;
}

.hero h1 span {
    display: block;

    color: var(--yellow);
}

.hero-description {
    max-width: 650px;

    margin-top: 28px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 20px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 38px;
}

/* Tlačítka */

.button {
    min-height: 56px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 28px;

    border-radius: 999px;

    font-weight: 900;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--black);
    background: var(--yellow);
}

.button-primary:hover {
    background: var(--yellow-dark);
}

.button-secondary {
    color: var(--white);

    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.07);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* Výhody v hero */

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 1px;

    max-width: 700px;

    margin-top: 48px;

    background: rgba(255, 255, 255, 0.18);
}

.hero-benefit {
    min-width: 170px;

    padding: 18px 22px;

    background: rgba(0, 0, 0, 0.42);
}

.hero-benefit strong {
    display: block;

    color: var(--yellow);

    font-size: 19px;
}

.hero-benefit span {
    display: block;

    margin-top: 3px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 13px;
}

/* Pruh služeb */

.services-strip {
    position: relative;
    z-index: 20;

    margin-top: -65px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    overflow: hidden;

    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-large);
}

.service-card {
    position: relative;

    min-height: 280px;

    padding: 30px;

    border-right: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--white);

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.service-card:last-child {
    border-right: 0;
}

.service-card:hover {
    z-index: 2;

    background: var(--yellow);
    transform: translateY(-8px);
}

.service-number {
    color: var(--yellow-dark);

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.5px;

    transition: color 0.25s ease;
}

.service-card:hover .service-number {
    color: var(--black);
}

.service-icon {
    width: 62px;
    height: 62px;

    display: grid;
    place-items: center;

    margin-top: 20px;

    color: var(--black);
}

.service-icon svg {
    width: 58px;
    height: 58px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h2 {
    margin-top: 20px;

    font-size: 22px;
    line-height: 1.15;
}

.service-card p {
    margin-top: 12px;

    color: var(--gray);

    font-size: 15px;

    transition: color 0.25s ease;
}

.service-card:hover p {
    color: rgba(0, 0, 0, 0.72);
}

.service-link {
    display: inline-block;

    margin-top: 18px;

    font-size: 14px;
    font-weight: 900;
}

/* Obecné sekce */

section {
    padding: 110px 0;
}

.section-heading {
    max-width: 760px;
}

.section-heading h2 {
    margin-top: 17px;

    font-size: clamp(40px, 5vw, 62px);
    line-height: 1.03;
    letter-spacing: -2.5px;
}

.section-heading p {
    margin-top: 20px;

    color: var(--gray);

    font-size: 18px;
}

/* Proč zavolat technika */

.why-section {
    padding-top: 150px;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;

    align-items: center;
}

.feature-list {
    display: grid;
    gap: 22px;

    margin-top: 36px;
}

.feature {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;

    align-items: start;
}

.feature-number {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    color: var(--black);
    background: var(--yellow);
    border-radius: 14px;

    font-size: 15px;
    font-weight: 900;
}

.feature h3 {
    font-size: 21px;
    line-height: 1.2;
}

.feature p {
    margin-top: 6px;

    color: var(--gray);
}

.video-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 0;
    background: #191919;
    border-radius: 18px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.16);
}

.video-label {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 10;
    padding: 10px 16px;
    color: #000;
    background: #f6c800;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.service-video {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: center center;
    background: #191919;
}

video::-webkit-media-controls {
    z-index: 20;
}

/* Rover */

.rover-section {
    background: var(--light-gray);
}

.rover-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;

    align-items: center;
}

.rover-image-wrapper {
    position: relative;

    min-height: 560px;

    display: grid;
    place-items: center;

    padding: 35px;

    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-large);
}

.rover-image-wrapper img {
    max-height: 500px;

    object-fit: contain;
}

.rover-badge {
    position: absolute;
    top: 24px;
    left: 24px;

    padding: 10px 16px;

    color: var(--black);
    background: var(--yellow);
    border-radius: 999px;

    font-size: 13px;
    font-weight: 900;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 34px;

    font-weight: 900;
}

.text-link::after {
    content: "→";

    font-size: 20px;

    transition: transform 0.2s ease;
}

.text-link:hover::after {
    transform: translateX(6px);
}

/* Statistiky */

.stats-section {
    padding: 0;

    color: var(--white);
    background: var(--black);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;

    background: rgba(255, 255, 255, 0.14);
}

.stat {
    padding: 52px 25px;

    background: var(--black);

    text-align: center;
}

.stat strong {
    display: block;

    color: var(--yellow);

    font-size: clamp(34px, 4vw, 50px);
    line-height: 1;
}

.stat span {
    display: block;

    margin-top: 15px;

    color: rgba(255, 255, 255, 0.7);
}

/* Oblast působnosti */

.area-section {
    background: var(--white);
}

.area-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;

    align-items: center;

    padding: 65px;

    background: var(--black);
    border-radius: var(--radius);

    color: var(--white);
}

.area-content h2 {
    margin-top: 16px;

    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.02;
    letter-spacing: -2px;
}

.area-content p {
    margin-top: 20px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 18px;
}

.area-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.area-cities span {
    padding: 11px 16px;

    color: var(--white);

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);

    font-size: 14px;
}

/* Kontaktní výzva */

.contact-cta {
    padding: 0;

    background: var(--yellow);
}

.contact-cta-inner {
    min-height: 220px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
}

.contact-cta-content {
    max-width: 720px;
}

.contact-cta-label {
    display: inline-block;

    margin-bottom: 12px;

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.contact-cta h2 {
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.02;
    letter-spacing: -2px;
}

.contact-cta p {
    margin-top: 12px;

    font-size: 18px;
}

.contact-cta-actions {
    display: flex;
    align-items: center;
    gap: 12px;

    flex-shrink: 0;
}

.contact-phone {
    display: flex;
    flex-direction: column;

    padding: 17px 24px;

    color: var(--white);
    background: var(--black);
    border-radius: 999px;

    text-align: center;

    transition: transform 0.2s ease;
}

.contact-phone:hover {
    transform: translateY(-2px);
}

.contact-phone span {
    font-size: 12px;
}

.contact-phone strong {
    margin-top: 4px;

    font-size: 22px;
}

.contact-message {
    padding: 17px 22px;

    border: 2px solid var(--black);
    border-radius: 999px;

    font-weight: 900;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.contact-message:hover {
    color: var(--white);
    background: var(--black);
    transform: translateY(-2px);
}

/* Patička */

.site-footer {
    padding: 75px 0 30px;

    color: var(--white);
    background: #090909;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-logo {
    display: inline-block;

    color: var(--white);

    font-size: 27px;
    font-weight: 900;
    letter-spacing: -1px;
}

.footer-company p {
    max-width: 350px;

    margin-top: 20px;

    color: rgba(255, 255, 255, 0.65);
}

.footer-region {
    color: var(--yellow) !important;

    font-weight: 800;
}

.footer-title {
    margin-bottom: 20px;

    color: var(--yellow);

    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: 11px;

    color: rgba(255, 255, 255, 0.66);
}

.footer-links a {
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--yellow);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: 58px;
    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    color: rgba(255, 255, 255, 0.45);

    font-size: 14px;
}

.back-to-top {
    color: var(--yellow);

    font-weight: 800;
}

/* Mobilní spodní lišta */

.mobile-contact-bar {
    display: none;

    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1500;

    min-height: 58px;

    background: var(--black);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
}

.mobile-contact-bar a {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 1;

    color: var(--white);

    font-weight: 900;
}

.mobile-contact-bar a:first-child {
    color: var(--black);
    background: var(--yellow);
}

/* Responzivita */

@media (max-width: 1120px) {
    .main-nav {
        gap: 17px;

        font-size: 14px;
    }

    .header-call {
        display: none;
    }
}

@media (max-width: 980px) {
    /* Mobilní menu je ukotvené jako position:absolute k .site-header
       (ta je position:sticky, takže je to jeho containing block).
       Záměrně se NEPOUŽÍVÁ position:fixed uvnitř hlavičky – na řadě
       mobilních prohlížečů totiž efekty jako backdrop-filter/transform
       na nadřazeném prvku mění, vůči čemu se position:fixed počítá,
       což menu spolehlivě rozbíjí. position:absolute vůči explicitně
       pozicované hlavičce je předvídatelné ve všech prohlížečích. */
    .site-header {
        position: sticky;

        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.99);
    }

    .main-nav {
        position: absolute;
        z-index: 999;
        top: 100%;
        right: 0;
        left: 0;

        display: grid;
        align-content: start;
        gap: 0;

        margin: 0;

        max-height: calc(100vh - 74px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;

        background: var(--white);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(-10px);

        transition:
            opacity 0.25s ease,
            visibility 0.25s ease,
            transform 0.25s ease;
    }

    .main-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform: translateY(0);
    }

    .main-nav a {
        min-height: auto;

        padding: 18px 5%;

        border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    }

    .main-nav a::after {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card:nth-child(2) {
        border-right: 0;
    }

    .service-card:nth-child(1),
    .service-card:nth-child(2) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .why-grid,
    .rover-grid,
    .area-box {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-cta-inner {
        align-items: flex-start;
        flex-direction: column;

        padding: 45px 0;
    }

    .contact-cta-actions {
        width: 100%;
    }
}

@media (max-width: 700px) {
    body {
        padding-bottom: 58px;
    }

    .topbar-inner {
        min-height: 58px;

        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        gap: 2px;

        padding: 8px 0;
    }

    .topbar-right {
        flex-wrap: wrap;
        gap: 7px;
    }

    .header-inner {
        min-height: 74px;
    }

    .logo-mark {
        width: 42px;
        height: 42px;
    }

    .logo-text strong {
        font-size: 20px;
    }

    .logo-text span {
        font-size: 10px;
    }

    .hero {
        min-height: 640px;

        background-position: 62% center;
    }

    .hero-content {
        padding: 90px 0 110px;
    }

    .hero h1 {
        letter-spacing: -2.5px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-benefits {
        display: grid;
        grid-template-columns: 1fr;
    }

    .services-strip {
        margin-top: -35px;
    }

    .services-grid,
    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;

        border-right: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .service-card:last-child {
        border-bottom: 0;
    }

    section {
        padding: 80px 0;
    }

    .why-section {
        padding-top: 110px;
    }

    .why-grid,
    .rover-grid {
        gap: 50px;
    }

    .video-wrapper,
    .service-video {
        min-height: 340px;
    }

    .rover-image-wrapper {
        min-height: 380px;

        padding: 25px;
    }

    .area-box {
        gap: 40px;

        padding: 38px 25px;
    }

    .contact-cta-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-phone,
    .contact-message {
        width: 100%;

        text-align: center;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .mobile-contact-bar {
        display: flex;
    }
}

@media (max-width: 420px) {
    .container {
        width: min(94%, var(--max-width));
    }

    .logo-text strong {
        font-size: 18px;
    }

    .logo-text span {
        letter-spacing: 1px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .section-heading h2,
    .area-content h2,
    .contact-cta h2 {
        letter-spacing: -1.5px;
    }

    .service-card {
        padding: 25px;
    }
}
/* Animace při rolování */

.reveal-item {
    opacity: 0;
    transform: translateY(28px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hláška při chybějícím obrázku */

.missing-image-message,
.missing-video-message {
    min-height: 260px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;

    padding: 30px;

    color: #6f6f6f;
    background: #eeeeee;

    text-align: center;
}

.missing-video-message {
    min-height: 520px;

    color: rgba(255, 255, 255, 0.75);
    background: #191919;
}

.missing-video-message strong {
    color: #f6c800;

    font-size: 21px;
}

.missing-video-message span {
    font-size: 15px;
}

/* Omezení animací pro uživatele, kteří je nechtějí */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal-item {
        opacity: 1;
        transform: none;
    }
}
.video-label {
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.video-label.is-hidden {
    opacity: 0;
    transform: translateY(-8px);
}

/* ==========================================================================
   Podstránky – společné prvky
   ========================================================================== */

/* Banner podstránky */

.page-hero {
    position: relative;

    padding: 175px 0 70px;

    color: var(--white);
    background:
        linear-gradient(
            120deg,
            rgba(0, 0, 0, 0.88) 0%,
            rgba(0, 0, 0, 0.62) 100%
        ),
        var(--black);
    background-size: cover;
    background-position: center;
}

.page-hero.has-image {
    background-image:
        linear-gradient(
            120deg,
            rgba(0, 0, 0, 0.88) 0%,
            rgba(0, 0, 0, 0.6) 100%
        ),
        var(--page-hero-image);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;

    margin-bottom: 20px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 13px;
    font-weight: 700;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: var(--yellow);
}

.page-hero h1 {
    max-width: 820px;

    font-size: clamp(36px, 5.5vw, 62px);
    line-height: 1.02;
    letter-spacing: -2.5px;
}

.page-hero h1 span {
    color: var(--yellow);
}

.page-hero-lede {
    max-width: 640px;

    margin-top: 20px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 18px;
}

/* Obecný textový obsah */

.prose-section {
    background: var(--white);
}

.prose-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;

    align-items: start;
}

.prose-grid img {
    width: 100%;
    height: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-large);
}

.prose-body p {
    margin-top: 18px;

    color: var(--gray);

    font-size: 17px;
}

.prose-body p:first-child {
    margin-top: 0;
}

.check-list {
    display: grid;
    gap: 14px;

    margin-top: 30px;
}

.check-list li {
    position: relative;

    padding-left: 34px;

    font-weight: 700;
}

.check-list li::before {
    content: "";

    position: absolute;
    top: 3px;
    left: 0;

    width: 22px;
    height: 22px;

    background: var(--yellow);
    border-radius: 50%;
}

.check-list li::after {
    content: "";

    position: absolute;
    top: 9px;
    left: 6px;

    width: 10px;
    height: 5px;

    border-bottom: 2px solid var(--black);
    border-left: 2px solid var(--black);

    transform: rotate(-45deg);
}

/* Alternující bloky se snímky (antény / satelity / STA) */

.split-section {
    background: var(--light-gray);
}

.split-section.is-white {
    background: var(--white);
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;

    align-items: center;
}

.split-grid.is-reversed .split-media {
    order: 2;
}

.split-media img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-large);
}

/* Reference */

.ref-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.ref-card {
    padding: 34px;

    background: var(--light-gray);
    border-radius: var(--radius);
}

.ref-stars {
    color: var(--yellow-dark);
    letter-spacing: 2px;
}

.ref-card p {
    margin-top: 18px;

    color: var(--black);

    font-size: 16px;
    line-height: 1.6;
}

.ref-who {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-top: 24px;
}

.ref-avatar {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    background: var(--yellow);
    border-radius: 50%;

    font-weight: 900;
}

.ref-who strong {
    display: block;
    font-size: 15px;
}

.ref-who span {
    color: var(--gray);
    font-size: 13px;
}

.ref-note {
    margin-top: 40px;

    padding: 22px 26px;

    color: var(--gray);
    background: var(--light-gray);
    border-radius: var(--radius-small);

    font-size: 14px;
}

/* Historie – časová osa */

.timeline {
    position: relative;

    max-width: 760px;
    margin-top: 20px;
    padding-left: 40px;
}

.timeline::before {
    content: "";

    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 9px;

    width: 2px;

    background: rgba(0, 0, 0, 0.1);
}

.timeline-item {
    position: relative;

    padding-bottom: 44px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: "";

    position: absolute;
    top: 4px;
    left: -40px;

    width: 20px;
    height: 20px;

    background: var(--yellow);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.timeline-year {
    color: var(--yellow-dark);

    font-size: 15px;
    font-weight: 900;
    letter-spacing: 1px;
}

.timeline-item h3 {
    margin-top: 6px;

    font-size: 21px;
}

.timeline-item p {
    margin-top: 8px;

    color: var(--gray);
}

/* Formulář */

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;

    align-items: start;
}

.contact-info-card {
    padding: 40px;

    background: var(--black);
    color: var(--white);
    border-radius: var(--radius);
}

.contact-info-card h2 {
    font-size: 24px;
    letter-spacing: -1px;
}

.contact-info-list {
    display: grid;
    gap: 22px;

    margin-top: 28px;
}

.contact-info-list a,
.contact-info-list address {
    display: block;
}

.contact-info-list .label {
    color: var(--yellow);

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.contact-info-list .value {
    margin-top: 6px;

    font-size: 17px;
    font-weight: 700;
}

.qr-block {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-top: 30px;
    padding-top: 26px;

    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.qr-block img {
    flex-shrink: 0;

    background: var(--white);
    border-radius: 10px;
    padding: 8px;
}

.qr-block-title {
    display: block;

    font-size: 15px;
    font-weight: 900;
}

.qr-block-note {
    display: block;

    margin-top: 6px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 13px;
    line-height: 1.5;
}

.contact-form {
    padding: 44px;

    background: var(--light-gray);
    border-radius: var(--radius);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-field {
    margin-top: 18px;
}

.form-field:first-child {
    margin-top: 0;
}

.form-field label {
    display: block;

    margin-bottom: 8px;

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--gray);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;

    padding: 14px 16px;

    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 10px;

    font-size: 15px;
    color: var(--black);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: 2px solid var(--yellow-dark);
    outline-offset: 1px;
}

.form-field textarea {
    min-height: 130px;
    resize: vertical;
}

.form-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.form-submit {
    margin-top: 26px;
}

.form-note {
    margin-top: 14px;

    color: var(--gray);
    font-size: 13px;
}

.map-wrapper {
    margin-top: 50px;

    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-small);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 380px;
    border: 0;
}

/* Právní text */

.legal-section {
    background: var(--white);
}

.legal-content {
    max-width: 820px;
}

.legal-content h2 {
    margin-top: 44px;

    font-size: 24px;
    letter-spacing: -0.5px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p,
.legal-content li {
    margin-top: 14px;

    color: var(--gray);

    font-size: 16px;
    line-height: 1.7;
}

.legal-content ul {
    padding-left: 22px;
}

.legal-updated {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--yellow-dark);

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Responzivita podstránek */

@media (max-width: 980px) {
    .prose-grid,
    .split-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .split-grid.is-reversed .split-media {
        order: 0;
    }

    .ref-grid {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 150px 0 55px;
    }
}

@media (max-width: 700px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form,
    .contact-info-card {
        padding: 28px;
    }

    .ref-grid {
        gap: 18px;
    }
}
/* ==========================================================================
   Ochrana proti kopírování – znemožnění výběru textu a tažení obrázků
   ========================================================================== */

body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Ve formulářových polích musí výběr/psaní fungovat normálně */
input,
textarea,
select {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Hlavička, menu a tlačítka musí zůstat plně interaktivní – na některých
   mobilních prohlížečích může user-select: none na nadřazeném prvku
   nespolehlivě ovlivňovat generování kliknutí/tapnutí */
.site-header,
.main-nav,
.menu-button,
.mobile-contact-bar,
a,
button {
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
    -webkit-touch-callout: default;
}

img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: auto;
}

/* ==========================================================================
   Datové tabulky (přehled frekvencí a multiplexů)
   ========================================================================== */

.table-intro {
    max-width: 760px;
    margin-bottom: 40px;
}

.table-intro p {
    margin-top: 14px;
    color: var(--gray);
    font-size: 17px;
}

.table-block {
    margin-bottom: 60px;
}

.table-block h2 {
    font-size: 26px;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.table-block .table-note {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 22px;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-small);
    box-shadow: var(--shadow-small);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

table.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
    background: var(--white);
}

table.data-table caption {
    display: none;
}

table.data-table thead th {
    background: var(--black);
    color: var(--white);
    text-align: left;
    padding: 16px 18px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    white-space: nowrap;
}

table.data-table tbody td {
    padding: 16px 18px;
    font-size: 15px;
    color: var(--black);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    vertical-align: top;
}

table.data-table tbody tr:nth-child(even) {
    background: var(--light-gray);
}

table.data-table td.freq-cell {
    font-weight: 900;
    color: var(--yellow-dark);
    white-space: nowrap;
}

table.data-table td.note-cell {
    color: var(--gray);
    font-size: 13.5px;
}

.freq-callout {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
    padding: 26px 30px;
    background: var(--light-gray);
    border-radius: var(--radius-small);
}

.freq-callout p {
    margin: 0;
    font-weight: 700;
    max-width: 480px;
}

@media (max-width: 700px) {
    table.data-table thead th,
    table.data-table tbody td {
        padding: 12px 14px;
        font-size: 13.5px;
    }
}
