/* ==========================================================================
   CSS STYLY PRO MPZ MB - AUTOMATIZACE A LOGISTIKA (SLOŽKA S PODTRŽÍTKEM)
   ========================================================================== */

/* Import Google Font Outfit */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ==========================================================================
   DESIGN TOKENS & PROMĚNNÉ
   ========================================================================== */
:root {
    /* Brand Barvy podle grafické předlohy */
    --primary-orange: #ff8c00;
    --primary-orange-rgb: 255, 140, 0;
    --logo-blue: #3c6bb6;
    --dark-blue: #141b29;
    --secondary-dark: #111111;
    --secondary-dark-rgb: 17, 17, 17;
    --text-dark: #222222;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    
    /* Skleněné efekty */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(17, 17, 17, 0.06);
    --glass-shadow: 0 10px 30px rgba(17, 17, 17, 0.02);
    --glass-shadow-hover: 0 20px 45px rgba(17, 17, 17, 0.08);
    
    /* Typografie */
    --font-outfit: 'Outfit', sans-serif;
    
    /* Rozměry a odsazení */
    --radius-lg: 32px;
    --radius-md: 20px;
    --radius-sm: 10px;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;
}

/* ==========================================================================
   ZÁKLADNÍ NASTAVENÍ A RESET
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* 1rem = 16px */
}

body {
    font-family: var(--font-outfit);
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Technické podkreslení celého webu (Blueprint Grid) */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(17, 17, 17, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 17, 17, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

/* Šířka celého webu na 90% obrazovky s max-width */
.site-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding-left: 45px; /* Větší odsazení zleva pro volný prostor a perfektní svislé zarovnání s logem */
    padding-right: 20px;
}

.bg-light {
    background-color: var(--bg-light);
}

/* ==========================================================================
   TYPOGRAFIE (Písmo z předlohy - velké, odvážné)
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    color: var(--secondary-dark);
    font-weight: 900;
    line-height: 1.05;
    text-align: left;
}

h1 {
    font-size: clamp(2.3rem, 6.5vw, 4.6rem); /* Extrémně velké a tučné */
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    position: relative;
    line-height: 1.1;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background-color: var(--primary-orange);
    margin-top: 15px;
    border-radius: 3px;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    font-size: 1.025rem;
    line-height: 1.7;
    color: #444444;
    text-align: left;
    max-width: 90%;
}

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

a:hover {
    color: var(--secondary-dark);
}

.text-highlight {
    color: var(--primary-orange);
}

.text-dark-blue {
    color: var(--dark-blue);
}

/* ==========================================================================
   NAVIGACE
   ========================================================================== */
.header-nav {
    position: fixed;
    top: 20px;
    left: 5%;
    right: 5%;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    padding-left: 45px; /* Sjednocené odsazení zleva pro logo */
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.015);
    transition: var(--transition-smooth);
}

.header-nav.scrolled {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.logo-wrapper {
    height: 48px;
    display: flex;
    align-items: center;
}

.logo-wrapper a {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    color: var(--dark-blue);
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-orange);
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* Desktopová rozbalovací nabídka (Dropdown) */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    color: var(--dark-blue);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 8px 0;
    position: relative;
    transition: var(--transition-fast);
}

.nav-links a:hover,
.dropdown-trigger:hover,
.dropdown:hover .dropdown-trigger {
    color: var(--dark-blue);
}

.dropdown-trigger::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-orange);
    transition: var(--transition-fast);
    border-radius: 2px;
}

.dropdown:hover .dropdown-trigger::after {
    width: 100%;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--bg-white);
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: var(--radius-sm);
    box-shadow: 0 15px 35px rgba(17, 17, 17, 0.1);
    padding: 12px 0;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 24px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: var(--secondary-dark) !important;
    transition: var(--transition-fast) !important;
    text-align: left;
}

.dropdown-menu a::after {
    display: none !important;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 140, 0, 0.05) !important;
    color: var(--primary-orange) !important;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switch {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--secondary-dark);
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    background: transparent;
}

.lang-switch:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

/* Hamburger Menu pro Mobil */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-orange);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* Mobilní menu aktivní */
.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================================================
   HERO SEKCE (S podkresovou skicou robota na pravé straně)
   ========================================================================== */
.hero-section {
    min-height: 95vh;
    padding-top: 160px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Podkresový obrázek na pravé straně s bílou poloprůhlednou vrstvou navrchu */
.hero-bg-blueprint {
    position: absolute;
    top: 0;
    right: 0;
    width: 52%; /* Zabírá pravou polovinu obrazovky */
    height: 100%;
    background-image: url('Obrazky/uvodni_strana/svarovaci%20robot%20skica.png');
    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}

/* Bílá krycí vrstva odstraněna – obrázek je čistý */
.hero-bg-blueprint::after {
    content: none;
}

.hero-grid {
    display: block;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
}

.hero-title {
    margin-bottom: 12px; /* Zmenšeno odsazení pod nadpisem pro lepší kontakt s hashtagem */
    line-height: 1.05;
}

.hero-hashtag {
    font-size: clamp(1.15rem, 3.25vw, 2.3rem); /* Přesně 50% velikost oproti H1 */
    font-weight: 800;
    color: #3c6bb6; /* Modrá barva podle loga */
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.15rem;
    color: #555555;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* ==========================================================================
   TLAČÍTKA
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--bg-white);
    border-color: var(--primary-orange);
    box-shadow: 0 6px 18px rgba(255, 140, 0, 0.2);
}

.btn-primary:hover {
    color: var(--bg-white); /* Zamezení přebarvení na černou přes a:hover */
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

.btn-secondary:hover {
    color: var(--secondary-dark); /* Zamezení přebarvení přes a:hover */
}

.btn i {
    margin-left: 8px;
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

/* Tlačítko v menu přebarvené na oranžovo */
#headerDemandBtn {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    box-shadow: 0 6px 18px rgba(255, 140, 0, 0.2);
}

#headerDemandBtn:hover {
    color: var(--bg-white); /* Zamezení přebarvení přes a:hover */
}

/* ==========================================================================
   TMÁVÁ ACCENT SEKCE (Pod hero)
   ========================================================================== */
.dark-accent-section {
    background: linear-gradient(135deg, #141b29 0%, #222e45 100%); /* Temně břidlicově-modrý kovový gradient */
    color: var(--bg-white);
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.dark-accent-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.dark-accent-left h2 {
    color: var(--bg-white);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.15;
}

.dark-accent-right p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-bottom: 24px;
    max-width: 100%;
}

.certifications-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.cert-item i {
    color: var(--primary-orange);
    font-size: 1.1rem;
}

.dark-accent-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.dark-accent-stat .big-stat-number {
    font-size: clamp(3.5rem, 8vw, 5rem);
    font-weight: 900;
    color: var(--primary-orange);
    line-height: 1;
    margin-bottom: 5px;
}

.dark-accent-stat .big-stat-label {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   MARQUEE BANNER (Posuvný text)
   ========================================================================== */
.sliding-banner {
    background-color: var(--primary-orange);
    padding: 24px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.15);
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.marquee-content span {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--secondary-dark);
    letter-spacing: 0.05em;
    margin-right: 20px;
    display: inline-block;
}

@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   LOGA PARTNERŮ (ZÁKAZNÍKŮ)
   ========================================================================== */
.partners-logos-section {
    padding: 50px 0; /* Větší prostor pro sekci */
    background-color: var(--bg-light); /* Jemně šedý podklad */
    border-bottom: 1px solid rgba(17, 17, 17, 0.04);
    border-top: 1px solid rgba(17, 17, 17, 0.04);
    position: relative;
    z-index: 2;
}

.partners-logos-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

.partners-logos-title h4 {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 800;
    color: var(--secondary-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.partners-logos-title h4::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: var(--primary-orange);
    border-radius: 50%;
    flex-shrink: 0;
}

.partners-logos-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px; /* Zvětšeno z 38px */
    flex: 1 1 120px;
    max-width: 160px;
    transition: var(--transition-smooth);
}

.partner-logo {
    height: 52px; /* Zvětšeno z 38px */
    width: auto;
    display: block;
    object-fit: contain;
    filter: grayscale(1) brightness(0.2) opacity(0.35); /* Jednobarevné sjednocení pro PNG/WebP */
    transition: var(--transition-smooth);
}

.partner-logo-item:hover .partner-logo {
    filter: grayscale(0) brightness(1) opacity(0.95); /* Zobrazení původních barev při hoveru */
}

@media (max-width: 1023px) {
    .partners-logos-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    .partners-logos-title h4 {
        justify-content: center;
    }
    .partners-logos-grid {
        justify-content: center;
        gap: 30px;
    }
    .partner-logo-item {
        height: 38px;
        flex: 0 1 auto;
    }
    .partner-logo {
        height: 38px;
    }
}


/* ==========================================================================
   SEKCE OBECNĚ
   ========================================================================== */
.section-wrapper {
    padding: 120px 0;
    position: relative;
}

.section-header {
    margin-bottom: 70px;
    max-width: 800px;
}

.section-subtitle {
    color: var(--primary-orange);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: block;
}

.section-main-title {
    color: var(--dark-blue);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 8px;
    display: block;
}

/* Dvousloupcový intro blok pod nadpisem */
.spec-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 48px;
    margin-top: 32px;
}

.spec-intro-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    display: block;
}

.spec-intro-text {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.spec-intro-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.spec-intro-num {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary-orange);
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.85;
}

.spec-intro-item p {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark-blue);
    line-height: 1.45;
    margin: 0;
    padding-top: 6px;
}

.spec-intro-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0 0 4px 0;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .spec-intro {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* Seznam vybavení */
.equipment-list {
    margin-bottom: 48px;
    padding: 36px 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow);
}

.equipment-lead {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.equipment-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 40px;
}

.equipment-list ul li {
    font-size: 1rem;
    color: var(--dark-blue);
    font-weight: 500;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.equipment-list ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-orange);
}

@media (max-width: 768px) {
    .equipment-list ul {
        grid-template-columns: 1fr;
    }
    .equipment-list {
        padding: 24px 20px;
    }
}

/* ==========================================================================
   ASYMETRICKÝ BENTO GRID (Prezentace služeb)
   ========================================================================== */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* Třísloupcový variant */
.bento-grid--3col {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 30px;
}

/* Textová karta bez ikony */
.bento-card--text {
    min-height: auto;
    padding: 36px 32px;
    justify-content: flex-start;
}

.bento-card--text .card-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-blue);
    font-weight: 500;
    margin: 0;
}

/* Karta s obrázkem nahoře */
.bento-card--img-top {
    padding: 0;
    overflow: hidden;
}

.bento-card--img-top .card-content {
    padding: 24px 28px 28px;
}

.bento-card-banner {
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.bento-card-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

/* hover zoom na banneru odstraněn */

@media (max-width: 992px) {
    .bento-grid--3col {
        grid-template-columns: 1fr;
    }
}


.bento-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 45px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
    z-index: 1;
    transform-style: preserve-3d;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary-orange);
    opacity: 0;
    transition: var(--transition-fast);
    z-index: 10;
    pointer-events: none;
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--glass-shadow-hover);
    border-color: rgba(255, 140, 0, 0.3);
}

/* Zvláštní nákresové/obrázkové podkresy pro bento karty */
#bentoCard1::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 220px;
    height: 180px;
    background-image: url('Obrazky/uvodni_strana/otocny%20stul%20skica.png');
    background-size: contain;
    background-position: bottom right;
    background-repeat: no-repeat;
    opacity: 0.06;
    pointer-events: none;
    transition: var(--transition-smooth);
}

#bentoCard1:hover::after {
    opacity: 0.12;
    transform: scale(1.05);
}

#bentoCard5::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background-image: url('Obrazky/uvodni_strana/mpz%20kolotoc.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0.04;
    pointer-events: none;
    transition: var(--transition-smooth);
    mask-image: linear-gradient(to left, black, transparent);
    -webkit-mask-image: linear-gradient(to left, black, transparent);
}

#bentoCard5:hover::after {
    opacity: 0.09;
}

.card-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    background: rgba(17, 17, 17, 0.03);
    border: 1px solid rgba(17, 17, 17, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-dark);
    font-size: 1.6rem;
    margin-bottom: 35px;
    transition: var(--transition-smooth);
}

.bento-card:hover .card-icon-wrapper {
    background: var(--secondary-dark);
    color: var(--primary-orange);
    transform: scale(1.05) translateZ(20px);
}

.card-content {
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.bento-card h3 {
    color: var(--secondary-dark);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.bento-card p {
    font-size: 0.98rem;
    color: #555555;
    max-width: 100%;
}

.card-action-link {
    margin-top: 35px;
    font-size: 0.9rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    color: var(--secondary-dark);
    transition: var(--transition-fast);
    position: relative;
    z-index: 2;
}

.card-action-link i {
    margin-left: 6px;
    transition: transform 0.22s ease;
}

.bento-card:hover .card-action-link {
    color: var(--primary-orange);
}

.bento-card:hover .card-action-link i {
    transform: translateX(5px);
}

/* ==========================================================================
   SEKCE O FIRMĚ & Ukazatele (Dva sloupce)
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.about-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text-lead {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.65;
    color: var(--secondary-dark);
    margin-bottom: 30px;
    border-left: 5px solid var(--primary-orange);
    padding-left: 20px;
    max-width: 100%;
}

.about-text-body {
    font-size: 1.025rem;
    color: #444444;
    margin-bottom: 24px;
    max-width: 100%;
}

.about-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Pohyblivá lišta s logy partnerů */
.logo-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    background: #ffffff; /* Bílé pozadí pro vyniknutí log */
    padding: 40px 0;
    margin: 0 0 50px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.01);
}

.logo-marquee-wrapper::before,
.logo-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.logo-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f8fafc 0%, rgba(248, 250, 252, 0) 100%);
}

.logo-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f8fafc 0%, rgba(248, 250, 252, 0) 100%);
}

.logo-marquee-content {
    display: flex;
    align-items: center;
    width: max-content;
    animation: logo-marquee 30s linear infinite;
}

.logo-marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 150px;
    width: 320px;
    margin-right: 80px; /* Mezera mezi logy */
}

.logo-marquee-item img {
    height: 220px; /* Vynucení větší velikosti kvůli velkým transparentním okrajům v originálních PNG */
    width: auto;
    max-width: none;
    max-height: none;
    object-fit: contain;
    filter: none; /* Originální barvy */
    transition: var(--transition-smooth);
}

.logo-marquee-item img:hover {
    transform: scale(1.05); /* Jemné zvětšení na hover jako prémiový detail */
}

@keyframes logo-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}



/* ==========================================================================
   GALERIE PROJEKTŮ (Vertikální karty s reálnými podklady)
   ========================================================================== */
.projects-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
}

.project-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.015);
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-img-box {
    width: 100%;
    overflow: hidden;
    position: relative;
    transition: var(--transition-smooth);
}

.project-info-box {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-tag {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary-orange);
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    display: block;
}

.project-info-box h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.project-info-box p {
    font-size: 0.95rem;
    color: #555555;
    max-width: 100%;
    margin: 0;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--glass-shadow-hover);
    border-color: rgba(255, 140, 0, 0.2);
}

.project-card:hover .project-img-box {
    transform: scale(1.03);
}

/* ==========================================================================
   SEKCE KARIÉRA
   ========================================================================== */
.career-section {
    text-align: left;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--radius-lg);
    padding: 80px;
    color: var(--bg-white);
    overflow: hidden;
    position: relative;
}

.career-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 140, 0, 0.15), transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.career-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
}

@media (min-width: 768px) {
    .career-content {
        max-width: 80%;
    }
}

.career-section h2 {
    color: var(--bg-white);
    margin-bottom: 24px;
}

.career-section p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    margin-bottom: 40px;
    max-width: 100%;
}

.career-section .btn-primary {
    background-color: var(--primary-orange); /* Návrat k oranžové */
    border-color: var(--primary-orange);
    color: var(--bg-white);
}

.career-section .btn-primary:hover {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: var(--bg-white);
}

/* ==========================================================================
   KONTAKTNÍ SEKCE & POPTÁVKA (S ochranou Honeypot)
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(255, 140, 0, 0.08);
    border: 1px solid rgba(255, 140, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--primary-orange);
    margin-bottom: 5px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.contact-text p, .contact-text a {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary-dark);
}

.contact-image-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.contact-image {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-smooth);
}

.contact-image:hover {
    transform: scale(1.03);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--secondary-dark);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    font-family: var(--font-outfit);
    font-size: 1rem;
    padding: 14px 18px;
    background-color: var(--bg-white);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

/* Honeypot Spam Ochrana */
.honey-field {
    display: none !important;
    visibility: hidden !important;
}

/* ==========================================================================
   SPODNÍ ORANŽOVÝ STATISTICKÝ BANNER (Před patičkou)
   ========================================================================== */
.orange-stats-bar {
    background-color: var(--primary-orange);
    padding: 60px 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 -4px 20px rgba(255, 140, 0, 0.1);
}

.orange-stats-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}

.orange-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.orange-stat-num {
    font-size: clamp(2.5rem, 6vw, 3.8rem);
    font-weight: 900;
    color: var(--secondary-dark);
    line-height: 1;
    margin-bottom: 6px;
}

.orange-stat-text {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--bg-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   PATIČKA (Bílé pozadí, logo)
   ========================================================================== */
.footer-site {
    background-color: var(--bg-white);
    border-top: 1px solid var(--glass-border);
    padding: 85px 0 45px 0;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 56px;
    width: auto;
}

.footer-info {
    text-align: center;
    max-width: 650px;
}

.footer-info p {
    text-align: center;
    margin: 0 auto 10px auto;
    font-size: 0.95rem;
    color: #555555;
}

.footer-bottom {
    border-top: 1px solid rgba(17, 17, 17, 0.05);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #777777;
    text-align: center;
}

/* ==========================================================================
   COOKIE LIŠTA
   ========================================================================== */
.cookie-bar {
    position: fixed;
    bottom: 30px;
    left: 5%;
    right: 5%;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--secondary-dark);
    color: var(--bg-white);
    padding: 24px 30px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    z-index: 2000;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(150px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.cookie-bar.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-bar p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    max-width: 100%;
}

.cookie-bar p a {
    color: var(--primary-orange);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    width: 100%;
}

.cookie-bar .btn-accept {
    background-color: var(--primary-orange);
    color: var(--bg-white);
    border-color: var(--primary-orange);
    font-size: 0.85rem;
    padding: 10px 20px;
    flex-grow: 1;
}

.cookie-bar .btn-decline {
    background-color: transparent;
    color: var(--bg-white);
    border-color: rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    padding: 10px 20px;
}

/* ==========================================================================
   SCROLL REVEAL ANIMACE
   ========================================================================== */
.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   INTERAKTIVNÍ ACCORDION
   ========================================================================== */
.accordion-wrapper {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.accordion-item {
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.accordion-header {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
}

.accordion-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--secondary-dark);
}

.accordion-icon {
    font-size: 1rem;
    color: var(--primary-orange);
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-content-inner {
    padding: 0 30px 24px 30px;
}

.accordion-content p {
    max-width: 100%;
    color: #555555;
}

.accordion-item.active {
    border-color: var(--primary-orange);
    box-shadow: var(--glass-shadow-hover);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

/* ==========================================================================
   MOBILNÍ MENU - PŘEKRYVNÁ VRSTVA
   ========================================================================== */
.nav-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.nav-menu-overlay ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.nav-menu-overlay ul a {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    font-weight: 800;
    color: var(--secondary-dark);
}

.nav-menu-overlay ul a:hover {
    color: var(--primary-orange);
}

/* Mobilní rozbalovací nabídka */
.mobile-dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.mobile-dropdown-trigger {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    font-weight: 800;
    color: var(--secondary-dark);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0;
    transition: max-height 0.4s ease, padding 0.4s ease;
    width: 100%;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    max-height: 350px;
    padding-top: 15px;
    padding-bottom: 5px;
}

.mobile-dropdown.active .mobile-dropdown-trigger i {
    transform: rotate(180deg);
}

.mobile-dropdown-menu li a {
    font-size: clamp(1.3rem, 4.5vw, 1.8rem) !important;
    font-weight: 700 !important;
    color: #666666 !important;
    transition: var(--transition-fast);
}

.mobile-dropdown-menu li a:hover {
    color: var(--primary-orange) !important;
}


/* ==========================================================================
   MÉDIA QUERIES - RESPONZIVITA (TABLET BREAKPOINT - MIN 768px)
   ========================================================================== */
@media (min-width: 768px) {
    /* Bento Grid na tabletu: 2 sloupce */
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Na tabletu span-2 karty zabírají 2 sloupce */
    .bento-grid .span-2 {
        grid-column: span 2;
    }
    
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .orange-stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cookie-bar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 20px 40px;
    }
    
    .cookie-buttons {
        width: auto;
        flex-shrink: 0;
    }
    
    .cookie-bar .btn {
        flex-grow: 0;
    }
    
    .accordion-wrapper.split {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* ==========================================================================
   MÉDIA QUERIES - RESPONZIVITA (DESKTOP BREAKPOINT - MIN 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
    .hero-content {
        max-width: 65%;
    }

    /* Bento Grid: 3 sloupce s asymetrickým rozložením */
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .dark-accent-grid {
        grid-template-columns: 1.2fr 1fr 0.8fr;
        align-items: center;
    }
    
    .dark-accent-stat {
        border-top: none;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 0;
        padding-left: 50px;
        height: 100%;
    }
    
    .projects-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .orange-stats-container {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 2fr 3fr;
        align-items: center;
    }
    
    .hamburger {
        display: none;
    }
    
    .nav-links {
        display: flex;
    }
    
    .nav-actions {
        display: flex;
    }
}

/* ==========================================================================
   MÉDIA QUERIES - MOBILNÍ NASTAVENÍ (MAX 1023px)
   ========================================================================== */
@media (max-width: 1023px) {
    .logo-wrapper {
        height: 29px; /* Zmenšení loga na 60% původní velikosti (48px -> 29px) */
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-actions {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Úprava paddingu a zobrazení hero pro mobil */
    .hero-section {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .hero-bg-blueprint {
        width: 100%; /* Na mobilu podkres přes celou šířku */
        height: 100%;
        opacity: 0.15;
    }
    
    .hero-bg-blueprint::after {
        background-color: rgba(255, 255, 255, 0.9); /* Na mobilu silnější krytí pro čitelnost textu */
    }

    
    .about-grid {
        gap: 40px;
    }
    
    .career-section {
        padding: 50px 40px;
    }
}

@media (min-width: 1024px) and (max-width: 1280px) {
    .nav-links {
        gap: 15px;
    }
    .header-nav {
        padding: 0 20px;
    }
    .header-nav .btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   JEDNODUCHÁ PATIČKA (Nový Footer)
   ========================================================================== */
.simple-footer {
    padding: 30px 0 40px 0;
    background: transparent;
}

.footer-line {
    border: none;
    border-top: 1px solid var(--secondary-dark); /* Tmavě modrá čára 1px silná */
    margin-bottom: 25px;
    opacity: 0.25; /* Jemné zobrazení */
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    font-size: 14px;
    color: #555555;
    margin: 0 auto;
    max-width: 100%;
    text-align: center;
}

.footer-copyright a {
    color: var(--secondary-dark);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-copyright a:hover {
    color: var(--primary-orange);
    text-decoration: underline;
}

/* ==========================================================================
   STYLY PRO PODSTRÁNKY SPECIALIZACÍ
   ========================================================================== */
.subpage-hero {
    position: relative;
    padding: 140px 0 60px 0;
    background: linear-gradient(135deg, rgba(20, 27, 41, 0.95) 0%, rgba(34, 46, 69, 0.97) 100%), url('Obrazky/Vykresy/vykres_tmavy.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    border-bottom: 4px solid var(--primary-orange);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 60px;
}

.breadcrumb a {
    color: var(--primary-orange);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.breadcrumb i {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.subpage-hero h1 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 35px;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    max-width: 60%;
    line-height: 1.15;
}

.subpage-hero p.lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    line-height: 1.7;
}

.spec-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 140, 0, 0.15);
    border: 1px solid var(--primary-orange);
    color: var(--primary-orange);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}

.machinery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.machinery-card {
    background: var(--bg-white);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.machinery-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--glass-shadow-hover);
    border-color: rgba(255, 140, 0, 0.3);
}

.machinery-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary-orange);
    opacity: 0;
    transition: var(--transition-fast);
}

.machinery-card:hover::before {
    opacity: 1;
}

.machinery-icon {
    font-size: 2.2rem;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.machinery-card h3 {
    font-size: 1.3rem;
    color: var(--secondary-dark);
    margin-bottom: 12px;
}

.machinery-card p {
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.6;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.process-step {
    background: var(--bg-white);
    padding: 28px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    position: relative;
}

.process-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-orange);
    line-height: 1;
    margin-bottom: 12px;
}

.process-step h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--secondary-dark);
}

.process-step p {
    font-size: 0.9rem;
    color: #666666;
    margin: 0;
}

.subpage-cta {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, #1e2938 100%);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-top: 60px;
}

.subpage-cta h3 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 10px;
}

.subpage-cta p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

@media (max-width: 768px) {
    .subpage-hero {
        padding: 120px 0 40px 0;
    }
    .breadcrumb {
        margin-bottom: 35px;
    }
    .subpage-hero h1 {
        max-width: 100%;
        margin-top: 0;
        margin-bottom: 25px;
    }
    .subpage-cta {
        flex-direction: column;
        text-align: center;
        padding: 35px 25px;
    }
    .subpage-cta p {
        text-align: center;
    }
}

/* ==========================================================================
   STYLY PRO STRÁNKU KONTAKT
   ========================================================================== */
.person-card {
    background: var(--bg-white);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
}

.person-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary-orange);
    opacity: 0;
    transition: var(--transition-fast);
    z-index: 10;
}

.person-card:hover::before {
    opacity: 1;
}

.person-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--glass-shadow-hover);
    border-color: rgba(255, 140, 0, 0.3);
}

.person-image-wrapper {
    width: 100%;
    height: 290px;
    max-height: 290px;
    overflow: hidden;
    position: relative;
    background-color: #f1f5f9;
    flex-shrink: 0;
}

.person-image-wrapper img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease;
}

.person-card:hover .person-image-wrapper img {
    transform: scale(1.03);
}

.person-info {
    padding: 24px 28px 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.person-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary-dark);
    margin-bottom: 4px;
}

.person-role {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 14px;
}

.person-desc {
    font-size: 0.925rem;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.person-contact-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid rgba(17, 17, 17, 0.08);
    padding-top: 16px;
}

.person-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #333333;
    font-weight: 600;
}

.person-contact-item i {
    color: var(--primary-orange);
    width: 16px;
    text-align: center;
}

.person-contact-item a {
    color: var(--secondary-dark);
    text-decoration: none;
    transition: var(--transition-fast);
}

.person-contact-item a:hover {
    color: var(--primary-orange);
}

/* Blok firemních údajů (tmavě modré pozadí) */
.company-legal-block {
    background: linear-gradient(135deg, #141b29 0%, #1e2938 100%);
    border-radius: var(--radius-md);
    padding: 45px 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 20px;
    box-shadow: 0 10px 30px rgba(20, 27, 41, 0.15);
}

.legal-col h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-orange);
    display: inline-block;
}

.legal-col p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 6px;
}

.legal-col strong {
    color: #ffffff;
}

.map-wrapper {
    width: 100%;
    height: 480px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================================
   HLAVNÍ PATIČKA (4 SLOUPCE - TMAVĚ MODRÁ)
   ========================================================================== */
.main-footer {
    background: linear-gradient(135deg, #141b29 0%, #1e2938 100%);
    color: #ffffff;
    padding: 70px 0 35px 0;
    position: relative;
    z-index: 5;
    border-top: 4px solid var(--primary-orange);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    margin-bottom: 45px;
}

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
    line-height: 1.3;
}

.footer-col p {
    font-size: 0.925rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    margin-bottom: 20px;
    max-width: 100%;
}

.btn-footer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--logo-blue);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: var(--transition-fast);
    border: 1px solid var(--logo-blue);
}

.btn-footer:hover {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 140, 0, 0.3);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-menu a:hover {
    color: var(--primary-orange);
    padding-left: 4px;
}

.main-footer .footer-line {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.main-footer .footer-copyright p {
    color: rgba(255, 255, 255, 0.6);
}

.main-footer .footer-copyright a {
    color: #ffffff;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}



