/* ========== RESET A ZÁKLAD ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Barva při overscroll - odpovídá tmavě modré hlavičce/patičce */
    background-color: #0f2847;
}

body {
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a2e;
    /* Tmavě modrá pro overscroll bounce efekt - stejná jako html */
    background-color: #0f2847;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ========== POMOCNÉ TŘÍDY ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    background-color: #ffffff;
}

.section-t-small {
    padding-top: 20px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: #1a365d;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #f6ad55;
    color: #1a365d;
}

.btn-primary:hover {
    background-color: #ed8936;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(246, 173, 85, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #1a365d;
}

/* ========== ANIMACE ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Třídy animací */
.animate {
    opacity: 0;
}

.animate.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate.fade-in-left {
    animation: fadeInLeft 0.8s ease forwards;
}

.animate.fade-in-right {
    animation: fadeInRight 0.8s ease forwards;
}

.animate.scale-in {
    animation: scaleIn 0.6s ease forwards;
}

/* Zpozdění animací */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

.delay-6 {
    animation-delay: 0.6s;
}

/* ========== HLAVIČKA / NAVIGACE ========== */
/* ========== HLAVIČKA / NAVIGACE ========== */
#header.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #0f2847 !important;
    /* Odpovídá overscroll barvě */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
    padding: 16px 0;
    transition: all 0.3s ease;
}

#header.header.scrolled {
    padding: 12px 0;
    background-color: #0f2847 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

/* Logo kontejner */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 12px;
    margin: -12px;
    transition: transform 0.3s ease;
}

/* Styly SVG loga */
.logo-svg {
    height: 50px !important;
    width: auto !important;
    display: block;
    overflow: visible;
}

/* Hover efekt - zvětšení celého loga */
.logo:hover {
    transform: scale(1.08);
}

/* Všechny žluté/oranžové cesty - přechod barvy */
.logo-svg path {
    transition: fill 1s ease;
}

/* Hover - změna žluté na oranžovou */
.logo:hover .logo-svg path[fill="#F5AC55"],
.logo:hover .logo-svg path[fill="#F1AB56"],
.logo:hover .logo-svg path[fill="#F6AD55"],
.logo:hover .logo-svg path[fill="#F19B46"],
.logo:hover .logo-svg path[fill="#EF9B46"],
.logo:hover .logo-svg path[fill="#F09B47"],
.logo:hover .logo-svg path[fill="#EF9B47"] {
    fill: #e86523;
}

/* Blesk - výrazná elektrická animace běží neustále */
.logo-svg path:first-child {
    animation: electric-pulse 2s ease-in-out infinite;
    /* Statický glow pro Safari (filter animace nefunguje) */
    -webkit-filter:
        drop-shadow(0 0 12px rgba(251, 191, 36, 0.9)) drop-shadow(0 0 24px rgba(245, 158, 11, 0.7)) drop-shadow(0 0 36px rgba(251, 191, 36, 0.5));
}

/* Hover na blesku - intenzivnější svícení */
.logo:hover .logo-svg path:first-child {
    animation: electric-pulse-intense 0.3s ease-in-out infinite;
}

@keyframes electric-pulse {

    0%,
    100% {
        opacity: 0.6;
        filter:
            drop-shadow(0 0 8px rgba(251, 191, 36, 0.8)) drop-shadow(0 0 16px rgba(245, 158, 11, 0.6)) drop-shadow(0 0 24px rgba(251, 191, 36, 0.4));
    }

    50% {
        opacity: 1;
        filter:
            drop-shadow(0 0 16px rgba(251, 191, 36, 1)) drop-shadow(0 0 32px rgba(245, 158, 11, 0.8)) drop-shadow(0 0 48px rgba(251, 191, 36, 0.6));
    }
}

@keyframes electric-pulse-intense {

    0%,
    100% {
        opacity: 0.7;
        filter:
            drop-shadow(0 0 12px rgba(234, 123, 12, 1)) drop-shadow(0 0 24px rgba(234, 123, 12, 0.8)) drop-shadow(0 0 36px rgba(234, 123, 12, 0.6));
    }

    50% {
        opacity: 1;
        filter:
            drop-shadow(0 0 20px rgba(234, 123, 12, 1)) drop-shadow(0 0 40px rgba(234, 123, 12, 0.9)) drop-shadow(0 0 60px rgba(234, 123, 12, 0.7));
    }
}

/* ========== VY LEPŠENÁ NAVIGACE ========== */
.nav-menu {
    display: flex;
    gap: 8px;
}

.nav-menu a {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 18px;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
    background: transparent;
    border: 1px solid transparent;
}

.nav-menu a:not(.nav-cta)::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f6ad55, #ed8936);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #f6ad55;
    background: rgba(246, 173, 85, 0.1);
    border-color: rgba(246, 173, 85, 0.2);
}

.nav-menu a:not(.nav-cta):hover::before {
    width: calc(100% - 36px);
}

.nav-menu a.active {
    color: #f6ad55;
    background: rgba(246, 173, 85, 0.15);
    border-color: rgba(246, 173, 85, 0.3);
}

.nav-menu a:not(.nav-cta).active::before {
    width: calc(100% - 36px);
}

/* CTA tlačítko v navigaci */
.nav-menu .nav-cta {
    background: linear-gradient(135deg, #f6ad55, #ed8936);
    color: #1a365d;
    border: none;
    margin-left: 8px;
}

.nav-menu .nav-cta:hover {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    color: #1a365d;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(246, 173, 85, 0.4);
}

/* CTA active state - stejný jako ostatní položky */
.nav-menu .nav-cta.active {
    background: rgba(246, 173, 85, 0.15);
    color: #f6ad55;
    border: 1px solid rgba(246, 173, 85, 0.3);
}

.nav-menu .nav-cta.active::before {
    display: block;
    width: calc(100% - 36px);
}

/* nav-cta potřebuje mít ::before element připravený pro animaci */
.nav-menu .nav-cta::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f6ad55, #ed8936);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== HERO SEKCE ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a365d 0%, #2d4a7c 100%);
    position: relative;
    overflow: hidden;
}

/* ========== GLOBÁLNÍ VZOR BLUEPRINT ========== */
.hero::before,
.why-us::before,
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Dotted blueprint pattern */
    /* Intenzita 5% (0.1 * 0.5 = 0.05) */
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

/*==========IKONY NA POZADÍ HERO==========*/
.hero-bg-icon {
    position: absolute;
    color: rgba(246, 173, 85, 0.055);
    animation: float 6s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
    /* Safari fix pro Font Awesome ikony */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
}

/* =========================================
   GRID-BASED ICON DISTRIBUTION SYSTEM
   (Unified with Contact Section Layout)
   ========================================= */

/* --- HERO SEKCE (20 ikon - odpovídá mřížce kontaktu) --- */
/*
   Grid Layout Strategy (Same as Contact):
   Rows: 0-20%, 20-40%, 40-60%, 60-80%, 80-100%
   Cols: 0-25%, 25-50%, 50-75%, 75-100%
*/

/* Row 1 (Top 0-20%) */
.hero-bg-icon-1 {
    font-size: 90px;
    top: 5%;
    left: 5%;
    animation-delay: 0.1s;
}

.hero-bg-icon-2 {
    font-size: 60px;
    top: 8%;
    left: 30%;
    animation-delay: 0.5s;
}

.hero-bg-icon-3 {
    font-size: 75px;
    top: 6%;
    left: 60%;
    animation-delay: 0.9s;
}

.hero-bg-icon-4 {
    font-size: 65px;
    top: 10%;
    left: 85%;
    animation-delay: 1.3s;
}

/* Row 2 (Top 20-40%) */
.hero-bg-icon-5 {
    font-size: 80px;
    top: 25%;
    left: 8%;
    animation-delay: 1.7s;
}

.hero-bg-icon-6 {
    font-size: 50px;
    top: 22%;
    left: 22%;
    animation-delay: 2.1s;
}

.hero-bg-icon-7 {
    font-size: 55px;
    top: 28%;
    left: 80%;
    animation-delay: 2.5s;
}

.hero-bg-icon-8 {
    font-size: 70px;
    top: 35%;
    left: 92%;
    animation-delay: 2.9s;
}

/* Row 3 (Top 40-60%) */
.hero-bg-icon-9 {
    font-size: 85px;
    top: 45%;
    left: 4%;
    animation-delay: 3.3s;
}

.hero-bg-icon-10 {
    font-size: 60px;
    top: 55%;
    left: 18%;
    animation-delay: 3.7s;
}

/* Zóna 3: Střed (40-60% height) - Vyhýbání se textu */
.hero-bg-icon-11 {
    font-size: 65px;
    top: 48%;
    left: 85%;
    animation-delay: 4.1s;
}

.hero-bg-icon-12 {
    font-size: 50px;
    top: 52%;
    left: 95%;
    animation-delay: 4.5s;
}

/* Row 4 (Top 60-80%) */
.hero-bg-icon-13 {
    font-size: 75px;
    top: 65%;
    left: 10%;
    animation-delay: 4.9s;
}

.hero-bg-icon-14 {
    font-size: 55px;
    top: 75%;
    left: 22%;
    animation-delay: 5.3s;
}

.hero-bg-icon-15 {
    font-size: 80px;
    top: 68%;
    left: 78%;
    animation-delay: 5.7s;
}

.hero-bg-icon-16 {
    font-size: 60px;
    top: 72%;
    left: 90%;
    animation-delay: 6.1s;
}

/* Row 5 (Top 80-100%) */
.hero-bg-icon-17 {
    font-size: 70px;
    top: 85%;
    left: 5%;
    animation-delay: 6.5s;
}

.hero-bg-icon-18 {
    font-size: 90px;
    top: 92%;
    left: 35%;
    animation-delay: 6.9s;
}

.hero-bg-icon-19 {
    font-size: 65px;
    top: 88%;
    left: 65%;
    animation-delay: 7.3s;
}

.hero-bg-icon-20 {
    font-size: 80px;
    top: 90%;
    left: 88%;
    animation-delay: 7.7s;
}

/* --- KONTAKTNÍ SEKCE (20 ikon - mřížka 5x4) --- */
/*
   Grid Layout Strategy:
   Rows: 0-20%, 20-40%, 40-60%, 60-80%, 80-100%
   Cols: 0-25%, 25-50%, 50-75%, 75-100%
   Danger Zone (Form): Center/Right Center rows 2-4
*/

/* Row 1 (Top 0-20%) */
.hero-bg-icon-contact-1 {
    font-size: 90px;
    top: 5%;
    left: 5%;
    animation-delay: 0.1s;
}

.hero-bg-icon-contact-2 {
    font-size: 60px;
    top: 8%;
    left: 30%;
    animation-delay: 0.5s;
}

.hero-bg-icon-contact-3 {
    font-size: 75px;
    top: 6%;
    left: 60%;
    animation-delay: 0.9s;
}

.hero-bg-icon-contact-4 {
    font-size: 65px;
    top: 10%;
    left: 85%;
    animation-delay: 1.3s;
}

/* Row 2 (Top 20-40%) - Avoid Center */
.hero-bg-icon-contact-5 {
    font-size: 80px;
    top: 25%;
    left: 8%;
    animation-delay: 1.7s;
}

.hero-bg-icon-contact-6 {
    font-size: 50px;
    top: 22%;
    left: 22%;
    animation-delay: 2.1s;
}

/* Keep Left */
.hero-bg-icon-contact-7 {
    font-size: 55px;
    top: 28%;
    left: 80%;
    animation-delay: 2.5s;
}

/* Push Right */
.hero-bg-icon-contact-8 {
    font-size: 70px;
    top: 35%;
    left: 92%;
    animation-delay: 2.9s;
}

/* Row 3 (Top 40-60%) - Avoid Center */
.hero-bg-icon-contact-9 {
    font-size: 85px;
    top: 45%;
    left: 4%;
    animation-delay: 3.3s;
}

.hero-bg-icon-contact-10 {
    font-size: 60px;
    top: 55%;
    left: 18%;
    animation-delay: 3.7s;
}

/* Keep Left */
.hero-bg-icon-contact-11 {
    font-size: 65px;
    top: 48%;
    left: 85%;
    animation-delay: 4.1s;
}

/* Push Right */
.hero-bg-icon-contact-12 {
    font-size: 50px;
    top: 52%;
    left: 95%;
    animation-delay: 4.5s;
}

/* Row 4 (Top 60-80%) - Avoid Center */
.hero-bg-icon-contact-13 {
    font-size: 75px;
    top: 65%;
    left: 10%;
    animation-delay: 4.9s;
}

.hero-bg-icon-contact-14 {
    font-size: 55px;
    top: 75%;
    left: 22%;
    animation-delay: 5.3s;
}

/* Keep Left */
.hero-bg-icon-contact-15 {
    font-size: 80px;
    top: 68%;
    left: 78%;
    animation-delay: 5.7s;
}

/* Push Right */
.hero-bg-icon-contact-16 {
    font-size: 60px;
    top: 72%;
    left: 90%;
    animation-delay: 6.1s;
}

/* Row 5 (Top 80-100%) */
.hero-bg-icon-contact-17 {
    font-size: 70px;
    top: 85%;
    left: 5%;
    animation-delay: 6.5s;
}

.hero-bg-icon-contact-18 {
    font-size: 90px;
    top: 92%;
    left: 35%;
    animation-delay: 6.9s;
}

.hero-bg-icon-contact-19 {
    font-size: 65px;
    top: 88%;
    left: 65%;
    animation-delay: 7.3s;
}

.hero-bg-icon-contact-20 {
    font-size: 80px;
    top: 90%;
    left: 88%;
    animation-delay: 7.7s;
}

/* Responzivita ikon */
/* --- MOBILNÍ CHYTRÁ MŘÍŽKA (max-width: 768px) --- */
@media (max-width: 768px) {

    /* Ensure consistent font size - reduced slightly for mobile */
    .hero-bg-icon,
    [class*='hero-bg-icon-contact-'] {
        font-size: 45px !important;
        opacity: 0.8;
        /* Keep high opacity for visibility */
    }

    /* -------------------------------------------
       HERO ICONS RANDOM SCATTER
       ------------------------------------------- */

    .hero-bg-icon-1 {
        top: 3%;
        left: 0%;
    }

    .hero-bg-icon-2 {
        top: 8%;
        left: 82%;
    }

    .hero-bg-icon-3 {
        top: 13%;
        left: 40%;
    }

    .hero-bg-icon-4 {
        top: 18%;
        left: 10%;
    }

    .hero-bg-icon-5 {
        top: 23%;
        left: 65%;
    }

    .hero-bg-icon-6 {
        top: 28%;
        left: 90%;
    }

    .hero-bg-icon-7 {
        top: 33%;
        left: 20%;
    }

    .hero-bg-icon-8 {
        top: 38%;
        left: 55%;
    }

    .hero-bg-icon-9 {
        top: 43%;
        left: 1%;
    }

    .hero-bg-icon-10 {
        top: 48%;
        left: 75%;
    }

    .hero-bg-icon-11 {
        top: 53%;
        left: 30%;
    }

    .hero-bg-icon-12 {
        top: 58%;
        left: 92%;
    }

    .hero-bg-icon-13 {
        top: 63%;
        left: 5%;
    }

    .hero-bg-icon-14 {
        top: 68%;
        left: 50%;
    }

    .hero-bg-icon-15 {
        top: 73%;
        left: 85%;
    }

    .hero-bg-icon-16 {
        top: 78%;
        left: 15%;
    }

    .hero-bg-icon-17 {
        top: 83%;
        left: 60%;
    }

    .hero-bg-icon-18 {
        top: 88%;
        left: 35%;
    }

    .hero-bg-icon-19 {
        top: 93%;
        left: 2%;
    }

    .hero-bg-icon-20 {
        top: 97%;
        left: 70%;
    }

    /* -------------------------------------------
       CONTACT ICONS RANDOM SCATTER (More icons active)
       ------------------------------------------- */

    /* Randomize positions for 1-20 */
    .hero-bg-icon-contact-1 {
        top: 2%;
        left: 0%;
        display: block !important;
    }

    .hero-bg-icon-contact-2 {
        top: 4%;
        left: 85%;
        display: block !important;
    }

    .hero-bg-icon-contact-3 {
        top: 7%;
        left: 40%;
        display: block !important;
    }

    .hero-bg-icon-contact-4 {
        top: 9%;
        left: 10%;
        display: block !important;
    }

    .hero-bg-icon-contact-5 {
        top: 12%;
        left: 70%;
        display: block !important;
    }

    .hero-bg-icon-contact-6 {
        top: 14%;
        left: 95%;
        display: block !important;
    }

    .hero-bg-icon-contact-7 {
        top: 17%;
        left: 25%;
        display: block !important;
    }

    .hero-bg-icon-contact-8 {
        top: 19%;
        left: 60%;
        display: block !important;
    }

    .hero-bg-icon-contact-9 {
        top: 22%;
        left: 2%;
        display: block !important;
    }

    .hero-bg-icon-contact-10 {
        top: 24%;
        left: 80%;
        display: block !important;
    }

    .hero-bg-icon-contact-11 {
        top: 27%;
        left: 35%;
        display: block !important;
    }

    .hero-bg-icon-contact-12 {
        top: 29%;
        left: 92%;
        display: block !important;
    }

    .hero-bg-icon-contact-13 {
        top: 32%;
        left: 5%;
        display: block !important;
    }

    .hero-bg-icon-contact-14 {
        top: 34%;
        left: 55%;
        display: block !important;
    }

    .hero-bg-icon-contact-15 {
        top: 37%;
        left: 88%;
        display: block !important;
    }

    .hero-bg-icon-contact-16 {
        top: 39%;
        left: 15%;
        display: block !important;
    }

    .hero-bg-icon-contact-17 {
        top: 42%;
        left: 65%;
        display: block !important;
    }

    .hero-bg-icon-contact-18 {
        top: 44%;
        left: 45%;
        display: block !important;
    }

    .hero-bg-icon-contact-19 {
        top: 47%;
        left: 1%;
        display: block !important;
    }

    .hero-bg-icon-contact-20 {
        top: 49%;
        left: 75%;
        display: block !important;
    }
}

/* Hero container - AKTUALIZOVÁNO: centrovaný obsah bez fotografie */
.hero .container {
    display: flex;
}

.hero-content {
    max-width: 800px;
    width: 100%;
    text-align: center;
    /* Fallback if cqw fails, though we use clamp/vw now */
}

.hero-content h1 {
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0;
}

.hero-line-1 {
    color: #f6ad55;
    font-size: clamp(1rem, 7.7vw, 62px);
    line-height: 1.1;
    display: block;
    width: 100%;
    white-space: nowrap;
}

.hero-line-2 {
    color: #ffffff;
    font-size: clamp(0.95rem, 7.2vw, 58px);
    line-height: 1.1;
    display: block;
    width: 100%;
    white-space: nowrap;
}

.hero-line-3 {
    color: #ffffff;
    font-size: clamp(0.7rem, 5.22vw, 42px);
    line-height: 1.1;
    display: block;
    width: 100%;
    white-space: nowrap;
}



.about-link {
    color: #f6ad55;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    /* display: inline-block; removed to flow with text better, add back if transform needed */
    transition: all 0.3s ease;
}

.about-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    /* Slightly thicker than footer for visibility */
    background: #f6ad55;
    transition: width 0.3s ease;
}

.about-link:hover {
    color: #ed8936;
}

.about-link:hover::before {
    width: 100%;
    background: #ed8936;
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: #cbd5e1;
    margin-bottom: 40px;
    width: 100%;
    max-width: 510px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    text-align: left;
}

@media (max-width: 768px) {
    .hero-content p {
        width: 90%;
    }
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    flex-direction: column;
}

.hero-buttons .btn {
    width: 100%;
    text-align: center;
}

/* ========== SEKCE TÝM ========== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.team-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.team-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 32px;
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    /* Circle format as requested 1:1 */
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #f8fafc;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-info h3 {
    font-size: 1.5rem;
    color: #1a365d;
    margin-bottom: 8px;
}

.team-role {
    color: #f6ad55;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-experience {
    border-top: 1px solid #edf2f7;
    padding-top: 24px;
}

.experience-title {
    font-size: 1.1rem;
    color: #1a365d;
    margin-bottom: 20px;
    border-bottom: 2px solid #f6ad55;
    display: inline-block;
    padding-bottom: 4px;
}

.experience-timeline {
    position: relative;
    /* Border moved to items */
}

.timeline-item {
    position: relative;
    padding-left: 32px;
    border-left: 2px solid #e2e8f0;
    padding-bottom: 24px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -7px;
    /* Centers on 2px border */
    top: 5px;
    /* Centers with text */
    width: 12px;
    height: 12px;
    background: #ffffff;
    border: 2px solid #f6ad55;
    border-radius: 50%;
    z-index: 2;
}

/* Masking lines */
.timeline-item::after {
    content: '';
    position: absolute;
    left: -2px;
    width: 6px;
    background: #ffffff;
    z-index: 1;
    display: none;
}

.timeline-item:first-child::after {
    display: block;
    top: 0;
    height: 5px;
    /* Mask top part */
}

.timeline-item:last-child::after {
    display: block;
    top: 13px;
    /* Mask starts at vertical center of bullet */
    bottom: 0;
}

/* Contact Info within Card */
/* Contact Info within Card */
.team-contact,
.team-contact-grid {
    margin-top: 24px;
    margin-bottom: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    min-height: 90px;
    /* Ensure equal height alignment */
}

.team-contact-grid {
    margin-top: 24px;
    margin-bottom: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
}

.linkedin-big-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #f6ad55;
    /* Changed to Yellow/Orange */
    transition: all 0.3s ease;
    border-radius: 8px;
}

.linkedin-big-icon svg {
    width: 32px;
    /* Slightly smaller to match visual weight */
    height: 32px;
    stroke-width: 2;
    /* Match other icons thickness */
}

.linkedin-big-icon:hover {
    color: #0a66c2;
    /* LinkedIn Blue */
    background: rgba(10, 102, 194, 0.1);
    transform: scale(1.1);
}

/* Simple Page Header (Statutární orgán) */
.page-header-simple {
    padding-top: 120px;
    /* Clear fixed header */
    padding-bottom: 10px;
    background-color: #ffffff;
    text-align: center;
}

.page-header-simple h1 {
    color: #1a365d;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #4a5568;
    font-size: 0.95rem;
}

.contact-row:last-child {
    margin-bottom: 0;
}

.contact-row a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-row a:hover {
    color: #f6ad55;
    text-decoration: underline;
}

.contact-icon-small {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    color: #f6ad55;
}

.timeline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.timeline-header-left {
    display: flex;
    flex-direction: column;
}

/* Adjusted for inline logo */
.company-logo {
    height: 20px;
    /* Slightly smaller to fit text line */
    width: auto;
    margin-right: 8px;
    /* Space between logo and text */
    margin-left: 0;
    object-fit: contain;
    vertical-align: middle;
}

.logo-title-wrapper {
    display: flex;
    align-items: center;
}

.timeline-description {
    font-size: 0.85rem;
    color: #a0aec0;
    font-style: italic;
    margin-top: 6px;
    line-height: 1.5;
}

.timeline-role {
    font-weight: 700;
    color: #2d3748;
    display: block;
    margin-bottom: 4px;
}

.timeline-company {
    color: #4a5568;
    font-size: 0.95rem;
    display: block;
}

/* Odstraněno z HTML timeline-period, zachován styl pro případ potřeby */

.about {
    background-color: #f8fafc;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.about-image-wrapper {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
    /* Ensures zoomed image stays within corners */
    position: relative;
    z-index: 1;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    pointer-events: none;
    /* Prevents right-click and drag */
    user-select: none;
    /* Prevents highlighting */
}

.about-image-wrapper:hover {
    transform: translateY(-5px);
    /* Gentle lift of the card */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.1);
    /* Zoom effect similar to portfolio */
}

.about-content h2 {
    font-size: 2.25rem;
    color: #1a365d;
    margin-bottom: 24px;
}

.about-content p {
    color: #475569;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 24px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f6ad55;
    display: block;
}

.stat-label {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 4px;
}

/* ========== SLUŽBY ========== */
.services {
    background-color: #ffffff;
}

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

.service-card {
    padding: 40px 32px;
    background-color: #f8fafc;
    border-radius: 16px;
    transition: all 0.4s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f6ad55, #ed8936);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover,
.service-card.highlight {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(26, 54, 93, 0.1);
    border-color: #f6ad55;
}

.service-card:hover::before,
.service-card.highlight::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: #0f2847;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon,
.service-card.highlight .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: #f6ad55;
}

.service-card h3 {
    font-size: 1.25rem;
    color: #1a365d;
    margin-bottom: 12px;
}

.service-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========== PROČ MY ========== */
.why-us {
    background: linear-gradient(135deg, #1a365d 0%, #2d4a7c 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Blueprint pattern is now handled globally in .hero::before section */

.why-us .section-title {
    color: #ffffff;
}

.why-us .section-subtitle {
    color: #cbd5e1;
}

.why-bg-icon {
    position: absolute;
    color: rgba(246, 173, 85, 0.055);
    /* Synced with Hero opacity */
    font-size: 2rem;
    pointer-events: none;
    z-index: 0;
    animation: float 6s ease-in-out infinite;
}

/* No background icons in use for Why Us section currently - blueprint pattern only */

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.why-item {
    text-align: center;
    padding: 40px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.why-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    border-color: rgba(246, 173, 85, 0.3);
}

.why-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #f6ad55, #ed8936);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-item:hover .why-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(246, 173, 85, 0.3);
}

.why-icon svg {
    width: 36px;
    height: 36px;
    stroke: #1a365d;
}

.why-item h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #ffffff;
}

.why-item p {
    color: #cbd5e1;
    font-size: 0.9rem;
}

/* ========== REALIZACE ========== */
.portfolio {
    background-color: #ffffff;
}

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

.portfolio-item {
    position: relative;
    aspect-ratio: 4/3;
    background-color: #0f2847;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    transition: transform 0.5s ease;
    pointer-events: none;
    /* Prevents right-click and drag */
    user-select: none;
    /* Prevents highlighting */
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px;
    background: linear-gradient(to top, rgba(15, 40, 71, 0.95) 0%, rgba(15, 40, 71, 0.7) 60%, transparent 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
    z-index: 1;
    text-align: left;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.portfolio-item svg {
    display: none;
}

.portfolio-item:hover svg {
    transform: scale(1.2);
}

/* ========== FAQ ========== */
.faq {
    background-color: #ffffff;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

/* FAQ položky sdílí styly s položkami akordeonu */
.faq-item {
    background-color: #ffffff;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.faq-item.active {
    border-color: #f6ad55;
    box-shadow: 0 10px 25px rgba(246, 173, 85, 0.1);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a365d;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question {
    color: #f6ad55;
    background-color: rgba(246, 173, 85, 0.05);
}

.faq-question:hover {
    color: #f6ad55;
}

.faq-question svg {
    width: 24px;
    height: 24px;
    stroke: #64748b;
    transition: transform 0.4s ease, stroke 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-question svg {
    transform: rotate(45deg);
    stroke: #f6ad55;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background-color: #ffffff;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 24px;
    border-top: 1px solid rgba(226, 232, 240, 0.5);
}

.faq-answer p {
    color: #64748b;
    line-height: 1.7;
    margin-top: 16px;
}

/* ========== KONTAKT ========== */
.contact {
    background: linear-gradient(135deg, #1a365d 0%, #2d4a7c 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* ========== PRO OBCE ========== */
.municipality {
    background-color: #f8fafc;
}

.municipality .section-subtitle {
    max-width: 900px;
    text-align: justify;
}

@media (max-width: 768px) {
    .section-subtitle {
        text-align: left !important;
    }
}



.accordion-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.accordion-item {
    background-color: #ffffff;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.accordion-item.active {
    border-color: #f6ad55;
    box-shadow: 0 10px 25px rgba(246, 173, 85, 0.1);
}

.accordion-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a365d;
    transition: color 0.3s ease;
}

.accordion-item.active .accordion-question {
    color: #f6ad55;
    background-color: rgba(246, 173, 85, 0.05);
}

.accordion-question:hover {
    color: #f6ad55;
}

.accordion-question svg {
    width: 24px;
    height: 24px;
    stroke: #64748b;
    transition: transform 0.4s ease, stroke 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.accordion-item.active .accordion-question svg {
    transform: rotate(45deg);
    stroke: #f6ad55;
}

.accordion-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background-color: #ffffff;
}

.accordion-item.active .accordion-answer {
    max-height: 500px;
    /* Dostatečná výška pro text */
    padding: 0 24px 24px;
    border-top: 1px solid rgba(226, 232, 240, 0.5);
}

.accordion-answer p {
    color: #64748b;
    line-height: 1.7;
    margin-top: 16px;
    /* Přidáno odsazení textu od čáry */
}

/* Blueprint pattern is now handled globally in .hero::before section */

.contact .section-title {
    color: #ffffff;
}

.contact .section-subtitle {
    color: #cbd5e1;
}

/* ========== UPOZORNĚNÍ FORMULÁŘE ========== */
.form-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 32px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.form-alert svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.form-alert-success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.form-alert-success svg {
    stroke: #22c55e;
}

.form-alert-error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.form-alert-error svg {
    stroke: #ef4444;
}

/* ========== OBÁLKA KONTAKTNÍHO FORMULÁŘE ========== */
.contact-form-wrapper {
    max-width: 900px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 1;
}

.contact-form {
    background: transparent;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.contact-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    /* 5% opacity */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: -1;
    transform: translateZ(0);
    /* Chrome fix */
}

/* ========== FORM GRID - DVA SLOUPCE ========== */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 24px;
}

.form-column {
    display: flex;
    flex-direction: column;
}

/* Zpráva zabere zbývající výšku v pravém sloupci */
.form-column:last-child {
    display: flex;
    flex-direction: column;
}

.form-column:last-child .form-group:last-child {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-column:last-child .form-group:last-child textarea {
    height: 100%;
    /* Fill available space initially */
    min-height: 163px;
    /* Align visually with left column inputs */
}

/* ========== SKUPINA FORMULÁŘE ========== */
.form-group {
    margin-bottom: 24px;
    position: relative;
}

/* Map specific styling for Dark Blue Theme */
.map-container iframe {
    filter: grayscale(100%) invert(92%) hue-rotate(200deg) brightness(85%) contrast(110%);
    mix-blend-mode: screen;
    /* Helps integrate with dark background */
    opacity: 0.9;
}

.form-column .form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #cbd5e1;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
    padding-right: 48px;
}

.form-group select option {
    background: #1a365d;
    color: #ffffff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #f6ad55;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(246, 173, 85, 0.2);
}

.form-group textarea {
    resize: vertical;
}

/* ========== VALIDACE FORMULÁŘE - GLOBÁLNÍ ========== */
.form-group input.error,
.form-group textarea.error,
.form-group select.error,
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.form-group input.error:focus,
.form-group textarea.error:focus,
.form-group select.error:focus,
.form-group.has-error input:focus,
.form-group.has-error textarea:focus,
.form-group.has-error select:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.form-group input.valid,
.form-group textarea.valid,
.form-group select.valid {
    border-color: #22c55e;
}

.form-error {
    display: none;
    color: #fca5a5;
    font-size: 0.85rem;
    margin-top: 6px;
}

.form-group.has-error .form-error {
    display: block;
}

/* Honeypot */
.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}

/* ========== STYLY CHECKBOXŮ - GLOBÁLNÍ ========== */
.form-group-checkbox {
    margin-bottom: 24px;
}

.form-group label.checkbox-label,
.form-group .checkbox-label,
.form-group-checkbox .checkbox-label,
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom {
    background: linear-gradient(135deg, #f6ad55, #ed8936);
    border-color: #f6ad55;
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid #1a365d;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.checkbox-label input[type="checkbox"]:focus+.checkbox-custom {
    box-shadow: 0 0 0 3px rgba(246, 173, 85, 0.3);
}

.checkbox-text a {
    color: #f6ad55;
    text-decoration: underline;
}

.checkbox-text a:hover {
    color: #ed8936;
}

.form-group-checkbox.has-error .checkbox-custom {
    border-color: #ef4444;
}

.form-group-checkbox .form-error {
    margin-left: 34px;
    margin-top: 8px;
}

/* ========== TLAČÍTKO ODESLAT ========== */
.btn-submit {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-submit .btn-text,
.btn-submit .btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-submit .btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.btn-submit.loading .btn-text {
    opacity: 0;
}

.btn-submit.loading .btn-loading {
    opacity: 1;
}

.btn-submit.loading {
    pointer-events: none;
}

.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

/* ========== NAH RÁVÁNÍ SOUBORŮ ========== */
.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    width: 100%;
    padding: 16px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-wrapper input[type="file"]:hover {
    border-color: #f6ad55;
    background: rgba(255, 255, 255, 0.08);
}

.file-upload-wrapper input[type="file"]:focus {
    outline: none;
    border-color: #f6ad55;
    box-shadow: 0 0 0 3px rgba(246, 173, 85, 0.2);
}

.file-upload-wrapper input[type="file"]::file-selector-button {
    padding: 8px 16px;
    margin-right: 12px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #f6ad55, #ed8936);
    color: #1a365d;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-wrapper input[type="file"]::file-selector-button:hover {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
}

.file-upload-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: #94a3b8;
    font-size: 0.85rem;
}

.file-upload-info svg {
    stroke: #94a3b8;
    flex-shrink: 0;
}

.file-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.file-item.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.file-item-info {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.file-item-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.file-item-size {
    color: #64748b;
    font-size: 0.8rem;
    white-space: nowrap;
}

.file-item-status {
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 4px;
}

.file-item-status.valid {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
}

.file-item-status.invalid {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.file-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-remove-btn {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 4px;
    background: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-remove-btn:hover {
    background: rgba(239, 68, 68, 0.5);
    color: #ffffff;
}


/* ========== POČÍTADLO ZNAKŮ ========== */
.char-counter {
    display: block;
    text-align: right;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 6px;
}

.char-counter.warning {
    color: #f6ad55;
}

.char-counter.limit {
    color: #ef4444;
}

/* ========== CHYBOVÝ STAV NAH RÁVÁNÍ SOUBORŮ ========== */
.form-group.has-error .file-upload-wrapper input[type="file"] {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

/* ========== MŘÍŽKA KONTAKTU (info + mapa) ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 10px;
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

/* ========== KONTAKTNÍ INFORMACE ========== */
.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f6ad55, #ed8936);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: #1a365d;
}

.contact-item-content h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-item-content p {
    color: #cbd5e1;
}

.contact-item-content a {
    color: #cbd5e1;
    transition: color 0.3s ease;
}

.contact-item-content a:hover {
    color: #f6ad55;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, #2d4a7c, #3d5a8c);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    border: 2px dashed #4a6fa5;
    transition: transform 0.3s ease;
}

.map-placeholder:hover {
    transform: scale(1.02);
}

/*==========GOOGLE MAPY - TMAVÝ MOTIV==========*/
.map-container {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    filter: invert(90%) hue-rotate(180deg) saturate(0.8) brightness(0.9);
}

.map-container:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* ========== PATIČKA ========== */
.footer {
    background-color: #0F2847;
    color: #94a3b8;
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #f6ad55;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #f6ad55;
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #f6ad55;
    /* Orange default */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #0077b5;
    /* LinkedIn Blue hover */
    transform: translateY(-3px);
}

.social-links a:hover svg {
    stroke: #ffffff;
}

.social-links svg {
    width: 20px;
    height: 20px;
    stroke: #1a365d;
    /* Dark Blue default */
}

/* ========== RESPONZIVITA ========== */
@media (max-width: 1024px) {
    .hero-content {
        max-width: 100%;
        padding: 0 16px;
    }

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

    .about-image-placeholder {
        order: -1;
    }

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

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

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

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

    .form-column:last-child .form-group:last-child textarea {
        min-height: 150px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .map-placeholder {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: rgba(26, 54, 93, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        gap: 8px;
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        align-items: center;
    }

    /* Simple Nav Override for Subpages */
    .nav-menu.nav-simple {
        position: static;
        transform: none;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        padding: 0;
        flex-direction: row;
        width: auto;
    }

    .nav-menu.nav-simple .nav-cta {
        font-size: 0 !important;
        padding: 0;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
    }

    .nav-menu.nav-simple .nav-cta::before {
        content: '←';
        font-size: 1.5rem;
        display: block;
        line-height: 1;
        position: static;
        width: auto;
        height: auto;
        transform: none;
        background: none;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu a {
        padding: 14px 20px;
        border-radius: 8px;
        text-align: center;
        width: fit-content;
    }

    .nav-menu a:not(.nav-cta):hover::before,
    .nav-menu a:not(.nav-cta).active::before {
        width: calc(100% - 40px);
    }

    .nav-menu .nav-cta {
        margin-left: 0;
        margin-top: 8px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding-top: 80px;
        /* Offset fixed header */
        min-height: 100vh;
        /* padding-bottom: 60px; Removed to let flex center it */
    }

    .hero-content {
        padding: 0 16px;
        width: 100%;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

    .service-card {
        text-align: left;
        padding: 32px 24px;
    }

    .service-card h3 {
        text-align: center;
    }

    .service-icon {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .about-stats {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .contact-form {
        padding: 24px;
    }

    .map-container {
        min-height: 250px;
    }

    .map-container iframe {
        min-height: 250px;
    }
}

@media (max-width: 600px) {
    .contact-form {
        padding: 24px;
    }

    .contact-form-wrapper {
        margin-bottom: 40px;
    }
}

/*============================================
  COOKIE CONSENT & SETTINGS
============================================*/

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    color: #1f2937;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 99999;
    transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-top: 3px solid #f59e0b;
}

.cookie-consent.show {
    bottom: 0;
}

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-consent-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1f2937;
}

.cookie-consent-content h3 svg {
    width: 24px;
    height: 24px;
}

.cookie-consent-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6b7280;
}

.cookie-consent-content a {
    color: #f59e0b;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-consent-content a:hover {
    color: #d97706;
}

.cookie-consent-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Tlačítka cookies */
.btn-cookie-accept,
.btn-cookie-settings,
.btn-cookie-reject {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.btn-cookie-accept {
    background-color: #f59e0b;
    color: #ffffff;
    border: 2px solid #f59e0b;
}

.btn-cookie-accept:hover {
    background-color: #d97706;
    border-color: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.btn-cookie-settings {
    background-color: transparent;
    color: #1f2937;
    border: 2px solid #d1d5db;
}

.btn-cookie-settings:hover {
    background-color: #f3f4f6;
    border-color: #9ca3af;
    transform: translateY(-2px);
}

.btn-cookie-reject {
    background-color: transparent;
    color: #6b7280;
    border: 2px solid #d1d5db;
}

.btn-cookie-reject:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
    transform: translateY(-2px);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

.cookie-settings-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-settings-content {
    background: #ffffff;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.cookie-settings-modal.show .cookie-settings-content {
    transform: scale(1);
}

/* Cookie Settings Header */
.cookie-settings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.cookie-settings-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.cookie-settings-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cookie-settings-close:hover {
    background-color: #f3f4f6;
    transform: rotate(90deg);
}

.cookie-settings-close svg {
    width: 24px;
    height: 24px;
    stroke: #6b7280;
    stroke-width: 2.5;
}

/* Cookie Settings Body */
.cookie-settings-body {
    padding: 2rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.cookie-category-header h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

.cookie-category-description {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6b7280;
}

/* Cookie Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d1d5db;
    transition: 0.3s;
    border-radius: 28px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input:checked+.cookie-toggle-slider {
    background-color: #f59e0b;
}

.cookie-toggle input:checked+.cookie-toggle-slider:before {
    transform: translateX(24px);
}

.cookie-toggle input:disabled+.cookie-toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #9ca3af;
}

/* Cookie Settings Footer */
.cookie-settings-footer {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid #e5e7eb;
    justify-content: flex-end;
}

.cookie-settings-footer .btn {
    min-width: 150px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

/* Sekundární tlačítko (Uložit nastavení) */
.cookie-settings-footer .btn-secondary {
    background-color: #6b7280;
    color: #ffffff;
    border: 2px solid #6b7280;
    opacity: 1;
}

.cookie-settings-footer .btn-secondary:hover {
    background-color: #4b5563;
    border-color: #4b5563;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

/* Primární tlačítko (Přijmout vše) */
.cookie-settings-footer .btn-primary {
    background-color: #f59e0b;
    color: #ffffff;
    border: 2px solid #f59e0b;
}

.cookie-settings-footer .btn-primary:hover {
    background-color: #d97706;
    border-color: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Cookie Responsive */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 1rem 0;
        z-index: 99999;
    }

    .cookie-consent-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .cookie-consent-content {
        width: 100%;
    }

    .cookie-consent-actions {
        width: 100%;
        flex-direction: column;
        gap: .75rem;
    }

    .btn-cookie-accept,
    .btn-cookie-settings,
    .btn-cookie-reject {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.5rem;
    }

    .cookie-settings-modal {
        padding: 0.5rem;
    }

    .cookie-settings-content {
        margin: 0.5rem;
        max-height: 85vh;
    }

    .cookie-settings-header,
    .cookie-settings-body,
    .cookie-settings-footer {
        padding: 1.25rem;
    }

    .cookie-settings-footer {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cookie-settings-footer .btn {
        width: 100%;
        min-width: auto;
    }

    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .cookie-consent {
        padding: 1rem 0;
    }

    .cookie-consent-container {
        padding: 0 0.75rem;
        gap: 1rem;
    }

    .cookie-consent-content h3 {
        font-size: 1.1rem;
    }

    .cookie-consent-content p {
        font-size: 0.875rem;
    }

    .btn-cookie-accept,
    .btn-cookie-settings,
    .btn-cookie-reject {
        padding: 0.75rem 1.25rem;
        font-size: .95rem;
    }

    .cookie-settings-header {
        padding: 1rem;
    }

    .cookie-settings-header h2 {
        font-size: 1.25rem;
    }

    .cookie-settings-body {
        padding: 1rem;
    }

    .cookie-settings-footer {
        padding: 1rem;
    }

    .cookie-category-header h3 {
        font-size: 1rem;
    }

    .cookie-category-description {
        font-size: 0.85rem;
    }
}

/* Font Awesome Safari fix - handled in .hero-bg-icon class */
@-webkit-keyframes float {

    0%,
    100% {
        -webkit-transform: translateY(0) rotate(0deg);
        transform: translateY(0) rotate(0deg);
    }

    50% {
        -webkit-transform: translateY(-20px) rotate(5deg);
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.hero-bg-icon {
    position: absolute;
    color: rgba(246, 173, 85, 0.055);
    -webkit-animation: float 6s ease-in-out infinite;
    animation: float 6s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}