﻿/* ========================================
   CSS VARIABLES - Brand colors & fonts
   ======================================== */
:root {
    /* Brand Colors */
    --brand-cream-color: #FFF4EC; /*255, 244, 236*/
    --brand-orange-color: #FF6B35; /*255, 107, 53 - 223, 68, 3*/
    --brand-blue-color: #004E89; /*0, 78, 137 - 8, 46, 101*/
    --brand-click-button: #F7C59F;
    --brand-light-blue-color: #1A659E;
    --brand-extralight-blue-color: #E5F5FF;
    --overlay-blue: rgba(12, 74, 138, 0.65);
    /* Typography */
    --bs-font-sans-serif: "Afacad", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.text-brand-orange {
    color: var(--brand-orange-color);
}

/* Shorter alias for consistency */
.text-orange {
    color: var(--brand-orange-color);
}

.text-light-blue {
    color: var(--brand-light-blue-color);
}

.text-blue {
    color: var(--brand-blue-color);
}

.text-black {
    color: black;
}

.bg-cream {
    background-color: var(--brand-cream-color);
}

.bg-gradient-blue-cream {
    background: linear-gradient(135deg, var(--brand-extralight-blue-color) 0%, var(--brand-cream-color) 100%);
}

.bg-gradient-gray {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Team member avatar styling */
.team-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    object-position: center 10%;
}

/* Role text styling (for team member roles) */
.role-text {
    color: var(--brand-light-blue-color);
    font-weight: 600;
}

/* Stat/metric value styling */
.stat-value {
    color: var(--brand-orange-color);
}

/* Display none utility */
.d-none-initial {
    display: none;
}

/* Card with light background */
.card-light {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

/* Iframe container */
.iframe-container {
    min-width: 320px;
    height: 800px;
    overflow: hidden;
}

/* Max width utilities */
.mw-90 {
    max-width: 90%;
}

.mw-700 {
    max-width: 700px;
}

/* Font size utilities */
.fs-1-5rem {
    font-size: 1.5rem;
}

.fs-2rem {
    font-size: 2rem;
}

/* Alert box with light blue styling */
.alert-rebranding {
    background-color: rgba(26, 101, 158, 0.05);
    border-left: 4px solid var(--brand-light-blue-color);
    border-radius: 8px;
}

/* Cursor utilities */
.cursor-pointer {
    cursor: pointer;
}

/* ========================================
   SCROLL PROGRESS BAR
   ======================================== */
.scroll-progress-bar {
    position: fixed;
    top: 80px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--brand-orange-color);
    z-index: 1000;
    transition: width 0.1s ease-out;
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--brand-orange-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

    .scroll-to-top.visible {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

    .scroll-to-top:hover {
        background: var(--brand-light-blue-color);
        transform: scale(1.1) translateY(-3px);
        box-shadow: 0 6px 20px rgba(26, 101, 158, 0.5);
    }

    .scroll-to-top:focus {
        outline: none;
        background: var(--brand-orange-color);
    }

        .scroll-to-top:focus:hover {
            background: var(--brand-light-blue-color);
        }

    .scroll-to-top:active {
        transform: scale(0.95);
    }

    .scroll-to-top i {
        transition: transform 0.3s ease;
    }

    .scroll-to-top:hover i {
        transform: translateY(-2px);
    }

/* ========================================
   GLOBAL BASE STYLES
   ======================================== */
html {
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
    font-size: 18px;
}

body {
    background-color: var(--brand-cream-color);
}

/* Container - remove default padding */
.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

/* ========================================
   FORMS - Floating labels & placeholders
   ======================================== */
.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.form-label {
    font-weight: 600;
    color: #222;
}

.form-control,
.form-select,
textarea.form-control {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 0.6rem;
}

    .form-control:focus,
    .form-select:focus,
    textarea.form-control:focus {
        border-color: var(--brand-light-blue-color);
        box-shadow: 0 0 0 0.15rem rgba(26, 101, 158, 0.20);
    }

/* Form validation */
.field-validation-error,
.text-danger.small {
    color: #c0392b !important;
}

.validation-summary-errors {
    background: #fff3f0;
    border: 1px solid #ffd9cf;
    color: #8a2a17;
    padding: 0.75rem 1rem;
    border-radius: 0.6rem;
}

/* ========================================
   TOPBAR - Logo & contact info
   ======================================== */
.topbar {
    background: var(--brand-cream-color);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    z-index: 1030;
}

    /* Sticky topbar styling - shadow when scrolling */
    .topbar.sticky-top {
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }

.topbar-logo {
    height: 10vh;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}
    

.topbar-avatar {
    width: 68px;
    height: 68px;
    object-fit: cover;
}

.topbar-caption {
    font-size: 0.90rem;
    font-weight: 500;
    color: var(--brand-blue-color);
    transition: color 0.3s ease;
}

.topbar-link {
    font-weight: 600;
    text-decoration: none;
    color: var(--brand-orange-color);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding: 0.25rem 0;
}

    .topbar-link:hover,
    .topbar-link:focus {
        color: var(--brand-blue-color);
        text-decoration: none;
    }

        .topbar-link:hover::after,
        .topbar-link:focus::after {
            width: 100%;
        }

        /* Icon animation on hover */
        .topbar-link:hover i,
        .topbar-link:focus i {
            transform: scale(1.15);
        }

    .topbar-link i {
        transition: transform 0.3s ease;
    }

/* Mobilní ikony tlačítka */
.topbar-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: var(--brand-orange-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

    /* Ripple effect background */
    .topbar-icon-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .topbar-icon-btn:hover::before {
        width: 100%;
        height: 100%;
    }

    .topbar-icon-btn:hover,
    .topbar-icon-btn:focus {
        background-color: var(--brand-blue-color);
        color: white;
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 6px 16px rgba(0, 78, 137, 0.4);
    }

    .topbar-icon-btn:active {
        transform: scale(0.95);
    }

    /* Icon animation */
    .topbar-icon-btn i {
        position: relative;
        z-index: 1;
        transition: transform 0.3s ease;
    }

    .topbar-icon-btn:hover i {
        transform: scale(1.1);
    }

/* ========================================
   NAVBAR - Main navigation with Glassmorphism
   ======================================== */
.navbar {
    /* Default state - fully opaque when at top */
    background: rgba(0, 78, 137, 1);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 80px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 78, 137, 0.2);
    transition: all 0.3s ease;
}

    /* Sticky navbar styling - positioned below topbar */
    .navbar.sticky-top {
        position: sticky;
        top: 0;
        z-index: 1020;
    }

    /* Glassmorphism when scrolled - 40% transparent (60% opacity) */
    .navbar.scrolled {
        background: rgba(0, 78, 137, 0.6);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        box-shadow: 0 8px 32px rgba(0, 78, 137, 0.25);
    }

.navbar-nav .nav-link {
    color: #fff;
    font-size: 1.3rem;
}

    /* Navigation hover & active states */
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus,
    .navbar .dropdown-item:hover,
    .navbar .dropdown-item:focus {
        color: var(--brand-orange-color) !important;
        background-color: transparent !important;
    }

    .navbar-nav .nav-link.active,
    .navbar .dropdown-item.active {
        color: var(--brand-orange-color) !important;
        background-color: transparent !important;
    }

/* Dropdown menu styling */
.navbar .dropdown-menu {
    background-color: var(--brand-light-blue-color);
    border: 0;
    border-radius: 0;
    padding: 0;
    margin-top: 0;
    min-width: 240px;
    z-index: 1030;
}

.navbar .dropdown-item {
    color: #fff;
    padding: 0.65rem 1rem;
    white-space: nowrap;
}

/* Dropdown toggle hover state */
#coUmimeDropdown:hover,
#coUmimeDropdown:active {
    background-color: transparent !important;
    color: var(--brand-orange-color) !important;
    transition: none !important;
}

/* Mobile navigation - submenu styling */
#mobileNavbar .dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#mobileNavbar .topbar-avatar {
    width: 48px;
    height: 48px;
    object-fit: cover;
}

#mobileNavbar .topbar-caption {
    font-size: 0.9rem;
    font-weight: 500;
}

#mobileNavbar .topbar-link {
    color: var(--brand-orange-color);
    text-decoration: none;
    font-weight: 600;
}

    #mobileNavbar .topbar-link:hover {
        text-decoration: underline;
    }

/* ========================================
   BUTTONS - Modern, accessible button styles
   ======================================== */

/* Base button enhancements */
.btn {
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
}

/* Remove margin for buttons in navigation */
nav .btn,
.navbar .btn,
.topbar .btn {
    margin-bottom: 0;
}

/* Primary orange button - Main CTA */
.btn-orange {
    background: linear-gradient(135deg, var(--brand-orange-color) 0%, #FF8C42 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

    .btn-orange::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }

    .btn-orange:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
        color: white;
    }

    .btn-orange:hover::before {
        left: 100%;
    }

    .btn-orange:active {
        transform: translateY(0);
    }

/* Brand blue button - Alternative CTA */
.btn-brand {
    background: linear-gradient(135deg, var(--brand-light-blue-color) 0%, var(--brand-blue-color) 100%);
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(26, 101, 158, 0.2);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

    .btn-brand::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }

    .btn-brand:hover::before {
        left: 100%;
    }

    .btn-brand:hover,
    .btn-brand:focus {
        background: linear-gradient(135deg, var(--brand-blue-color) 0%, #003666 100%);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 78, 137, 0.3);
    }

    .btn-brand:active {
        transform: translateY(0);
    }

/* Soft blue button variant */
.btn-soft-blue {
    background: #dbeafe;
    color: var(--brand-light-blue-color);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

    .btn-soft-blue:hover,
    .btn-soft-blue:focus {
        background: #bfdbfe;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(26, 101, 158, 0.15);
        color: var(--brand-light-blue-color);
    }

    .btn-soft-blue:active {
        transform: translateY(0);
    }

/* Bootstrap primary button override */
.btn-primary {
    background: linear-gradient(135deg, var(--brand-orange-color) 0%, #FF8C42 100%);
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

    .btn-primary::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }

    .btn-primary:hover::before {
        left: 100%;
    }

    .btn-primary:hover,
    .btn-primary:focus {
        background: linear-gradient(135deg, #FF8C42 0%, var(--brand-orange-color) 100%);
        border: none;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
        color: white;
    }

    .btn-primary:active {
        transform: translateY(0);
    }

/* Outline secondary button - Modern style */
.btn-outline-secondary {
    background: transparent;
    color: var(--brand-light-blue-color);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid var(--brand-light-blue-color);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    overflow: hidden;
}

    .btn-outline-secondary::after {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--brand-light-blue-color);
        border-radius: 6px;
        opacity: 0;
        z-index: -1;
        transition: opacity 0.3s ease;
    }

    .btn-outline-secondary:hover {
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(26, 101, 158, 0.2);
    }

    .btn-outline-secondary:hover::after {
        opacity: 1;
    }

    .btn-outline-secondary:active {
        transform: translateY(0);
    }

/* Outline orange button */
.btn-outline-orange {
    background: transparent;
    color: var(--brand-blue-color);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid var(--brand-blue-color);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    overflow: hidden;
}

    .btn-outline-orange::after {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--brand-blue-color);
        border-radius: 6px;
        opacity: 0;
        z-index: -1;
        transition: opacity 0.3s ease;
    }

    .btn-outline-orange:hover {
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 78, 137, 0.2);
    }

    .btn-outline-orange:hover::after {
        opacity: 1;
    }

    .btn-outline-orange:active {
        transform: translateY(0);
    }

/* Service button - For service links with arrow */
.btn-service {
    background: white;
    color: #1e293b;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 15px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
}

    .btn-service::after {
        content: '→';
        transition: transform 0.3s ease;
    }

    .btn-service:hover {
        background: #f8fafc;
        border-color: var(--brand-light-blue-color);
        color: var(--brand-light-blue-color);
        transform: translateX(4px);
    }

    .btn-service:hover::after {
        transform: translateX(4px);
    }

/* Outline primary button - With animated arrow and box-shadow */
.btn-outline-primary {
    background: transparent;
    color: var(--brand-orange-color);
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 15px;
    border: none;
    box-shadow: -6px 0 10px -4px rgba(255, 107, 53, 0.7);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

    .btn-outline-primary::after {
        content: '→';
        transition: transform 0.3s ease;
    }

    .btn-outline-primary::before {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--brand-orange-color);
        border-radius: 4px;
        opacity: 0;
        z-index: -1;
        transition: opacity 0.3s ease;
    }

    .btn-outline-primary:hover {
        color: white;
        transform: translateX(4px);
        box-shadow: -6px 0 10px -4px rgba(255, 107, 53, 0.9), 0 4px 12px rgba(255, 107, 53, 0.2);
    }

    .btn-outline-primary:hover::before {
        opacity: 1;
    }

    .btn-outline-primary:hover::after {
        transform: translateX(4px);
    }

    .btn-outline-primary:active {
        transform: translateX(0);
    }

/* Contact button - Green accent */
.btn-contact {
    background: #10b981;
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

    .btn-contact:hover {
        background: #059669;
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
        color: white;
    }

/* Ghost button - Subtle style */
.btn-ghost {
    background: transparent;
    color: #64748b;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 15px;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

    .btn-ghost:hover {
        background: #f1f5f9;
        color: #1e293b;
    }

/* Small button size */
.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 6px;
}

/* Circular button (for carousel controls) */
.btn-circle {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .btn-circle:hover {
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    }

    .btn-circle:active {
        transform: scale(0.95);
    }

    .btn-circle i {
        position: relative;
        z-index: 1;
        transition: transform 0.3s ease;
    }

    .btn-circle:hover i {
        transform: scale(1.1);
    }

    .btn-circle:focus,
    .btn-circle:active:focus,
    .btn-circle:focus:not(:focus-visible) {
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.3) !important;
    }

/* Fix for buttons with reveal animations - ensure hover works */

/* Buttons with translateY hover effect */
.btn-orange.blur-reveal.active:hover,
.btn-orange.blur-reveal-text.active:hover,
.btn-orange.blur-reveal-heading.active:hover,
.btn-orange.reveal.active:hover,
.btn-orange.reveal-fade-up.active:hover,
.btn-brand.blur-reveal.active:hover,
.btn-brand.blur-reveal-text.active:hover,
.btn-brand.reveal.active:hover,
.btn-soft-blue.blur-reveal.active:hover,
.btn-soft-blue.reveal.active:hover,
.btn-primary.blur-reveal.active:hover,
.btn-primary.reveal.active:hover,
.btn-outline-secondary.blur-reveal.active:hover,
.btn-outline-secondary.reveal.active:hover,
.btn-outline-orange.blur-reveal.active:hover,
.btn-outline-orange.reveal.active:hover {
    transform: translateY(-2px) !important;
}

/* Buttons with translateX hover effect (service, outline-primary) */
.btn-service.blur-reveal.active:hover,
.btn-service.blur-reveal-text.active:hover,
.btn-service.reveal.active:hover,
.btn-outline-primary.blur-reveal.active:hover,
.btn-outline-primary.blur-reveal-text.active:hover,
.btn-outline-primary.reveal.active:hover {
    transform: translateX(4px) !important;
}

/* Buttons with scale hover effect (contact, circle) */
.btn-contact.blur-reveal.active:hover,
.btn-contact.reveal.active:hover {
    transform: scale(1.05) !important;
}

.btn-circle.blur-reveal.active:hover,
.btn-circle.blur-reveal-text.active:hover,
.btn-circle.reveal.active:hover {
    transform: scale(1.1) !important;
}

/* Global focus styles */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem #fff, 0 0 0 0.25rem #258cfb;
}

/* ========================================
   HERO SECTIONS - Content pages
   ======================================== */
.content-hero .container {
    position: relative;
    z-index: 2;
}

.content-hero h1 {
    letter-spacing: 0.3px;
    color: var(--brand-orange-color);
}

/* Contact page hero */
.contact-hero {
    position: relative;
    min-height: 30vh;
    background: url('/img/content-hero-contact.jpg') no-repeat center / cover;
}

    .contact-hero .overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, var(--brand-blue-color), #00142300);
    }

/* What section - hero with photo */
.what-section {
    padding-top: 2rem;
}

    .what-section .hero-photo {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: cover;
    }

/* Who/About page hero */
.who-hero {
    background: var(--brand-cream-color);
}

    .who-hero h1 {
        letter-spacing: 0.3px;
    }

.who-img,
.who-img-wide {
    width: 60%;
    object-fit: cover;
}

.who-img {
    max-height: 420px;
}

.who-img-wide {
    max-height: 360px;
}
/* ========================================
   STATS STRIP - Numerical statistics
   ======================================== */
.stats-strip {
    background-color: var(--brand-blue-color);
    color: #fff;
    position: relative;
    z-index: 2;
}

    .stats-strip .stat-value {
        line-height: 1;
    }

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-brand {
    color: var(--brand-blue-color);
}

.not-italic {
    font-style: normal;
}

.quote-mark {
    color: var(--brand-orange-color);
}

/* ========================================
   HELP SECTION - Service blocks
   ======================================== */
.help-section {
    overflow: hidden;
}

.help-block {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: 100%;
}

    /* Ensure button stays at bottom regardless of list length */
    .help-block .btn {
        margin-top: auto;
    }

/* Mobile single block display container */
.help-scroll-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
}

.help-scroll-container {
    position: relative;
    width: 100%;
    max-width: 360px;
    min-height: 480px;
    margin-bottom: 1rem;
}

    .help-scroll-container .help-block {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 480px; /* Jednotná výška pro všechny bloky */
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
    }

        .help-scroll-container .help-block.active {
            opacity: 1;
            visibility: visible;
            position: relative;
        }

/* Modern Progress Dots Navigation */
.help-nav-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
}

.help-progress-dot {
    position: relative;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--brand-light-blue-color);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 0 8px rgba(26, 101, 158, 0.3);
}

    /* Explicitní reset pro neaktivní doty */
    .help-progress-dot:not(.active) {
        background: var(--brand-light-blue-color) !important;
        box-shadow: 0 0 8px rgba(26, 101, 158, 0.3) !important;
        width: 16px;
        height: 16px;
    }

    .help-progress-dot:hover {
        transform: scale(1.2);
        background: var(--brand-orange-color) !important;
        box-shadow: 0 0 12px rgba(255, 127, 42, 0.5) !important;
    }

    .help-progress-dot.active {
        width: 20px;
        height: 20px;
        background: var(--brand-orange-color);
        animation: color-countdown 20s linear forwards;
    }

/* Color countdown - přechod z oranžové do modré */
@keyframes color-countdown {
    0% {
        background-color: var(--brand-orange-color);
        box-shadow:
            0 0 8px rgba(255, 127, 42, 0.5),
            0 0 16px rgba(255, 127, 42, 0.4),
            0 0 24px rgba(255, 127, 42, 0.3);
    }
    100% {
        background-color: var(--brand-light-blue-color);
        box-shadow:
            0 0 8px rgba(26, 101, 158, 0.5),
            0 0 16px rgba(26, 101, 158, 0.4),
            0 0 24px rgba(26, 101, 158, 0.3);
    }
}

/* Pulse animation for active dot center */
@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Help carousel indicators - vertical lines */
.help-carousel-indicators {
    position: static;
    margin-top: 1rem;
    margin-bottom: 0;
    /* Zarovnání na spodní hranu – efekt "roste nahoru" */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 8px;
}

    .help-carousel-indicators button {
        width: 10px !important;
        height: 18px !important;
        background-color: var(--brand-light-blue-color) !important;
        border: none;
        opacity: 1;
        cursor: pointer;
        padding: 0;
        /* Růst pouze směrem nahoru */
        transform-origin: bottom center;
        transition: height 0.25s ease, background-color 0.25s ease, opacity 0.25s ease;
    }

        .help-carousel-indicators button.active {
            background-color: var(--brand-orange-color) !important;
            height: 28px !important;
            animation: pulse-line 2s ease-in-out infinite;
        }

        .help-carousel-indicators button:hover {
            background-color: var(--brand-click-button) !important;
            height: 24px !important;
        }



/* Pulse animation for active line */
@keyframes pulse-line {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* ========================================
   STRATEGY BOX - Tax strategy section
   ======================================== */
.strategy-box .row {
    background-color: var(--brand-extralight-blue-color);
}

.icon-head {
    color: var(--brand-light-blue-color);
    max-width: 50%;
    height: auto;
}

/* ========================================
   TESTIMONIALS - Client reviews
   ======================================== */
.testimonials-section {
    min-height: 265px;
}

    .testimonials-section .testimonial-card {
        position: relative;
        max-width: 640px;
        padding: 1.25rem 1.25rem 1rem;
        background-color: var(--brand-cream-color, #fff4ec);
        border-left: 0.35rem solid var(--brand-orange-color, #ff6b35);
        border-radius: 1rem;
    }

        .testimonials-section .testimonial-card .quote-icon {
            position: absolute;
            top: 0.5rem;
            right: 0.75rem;
            font-size: clamp(2rem, 3vw + 0.25rem, 3rem);
            line-height: 1;
            color: var(--brand-orange-color, #ff6b35);
            opacity: 0.9;
            pointer-events: none;
            margin: 0;
        }

.testimonial-card p {
    color: #222;
}

.testimonials-section .carousel-item {
    transition: transform 0.6s ease, opacity 0.6s ease;
}

/* Fixní výška carousel, aby se sekce nepohybovala při přepínání */
.testimonials-section .row {
    min-height: 600px;
}

@media (min-width: 768px) {
    .testimonials-section .row {
        min-height: 250px;
    }
}

@media (min-width: 992px) {
    .testimonials-section .row {
        min-height: 220px;
    }
}

/* ========================================
   BRANDS - Client/partner logos
   ======================================== */
.brands .brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brands .brand-img {
    max-height: 48px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.brands .brand-item:hover {
    transform: translateY(-1px);
    filter: grayscale(100%);
    opacity: 0.75;
}

    .brands .brand-item:hover .brand-img {
        filter: none;
        opacity: 1;
    }

/* ========================================
   FOOTER - Site footer
   ======================================== */
.site-footer {
    background: var(--brand-blue-color);
    color: #fff;
}

.footer-links a {
    display: inline-block;
    padding: 0.25rem 0;
    color: var(--footer-muted, #E5F5FF);
    text-decoration: none;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

    .footer-links a:hover {
        color: var(--brand-orange-color);
    }

.footer-hr {
    border-top-color: var(--brand-light-blue-color);
}

/* Social media buttons */
.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 0.6rem;
    background: #fff;
    color: var(--brand-blue-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    /* Ripple effect for social buttons */
    .social-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: var(--brand-light-blue-color);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
        z-index: 0;
    }

    .social-btn:hover::before {
        width: 100%;
        height: 100%;
    }

    .social-btn:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 8px 20px rgba(0, 78, 137, 0.25);
        color: #fff;
    }

    .social-btn:active {
        transform: translateY(0) scale(1);
    }

    .social-btn i {
        position: relative;
        z-index: 1;
        transition: transform 0.3s ease;
    }

    .social-btn:hover i {
        transform: scale(1.15) rotate(-5deg);
    }

.social-btn--sm {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
}

    .social-btn--sm::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: var(--brand-light-blue-color);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
        z-index: 0;
    }

    .social-btn--sm:hover::before {
        width: 100%;
        height: 100%;
    }

/* Rostecký mentoring badge */
.rostecky-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.rostecky-logo {
    height: 20px;
    width: auto;
    transition: transform 0.2s ease;
}

    .rostecky-logo:hover {
        transform: scale(1.05);
    }

/* ========================================
   WHO WE ARE - About page sections
   ======================================== */
.who-intro {
    background: var(--brand-cream-color);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.who-blocks p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.why-us {
    background: var(--brand-blue-color);
}

    .why-us i {
        color: #fff;
    }

    .why-us p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

/* ========================================
   WHAT WE DO - Services section
   ======================================== */
.what-we-do {
    background: var(--brand-cream-color);
}

.wwd-bullet {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--brand-blue-color);
    color: #fff;
    flex: 0 0 22px;
    margin-top: 0.2rem;
}

.wwd-item span:last-child {
    line-height: 1.6;
    color: #111;
    font-size: 0.98rem;
}

/* ========================================
   EXPERIENCES - Case studies & cards
   ======================================== */
.link-brand {
    color: var(--brand-light-blue-color);
}

.exp-card .exp-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.exp-read {
    color: #111;
    text-decoration: none;
}

    .exp-read:hover {
        text-decoration: underline;
    }

.exp-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .exp-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    }

/* Case study cards */
.study-card {
    background: #fff;
    border-radius: 0.9rem;
    padding: 1.25rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .study-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.09);
    }

.study-badge {
    display: inline-block;
    font-size: 0.8rem;
    line-height: 1;
    padding: 0.4rem 0.6rem;
    border-radius: 0.4rem;
    background: var(--brand-extralight-blue-color);
    color: var(--brand-light-blue-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

/* Quote band for testimonials */
.quote-band {
    background: var(--brand-extralight-blue-color);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

    .quote-band p {
        color: #222;
    }

.quote-band__quote,
.quote-band__author {
    color: var(--brand-blue-color);
}

/* ========================================
   MAKE - What we create section
   ======================================== */
.make-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

    .make-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
        border-color: var(--brand-light-blue-color);
    }

.make-card--wide {
    padding: 2rem;
}

    .make-card--wide .tag-badge {
        font-size: 0.85rem;
    }

.tag-badge {
    display: inline-block;
    font-size: 0.75rem;
    line-height: 1.2;
    padding: 0.4rem 0.75rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--brand-extralight-blue-color) 0%, #E8F4FD 100%);
    color: var(--brand-blue-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border: 1px solid rgba(26, 101, 158, 0.15);
}

/* ========================================
   FAQ / ACCORDION
   ======================================== */
.accordion-faq .accordion-item {
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    background: transparent;
}

    .accordion-faq .accordion-item:last-child {
        border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    }

.accordion-faq .accordion-button {
    background: transparent;
    padding: 1rem 0;
    box-shadow: none !important;
    color: #111;
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

    .accordion-faq .accordion-button:hover,
    .accordion-faq .accordion-button:focus {
        color: var(--brand-orange-color);
        background: transparent;
        box-shadow: none;
    }

    .accordion-faq .accordion-button::after {
        display: none;
    }

/* Smooth collapse animation */
.accordion-faq .accordion-collapse {
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-faq .accordion-body {
    padding: 0 0 1rem 0;
    color: #3b3b3b;
    line-height: 1.7;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

/* Animate body when shown */
.accordion-faq .accordion-collapse.show .accordion-body,
.accordion-faq .accordion-collapse.collapsing .accordion-body {
    opacity: 1;
    transform: translateY(0);
}

/* Reset animation when closing */
.accordion-faq .accordion-collapse:not(.show) .accordion-body {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Custom circular toggle indicator */
.faq-circle {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--brand-blue-color);
    margin-left: 1rem;
    flex: 0 0 28px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .faq-circle::before,
    .faq-circle::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 14px;
        height: 2px;
        background: var(--brand-blue-color);
        transform: translate(-50%, -50%);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .faq-circle::after {
        width: 2px;
        height: 14px;
        transform: translate(-50%, -50%) rotate(0deg);
    }

/* Opened state - smooth rotation and color change */
.accordion-button:not(.collapsed) .faq-circle {
    background: var(--brand-blue-color);
    border-color: var(--brand-blue-color);
    transform: rotate(180deg);
}

    .accordion-button:not(.collapsed) .faq-circle::before {
        background: #fff;
    }

    .accordion-button:not(.collapsed) .faq-circle::after {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(90deg);
    }

/* Hover effect on circle */
.accordion-faq .accordion-button:hover .faq-circle {
    border-color: var(--brand-orange-color);
    transform: scale(1.1);
}

    .accordion-faq .accordion-button:hover .faq-circle::before,
    .accordion-faq .accordion-button:hover .faq-circle::after {
        background: var(--brand-orange-color);
    }

.accordion-button:not(.collapsed):hover .faq-circle {
    transform: rotate(180deg) scale(1.1);
}

    .accordion-button:not(.collapsed):hover .faq-circle::before,
    .accordion-button:not(.collapsed):hover .faq-circle::after {
        background: #fff;
    }

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-card {
    background: #fff;
    border: 0;
    border-radius: 0.9rem;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.contact-list p {
    margin-bottom: 0.35rem;
    color: #111;
}

.contact-list i {
    color: var(--brand-light-blue-color);
    margin-right: 0.4rem;
}

.contact-list a:focus-visible {
    outline: 3px solid rgba(255, 107, 53, 0.4);
    outline-offset: 3px;
}

.map-embed {
    border: 0;
    border-radius: 0.9rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* ========================================
   ALERTS
   ======================================== */
.alert-success {
    background: #effaf2;
    border: 1px solid #d0f0d9;
    color: #1e7b3a;
}

.alert-danger {
    background: #fff3f0;
    border: 1px solid #ffd9cf;
    color: #8a2a17;
}

/* ========================================
   VIDEO ARCHIVE
   ======================================== */
.video-thumbnail {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.video-embed-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ========================================
   BLOG / ARTICLE DETAIL
   ======================================== */
.article-detail-page .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.article-detail-page .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
}

.article-detail-page .breadcrumb-item a {
    color: var(--brand-blue-color);
    text-decoration: none;
}

.article-detail-page .breadcrumb-item a:hover {
    color: var(--brand-orange-color);
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #2c3e50;
}

.article-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand-blue-color);
}

.article-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.875rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--brand-blue-color);
}

.article-content p {
    margin-bottom: 1.25rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.75rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid var(--brand-orange-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #555;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.article-content code {
    background-color: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.9em;
    color: #d63384;
}

.article-content pre {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.article-content pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
}

.article-content a {
    color: var(--brand-blue-color);
    text-decoration: underline;
}

.article-content a:hover {
    color: var(--brand-orange-color);
}

.article-content strong {
    font-weight: 600;
    color: #1a1a1a;
}

.article-content table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
}

.article-content th,
.article-content td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    text-align: left;
}

.article-content th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.article-hero-img {
    max-height: 500px;
    object-fit: cover;
}

.article-cta.sticky-top {
    top: 90px;
}

.article-icon-orange {
    color: var(--brand-orange-color);
}

.article-author-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.article-card-image {
    height: 200px;
    object-fit: cover;
}

/* ========================================
   ARTICLE CONTENT - Typography & layout
   ======================================== */
.article-body {
    color: #111;
    line-height: 1.75;
    font-size: 1.025rem;
}

    .article-body p {
        margin-bottom: 1rem;
    }

    .article-body h2,
    .article-body h3,
    .article-body h4 {
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
        letter-spacing: 0.2px;
    }

/* Article CTA sidebar */
.article-cta {
    background: var(--brand-extralight-blue-color);
    border-radius: 0.9rem;
    padding: 1rem 1rem 0.9rem;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.article-cta-avatar {
    width: 54px;
    height: 54px;
    object-fit: cover;
}

.contact-chip {
    color: var(--brand-light-blue-color);
    text-decoration: none;
    font-weight: 600;
}

    .contact-chip:hover {
        text-decoration: underline;
    }

.article-cta-list li {
    display: flex;
    align-items: start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #111;
}

.article-cta-list i {
    font-size: 0.6rem;
    line-height: 1.6;
    color: var(--brand-light-blue-color);
}

/* ========================================
   COOKIE BANNER & MODAL
   ======================================== */

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a659e 0%, #0d3a5c 100%);
    color: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner--visible {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner__content {
    padding: 1.25rem 0;
}

.cookie-banner__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
}

.cookie-banner__text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-banner__link {
    color: var(--brand-orange-color);
    text-decoration: underline;
    font-weight: 500;
}

    .cookie-banner__link:hover {
        color: #ff8c42;
        text-decoration: none;
    }

.cookie-banner__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

    .cookie-banner__actions .btn {
        white-space: nowrap;
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.cookie-modal--visible .cookie-modal__overlay {
    background: rgba(0, 0, 0, 0.6);
}

.cookie-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    z-index: 1;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-modal--visible .cookie-modal__dialog {
    transform: scale(1);
    opacity: 1;
}

.cookie-modal__content {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.cookie-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cookie-modal__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-blue-color);
    margin: 0;
}

.cookie-modal__close {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    transition: color 0.2s ease;
}

    .cookie-modal__close:hover {
        color: #000;
    }

.cookie-modal__body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.cookie-category {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

    .cookie-category:last-of-type {
        border-bottom: none;
    }

    .cookie-category h6 {
        font-size: 1rem;
        color: #212529;
    }

    .cookie-category .form-check-input {
        width: 3rem;
        height: 1.5rem;
        cursor: pointer;
    }

        .cookie-category .form-check-input:disabled {
            cursor: not-allowed;
            opacity: 0.6;
        }

.cookie-modal__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: #f8f9fa;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

/* ===== Tables: fix overflow & wrap ===== */
.table-fixed {
    table-layout: fixed;
    width: 100%;
}

    .table-fixed th,
    .table-fixed td {
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: anywhere;
    }

/* Dlouhé řetězce uvnitř <code> se mohou lámat kdekoliv */
.table code {
    word-break: break-all;
}

/* ========================================
   OFF-CANVAS MOBILE MENU
   ======================================== */
.offcanvas-menu {
    position: fixed;
    top: 0;
    right: -100%;
    max-width: 80vw;
    height: 100vh;
    background: linear-gradient(90deg, var(--brand-extralight-blue-color) -40%, var(--brand-blue-color) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: -10px 0 32px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: right 0.5s cubic-bezier(0.7, 0, 0.2, 1);
    overflow-y: auto;
    padding: 2rem 0;
}

.offcanvas-menu.show {
    right: 0;
}

.offcanvas-menu__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.offcanvas-menu__overlay.show {
    background: rgba(0, 0, 0, 0.6);
    opacity: 1;
    visibility: visible;
}

.offcanvas-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.offcanvas-menu__logo {
    height: 40px;
    width: auto;
}

.offcanvas-menu__close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.offcanvas-menu__close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.offcanvas-menu__nav {
    list-style: none;
    padding: 1.5rem 0 0 0;
    margin: 0;
}

.offcanvas-menu__item {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.offcanvas-menu.show .offcanvas-menu__item {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animation for menu items */
.offcanvas-menu.show .offcanvas-menu__item:nth-child(1) { transition-delay: 0.1s; }
.offcanvas-menu.show .offcanvas-menu__item:nth-child(2) { transition-delay: 0.15s; }
.offcanvas-menu.show .offcanvas-menu__item:nth-child(3) { transition-delay: 0.2s; }
.offcanvas-menu.show .offcanvas-menu__item:nth-child(4) { transition-delay: 0.25s; }
.offcanvas-menu.show .offcanvas-menu__item:nth-child(5) { transition-delay: 0.3s; }
.offcanvas-menu.show .offcanvas-menu__item:nth-child(6) { transition-delay: 0.35s; }
.offcanvas-menu.show .offcanvas-menu__item:nth-child(7) { transition-delay: 0.4s; }

.offcanvas-menu__link {
    display: block;
    color: white;
    text-decoration: none;
    padding: 0.875rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.offcanvas-menu__link:hover,
.offcanvas-menu__link.active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--brand-blue-color);
    padding-left: 2rem;
}

.offcanvas-menu__link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--brand-orange-color);
    transition: height 0.3s ease;
}

.offcanvas-menu__link:hover::before,
.offcanvas-menu__link.active::before {
    height: 70%;
}

/* Submenu styling */
.offcanvas-menu__submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(0, 0, 0, 0.2);
}

.offcanvas-menu__submenu.show {
    max-height: 500px;
}

.offcanvas-menu__submenu .offcanvas-menu__link {
    font-size: 1rem;
    padding-left: 2.5rem;
}

.offcanvas-menu__submenu .offcanvas-menu__link:hover {
    padding-left: 3rem;
}

.offcanvas-menu__toggle {
    background: none;
    border: none;
    color: white;
    padding: 0.875rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.offcanvas-menu__toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--brand-blue-color);
}

.offcanvas-menu__toggle i {
    transition: transform 0.3s ease;
}

.offcanvas-menu__toggle.active i {
    transform: rotate(180deg);
}

.offcanvas-menu__cta {
    padding: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.offcanvas-menu__cta .btn-orange {
    width: 100%;
    font-size: 1.125rem;
}

/* Hamburger menu button enhancement */
.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    border-color: var(--brand-orange-color);
    background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */
/*
  XS:  0 – 575.98px
  SM:  576 – 767.98px
  MD:  768 – 991.98px
  LG:  992 – 1199.98px
  XL:  1200 – 1399.98px
  XXL: 1400px+
*/

/* <= 991.98px (mobily + tablety + menší notebooky) */
@media (max-width: 991.98px) {
    .what-we-do h2 {
        font-size: 1.6rem;
    }

    #mobileNavbar .btn-orange {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .hero-photo {
        margin-bottom: -30px;
    }
}

/* <= 767.98px (mobily + malé tablety) */
@media (max-width: 767.98px) {
    /* Scroll-to-top – menší tlačítko na mobilech */
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1.3rem;
    }

    /* What section – centrovaná fotka, menší velikost */
    .what-section .hero-photo {
        max-width: 85%;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    /* Cookie banner & modal */
    .cookie-banner__content {
        padding: 1rem 0;
    }

    .cookie-banner__title {
        font-size: 1rem;
    }

    .cookie-banner__text {
        font-size: 0.85rem;
    }

    .cookie-banner__actions {
        justify-content: stretch;
    }

        .cookie-banner__actions .btn {
            flex: 1;
            font-size: 0.85rem;
            padding: 0.45rem 0.75rem;
        }

    .cookie-modal__dialog {
        max-width: 100%;
        margin: 0;
    }

    .cookie-modal__header,
    .cookie-modal__body,
    .cookie-modal__footer {
        padding: 1.25rem;
    }

    .cookie-modal__footer {
        flex-direction: column;
    }

        .cookie-modal__footer .btn {
            width: 100%;
        }
}

/* <= 575.98px (XS – mobily na výšku) */
@media (max-width: 575.98px) {
    /* Topbar zmenšený na mobilu */
    .topbar {
        padding: 0.6rem 0;
    }

        .topbar.sticky-top {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

    .topbar-logo {
        height: 40px;
    }

        /* Disable logo hover scale on mobile for better touch experience */
        .topbar-logo:hover {
            transform: none;
        }

    .topbar-avatar {
        width: 40px;
        height: 40px;
    }

    .topbar-caption {
        font-size: 0.9rem;
    }

    /* Mobile icon buttons - větší touch target */
    .topbar-icon-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Méně agresivní hover animace na mobilech */
    .btn:hover {
        transform: none;
    }

    .btn-orange:hover,
    .btn-brand:hover,
    .btn-soft-blue:hover,
    .btn-primary:hover {
        transform: none;
    }

    .btn-circle:hover {
        transform: scale(1.05);
    }

    .social-btn:hover {
        transform: translateY(-2px);
    }

    .stats-strip {
        margin-top: -60px;
    }

    .contact-hero {
        min-height: 24vh;
    }

    /* Cookie banner – XS layout */
    .cookie-banner__actions {
        width: 100%;
    }

        .cookie-banner__actions .btn {
            font-size: 0.8rem;
        }

    /* Tabulky – lépe čitelné na XS */
    .table-fixed th,
    .table-fixed td {
        padding: .5rem .6rem;
        font-size: .95rem;
    }

    /* Stacked "cards" tabulka pro XS */
    .table-stack-xs thead {
        display: none;
    }

    .table-stack-xs tbody,
    .table-stack-xs tr,
    .table-stack-xs td {
        display: block;
        width: 100%;
    }

    .table-stack-xs tr {
        margin-bottom: .75rem;
        border: 1px solid rgba(0,0,0,.125);
        border-radius: .5rem;
        overflow: hidden;
        background: #fff;
    }

    .table-stack-xs td {
        display: flex;
        gap: .75rem;
        justify-content: space-between;
        align-items: flex-start;
        padding: .6rem .75rem;
        border-bottom: 1px solid rgba(0,0,0,.06);
    }

        .table-stack-xs td:last-child {
            border-bottom: 0;
        }

        /* Levý "štítek" ze jména sloupce */
        .table-stack-xs td::before {
            content: attr(data-label);
            font-weight: 600;
            flex: 0 0 44%;
            color: #212529;
        }

        /* Hodnota vpravo – může se lámat a zabrat zbytek */
        .table-stack-xs td > *:not(.mobile-label) {
            flex: 1 1 auto;
            text-align: right;
            overflow-wrap: anywhere;
        }

    /* Dlouhé kódy cookie */
    .table-stack-xs code {
        word-break: break-all;
    }

    /* What section – na úplně malých displejích */
    .what-section .hero-photo {
        margin-bottom: 60px;
    }
}

/* 768px – 991.98px (MD – tablety) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .what-section .hero-photo {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}

/* >= 768px (MD+ – tablety + desktop with 3 columns) */
@media (min-width: 768px) {
    .help-row {
        position: relative;
    }

    .help-block {
        max-width: none;
        margin: 0;
    }

    /* First column (MSF) - border right */
    .help-row .col-md-4:nth-child(1) {
        border-right: 1px solid #CDCDCD;
        padding-right: 2rem;
    }

    /* Second column (OSVČ) - border right */
    .help-row .col-md-4:nth-child(2) {
        border-right: 1px solid #CDCDCD;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    /* Third column (Strategie) - no border, only left padding */
    .help-row .col-md-4:nth-child(3) {
        padding-left: 2rem;
    }
}

/* 992px – 1399.98px (LG + XL – klasické desktopy) */
@media (min-width: 992px) and (max-width: 1399.98px) {
    .hero-photo {
        margin-bottom: -165px;
    }
}

/* >= 992px (LG+ – desktop & výš) */
@media (min-width: 992px) {
    .py-lg-6 {
        padding-top: 4.5rem !important;
        padding-bottom: 4.5rem !important;
    }

    .brands .brand-img {
        max-height: 56px;
    }

    /* Desktop: schovat mobilní navigaci */
    #mobileNavbar {
        display: none !important;
    }

    /* Dropdown na hover na desktopu */
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
    }

    .navbar .dropdown:hover > .nav-link {
        color: var(--brand-orange-color);
    }

    .who-hero {
        padding-top: 4rem !important;
        padding-bottom: 2rem !important;
    }

    .navbar-nav .nav-link {
        font-size: 20px;
    }

    /* Sticky sidebar pro article CTA */
    .article-cta {
        position: sticky;
        top: 90px;
    }
}

/* ========================================
   HANDWRITTEN TEXT STYLE
   ======================================== */
.handwritten-text {
    font-family: 'Caveat', cursive;
    font-size: 1.35em;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.3;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

    /* Hover efekt - jemný náklon a zvětšení */
    .handwritten-text:hover {
        transform: scale(1.05) rotate(-1deg);
        text-shadow: 2px 2px 8px rgba(255, 107, 53, 0.3);
    }

    /* Animované podtržení */
    .handwritten-text::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--brand-orange-color), var(--brand-click-button));
        transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .handwritten-text:hover::after {
        width: 100%;
    }

/* ========================================
   MODERN TEXT EFFECTS
   ======================================== */

/* Gradient text effect */
.text-gradient {
    background: linear-gradient(135deg, var(--brand-orange-color) 0%, var(--brand-light-blue-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.text-gradient-orange {
    background: linear-gradient(135deg, var(--brand-orange-color) 0%, #FF8C42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Fade-in animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll reveal classes */
.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
}

.reveal-fade-up {
    opacity: 0;
    transform: translateY(40px);
}

.reveal-fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-slide-left {
    opacity: 0;
    transform: translateX(-60px);
}

.reveal-slide-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-slide-right {
    opacity: 0;
    transform: translateX(60px);
}

.reveal-slide-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger animation delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Elegant link hover effect */
.link-elegant {
    position: relative;
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

    .link-elegant::before {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--brand-orange-color), var(--brand-light-blue-color));
        transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .link-elegant:hover::before {
        width: 100%;
    }

    .link-elegant:hover {
        color: var(--brand-orange-color);
    }

/* Text shimmer effect */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.text-shimmer {
    background: linear-gradient(
        90deg,
        var(--brand-blue-color) 0%,
        var(--brand-light-blue-color) 25%,
        var(--brand-orange-color) 50%,
        var(--brand-light-blue-color) 75%,
        var(--brand-blue-color) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* Typing cursor effect */
.typing-cursor::after {
    content: '|';
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

/* ========================================
   TEXT BLUR REVEAL EFFECT
   ======================================== */

/* Blur reveal animation */
.blur-reveal {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.blur-reveal.active {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Blur reveal for headings - stronger effect */
.blur-reveal-heading {
    opacity: 0;
    filter: blur(15px);
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.blur-reveal-heading.active {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Blur reveal for text - subtle effect */
.blur-reveal-text {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(15px);
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.blur-reveal-text.active {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Blur reveal with delays for staggered effect */
.blur-delay-1 { transition-delay: 0.15s; }
.blur-delay-2 { transition-delay: 0.3s; }
.blur-delay-3 { transition-delay: 0.45s; }
.blur-delay-4 { transition-delay: 0.6s; }
.blur-delay-5 { transition-delay: 0.75s; }

/* Blur reveal from left */
.blur-reveal-left {
    opacity: 0;
    filter: blur(10px);
    transform: translateX(-40px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.blur-reveal-left.active {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}

/* Blur reveal from right */
.blur-reveal-right {
    opacity: 0;
    filter: blur(10px);
    transform: translateX(40px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.blur-reveal-right.active {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}

/* Blur scale reveal - zoom in effect */
.blur-reveal-scale {
    opacity: 0;
    filter: blur(12px);
    transform: scale(0.95);
    transition: all 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.blur-reveal-scale.active {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

/* ========================================
   SOFTWARE SECTION - Software logos
   ======================================== */
.software-section {
    background: var(--brand-cream-color);
}

.software-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 1rem;
    min-height: 120px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.software-logo-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    background: var(--brand-extralight-blue-color);
}

.software-logo {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(0%) opacity(0.85);
}

.software-logo-wrapper:hover .software-logo {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .software-logo-wrapper {
        min-height: 100px;
        padding: 1rem;
    }

    .software-logo {
        max-height: 60px;
    }
}

/* ========================================
   COMPANY NAME CHANGE NOTIFICATION BANNER
   ======================================== */
.company-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.company-banner__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.4s ease;
}

.company-banner--visible .company-banner__overlay {
    background: rgba(0, 0, 0, 0.7);
}

.company-banner__dialog {
    position: relative;
    width: 100%;
    max-width: 600px;
    z-index: 1;
    transform: scale(0.8) translateY(-30px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

.company-banner--visible .company-banner__dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.company-banner__content {
    background: #ffffff;
    border-radius: 1.25rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.company-banner__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: all 0.2s ease;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.company-banner__close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000;
    transform: rotate(90deg);
}

.company-banner__header {
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--brand-extralight-blue-color) 0%, var(--brand-cream-color) 100%);
}

.company-banner__icon {
    font-size: 3rem;
    color: var(--brand-light-blue-color);
    margin-bottom: 0.7rem;
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.company-banner__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand-blue-color);
    margin: 0;
    line-height: 1.3;
}

.company-banner__body {
    padding: 2rem;
    color: #495057;
    font-size: 1rem;
    line-height: 1.7;
}

.company-banner__body p {
    margin-bottom: 1rem;
}

.company-banner__body p:last-child {
    margin-bottom: 0;
}

.company-banner__footer {
    padding: 1.5rem 2rem;
    text-align: center;
    background: #f8f9fa;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.company-banner__footer .btn {
    min-width: 150px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .company-banner__header {
        padding: 2rem 1.5rem 1rem;
    }

    .company-banner__icon {
        font-size: 3rem;
    }

    .company-banner__title {
        font-size: 1.5rem;
    }

    .company-banner__body {
        padding: 1.5rem;
        font-size: 0.95rem;
    }

    .company-banner__footer {
        padding: 1.25rem 1.5rem;
    }

    .company-banner__close {
        top: 0.75rem;
        right: 0.75rem;
        font-size: 1.25rem;
        width: 36px;
        height: 36px;
    }
}

/* Fade out animation when closing */
.company-banner--closing .company-banner__overlay {
    background: rgba(0, 0, 0, 0);
}

.company-banner--closing .company-banner__dialog {
    transform: scale(0.8) translateY(-30px);
    opacity: 0;
}

.company-banner__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
}

.company-banner__logo {
    height: 36px;
    max-width: 160px;
    object-fit: contain;
}

.company-banner__logo-arrow {
    font-size: 20px;
    color: #004E89;
    opacity: 0.7;
}

.company-banner__logo.new-logo {
    filter: drop-shadow(0 0 0 transparent);
}
