﻿:root {
    --midnight: #0a0e1a;
    --deep-blue: #1a2332;
    --tacho-blue: #2d5a9e;
    --bright-blue: #4a7bc8;
    --tacho-red: #c41e3a;
    --bright-red: #e63946;
    --slate: #d1cfcf;
    --light-gray: #e2e8f0;
    --white: #ffffff;
    --yellow-accent: #ffd60a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--midnight);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navigation */
/* ===== NAV – Apple glass / satén ===== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    /* satin glass */
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(18px) saturate(1.35);
    -webkit-backdrop-filter: blur(18px) saturate(1.35);
    border-bottom: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 10px 30px rgba(0,0,0,.22);
}

    /* jemný “saténový” highlight pruh */
    nav::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(180deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.06) 45%, rgba(255,255,255,.02) 100%);
    }

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: .1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0rem;
    position: relative;
}

/* TADY je rozdíl: .logo-img je u nás wrapper (TachoLogo) */
.logo-img {
    width: 150px;
    height: auto;
    transform: scale(1.35) translateY(12px); /* zvětší a může lehce posunout */
    transform-origin: left center;
    z-index: 2;
}

    .logo-img:hover {
        filter: drop-shadow(0 0 30px rgba(74, 123, 200, 0.5));
    }

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

    .nav-links a {
        color: var(--light-gray);
        text-decoration: none;
        font-weight: 600;
        font-size: 1.05rem;
        transition: color 0.3s;
        position: relative;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

        .nav-links a:hover {
            color: var(--bright-blue);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--tacho-blue), var(--tacho-red));
            transition: width 0.3s;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        /* Ikonky v menu – barevný (blue→red) gradient jako CTA */
        .nav-links a .nav-icon {
            width: 1.15rem;
            height: 1.15rem;
            margin-right: .55rem;
            vertical-align: -0.18em;
            flex: 0 0 auto;
            pointer-events: none;
            filter: drop-shadow(0 0 12px rgba(74, 123, 200, 0.35));
        }



/* ===== Mobile burger + menu ===== */
.nav-burger {
    display: none; /* desktop = skryté */
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(10,14,26,0.35);
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1002;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

    .nav-burger span {
        display: block;
        width: 22px;
        height: 2px;
        background: rgba(255,255,255,0.92);
        border-radius: 2px;
        transition: transform .22s ease, opacity .18s ease;
    }

    .nav-burger.is-open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-burger.is-open span:nth-child(2) {
        opacity: 0;
    }

    .nav-burger.is-open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
    z-index: 998; /* pod nav, nad obsahem */
}

    .mobile-nav-backdrop.is-open {
        opacity: 1;
        pointer-events: auto;
    }

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(86vw, 360px);
    padding: 88px 18px 18px; /* prostor pro fixed nav */
    background: rgba(10,14,26,0.92);
    border-left: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    transform: translateX(110%);
    transition: transform .25s ease;
    z-index: 999; /* pod nav (nav má 1000), ale nad stránkou */
}

    .mobile-nav.is-open {
        transform: translateX(0);
    }

    .mobile-nav a {
        display: block;
        padding: 14px 12px;
        border-radius: 14px;
        color: var(--light-gray);
        text-decoration: none;
        font-weight: 800;
        letter-spacing: .4px;
        text-transform: uppercase;
        border: 1px solid rgba(255,255,255,0.06);
        background: rgba(255,255,255,0.03);
        margin-bottom: 10px;
    }

        .mobile-nav a:hover {
            color: var(--white);
            border-color: rgba(74,123,200,0.35);
        }

    .mobile-nav .mobile-nav-cta {
        margin-top: 6px;
        background: linear-gradient(135deg, rgba(74,123,200,0.22), rgba(196,30,58,0.18));
        border-color: rgba(255,255,255,0.10);
    }

/* Mobil: schovej desktop menu a ukaž burger */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    /* to už v CSS máš, nech klidně být :contentReference[oaicite:1]{index=1} */
    .nav-burger {
        display: inline-flex;
    }
}

/* === Burger ve stylu CTA (Kontaktujte nás) === */
.nav-burger {
    border: none;
    background: linear-gradient(135deg, var(--tacho-blue), var(--tacho-red));
    box-shadow: 0 10px 30px rgba(45, 90, 158, 0.35);
}

    .nav-burger:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 36px rgba(45, 90, 158, 0.55);
    }

    .nav-burger:active {
        transform: translateY(0px);
        box-shadow: 0 8px 22px rgba(45, 90, 158, 0.35);
    }

    /* čárky necháme bílé, ať je to čitelné */
    .nav-burger span {
        background: rgba(255,255,255,0.95);
    }

    /* když je otevřené menu, ať to trochu “zvýrazní” */
    .nav-burger.is-open {
        box-shadow: 0 18px 44px rgba(196, 30, 58, 0.35);
    }


/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 64px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.02;
    background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, var(--tacho-blue) 2px, var(--tacho-blue) 4px), repeating-linear-gradient(90deg, transparent, transparent 2px, var(--tacho-blue) 2px, var(--tacho-blue) 4px);
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(40px);
    }
}

.diagonal-accent {
    position: absolute;
    top: 15%;
    left: -5%;
    width: 40%;
    height: 70%;
    background: linear-gradient(135deg, var(--tacho-blue), var(--tacho-red));
    opacity: 0.06;
    transform: rotate(-25deg);
    border-radius: 40px;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    animation: fadeInUp 0.8s ease-out;
}

    .hero-text h1 .highlight {
        background: linear-gradient(135deg, var(--bright-blue), var(--bright-red));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text p {
    font-size: 1.3rem;
    color: var(--slate);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.9;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn {
    padding: 1.1rem 2.2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--tacho-blue), var(--tacho-red));
    color: var(--white);
    box-shadow: 0 10px 30px rgba(45, 90, 158, 0.4);
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(45, 90, 158, 0.6);
    }

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 2px solid rgba(74, 123, 200, 0.4);
}

    .btn-secondary:hover {
        background: rgba(74, 123, 200, 0.15);
        border-color: var(--bright-blue);
    }

/* Animated Tacho Display */
.tacho-display {
    position: relative;
    animation: fadeInRight 0.8s ease-out 0.3s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.tacho-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
}

.tacho-wheel-hero {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: 19.4% 60.5%;
    animation: rotateWheelHero 20s linear infinite;
    filter: drop-shadow(0 0 40px rgba(74, 123, 200, 0.6));
}

@keyframes rotateWheelHero {
    from {
        transform: translate(-19.4%, -60.5%) rotate(0deg);
    }

    to {
        transform: translate(-19.4%, -60.5%) rotate(360deg);
    }
}

.tacho-stats {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid rgba(74, 123, 200, 0.3);
    min-width: 200px;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--bright-blue), var(--bright-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--slate);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services Section */
.services {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, var(--midnight) 0%, var(--deep-blue) 100%);
    position: relative;
    scroll-margin-top: 110px;
}

    .services::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 1px;
        height: 100px;
        background: linear-gradient(180deg, transparent, var(--tacho-blue), transparent);
    }

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-tag {
    display: inline-block;
    padding: 0.6rem 1.8rem;
    background: rgba(74, 123, 200, 0.15);
    color: var(--bright-blue);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(74, 123, 200, 0.3);
}

.section-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--slate);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.6), rgba(26, 35, 50, 0.3));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(74, 123, 200, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--tacho-blue), var(--tacho-red));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.4s;
    }

    .service-card:hover::before {
        transform: scaleX(1);
    }

    .service-card:hover {
        transform: translateY(-10px);
        border-color: rgba(74, 123, 200, 0.5);
        box-shadow: 0 20px 60px rgba(45, 90, 158, 0.3);
    }

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--tacho-blue), var(--tacho-red));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(45, 90, 158, 0.3);
}

.service-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--slate);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
}

    .service-features li {
        padding: 0.85rem 0;
        color: var(--light-gray);
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-size: 1rem;
        font-weight: 500;
    }

        .service-features li::before {
            content: '▸';
            color: var(--bright-blue);
            font-weight: 900;
            font-size: 1.2rem;
        }

/* Contact Section */
.contact {
    padding: 1rem 2rem;
    background: var(--midnight);
    position: relative;
    scroll-margin-top: 110px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.contact-info h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.contact-info p {
    color: var(--slate);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    line-height: 1.9;
}

.contact-details {
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.7), rgba(26, 35, 50, 0.4));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(74, 123, 200, 0.3);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

    .contact-item:last-child {
        border-bottom: none;
    }

.contact-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--tacho-blue), var(--tacho-red));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.4rem;
    box-shadow: 0 10px 25px rgba(45, 90, 158, 0.3);
}

.contact-text h4 {
    font-size: 0.85rem;
    color: var(--slate);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.contact-text p {
    color: var(--white);
    font-size: 1.15rem;
    margin: 0;
    font-weight: 500;
}

.contact-text a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

    .contact-text a:hover {
        color: var(--bright-blue);
    }

/* ===== CONTACT – přepínací karty (tabs) + person cards ===== */

.contact-org {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-org-name {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 0.35rem;
}

.contact-org-line {
    color: var(--slate);
    line-height: 1.7;
    font-size: 1rem;
}

.contact-org-email {
    display: inline-flex;
    margin-top: 0.75rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
    transition: color 0.25s ease;
}

    .contact-org-email:hover {
        color: var(--bright-blue);
    }

/* Tabs row */
.contact-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0 0 1.25rem 0;
}

.contact-tab {
    cursor: pointer;
    border: 1px solid rgba(74, 123, 200, 0.35);
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.95rem;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    user-select: none;
}

    .contact-tab:hover {
        background: rgba(74, 123, 200, 0.12);
        border-color: rgba(74, 123, 200, 0.55);
        transform: translateY(-1px);
    }

    .contact-tab.is-active {
        background: linear-gradient(135deg, var(--tacho-blue), var(--tacho-red));
        border-color: rgba(255, 255, 255, 0.18);
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
    }

/* Tab content */
.contact-tab-content {
    margin-top: 0.25rem;
}

.contact-panel {
    /* keep spacing consistent */
}

/* Person cards */
.contact-person {
    display: flex;
    gap: 1rem;
    padding: 1.15rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-panel .contact-person:first-child {
    border-top: none;
    padding-top: 0;
}

.contact-person-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(74, 123, 200, 0.35);
}

.availability {
    background: rgba(74, 123, 200, 0.15);
    padding: 1.8rem;
    border-radius: 18px;
    margin-top: 2.5rem;
    text-align: center;
    border: 1px solid rgba(74, 123, 200, 0.3);
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 800;
    color: var(--bright-blue);
    font-size: 1.15rem;
    font-family: 'Orbitron', sans-serif;
}

.pulse {
    width: 12px;
    height: 12px;
    background: var(--bright-blue);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(74, 123, 200, 0.7);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(74, 123, 200, 0);
    }
}

.availability p {
    margin-top: 0.7rem;
    color: var(--slate);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Footer */
footer {
    background: rgba(10, 14, 26, 0.9);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(74, 123, 200, 0.2);
}

.footer-logo {
    margin-bottom: 1rem;
}

    .footer-logo img {
        height: 50px;
        opacity: 0.8;
        filter: drop-shadow(0 0 15px rgba(74, 123, 200, 0.3));
    }

footer p {
    color: var(--slate);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .tacho-background {
        right: -30%;
        width: 700px;
        height: 700px;
    }

    .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 3rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .logo-img {
        width: 120px;
    }

    .tacho-background {
        width: 500px;
        height: 500px;
    }

    .contact-tacho-bg {
        width: 500px;
        height: 500px;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .tacho-wheel-bg,
    .tacho-wheel-hero,
    .contact-tacho-bg img {
        animation: none !important;
    }
}

/* ===== HERO VIDEO BG ===== */

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    /* lehké “film” doladění */
    filter: saturate(1.05) contrast(1.05) brightness(.85);
    transform: scale(1.02); /* aby nebyly vidět okraje při resize */
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    /* čitelnost textu – tmavší nahoře + jemná viněta */
    background: radial-gradient(70% 70% at 30% 30%, rgba(10,14,26,.20), rgba(10,14,26,.75)), linear-gradient(180deg, rgba(10,14,26,.55) 0%, rgba(10,14,26,.15) 45%, rgba(10,14,26,.70) 100%);
}


/* Kdyby někde zůstaly staré prvky, tak je pro jistotu vypni */
.hero-background,
.diagonal-accent,
.tacho-background {
    display: none !important;
}

/* prefer-reduced-motion: video vypneme (nebo můžeš jen zastavit) */
@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }

    .hero-video-overlay {
        background: linear-gradient(180deg, rgba(10,14,26,.75), rgba(10,14,26,.85));
    }
}

/* === FIX: zruš jakýkoliv rámeček/obrys kolem hlavního nadpisu v hero === */
.hero-text h1 {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

    /* kdyby obrys kreslil pseudo-element */
    .hero-text h1::before,
    .hero-text h1::after,
    .hero-text::before,
    .hero-text::after {
        content: none !important;
    }

/* ===== Typewriter caret (blikající čárka) ===== */
.tc-type {
    display: inline-block;
    min-width: 22ch;
    white-space: nowrap;
}

/* Desktop: jemný posun doleva (NEpoužívat margin-left, ať to neroztahuje layout) */
@media (min-width: 1025px) {
    .tacho-display {
        left: -400px; /* kdyžtak dolaď: -60 / -90 / -140 */
    }
}

/* Tablet+mobil: vždy bez posunu */
@media (max-width: 1024px) {
    .tacho-display {
        left: 0;
    }
}
/* =========================
   ABOUT (O NÁS) – sekce dle vzoru
   ========================= */
.about {
    padding: 8rem 2rem;
    background: var(--midnight);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 110px; /* aby to nepodlezlo pod fixed nav */
}

    .about::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 1px;
        height: 100px;
        background: linear-gradient(180deg, transparent, var(--tacho-red), transparent);
    }

/* Rotující “tacho” v pozadí */
.about-tacho-bg {
    position: absolute;
    top: 50%;
    right: -20%;
    transform: translate(0, -50%);
    width: 800px;
    height: 800px;
    opacity: 0.04;
    pointer-events: none;
}

    .about-tacho-bg img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        transform-origin: 19.4% 60.5%;
        animation: rotateWheelSlow 50s linear infinite; /* keyframes už v CSS máš */
    }

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.about-intro {
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.6), rgba(26, 35, 50, 0.3));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(74, 123, 200, 0.2);
}

    .about-intro p {
        color: var(--light-gray);
        font-size: 1.15rem;
        line-height: 1.9;
        margin-bottom: 1.5rem;
    }

        .about-intro p:last-child {
            margin-bottom: 0;
        }

.about-services-list {
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.5), rgba(26, 35, 50, 0.2));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(196, 30, 58, 0.2);
}

    .about-services-list h3 {
        font-family: 'Orbitron', sans-serif;
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 2rem;
        background: linear-gradient(135deg, var(--bright-blue), var(--bright-red));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .about-services-list ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .about-services-list li {
        padding: 1rem 0;
        color: var(--light-gray);
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        font-size: 1.05rem;
        font-weight: 500;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        line-height: 1.7;
    }

        .about-services-list li:last-child {
            border-bottom: none;
        }

        .about-services-list li::before {
            content: '●';
            color: var(--tacho-red);
            font-weight: 900;
            font-size: 1rem;
            margin-top: 0.3rem;
            flex-shrink: 0;
        }

.about-footer {
    background: linear-gradient(135deg, rgba(74, 123, 200, 0.15), rgba(196, 30, 58, 0.1));
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(74, 123, 200, 0.3);
    text-align: center;
}

    .about-footer p {
        color: var(--light-gray);
        font-size: 1.15rem;
        line-height: 1.9;
        margin: 0;
    }

    .about-footer strong {
        color: var(--bright-blue);
        font-weight: 700;
    }

/* Mobile */
@media (max-width: 768px) {
    .about {
        padding: 4rem 1.5rem;
    }

    .about-tacho-bg {
        width: 600px;
        height: 600px;
        right: -30%;
    }

    .about-intro,
    .about-services-list {
        padding: 2rem;
    }

    .about-footer {
        padding: 2rem;
    }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .about-tacho-bg img {
        animation: none !important;
    }
}

/* ===== Contact: full-width layout (bez karet/tabs) ===== */

.contact-container.contact-container--stack {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

.contact-info.contact-info--center {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.contact-details.contact-details--wide {
    width: 100%;
}

/* Firma nahoře v kartě */
.contact-company {
    padding-bottom: 1.6rem;
    margin-bottom: 1.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-company-item {
    padding: 0;
    border-bottom: none;
}

/* Grid skupin uvnitř karty (využije šířku) */
.contact-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
}

@media (max-width: 900px) {
    .contact-groups {
        grid-template-columns: 1fr;
    }
}

/* Skupina */
.contact-group {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(74, 123, 200, 0.22);
    border-radius: 18px;
    padding: 1.35rem;
}

.contact-group--span2 {
    grid-column: span 2;
}

@media (max-width: 900px) {
    .contact-group--span2 {
        grid-column: auto;
    }
}

.contact-group-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: var(--white);
    letter-spacing: -0.3px;
}

/* Person text v řádku */
.contact-item.contact-person {
    padding: 1.05rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-group .contact-item.contact-person:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-person-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-person-name {
    color: var(--white);
    font-weight: 900;
    font-size: 1.05rem;
    line-height: 1.25;
}

.contact-person-role {
    color: var(--slate);
    font-size: 0.98rem;
    line-height: 1.6;
}

.contact-person-email {
    display: inline-flex;
    margin-top: 0.25rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
    transition: color 0.25s ease;
}

    .contact-person-email:hover {
        color: var(--bright-blue);
    }


/* =========================
   ABOUT – REFERENCES (rolující seznam)
   ========================= */

.about-references {
    margin-top: 1rem;
}

.refs-card {
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.55), rgba(26, 35, 50, 0.25));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(74, 123, 200, 0.22);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.refs-hero {
    padding: 1.6rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(65% 110% at 20% 0%, rgba(74, 123, 200, 0.22), rgba(10, 14, 26, 0)), radial-gradient(70% 140% at 80% 0%, rgba(196, 30, 58, 0.18), rgba(10, 14, 26, 0)), linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
}

.refs-hero-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.45rem;
    letter-spacing: -0.6px;
    color: var(--white);
    margin-bottom: 0.35rem;
}

.refs-hero-subtitle {
    color: var(--slate);
    font-weight: 600;
    line-height: 1.6;
}

.refs-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(74, 123, 200, 0.3);
    color: var(--light-gray);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    white-space: nowrap;
}

/* 2 sloupce: text + rolovací seznam */
.refs-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 1.4rem;
    padding: 1.4rem 2rem 1.8rem;
}

.refs-textbox {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(74, 123, 200, 0.18);
    border-radius: 20px;
    padding: 1.35rem 1.35rem 1.2rem;
}

.refs-text-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 0.8rem;
}

.refs-text {
    color: var(--slate);
    line-height: 1.75;
    font-weight: 600;
    margin: 0;
}

/* okno se seznamem (jediná definice!) */
.refs-marquee {
    height: 280px;
    overflow: hidden;
    position: relative;
    padding: 1.25rem 1.35rem 1.6rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(74, 123, 200, 0.18);
    border-radius: 20px;
}

    /* Fade nahoře/dole */
    .refs-marquee::before,
    .refs-marquee::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        height: 60px;
        pointer-events: none;
        z-index: 1;
    }

    .refs-marquee::before {
        top: 0;
        background: linear-gradient(180deg, rgba(10, 14, 26, 0.95), rgba(10, 14, 26, 0));
    }

    .refs-marquee::after {
        bottom: 0;
        background: linear-gradient(0deg, rgba(10, 14, 26, 0.95), rgba(10, 14, 26, 0));
    }

.refs-track {
    position: relative;
    z-index: 0;
    will-change: transform;
    animation: refsScroll 38s linear infinite;
}

.refs-list {
    list-style: none;
    margin: 0;
    padding: 0 0 1.15rem 0;
    display: grid;
    gap: 0.55rem;
}

    .refs-list li {
        color: var(--slate);
        font-size: 1.02rem;
        line-height: 1.55;
        display: flex;
        align-items: flex-start;
        gap: 0.65rem;
    }

        .refs-list li::before {
            content: "●";
            color: var(--bright-blue);
            font-weight: 900;
            font-size: 0.75rem;
            margin-top: 0.42rem;
            flex-shrink: 0;
        }

@keyframes refsScroll {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }
    /* funguje díky duplikátu listu */
}

/* mobil: pod sebe */
@media (max-width: 900px) {
    .refs-grid {
        grid-template-columns: 1fr;
        padding: 1.25rem 1.5rem 1.6rem;
    }

    .refs-marquee {
        height: 320px;
    }
}

/* mobil: hero hlavička */
@media (max-width: 768px) {
    .refs-hero {
        padding: 1.25rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .refs-track {
        animation: none !important;
        transform: none !important;
    }
}

/* Extra-small mobily: typewriter se smí zalomit a nesmí mít min-width */
@media (max-width: 420px) {
    .tc-type {
        min-width: 0;
        white-space: normal; /* dovol zalomení na mezerách */
        max-width: 100%;
    }

    /* ať "pod kontrolou" jde hezky na další řádek */
    .hero-text h1 .highlight {
        display: block;
    }

    /* trochu menší nadpis */
    .hero-text h1 {
        font-size: 2.35rem;
        line-height: 1.08;
    }
}

/* === MOBILE HERO SPACING FIX === */
@media (max-width: 768px) {
    .hero {
        padding-top: 100px; /* víc místa pod fixed menu (uprav podle chuti) */
        align-items: flex-start; /* ať obsah nezačíná moc nahoře kvůli centeringu */
    }

    .hero-content {
        padding-top: 10px; /* jemný posun celého obsahu ještě níž */
    }
}


/* 1) Zmenši mezeru mezi textem (tlačítky) a 24/7 blokem na mobilu */
@media (max-width: 1024px) {
    .hero-content {
        gap: 2.2rem; /* bylo 5rem */
    }
}

/* 2) Posuň 24/7 výš (uvnitř tacho bloku) + zmenši samotný blok na mobilu */
@media (max-width: 768px) {
    .tacho-container {
        max-width: 320px; /* menší čtverec = 24/7 nebude tak nízko */
    }

    .tacho-stats {
        top: 30%; /* bylo 50% => posune se nahoru */
    }
}

/* === FIX: Kontakty na mobilu nepřetékají mimo obrazovku === */

/* ať se karta nikdy neroztáhne víc než viewport */
.contact-details {
    max-width: 100%;
}

/* flex položky v kontaktu se musí umět zmenšit */
.contact-person-text,
.contact-text {
    min-width: 0;
}

    /* dlouhé maily/odkazy musí jít lámat */
    .contact-person-email,
    .contact-org-email,
    .contact-text a {
        display: inline-block;
        max-width: 100%;
        overflow-wrap: anywhere; /* ideální pro e-maily */
        word-break: break-word;
    }

/* (volitelné) na menších mobilech trochu uber padding, ať je víc místa */
@media (max-width: 480px) {
    .contact {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .contact-details {
        padding: 2rem;
    }
    /* pokud chceš, dej klidně 1.6rem */
}

/* iOS Safari: často zlobí video + CSS filter/transform => vypnout jen na iOS */
@supports (-webkit-touch-callout: none) {
    .hero-video {
        filter: none !important;
        transform: none !important;
    }
}

/* === VŠECHNY TELEFONY: CTA pod sebe + 24/7 vycentrovat === */
@media (max-width: 1024px) {

    /* aby vše bylo hezky uprostřed */
    .hero-content {
        align-items: center;
    }

    /* tlačítka vždy pod sebou, plná šířka (s max šířkou) */
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 420px; /* aby to nebylo moc široké na velkých telefonech */
        margin: 0 auto;
        gap: 12px;
    }

        .cta-buttons .btn {
            width: 100%;
            justify-content: center;
        }

    /* 24/7 blok na střed */
    .tacho-display {
        left: 0 !important; /* kdyby někde zůstalo posunutí */
        margin: 0 auto !important;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .tacho-container {
        margin: 0 auto;
    }
}

@media (max-width: 1024px) {
    .tacho-stats {
        padding: 1.5rem;
        min-width: 150px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }
}

/* === FIX iPhone (430px) – nic nesmí přetékat doprava === */
@media (max-width: 520px) {

    /* grid itemy se musí umět zmenšit (jinak přetékají) */
    .hero-text,
    .tacho-display {
        min-width: 0;
    }

    /* typewriter: na mobilech POVOL zalomení (iPhone 14 Pro Max má 430px) */
    .tc-type {
        min-width: 0;
        white-space: normal;
        max-width: 100%;
    }

    /* ať je víc místa do stran */
    .hero-content {
        padding: 0 1.25rem;
    }

    /* CTA vždy pod sebe */
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }

        .cta-buttons .btn {
            width: 100%;
            justify-content: center;
            white-space: normal; /* kdyby se text nevešel */
        }
}

/* vrstvy: video < overlay < content */
.hero-video {
    z-index: 0;
}

.hero-video-overlay {
    z-index: 1;
}

.hero-content {
    z-index: 2;
}

@supports (-webkit-touch-callout: none) {
    .hero {
        background: url("/images/hero-fallback.jpg") center/cover no-repeat;
    }
}

/* =========================
   CLIENT BRIEFING – glass article window
   ========================= */
.tc-briefing-page {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 8.8rem 2rem 5rem;
    background: var(--midnight);
}

.tc-briefing-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    min-height: 760px;
    object-fit: cover;
    z-index: 0;
    filter: saturate(1.05) contrast(1.05) brightness(0.96);
    transform: scale(1.02);
    transform-origin: center top;
}

.tc-briefing-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: calc(100vh + 280px);
    min-height: 1040px;
    z-index: 0;
    background: radial-gradient(70% 70% at 30% 30%, rgba(10, 14, 26, 0.10), rgba(10, 14, 26, 0.52)), linear-gradient(180deg, rgba(10, 14, 26, 0.54) 0%, rgba(10, 14, 26, 0.10) 26%, rgba(10, 14, 26, 0.52) 62%, var(--midnight) 92%, var(--midnight) 100%);
}

.tc-briefing-window {
    width: min(1180px, 100%);
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background: linear-gradient(145deg, rgba(18, 25, 38, 0.78), rgba(12, 17, 30, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(24px) saturate(1.25);
    -webkit-backdrop-filter: blur(24px) saturate(1.25);
    overflow: hidden;
}

.tc-briefing-window::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.02) 24%, rgba(255, 255, 255, 0));
}

.tc-briefing-close {
    position: absolute;
    top: 1.3rem;
    right: 1.3rem;
    z-index: 3;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.tc-briefing-close:hover {
    transform: translateY(-1px);
    background: rgba(196, 30, 58, 0.24);
    border-color: rgba(230, 57, 70, 0.42);
}

.tc-briefing-hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(290px, 0.9fr);
    gap: 2rem;
    padding: 3.4rem 4rem 1.7rem;
}

.tc-briefing-hero > div,
.tc-briefing-summary,
.tc-briefing-section > div,
.tc-briefing-cta > div {
    min-width: 0;
}

.tc-briefing-hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.05rem, 3.5vw, 3.15rem);
    line-height: 1.13;
    letter-spacing: 0;
    margin: 0 0 1.35rem;
    max-width: 780px;
    overflow-wrap: break-word;
}

.tc-briefing-hero h1:focus {
    outline: none;
}

.tc-briefing-hero p {
    color: var(--light-gray);
    font-size: 1.16rem;
    line-height: 1.85;
    max-width: 760px;
}

.tc-briefing-summary {
    align-self: end;
    padding: 1.7rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(74, 123, 200, 0.22), rgba(196, 30, 58, 0.16));
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.tc-briefing-summary-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.7rem;
}

.tc-briefing-summary p {
    margin: 0;
    color: var(--white);
    font-size: 1.05rem;
    line-height: 1.72;
    overflow-wrap: break-word;
}

.tc-briefing-content {
    position: relative;
    z-index: 1;
    padding: 0 4rem 1.4rem;
}

.tc-briefing-section {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 1.5rem;
    padding: 2.1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.tc-briefing-section--strong {
    margin: 1rem 0;
    padding: 2rem;
    border: 1px solid rgba(74, 123, 200, 0.28);
    border-radius: 20px;
    background: rgba(74, 123, 200, 0.11);
}

.tc-briefing-number {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    color: var(--white);
    background: linear-gradient(135deg, var(--tacho-blue), var(--tacho-red));
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.tc-briefing-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.22;
    letter-spacing: 0;
    margin-bottom: 1rem;
}

.tc-briefing-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.08rem;
    letter-spacing: 0;
    margin-bottom: 0.7rem;
}

.tc-briefing-section p,
.tc-briefing-section li {
    color: var(--light-gray);
    font-size: 1.08rem;
    line-height: 1.86;
}

.tc-briefing-section p + p,
.tc-briefing-section ul + p,
.tc-briefing-section p + ul {
    margin-top: 1rem;
}

.tc-briefing-section ul {
    padding-left: 1.2rem;
}

.tc-check-list {
    list-style: none;
    padding-left: 0 !important;
}

.tc-check-list li {
    position: relative;
    padding-left: 1.7rem;
    margin-bottom: 0.55rem;
}

.tc-check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 0.62rem;
    height: 0.62rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bright-blue), var(--bright-red));
}

.tc-briefing-section blockquote {
    margin: 1.3rem 0;
    padding: 1.3rem 1.5rem;
    border-left: 4px solid var(--bright-blue);
    border-radius: 0 16px 16px 0;
    background: rgba(255, 255, 255, 0.055);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 900;
}

.tc-briefing-section blockquote span {
    display: block;
    margin-top: 0.35rem;
    color: var(--slate);
    font-size: 0.98rem;
    font-weight: 700;
}

.tc-briefing-note,
.tc-briefing-cases > div {
    margin-top: 1.2rem;
    padding: 1.35rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.tc-briefing-note strong {
    display: inline-block;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.tc-briefing-cases {
    display: grid;
    gap: 1rem;
}

.tc-briefing-cta {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin: 1rem 4rem 4rem;
    padding: 1.6rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(45, 90, 158, 0.24), rgba(196, 30, 58, 0.18));
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.tc-briefing-cta span {
    color: var(--white);
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
}

.tc-briefing-cta p {
    margin-top: 0.35rem;
    color: var(--slate);
    font-size: 1rem;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    margin-top: 1.1rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 900;
    border-bottom: 1px solid rgba(74, 123, 200, 0.55);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.service-card-link:hover {
    color: var(--bright-blue);
    border-color: var(--bright-red);
}

@media (max-width: 960px) {
    .tc-briefing-page {
        padding: 7rem 1.25rem 3rem;
    }

    .tc-briefing-hero {
        grid-template-columns: 1fr;
        padding: 3.4rem 2rem 1.7rem;
    }

    .tc-briefing-summary {
        align-self: stretch;
    }

    .tc-briefing-content {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .tc-briefing-cta {
        margin: 1rem 2rem 2rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .tc-briefing-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 620px) {
    .tc-briefing-page {
        max-width: 100vw;
        overflow-x: hidden;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .tc-briefing-window {
        width: calc(100vw - 1.5rem);
        max-width: calc(100vw - 1.5rem);
        border-radius: 18px;
    }

    .tc-briefing-close {
        top: 0.9rem;
        right: 0.9rem;
    }

    .tc-briefing-hero {
        max-width: 100%;
        padding: 3.8rem 1.25rem 1.4rem;
    }

    .tc-briefing-hero h1 {
        width: calc(100vw - 4rem);
        max-width: calc(100vw - 4rem);
        font-size: clamp(1.65rem, 8.4vw, 2.15rem);
        line-height: 1.18;
        white-space: normal !important;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .tc-briefing-hero p {
        width: calc(100vw - 4rem);
        max-width: calc(100vw - 4rem);
        font-size: 1.02rem;
        overflow-wrap: anywhere;
    }

    .tc-briefing-summary {
        width: calc(100vw - 4rem);
        max-width: calc(100vw - 4rem);
        padding: 1.25rem;
    }

    .tc-briefing-summary p {
        overflow-wrap: anywhere;
    }

    .tc-briefing-content {
        padding: 0 1.25rem 1rem;
    }

    .tc-briefing-section,
    .tc-briefing-section--strong {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .tc-briefing-section--strong {
        padding: 1.35rem;
    }

    .tc-briefing-section p,
    .tc-briefing-section li {
        font-size: 1.02rem;
        overflow-wrap: break-word;
    }

    .tc-briefing-cta {
        margin: 0.8rem 1.25rem 1.25rem;
        padding: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tc-briefing-video {
        display: none;
    }

    .tc-briefing-page {
        background: linear-gradient(180deg, rgba(10, 14, 26, 0.35), rgba(10, 14, 26, 0.95)), url("/images/hero-fallback.jpg") center/cover no-repeat;
    }
}

@supports (-webkit-touch-callout: none) {
    .tc-briefing-page {
        background: linear-gradient(180deg, rgba(10, 14, 26, 0.35), rgba(10, 14, 26, 0.95)), url("/images/hero-fallback.jpg") center/cover no-repeat;
    }

    .tc-briefing-video {
        filter: none !important;
        transform: none !important;
    }
}
