/* GENEROVÁNO z style.css skriptem tools/build-css.js — needitovat ručně. */
/*
Theme Name: TRIGY
Theme URI: https://trigy.cz
Description: Custom WordPress theme pro TRIGY - profesionální instalace čistíren odpadních vod a dešťových systémů
Author: Trigy
Version: 3.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trigy
*/

/* Google Fonts jsou načítány optimalizovaně přes functions.php (preconnect + combined request) */

/* Global Font Setup */
*,
h1 span,
.nav-menu .sub-menu li a,
p,
h4,
h5,
a,
button,
span,
strong,
li {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    font-size-adjust: 0.504;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Fix Chrome deprecation warning - explicitní h1 font-size */
h1 {
    font-size: var(--size-heading-hero);
    /* 57px → 44px → 34px (responzivní) */
    line-height: 1.2;
    font-weight: 700;
}

/* Specificky pro h1 v section (fix Chrome H1UserAgentFontSizeInSection warning) */
section h1 {
    font-size: var(--size-heading-big);
    /* 44px → 32px → 26px (responzivní) */
    line-height: 1.2;
    font-weight: 700;
}

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

:root {
    /* Premium color palette */
    --primary-navy: #8740bf;
    --primary-blue: #8740bf;
    --main-purple: #8740bf;
    --lighter-main-purple: #995bc5;
    --light-blue: #f1f5f9;
    --accent-teal: #F3E76A;
    --accent-darker-teal: #d6cc57;
    --success-emerald: #F3E76A;
    --warning-amber: #F3E76A;
    --neutral-slate: #596677;
    --dark-navy: #1e293b;

    /* Premium gradients */
    --gradient-primary: linear-gradient(135deg, #8740bf 0%, #8740bf 50%, #8740bf 100%);
    --gradient-cta: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
    --gradient-accent: linear-gradient(135deg, #F3E76A 0%, #F3E76A 100%);
    --gradient-glow: linear-gradient(135deg, rgba(121, 72, 156, 0.3) 0%, rgba(121, 72, 156, 0.3) 50%, rgba(121, 72, 156, 0.3) 100%);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', monospace;

    --size-heading-hero: 57px;
    --size-heading-big: 44px;
    --size-heading-medium: 32px;
    --size-subtitle: 20px;
    --size-heading-small: 24px;
    --size-body: 16px;
    --size-small: 14px;

    /* Spacing scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Shadows & effects */
    --shadow-sm: 0 1px 2px 0 rgba(121, 72, 156, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(121, 72, 156, 0.1), 0 2px 4px -1px rgba(121, 72, 156, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(121, 72, 156, 0.1), 0 4px 6px -2px rgba(121, 72, 156, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(121, 72, 156, 0.1), 0 10px 10px -5px rgba(121, 72, 156, 0.04);
    --shadow-glow: 0 0 30px rgba(121, 72, 156, 0.3);
}

/* Top Contact Bar */
.top-contact-bar {
    background: var(--accent-teal);
    padding: 0;
    height: 40px;
    font-size: 0.875rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.top-contact-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
}

.brand-logo {
    display: block;
    margin: 8px;
}

.nav-contact-info {
    display: flex;
    justify-content: start;
    gap: var(--space-8);
    height: 40px;
    align-items: center;
    margin: auto;
}

.nav-contact-item {
    display: flex;
    gap: var(--space-1);
    color: var(--dark-navy);
    font-weight: 500;
    max-height: 40px;
    align-items: center;
}


.contact-icon {
    font-size: 1rem;
    max-height: 30px;
}

@media (max-width: 1024px) {
    :root {
        --size-heading-hero: 54px;
        --size-heading-big: 44px;
        --size-heading-medium: 30px;
        --size-subtitle: 18px;
        --size-heading-small: 22px;
        --size-body: 15px;
        --size-small: 13px;
    }
}

@media (max-width: 768px) {
    :root {
        --size-heading-hero: 44px;
        --size-heading-big: 32px;
        --size-heading-medium: 24px;
        --size-subtitle: 18px;
        --size-heading-small: 20px;
        --size-body: 15px;
        --size-small: 13px;
    }
}

/* Responsive typography for small         
      mobile devices */
@media (max-width: 480px) {
    :root {
        --size-heading-hero: 34px;
        --size-heading-big: 26px;
        --size-heading-medium: 22px;
        --size-subtitle: 16px;
        --size-heading-small: 18px;
        --size-body: 14px;
        --size-small: 12px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    font-size: var(--size-body);
    line-height: 1.6;
    color: var(--dark-navy);
    background: #ffffff;
    overflow-x: hidden;
    /* navbar + contact bar height */
}

/* Main element - CSS containment pro zabránění layout shift */
main {
    /* CSS containment - izoluje reflow/repaint */
    contain: layout style;
    /* Zabraňuje layout shift při načítání obsahu - minimální výška */
    min-height: 200px;
}

/* Focus states for accessibility */
*:focus {
    outline: none;
}

button:focus,
a:focus {
    outline: none;
}

/* Premium Navbar */
.navbar {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    background: rgb(255, 255, 255);
    border-bottom: 1px solid rgba(121, 72, 156, 0.08);
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

.navbar.scrolled {
    top: 0;
}


.navbar-brand .brand-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.logo-water-drop {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: var(--shadow-glow);
    position: relative;
}

.logo-water-drop::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50% 50% 50% 0;
}


.navbar-menu {
    display: flex;
    list-style: none;
    align-items: flex-start;
    gap: var(--space-8);
    /* Umožnit sub-menu přesahovat hranice */
    overflow: visible;
}

.nav-link {
    text-decoration: none;
    color: var(--neutral-slate);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: var(--space-2) 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-navy);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}


.premium-cta {
    position: relative;
    background: var(--gradient-cta);
    color: white;
    padding: var(--space-3) var(--space-6);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--size-body);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.premium-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.cta-glow {
    position: absolute;
    inset: -2px;
    background: var(--gradient-glow);
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.premium-cta:hover .cta-glow {
    opacity: 1;
}

@keyframes float {

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

    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }

    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }

    75% {
        transform: translate(20px, 10px) rotate(270deg);
    }
}

/* Floating particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
}

.particle-4 {
    left: 70%;
    animation-delay: 6s;
    animation-duration: 20s;
}

.particle-5 {
    left: 85%;
    animation-delay: 8s;
    animation-duration: 16s;
}

.particle-6 {
    left: 60%;
    animation-delay: 10s;
    animation-duration: 14s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

/* Premium Badge */
.premium-badge {
    position: relative;
    display: inline-block;
    margin-bottom: var(--space-6);
}

.badge-glow {
    position: absolute;
    inset: -4px;
    background: var(--gradient-glow);
    border-radius: 50px;
    filter: blur(8px);
    opacity: 0.7;
}

.contact-icon svg {
    width: 18px;
    height: 18px;
}

.contact-icon {
    display: flex;
    align-items: center;
    margin: 3px;
}

@media(min-width: 1024px) {

    .projects-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        flex-direction: row;
        
        scroll-behavior: smooth;
        gap: 40px;
        margin-bottom: 60px;
        padding: 40px 40px;
    }

    /* Wrapper pro automatický carousel na desktopu */
    .projects-grid-wrapper {
        padding: 40px 0;
    }

    /* Automatický nekonečný carousel na desktopu */
    .projects-grid-auto {
        animation-duration: 50s;
    }

    /* Každá karta má stejnou šířku a chová se jako "slide" – podobně jako na mobilu */
    .projects-grid > * {
        flex: 0 0 400px;
        scroll-snap-align: center;
        /* malé odsazení mezi kartou a okrajem kontejneru */
        margin-bottom: 10px;
    }
    
    .projects-grid-auto > * {
        scroll-snap-align: none;
        flex-shrink: 0;
    }
}

.feature-title {
    font-weight: 600;
    color: var(--dark-navy);
    font-size: var(--size-body);
}

.primary-cta {
    position: relative;
    background: var(--gradient-cta);
    color: white;
    border: none;
    padding: var(--space-4) var(--space-8);
    border-radius: 16px;
    font-weight: 700;
    font-size: var(--size-body);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    outline: none;
    text-decoration: none;
}

.single-hero {
    padding-top: 60px;
}

.primary-cta:focus {
    outline: none;
    box-shadow: var(--shadow-lg), 0 0 0 3px rgba(121, 72, 156, 0.3);
}

.primary-cta:active {
    transform: translateY(-1px);
    transition: all 0.1s ease;
}

.primary-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.button-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.primary-cta:hover .button-shine {
    left: 100%;
}

.secondary-cta {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: var(--space-4) var(--space-6);
    border-radius: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: all 0.3s ease;

}

.secondary-cta:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* Trust Section */
.trust-section {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    padding: var(--space-4) 0;
    border-top: 1px solid rgba(121, 72, 156, 0.1);
}

.trust-number {
    font-weight: 800;
    font-size: var(--size-heading-small);
    color: var(--primary-blue);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    display: inline-block;
    min-width: max-content;
    min-height: 1.2em;
    text-align: left;
    font-variant-numeric: tabular-nums;
    contain: layout style;
}

.trust-number.animate {
    opacity: 1;
    transform: translateY(0);
}

.review-text,
.review p {
    font-style: italic;
    margin-bottom: var(--space-4);
    color: var(--neutral-slate);
}

/* .author-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
} */
.review .top .social-icon img {
    border-radius: 10px;
    filter: brightness(1) invert(0);
    width: inherit;
}
.single-image{
    max-width: 100%;
}
.review .top .social-icon {
    width: 86px;
}

.navbar {
    position: fixed;
    top: 40px;
    width: 100%;
    border-bottom: 1px solid #ffffff00;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* CSS containment - izoluje reflow/repaint, zabraňuje layout shift */
    /* Odstraněno contain: paint, aby sub-menu nebylo oříznuto */
    contain: layout style;
    /* Fixní výška pro zabránění layout shift */
    min-height: 80px;
    /* Umožnit sub-menu přesahovat hranice */
    overflow: visible;
}

.navbar-container {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    padding: 0;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    /* Umožnit sub-menu přesahovat hranice */
    overflow: visible;
}

.breadcrumbs {
    margin-bottom: var(--space-6);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2);
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: var(--size-small);
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.breadcrumb-item a {
    color: var(--neutral-slate);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 400;
}

.breadcrumb-item a:hover {
    color: var(--main-purple);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--main-purple);
    font-weight: 600;
}

.breadcrumb-separator {
    color: var(--neutral-slate);
    opacity: 0.5;
    user-select: none;
    font-size: 0.875rem;
}

@keyframes floatUI {

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

    50% {
        transform: translateY(-10px);
    }
}

.ui-header {
    display: flex;
    gap: var(--space-1);
    margin-bottom: var(--space-2);
}

.ui-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.ui-dot.green {
    background: var(--success-emerald);
}

.ui-dot.yellow {
    background: var(--warning-amber);
}

.ui-dot.red {
    background: #ef4444;
}

.ui-bar {
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin-bottom: var(--space-1);
    opacity: 0.7;
}


.services-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--space-8);
}

.services-intro {
    text-align: center;
    margin-bottom: var(--space-10);
}

.services-title {
    font-size: var(--size-heading);
    font-weight: 900;
    color: var(--primary-navy);
    margin-bottom: var(--space-16);
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: var(--space-8);
    max-width: 1320px;
    margin: 0 auto;
}

.service-card {
    background: rgba(248, 250, 252, 0.8);
    padding: 2rem;
    text-align: left;
    transition: all 0.2s ease;
    border: 1px solid rgba(121, 72, 156, 0.1);
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(121, 72, 156, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    color: var(--dark-navy);
}

.service-card:hover {
    transform: translateY(-8px);
    background: white;
    border-color: rgba(121, 72, 156, 0.2);
    box-shadow: 0 12px 40px rgba(121, 72, 156, 0.15);
}

.service-icon {
    width: 200px;
    height: 200px;
    margin: 0 auto var(--space-8);
    display: flex;

    align-items: center;
    justify-content: center;
    background: var(--primary-blue);
    border-radius: 50%;
    position: relative;
}

.service-icon img {
    width: 120px;
    height: 120px;
    transition: transform 0.2s ease;
    filter: brightness(0) saturate(10000%) invert(40%) sepia(0%) saturate(100043%) hue-rotate(10deg) brightness(7000%) contrast(800%);
}

.service-card:hover .service-icon img {
    transform: scale(1.05);
}


.service-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: auto;
}

.service-features li {
    padding: var(--space-2) 0;
    padding-left: var(--space-6);
    position: relative;
    color: var(--dark-navy);
    font-weight: 500;
    line-height: 1.5;
    font-size: var(--size-small);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.1em;
}

.service-features li::before {
    color: var(--primary-navy);
    font-size: 1.1em;
}

@keyframes float {

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

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

.faq-subtitle {
    font-size: var(--size-subtitle);
    color: var(--neutral-slate);
    margin-top: var(--space-4);

}

.section-subtitle {
    font-size: var(--size-subtitle);
    color: var(--neutral-slate);
    margin-top: var(--space-4);
    margin: var(--space-8) auto var(--space-12) auto;
}

.faq-category-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(121, 72, 156, 0.1);
    border-radius: 16px;
    padding: var(--space-3) var(--space-6);
    font-weight: 600;
    color: var(--neutral-slate);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.faq-category-btn:hover {
    border-color: var(--primary-navy);
    color: var(--primary-navy);
    transform: translateY(-2px);
}

.faq-category-btn.active {
    background: var(--primary-navy);
    color: white;
    border-color: var(--primary-navy);
}

.faq-category-group {
    display: none;
}

.faq-category-group.active {
    display: block;
}

.faq-item {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(121, 72, 156, 0.1);
    border-radius: 16px;
    margin-bottom: var(--space-4);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(121, 72, 156, 0.2);
    box-shadow: 0 8px 32px rgba(121, 72, 156, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-6) var(--space-8);
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(121, 72, 156, 0.05);
}

.faq-question h3,
.faq-question .faq-question-text {
    font-size: var(--size-body);
    font-weight: 600;
    color: var(--dark-navy);
    margin: 0;
    line-height: 1.4;
}

.faq-item.active .faq-question {
    background: rgba(121, 72, 156, 0.05);
}

.faq-cta {
    text-align: center;
    margin-top: var(--space-20);
    padding: var(--space-12) var(--space-8);
    background: rgba(121, 72, 156, 0.05);
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.faq-cta-content h3 {
    font-size: var(--size-body);
    color: var(--dark-navy);
    margin-bottom: var(--space-3);
    font-weight: 700;
}

.faq-cta-content p {
    color: var(--neutral-slate);
    margin-bottom: var(--space-6);
    font-size: 1.1rem;
}

.projects-section {
    background: #fff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    contain: layout style;
}


.about-section {
    z-index: 1;
    overflow: hidden;
}

.section-title {
    max-width: 1320px;
    margin: 0 10px;
    font-size: var(--size-heading-big);
}


.about-section .section-title {
    font-size: var(--size-heading-big);
    font-weight: 600;
    color: #101828;
    margin-bottom: 0;
    text-align: start;

    position: relative;

}

.about-content {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 56px;

}

.about-main-col {
    flex: 1 1 0;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    height: 100%;
}

.about-content-top {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.highlight-text {
    background: var(--accent-teal);
    color: var(--dark-navy);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.contact-grid {
    display: grid;
    grid-template-columns: 380px 1fr 380px;
    gap: 40px;
    margin-top: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s;
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 8px;
}

.hours-item span:first-child {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.hours-item span:last-child {
    font-weight: 700;
    color: var(--accent-teal);
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background: var(--accent-teal);
    padding: 48px 40px;
    border-radius: 24px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
}

.contact-form-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.contact-form-header h3 {
    z-index: 5;
    font-size: var(--size-body);
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 12px;

    letter-spacing: -0.02em;
}

.contact-form-header p {
    color: var(--dark-navy);
    font-size: var(--size-body);
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
    opacity: 0.8;
}

.checkbox-group {
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: var(--size-body);
    line-height: 1.5;
}

.checkbox-input {
    display: none;
}

.button-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}


.reviews-circles-section {
    width: 100%;
    padding: 0 0 var(--space-6) 0;
}

.reviews-intro {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    margin-bottom: var(--space-6);
    text-align: center;
}

.reviews-label {
    font-size: 0.9rem;
    color: var(--neutral-slate);
    font-weight: 500;
}

.reviews-count {
    font-size: 1.1rem;
    color: var(--primary-blue);
    font-weight: 700;
}

.reviews-circles {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
    gap: var(--space-1);
    padding: 0 var(--space-2);
}

.review-circle.size-xxs .circle-avatar {
    width: 35px;
    height: 35px;
}

.review-circle.size-xs .circle-avatar {
    width: 40px;
    height: 40px;
}

.review-circle.size-s .circle-avatar {
    width: 45px;
    height: 45px;
}

.review-circle.size-sm .circle-avatar {
    width: 50px;
    height: 50px;
}

.review-circle.size-md .circle-avatar {
    width: 60px;
    height: 60px;
}

.review-circle.size-lg .circle-avatar {
    width: 70px;
    height: 70px;
}

.review-circle.size-xl .circle-avatar {
    width: 80px;
    height: 80px;
    border-width: 4px;
}

.review-circle {
    position: relative;
    cursor: pointer;
}

.circle-avatar {
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    background: var(--gradient-primary);
}

.circle-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.review-circle:hover .circle-avatar {
    transform: scale(1.1);
    border-color: #F3E76A;
    box-shadow: 0 0 20px rgba(243, 231, 106, 0.4), var(--shadow-lg);
}

.review-circle:hover .circle-avatar img {
    transform: scale(1.05);
}

.section-title {
    font-size: var(--size-heading-big);
    font-weight: 800;
    background: linear-gradient(85deg, var(--lighter-main-purple) 10%, var(--main-purple) 100%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    margin-bottom: 0;
    text-align: center;
    position: relative;
    display: inline-block;
    padding: 0 var(--space-4);
}

.services-tagline {
    font-size: var(--size-subtitle);
    color: var(--neutral-slate);
    text-align: center;
    margin: 0;
    font-weight: 500;
    font-style: italic;
}

@media (max-width: 1320px) {
    .navbar-container {
        padding: 0 20px;
    }
}

/* Service image */
.service-image {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 12px 48px rgba(121, 72, 156, 0.12);
    transition: all 0.3s ease;
}



/* Service review icon */
.service-review-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--accent-teal);
    border-radius: 50%;
    z-index: 3;
    opacity: 0.95;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(243, 231, 106, 0.3);
    border: 3px solid white;
}

.service-review-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-navy);
    transition: transform 0.3s ease;
}

.service-review-icon:hover {
    background: var(--accent-darker-teal);
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(243, 231, 106, 0.5);
}

.service-review-icon:hover svg {
    transform: scale(1.1);
}

/* Service review popup - covering portion of image */
.service-review-popup {
    position: absolute;
    top: 12.5%;
    left: 12.5%;
    width: 75%;
    height: 75%;
    background: rgba(30, 41, 59, 0.92);
    backdrop-filter: blur(8px);
    padding: var(--space-8);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 4;
}

/* Arrow pointing diagonally to user icon */
.service-review-popup::before {
    content: '';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 16px;
    height: 16px;
    background: rgba(30, 41, 59, 0.92);
    transform: rotate(45deg);
    border-top-right-radius: 2px;
    filter: drop-shadow(-1px -1px 2px rgba(0, 0, 0, 0.2));
}

.service-review-popup.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.service-image:hover {
    /* transform: translateY(-8px); */
    box-shadow: 0 20px 60px rgba(121, 72, 156, 0.18);
}

.service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-image:hover img {
    /* transform: scale(1.05); */
    filter: blur(2.5px);
}

/* Service CTA Button - Matching Hero Section Style */
.service-cta-btn {
    position: relative;
    background: var(--gradient-cta);
    color: white;
    border: none;
    padding: var(--space-4) var(--space-8);
    border-radius: 16px;
    font-weight: 700;
    font-size: var(--size-body);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    flex-shrink: 0;
}

.service-cta-btn .button-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.service-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.service-cta-btn:hover .button-shine {
    left: 100%;
}

.services-cta-button {
    background: var(--gradient-cta);
    color: white;
    border: none;
    padding: var(--space-4) var(--space-8);
    border-radius: 16px;
    font-weight: 700;
    font-size: var(--size-body);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    margin-top: var(--space-4);
}

.services-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(34, 197, 94, 0.3);
}


/* Services Multi-Select Styling */
.services-label {
    font-size: var(--size-body);
    font-weight: 600;
    color: var(--dark-navy);
    margin-bottom: 16px;
    display: block;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.service-text {
    font-size: var(--size-body);
    line-height: 1.4;
    color: var(--dark-navy);
    transition: all 0.2s;
}

/* ===================================
   PROJECTS SECTION STYLES
   =================================== */

.projects-content-wrapper {
    /* max-width: 1320px; */
    margin: 0 ;
    padding: 0 ;
    position: relative;
    overflow: hidden;
    /* CSS containment - izoluje reflow/repaint celé sekce */
    contain: layout style;
}

/* Gradient overlay pro automatický carousel */
.projects-content-wrapper::before,
.projects-content-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 10;
    pointer-events: none;
}

.projects-content-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 2%, rgba(255, 255, 255, 0.788) 50%, rgba(255, 255, 255, 0) 100%);
}

.projects-content-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, rgba(255, 255, 255, 0.788) 50%, rgba(255, 255, 255, 0) 100%);
}

.projects-header {
    text-align: center;
    margin: 1rem;
    margin-top: 0;
    position: relative;
    z-index: 20;
}

.projects-subtitle {
    font-size: var(--size-subtitle);
    color: var(--neutral-slate);

    margin-top: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

.projects-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    gap: 40px;
    margin-bottom: 0;
}

/* Wrapper pro automatický carousel */
.projects-grid-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    /* CSS containment - izoluje reflow/repaint */
    contain: layout style paint;
    isolation: isolate;
}

/* Automatický nekonečný carousel */
.projects-grid-auto {
    display: flex;
    gap: 40px;
    width: fit-content;
    scroll-snap-type: none;
    animation: scrollProjects 120s linear infinite;
    will-change: transform;
    /* CSS containment - izoluje změny uvnitř elementu */
    contain: layout style paint;
    /* GPU akcelerace pro plynulejší animaci */
    transform: translateZ(0);
    backface-visibility: hidden;
}

@keyframes scrollProjects {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Scrollujeme o 25% (1 sada karet z 4 duplikovaných) pro nekonečný efekt */
        transform: translateX(-25%);
    }
}


/* Navigační šipky u carouselu projektů (desktop) */
.projects-nav-arrows {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.projects-arrow {
    pointer-events: auto;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(121, 72, 156, 0.18);
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    transition: all 0.2s ease;
}

.projects-arrow:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
    background: #ffffff;
}

.projects-arrow:disabled {
    opacity: 0.4;
    cursor: default;
    box-shadow: none;
}

/* Schovat scrollbar a používat tečky jako indikátor pozice */
.projects-grid::-webkit-scrollbar {
    display: none;
}

.projects-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Tečky (indikátory) pod carousel projekty – i na desktopu */
.projects-dots,
.process-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 20px 0 30px 0;
    padding: 10px 0;
}

/* Základní vzhled teček (desktop i mobil) */
.projects-dot,
.process-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(121, 72, 156, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.projects-dot.active,
.process-dot.active {
    width: 24px;
    border-radius: 4px;
    background: #8740bf;
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(121, 72, 156, 0.08);
    border: 1px solid rgba(121, 72, 156, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    /* CSS containment - izoluje reflow/repaint */
    contain: layout style paint;
    /* Lazy rendering - renderuje jen viditelné karty */
    content-visibility: auto;
    contain-intrinsic-size: 400px 600px;
}

/* .project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(121, 72, 156, 0.15);
    border-color: rgba(121, 72, 156, 0.1);
} */

.project-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    /* CSS containment - izoluje reflow při načítání obrázku */
    contain: layout style paint;
    /* Fixní výška zabraňuje layout shift */
    min-height: 240px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    /* Zabraňuje layout shift při načítání */
    display: block;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary-navy);
    opacity: 0.9;
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.project-info {
    padding: 24px;
    
}

.project-title {
    font-size: var(--size-heading-small);
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 8px;
    line-height: 1.3;
}

.project-location {
    color: var(--primary-navy);
    font-weight: 600;
    font-size: var(--size-small);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-description {
    color: var(--neutral-slate);
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: var(--size-body);
   
}

.project-specs {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.project-spec {
    font-size: var(--size-small);
    color: var(--dark-navy);
    font-weight: 500;
    padding: 2px 0;
}

.projects-cta {
    text-align: center;
    padding: 16px;
    position: relative;
    z-index: 20;
}

.projects-cta .service-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
}

.blog-section {
    background: #fff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(243, 231, 106, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.blog-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(121, 72, 156, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.blog-section-desc {
    color: var(--neutral-slate);
    font-size: var(--size-subtitle);
    margin: 16px auto 60px auto;
    text-align: center;
    max-width: 700px;
    font-weight: 500;
}

.blog-section .blog-hero-article {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(121, 72, 156, 0.08);
    border: 1px solid rgba(121, 72, 156, 0.05);
    display: flex;
    gap: 0;
    overflow: hidden;
    min-height: 240px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 350px;
}

.blog-section .blog-hero-article:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(121, 72, 156, 0.15);
    border-color: rgba(121, 72, 156, 0.1);
}

.blog-section .blog-hero-article-content {
    flex: 1 1 0;
    padding: 32px 32px 28px 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
}

.blog-hero-article-content h3 {
    text-align: start;
    justify-content: start;
}

.blog-section .blog-hero-article-content h3 {

    font-size: 20px;
    font-weight: 700;
    color: var(--dark-navy);
    margin: 0 0 0 0;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.blog-section .blog-hero-article-content .meta {
    font-size: var(--size-small);
    color: var(--neutral-slate);
    display: flex;
    justify-content: start;
    margin-bottom: 12px;
    font-weight: 500;
}

.blog-section .blog-hero-article-content p {
    color: var(--neutral-slate);
    font-size: var(--size-body);
    margin-bottom: 16px;
    line-height: 1.6;
    text-align: start;
}

.blog-section .blog-categories-row {
    display: flex;
    gap: 12px;
    margin-top: auto;
    flex-wrap: wrap;
    align-items: center;
}

.category-button-child {
    background: rgba(121, 72, 156, 0.1);
    color: var(--primary-navy);
    font-size: var(--size-small);
    font-weight: 600;
    border-radius: 20px;
    padding: 6px 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: 1px solid rgba(121, 72, 156, 0.2);
}

.category-button-child:hover {
    background: var(--primary-navy);
    color: white;
    border-color: var(--primary-navy);
}

.read {
    background: linear-gradient(135deg, var(--primary-yellow), var(--primary-purple));
    color: white;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    box-shadow: 0 2px 8px rgba(121, 72, 156, 0.2);
}

.read:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(121, 72, 156, 0.3);
}

/* ===================================
   FOOTER STYLES
   =================================== */

.footer-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    padding: 60px 0 0;

    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(243, 231, 106, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(121, 72, 156, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.footer-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Logo Section */
.footer-brand {
    max-width: 350px;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-brand-symbol {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--primary-purple));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.footer-water-symbol {
    width: 24px;
    height: 16px;
    position: relative;
}

.footer-wave {
    position: absolute;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: footerWaveFlow 2s ease-in-out infinite;
}

.footer-wave-1 {
    top: 2px;
    animation-delay: 0s;
}

.footer-wave-2 {
    top: 7px;
    animation-delay: 0.3s;
}

.footer-wave-3 {
    top: 12px;
    animation-delay: 0.6s;
}

@keyframes footerWaveFlow {

    0%,
    100% {
        transform: scaleX(1);
        opacity: 0.8;
    }

    50% {
        transform: scaleX(0.6);
        opacity: 1;
    }
}

.footer-brand-info {
    display: flex;
    flex-direction: column;
}

.footer-brand-name {

    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff;
    line-height: 1;
}

.footer-brand-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.footer-company-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 0.95rem;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-stats {
    display: flex;
    gap: 30px;
}

.footer-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-weight: 700;
    color: var(--main-purple);
    font-size: 18px;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer Columns */
.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {

    font-weight: 600;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--primary-purple));
    border-radius: 1px;
}

/* Social Links */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
}

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    filter: brightness(1) invert(1);
}

.social-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.social-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.social-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #ffffff;
}

.social-handle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transform: translateX(4px);
}

.link-icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

/* Footer Bottom */
.footer-bottom {
    padding: 30px 0;
    background: rgba(0, 0, 0, 0.2);

}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-bottom-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-link:hover {
    color: var(--primary-yellow);
}

.footer-divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}


.person-photo {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 24px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(121, 72, 156, 0.2);
}

.person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.person-card:hover .person-photo img {
    transform: scale(1.05);
}

.person-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(121, 72, 156, 0.3);
}

.person-badge svg {
    width: 18px;
    height: 18px;
}

.person-info {
    margin-bottom: 28px;
}

.person-name {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 8px;

}

.person-role {
    font-size: 1.1rem;
    color: var(--primary-navy);
    font-weight: 600;
    margin-bottom: 4px;
}

.person-experience {
    font-size: 0.95rem;
    color: var(--neutral-slate);
    font-weight: 500;
}

.person-quote {
    background: rgba(121, 72, 156, 0.03);
    padding: 24px 20px;
    border-radius: 16px;
    margin-bottom: 24px;
    position: relative;
    border-left: 4px solid var(--primary-navy);
}

.quote-author {
    font-size: 0.85rem;
    color: var(--primary-navy);
    font-weight: 600;
    text-align: right;
}

.person-contact-direct {
    padding-top: 20px;
    border-top: 1px solid rgba(121, 72, 156, 0.1);
}

.direct-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(121, 72, 156, 0.05);
    border-radius: 12px;
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.direct-contact-item:hover {
    background: rgba(121, 72, 156, 0.1);
    transform: translateY(-1px);
}

.direct-contact-item svg {
    width: 16px;
    height: 16px;
}

.satisfaction-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-teal);
    color: var(--text-dark);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 32px;
    box-shadow: 0 8px 25px rgba(243, 231, 106, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.contact-main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
    line-height: 1.1;

}

.highlight-yellow {
    color: var(--accent-color);
    text-shadow: 3px 3px 0 var(--primary-color);
    position: relative;
}

.highlight-yellow::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-color);
    opacity: 0.6;
}

.contact-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);

    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.contact-subtitle span {
    margin: 0 8px;
}

/* Main Container with Background Shape */
.contact-main-container {
    position: relative;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
    min-height: 700px;
}

/* Yellow Background Shape */
.yellow-background-shape {
    position: absolute;
    top: 0;
    right: -50px;
    width: 55%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color) 0%, #f1e04a 100%);
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%, 15% 70%);
    z-index: 1;
    box-shadow: 0 25px 50px rgba(243, 231, 106, 0.4);
    border-radius: 0 0 0 50px;
}

/* CEO Photo Floating */
.ceo-photo-floating {
    position: absolute;
    top: 80px;
    right: 100px;
    z-index: 15;
    animation: gentle-float 6s ease-in-out infinite;
}

@keyframes gentle-float {

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

    50% {
        transform: translateY(-10px);
    }
}

.instagram-icon {
    width: 48px;
    height: 48px;
    color: white;
    flex-shrink: 0;
    margin-left: 2em;
}

.instagram {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--primary-blue);
    border: none;
    padding: var(--space-2) var(--space-3);
    border-radius: 12px;
    font-size: var(--text-m);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.instagram-footer {
    display: flex;
    align-items: center;
    color: var(--primary-blue);
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-m);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-loading {
    display: none;
    align-items: center;
    gap: var(--space-2);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.icon {
    width: 44px;
    height: 44px;
}

/* Owner Contact */
.owner-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.contact-owner-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: var(--space-3) var(--space-5);
    border-radius: 12px;
    font-weight: 600;
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    position: relative;
    overflow: hidden;
}

.contact-owner-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-owner-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.contact-owner-btn:hover::before {
    left: 100%;
}

.response-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    color: var(--neutral-slate);
    font-size: var(--text-xs);
    font-weight: 500;
}

.response-icon {
    color: var(--accent-teal);
}

/* Info Cards */
.info-icon {
    width: 24px;
    height: 24px;
    margin-bottom: var(--space-3);
}

.info-icon img {
    width: 100%;
    height: 100%;
    filter: brightness(0) saturate(100%) invert(17%) sepia(17%) saturate(2478%) hue-rotate(222deg) brightness(94%) contrast(90%);
}

.info-content h4 {

    font-size: var(--text-base);
    font-weight: 600;
    color: var(--dark-navy);
    margin-bottom: var(--space-2);
}

.info-content p {
    margin: 0;
}

.info-content a {
    color: var(--primary-navy);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--accent-teal);
}

/* Contact Hours */
.contact-hours {
    background: rgba(243, 231, 106, 0.08);
    padding: var(--space-5);
    border-radius: 12px;
    border: 1px solid rgba(243, 231, 106, 0.2);
}

.hours-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.hours-icon {
    font-size: 1.2rem;
}

.hours-title {

    font-size: var(--text-base);
    font-weight: 600;
    color: var(--dark-navy);
    margin: 0;
}

.hours-schedule {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-2) 0;
    border-bottom: 1px solid rgba(121, 72, 156, 0.1);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item.emergency {
    background: rgba(34, 197, 94, 0.1);
    padding: var(--space-2);
    border-radius: 6px;
    border: 1px solid rgba(34, 197, 94, 0.2);
    margin-top: var(--space-2);
}

.day {
    font-weight: 500;
    color: var(--dark-navy);
    font-size: var(--text-sm);
}

.time {
    font-weight: 600;
    color: var(--primary-navy);
    font-size: var(--text-sm);
}

.hours-item.emergency .day,
.hours-item.emergency .time {
    color: #166534;
    font-weight: 600;
}

.dot {
    width: 4px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-teal));
    border-radius: 50%;
    animation: dotPulse 4s ease-in-out infinite;
    opacity: 0.4;
}

.dot:nth-child(1) {
    animation-delay: 0s;
}

.dot:nth-child(2) {
    animation-delay: 0.3s;
}

.dot:nth-child(3) {
    animation-delay: 0.6s;
}

.dot:nth-child(4) {
    animation-delay: 0.9s;
}

.dot:nth-child(5) {
    animation-delay: 1.2s;
}

.dot:nth-child(6) {
    animation-delay: 1.5s;
}

.dot:nth-child(7) {
    animation-delay: 1.8s;
}

.dot:nth-child(8) {
    animation-delay: 2.1s;
}

.dot:nth-child(9) {
    animation-delay: 2.4s;
}

@keyframes dotPulse {

    0%,
    80%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    40% {
        opacity: 1;
        transform: scale(1.3);
    }
}

.line {
    position: absolute;
    background: linear-gradient(45deg, rgba(121, 72, 156, 0.1), rgba(243, 231, 106, 0.2));
    border-radius: 2px;
}

@keyframes lineSlide {

    0%,
    90%,
    100% {
        opacity: 0.2;
        transform: scale(1) rotate(45deg);
    }

    45% {
        opacity: 0.6;
        transform: scale(1.1) rotate(45deg);
    }
}

@keyframes circleFloat {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.3;
    }

    33% {
        transform: translateY(-15px) translateX(10px) scale(1.1);
        opacity: 0.5;
    }

    66% {
        transform: translateY(10px) translateX(-8px) scale(0.9);
        opacity: 0.4;
    }
}

@keyframes cardShine {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: -100%;
    }
}

@keyframes iconGlint {

    0%,
    90%,
    100% {
        opacity: 0;
    }

    5%,
    15% {
        opacity: 1;
    }
}

@keyframes checkmarkScale {
    0% {
        transform: scale(0) rotate(45deg);
        opacity: 0;
    }

    50% {
        transform: scale(1.1) rotate(45deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes checkmarkDraw {
    0% {
        width: 0;
        height: 0;
        opacity: 0;
    }

    50% {
        width: 12px;
        height: 0;
        opacity: 1;
    }

    100% {
        width: 24px;
        height: 12px;
        opacity: 1;
    }
}

@keyframes particleExplosion {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    20% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0) translate(40px, -40px);
    }
}

.popup-feature {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(121, 72, 156, 0.08);
    padding: var(--space-2) var(--space-3);
    border-radius: 20px;
    border: 1px solid rgba(121, 72, 156, 0.1);
}


/* ============================================
   MOBILE NAVIGATION
   ============================================ */

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    transition: all 0.3s ease;
    margin-right: 15px;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background: var(--main-purple);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: calc(100vh);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* Move navbar to top when mobile menu is open */
body.mobile-menu-open .navbar {
    top: 0 !important;
    z-index: 9999;
}

.secondary-menu-title {

    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-navy);
    text-align: center;
    margin: 0 0 2.5rem 0;
}

.menu-secondarymenu {
    gap: auto;
}

@keyframes scrollLeftToRight {
    0% {
        transform: translateX(-500%);
    }

    100% {
        transform: translateX(0%);
    }
}

@keyframes scrollRightToLeft {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-500%);
    }
}

.carousel-images {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.carousel-images img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

@media (max-width: 1200px) {
    .footer-main {
        gap: 20px;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .navbar-menu {
        position: fixed;
        top: 63px;
        right: -100%;
        width: 320px;
        max-width: 85%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 10px 32px 32px;
        z-index: 988;
        transition: right 0.3s ease;
        overflow-y: auto;
        box-shadow: -4px 0 24px rgba(121, 72, 156, 0.15);

    }

    .navbar-menu.active {
        right: 0;
    }

    .navbar-menu .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .navbar-menu .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(121, 72, 156, 0.1);
    }

    .navbar-menu .nav-menu li:last-child {
        border-bottom: none;
    }

    .navbar-menu .nav-menu a {
        display: block;
        padding: 20px 16px;
        font-weight: 600;
        color: var(--dark-navy);
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .navbar-cta {
        margin-top: 2rem;
        width: 100%;
        justify-content: center;
    }

    .navbar-menu .nav-menu a:hover,
    .navbar-menu .nav-menu a.active {
        background: rgba(121, 72, 156, 0.05);
        color: var(--main-purple);
        padding-left: 24px;
    }

    .navbar-menu .nav-menu .current-menu-item>a {
        background: rgba(121, 72, 156, 0.08);
        color: var(--main-purple);
        border-left: 4px solid var(--main-purple);
    }

    /* Sub-menu support (if needed) */
    .navbar-menu .nav-menu .sub-menu {
        padding-left: 20px;
        background: rgba(121, 72, 156, 0.02);
    }

    .navbar-menu .nav-menu .sub-menu a {
        padding: 16px 12px;

    }

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

    .badge-platform,
    .trust-section {
        gap: var(--space-4);
        padding: 0;
    }

    .trust-text {
        display: none;
    }

    .social-icon {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .navbar {
        top: 24x;
    }

    .navbar-container {
        padding: var(--space-s) var(--space-l);
    }

    .brand-symbol {
        width: 45px;
        height: 45px;
    }

    .footer-bottom {
        padding: 20px 50px;
    }

    .partners-container,
    .services-container {
        padding: 0 var(--space-6);
    }

    .partners-label {

        margin-bottom: var(--space-4);
    }

    .partners-track {
        gap: var(--space-10);
    }

    .partner-logo-premium {
        height: 40px;
    }

    .services-title {

        margin-bottom: var(--space-12);
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: var(--space-6);
    }

    .service-card {
        padding: 2rem;
    }

    .service-icon {
        width: 160px;
        height: 160px;
        margin-bottom: var(--space-6);
    }

    .service-icon img {
        width: 100px;
        height: 100px;
    }

    .service-features li {
        padding: var(--space-1) 0;
        padding-left: var(--space-5);
    }


    .navbar {
        padding: 0 20px;
    }

    .service-cta-btn {
        display: none;
    }

    .navbar-container {
        margin: 0;
        padding: 12px 32px;
        max-width: 100%;
    }
    .projects-grid>* {
        flex: 0 0 1;
        scroll-snap-align: center;
        min-width: 280px;
    }
    
}

@media (max-width: 768px) {
    /* *:not(.navbar):not(.navbar *):not(.top-contact-bar):hover {
        background-color: inherit !important;
        color: inherit !important;
        transform: none !important;
        box-shadow: none !important;
      } */

    /* Breadcrumbs */
    .breadcrumb-list {
        font-size: 0.8125rem;
        gap: var(--space-1);
    }

    main {
        margin-top: 100px !important;
    }

    .breadcrumb-separator {
        font-size: 0.8125rem;
    }

    .projects-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 20px 0;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Wrapper pro automatický carousel na mobilu */
    .projects-grid-wrapper {
        padding: 20px 0;
    }
    
    /* Automatický carousel na mobilu - pomalejší animace */
    .projects-grid-auto {
        animation-duration: 50s;
        gap: 20px;
    }
    
    .projects-grid-auto > * {
        flex: 0 0 2%;
        min-width: 280px;
    }
    
    .projects-content-wrapper::before,
    .projects-content-wrapper::after {
        width: 60px;
    }

    .projects-grid>* {
        flex: 0 0 2%;
        scroll-snap-align: center;
        min-width: 280px;
    }

    .projects-grid::-webkit-scrollbar {
        display: none;
    }

    .projects-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .projects-grid {
        padding-left: 20px;
        padding-right: 20px;
    }

    .projects-grid>*:first-child {
        margin-left: 0;
    }

    .projects-grid>*:last-child {
        margin-right: 20px;
    }

    /* Scroll indikátory (tečky) pro mobilní */
    .projects-dots,
    .process-dots {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin: 20px 0 30px 0;
        padding: 10px 0;
        position: relative;
        z-index: 10;
    }

    /* Na mobilu skrýt šipky (swipe stačí) */
    .projects-nav-arrows {
        display: none;
    }

    .projects-dot,
    .process-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(121, 72, 156, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
        display: inline-block;
    }

    .projects-dot.active,
    .process-dot.active {
        width: 24px;
        border-radius: 4px;
        background: #8740bf;
    }

    .projects-dot:hover,
    .process-dot:hover {
        background: rgba(121, 72, 156, 0.6);
    }

    .top-contact-bar {
        padding: 0;
        max-height: 40px;
    }

    .top-contact-container .nav-contact-info {
        display: flex;
        flex-direction: row;
    }

    .nav-contact-info {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .brand-logo {
        width: 120px;
        height: auto;
    }

    .navbar-menu {
        width: 100%;
        max-width: 100%;
    }

    .premium-badge {
        margin-bottom: var(--space-4);
    }

    .primary-cta {
        padding: var(--space-3) var(--space-6);
        width: 100%;
        justify-content: center;
    }

    .single-hero {
        padding-top: 55px;
    }

    .secondary-cta {
        padding: var(--space-3) var(--space-5);
        width: 100%;
        justify-content: center;
    }

    .reviews-section {
        margin-top: var(--space-4);
    }

    .review-item {
        padding: var(--space-4);
        max-width: 100%;
    }

    .service-card {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .navbar {

        padding: 0;
        z-index: 999;
    }

    .navbar-container {
        padding: var(--space-2) var(--space-2);
    }

    .brand-container {
        gap: var(--space-2);
    }

    .brand-symbol {
        width: 40px;
        height: 40px;
    }

    .water-symbol {
        border-radius: 50%;
    }

    .brand-info {
        gap: 0;
    }

    .partners-container,
    .services-container {
        padding: 0 var(--space-4);
    }

    .partners-label {

        margin-bottom: var(--space-3);
    }

    .partners-carousel {
        mask: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
    }

    .footer-main {
        margin: 0 auto;
    }

    .partners-track {
        gap: var(--space-8);
    }

    .partner-logo-premium {
        height: 32px;
    }

    .services-intro {
        margin-bottom: var(--space-8);
    }

    .services-title {

        margin-bottom: var(--space-8);
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .service-card:hover {
        transform: translateY(-4px);
    }

    .service-icon {
        width: 140px;
        height: 140px;
        margin-bottom: var(--space-6);
    }

    .service-icon img {
        width: 80px;
        height: 80px;
    }

    .service-features {
        margin-top: var(--space-4);
    }

    .service-features li {

        padding: var(--space-1) 0;
        padding-left: var(--space-5);
        line-height: 1.4;
    }

    .navbar-container {
        max-width: 100vw;
    }

    .hero-section,
    .services-section,
    .faq-section,
    .about-section,
    .projects-section,
    .blog-section,
    .contact-section {
        overflow-x: hidden;
        max-width: 100vw;

    }

    .primary-cta {
        padding: var(--space-3) var(--space-6);
        min-height: 48px;
    }

    .secondary-cta {
        padding: var(--space-3) var(--space-5);
        min-height: 48px;
    }


    .premium-badge {
        margin-bottom: var(--space-4);
    }

    .service-card {
        padding: 1.5rem;
    }


    .service-icon {
        width: 120px;
        height: 120px;
    }

    .service-icon img {
        width: 80px;
        height: 80px;
    }

    .navbar {
        top: 40px;
    }

    .navbar.scrolled {
        top: 0;
    }

    .section-title {
        font-weight: 700;
    }

    .project-spec {
        color: var(--neutral-slate);
        line-height: 1.5;
    }

    .footer-column,
    .footer-main {
        width: content;
    }

    .contact-grid {
        padding: 0;
        gap: 20px;
    }

    .contact-form-wrapper {
        padding: 0;
        margin: 0;
    }

    .footer-main {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding-bottom: 30px;
        gap: 20px;
    }

    .footer-section {
        padding: 40px 0 0;
    }

    .footer-bottom {
        padding: 20px 5px;
    }

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

    .footer-copyright,
    .footer-bottom-links {
        width: 100%;
        justify-content: center;
    }

    .logo .brand-logo {
        width: 120px !important;
        height: auto;
        display: block;
    }

    .navbar-menu {
        width: 100%;
        max-width: 100%;
    }

    .scrolled {
        width: 100%;
        max-width: 100%;
    }

    .blog-hero-article {
        flex-direction: column;
        max-width: 200px;
        box-shadow: var(--shadow-md);
    }

    .blog-hero-article {
        min-width: 90%;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .blog-section::after {

        display: none;
    }
}


@media (max-width: 480px) {
    
    /* Automatický carousel na velmi malých obrazovkách */
    .projects-grid-auto {
        animation-duration: 45s;
    }
    
    .projects-content-wrapper::before,
    .projects-content-wrapper::after {
        width: 40px;
    }

    .stat-number,
    .trust-label {
        font-size: 13px;
        font-weight: 500;
    }

    .footer-brand-logo {
        height: 48px;
    }

    .navbar-menu {
        width: 100%;
        max-width: 100%;
    }

    .mobile-menu-toggle {
        padding: 6px;
    }

    .hamburger-line {
        width: 24px;
        height: 2.5px;
    }

    .nav-contact-item {
        padding: 3px 12px;
    }

    .contact-icon {
        width: 18px;
        height: 18px;
    }

    .primary-cta,
    .secondary-cta {
        width: 100%;
        justify-content: center;
        padding: 0.675rem 1.25rem;
    }

    .cta-arrow {
        font-size: 0.925rem;
    }

    .trust-section {
        flex-direction: row;
        align-items: center;
        gap: 0.675rem;
        padding: 0.875rem 0;
        text-align: center;
    }

    .trust-text {
        display: none;
    }

    .services-container,
    .partners-container {
        padding: 0 1rem;
    }

    .services-title {
        margin-bottom: 1.5rem;
    }

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

    .service-card {
        padding: 1.25rem;
    }

    .service-icon {
        width: 140px;
        height: 140px;
        margin: 0 auto 1.25rem;
    }

    .service-icon img {
        width: 80px;
        height: 80px;
    }

    .service-features li {
        padding: 0.375rem 0;
        padding-left: 1.25rem;
    }


    .partners-label {
        margin-bottom: 1rem;
    }

    .partners-track {
        gap: 2rem;
    }

    .partner-logo-premium {
        height: 32px;
    }

    .about-section {
        padding: 2.5rem 0;
    }

    .about-content {
        padding: 0 1rem;
        flex-direction: column;
        gap: 1.75rem;
    }

    .about-main-col {
        min-width: auto;
        gap: 1rem;
    }

    .about-section .section-title {
        margin-bottom: 0.75rem;
    }

    .about-section .section-title::after {
        width: 50px;
        height: 3px;
        margin: 0.5rem auto 1rem 0;
    }

    .about-text {
        line-height: 1.6;
    }

    .about-list li {
        padding-left: 1.5rem;
    }

    .about-list li::before {
        top: 4px;
    }

    .about-quote-box {
        padding: 1rem 1.25rem;
        margin: 1rem 0 0 0;
    }

    .about-quote-author {
        margin-top: 0.5rem;
    }

    .about-cta-button {
        width: 100%;
        padding: 0.875rem 1.5rem;
        margin-top: 1rem;
    }

    .about-image-col {
        flex: 1;
        min-width: auto;
        min-height: auto;
        max-width: 100%;
    }

    .about-image-col img {
        max-width: 100%;
        min-height: auto;
        border-radius: 16px;
    }

    .projects-section {
        padding: 2.5rem 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .project-card {
        border-radius: 16px;
    }

    .project-image {
        height: 180px;
    }

    .project-overlay {
        top: 0.75rem;
        right: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .project-info {
        padding: 1.25rem;
    }

    .project-title {
        margin-bottom: 0.5rem;
    }

    .project-location {
        margin-bottom: 0.75rem;
    }

    .project-description {
        margin-bottom: 1rem;
    }

    .category-button-child {
        font-size: 0.75rem;
        padding: 0.375rem 0.875rem;
    }

    .service-image img {
        max-height: 250px;
    }

    .section-title {
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }

    .service-image {
        border-radius: 16px;
    }

    .services-menu li a,
    .sub-menu li a {

        text-align: start !important;
    }

    .service-cta-btn,
    .service-cta-btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.25rem;
    }

    .instagram-icon {
        width: 24px;
        height: 24px;
        margin: 0;
    }

    .instagram {
        font-size: 0.9375rem;
    }

    .service-review-icon {
        width: 32px;
        height: 32px;
    }

    .service-review-popup {
        width: calc(100vw - 2rem);
        max-width: 280px;
        padding: 1rem;
    }

    .review-widgget-handeler {
        padding: 2.5rem 0;
    }

    .review {
        padding: 1.25rem 1rem;
        border-radius: 16px;
    }

    .review .top {
        gap: 0.75rem;
        margin-bottom: 0.875rem;
    }

    .icon {
        width: 48px;
        height: 48px;
    }

    .basic-text,
    .review p {
        line-height: 1.6;
        margin: 0.75rem 0;
    }

    .social-icon img {
        width: 20px;
        height: 20px;
    }

    .review-widgget-handeler .fade-effect {
        height: 350px;
    }

    .review-widgget-handeler .show-more-btn,
    .review-widgget-handeler .show-less-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }

    .popup-feature {
        gap: 0.5rem;
    }

    .faq-subtitle {
        padding: 0 0.5rem;
    }

    .faq-category-btn {
        padding: 0.625rem 1rem;
        border-radius: 12px;
    }

    .faq-item {
        margin-bottom: 0.875rem;
        border-radius: 12px;
    }

    .faq-question {
        padding: 1rem 1.25rem;
    }

    .faq-question h3,
.faq-question .faq-question-text {
        line-height: 1.4;
        padding-right: 0.5rem;
    }

    .faq-cta {
        margin-top: 2rem;
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }

    .faq-cta-content h3 {
        margin-bottom: 0.75rem;
    }

    .faq-cta-content p {
        margin-bottom: 1rem;
    }

    .brand-logo {
        max-width: 120px;
        height: auto;
        display: block;
        margin: 0;
    }

    .why-us-list li {
        padding-left: var(--space-6);
        margin-bottom: var(--space-3);
    }

    .nav-contact-info {
        gap: 5px !important;

    }

    .top-contact-container {
        padding: 0 !important;
    }

    .service-review-popup {
        padding: 0;
    }

}

@media (max-width: 400px) {
    .footer-main {
        grid-template-columns: 1fr;
    }

    .blog-hero-article p {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .blog-categories-row {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        gap: 0.5rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .blog-categories-row::-webkit-scrollbar {
        display: none;
    }

    .category-button-child {
        flex-shrink: 0;
    }

    .blog-hero-article {
        min-width: 95%;
    }
}