:root {
    --primary-color: #FFC107;
    --primary-hover: #E0A800;
    --secondary-color: #00E676;
    --secondary-hover: #00C853;
    --dark-color: #FFFFFF;
    --light-bg: #1A1D24;
    --white: #0F1115;
    --text-muted: #9CA3AF;
    --text-normal: #D1D5DB;
    --border-color: rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-normal);
    line-height: 1.6;
    background-color: var(--white);
    padding-top: 110px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    padding: 60px 0;
}

.site-header {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    height: 110px;
    border-bottom: 4px solid transparent;
    background-image: linear-gradient(var(--white), var(--white)), repeating-linear-gradient(-45deg, #000000 0, #000000 15px, var(--primary-color) 15px, var(--primary-color) 30px);
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    transition: all 0.3s ease; 
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
}

.logo img {
    max-height: 90px; 
    width: auto; 
    display: block;
    transition: max-height 0.3s ease;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    gap: 25px;
    font-weight: 600;
    font-size: 15px;
}

.nav-links a {
    color: var(--text-normal);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-call {
    background: var(--primary-color);
    color: #000000;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.15);
}

.btn-call:hover {
    background: var(--primary-hover);
    color: #000000;
}

.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.burger-btn span {
    width: 100%;
    height: 3px;
    background-color: var(--dark-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.burger-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.hero-section {
    background: var(--white);
    padding: 60px 0;
    overflow: hidden;
}

.hero-content {
    padding-right: 40px;
}

.partner-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-normal);
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 48px;
    color: var(--dark-color);
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.btn-primary {
    background: var(--primary-color);
    color: #000000;
    padding: 15px 30px;
    border-radius: 6px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: #000000;
}

.btn-primary[href*="pohotovost"] {
    background-image: linear-gradient(var(--primary-color), var(--primary-color)), repeating-linear-gradient(-45deg, #000000 0, #000000 10px, var(--primary-color) 10px, var(--primary-color) 20px);
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    border: 4px solid transparent;
    color: #000000 !important;
    font-weight: 800;
    padding: 11px 26px;
}

.btn-primary[href*="pohotovost"]:hover {
    background-image: linear-gradient(var(--primary-hover), var(--primary-hover)), repeating-linear-gradient(-45deg, #000000 0, #000000 10px, var(--primary-color) 10px, var(--primary-color) 20px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--border-color);
    padding: 15px 30px;
    border-radius: 6px;
    font-weight: 700;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--light-bg);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.hero-image-bg {
    background-image: url('img/uvodni-foto-acdcmont-HP-desktop.jpg');
    background-size: cover;
    background-position: center;
    min-height: 500px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.hero-banner {
    width: 100%;
    height: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.about-section {
    padding: 100px 0;
    background: var(--white);
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.about-content h2 {
    font-size: 38px;
    color: var(--dark-color);
    margin-bottom: 25px;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--text-normal);
}

.services-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.services-list-grid li {
    position: relative;
    padding-left: 30px;
    font-weight: 600;
    color: var(--text-normal);
}

.services-list-grid li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 20px;
    top: -4px;
}

.stats-section {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 30px;
}

.stat-item h3 {
    font-size: 46px;
    color: var(--dark-color);
    font-weight: 700;
}

.stat-item h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 14px;
    color: var(--text-muted);
}

.partners-section {
    padding: 60px 0;
    background: var(--light-bg);
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.partners-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 30px;
}

.marquee-container {
    display: flex;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    gap: 50px;
    padding-right: 50px; 
    animation: marqueeTwin 30s linear infinite;
    flex-shrink: 0;
}

.marquee-track img {
    height: 45px;
    width: auto;
    flex-shrink: 0;
    display: block;
}

@keyframes marqueeTwin {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.services-page {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.services-page h1 {
    font-size: 36px;
    color: var(--dark-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.services-page .subtitle {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    padding: 10px 0;
}

.service-card {
    display: block;
    background-image: linear-gradient(var(--light-bg), var(--light-bg)), repeating-linear-gradient(-45deg, #000000 0, #000000 10px, var(--primary-color) 10px, var(--primary-color) 20px);
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    border: 3px solid transparent;
    border-radius: 12px;
    padding: 25px 20px; 
    text-decoration: none;
    color: var(--text-normal);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.card-icon {
    font-size: 36px;
    margin-bottom: 12px; 
    display: inline-block;
}

.service-card h3 {
    font-size: 17px; 
    margin: 0 0 8px 0;
    color: var(--dark-color);
    font-weight: 700;
}

.service-card p {
    font-size: 13px; 
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0;
}

.page-header {
    background-image: linear-gradient(90deg, #091B32 0%, rgba(9, 27, 50, 0.9) 100%), url('img/bg-page-title.webp');
    background-size: cover;
    background-position: center center;
    padding: 80px 0;
    color: var(--dark-color);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
}

.sidebar-menu {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.sidebar-menu li {
    margin-bottom: 12px;
}

.sidebar-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: rgba(0,0,0,0.2);
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid var(--border-color);
    color: var(--text-normal);
}

.sidebar-menu a:hover, .sidebar-menu a.active {
    background: var(--primary-color);
    color: #000000;
    border-color: var(--primary-color);
}

.emergency-box {
    background: var(--light-bg);
    color: var(--text-normal);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    border: 1px solid var(--border-color);
}

.emergency-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.emergency-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.emergency-content {
    padding: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.emergency-content h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.emergency-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.emergency-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: #000000;
    padding: 14px 25px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    width: 100%;
    justify-content: center;
}

.emergency-phone:hover {
    background: var(--primary-hover);
}

.content-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.main-title {
    font-size: 36px;
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 25px;
}

.p-lead {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-normal);
    margin-bottom: 20px;
}

.p-text {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 35px;
}

.service-images {
    margin-bottom: 40px;
}

.service-images img {
    border-radius: 12px;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.section-title {
    font-size: 26px;
    color: var(--dark-color);
    font-weight: 700;
    margin: 40px 0 25px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.rozsah-sluzeb {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

.rozsah-sluzeb li {
    margin-bottom: 25px;
}

.rozsah-sluzeb li:last-child {
    margin-bottom: 0;
}

.rozsah-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.rozsah-header svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-color);
    flex-shrink: 0;
}

.rozsah-header h3 {
    font-size: 18px;
    color: var(--dark-color);
    font-weight: 600;
}

.rozsah-sluzeb p {
    font-size: 15px;
    color: var(--text-muted);
    padding-left: 32px;
}

.badge {
    display: inline-block;
    background: rgba(255,255,255,0.05);
    color: var(--text-normal);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
}

.highlight-box {
    background: var(--light-bg) !important;
    background-color: var(--light-bg) !important;
    border-left: 4px solid var(--primary-color) !important;
    padding: 20px 25px !important;
    border-radius: 0 8px 8px 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--text-normal) !important;
    margin: 25px 0 !important;
}

p[style*="color: #444"], p[style*="color: #555"], p[style*="color: #333"], p[style*="color: #222"], p[style*="color: #000"],
h2[style*="color: #444"], h2[style*="color: #555"], h2[style*="color: #333"], h2[style*="color: #222"], h2[style*="color: #000"],
div[style*="color: #444"], div[style*="color: #555"], div[style*="color: #333"], div[style*="color: #222"], div[style*="color: #000"] {
    color: var(--text-normal) !important;
}

.perex {
    font-size: 17px;
    color: var(--text-normal);
    margin-bottom: 25px;
    line-height: 1.7;
}

.faq-item {
    background: var(--light-bg);
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
}

.faq-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.faq-item p {
    font-size: 15px;
    color: var(--text-muted);
}

.cta-section {
    background: var(--light-bg);
    color: var(--text-normal);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
    border: 1px solid var(--primary-color);
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-normal);
}

.btn-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-container .btn {
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-container .btn-primary {
    background: var(--primary-color);
    color: #000000;
    border: none;
}

.btn-container .btn-primary:hover {
    background: var(--primary-hover);
}

.btn-container .btn-outline {
    background: transparent;
    color: var(--text-normal);
    border: 2px solid var(--border-color);
}

.btn-container .btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.portfolio-section {
    padding: 60px 0;
}

.portfolio-card {
    background: var(--light-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
}

.portfolio-img {
    height: 250px;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.portfolio-card:hover .portfolio-img img {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 20px;
    text-align: center;
}

.portfolio-content h3 {
    font-size: 18px;
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 12px;
}

.gallery-section {
    padding: 60px 0;
}

.gallery-section > .container > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 18px;
    color: var(--text-muted);
}

.gallery-section-wrapper {
    width: 100%;
    background: var(--light-bg);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    box-sizing: border-box;
    scroll-margin-top: 140px !important;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.cert-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cert-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
}

.cert-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-logos-bar {
    background: var(--light-bg);
    padding: 25px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.logos-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.logos-flex img {
    height: 50px;
    object-fit: contain;
}

.info-intro {
    text-align: center;
    padding: 50px 0 40px 0;
}

.info-intro span {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    display: block;
    margin-bottom: 15px;
}

.info-intro h1 {
    font-size: 38px;
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.info-intro p {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.timeline-box {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.timeline-box p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.timeline-box h3 {
    font-size: 22px;
    color: var(--dark-color);
    font-weight: 700;
}

.details-section {
    margin-bottom: 60px;
}

.card-podklady, .card-zajistujeme {
    background: var(--light-bg);
    padding: 35px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.card-podklady h3, .card-zajistujeme h3 {
    font-size: 20px;
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.card-podklady ul, .card-zajistujeme ul {
    margin-bottom: 25px;
}

.card-podklady li, .card-zajistujeme li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--text-normal);
}

.card-podklady li::before, .card-zajistujeme li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.btn-download, .btn-link-more {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
}

.btn-download {
    background: var(--primary-color);
    color: #000000;
}

.btn-download:hover {
    background: var(--primary-hover);
}

.btn-link-more {
    background: transparent;
    color: var(--text-normal);
    border: 1px solid var(--border-color);
}

.btn-link-more:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.contact-info-block h2 {
    font-size: 32px;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-p-text {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 30px;
}

.info-card-box p {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text-normal);
}

.info-card-box p a:hover {
    color: var(--primary-color);
}

.contact-info-block a[href^="tel:"],
.contact-info-block a[href^="mailto:"] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color) !important;
    color: #000000 !important;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 10px;
}

.contact-info-block a[href^="tel:"]:hover,
.contact-info-block a[href^="mailto:"]:hover {
    background: var(--primary-hover) !important;
}

.contact-info-block a[href^="tel:"] svg,
.contact-info-block a[href^="mailto:"] svg,
.contact-info-block a[href^="tel:"] i,
.contact-info-block a[href^="mailto:"] i {
    fill: #000000 !important;
    color: #000000 !important;
}

.info-list .headline {
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 8px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-badges {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.contact-badges img {
    width: 180px;
}

.contact-badges .google-badge-img {
    height: 45px;
    width: auto;
}

.contact-form-card {
    background-image: linear-gradient(var(--light-bg), var(--light-bg)), repeating-linear-gradient(-45deg, #000000 0, #000000 15px, var(--primary-color) 15px, var(--primary-color) 30px);
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    border: 4px solid transparent;
    padding: 45px 40px;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    color: var(--text-normal);
}

.contact-form-card h3 {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--dark-color);
}

.form-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

.form-group-box {
    margin-bottom: 22px;
}

.form-group-box label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-muted);
}

.custom-input, .custom-select, .custom-textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.3);
    color: var(--dark-color);
    font-family: inherit;
    font-size: 15px;
    transition: all 0.2s ease;
}

.custom-input:focus, .custom-select:focus, .custom-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.15);
}

.custom-select option {
    background: var(--light-bg);
    color: var(--dark-color);
}

.custom-checkbox-label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 13px;
    cursor: pointer;
    color: var(--text-muted);
}

.custom-checkbox-label input {
    margin-top: 4px;
    accent-color: var(--primary-color);
}

.btn-submit-orange {
    background: var(--primary-color);
    color: #000000;
    border: none;
    padding: 16px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.15);
    transition: all 0.3s ease;
}

.btn-submit-orange:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(255, 193, 7, 0.3);
}

.site-footer {
    background: #000000;
    color: var(--text-muted);
    padding: 30px 0;
    text-align: center;
    font-size: 13px;
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}

.site-footer a {
    color: var(--primary-color);
    font-weight: 700;
}

.container > h2 {
    font-size: 28px;
    color: var(--dark-color);
    font-weight: 700;
    margin: 40px 0 25px 0;
}

.gallery-header {
    margin-bottom: 20px;
}

.gallery-header h3 {
    font-size: 20px;
    color: var(--dark-color);
    margin: 0;
    font-weight: 700;
}

.special-card {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.gallery-track {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 100%;
    padding: 10px 0;
    scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-track .slider-img {
    flex-shrink: 0 !important;
    width: 320px !important;
    height: 215px !important;
    object-fit: cover !important;
    border-radius: 8px;
    cursor: pointer;
    opacity: 1 !important;
    position: relative !important;
    z-index: auto !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-track .slider-img:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--primary-color);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: background 0.2s ease, color 0.2s ease;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: #000000;
}

.slider-btn.prev { left: -22px; }
.slider-btn.next { right: -22px; }

.custom-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

.lightbox-img-wrapper {
    max-width: 85%;
    max-height: 85%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-img-wrapper img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
}

.lightbox-close-btn {
    position: absolute;
    top: 25px;
    right: 35px;
    color: var(--text-normal);
    font-size: 45px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.lightbox-close-btn:hover {
    color: var(--primary-color);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: var(--text-normal);
    border: none;
    font-size: 40px;
    cursor: pointer;
    padding: 20px;
    z-index: 100000;
    transition: color 0.2s;
}

.lightbox-arrow:hover {
    color: var(--primary-color);
}

.lightbox-arrow-prev { left: 30px; }
.lightbox-arrow-next { right: 30px; }

.progress-circle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.progress-circle {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-color) var(--progress, 0%), var(--white) 0%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.progress-circle::before {
    content: "";
    position: absolute;
    inset: 12px;
    background-color: var(--white);
    border-radius: 50%;
}

.progress-value {
    position: relative;
    font-size: 34px;
    font-weight: 700;
    color: var(--primary-color);
    z-index: 1;
}

.progress-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}


.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 99999;
}

.lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 85%;
    max-height: 85vh;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--text-normal);
    font-size: 55px;
    cursor: pointer;
    z-index: 100000;
    line-height: 1;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-normal);
    font-size: 45px;
    cursor: pointer;
    padding: 20px;
    z-index: 100000;
    transition: color 0.3s ease;
}

.lightbox-btn:hover {
    color: var(--primary-color);
}

.lightbox-prev { left: 15px; }
.lightbox-next { right: 15px; }

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    border-top: 2px solid var(--primary-color);
    padding: 20px 0;
    z-index: 9999999;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.7);
    display: none; 
}

.cookie-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 700;
}

.cookie-text p {
    font-size: 14px;
    color: var(--text-normal);
    margin: 0;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-cookie-primary {
    background: var(--primary-color);
    color: #000000;
    border: none;
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cookie-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-cookie-outline {
    background: transparent;
    color: var(--text-normal);
    border: 1px solid var(--border-color);
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cookie-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.cookie-modal {
    display: none;
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 10000000;
    align-items: center;
    justify-content: center;
}

.cookie-modal-content {
    background: var(--light-bg);
    padding: 35px;
    border-radius: 12px;
    max-width: 550px;
    width: 90%;
    border: 1px solid var(--border-color);
    position: relative;
    box-shadow: 0 15px 50px rgba(0,0,0,0.8);
}

.cookie-modal-close {
    position: absolute;
    top: 15px; 
    right: 20px;
    font-size: 35px;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
    transition: color 0.3s;
}

.cookie-modal-close:hover {
    color: var(--primary-color);
}

.cookie-modal-content h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 700;
}

.cookie-modal-content p {
    font-size: 14px;
    margin-bottom: 25px;
    color: var(--text-muted);
}

.cookie-option {
    background: rgba(0,0,0,0.2);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
}

.cookie-option-header label {
    font-weight: 700;
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.cookie-option-header input[type="checkbox"] {
    accent-color: var(--primary-color);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.cookie-option p {
    margin: 8px 0 0 30px;
    font-size: 13px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    .cookie-buttons button {
        width: 100%;
    }
}


@media (max-width: 992px) {
    .header-date-wrapper {
        display: flex !important;
        flex-direction: column !important;
        margin: 0 auto !important; 
        padding: 0 !important;
        border-left: none !important; 
        align-items: center !important;
        justify-content: center !important;
    }
    #web-current-date {
        font-size: 11px !important;
    }
    #web-nameday {
        font-size: 9px !important;
        margin-top: 2px !important;
        letter-spacing: 0 !important;
    }
}

@media (max-width: 991px) {
    body {
        padding-top: 90px;
    }

    .grid-2, .grid-3, .grid-layout, .footer-grid, .stats-grid, .services-list-grid, .cert-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .site-header {
        height: 90px;
    }

    .logo img {
        max-height: 70px;
    }

    .burger-btn {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        height: calc(100vh - 90px);
        overflow-y: auto;
        background-color: var(--white);
        box-shadow: 0 15px 20px rgba(0, 0, 0, 0.4);
        border-top: 1px solid var(--border-color);
        padding: 30px 20px;
        flex-direction: column;
        gap: 25px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease-in-out;
    }

    .main-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 20px;
    }

    .nav-links a {
        font-size: 18px;
        width: 100%;
        text-align: center;
        padding: 5px 0;
    }

    .btn-call {
        width: 100%;
        justify-content: center;
        padding: 14px;
        font-size: 16px;
    }

    .hero-content { padding-right: 0; text-align: center; }
    .hero-content h1 { font-size: 32px; }
    .hero-image-bg { min-height: 350px; }
    .hero-buttons { flex-direction: column; }
    .page-header { padding: 60px 0; text-align: center; }
    .btn-container { flex-direction: column; align-items: center; }
    .logos-flex img { height: 35px; }
    .info-intro h1 { font-size: 28px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-form-card { padding: 35px 25px; }

    .slider-btn.prev { left: 2px; }
    .slider-btn.next { right: 2px; }

    .gallery-track {
        position: relative;
        height: 350px;
        overflow-x: hidden;
        padding: 0;
    }

    .gallery-track .slider-img {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        opacity: 0 !important;
        transition: opacity 0.4s ease-in-out;
        z-index: 1 !important;
        transform: none !important;
        box-shadow: none !important;
    }

    .gallery-track .slider-img.active {
        opacity: 1 !important;
        z-index: 2 !important;
    }
}

@media (max-width: 768px) {
    img { max-width: 100% !important; height: auto; }
    h1 { font-size: 26px !important; line-height: 1.2 !important; word-wrap: break-word; }
    h2 { font-size: 22px !important; }
    
    .logos-flex, 
    .partner-logos-bar .container,
    header .container,
    div[style*="display: flex"],
    section[style*="display: flex"] {
        flex-wrap: wrap !important;
        gap: 15px !important;
    }

    .hero-banner { height: 240px !important; }
    .partner-label { flex-wrap: wrap !important; }
    .partner-label img { height: 40px !important; }
    .services-list-grid { grid-template-columns: 1fr !important; }
    
    .btn-primary {
        font-size: 14px !important;
        white-space: normal !important;
        display: inline-block !important;
        line-height: 1.4 !important;
        padding: 12px 15px !important;
    }

    .btn-primary[href*="pohotovost"] {
        padding: 8px 12px !important;
    }

    .lightbox-arrow { font-size: 28px; padding: 10px; }
    .lightbox-arrow-prev { left: 10px; }
    .lightbox-arrow-next { right: 10px; }
    .lightbox-close-btn { top: 15px; right: 20px; font-size: 38px; }
}

@media (max-width: 576px) {
        .capacity-center-wrapper {
        flex-direction: column !important;
        align-items: flex-start !important; 
        gap: 20px !important;
    }

    .capacity-traffic-light {
        padding: 12px 15px !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important; 
        box-sizing: border-box !important; 
    }

    .capacity-traffic-light > div:first-child {
        padding: 6px 10px !important;
        gap: 6px !important;
    }

    #light-red, #light-orange, #light-green {
        width: 14px !important;
        height: 14px !important;
    }

    #light-text {
        font-size: 14px !important;
    }
}