/* --- ZÁKLADNÍ PROMĚNNÉ --- */
:root {
    --bg-dark: #0a0f1c;
    /* Tmavé tech pozadí */
    --bg-card: #151f32;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;

    --primary: #3b82f6;
    /* Modrá */
    --primary-hover: #2563eb;
    --accent: #06b6d4;
    /* Tyrkysová */

    --glass-bg: rgba(21, 31, 50, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);

    --transition: all 0.3s ease;
}

/* --- RESET & TYPOGRAFIE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

/* --- KOMPONENTY --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--text-muted);
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.gradient-text {
    background: linear-gradient(to right, #60a5fa, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- HLAVIČKA A LOGO --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0);
}

.navbar.scrolled {
    background: rgba(10, 15, 28, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
}

.navbar.nav-hidden {
    transform: translateY(-100%);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    /* Zajišťuje vertikální zarovnání textu a ikony */
    gap: 12px;
    /* Mezera mezi obrazkem a textem */
    text-decoration: none;
}

.logo-image {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: white;
    /* Nebo výchozí barva textu */
}


.logo .accent {
    color: var(--primary);
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 18px;
    color: white;
}

.phone-link i {
    color: var(--accent);
    font-size: 24px;
}

/* --- HERO SEKCE --- */
.hero {
    padding-top: 180px;
    padding-bottom: 120px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(to right, rgba(10, 15, 28, 0.95) 0%, rgba(10, 15, 28, 0.7) 100%),
        url('images/hero_bg.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(10, 15, 28, 0) 70%);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 52px;
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Hero vizuál (Glass cards) */
.hero-visual {
    position: relative;
    height: 400px;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: absolute;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    /* Přidáno pro kruhový pohyb, zpomaleno z 14s na 25s */
    animation: orbit 25s linear infinite;
    top: 30%;
    /* Výchozí pozice blízko středu */
    left: 20%;
    z-index: 2;
}

.glass-card strong {
    display: block;
    font-size: 16px;
    color: white;
}

.glass-card span {
    font-size: 14px;
    color: var(--text-muted);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 24px;
}

/* Rozložení 5 karet (5s prodleva u každé pro rovnoměrnost z 25s celkem) */
.card-1 {
    animation-delay: 0s;
}

.card-2 {
    animation-delay: -5s;
}

.card-3 {
    animation-delay: -10s;
}

.card-4 {
    animation-delay: -15s;
}

.card-5 {
    animation-delay: -20s;
}

.glow-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(10, 15, 28, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    /* Pod textem i kartami */
}

/* Rotující SVG text IT Blatná */
.circular-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    /* Odpovídá poloměru rotace karet */
    height: 500px;
    z-index: 1;
    /* Mezi orbem a kartami */
    animation: rotateText 40s linear infinite;
    /* Pomalá, nepřetržitá rotace */
    pointer-events: none;
    /* Aby neblokoval hover na karty */
}

.circular-text svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.circular-text text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 5px;
    fill: rgba(255, 255, 255, 0.2);
    /* Jemný pologůhledný text */
    text-transform: uppercase;
}

@keyframes rotateText {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Kruhový pohyb s rotací kolem středu s kompenzací "narovnání" */
@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(190px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(190px) rotate(-360deg);
    }
}

/* --- SLUŽBY --- */
.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-box {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 16px;
    transition: var(--transition);
}

.service-box:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-box.large-span {
    grid-column: span 2;
    background: linear-gradient(to right, var(--bg-card), rgba(6, 182, 212, 0.05));
}

.service-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 24px;
}

.service-box h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.service-box p {
    color: var(--text-muted);
}

/* --- KONTAKT --- */
.dark-section {
    background: #0f1524;
    border-top: 1px solid var(--glass-border);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 40px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.detail-item i {
    font-size: 28px;
    color: var(--accent);
}

.detail-item span {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.detail-item strong {
    font-size: 18px;
    color: white;
}

/* Formulář */
.contact-form-box {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.contact-form-box h3 {
    margin-bottom: 24px;
    font-size: 24px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.required-star {
    color: #ef4444;
    /* Tailwind red-500 */
    margin-left: 2px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.full-width {
    width: 100%;
}

.form-disclaimer {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 16px;
    text-align: center;
}

/* --- NOVÉ SEKCE --- */
.nav-btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* Proces spolupráce */
/* --- PROCES SPOLUPRÁCE (Časová osa) --- */
.timeline-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 80px auto 40px;
    max-width: 800px;
}

.timeline-line {
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, rgba(59, 130, 246, 0.2), var(--accent), rgba(59, 130, 246, 0.2));
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 280px;
    /* Zajišťuje prostor i pro rozevřenou bublinu */
    height: 64px;
    /* Výchozí výška jen pro kroužek */
}

/* Hlavní morphing kontejner */
.timeline-item {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-dark));
    border: 2px solid var(--accent);
    border-radius: 50px;
    /* kruh jako základ */
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-number {
    width: 100%;
    min-height: 60px;
    /* Přesně velikost počátečního kola */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 24px;
    color: white;
    transition: var(--transition);
}

.timeline-content {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.9);
    padding: 0 20px 20px;
    text-align: center;
    transition: all 0.4s ease;
    transition-delay: 0s;
    /* Zpoždění aby text nešel vidět dřív než je okno */
}

.timeline-content i {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 12px;
}

.timeline-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: white;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

/* --- ANIMACE OTEVŘENÍ --- */
/* Transformace kulatého uzlu do textového boxu */
.timeline-step:hover .timeline-item,
.timeline-step.active .timeline-item {
    width: 280px;
    height: 220px;
    /* Odhad prostoru pro text */
    border-radius: 16px;
    background: var(--bg-card);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* Samotná číslovka nahoře zůstane malá / zmenší se na bublinu uprostřed */
.timeline-step:hover .timeline-number,
.timeline-step.active .timeline-number {
    font-size: 16px;
    min-height: 40px;
    opacity: 0.5;
    /* Schválně utlumená aby nevynikala */
}

/* Zobrazení textu */
.timeline-step:hover .timeline-content,
.timeline-step.active .timeline-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition-delay: 0.2s;
    /* Text najede až když je bublina skoro velká */
}

/* Reference / Social proof s fotkou */
.social-proof {
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-card));
}

.proof-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.proof-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.proof-text p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.badges-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.proof-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    font-weight: 500;
    transition: var(--transition);
}

.proof-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
    border-color: rgba(59, 130, 246, 0.4);
}

.proof-badge i {
    color: var(--accent);
    font-size: 24px;
}

.proof-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
}

/* --- Sekce Modely Spolupráce (Ceník) --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pricing-card.popular {
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.1), var(--glass-bg));
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.price {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
    min-height: 66px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 15px;
}

.pricing-features li i {
    color: var(--primary);
}

.w-100 {
    width: 100%;
}

/* --- Časté dotazy (FAQ Akordeon) --- */
.faq-accordion {
    max-width: 800px;
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--accent);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* --- Sekce Náš tým --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.team-member {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.member-photo-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-dark));
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.2);
}

.member-photo-placeholder i {
    font-size: 48px;
    color: var(--text-muted);
}

.member-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
    display: block;
    /* Ensure it centers with margin 0 auto */
}

.team-member h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: white;
}

.member-role {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-desc {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Vlastní SelectBox ve formuláři */
.select-wrapper {
    position: relative;
}

.custom-select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 16px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: var(--transition);
}

.custom-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.custom-select option {
    background: var(--bg-card);
    color: white;
}

.select-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

/* --- ANIMACE (Scroll Fade-in) --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- FOOTER --- */
footer {
    padding: 30px 0;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-dark);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-right: 10px;
    align-items: center;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    margin: 0;
}

.social-icons a:hover {
    transform: translateY(-3px) scale(1.1);
}

.social-icons i {
    font-size: 28px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: filter 0.3s ease;
}

.social-icons a:hover i {
    filter: brightness(1.2) drop-shadow(0 4px 10px rgba(6, 182, 212, 0.4));
}

.footer-links a:not(.social-icons a) {
    color: var(--text-muted);
}

.footer-links a:not(.social-icons a):hover {
    color: white;
}

/* --- COOKIE LIŠTA --- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 600px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.cookie-content {
    flex: 1 1 300px;
}

.cookie-content h4 {
    margin-bottom: 8px;
    font-size: 18px;
}

.cookie-content p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-muted);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

/* --- RESPONZIVITA --- */
@media (max-width: 900px) {

    .d-none-mobile {
        display: none !important;
    }

    .hero-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 140px;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .hero-visual {
        display: none;
        /* Schováno na mobilech pro zjednodušení PPC */
    }

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

    .service-box.large-span {
        grid-column: 1;
    }

    /* Timeline na mobilu - svislá čára vlevo, text vpravo */
    .timeline-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
        margin-top: 40px;
        position: relative;
        padding-left: 50px;
        /* Místo pro čáru a čísla */
    }

    .timeline-line {
        top: 0;
        bottom: 0;
        left: 20px;
        /* Pozice čáry vlevo */
        width: 4px;
        height: 100%;
        transform: none;
        background: linear-gradient(to bottom, rgba(59, 130, 246, 0.2), var(--accent), rgba(59, 130, 246, 0.2));
    }

    .timeline-step {
        width: 100% !important;
        height: auto !important;
        align-items: flex-start !important;
    }

    /* Vynutit otevřený vzhled na mobilu napořád i přes případné animace a hover */
    .timeline-item,
    .timeline-step:hover .timeline-item,
    .timeline-step.active .timeline-item {
        position: relative !important;
        transform: none !important;
        left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        border-radius: 16px !important;
        background: var(--bg-card) !important;
        border-color: var(--primary) !important;
        display: flex !important;
        flex-direction: row !important;
        /* Změna: Číslo vlevo, text vpravo */
        align-items: flex-start !important;
        padding: 20px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    }

    .timeline-number,
    .timeline-step:hover .timeline-number,
    .timeline-step.active .timeline-number {
        position: absolute !important;
        left: -50px !important;
        /* Posunutí čísla na čáru */
        top: 20px !important;
        width: 40px !important;
        height: 40px !important;
        min-height: 40px !important;
        border-radius: 50% !important;
        background: var(--bg-dark) !important;
        border: 2px solid var(--accent) !important;
        font-size: 18px !important;
        opacity: 1 !important;
        /* Musí být vidět */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 3 !important;
        box-shadow: 0 0 10px rgba(6, 182, 212, 0.5) !important;
    }

    .timeline-content,
    .timeline-step:hover .timeline-content,
    .timeline-step.active .timeline-content {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) scale(1) !important;
        padding: 0 !important;
        text-align: left !important;
        /* Zarovnání doleva */
        width: 100% !important;
    }

    .timeline-content i {
        display: none !important;
        /* Schovat velkou ikonu na mobilu pro čistší vzhled */
    }

    /* Reference layout mobil */
    .proof-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .proof-text {
        order: 2;
        /* Text pod fotkou na mobilu */
    }

    .proof-image {
        order: 1;
        /* Fotka nad textem na mobilu */
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}