/*
Theme Name: MEVRA computers
Author: Pavel Hulva
Author URI: 
Description: Jsme tým specialistů na kybernetickou bezpečnost, který pomáhá firmám chránit jejich data, systémy i reputaci v digitálním prostředí. Sledujeme aktuální hrozby, nové technologie i legislativní požadavky a převádíme je do praktických a funkčních řešení, která dávají smysl v reálném provozu – nejen na papíře. Bezpečnost pro nás není jednorázový projekt, ale dlouhodobý proces.
Version: 0.1
*/


        /* ===== GLOBAL ===== */
        :root {
            --mc-blue-light: #1D8BCC;
            --mc-blue-dark: #035596;
            --mc-gradient: linear-gradient(135deg, var(--mc-blue-light), var(--mc-blue-dark));
        }

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

        body {
            font-family: 'Poppins', sans-serif;
            font-weight: 400;
            color: #fff;
        }

        /* ===== UNIFIED BUTTON BASE ===== */
        .btn-hero,
        .btn-cta-outline,
        .nav-btn,
        .ap-cta-btn,
        .ai-cta-btn,
        .rp-cta-btn,
        .sp-cta-btn,
        .sp-sidebar-btn,
        .kr-position-btn,
        .kr-empty-btn,
        .rd-back-btn,
        .btn-about-outline,
        .btn-references-outline {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            border-radius: 0;
            text-decoration: none;
            display: inline-block;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        /* ===== NAVBAR ===== */
        .navbar {
            padding: 1rem 0;
            background-color: #000 !important;
        }

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

        .navbar .navbar-nav .nav-link,
        .navbar-expand-lg .navbar-nav .nav-link {
            font-family: 'Poppins', sans-serif;
            font-weight: 400 !important;
            font-size: 1rem !important;
            color: #fff !important;
            padding: 0.5rem 1.75rem !important;
            text-transform: uppercase;
            transition: opacity 0.2s;
        }

        .navbar-nav .nav-link:hover {
            opacity: 0.75;
        }

        /* Dropdown styling */
        .navbar .dropdown-menu {
            background-color: rgba(0, 0, 0, 0.9);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 0;
            padding: 0.5rem 0;
            min-width: 260px;
        }

        .navbar .dropdown-item {
            font-family: 'Poppins', sans-serif;
            font-weight: 400;
            font-size: 0.85rem;
            color: #fff;
            padding: 0.5rem 1.25rem;
            transition: background-color 0.2s;
        }

        .navbar .dropdown-item:hover,
        .navbar .dropdown-item:focus {
            background-color: rgba(255, 255, 255, 0.1);
            color: #fff;
        }

        /* Nav buttons */
        .nav-btn {
            font-size: 0.85rem !important;
            padding: 0.5rem 1.5rem !important;
        }

        .nav-btn-filled {
            background-color: #fff;
            color: #000 !important;
            border: 2px solid #fff;
        }

        .nav-btn-filled:hover {
            background-color: rgba(255, 255, 255, 0.85);
            color: #000 !important;
        }

        .nav-btn-outline {
            background-color: transparent;
            color: #fff !important;
            border: 2px solid #fff;
        }

        .nav-btn-outline:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }

        .nav-icon {
            color: #fff !important;
            font-size: 1rem;
            padding: 0.5rem 0.5rem;
            transition: opacity 0.2s;
        }

        .nav-icon:hover {
            opacity: 0.75;
        }

        /* Language switcher */
        .lang-switch {
            font-size: 0.875rem;
            color: #fff !important;
            font-weight: 400;
        }

        /* ===== SEARCH OVERLAY ===== */
        .search-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 0;
            background-color: rgba(0, 0, 0, 0.97);
            z-index: 9999;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .search-overlay.open {
            height: 100%;
        }

        .search-overlay-content {
            width: 100%;
            max-width: 700px;
            padding: 0 2rem;
            opacity: 0;
            transform: translateY(-20px);
            transition: opacity 0.3s ease 0.15s, transform 0.3s ease 0.15s;
        }

        .search-overlay.open .search-overlay-content {
            opacity: 1;
            transform: translateY(0);
        }

        .search-overlay-content label {
            font-family: 'Poppins', sans-serif;
            font-weight: 300;
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.5);
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 1rem;
            display: block;
        }

        .search-input-wrap {
            position: relative;
            border-bottom: 2px solid rgba(255, 255, 255, 0.3);
            transition: border-color 0.3s;
        }

        .search-input-wrap:focus-within {
            border-color: var(--mc-blue-light);
        }

        .search-input-wrap input {
            font-family: 'Poppins', sans-serif;
            font-weight: 400;
            font-size: 2rem;
            color: #fff;
            background: transparent;
            border: none;
            outline: none;
            width: 100%;
            padding: 0.75rem 3rem 0.75rem 0;
        }

        .search-input-wrap input::placeholder {
            color: rgba(255, 255, 255, 0.25);
        }

        .search-input-wrap .search-submit {
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.5);
            font-size: 1.5rem;
            cursor: pointer;
            transition: color 0.2s;
        }

        .search-input-wrap .search-submit:hover {
            color: var(--mc-blue-light);
        }

        .search-close {
            position: absolute;
            top: 2rem;
            right: 2.5rem;
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.6);
            font-size: 2rem;
            cursor: pointer;
            transition: color 0.2s, transform 0.2s;
            z-index: 10;
        }

        .search-close:hover {
            color: #fff;
            transform: rotate(90deg);
        }

        /* ===== HERO SLIDER ===== */
        .hero-section {
            position: relative;
            height: 600px;
            max-height: 600px;
            overflow: hidden;
        }

        .hero-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            z-index: 0;
        }

        .hero-slide.active {
            opacity: 1;
            z-index: 1;
        }

        /* Dark overlay for readability */
        .hero-slide::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to right, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.25) 100%);
            z-index: 1;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding-bottom: 3rem;
        }

        .hero-content h1 {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 3.5rem;
            line-height: 1.15;
            color: #fff;
            max-width: 700px;
            margin-bottom: 1.25rem;
        }

        .hero-content p {
            font-family: 'Poppins', sans-serif;
            font-weight: 300;
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.8);
            max-width: 500px;
            margin-bottom: 2rem;
            line-height: 1.6;
        }

        .btn-hero {
            font-size: 0.9rem;
            color: #fff;
            border: 2px solid #fff;
            background: transparent;
            padding: 0.75rem 2.25rem;
        }

        .btn-hero:hover {
            background-color: #fff;
            color: #000;
        }

        /* ===== SLIDER INDICATORS ===== */
        .slider-indicators {
            position: absolute;
            bottom: 2.5rem;
            left: 50%;
            transform: translateX(-50%);
            z-index: 20;
            display: flex;
            gap: 6px;
        }

        .slider-indicator {
            width: 40px;
            height: 4px;
            border-radius: 0;
            background: rgba(255, 255, 255, 0.35);
            cursor: pointer;
            transition: all 0.3s;
            border: none;
            padding: 0;
        }

        .slider-indicator.active {
            background: var(--mc-gradient);
            width: 50px;
        }

        /* ===== RESPONSIVE ===== */

        /* Tablet */
        @media (max-width: 991.98px) {
            .hero-content h1 {
                font-size: 2.75rem;
            }

            .navbar-collapse {
                background-color: rgba(0, 0, 0, 0.95);
                padding: 1rem 1.5rem;
                border-radius: 0;
                margin-top: 0.75rem;
            }

            .navbar-nav .nav-link {
                padding: 0.6rem 0;
            }

            .nav-buttons-group {
                margin-top: 1rem;
                padding-top: 1rem;
                border-top: 1px solid rgba(255, 255, 255, 0.15);
                flex-direction: row !important;
                gap: 0.5rem;
            }
        }

        /* Mobile */
        @media (max-width: 575.98px) {
            .hero-content h1 {
                font-size: 2rem;
            }

            .hero-content p {
                font-size: 0.9rem;
            }

            .hero-section {
                height: 400px;
                max-height: 400px;
            }
        }

        /* ===== HAMBURGER CUSTOM ===== */
        .navbar-toggler {
            border: none;
            padding: 0;
        }

        .navbar-toggler:focus {
            box-shadow: none;
        }

        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }

        /* ===== PARTNERS LOGO SLIDER ===== */
        .partners-bar {
            background-color: #E8E8E8;
            padding: 1.25rem 0;
            overflow: hidden;
            position: relative;
        }

        .partners-track {
            display: flex;
            align-items: center;
            gap: 4.5rem;
            animation: scroll-logos 25s linear infinite;
            width: max-content;
        }

        .partners-track:hover {
            animation-play-state: paused;
        }

        @keyframes scroll-logos {
            0% { transform: translateX(0); }
            100% { transform: translateX(-25%); }
        }

        .partner-logo {
            width: 145px;
            height: auto;
            flex-shrink: 0;
            filter: grayscale(100%) brightness(0.8);
            opacity: 0.5;
            transition: filter 0.3s, opacity 0.3s;
        }

        .partner-logo:hover {
            filter: grayscale(0%) brightness(1);
            opacity: 1;
        }

        /* ===== SERVICES SECTION ===== */
        .services-section {
            padding: 5rem 0;
            background-color: #f8f9fa;
        }

        .services-label {
            font-family: 'Poppins', sans-serif;
            font-weight: 400;
            font-size: 0.875rem;
            color: #555;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 0.75rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .services-label::before {
            content: '→';
        }

        .services-section h2 {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 2.75rem;
            line-height: 1.2;
            color: #1a1a1a;
            margin-bottom: 1.5rem;
        }

        .services-section .services-desc {
            font-family: 'Poppins', sans-serif;
            font-weight: 300;
            font-size: 0.95rem;
            color: #555;
            line-height: 1.7;
        }

        /* Service Cards Grid */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5rem;
            margin-top: 3rem;
        }

        .service-card {
            background: #fff;
            border: 1px solid #e5e5e5;
            border-radius: 0;
            padding: 2rem 1.5rem;
            display: flex;
            flex-direction: column;
            transition: border-color 0.3s, box-shadow 0.3s;
            position: relative;
            overflow: hidden;
            text-decoration: none;
            color: inherit;
        }

        .service-card::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--mc-blue-light);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
        }

        .service-card:hover {
            border-color: var(--mc-blue-light);
            box-shadow: 0 4px 20px rgba(29, 139, 204, 0.1);
        }

        .service-card:hover::after {
            transform: scaleX(1);
        }

        .service-card-icon {
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.25rem;
            color: #035596;
            font-size: 2rem;
        }

        .service-card h3 {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 1.15rem;
            color: #1a1a1a;
            text-transform: uppercase;
            margin-bottom: 1rem;
            line-height: 1.4;
        }

        .service-card .service-list {
            list-style: none;
            padding: 0;
            margin: 0 0 1.5rem 0;
        }

        .service-card .service-list li {
            font-family: 'Poppins', sans-serif;
            font-weight: 300;
            font-size: 0.8rem;
            color: #666;
            padding: 0.2rem 0;
            line-height: 1.5;
        }

        .service-card .service-list li::before {
            content: '– ';
            color: #999;
        }

        .service-card .card-link {
            font-family: 'Poppins', sans-serif;
            font-weight: 400;
            font-size: 0.85rem;
            color: #1a1a1a;
            text-decoration: none;
            margin-top: auto;
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            transition: color 0.2s;
        }

        .service-card:hover .card-link {
            color: var(--mc-blue-light);
        }

        /* CTA Card */
        .service-card-cta {
            background: var(--mc-gradient);
            border: none;
            color: #fff;
            justify-content: center;
        }

        .service-card-cta::after {
            display: none;
        }

        .service-card-cta:hover {
            border-color: transparent;
            box-shadow: 0 8px 30px rgba(3, 85, 150, 0.35);
        }

        .service-card-cta h3 {
            color: #fff;
            font-size: 1.25rem;
            text-transform: none;
        }

        .service-card-cta p {
            font-family: 'Poppins', sans-serif;
            font-weight: 300;
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.85);
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }

        .btn-cta-outline {
            font-size: 0.9rem;
            color: #fff;
            background: transparent;
            border: 2px solid #fff;
            padding: 0.75rem 2.25rem;
            align-self: flex-start;
        }

        .btn-cta-outline:hover {
            background: #fff;
            color: var(--mc-blue-dark);
        }

        /* ===== ABOUT / O NÁS SECTION ===== */
        .about-section {
            position: relative;
            overflow: visible;
            padding: 9rem 0 7rem;
            margin-top: 0;
            margin-bottom: 3rem;
            background: linear-gradient(135deg, #035596, #01335A);
            z-index: 3;
        }

        .about-section .container {
            position: relative;
            z-index: 2;
        }

        .about-label {
            font-family: 'Poppins', sans-serif;
            font-weight: 400;
            font-size: 0.875rem;
            color: rgba(255, 255, 255, 0.7);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 0.75rem;
        }

        .about-heading {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 2.75rem;
            line-height: 1.2;
            color: #fff;
            margin-bottom: 1.5rem;
        }

        .about-desc {
            font-family: 'Poppins', sans-serif;
            font-weight: 300;
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.7;
            margin-bottom: 2rem;
        }

        .btn-about-outline {
            padding: 0.75rem 2.25rem;
            border: 2px solid #fff;
            color: #fff;
            background: transparent;
            font-size: 0.9rem;
        }

        .btn-about-outline:hover {
            background: #fff;
            color: var(--mc-blue-dark);
        }

        /* About image */
        .about-image-col {
            position: static;
        }

        .about-image-wrap {
            position: absolute;
            top: -2rem;
            bottom: -2rem;
            right: max(0px, calc(50% - 660px));
            width: 55%;
            max-width: 750px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1;
            padding: 1rem 2rem;
        }

        .about-image {
            display: block;
            max-width: 100%;
            max-height: 100%;
            height: auto;
            object-fit: contain;
        }

        /* ===== TESTIMONIALS SECTION ===== */
        .testimonials-section {
            padding: 5rem 0;
            background: linear-gradient(135deg, #035596, #01335A);
        }

        .testimonials-label {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 0.875rem;
            color: rgba(255, 255, 255, 0.7);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 0.75rem;
        }

        .testimonials-heading {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 2.75rem;
            line-height: 1.2;
            color: #fff;
            margin: 0;
        }

        .testimonials-desc {
            font-family: 'Poppins', sans-serif;
            font-weight: 300;
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.7;
            margin: 0;
        }

        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .testimonial-card {
            border: 1px solid rgba(255, 255, 255, 0.25);
            border-radius: 0;
            padding: 2rem;
            display: flex;
            flex-direction: column;
        }

        .testimonial-text {
            font-family: 'Poppins', sans-serif;
            font-weight: 300;
            font-size: 0.85rem;
            font-style: italic;
            color: rgba(255, 255, 255, 0.85);
            line-height: 1.7;
            margin-bottom: 1.5rem;
            flex-grow: 1;
        }

        .testimonial-author {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 0.85rem;
            color: #fff;
        }

        /* ===== REFERENCES SECTION ===== */
        .references-section {
            padding: 5rem 0;
            background: #fff;
            position: relative;
            z-index: 2;
        }

        .references-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            margin-bottom: 3rem;
        }

        .references-label {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 0.875rem;
            color: var(--mc-blue-light);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 0.5rem;
        }

        .references-heading {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 2.75rem;
            line-height: 1.2;
            color: #1a1a1a;
            margin: 0;
        }

        .btn-references-outline {
            padding: 0.75rem 2.25rem;
            border: 2px solid #1a1a1a;
            color: #1a1a1a;
            background: transparent;
            font-size: 0.9rem;
            white-space: nowrap;
        }

        .btn-references-outline:hover {
            background: #1a1a1a;
            color: #fff;
        }

        .references-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .reference-card {
            display: flex;
            flex-direction: column;
            text-decoration: none;
            color: inherit;
            transition: transform 0.3s;
        }

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

        .reference-card-image {
            width: 100%;
            aspect-ratio: 16 / 10;
            overflow: hidden;
            border-radius: 0;
            margin-bottom: 1rem;
        }

        .reference-thumb {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s;
        }

        .reference-card:hover .reference-thumb {
            transform: scale(1.05);
        }

        .reference-thumb-placeholder {
            width: 100%;
            height: 100%;
            background: #e0e0e0;
        }

        .reference-card-meta {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 0.5rem;
        }

        .reference-tag {
            font-family: 'Poppins', sans-serif;
            font-weight: 400;
            font-size: 0.75rem;
            color: var(--mc-blue-light);
        }

        .reference-date {
            font-family: 'Poppins', sans-serif;
            font-weight: 300;
            font-size: 0.75rem;
            color: #999;
        }

        .reference-card-meta .reference-tag::after {
            content: '';
            display: inline-block;
            width: 30px;
            height: 1px;
            background: #ccc;
            vertical-align: middle;
            margin-left: 1rem;
        }

        .reference-card-title {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 1rem;
            color: #1a1a1a;
            line-height: 1.4;
            margin-bottom: 0.75rem;
        }

        .reference-card-link {
            font-family: 'Poppins', sans-serif;
            font-weight: 400;
            font-size: 0.85rem;
            color: #1a1a1a;
            transition: color 0.2s;
        }

        .reference-card:hover .reference-card-link {
            color: var(--mc-blue-light);
        }

        /* ===== CONTACT SECTION ===== */
        .contact-section {
            padding: 5rem 0;
            background: #f5f6f8;
        }

        .contact-label {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 0.875rem;
            color: var(--mc-blue-light);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 0.75rem;
        }

        .contact-heading {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 2.75rem;
            line-height: 1.2;
            color: #1a1a1a;
            margin-bottom: 1.5rem;
        }

        .contact-desc {
            font-family: 'Poppins', sans-serif;
            font-weight: 300;
            font-size: 0.9rem;
            color: #555;
            line-height: 1.7;
        }

        /* Fallback form (when WPForms not installed) */
        .contact-form-fallback {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .contact-input,
        .contact-textarea {
            font-family: 'Poppins', sans-serif;
            font-weight: 300;
            font-size: 0.9rem;
            color: #1a1a1a;
            background: #fff;
            border: 1px solid #d0d0d0;
            border-radius: 0;
            padding: 0.85rem 1rem;
            outline: none;
            transition: border-color 0.3s;
        }

        .contact-input:focus,
        .contact-textarea:focus {
            border-color: var(--mc-blue-light);
        }

        .contact-input::placeholder,
        .contact-textarea::placeholder {
            color: #999;
        }

        .contact-textarea {
            resize: vertical;
            min-height: 120px;
        }

        .btn-contact-submit {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 0.9rem;
            color: #fff;
            background: #035596;
            border: 2px solid #035596;
            padding: 0.75rem 2.25rem;
            border-radius: 0;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            cursor: pointer;
            transition: background 0.3s ease, color 0.3s ease;
            align-self: flex-start;
        }

        .btn-contact-submit:hover {
            background: #1D8BCC;
            border-color: #1D8BCC;
        }

        /* Partners bar bottom – dědí styly z .partners-bar */
        .partners-bar-bottom {
            border-top: 1px solid #e0e0e0;
        }

        /* ===== FOOTER ===== */
        .site-footer {
            background-color: #0a0a0a;
            padding: 4rem 0 0;
            color: #fff;
        }

        .footer-main {
            padding-bottom: 3rem;
        }

        .footer-logo {
            width: 100%;
            max-width: 220px;
            height: auto;
            margin-bottom: 1rem;
        }

        .footer-title {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 0.95rem;
            color: #fff;
            margin-bottom: 1.25rem;
        }

        .footer-phone {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 1.35rem;
            color: #fff;
            text-decoration: none;
            display: block;
            margin-bottom: 1rem;
            transition: color 0.2s;
        }

        .footer-phone:hover {
            color: var(--mc-blue-light);
        }

        .footer-info {
            font-family: 'Poppins', sans-serif;
            font-weight: 300;
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.6);
            line-height: 1.6;
        }

        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-links li {
            margin-bottom: 0.5rem;
        }

        .footer-links a {
            font-family: 'Poppins', sans-serif;
            font-weight: 300;
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            transition: color 0.2s;
        }

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

        /* Social icons */
        .footer-socials {
            display: flex;
            gap: 0.75rem;
        }

        .footer-social-icon {
            width: 44px;
            height: 44px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            text-decoration: none;
            transition: border-color 0.2s, background 0.2s;
        }

        .footer-social-icon:hover {
            border-color: var(--mc-blue-light);
            background: rgba(29, 139, 204, 0.15);
            color: var(--mc-blue-light);
        }

        /* Footer divider – full width */
        .footer-divider {
            height: 1px;
            background: #fff;
            margin-bottom: 2rem;
        }

        /* Bottom bar */
        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 2rem;
        }

        .footer-copyright {
            font-family: 'Poppins', sans-serif;
            font-weight: 300;
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.5);
            margin: 0;
        }

        .footer-copyright a {
            color: #fff;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-copyright a:hover {
            color: #1D8BCC;
        }

        .footer-eco-logo {
            height: 50px;
            width: auto;
            opacity: 0.7;
            transition: opacity 0.2s;
        }

        .footer-eco-logo:hover {
            opacity: 1;
        }

        .footer-bottom-logos {
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }

        .footer-bottom-logo {
            height: 30px;
            width: auto;
            opacity: 0.7;
            transition: opacity 0.2s;
        }

        .footer-bottom-logo:hover {
            opacity: 1;
        }

        .footer-kavkaz-link {
            font-family: 'Poppins', sans-serif;
            font-size: 0.75rem;
            font-weight: 300;
            color: rgba(255, 255, 255, 0.5);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-kavkaz-link:hover {
            color: #fff;
        }

        /* ===== RESPONSIVE ===== */

        /* Responsive services */
        @media (max-width: 991.98px) {
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .services-section h2 {
                font-size: 1.75rem;
            }

            /* Footer responsive */
            .footer-col {
                margin-bottom: 2.5rem;
                padding-bottom: 2.5rem;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }

            .footer-col:last-child {
                border-bottom: none;
            }

            .footer-logo {
                max-width: 200px;
                margin-bottom: 0;
            }

            .footer-phone {
                font-size: 1.75rem;
            }

            .footer-title {
                font-size: 1.1rem;
                margin-bottom: 1.5rem;
            }

            .footer-links a {
                font-size: 1rem;
            }

            .footer-links li {
                margin-bottom: 0.75rem;
            }

            .footer-social-icon {
                width: 50px;
                height: 50px;
            }

            .footer-bottom {
                flex-direction: column;
                align-items: flex-start;
                gap: 1.5rem;
            }

            /* Contact responsive */
            .contact-heading {
                font-size: 1.75rem;
            }

            .contact-text-col {
                margin-bottom: 2.5rem;
            }

            /* Testimonials responsive */
            .testimonials-heading {
                font-size: 1.75rem;
            }

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

            /* References responsive */
            .references-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .references-heading {
                font-size: 1.75rem;
            }

            .references-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 1.5rem;
            }

            /* About responsive */
            .about-image-wrap {
                position: relative;
                top: auto;
                bottom: auto;
                right: auto;
                width: 100%;
                margin-top: 2rem;
            }

            .about-heading {
                font-size: 2rem;
            }
        }

        @media (max-width: 575.98px) {
            .services-grid {
                grid-template-columns: 1fr;
            }

            /* Services mobile – 2 columns, compact cards */
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }

            .service-card {
                padding: 1.25rem;
                border-radius: 0;
                align-items: center;
                text-align: center;
            }

            .service-card-icon {
                width: 40px !important;
                height: 40px !important;
                font-size: 1.5rem !important;
                margin-bottom: 0.75rem !important;
            }

            .service-card h3 {
                font-size: 0.8rem;
                margin-bottom: 0.5rem;
            }

            .service-card .service-list {
                display: none;
            }

            .service-card .card-link {
                font-size: 0.75rem;
            }

            /* CTA card – hidden on mobile */
            .service-card-cta {
                display: none;
            }

            /* References mobile */
            .references-grid {
                grid-template-columns: 1fr;
            }

            /* About mobile */
            .about-section {
                padding: 4.5rem 0 3rem;
                margin-top: 2rem;
                margin-bottom: 1.5rem;
            }

            .about-heading {
                font-size: 1.75rem;
            }
        }


        /* ==============================================
           CONTACT PAGE (page-kontakt.php)
           ============================================== */

        /* Hero */
        .cp-hero {
            background: linear-gradient(135deg, #035596, #01335A);
            color: #fff;
            padding: 8rem 0 5rem;
            text-align: center;
        }

        .cp-hero-label {
            font-size: 0.9rem;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 1.25rem;
        }

        .cp-hero-heading {
            font-size: 3rem;
            font-weight: 600;
            margin-bottom: 1.25rem;
        }

        .cp-hero-desc {
            font-size: 1.1rem;
            font-weight: 300;
            color: rgba(255, 255, 255, 0.85);
            max-width: 620px;
            margin: 0 auto;
            line-height: 1.7;
        }

        /* Cards */
        .cp-cards-section {
            padding: 0;
            margin-top: -3rem;
            position: relative;
            z-index: 5;
            margin-bottom: 4rem;
        }

        .cp-cards-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5rem;
        }

        .cp-card {
            background: #fff;
            border-radius: 0;
            padding: 2rem 1.5rem;
            text-align: center;
            box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
            text-decoration: none;
            color: inherit;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .cp-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
            color: inherit;
        }

        .cp-card-icon {
            margin: 0 auto 0.75rem;
            color: #035596;
            font-size: 2.75rem;
            line-height: 1;
        }

        .cp-card h3 {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .cp-card-value {
            font-size: 1.05rem;
            font-weight: 600;
            color: #035596;
            margin-bottom: 0.25rem;
        }

        .cp-card-note {
            font-size: 0.85rem;
            color: #888;
            margin-bottom: 0;
        }

        /* Form section */
        .cp-form-section {
            padding: 2rem 0 6rem;
        }

        .cp-form-label {
            font-size: 0.9rem;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: #035596;
            margin-bottom: 0.75rem;
        }

        .cp-form-heading {
            font-size: 2rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: #111;
        }

        .cp-form-desc {
            font-size: 0.95rem;
            color: #555;
            line-height: 1.7;
            margin-bottom: 2rem;
        }

        .cp-form-col .contact-form-fallback {
            margin-top: 0;
        }

        /* Map */
        .cp-map-wrap {
            border-radius: 0;
            overflow: hidden;
            box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
            margin-bottom: 2rem;
        }

        .cp-map-wrap iframe {
            display: block;
        }

        /* Business info */
        .cp-business-info {
            background: #f8f9fa;
            border-radius: 0;
            padding: 2rem;
        }

        .cp-business-info h3 {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 1.25rem;
            color: #111;
        }

        .cp-info-table {
            width: 100%;
            border-collapse: collapse;
        }

        .cp-info-table tr {
            border-bottom: 1px solid #e5e5e5;
        }

        .cp-info-table tr:last-child {
            border-bottom: none;
        }

        .cp-info-table td {
            padding: 0.6rem 0;
            font-size: 0.9rem;
            vertical-align: top;
        }

        .cp-info-table td:first-child {
            color: #888;
            width: 40%;
            font-weight: 400;
        }

        .cp-info-table td:last-child {
            color: #222;
            font-weight: 500;
        }


        /* ===== CONTACT PAGE RESPONSIVE ===== */
        @media (max-width: 991px) {
            .cp-cards-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .cp-hero {
                padding: 6rem 0 4rem;
            }

            .cp-hero-heading {
                font-size: 2.25rem;
            }

            .cp-map-col {
                margin-top: 3rem;
            }
        }

        @media (max-width: 575px) {
            .cp-cards-grid {
                grid-template-columns: 1fr;
            }

            .cp-hero {
                padding: 5rem 0 3.5rem;
            }

            .cp-hero-heading {
                font-size: 1.75rem;
            }

            .cp-hero-desc {
                font-size: 0.95rem;
            }

            .cp-form-heading {
                font-size: 1.5rem;
            }

            .cp-form-section {
                padding: 1rem 0 4rem;
            }
        }


        /* ==============================================
           ABOUT PAGE (page-o-nas.php)
           ============================================== */

        /* Hero */
        .ap-hero {
            background: linear-gradient(135deg, #035596, #01335A);
            color: #fff;
            padding: 8rem 0 5rem;
            text-align: center;
        }

        .ap-hero-label {
            font-size: 0.9rem;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 1.25rem;
        }

        .ap-hero-heading {
            font-size: 3rem;
            font-weight: 600;
            margin-bottom: 1.25rem;
        }

        .ap-hero-desc {
            font-size: 1.1rem;
            font-weight: 300;
            color: rgba(255, 255, 255, 0.85);
            max-width: 660px;
            margin: 0 auto;
            line-height: 1.7;
        }

        /* Section labels & headings (reusable) */
        .ap-section-label {
            font-size: 0.9rem;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: #035596;
            margin-bottom: 0.75rem;
        }

        .ap-section-heading {
            font-size: 2rem;
            font-weight: 600;
            color: #111;
            margin-bottom: 1rem;
        }

        /* Story section */
        .ap-story-section {
            padding: 6rem 0;
        }

        .ap-story-text p {
            font-size: 0.95rem;
            color: #444;
            line-height: 1.8;
            margin-bottom: 1rem;
        }

        .ap-story-image-wrap {
            border-radius: 0;
            overflow: hidden;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }

        .ap-story-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* Stats section */
        .ap-stats-section {
            padding: 4rem 0;
            background: #f8f9fa;
        }

        .ap-stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
            text-align: center;
        }

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

        .ap-stat-number {
            font-size: 3rem;
            font-weight: 600;
            color: #035596;
            line-height: 1.1;
            margin-bottom: 0.5rem;
        }

        .ap-stat-label {
            font-size: 0.9rem;
            color: #666;
            font-weight: 400;
        }

        /* Values section */
        .ap-values-section {
            padding: 6rem 0;
        }

        .ap-values-desc {
            font-size: 0.95rem;
            color: #555;
            line-height: 1.7;
        }

        .ap-values-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .ap-value-card {
            background: #f8f9fa;
            border-radius: 0;
            padding: 2rem;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .ap-value-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        }

        .ap-value-icon {
            width: 48px;
            height: 48px;
            border-radius: 0;
            background: linear-gradient(135deg, #1D8BCC, #035596);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1.2rem;
            margin-bottom: 1.25rem;
        }

        .ap-value-card h3 {
            font-size: 1.05rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: #111;
        }

        .ap-value-card p {
            font-size: 0.9rem;
            color: #555;
            line-height: 1.7;
            margin-bottom: 0;
        }

        /* Showroom section */
        .ap-showroom-section {
            padding: 6rem 0;
            background: #f8f9fa;
        }

        .ap-showroom-desc {
            font-size: 0.95rem;
            color: #555;
            line-height: 1.7;
        }

        .ap-showroom-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-auto-rows: 260px;
            gap: 1rem;
        }

        .ap-showroom-item {
            overflow: hidden;
            position: relative;
        }

        .ap-showroom-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }

        .ap-showroom-item:hover img {
            transform: scale(1.05);
        }

        .ap-showroom-large {
            grid-column: span 2;
        }

        /* Team section */
        .ap-team-section {
            padding: 6rem 0;
            background: #fff;
        }

        .ap-team-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
        }

        .ap-team-card {
            text-align: center;
        }

        .ap-team-photo {
            width: 100%;
            aspect-ratio: 1 / 1;
            overflow: hidden;
            margin-bottom: 1.25rem;
        }

        .ap-team-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            filter: grayscale(100%);
            transition: filter 0.3s ease;
        }

        .ap-team-card:hover .ap-team-photo img {
            filter: grayscale(0%);
        }

        .ap-team-card h3 {
            font-size: 1.05rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
            color: #111;
        }

        .ap-team-role {
            display: block;
            font-size: 0.85rem;
            color: #035596;
            font-weight: 500;
            margin-bottom: 1rem;
        }

        .ap-team-contacts {
            display: flex;
            flex-direction: column;
            gap: 0.35rem;
        }

        .ap-team-contacts a {
            font-size: 0.8rem;
            color: #666;
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .ap-team-contacts a:hover {
            color: #035596;
        }

        .ap-team-contacts i {
            margin-right: 0.35rem;
            color: #035596;
            font-size: 0.75rem;
        }

        /* Partners section */
        .ap-partners-section {
            padding: 0;
            background: #E8E8E8;
        }

        .ap-partners-header {
            padding: 3.5rem 0 1.5rem;
        }

        .ap-partners-section .ap-section-label,
        .ap-partners-section .ap-section-heading {
            text-align: center;
            color: #333;
        }

        .ap-partners-bar {
            background: #E8E8E8;
        }

        /* CTA section */
        .ap-cta-section {
            padding: 4rem 0 6rem;
        }

        .ap-cta-box {
            background: linear-gradient(135deg, #035596, #01335A);
            border-radius: 0;
            padding: 4rem 3rem;
            text-align: center;
            color: #fff;
        }

        .ap-cta-box h2 {
            font-size: 2rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .ap-cta-box p {
            font-size: 1rem;
            font-weight: 300;
            color: rgba(255, 255, 255, 0.85);
            max-width: 520px;
            margin: 0 auto 2rem;
            line-height: 1.7;
        }

        .ap-cta-btn {
            padding: 0.75rem 2.25rem;
            border: 2px solid #fff;
            color: #fff;
            background: transparent;
            font-size: 0.9rem;
        }

        .ap-cta-btn:hover {
            background: #fff;
            color: #035596;
        }


        /* ===== ABOUT PAGE RESPONSIVE ===== */
        @media (max-width: 991px) {
            .ap-hero {
                padding: 6rem 0 4rem;
            }

            .ap-hero-heading {
                font-size: 2.25rem;
            }

            .ap-stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 2.5rem 2rem;
            }

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

            .ap-story-image-col {
                margin-top: 3rem;
            }

            .ap-story-section {
                padding: 4rem 0;
            }

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

            .ap-team-section {
                padding: 4rem 0;
            }

            .ap-showroom-grid {
                grid-template-columns: repeat(2, 1fr);
                grid-auto-rows: 220px;
            }

            .ap-showroom-large {
                grid-column: span 2;
            }

            .ap-showroom-section {
                padding: 4rem 0;
            }
        }

        @media (max-width: 575px) {
            .ap-hero {
                padding: 5rem 0 3.5rem;
            }

            .ap-hero-heading {
                font-size: 1.75rem;
            }

            .ap-hero-desc {
                font-size: 0.95rem;
            }

            .ap-section-heading {
                font-size: 1.5rem;
            }

            .ap-stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 2rem 1rem;
            }

            .ap-stat-number {
                font-size: 2.25rem;
            }

            .ap-values-grid {
                grid-template-columns: 1fr;
            }

            .ap-cta-box {
                padding: 2.5rem 1.5rem;
            }

            .ap-cta-box h2 {
                font-size: 1.5rem;
            }

            .ap-values-section {
                padding: 4rem 0;
            }

            .ap-team-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
            }

            .ap-team-section {
                padding: 3rem 0;
            }

            .ap-showroom-grid {
                grid-template-columns: 1fr 1fr;
                grid-auto-rows: 180px;
            }

            .ap-showroom-large {
                grid-column: span 2;
            }
        }


        /* ==============================================
           AI PAGE (page-vyuziti-ai.php)
           ============================================== */

        /* Hero */
        .ai-hero {
            background: linear-gradient(135deg, #035596, #01335A);
            color: #fff;
            padding: 8rem 0 5rem;
            text-align: center;
        }

        .ai-hero-label {
            font-size: 0.9rem;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 1.25rem;
        }

        .ai-hero-heading {
            font-size: 3rem;
            font-weight: 600;
            margin-bottom: 1.25rem;
        }

        .ai-hero-desc {
            font-size: 1.1rem;
            font-weight: 300;
            color: rgba(255, 255, 255, 0.85);
            max-width: 660px;
            margin: 0 auto;
            line-height: 1.7;
        }

        /* Section labels & headings */
        .ai-section-label {
            font-size: 0.9rem;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: #035596;
            margin-bottom: 0.75rem;
        }

        .ai-section-heading {
            font-size: 2rem;
            font-weight: 600;
            color: #111;
            margin-bottom: 1rem;
        }

        /* Intro section */
        .ai-intro-section {
            padding: 6rem 0;
        }

        .ai-intro-text p {
            font-size: 0.95rem;
            color: #444;
            line-height: 1.8;
            margin-bottom: 1rem;
        }

        .ai-intro-image-wrap {
            overflow: hidden;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }

        .ai-intro-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* Use Cases section */
        .ai-cases-section {
            padding: 6rem 0;
            background: #f8f9fa;
        }

        .ai-cases-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .ai-case-card {
            background: #fff;
            padding: 2rem;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .ai-case-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        }

        .ai-case-icon {
            color: #035596;
            font-size: 2rem;
            margin-bottom: 1rem;
            line-height: 1;
        }

        .ai-case-card h3 {
            font-size: 1.05rem;
            font-weight: 600;
            color: #111;
            margin-bottom: 0.75rem;
        }

        .ai-case-card > p {
            font-size: 0.9rem;
            color: #555;
            line-height: 1.7;
            margin-bottom: 1.25rem;
        }

        .ai-case-benefits {
            list-style: none;
            padding: 0;
            margin: 0;
            border-top: 1px solid #eee;
            padding-top: 1rem;
        }

        .ai-case-benefits li {
            font-size: 0.8rem;
            color: #666;
            padding: 0.3rem 0;
            padding-left: 1.25rem;
            position: relative;
        }

        .ai-case-benefits li::before {
            content: '→';
            position: absolute;
            left: 0;
            color: #035596;
            font-weight: 600;
        }

        /* Approach section */
        .ai-approach-section {
            padding: 6rem 0;
        }

        .ai-approach-image-wrap {
            overflow: hidden;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }

        .ai-approach-image {
            width: 100%;
            display: block;
        }

        .ai-approach-steps {
            margin-top: 2rem;
            display: flex;
            flex-direction: column;
            gap: 1.75rem;
        }

        .ai-step {
            display: flex;
            gap: 1.25rem;
            align-items: flex-start;
        }

        .ai-step-number {
            font-size: 2rem;
            font-weight: 600;
            color: #035596;
            line-height: 1;
            min-width: 48px;
            opacity: 0.3;
        }

        .ai-step h4 {
            font-size: 1rem;
            font-weight: 600;
            color: #111;
            margin-bottom: 0.35rem;
        }

        .ai-step p {
            font-size: 0.9rem;
            color: #555;
            line-height: 1.7;
            margin-bottom: 0;
        }

        /* CTA section */
        .ai-cta-section {
            padding: 0 0 6rem;
        }

        .ai-cta-box {
            background: linear-gradient(135deg, #035596, #01335A);
            padding: 4rem 3rem;
            text-align: center;
            color: #fff;
        }

        .ai-cta-box h2 {
            font-size: 2rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .ai-cta-box p {
            font-size: 1rem;
            font-weight: 300;
            color: rgba(255, 255, 255, 0.85);
            max-width: 560px;
            margin: 0 auto 2rem;
            line-height: 1.7;
        }

        .ai-cta-btn {
            padding: 0.75rem 2.25rem;
            border: 2px solid #fff;
            color: #fff;
            background: transparent;
            font-size: 0.9rem;
        }

        .ai-cta-btn:hover {
            background: #fff;
            color: #035596;
        }


        /* ===== AI PAGE RESPONSIVE ===== */
        @media (max-width: 991px) {
            .ai-hero {
                padding: 6rem 0 4rem;
            }

            .ai-hero-heading {
                font-size: 2.25rem;
            }

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

            .ai-intro-image-col {
                margin-top: 3rem;
            }

            .ai-approach-image-col {
                margin-bottom: 3rem;
            }

            .ai-intro-section,
            .ai-cases-section,
            .ai-approach-section {
                padding: 4rem 0;
            }
        }

        @media (max-width: 575px) {
            .ai-hero {
                padding: 5rem 0 3.5rem;
            }

            .ai-hero-heading {
                font-size: 1.75rem;
            }

            .ai-hero-desc {
                font-size: 0.95rem;
            }

            .ai-section-heading {
                font-size: 1.5rem;
            }

            .ai-cases-grid {
                grid-template-columns: 1fr;
            }

            .ai-cta-box {
                padding: 2.5rem 1.5rem;
            }

            .ai-cta-box h2 {
                font-size: 1.5rem;
            }

            .ai-step-number {
                font-size: 1.5rem;
                min-width: 36px;
            }
        }


        /* ==============================================
           REFERENCES ARCHIVE (archive-reference.php)
           ============================================== */

        /* Hero */
        .rp-hero {
            background: linear-gradient(135deg, #035596, #01335A);
            color: #fff;
            padding: 8rem 0 5rem;
            text-align: center;
        }

        .rp-hero-label {
            font-size: 0.9rem;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 1.25rem;
        }

        .rp-hero-heading {
            font-size: 3rem;
            font-weight: 600;
            margin-bottom: 1.25rem;
        }

        .rp-hero-desc {
            font-size: 1.1rem;
            font-weight: 300;
            color: rgba(255, 255, 255, 0.85);
            max-width: 620px;
            margin: 0 auto;
            line-height: 1.7;
        }

        /* Content section */
        .rp-content-section {
            padding: 4rem 0 2rem;
        }

        /* Filter */
        .rp-filter {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 3rem;
            justify-content: center;
        }

        .rp-filter-btn {
            display: inline-block;
            padding: 0.5rem 1.25rem;
            font-size: 0.85rem;
            font-weight: 500;
            color: #555;
            background: #f0f0f0;
            text-decoration: none;
            transition: all 0.2s ease;
            border: 1px solid transparent;
        }

        .rp-filter-btn:hover {
            color: #035596;
            background: #e5f0fa;
        }

        .rp-filter-btn.active {
            color: #fff;
            background: #035596;
            border-color: #035596;
        }

        /* Grid */
        .rp-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        /* Card */
        .rp-card {
            display: flex;
            flex-direction: column;
            background: #fff;
            border: 1px solid #eee;
            text-decoration: none;
            color: inherit;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .rp-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
            color: inherit;
        }

        .rp-card-image {
            width: 100%;
            aspect-ratio: 16 / 10;
            overflow: hidden;
        }

        .rp-card-thumb,
        .rp-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }

        .rp-card:hover .rp-card-thumb,
        .rp-card:hover .rp-card-image img {
            transform: scale(1.05);
        }

        .rp-card-thumb-placeholder {
            width: 100%;
            height: 100%;
            background: #e8e8e8;
        }

        .rp-card-body {
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        .rp-card-meta {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 0.75rem;
        }

        .rp-card-tag {
            font-size: 0.8rem;
            font-weight: 600;
            color: #035596;
        }

        .rp-card-date {
            font-size: 0.8rem;
            color: #999;
        }

        .rp-card-meta::after {
            content: none;
        }

        .rp-card-tag + .rp-card-date::before {
            content: '—';
            margin-right: 1rem;
            color: #ccc;
        }

        .rp-card-title {
            font-size: 1.05rem;
            font-weight: 600;
            color: #111;
            margin-bottom: 0.75rem;
            line-height: 1.4;
        }

        .rp-card-excerpt {
            font-size: 0.85rem;
            color: #666;
            line-height: 1.6;
            margin-bottom: 1rem;
            flex: 1;
        }

        .rp-card-link {
            font-size: 0.85rem;
            font-weight: 600;
            color: #035596;
            margin-top: auto;
        }

        .rp-card:hover .rp-card-link {
            text-decoration: underline;
        }

        /* Pagination */
        .rp-pagination {
            margin-top: 3rem;
            text-align: center;
        }

        .rp-pagination .page-numbers {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.25rem;
        }

        .rp-pagination .page-numbers li {
            display: inline-block;
        }

        .rp-pagination .page-numbers li a,
        .rp-pagination .page-numbers li span {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 42px;
            height: 42px;
            padding: 0 0.75rem;
            font-size: 0.85rem;
            font-weight: 500;
            color: #555;
            background: #f0f0f0;
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .rp-pagination .page-numbers li a:hover {
            color: #035596;
            background: #e5f0fa;
        }

        .rp-pagination .page-numbers li span.current {
            color: #fff;
            background: #035596;
        }

        .rp-pagination .page-numbers li .prev,
        .rp-pagination .page-numbers li .next {
            font-weight: 600;
            padding: 0 1.25rem;
        }

        /* Empty state */
        .rp-empty {
            text-align: center;
            padding: 4rem 0;
        }

        .rp-empty p {
            font-size: 1.1rem;
            color: #888;
            margin-bottom: 1.5rem;
        }

        /* CTA */
        .rp-cta-section {
            padding: 2rem 0 6rem;
        }

        .rp-cta-box {
            background: linear-gradient(135deg, #035596, #01335A);
            padding: 4rem 3rem;
            text-align: center;
            color: #fff;
        }

        .rp-cta-box h2 {
            font-size: 2rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .rp-cta-box p {
            font-size: 1rem;
            font-weight: 300;
            color: rgba(255, 255, 255, 0.85);
            max-width: 520px;
            margin: 0 auto 2rem;
            line-height: 1.7;
        }

        .rp-cta-btn {
            padding: 0.75rem 2.25rem;
            border: 2px solid #fff;
            color: #fff;
            background: transparent;
            font-size: 0.9rem;
        }

        .rp-cta-btn:hover {
            background: #fff;
            color: #035596;
        }


        /* ===== REFERENCES ARCHIVE RESPONSIVE ===== */
        @media (max-width: 991px) {
            .rp-hero {
                padding: 6rem 0 4rem;
            }

            .rp-hero-heading {
                font-size: 2.25rem;
            }

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

        @media (max-width: 575px) {
            .rp-hero {
                padding: 5rem 0 3.5rem;
            }

            .rp-hero-heading {
                font-size: 1.75rem;
            }

            .rp-hero-desc {
                font-size: 0.95rem;
            }

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

            .rp-filter {
                gap: 0.35rem;
            }

            .rp-filter-btn {
                font-size: 0.8rem;
                padding: 0.4rem 0.85rem;
            }

            .rp-cta-box {
                padding: 2.5rem 1.5rem;
            }

            .rp-cta-box h2 {
                font-size: 1.5rem;
            }
        }

        /* ==============================================
           REFERENCE DETAIL (single-reference.php)
           ============================================== */

        /* Hero */
        .rd-hero {
            background: linear-gradient(135deg, #035596, #01335A);
            color: #fff;
            padding: 8rem 0 3rem;
        }

        .rd-hero-meta {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.25rem;
        }

        .rd-hero-tag {
            font-size: 0.85rem;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.9);
            background: rgba(255, 255, 255, 0.15);
            padding: 0.3rem 0.85rem;
        }

        .rd-hero-date {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.6);
        }

        .rd-hero-heading {
            font-size: 2.5rem;
            font-weight: 600;
            line-height: 1.25;
            max-width: 800px;
        }

        /* Featured image */
        .rd-featured-image {
            margin-top: -1rem;
            margin-bottom: 3rem;
        }

        .rd-main-image {
            width: 100%;
            height: auto;
            display: block;
            max-height: 500px;
            object-fit: cover;
        }

        /* Content */
        .rd-content-section {
            padding: 0 0 5rem;
        }

        .rd-content {
            font-size: 1rem;
            color: #333;
            line-height: 1.85;
        }

        .rd-content p {
            margin-bottom: 1.5rem;
        }

        .rd-content h2 {
            font-size: 1.5rem;
            font-weight: 600;
            color: #111;
            margin: 2.5rem 0 1rem;
        }

        .rd-content h3 {
            font-size: 1.2rem;
            font-weight: 600;
            color: #111;
            margin: 2rem 0 0.75rem;
        }

        .rd-content ul,
        .rd-content ol {
            margin-bottom: 1.5rem;
            padding-left: 1.5rem;
        }

        .rd-content li {
            margin-bottom: 0.5rem;
        }

        .rd-content img {
            max-width: 100%;
            height: auto;
            margin: 1.5rem 0;
        }

        .rd-content blockquote {
            border-left: 3px solid #035596;
            padding: 1rem 1.5rem;
            margin: 2rem 0;
            background: #f8f9fa;
            font-style: italic;
            color: #444;
        }

        /* Sidebar */
        .rd-sidebar {
            position: sticky;
            top: 6rem;
            align-self: flex-start;
        }

        .rd-sidebar-box {
            background: #f8f9fa;
            padding: 1.75rem;
            margin-bottom: 1.5rem;
        }

        .rd-sidebar-box h4 {
            font-size: 1rem;
            font-weight: 600;
            color: #111;
            margin-bottom: 1rem;
        }

        .rd-info-table {
            width: 100%;
            border-collapse: collapse;
        }

        .rd-info-table tr {
            border-bottom: 1px solid #e5e5e5;
        }

        .rd-info-table tr:last-child {
            border-bottom: none;
        }

        .rd-info-table td {
            padding: 0.55rem 0;
            font-size: 0.85rem;
            vertical-align: top;
        }

        .rd-info-table td:first-child {
            color: #888;
            width: 40%;
        }

        .rd-info-table td:last-child {
            color: #222;
            font-weight: 500;
        }

        .rd-sidebar-cta {
            background: linear-gradient(135deg, #035596, #01335A);
            padding: 1.75rem;
            color: #fff;
        }

        .rd-sidebar-cta h4 {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .rd-sidebar-cta p {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.6;
            margin-bottom: 1.25rem;
        }

        .rd-sidebar-btn {
            display: inline-block;
            padding: 0.6rem 1.5rem;
            border: 2px solid #fff;
            color: #fff;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            text-decoration: none;
            transition: background 0.3s ease, color 0.3s ease;
        }

        .rd-sidebar-btn:hover {
            background: #fff;
            color: #035596;
        }

        /* Related references */
        .rd-related-section {
            padding: 4rem 0 5rem;
            background: #f8f9fa;
        }

        .rd-related-heading {
            font-size: 1.75rem;
            font-weight: 600;
            color: #111;
            margin-bottom: 2rem;
        }

        .rd-related-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .rd-all-btn {
            display: inline-block;
            font-size: 0.9rem;
            font-weight: 600;
            color: #035596;
            text-decoration: none;
            padding: 0.75rem 2rem;
            border: 2px solid #035596;
            transition: background 0.3s ease, color 0.3s ease;
            margin-top: 1rem;
        }

        .rd-all-btn:hover {
            background: #035596;
            color: #fff;
        }


        .rd-back-btn {
            font-size: 0.9rem;
            color: #035596;
            padding: 0.6rem 1.75rem;
            border: 2px solid #035596;
            background: transparent;
        }

        .rd-back-btn:hover {
            background: #035596;
            color: #fff;
        }

        /* ===== REFERENCE DETAIL RESPONSIVE ===== */
        @media (max-width: 991px) {
            .rd-hero {
                padding: 6rem 0 2.5rem;
            }

            .rd-hero-heading {
                font-size: 2rem;
            }

            .rd-sidebar {
                position: static;
                margin-top: 3rem;
            }

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

        @media (max-width: 575px) {
            .rd-hero {
                padding: 5rem 0 2rem;
            }

            .rd-hero-heading {
                font-size: 1.5rem;
            }

            .rd-related-grid {
                grid-template-columns: 1fr;
            }

            .rd-content {
                font-size: 0.95rem;
            }
        }


        /* ==============================================
           SERVICE PAGE (page-sluzba.php)
           ============================================== */

        /* Hero */
        .sp-hero {
            background: linear-gradient(135deg, #035596, #01335A);
            color: #fff;
            padding: 8rem 0 5rem;
            text-align: center;
        }

        .sp-hero-icon {
            font-size: 3rem;
            margin-bottom: 1.25rem;
            opacity: 0.7;
        }

        .sp-hero-heading {
            font-size: 2.75rem;
            font-weight: 600;
            margin-bottom: 1.25rem;
        }

        .sp-hero-desc {
            font-size: 1.1rem;
            font-weight: 300;
            color: rgba(255, 255, 255, 0.85);
            max-width: 660px;
            margin: 0 auto;
            line-height: 1.7;
        }

        /* Featured image */
        .sp-featured-image {
            margin-top: -1rem;
            margin-bottom: 3rem;
        }

        .sp-main-image {
            width: 100%;
            height: auto;
            display: block;
            max-height: 480px;
            object-fit: cover;
        }

        /* Content */
        .sp-content-section {
            padding: 0 0 5rem;
        }

        .sp-content {
            font-size: 1rem;
            color: #333;
            line-height: 1.85;
        }

        .sp-content p {
            margin-bottom: 1.5rem;
        }

        .sp-content h2 {
            font-size: 1.6rem;
            font-weight: 600;
            color: #111;
            margin: 2.5rem 0 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #035596;
        }

        .sp-content h3 {
            font-size: 1.15rem;
            font-weight: 600;
            color: #035596;
            margin: 2rem 0 0.75rem;
        }

        .sp-inline-img {
            width: 100%;
            height: auto;
            margin: 2rem 0;
            display: block;
        }

        /* Photo Gallery */
        .sp-gallery-section {
            padding: 0 0 4rem;
        }

        .sp-gallery-heading {
            font-size: 1rem;
            font-weight: 600;
            color: #035596;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 1.5rem;
        }

        .sp-gallery-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.25rem;
        }

        .sp-gallery-item {
            overflow: hidden;
            aspect-ratio: 4 / 3;
        }

        .sp-gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .sp-gallery-item:hover img {
            transform: scale(1.05);
        }

        .sp-content ul,
        .sp-content ol {
            margin-bottom: 1.5rem;
            padding-left: 1.5rem;
        }

        .sp-content li {
            margin-bottom: 0.5rem;
        }

        .sp-content img {
            max-width: 100%;
            height: auto;
            margin: 1.5rem 0;
        }

        .sp-content blockquote {
            border-left: 3px solid #035596;
            padding: 1rem 1.5rem;
            margin: 2rem 0;
            background: #f8f9fa;
            color: #444;
        }

        /* Sidebar */
        .sp-sidebar {
            position: sticky;
            top: 6rem;
            align-self: flex-start;
        }

        .sp-sidebar-box {
            background: #f8f9fa;
            padding: 1.75rem;
            margin-bottom: 1.5rem;
        }

        .sp-sidebar-box h4 {
            font-size: 1rem;
            font-weight: 600;
            color: #111;
            margin-bottom: 1rem;
        }

        .sp-features-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .sp-features-list li {
            font-size: 0.85rem;
            color: #444;
            padding: 0.5rem 0;
            padding-left: 1.25rem;
            position: relative;
            border-bottom: 1px solid #eee;
        }

        .sp-features-list li:last-child {
            border-bottom: none;
        }

        .sp-features-list li::before {
            content: '→';
            position: absolute;
            left: 0;
            color: #035596;
            font-weight: 600;
        }

        .sp-sidebar-cta {
            background: linear-gradient(135deg, #035596, #01335A);
            padding: 1.75rem;
            color: #fff;
        }

        .sp-sidebar-cta h4 {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .sp-sidebar-cta p {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.6;
            margin-bottom: 1.25rem;
        }

        .sp-sidebar-btn {
            padding: 0.6rem 1.5rem;
            border: 2px solid #fff;
            color: #fff;
            background: transparent;
            font-size: 0.8rem;
        }

        .sp-sidebar-btn:hover {
            background: #fff;
            color: #035596;
        }

        /* Other services */
        .sp-other-section {
            padding: 4rem 0 5rem;
            background: #f8f9fa;
        }

        .sp-other-heading {
            font-size: 1.75rem;
            font-weight: 600;
            color: #111;
            margin-bottom: 2rem;
        }

        .sp-other-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5rem;
        }

        .sp-other-card {
            background: #fff;
            padding: 1.75rem;
            text-decoration: none;
            color: inherit;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .sp-other-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
            color: inherit;
        }

        .sp-other-icon {
            font-size: 1.75rem;
            color: #035596;
            margin-bottom: 1rem;
        }

        .sp-other-card h3 {
            font-size: 0.95rem;
            font-weight: 600;
            color: #111;
            margin-bottom: 0.75rem;
        }

        .sp-other-link {
            font-size: 0.8rem;
            font-weight: 600;
            color: #035596;
            margin-top: auto;
        }

        /* CTA */
        .sp-cta-section {
            padding: 0 0 6rem;
        }

        .sp-cta-box {
            background: linear-gradient(135deg, #035596, #01335A);
            padding: 4rem 3rem;
            text-align: center;
            color: #fff;
        }

        .sp-cta-box h2 {
            font-size: 2rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .sp-cta-box p {
            font-size: 1rem;
            font-weight: 300;
            color: rgba(255, 255, 255, 0.85);
            max-width: 520px;
            margin: 0 auto 2rem;
            line-height: 1.7;
        }

        .sp-cta-btn {
            padding: 0.75rem 2.25rem;
            border: 2px solid #fff;
            color: #fff;
            background: transparent;
            font-size: 0.9rem;
        }

        .sp-cta-btn:hover {
            background: #fff;
            color: #035596;
        }

        /* ===== SERVICE PAGE RESPONSIVE ===== */
        @media (max-width: 991px) {
            .sp-hero {
                padding: 6rem 0 4rem;
            }

            .sp-hero-heading {
                font-size: 2rem;
            }

            .sp-sidebar {
                position: static;
                margin-top: 3rem;
            }

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

            .sp-gallery-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 1rem;
            }
        }

        @media (max-width: 575px) {
            .sp-hero {
                padding: 5rem 0 3.5rem;
            }

            .sp-hero-heading {
                font-size: 1.75rem;
            }

            .sp-hero-desc {
                font-size: 0.95rem;
            }

            .sp-other-grid {
                grid-template-columns: 1fr;
            }

            .sp-cta-box {
                padding: 2.5rem 1.5rem;
            }

            .sp-cta-box h2 {
                font-size: 1.5rem;
            }

            .sp-content {
                font-size: 0.95rem;
            }

            .sp-gallery-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
        }

        /* ===== NAŠE SLUŽBY (rozcestník) ===== */
        .ns-services-section {
            padding: 4rem 0 5rem;
        }

        /* ===== KARIÉRA PAGE ===== */
        .kr-intro {
            padding: 4rem 0 3rem;
        }

        .kr-intro h2 {
            font-size: 1.75rem;
            font-weight: 600;
            color: #111;
            margin-bottom: 1.25rem;
        }

        .kr-intro p {
            font-size: 1rem;
            color: #444;
            line-height: 1.85;
        }

        .kr-perks {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .kr-perk {
            display: flex;
            align-items: center;
            gap: 0.85rem;
            font-size: 0.95rem;
            color: #333;
        }

        .kr-perk i {
            font-size: 1.25rem;
            color: #035596;
            width: 1.5rem;
            text-align: center;
            flex-shrink: 0;
        }

        /* Positions section */
        .kr-positions {
            padding: 2rem 0 4rem;
        }

        .kr-positions-header {
            margin-bottom: 2rem;
        }

        .kr-positions-header h2 {
            font-size: 1.5rem;
            font-weight: 600;
            color: #111;
            margin-bottom: 0.5rem;
        }

        .kr-positions-header p {
            font-size: 0.95rem;
            color: #666;
        }

        .kr-positions-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .kr-position-card {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.75rem 2rem;
            background: #f8f9fa;
            border-left: 3px solid #035596;
            transition: box-shadow 0.3s ease;
        }

        .kr-position-card:hover {
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        }

        .kr-position-info h3 {
            font-size: 1.15rem;
            font-weight: 600;
            color: #111;
            margin-bottom: 0.5rem;
        }

        .kr-position-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-bottom: 0.5rem;
        }

        .kr-meta-tag {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            font-size: 0.8rem;
            color: #555;
            background: #e9ecef;
            padding: 0.25rem 0.75rem;
        }

        .kr-meta-tag i {
            font-size: 0.75rem;
            color: #035596;
        }

        .kr-meta-tag--hero {
            background: rgba(255,255,255,0.15);
            color: rgba(255,255,255,0.9);
        }

        .kr-meta-tag--hero i {
            color: rgba(255,255,255,0.7);
        }

        .kr-detail-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            justify-content: center;
            margin-top: 1rem;
        }

        .kr-position-excerpt {
            font-size: 0.9rem;
            color: #666;
            margin: 0;
        }

        .kr-position-btn {
            padding: 0.6rem 1.5rem;
            font-size: 0.85rem;
            color: #035596;
            border: 2px solid #035596;
            background: transparent;
            white-space: nowrap;
        }

        .kr-position-btn:hover {
            background: #035596;
            color: #fff;
        }

        /* Empty state */
        .kr-empty {
            text-align: center;
            padding: 4rem 2rem;
            background: #f8f9fa;
        }

        .kr-empty-icon {
            font-size: 3rem;
            color: #ccc;
            margin-bottom: 1.25rem;
        }

        .kr-empty h3 {
            font-size: 1.25rem;
            font-weight: 600;
            color: #111;
            margin-bottom: 0.75rem;
        }

        .kr-empty p {
            font-size: 0.95rem;
            color: #666;
            max-width: 520px;
            margin: 0 auto 1.5rem;
            line-height: 1.75;
        }

        .kr-empty-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 2.25rem;
            background: #035596;
            color: #fff;
            border: 2px solid #035596;
            font-size: 0.9rem;
        }

        .kr-empty-btn:hover {
            background: #1D8BCC;
            border-color: #1D8BCC;
            color: #fff;
        }

        /* Process section */
        .kr-process {
            padding: 4rem 0 5rem;
            background: #f8f9fa;
        }

        .kr-process + .sp-cta-section {
            padding-top: 5rem;
        }

        .kr-process h2 {
            font-size: 1.5rem;
            font-weight: 600;
            color: #111;
            text-align: center;
            margin-bottom: 2.5rem;
        }

        .kr-process-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
        }

        .kr-process-step {
            text-align: center;
        }

        .kr-process-num {
            width: 3rem;
            height: 3rem;
            margin: 0 auto 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #1D8BCC, #035596);
            color: #fff;
            font-size: 1.1rem;
            font-weight: 600;
        }

        .kr-process-step h4 {
            font-size: 1rem;
            font-weight: 600;
            color: #111;
            margin-bottom: 0.5rem;
        }

        .kr-process-step p {
            font-size: 0.85rem;
            color: #666;
            line-height: 1.65;
        }

        /* Detail table */
        .kr-detail-table {
            width: 100%;
            font-size: 0.85rem;
        }

        .kr-detail-table tr {
            border-bottom: 1px solid #e9ecef;
        }

        .kr-detail-table td {
            padding: 0.6rem 0;
            color: #444;
        }

        .kr-detail-table td:first-child {
            color: #666;
            white-space: nowrap;
            padding-right: 1rem;
        }

        .kr-detail-table td:first-child i {
            color: #035596;
            margin-right: 0.35rem;
        }

        .kr-detail-table td:last-child {
            font-weight: 600;
            color: #111;
        }

        /* ===== KARIÉRA RESPONSIVE ===== */
        @media (max-width: 991px) {
            .kr-position-card {
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
            }

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

            .kr-perks {
                margin-top: 2rem;
            }
        }

        @media (max-width: 575px) {
            .kr-process-grid {
                grid-template-columns: 1fr;
            }

            .kr-position-card {
                padding: 1.25rem 1.5rem;
            }

            .kr-detail-meta {
                justify-content: flex-start;
            }
        }

        /* ===== PRO KLIENTY PAGE ===== */

        /* Quick nav */
        .pk-nav-section {
            padding: 3rem 0 1rem;
        }

        .pk-nav-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.25rem;
        }

        .pk-nav-card {
            display: flex;
            align-items: center;
            gap: 0.85rem;
            padding: 1.25rem 1.5rem;
            background: #f8f9fa;
            text-decoration: none;
            color: #111;
            font-size: 0.9rem;
            font-weight: 600;
            transition: all 0.3s ease;
            border-left: 3px solid #035596;
        }

        .pk-nav-card:hover {
            background: #e9ecef;
            color: #035596;
        }

        .pk-nav-card i {
            font-size: 1.35rem;
            color: #035596;
            flex-shrink: 0;
        }

        /* Sections */
        .pk-section {
            padding: 4.5rem 0;
            scroll-margin-top: 5rem;
        }

        .pk-section--alt {
            background: #f8f9fa;
        }

        .pk-section-label {
            font-size: 0.8rem;
            font-weight: 600;
            color: #035596;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 0.75rem;
        }

        .pk-section h2 {
            font-size: 1.65rem;
            font-weight: 600;
            color: #111;
            margin-bottom: 1rem;
            line-height: 1.35;
        }

        .pk-section p {
            font-size: 1rem;
            color: #444;
            line-height: 1.85;
        }

        .pk-section > .container > p,
        .pk-section-intro {
            max-width: 700px;
        }

        /* Info boxes */
        .pk-info-box {
            background: #e8f4fd;
            padding: 1.25rem 1.5rem;
            margin-top: 1.5rem;
        }

        .pk-info-box h4 {
            font-size: 0.9rem;
            font-weight: 600;
            color: #035596;
            margin-bottom: 0.75rem;
        }

        .pk-info-box h4 i {
            margin-right: 0.35rem;
        }

        .pk-info-box ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .pk-info-box li {
            font-size: 0.85rem;
            color: #333;
            padding: 0.25rem 0;
            padding-left: 1rem;
            position: relative;
        }

        .pk-info-box li::before {
            content: '→';
            position: absolute;
            left: 0;
            color: #035596;
            font-size: 0.75rem;
        }

        /* Form boxes */
        .pk-form-box {
            background: #fff;
            border: 1px solid #e0e0e0;
            padding: 2rem;
        }

        .pk-section--alt .pk-form-box {
            background: #fff;
        }

        .pk-form-box h3 {
            font-size: 1.15rem;
            font-weight: 600;
            color: #111;
            margin-bottom: 1.5rem;
        }

        .pk-form-group {
            margin-bottom: 1.25rem;
        }

        .pk-form-group label {
            display: block;
            font-size: 0.8rem;
            font-weight: 600;
            color: #333;
            margin-bottom: 0.4rem;
        }

        .pk-form-group input,
        .pk-form-group textarea {
            width: 100%;
            padding: 0.7rem 1rem;
            border: 1px solid #ddd;
            font-family: 'Poppins', sans-serif;
            font-size: 0.9rem;
            color: #333;
            background: #fafafa;
            transition: border-color 0.3s ease;
        }

        .pk-form-group input:focus,
        .pk-form-group textarea:focus {
            outline: none;
            border-color: #035596;
            background: #fff;
        }

        .pk-form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

        .pk-form-note {
            font-size: 0.8rem;
            color: #888;
            margin-top: 1rem;
        }

        /* Service cards */
        .pk-servis-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5rem;
            margin: 2.5rem 0 3rem;
        }

        .pk-servis-card {
            padding: 1.75rem;
            background: #f8f9fa;
            text-align: center;
        }

        .pk-servis-card i {
            font-size: 2rem;
            color: #035596;
            margin-bottom: 1rem;
            display: block;
        }

        .pk-servis-card h4 {
            font-size: 1rem;
            font-weight: 600;
            color: #111;
            margin-bottom: 0.5rem;
        }

        .pk-servis-card p {
            font-size: 0.85rem;
            color: #666;
            line-height: 1.65;
        }

        /* Contact table */
        .pk-servis-contact {
            background: #f8f9fa;
            padding: 2.5rem;
        }

        .pk-servis-contact h3 {
            font-size: 1.15rem;
            font-weight: 600;
            color: #111;
            margin-bottom: 1.25rem;
        }

        .pk-contact-table {
            width: 100%;
            font-size: 0.9rem;
        }

        .pk-contact-table tr {
            border-bottom: 1px solid #e0e0e0;
        }

        .pk-contact-table td {
            padding: 0.65rem 0;
            color: #444;
        }

        .pk-contact-table td:first-child {
            color: #666;
            white-space: nowrap;
            padding-right: 1.5rem;
            width: 140px;
        }

        .pk-contact-table td:first-child i {
            color: #035596;
            margin-right: 0.4rem;
        }

        .pk-contact-table a {
            color: #035596;
            text-decoration: none;
            font-weight: 600;
        }

        .pk-contact-table a:hover {
            text-decoration: underline;
        }

        /* Steps */
        .pk-steps {
            padding-left: 1.25rem;
            margin: 0;
        }

        .pk-steps li {
            font-size: 0.9rem;
            color: #444;
            line-height: 1.75;
            margin-bottom: 0.75rem;
            padding-left: 0.35rem;
        }

        .pk-steps li::marker {
            color: #035596;
            font-weight: 600;
        }

        /* Manual cards */
        .pk-manuals-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
            margin-top: 2.5rem;
        }

        .pk-manual-card {
            background: #fff;
            padding: 2rem;
            border: 1px solid #e0e0e0;
            transition: box-shadow 0.3s ease;
        }

        .pk-manual-card:hover {
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        }

        .pk-manual-icon {
            font-size: 1.75rem;
            color: #035596;
            margin-bottom: 1rem;
        }

        .pk-manual-card h4 {
            font-size: 1rem;
            font-weight: 600;
            color: #111;
            margin-bottom: 0.5rem;
        }

        .pk-manual-card p {
            font-size: 0.85rem;
            color: #666;
            line-height: 1.65;
            margin-bottom: 1rem;
        }

        .pk-manual-link {
            font-size: 0.8rem;
            font-weight: 600;
            color: #035596;
            text-decoration: none;
        }

        .pk-manual-link:hover {
            text-decoration: underline;
        }

        /* --- Warranty result box --- */
        .pk-warranty-result {
            margin-top: 1.5rem;
            padding: 1.25rem 1.5rem;
            border-radius: 0;
            font-size: 0.95rem;
            line-height: 1.6;
        }

        .pk-warranty-result a {
            color: inherit;
            text-decoration: underline;
        }

        .pk-warranty-loading {
            background: #f0f4f8;
            color: #333;
            border-left: 4px solid #035596;
        }

        .pk-warranty-loading i {
            display: inline-block;
            animation: pk-spin 1s linear infinite;
            margin-right: 0.5rem;
        }

        @keyframes pk-spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .pk-warranty-valid {
            background: #e8f5e9;
            color: #2e7d32;
            border-left: 4px solid #2e7d32;
        }

        .pk-warranty-valid i {
            font-size: 1.2rem;
            margin-right: 0.4rem;
        }

        .pk-warranty-invalid {
            background: #fff3e0;
            color: #e65100;
            border-left: 4px solid #e65100;
        }

        .pk-warranty-invalid i {
            font-size: 1.2rem;
            margin-right: 0.4rem;
        }

        /* --- Modal: Vyžádat dokumentaci --- */
        .pk-modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            padding: 2rem;
        }

        .pk-modal-overlay.pk-modal-active {
            display: flex;
        }

        .pk-modal {
            background: #fff;
            width: 100%;
            max-width: 560px;
            max-height: 90vh;
            overflow-y: auto;
            padding: 2.5rem;
            position: relative;
            border-radius: 0;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        }

        .pk-modal h3 {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 1.4rem;
            color: #000;
            margin-bottom: 0.25rem;
        }

        .pk-modal-subtitle {
            font-size: 0.95rem;
            color: #035596;
            font-weight: 600;
            margin-bottom: 1.5rem;
        }

        .pk-modal-close {
            position: absolute;
            top: 1rem;
            right: 1.25rem;
            background: none;
            border: none;
            font-size: 1.8rem;
            color: #666;
            cursor: pointer;
            line-height: 1;
            padding: 0;
            transition: color 0.3s ease;
        }

        .pk-modal-close:hover {
            color: #000;
        }

        .pk-optional {
            font-weight: 400;
            color: #888;
            font-size: 0.85rem;
        }

        .pk-modal-success {
            text-align: center;
            padding: 2rem 0;
        }

        .pk-modal-success i {
            font-size: 3rem;
            color: #2e7d32;
            display: block;
            margin-bottom: 1rem;
        }

        .pk-modal-success h3 {
            text-align: center;
            margin-bottom: 0.75rem;
        }

        .pk-modal-success p {
            color: #555;
            margin-bottom: 1.5rem;
        }

        @media (max-width: 575px) {
            .pk-modal {
                padding: 1.5rem;
                max-height: 95vh;
            }
        }

        /* ===== PRO KLIENTY RESPONSIVE ===== */
        @media (max-width: 991px) {
            .pk-nav-grid {
                grid-template-columns: repeat(2, 1fr);
            }

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

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

            .pk-servis-contact .col-lg-5 {
                margin-top: 2rem;
            }

            .pk-form-box {
                margin-top: 2rem;
            }
        }

        @media (max-width: 575px) {
            .pk-nav-grid {
                grid-template-columns: 1fr;
            }

            .pk-servis-grid {
                grid-template-columns: 1fr;
            }

            .pk-manuals-grid {
                grid-template-columns: 1fr;
            }

            .pk-form-row {
                grid-template-columns: 1fr;
            }

            .pk-servis-contact {
                padding: 1.5rem;
            }

            .pk-form-box {
                padding: 1.5rem;
            }
        }


        /* ===== GDPR CONSENT CHECKBOX (všechny formuláře) ===== */
        .gdpr-consent {
            margin: 0.25rem 0 2.5rem;
        }

        .gdpr-consent-label {
            display: flex;
            align-items: flex-start;
            gap: 0.6rem;
            font-size: 0.85rem;
            color: #555;
            line-height: 1.5;
            cursor: pointer;
        }

        .gdpr-consent-label input[type="checkbox"] {
            appearance: none;
            -webkit-appearance: none;
            width: 18px;
            height: 18px;
            min-width: 18px;
            border: 2px solid #035596;
            border-radius: 0;
            background: #fff;
            cursor: pointer;
            margin-top: 2px;
            position: relative;
            transition: background 0.2s ease, border-color 0.2s ease;
        }

        .gdpr-consent-label input[type="checkbox"]:checked {
            background: #035596;
            border-color: #035596;
        }

        .gdpr-consent-label input[type="checkbox"]:checked::after {
            content: '✓';
            color: #fff;
            font-size: 12px;
            font-weight: 700;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .gdpr-consent-label a {
            color: #035596;
            text-decoration: underline;
            font-weight: 600;
        }

        .gdpr-consent-label a:hover {
            color: #1D8BCC;
        }


        /* ===== GDPR PAGE ===== */
        .gdpr-content {
            padding: 4rem 0 3rem;
        }

        .gdpr-updated {
            font-size: 0.9rem;
            color: #888;
            margin-bottom: 2.5rem;
        }

        .gdpr-block {
            margin-bottom: 3rem;
        }

        .gdpr-block h2 {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 1.4rem;
            color: #000;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #035596;
        }

        .gdpr-block h4 {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 1rem;
            color: #333;
            margin-bottom: 0.5rem;
        }

        .gdpr-block p {
            font-size: 0.95rem;
            color: #444;
            line-height: 1.75;
            margin-bottom: 1rem;
        }

        .gdpr-block a {
            color: #035596;
            text-decoration: underline;
        }

        .gdpr-block a:hover {
            color: #1D8BCC;
        }

        .gdpr-block ul,
        .gdpr-block ol {
            padding-left: 1.5rem;
            margin-bottom: 1rem;
        }

        .gdpr-block ul li,
        .gdpr-block ol li {
            font-size: 0.95rem;
            color: #444;
            line-height: 1.75;
            margin-bottom: 0.3rem;
        }

        .gdpr-company-info {
            background: #f7f9fb;
            border-left: 4px solid #035596;
            padding: 1.25rem 1.5rem;
            margin: 1rem 0 1.5rem;
        }

        .gdpr-company-info p {
            margin: 0;
        }

        .gdpr-list {
            margin-bottom: 1.5rem;
        }

        .gdpr-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1rem 0 1.5rem;
            font-size: 0.9rem;
        }

        .gdpr-table th {
            background: linear-gradient(135deg, #035596, #01335A);
            color: #fff;
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.03em;
            padding: 0.75rem 1rem;
            text-align: left;
        }

        .gdpr-table td {
            padding: 0.75rem 1rem;
            border-bottom: 1px solid #e8e8e8;
            color: #444;
            vertical-align: top;
        }

        .gdpr-table tbody tr:hover {
            background: #f7f9fb;
        }

        .gdpr-rights-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
            margin: 1.5rem 0;
        }

        .gdpr-right {
            background: #f7f9fb;
            padding: 1.25rem 1.5rem;
            border-left: 3px solid #035596;
        }

        .gdpr-right h4 {
            margin-bottom: 0.5rem;
        }

        .gdpr-right h4 i {
            color: #035596;
            margin-right: 0.4rem;
        }

        .gdpr-right p {
            font-size: 0.9rem;
            margin: 0;
        }

        @media (max-width: 767px) {
            .gdpr-rights-grid {
                grid-template-columns: 1fr;
            }

            .gdpr-table {
                font-size: 0.8rem;
            }

            .gdpr-table th,
            .gdpr-table td {
                padding: 0.5rem 0.6rem;
            }
        }


        /* ===== SEARCH RESULTS ===== */
        .sr-search-bar {
            background: #f7f9fb;
            padding: 2rem 0;
        }

        .sr-form {
            display: flex;
            gap: 0;
            max-width: 600px;
            margin: 0 auto;
        }

        .sr-input {
            flex: 1;
            font-family: 'Poppins', sans-serif;
            font-size: 1rem;
            padding: 0.75rem 1.25rem;
            border: 2px solid #ddd;
            border-right: none;
            border-radius: 0;
            outline: none;
            transition: border-color 0.3s ease;
        }

        .sr-input:focus {
            border-color: #035596;
        }

        .sr-form .btn-contact-submit {
            border-radius: 0;
            white-space: nowrap;
        }

        .sr-results {
            padding: 3rem 0 4rem;
        }

        .sr-result-card {
            display: flex;
            gap: 1.5rem;
            padding: 1.5rem;
            border: 1px solid #e8e8e8;
            margin-bottom: 1rem;
            text-decoration: none;
            color: inherit;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }

        .sr-result-card:hover {
            border-color: #035596;
            box-shadow: 0 4px 16px rgba(3, 85, 150, 0.08);
        }

        .sr-result-thumb {
            flex-shrink: 0;
            width: 160px;
            height: 120px;
            overflow: hidden;
        }

        .sr-result-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .sr-result-body {
            flex: 1;
            min-width: 0;
        }

        .sr-result-meta {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 0.5rem;
        }

        .sr-result-type {
            font-family: 'Poppins', sans-serif;
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            padding: 0.2rem 0.6rem;
            color: #fff;
        }

        .sr-type-page {
            background: #035596;
        }

        .sr-type-post {
            background: #333;
        }

        .sr-type-reference {
            background: #1D8BCC;
        }

        .sr-type-pozice {
            background: #2e7d32;
        }

        .sr-result-detail {
            font-size: 0.8rem;
            color: #888;
        }

        .sr-result-title {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 1.15rem;
            color: #000;
            margin-bottom: 0.4rem;
        }

        .sr-result-excerpt {
            font-size: 0.9rem;
            color: #555;
            line-height: 1.6;
            margin-bottom: 0.5rem;
        }

        .sr-result-link {
            font-family: 'Poppins', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            color: #035596;
        }

        .sr-result-card:hover .sr-result-link {
            color: #1D8BCC;
        }

        /* Stránkování */
        .sr-pagination {
            display: flex;
            justify-content: center;
            gap: 0.35rem;
            margin-top: 2.5rem;
        }

        .sr-pagination a,
        .sr-pagination span {
            font-family: 'Poppins', sans-serif;
            font-size: 0.9rem;
            font-weight: 600;
            padding: 0.5rem 1rem;
            border: 2px solid #ddd;
            color: #333;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .sr-pagination a:hover {
            border-color: #035596;
            color: #035596;
        }

        .sr-pagination .current {
            background: #035596;
            border-color: #035596;
            color: #fff;
        }

        /* Žádné výsledky */
        .sr-no-results {
            padding: 4rem 0 5rem;
        }

        .sr-empty-icon {
            font-size: 3.5rem;
            color: #ccc;
            margin-bottom: 1rem;
        }

        .sr-no-results h2 {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 1.6rem;
            color: #000;
            margin-bottom: 0.75rem;
        }

        .sr-no-results p {
            font-size: 1rem;
            color: #555;
            margin-bottom: 1.5rem;
        }

        .sr-suggestions {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 0.75rem;
        }

        .sr-suggestion-link {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            padding: 0.65rem 1.5rem;
            border: 2px solid #035596;
            color: #035596;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .sr-suggestion-link:hover {
            background: #035596;
            color: #fff;
        }

        /* Search responsive */
        @media (max-width: 767px) {
            .sr-result-card {
                flex-direction: column;
                gap: 1rem;
            }

            .sr-result-thumb {
                width: 100%;
                height: 180px;
            }

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

            .sr-input {
                border-right: 2px solid #ddd;
            }

            .sr-input:focus {
                border-right-color: #035596;
            }
        }


/* ===== REFERENCE GALLERY (inline v obsahu) ===== */
.reference-gallery {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.5rem !important;
    margin: 2rem 0 !important;
    border-radius: 8px;
    overflow: hidden;
}

.reference-gallery a {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
    cursor: zoom-in;
}

.reference-gallery a img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    transition: transform 0.3s ease;
    display: block;
}

.reference-gallery a:hover img {
    transform: scale(1.05);
}

/* 1 obrázek — plná šířka */
.reference-gallery.gallery-count-1 {
    grid-template-columns: 1fr !important;
}

.reference-gallery.gallery-count-1 a {
    aspect-ratio: 16 / 9;
}

/* 2 obrázky — dvě vedle sebe */
.reference-gallery.gallery-count-2 {
    grid-template-columns: repeat(2, 1fr) !important;
}

/* 4 obrázky — 2×2 grid */
.reference-gallery.gallery-count-4 {
    grid-template-columns: repeat(2, 1fr) !important;
}

/* Responsivní přizpůsobení */
@media (max-width: 767.98px) {
    .reference-gallery {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .reference-gallery.gallery-count-1 {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 575.98px) {
    .reference-gallery {
        grid-template-columns: 1fr !important;
    }

    .reference-gallery a {
        aspect-ratio: 16 / 10;
    }
}


/* ===== LIGHTBOX ===== */
.mevra-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: zoom-out;
}

.mevra-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.mevra-lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    cursor: default;
}

.mevra-lightbox.active img {
    transform: scale(1);
}

.mevra-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 1;
}

.mevra-lightbox-close:hover {
    background: rgba(255,255,255,0.3);
}

.mevra-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.mevra-lightbox-nav:hover {
    background: rgba(255,255,255,0.3);
}

.mevra-lightbox-prev {
    left: 1.5rem;
}

.mevra-lightbox-next {
    right: 1.5rem;
}

.mevra-lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 575.98px) {
    .mevra-lightbox img {
        max-width: 95vw;
        max-height: 75vh;
    }

    .mevra-lightbox-prev {
        left: 0.5rem;
    }

    .mevra-lightbox-next {
        right: 0.5rem;
    }
}


/* ===== FORM SUCCESS / ERROR MESSAGES ===== */
.form-success-msg {
    text-align: center;
    padding: 2.5rem 2rem;
    background: #f0faf0;
    border-radius: 10px;
    border: 1px solid #c3e6cb;
}
.form-success-msg i {
    font-size: 2.5rem;
    color: #28a745;
    display: block;
    margin-bottom: 0.75rem;
}
.form-success-msg h3 {
    color: #155724;
    margin-bottom: 0.5rem;
}
.form-success-msg p {
    color: #155724;
    margin: 0;
}
.form-error-msg {
    padding: 1.25rem 1.5rem;
    background: #fdf0f0;
    border-radius: 10px;
    border: 1px solid #f5c6cb;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.form-error-msg i {
    font-size: 1.4rem;
    color: #dc3545;
    flex-shrink: 0;
}
.form-error-msg p {
    color: #721c24;
    margin: 0;
}
.form-error-msg a {
    color: #721c24;
    font-weight: 600;
}
