/* ===================================
    Crafto - Corpotare
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200;300;400;500;600;700;800&display=swap');
/* variable */
:root {
    --base-color: #3C2FC0;
    --medium-gray: #878898;
    --dark-gray: #242E45;
    --light-red: #F2F1FC;
    --alt-font: 'Plus Jakarta Sans', sans-serif;
    --primary-font: 'Plus Jakarta Sans', sans-serif;
}
body {
    font-size: 17px;
    line-height: 32px;
}
sup {
    top: -0.7em;
}
.lh-42px {
    line-height: 42px;
}
/* box layout */
.box-layout {
    padding: 0 40px;
    transition: opacity 0.2s ease;
}
.box-layout.lang-switching {
    opacity: 0.3;
    pointer-events: none;
}

/* AJAX language switch progress bar */
.lang-switch-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--base-color, #3b82f6);
    z-index: 99999;
    animation: lang-progress 1.5s ease-in-out forwards;
}
@keyframes lang-progress {
    0%   { width: 0; }
    50%  { width: 70%; }
    100% { width: 100%; }
}
a {
    color: #878898;
} 
b, strong {
    font-weight: 700;
}
/* header */
.navbar .navbar-nav .nav-link {
    font-weight: 600;
    font-size: 17px;
}
header .navbar-brand img {
    max-height:28px;
}
.header-icon .icon > a {
    font-size: 20px;
}
.navbar .btn.btn-switch-text.btn-medium > span {
    padding: 10px 25px;
    font-size: 14px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu {
    border-radius: 0;
    box-shadow: 0 0 35px 0 rgb(0 0 0 / 10%);
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a i {
    font-size: 29px;
    width: 28px;
    margin-right: 12px;
}
.navbar .navbar-nav .dropdown .dropdown-menu a,
.navbar .navbar-nav .dropdown .dropdown-menu a:hover,
.navbar .navbar-nav .dropdown .dropdown-menu li.active > a{
    color: var(--white);
    font-weight: 500;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
    font-size: 16px;
    line-height: 28px;
    padding: 18px 25px 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a:hover,
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li.active a {
    opacity: 0.6;
}
.navbar .navbar-nav .dropdown .dropdown-menu {
    background-color: var(--dark-gray);
}
/* heading */
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 25px;
}
/* page title */
.down-section {
    bottom: 30px;
}
.page-title-extra-large h1 {
    font-size: 4.5rem;
    line-height: 4.5rem;
}
h1, .h1 {
    font-size: 4.688rem;
    line-height: 4.688rem;
}
h2 {
    font-size: 3.125rem;
    line-height: 3.125rem;
}
.small-screen {
    height: 350px !important;
}
/* text gradient color */
.text-gradient-orange-sky-blue {
    background-image: linear-gradient(to right, #f7693c, #c74e45, #7d3785, #582d9f, #3928af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* bg gradient color */
.bg-gradient-very-light-gray-transparent {
    background: -webkit-linear-gradient(right, rgba(240, 244, 253, 1.0), rgba(255, 255, 255, 0.0));
    background: linear-gradient(to right, rgba(240, 244, 253, 1.0), rgba(255, 255, 255, 0.0));
}
.bg-gradient-blue-whale-transparent { 
    background: -webkit-linear-gradient(right, rgba(17, 27, 50, 1.0), rgba(255, 255, 255, 0.0));
    background: linear-gradient(to right, rgba(17, 27, 50, 1.0), rgba(255, 255, 255, 0.0));
}
.bg-gradient-quartz-light-transparent {
    background: -webkit-linear-gradient(right, rgba(227, 225, 245, 1.0), rgba(255, 255, 255, 0.0));
    background: linear-gradient(to right, rgba(227, 225, 245, 1.0), rgba(255, 255, 255, 0.0));
}
.bg-gradient-quartz-white { 
    background-image: linear-gradient(to bottom, #f7f7ff, #f4f4fb, #f8f7fc, #fbfbfe, #ffffff);
}
.bg-gradient-base-color-transparent {
    background-image: -webkit-gradient(linear, left bottom, left top, from(rgb(60 47 192)), to(transparent));
    background-image: linear-gradient(to top, rgba(60, 47, 192, .8) 0%, transparent 100%);
}
.bg-gradient-regal-blue-transparent {
    background-image: -webkit-gradient(linear, left bottom, left top, from(rgb(22 35 64)), to(transparent));
    background-image: linear-gradient(to top, rgb(22 35 64) 0%, transparent 100%);
}
.bg-gradient-flamingo-amethyst-green {
    background-image: linear-gradient(to right, #f7693c, #c74e45, #7d3785, #582d9f, #3928af);
}
.bg-gradient-base-transparent {
    background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(22, 32, 44, 1)), to(transparent));
    background-image: linear-gradient(to top, rgba(22, 32, 44, .9) 8%, transparent 80%);
}
.bg-gradient-dark-transparent {
    background: -webkit-gradient(linear, left bottom, left top, color-stop(7%, #162340), to(transparent));
    background: linear-gradient(to top, #162340 7%, transparent 70%);
}
.bg-regal-blue {
    background-color: #162340;
}
.bg-blue-whale {
    background-color: #16233F;
}
/* top left right */
.top-40 {
    top: 40%!important;
}
.left-30 {
    left: 30%!important;
}
.right-30 {
    right: 30%!important;
}
.top-30 {
    top: 30%;
}
.top-20 {
    top: 20%;
}
.left-170px {
    left: 170px;
}
.mt-minus-2 {
    margin-top: -2px;
}
.left-minus-300px {
    left: -300px;
}
/* btn */
.btn {
    letter-spacing: 0px;
    text-transform: inherit;
}
.btn.btn-extra-large {
    font-size: 18px;
}
.btn.btn-large {
    font-size:16px;
}
.btn.btn-medium {
    font-size: 15px;
}
.btn.btn-small {
    font-size: 14px;
}
.btn.btn-link {
    padding: 0 0 2px;
    position: relative;
    text-decoration: none;
    border: 0;
    border-bottom: 2px solid;
    letter-spacing: 0;
    background-color: transparent;
}
.btn-gradient-flamingo-amethyst-green {
    background-image: linear-gradient(to right, #f7693c, #c74e45, #7d3785, #582d9f, #3928af, #582d9f, #7d3785, #c74e45, #f7693c);
    background-size: 200% auto;
    color: var(--white);
}
/* box overlay */
.interactive-banner-style-02.dark-hover:hover .btn {
    opacity: 0.7;
}
/* blog comment */ 
.blog-comment li .btn-reply {
    padding: 6px 20px 7px;
}
/* process-step style 05 */
.process-step-style-05 .progress-step-separator {
    bottom: inherit;
    height: 100%;
}
/* interactive banner */
.interactive-banner-style-02:hover figure figcaption .features-icon {
    margin-bottom: 17px;
}
/* blog grid */
.pagination-style-01 .page-item .page-link:hover,
.pagination-style-01 .page-item.active .page-link {
    background: var(--dark-gray);
    color: var(--white);
}
.pagination-style-01 .page-item:first-child .page-link,
.pagination-style-01 .page-item:last-child .page-link {
    background: transparent;
    color: var(--medium-gray);
}
.pagination-style-01 .page-item:first-child .page-link:hover,
.pagination-style-01 .page-item:last-child .page-link:hover {
    color: var(--dark-gray);
}
.accordion-style-06 .accordion-item.active-accordion {
    background-image: linear-gradient(to bottom, #f7f8f9, #f9fafb, #fbfbfc, #fdfdfd, #ffffff);
}
/* google map */
#map {
    border-radius: 6px 0 0 6px;
}
/* contact page globe – kolumna globusa */
.globe-col {
    min-width: 0;
    flex-shrink: 0;
}
#globe,
.globe-container {
    border-radius: 6px 0 0 6px;
    min-height: 400px;
}
/* Globe + stats: trzymaj blisko siebie, wyrównane do prawej */
.globe-stats-col {
    padding-left: 0 !important;
}
/* Przyciski scen globusa: flexbox, przyciski rozciągają się do długości słowa */
.globe-scene-labels {
    pointer-events: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    justify-content: center;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 991.98px) {
    .globe-stats-col {
        margin-top: 1rem;
        padding-left: 1rem !important;
    }
}
.globe-scene-btn {
    pointer-events: auto;
    cursor: pointer;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.4);
    color: rgba(255, 255, 255, 0.85);
    transition: background 0.25s ease, color 0.25s ease;
}
.globe-scene-btn:hover {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
}
.globe-scene-btn.active {
    background: rgba(122, 167, 255, 0.9);
    color: #fff;
}
/* Hero section: pełnowymiarowe zdjęcie skalowane jako cover */
#contact-hero-section {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: background-image 0.6s ease;
}

/* Hero text: auto-skalowanie fontu aby dłuższe słowa (Ameryka Północna, Deutschland) */
/* mieściły się w jednej linii, rozciągając do prawej krawędzi */
#contact-hero-text {
    white-space: nowrap;
    overflow: visible;
    width: fit-content;
    max-width: calc(100vw - 40px);
    /* Fluid font-size: skaluje się z szerokością viewport */
    /* Minimum 6rem (mobile), max 14rem (desktop fs-225), skalowane dynamicznie */
    font-size: clamp(4rem, 10vw, 14.063rem) !important;
    line-height: 1 !important;
}
.border-radius-top-lr {
    border-radius: 6px 6px 0 0;
}
footer ul li {
    margin-bottom: 0;
}
.scroll-progress {
    right: 10px;
}
/* google map */
.newsletter-style-02 input {
    font-size: 15px;
}
/* Revolution Slider */
#demo-corporate-slider {border-radius: 6px;}
.hesperiden.tparrows { width: 54px; height: 54px; background: transparent; border: 1px solid rgba(255,255,255,0.2);-webkit-transition: all 300ms ease-in-out; transition: all 300ms ease-in-out}
.hesperiden.tparrows:hover {border:1px solid rgba(255,255,255,1); background: rgba(255,255,255,1); ;}
.hesperiden.tparrows:hover:before {color: #232323}
.hesperiden.tparrows:before {line-height: 52px;}
.hesperiden.tparrows.tp-leftarrow:before { content: "\f104";font-family: "Font Awesome 6 Free";font-size: 16px; font-weight: 900}
.hesperiden.tparrows.tp-rightarrow:before { content: "\f105";font-family: "Font Awesome 6 Free";font-size: 16px; font-weight: 900}
.hesperiden.tparrows.tp-leftarrow:before { margin-left: 0; }
.hesperiden.tparrows.tp-rightarrow:before { margin-right: 0; }
.get-started-btn { transition: 0.3s ease-in-out !important; }
.hesperiden.tparrows { z-index: 97; }
/* media query responsive */
@media (max-width: 1700px) {
    .navbar .navbar-nav .nav-link {
        padding-left: 19px;
        padding-right: 19px;
    }
}
@media (max-width: 1600px) {
    .navbar .navbar-nav .nav-link {
        padding-left: 12px;
        padding-right: 12px;
    }
}
@media (max-width: 1350px) {
    .navbar .navbar-nav .nav-link {
        padding-left: 10px;
        padding-right: 10px;
    }
}
@media (max-width: 1300px) {
    .navbar .navbar-nav .nav-link {
        padding-left: 9px;
        padding-right: 9px;
    }
}
@media (max-width: 1199px) {
    .accordion-style-06 .accordion-item {
        padding: 15px 50px 15px 35px;
    }
    .box-layout {
        padding: 0;
    }
    #demo-corporate-slider {
        border-radius: 0;
    }
    .lg-border-radius-0px {
        border-radius: 0 !important;
    }
    .navbar .navbar-nav .nav-link {
        padding-left: 10px;
        padding-right: 10px;
    }
}
@media (max-width: 991px) {
    .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu {
        width: calc(100% + 30px) !important;
        margin-left: -15px;
        padding: 10px 45px;
        margin-bottom: 0;
        margin-right: -15px;
    }
    .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a, .navbar-modern-inner .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a, .navbar-full-screen-menu-inner .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
        padding-left: 0;
        padding-right: 0;
    }
    [data-mobile-nav-style=modern] .navbar-modern-inner .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
        font-size: 17px;
        line-height: normal;
        display: flex;
        align-items: center;
    }
    [data-mobile-nav-style=modern] .navbar-modern-inner .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a i {
        font-size: 26px;
    }
}
@media (max-width: 767px) {
    #map,
    #globe,
    .globe-container {
        border-radius: 0;
    }
    .small-screen {
        height: 300px !important;
    }
    .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
        margin-bottom: 20px;
    }
}
@media (max-width: 575px) {
    .accordion-style-06 .accordion-item {
        padding: 15px;
    }
    footer .elements-social.social-icon-style-02 li {
        margin: 0 15px 0 0;
    }
    footer .elements-social.social-icon-style-02 li:first-child {
        margin-left: 0;
    }
}

/* Header Grid Layout - Auto-responsive without breakpoints */
.header-grid {
    display: grid;
    grid-template-columns: auto minmax(300px, 1fr) minmax(min-content, auto);
    grid-auto-rows: auto;
    grid-auto-flow: row;
    gap: 12px;
    align-items: center;
    width: 100%;
}

/* Logo block - spans 2 rows when wrapping occurs */
.header-logo {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 0;
    align-self: start;
    padding-top: 0;
}

.header-logo .navbar-brand {
    display: block;
    line-height: 0;
}

.header-logo svg {
    height: 80px;
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

/* Navigation block */
.header-nav {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    overflow: visible;
}

/* Prevent nav links from overlapping */
.navbar-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}

.navbar-nav .nav-link {
    white-space: nowrap;
    min-width: fit-content;
}

/* Reduce nav link padding at smaller widths to prevent overlap */
@media (max-width: 1100px) {
    .navbar-nav .nav-link {
        padding-left: 8px !important;
        padding-right: 8px !important;
        font-size: 15px !important;
    }
}

@media (max-width: 1060px) {
    .navbar-nav .nav-link {
        padding-left: 6px !important;
        padding-right: 6px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 1052px) {
    .navbar-nav .nav-link {
        padding-left: 4px !important;
        padding-right: 4px !important;
        font-size: 13px !important;
    }
}

/* Right section block - auto-wraps when doesn't fit */
.header-right {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
    white-space: nowrap;
    min-width: 0;
}

/* When right section wraps to row 2, it spans columns 2-3 and centers */
/* Default: row 1, column 3 - handled by JavaScript */

/* Individual right section elements */
.header-phone {
    flex-shrink: 0;
    white-space: nowrap;
}

.header-button {
    flex-shrink: 0;
    white-space: nowrap;
}

.header-language-toggle {
    position: relative;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Use JavaScript to detect when right section should wrap */
/* CSS-only approach: use container queries when available */
@container (max-width: 800px) {
    .header-right {
        grid-column: 2 / -1;
        grid-row: 2;
        justify-content: center;
    }
}

/* Fallback: use minmax to allow natural wrapping */
.header-grid {
    grid-template-columns: auto minmax(200px, 1fr) minmax(min-content, max-content);
}

/* Header phone number link */
.header-phone-link {
    font-size: 16px;
    transition: color 0.3s ease;
    white-space: nowrap;
}
.header-phone-link:hover {
    color: var(--base-color) !important;
}

/* Header button - prevent text wrapping */
.header-button {
    flex-shrink: 0;
}

.header-button .btn {
    white-space: nowrap;
    min-width: max-content;
    width: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header-button .button-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
}

.header-button .button-text {
    white-space: nowrap;
    font-size: 14px;
    margin-bottom: 2px;
    display: inline-block;
}

.header-button .button-phone {
    white-space: nowrap;
    font-size: 12px;
    font-weight: 500;
    opacity: 0.9;
    display: inline-block;
}

.header-button .phone-icon {
    flex-shrink: 0;
}

/* Responsive button adjustments - maintain min-width */
@media (max-width: 1400px) {
    .header-button .button-text {
        font-size: 13px;
    }
    .header-button .button-phone {
        font-size: 11px;
    }
}

@media (max-width: 1200px) {
    .header-button .button-text {
        font-size: 12px;
    }
    .header-button .button-phone {
        font-size: 10px;
    }
    .header-button .btn {
        padding: 10px 16px;
    }
}

@media (max-width: 992px) {
    .header-button .button-text {
        font-size: 11px;
    }
    .header-button .button-phone {
        font-size: 9px;
    }
    .header-button .btn {
        padding: 8px 12px;
    }
}

/* Language toggle EN/PL */
.header-language-toggle {
    position: relative;
}

/* ============================================
   LANGUAGE SWITCHER - SHARED STYLES
   ============================================

   These styles apply to BOTH:
   - .header-language-toggle (desktop header)
   - .mobile-language-toggle (burger menu)

   Single component, different contexts.
   Synchronization handled by JavaScript state.
============================================ */

/* Language toggle wrapper - used in BOTH header and mobile */
.lang-toggle-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background: #f5f5f5;
    border-radius: 30px;
    padding: 4px 32px 4px 4px;
    position: relative;
    min-width: 120px;
    max-width: 160px;
    overflow: hidden;
    isolation: isolate;
}

/* Active background pill - ALWAYS under text (z-index: 0) */
.lang-toggle-bg {
    position: absolute;
    background: var(--base-color);
    border-radius: 26px;
    height: calc(100% - 8px);
    width: calc((100% - 36px) / 2);
    top: 4px;
    left: 4px;
    transition: transform 250ms cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}

.lang-toggle-wrapper[data-active-side="left"] .lang-toggle-bg {
    transform: translateX(0);
}

.lang-toggle-wrapper[data-active-side="right"] .lang-toggle-bg {
    transform: translateX(100%);
}

.lang-toggle-btn {
    position: relative;
    z-index: 1;
    background: transparent;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--base-color);
    cursor: pointer;
    transition: color 200ms ease-out;
    border-radius: 26px;
    min-width: 40px;
    text-align: center;
    user-select: none;
    display: block;
    width: 100%;
}

.lang-toggle-btn.active {
    color: #ffffff;
}

.lang-toggle-btn:not(.active):hover {
    color: var(--base-color);
    opacity: 0.7;
}

.lang-toggle-btn.active:hover {
    color: #ffffff;
}

.lang-toggle-chevron {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: transparent;
    border: none;
    padding: 8px 6px;
    font-size: 12px;
    color: var(--base-color);
    cursor: pointer;
    transition: transform 250ms ease, color 150ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-toggle-chevron:hover {
    color: var(--base-color);
    opacity: 0.8;
}

.lang-toggle-chevron[aria-expanded="true"] {
    transform: translateY(-50%) rotate(180deg);
}

/* Language dropdown - desktop default (absolute positioning) */
.lang-dropdown {
    display: none;
    list-style: none;
    background: #ffffff;
    border: 1px solid rgba(60, 47, 192, 0.2);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    margin: 8px 0 0 0;
    min-width: 140px;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 1000;
    animation: hide-animation 0.3s ease;
}

.lang-dropdown.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    animation: show-animation 0.3s ease;
}

.lang-dropdown li {
    margin: 0;
    padding: 0;
}

.lang-option {
    display: block;
    padding: 10px 20px;
    color: var(--medium-gray);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lang-option:hover {
    background: rgba(60, 47, 192, 0.1);
    color: var(--base-color);
}

.lang-option.active {
    color: var(--base-color);
    font-weight: 600;
}

/* Mobile menu contact info */
.mobile-contact-info {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 40px;
    padding-top: 30px;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
}

.mobile-language-toggle {
    position: relative;
    padding-top: 20px;
    padding-bottom: 20px;
    /* No fixed min-height - let content flow naturally */
}

/* Ensure navbar-collapse doesn't cut off dropdown */
@media (max-width: 991px) {
    /* CRITICAL: Allow dropdown to flow and be visible in mobile menu */
    .navbar-collapse {
        overflow: visible !important;
        position: relative !important;
        max-height: none !important;
    }

    .navbar-collapse.show {
        overflow: visible !important; /* Changed from overflow-y: auto */
        overflow-x: visible !important;
        max-height: calc(100vh - 80px) !important;
        scroll-behavior: smooth;
    }

    /* CRITICAL: Mobile contact info must allow overflow */
    .mobile-contact-info {
        overflow: visible !important;
    }

    /* Prevent mobile menu from closing when interacting with language toggle */
    .mobile-language-toggle {
        pointer-events: auto !important;
        position: relative !important;
        z-index: 1 !important;
        isolation: isolate;
        overflow: visible !important;
    }

    /* All children must allow pointer events */
    .mobile-language-toggle * {
        pointer-events: auto !important;
    }

    /* Dropdown must be fully interactive */
    .mobile-language-toggle .lang-dropdown {
        pointer-events: auto !important;
    }

    .mobile-language-toggle .lang-option {
        pointer-events: auto !important;
    }

    /* Ensure wrapper creates stacking context */
    .mobile-language-toggle .lang-toggle-wrapper {
        position: relative;
        z-index: 1;
    }

    /* Dropdown flows in document (no special z-index needed) */
    .mobile-language-toggle .lang-dropdown {
        position: static !important; /* Force static in mobile */
        /* Will be visible because all parents have overflow: visible */
    }

    /* Increase touch target size for mobile */
    .mobile-language-toggle .lang-option {
        min-height: 48px !important;
        padding: 14px 24px !important;
    }

    /* CRITICAL: Ensure mobile dropdown is fully visible when shown */
    .mobile-language-toggle .lang-dropdown.show {
        display: block !important;
        position: static !important;
        visibility: visible !important;
        opacity: 1 !important;
        max-height: 400px !important;
    }
}

.mobile-language-toggle .lang-toggle-wrapper {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-language-toggle .lang-toggle-btn {
    color: rgba(255, 255, 255, 0.8);
}

.mobile-language-toggle .lang-toggle-btn.active {
    color: #ffffff;
}

.mobile-language-toggle .lang-toggle-bg {
    background: var(--base-color);
}

.mobile-language-toggle .lang-toggle-chevron {
    color: rgba(255, 255, 255, 0.8);
}

.mobile-language-toggle .lang-toggle-chevron:hover {
    color: #ffffff;
}

.mobile-language-toggle .lang-toggle-chevron[aria-expanded="true"] {
    transform: translateY(-50%) rotate(180deg);
    color: #ffffff;
}

/* ============================================
   MOBILE DROPDOWN - FLOW POSITIONING
   ============================================

   Strategy: Dropdown flows naturally in document (not absolute)

   Key fixes applied:
   1. position: static (not absolute) - dropdown flows, pushes content down
   2. All parents have overflow: visible - nothing gets cut off
   3. Dropdown has own scroll if needed (max-height + overflow-y: auto)
   4. No fixed heights on containers - natural reflow

   TESTING (before claiming "PASSED"):
   1. Open DevTools in mobile mode (toggle device toolbar)
   2. Open burger menu
   3. Click dropdown chevron
   4. Open Console and check diagnostic logs:
      - Dropdown rect (should show full height, e.g. 192px for 4 items)
      - Dropdown computed position (should be "static")
      - Parent chain (none should have overflow: hidden)
      - Scroll container (should find navbar-collapse or window)
   5. Scroll to bottom of language list
   6. Click last language (e.g., "Français")
   7. Verify: language changes and all languages were visible

   If dropdown is still cut: Check diagnostic logs for the culprit
   ============================================ */

.mobile-language-toggle .lang-dropdown {
    background: var(--dark-gray);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: static !important; /* Force static, override any absolute */
    width: 100%;
    max-width: 100%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 12px 0;
    margin-top: 8px;
    max-height: 300px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    /* FIXED: Use display: none by default, .show controls visibility */
    display: none;
}

/* Mobile dropdown when shown - must have .show class */
.mobile-language-toggle .lang-dropdown.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.mobile-language-toggle .lang-option {
    color: rgba(255, 255, 255, 0.8);
    padding: 14px 24px;
    font-size: 15px;
    display: flex;
    align-items: center;
    min-height: 48px;
}

.mobile-language-toggle .lang-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.mobile-language-toggle .lang-option.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.mobile-language-toggle .lang-option.active::before {
    content: "\2713";
    margin-right: 10px;
    font-weight: bold;
    color: var(--base-color);
}

.mobile-contact-info .contact-item {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.mobile-contact-info .contact-item:last-child {
    margin-bottom: 0;
}

.mobile-contact-info .contact-item i {
    font-size: 16px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.mobile-contact-info .contact-item a {
    font-size: 14px;
    font-weight: 500;
}

.mobile-contact-info .contact-item a:hover {
    color: var(--base-color) !important;
}

/* Responsive adjustments - fix for 1024px and mobile */
@media (max-width: 1399px) {
    /* Reduce horizontal spacing */
    .header-button {
        margin-left: 15px !important;
    }
    
    .header-language-toggle {
        margin-left: 15px !important;
    }
}

@media (max-width: 1199px) {
    /* At 1024px and below, hide phone link between nav and right section */
    .header-phone-link {
        display: none !important;
    }
    
    /* Reduce spacing further */
    .header-button {
        margin-left: 12px !important;
    }
    
    .header-language-toggle {
        margin-left: 12px !important;
    }
    
    /* Make elements stack vertically if needed */
    .header-icon {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 1099px) {
    /* Further reduce spacing */
    .header-button {
        margin-left: 10px !important;
    }
    
    .header-language-toggle {
        margin-left: 10px !important;
    }
    
    /* Allow vertical stacking if space is tight */
    .header-icon {
        flex-wrap: wrap;
    }
}

/* Mobile menu elements - hidden on desktop by default */
.mobile-contact-info {
    display: none;
}

.mobile-language-toggle {
    display: none;
}

/* Hide mobile elements on desktop (above 991px) */
@media (min-width: 992px) {
    .mobile-contact-info,
    .mobile-language-toggle,
    .navbar-collapse .mobile-contact-info,
    .navbar-collapse .mobile-language-toggle {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Desktop language toggle is visible on desktop */
    .header-language-toggle {
        display: flex !important;
        visibility: visible !important;
    }

    /* Desktop dropdown MUST be absolute */
    .header-language-toggle .lang-dropdown {
        position: absolute !important;
    }
}

/* Mobile menu visibility - show elements only in mobile menu (below 991px) */
@media (max-width: 991px) {
    /* Hide desktop language toggle on mobile */
    .header-language-toggle {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* Hide desktop button on mobile */
    .header-button.d-none {
        display: none !important;
    }
    
    /* Show mobile elements only when navbar is collapsed */
    .navbar-collapse .mobile-contact-info,
    .navbar-collapse .mobile-language-toggle {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@keyframes show-animation {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hide-animation {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* ============================================
   LANGUAGE POPOVER (Command Menu dropdown)
   ============================================ */
.lang-popover {
    display: flex;
    flex-direction: column;
    width: 280px;
    max-height: 420px;
}

.lang-search-wrapper {
    position: sticky;
    top: 0;
    padding: 12px;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1;
    flex-shrink: 0;
}

.lang-search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid rgba(60, 47, 192, 0.2);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    background: #fff;
    color: #333;
}

.lang-search-input:focus {
    border-color: var(--base-color);
    box-shadow: 0 0 0 2px rgba(60, 47, 192, 0.1);
}

.lang-search-input::placeholder {
    color: #999;
}

.lang-section {
    flex-shrink: 0;
}

.lang-section-all {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.lang-section-label {
    padding: 8px 16px 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--medium-gray);
    letter-spacing: 0.5px;
}

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

.lang-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.15s;
    gap: 8px;
}

.lang-item:hover,
.lang-item.focused {
    background: rgba(60, 47, 192, 0.06);
}

.lang-item.active {
    font-weight: 600;
    color: var(--base-color);
}

.lang-item-name {
    flex: 1;
    font-size: 14px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lang-item-country {
    font-size: 12px;
    color: var(--medium-gray);
    white-space: nowrap;
}

.lang-item-code {
    font-size: 12px;
    font-weight: 600;
    color: var(--medium-gray);
    min-width: 24px;
    text-align: right;
}

.lang-item-check {
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.lang-item.active .lang-item-check::before {
    content: "\2713";
    color: var(--base-color);
    font-weight: bold;
}

.lang-section-recent {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Hide recent section on desktop — only shown on mobile */
.header-language-toggle .lang-section-recent {
    display: none !important;
}

/* Mobile overrides for lang-popover */
@media (max-width: 991px) {
    .mobile-language-toggle .lang-popover {
        width: 100%;
        max-height: 280px;
    }

    .mobile-language-toggle .lang-item {
        min-height: 44px;
        padding: 12px 16px;
    }

    .mobile-language-toggle .lang-search-wrapper {
        background: var(--dark-gray);
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }

    .mobile-language-toggle .lang-search-input {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
        color: #fff;
    }

    .mobile-language-toggle .lang-search-input::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }

    .mobile-language-toggle .lang-search-input:focus {
        border-color: var(--base-color);
        box-shadow: 0 0 0 2px rgba(60, 47, 192, 0.2);
    }

    .mobile-language-toggle .lang-section-label {
        color: rgba(255, 255, 255, 0.5);
    }

    .mobile-language-toggle .lang-item {
        color: rgba(255, 255, 255, 0.8);
    }

    .mobile-language-toggle .lang-item:hover,
    .mobile-language-toggle .lang-item.focused {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
    }

    .mobile-language-toggle .lang-item.active {
        color: #fff;
        background: rgba(255, 255, 255, 0.05);
    }

    .mobile-language-toggle .lang-item-country {
        color: rgba(255, 255, 255, 0.5);
    }

    .mobile-language-toggle .lang-item-code {
        color: rgba(255, 255, 255, 0.5);
    }

    .mobile-language-toggle .lang-section-recent {
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
}

/* Slider text wrapper with darkened square background */
.slider-text-wrapper {
    position: relative;
    display: inline-block;
}

.slider-text-container {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    padding: 40px;
    display: inline-block;
    max-width: 100%;
}

/* Text styling in slider - base (mobile first) */
.slider-text-container b {
    font-size: 15px !important;
    font-weight: 700 !important;
    display: block;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.4;
}

.slider-text-container span {
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    display: block;
    color: #ffffff;
}

/* Responsive adjustments - progressive font size increase */
@media (min-width: 768px) {
    .slider-text-container {
        padding: 35px;
    }
    
    .slider-text-container b {
        font-size: 16px !important;
        margin-bottom: 18px;
    }
    
    .slider-text-container span {
        font-size: 13px !important;
    }
}

@media (min-width: 1050px) {
    .slider-text-container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .slider-text-container {
        padding: 38px;
    }
    
    .slider-text-container b {
        font-size: 18px !important;
        margin-bottom: 20px;
    }
    
    .slider-text-container span {
        font-size: 14px !important;
    }
}

@media (min-width: 1200px) {
    .slider-text-container {
        padding: 40px;
    }
    
    .slider-text-container b {
        font-size: 20px !important;
        margin-bottom: 22px;
    }
    
    .slider-text-container span {
        font-size: 16px !important;
    }
}

@media (min-width: 1400px) {
    .slider-text-container {
        padding: 45px;
    }
    
    .slider-text-container b {
        font-size: 22px !important;
        margin-bottom: 24px;
    }
    
    .slider-text-container span {
        font-size: 18px !important;
    }
}

@media (min-width: 1600px) {
    .slider-text-container {
        padding: 50px;
        max-width: 750px;
    }
    
    .slider-text-container b {
        font-size: 24px !important;
        margin-bottom: 26px;
    }
    
    .slider-text-container span {
        font-size: 20px !important;
    }
}

/* Additional width increase for very large screens */
@media (min-width: 1920px) {
    .slider-text-container {
        max-width: 800px;
    }
}

/* Responsive scaling for wzrost.png image */
.wzrost-image {
    position: absolute !important;
    z-index: 10 !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    max-width: 340px;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Progressive scaling for larger screens */
@media (min-width: 576px) {
    .wzrost-image {
        max-width: 380px;
    }
}

@media (min-width: 768px) {
    .wzrost-image {
        max-width: 420px;
    }
}

@media (min-width: 992px) {
    .wzrost-image {
        max-width: 360px;
        left: 60px;
        transform: translateY(-50%);
    }
}

@media (min-width: 1200px) {
    .wzrost-image {
        max-width: 400px;
        left: 70px;
    }
}

@media (min-width: 1400px) {
    .wzrost-image {
        max-width: 450px;
        left: 80px;
    }
}

@media (min-width: 1600px) {
    .wzrost-image {
        max-width: 500px;
        left: 90px;
    }
}

@media (min-width: 1920px) {
    .wzrost-image {
        max-width: 550px;
        left: 100px;
    }
}

/* Spacing for CTA section below wzrost.png to prevent overlap */
.cta-section-spacing {
    margin-top: 100px;
}

@media (min-width: 576px) {
    .cta-section-spacing {
        margin-top: 120px;
    }
}

@media (min-width: 768px) {
    .cta-section-spacing {
        margin-top: 140px;
    }
}

@media (min-width: 992px) {
    .cta-section-spacing {
        margin-top: 0;
    }
}

/* Corporate services slider images - crop to 600x710 */
.slider-one-slide .interactive-banner-style-09 img {
    width: 600px;
    height: 710px;
    object-fit: cover;
    object-position: center;
}

/* Market research border styling */
.market-research-border {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    min-width: 10px;
    height: 80%;
    background-color: rgba(80, 80, 80, 0.7);
    border-radius: 15px;
    z-index: 1;
    display: block;
    pointer-events: none;
    padding: 10px 15px;
    margin-top: 0px;
}

/* Ensure h1 is above the border */
.page-title-extra-large h1 {
    position: relative;
    z-index: 2;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
}

/* Prevent border from being affected by animation */
.market-research-border {
    animation: none !important;
    opacity: 1 !important;
    transform: translate(-50%, -50%) !important;
}

/* Responsive border */
@media (max-width: 768px) {
    .market-research-border {
        min-width: 0;
        height: 80%;
        border-radius: 12px;
        padding: 0;
    }
}

@media (max-width: 576px) {
    .market-research-border {
        min-width: 0;
        height: 80%;
        border-radius: 10px;
        padding: 0;
    }
}

/* Panel statystyk obok globusa – styl danych w stylu NASA (cienka obwódka, półprzezroczystość) */
/* ── Globe Stats Panel ──
   Hover highlights configurable via CSS custom properties.
   To disable any effect manually, set the variable to "none" / "0" / original value
   on .globe-stats-panel or a parent, e.g.:
     --stats-hover-glow:        none;       ← disables outer glow on panel hover
     --stats-hover-border:      rgba(255,255,255,0.2); ← keeps border static
     --stats-row-hover-bg:      transparent; ← disables row highlight
     --stats-row-hover-accent:  rgba(255,255,255,0.65); ← disables key color change
     --stats-row-hover-val:     inherit;     ← disables value color change
     --stats-hover-scale:       1;           ← disables subtle scale
*/
.globe-stats-panel {
    /* ── Configurable highlight vars ── */
    --stats-hover-glow:       0 0 24px rgba(122, 167, 255, 0.25), 0 0 48px rgba(7, 124, 170, 0.12);
    --stats-hover-border:     rgba(122, 167, 255, 0.5);
    --stats-hover-scale:      1.03;
    --stats-row-hover-bg:     rgba(122, 167, 255, 0.10);
    --stats-row-hover-accent: rgba(122, 167, 255, 0.95);
    --stats-row-hover-val:    #fff;

    font-family: var(--alt-font);
    font-size: 12px;
    line-height: 1.6;
    padding: 12px 16px;
    background: rgba(10, 30, 50, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.95);
    min-width: 160px;
    box-shadow: 0 0 20px rgba(0, 40, 80, 0.2);
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    transform-origin: center center;
}
.globe-stats-panel:hover {
    box-shadow: var(--stats-hover-glow);
    border-color: var(--stats-hover-border);
    transform: scale(var(--stats-hover-scale));
}
.globe-stats-panel .globe-stats-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 4px 8px;
    margin: 0 -8px;
    border-radius: 3px;
    transition: background 0.25s ease;
}
.globe-stats-panel .globe-stats-row:hover {
    background: var(--stats-row-hover-bg);
}
.globe-stats-panel .globe-stats-key {
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.25s ease;
}
.globe-stats-panel .globe-stats-row:hover .globe-stats-key {
    color: var(--stats-row-hover-accent);
}
.globe-stats-panel .globe-stats-val {
    font-variant-numeric: tabular-nums;
    transition: color 0.25s ease;
}
.globe-stats-panel .globe-stats-row:hover .globe-stats-val {
    color: var(--stats-row-hover-val);
}