/* ==========================================================================
   OPTIMAL MR — COHESIVE MODERN CARD DESIGN SYSTEM (STYLE CSS)
   ========================================================================== */

@import "global.css";

/* ==========================================================================
   1. FLOATING PILL NAVIGATION BAR
   ========================================================================== */

.nav-minimal {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: var(--global-width);
    z-index: 1000;
    padding: 12px 32px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(9, 13, 22, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-minimal.scrolled {
    position: fixed;
    top: 12px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 40px rgba(9, 13, 22, 0.06);
    border-color: rgba(9, 13, 22, 0.04);
    padding: 10px 32px;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-brand {
    height: clamp(30px, 4vw, 36px);
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-item {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-main);
    opacity: 0.8;
    position: relative;
    padding: 6px 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--brand-red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item:hover {
    opacity: 1;
    color: var(--color-main);
}

.nav-item:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-item.active {
    opacity: 1;
    color: var(--color-main);
    font-weight: 750;
}

.nav-item.active::after {
    transform: scaleX(1);
    background-color: var(--brand-red);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-login {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-main);
    opacity: 0.9;
}

.nav-login:hover {
    color: var(--brand-red);
}

.btn-get-started {
    background-color: var(--color-main);
    color: #ffffff !important;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 10px;
    border: 1px solid var(--color-main);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-get-started:hover {
    background-color: transparent;
    color: var(--color-main) !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10001;
    padding: 0;
    gap: 6px;
}

.menu-toggle .bar {
    width: 22px;
    height: 2px;
    background-color: var(--color-main);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}

.menu-toggle.open .bar:first-child {
    transform: translateY(4px) rotate(45deg);
}

.menu-toggle.open .bar:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

.menu-toggle.open .bar {
    background-color: #ffffff;
}

/* ==========================================================================
   FULLSCREEN MOBILE MENU OVERLAY
   ========================================================================== */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background-color: var(--color-main);
    z-index: 9999;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0s 0.35s;
}
.mobile-overlay.open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0s 0s;
}

.mobile-close-btn {
    position: absolute;
    top: 28px;
    right: 28px;
    z-index: 10002;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.mobile-close-btn:hover { opacity: 1; transform: scale(1.1); }

.mobile-panels-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mobile-panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 80px 40px;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    pointer-events: none;
}
.mobile-panel.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}
.mobile-panel.exit-left {
    transform: translateX(-40%);
    opacity: 0;
    pointer-events: none;
}

.mobile-overlay .mobile-nav-link {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
    padding: 14px 0;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
}
.mobile-overlay .mobile-nav-link:hover { opacity: 0.7; }
.mobile-overlay .mobile-nav-link.active { color: var(--brand-red); }

.mobile-arrow {
    font-size: 1.2rem;
    opacity: 0.5;
    transition: transform 0.2s ease;
}
.mobile-has-sub:hover .mobile-arrow { transform: translateX(4px); }

.mobile-sub-link { font-size: 1.4rem !important; font-weight: 600 !important; }

.mobile-back-btn {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 20px;
    font-family: var(--font-body);
    transition: color 0.2s ease;
}
.mobile-back-btn:hover { color: #ffffff; }

.mobile-panel-title {
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.mobile-overlay .mobile-cta {
    margin-top: 32px;
    padding: 16px 48px;
    background-color: #ffffff;
    color: var(--color-main);
    font-size: 1rem;
    font-weight: 800;
    border-radius: 10px;
    text-decoration: none;
}
.mobile-overlay .mobile-cta:hover { background-color: rgba(255,255,255,0.85); }

/* ==========================================================================
   FLEET CARD EXPANSION + SPECS PANEL
   ========================================================================== */

.card-specs-panel {
    position: absolute;
    top: 0;
    left: 352px;
    width: 280px;
    height: 100%;
    background-color: inherit;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.fleet-card.expanded .card-specs-panel {
    opacity: 1;
    transition: opacity 0.4s ease 0.3s;
}

@media (min-width: 769px) {
    .card-header-meta,
    .card-img-wrapper,
    .card-footer-meta {
        width: 304px !important;
        max-width: 304px !important;
        flex-shrink: 0;
    }
}

.specs-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-muted);
    margin-bottom: 14px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}

.spec-chip {
    background-color: rgba(0,0,0,0.04);
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.fleet-card.active .spec-chip {
    background-color: rgba(255,255,255,0.5);
}

.spec-chip-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-muted);
    line-height: 1;
}

.spec-chip-value {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-main);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.specs-equip-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-muted);
    margin-bottom: 6px;
}

.specs-equip-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.equip-tag {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    background-color: rgba(0,0,0,0.04);
    color: var(--color-main);
    white-space: nowrap;
}

.fleet-card.active .equip-tag {
    background-color: rgba(255,255,255,0.5);
}

.btn-show-more-fleet {
    display: none;
    width: 100%;
    padding: 16px;
    background-color: #F5F7F8;
    color: var(--color-main);
    font-size: 0.92rem;
    font-weight: 700;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 8px;
}
.btn-show-more-fleet:hover { background-color: #E6F5F6; }

/* ==========================================================================
   2. HERO CARD SECTION
   ========================================================================== */

.hero-section {
    width: 100%;
    padding: 0;
    overflow: visible;
    position: relative;
    background-color: transparent;
}

.hero-container {
    max-width: var(--global-width);
    margin: 100px auto 40px auto;
    background-color: #E6F5F6;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    padding: 80px 60px 100px 60px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(9, 13, 22, 0.02);
}

.hero-text-col {
    display: flex;
    flex-direction: column;
}

.hero-text-col h1 {
    font-size: clamp(38px, 5.2vw, 54px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--color-main);
    margin-bottom: 24px;
}

.hero-intro {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--color-muted);
}

.hero-image-col {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-img {
    max-width: 135%;
    height: auto;
    object-fit: contain;
    transform: translateX(12%);
    z-index: 5;
    pointer-events: none;
}

.float-asterisk {
    position: absolute;
    width: clamp(75px, 8vw, 110px);
    height: auto;
    top: -50px;
    left: -30px;
    z-index: 1;
    opacity: 0.95;
    animation: spinSlow 30s linear infinite;
}

.float-curve-line {
    position: absolute;
    width: 140px;
    height: 140px;
    border: 1.5px solid rgba(9, 13, 22, 0.15);
    border-radius: 50%;
    border-right-color: transparent;
    border-bottom-color: transparent;
    top: -65px;
    left: -60px;
    z-index: 0;
    transform: rotate(35deg);
}

.float-sparkle {
    position: absolute;
    font-size: 1.5rem;
    color: var(--color-main);
    opacity: 0.6;
    animation: floatAcc 4s ease-in-out infinite;
}

.sparkle-1 { top: 50px; left: -60px; animation-delay: 0s; }
.sparkle-2 { bottom: 20px; right: 110%; animation-delay: 1.5s; font-size: 1.2rem; }
.sparkle-3 { top: -70px; right: 20px; animation-delay: 0.7s; font-size: 1.3rem; }

/* ==========================================================================
   3. FLOATING SEARCH/BOOKING WIDGET (Pill inputs)
   ========================================================================== */

.search-widget {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(var(--global-width) - 120px);
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(9, 13, 22, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.9);
    z-index: 100;
    overflow: hidden;
}

/* Fix transform overlap for centered elements with scroll-reveal */
.search-widget.scroll-reveal {
    transform: translate(-50%, 60px);
}
.search-widget.scroll-reveal.active {
    transform: translate(-50%, 0);
}

.widget-tabs {
    display: flex;
    border-bottom: 1px solid #edf2f7;
    background-color: #ffffff;
    padding: 0 24px;
}

.widget-tab {
    padding: 16px 20px;
    font-size: 0.85rem;
    font-weight: 750;
    color: #a0aec0;
    cursor: pointer;
    border-bottom: 2.5px solid transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.widget-tab.active {
    color: var(--color-main);
    border-bottom-color: var(--color-main);
}

.tab-icon { opacity: 0.7; }
.widget-tab.active .tab-icon { color: var(--brand-red); opacity: 1; }

.widget-fields-row {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    background-color: #ffffff;
}

.widget-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 4px 20px;
    border-right: 1px solid #edf2f7;
}
.widget-field:last-of-type { border-right: none; }

.field-label {
    font-size: 0.7rem;
    font-weight: 750;
    color: var(--color-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.field-input {
    font-size: 0.88rem;
    color: var(--color-muted);
    border: none;
    background: transparent;
    outline: none;
    padding: 2px 0;
    font-weight: 600;
    cursor: default;
}

.btn-widget-search {
    background-color: var(--color-main);
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
    margin-left: 16px;
    flex-shrink: 0;
}
.btn-widget-search:hover { background-color: var(--brand-red); transform: scale(1.02); }

/* ==========================================================================
   4. BRAND LOGOS ROW (Bottom of Hero)
   ========================================================================== */

.brand-logos-sec {
    background-color: transparent;
    padding: 90px 0 50px 0;
}

.brand-logos-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    opacity: 0.65;
}

.logo-item {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: #a0aec0;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

/* ==========================================================================
   5. WHY US CARD GRID
   ========================================================================== */

.why-sec {
    background-color: transparent;
}

.why-header {
    max-width: 700px;
    margin-bottom: clamp(35px, 6vh, 60px);
}

.why-sub {
    display: inline-block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 750;
    color: var(--brand-red);
    margin-bottom: 14px;
}

.why-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 18px;
    letter-spacing: -0.03em;
}

.why-header h2 span { font-weight: 400; }

.why-header p {
    font-size: 1rem;
    line-height: 1.7;
}

.why-header-mint {
    background-color: #E6F5F6;
    border-radius: 12px;
    padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 40px);
    max-width: 100%;
    box-shadow: 0 10px 30px rgba(9, 13, 22, 0.01);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-point {
    display: flex;
    flex-direction: column;
    background-color: #F5F7F8;
    border-radius: 10px;
    padding: 36px;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.01);
}

.why-point:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(9, 13, 22, 0.03);
}

.point-number {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.5vw, 36px);
    font-weight: 900;
    color: #e2e8f0;
    margin-bottom: 12px;
    display: block;
    line-height: 1;
}

.why-point h3 {
    font-size: 1.05rem;
    font-weight: 750;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    color: var(--color-main);
}

.why-point p {
    font-size: 0.86rem;
    line-height: 1.7;
    color: var(--color-muted);
}

/* ==========================================================================
   6. FLEET CONFIGURATOR SECTION
   ========================================================================== */

.configurator-sec {
    background-color: transparent;
}

.fleet-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    gap: 40px;
}

.fleet-title-col { flex: 1.2; }
.fleet-title-col h2 {
    font-size: clamp(32px, 4.5vw, 44px);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--color-main);
    margin: 0;
}

.fleet-desc-col { flex: 0.8; max-width: 440px; }
.fleet-desc-col p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--color-muted);
    margin: 0;
    text-align: left;
}

.fleet-slider-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 48px;
    overflow: hidden;
}

.fleet-grid {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 15px 0;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

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

.fleet-card {
    background-color: #F5F7F8;
    border-radius: 10px;
    flex: 0 0 352px;
    scroll-snap-align: start;
    padding: 24px;
    cursor: pointer;
    transition: flex-basis 0.7s cubic-bezier(0.25, 1, 0.5, 1), transform 0.7s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.7s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 380px;
    border: 1px solid rgba(0, 0, 0, 0.015);
    overflow: hidden;
}

.fleet-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(9, 13, 22, 0.03);
}

.fleet-card.expanded { flex: 0 0 660px; }
.fleet-card.active {
    background-color: #E6F5F6;
    border-color: transparent;
    box-shadow: 0 16px 36px rgba(11, 78, 88, 0.04);
}

.card-header-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.card-header-meta h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    color: var(--color-main);
    margin: 0;
}

.card-arrow-circle {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-main);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    opacity: 0;
    transform: scale(0.8) rotate(-45deg);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.fleet-card.active .card-arrow-circle {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.card-img-wrapper {
    background: transparent;
    padding: 12px 0;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.card-car-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.fleet-card:hover .card-car-img { transform: scale(1.03); }

.card-footer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: auto;
}

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

.spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-muted);
}

.spec-icon { color: var(--color-main); opacity: 0.6; }

.card-price-tag {
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--color-main);
    letter-spacing: -0.01em;
}

.fleet-control-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 56px;
}

.btn-open-all {
    background-color: #0b4e58;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 750;
    padding: 14px 32px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-open-all:hover { background-color: var(--color-main); transform: translateY(-1px); }

.fleet-slider-arrows { display: flex; gap: 12px; }

.arrow-btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}
.arrow-prev { background-color: #e2e8f0; color: #718096; }
.arrow-prev:hover { background-color: #cbd5e0; }
.arrow-next { background-color: #090d16; color: #ffffff; }
.arrow-next:hover { background-color: var(--brand-red); }

.tight-calc-panel {
    background-color: #F5F7F8;
    border-radius: 12px;
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.015);
}

.calc-inner-box {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.calc-config-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calc-config-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-muted);
}

#calc-active-vehicle-name {
    font-size: 1.5rem;
    font-weight: 850;
    color: var(--color-main);
    letter-spacing: -0.03em;
    margin-top: -8px;
}

/* ==========================================================================
   KALENDARZ KALKULATORA (Date Picker)
   ========================================================================== */
.calc-calendar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(9, 13, 22, 0.05);
    padding-bottom: 20px;
}

.calc-dates-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.calc-date-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    padding: 8px 12px;
    transition: border-color 0.2s ease;
}

.calc-date-box:focus-within {
    border-color: var(--color-main);
}

.calc-date-box label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-muted);
    margin-bottom: 2px;
}

.minimal-date-input {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-main);
    outline: none;
    cursor: pointer;
    width: 100%;
}

.minimal-date-input::-webkit-calendar-picker-indicator {
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.minimal-date-input::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.calc-date-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    opacity: 0.5;
}

.calc-days-result {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-muted);
    text-align: right;
}

#calc-days-display {
    color: var(--brand-red);
    font-weight: 800;
}

.calc-loyalty-tiers {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tier-lbl {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-muted);
    border-bottom: 1.5px solid transparent;
    padding-bottom: 2px;
    transition: all 0.2s ease;
}

.tier-lbl.highlight-active {
    color: var(--brand-red);
    border-bottom-color: var(--brand-red);
    font-weight: 700;
}

.calc-summary-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #ffffff;
    padding: 28px;
    border-radius: 10px;
    border: 1px solid rgba(9, 13, 22, 0.02);
}

.calc-receipt {
    display: flex;
    flex-direction: column;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-bottom: 8px;
}

.receipt-row span:last-child {
    color: var(--color-main);
    font-weight: 600;
}

.receipt-row.discount-row {
    color: var(--brand-red) !important;
}

.receipt-row.discount-row span:last-child {
    color: var(--brand-red) !important;
    font-weight: 700;
}

.receipt-divider {
    border: 0;
    height: 1px;
    background-color: var(--border-light);
    margin: 12px 0;
}

.receipt-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 700;
}

#invoice-total {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--color-main);
    letter-spacing: -0.02em;
}

.btn-studio-book {
    width: 100%;
    background-color: var(--color-main);
    color: #ffffff;
    border: 1px solid var(--color-main);
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

.btn-studio-book:hover {
    background-color: transparent;
    color: var(--color-main);
}


/* ==========================================================================
   6.5. B2B ZONE SECTION (Ultra Minimal Premium)
   ========================================================================== */

.b2b-sec {
    padding: var(--global-padding) 0;
    background-color: transparent;
}

.why-sub.tech-sub {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brand-red);
    margin-bottom: 16px;
    background-color: rgba(228, 76, 83, 0.05);
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(228, 76, 83, 0.12);
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-main) 30%, var(--brand-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.b2b-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
    gap: 40px;
}

.b2b-title-col { flex: 1.3; }
.b2b-title-col h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-main);
    line-height: 1.2;
    margin: 0;
}
.b2b-title-col h2 span { font-weight: 400; color: var(--color-muted); }

.b2b-desc-col { flex: 0.8; max-width: 440px; }
.b2b-desc-col p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-muted);
    margin: 0;
}

/* Tabs Switcher */
.b2b-tabs-wrapper { display: flex; justify-content: center; margin-bottom: 48px; }
.b2b-tab-buttons {
    display: flex;
    background-color: #F1F5F9;
    padding: 5px;
    border-radius: 30px;
    border: 1px solid #E2E8F0;
}
.b2b-tab-btn {
    background: transparent;
    border: none;
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-muted);
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.2s ease;
}
.b2b-tab-btn.active {
    background-color: var(--color-main);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(9, 13, 22, 0.1);
}
.b2b-tab-pill { display: none; }

/* Tab contents */
.b2b-tab-content {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.b2b-tab-content.active { display: block; opacity: 1; transform: translateY(0); }

/* --- CLEAN PREMIUM B2B CARDS --- */
.b2b-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.b2b-card-premium {
    background-color: #F5F7F8; /* Default background is light grey */
    border-radius: 12px;
    padding: 40px 32px;
    border: none; /* Borderless */
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.b2b-card-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(9, 13, 22, 0.04);
}

.b2b-icon-premium {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-color: #ffffff; /* White background by default on the grey card */
    color: var(--color-main);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: none; /* Borderless */
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.b2b-card-premium:hover .b2b-icon-premium {
    color: var(--brand-red);
    transform: scale(1.05);
}

.b2b-card-premium h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 750;
    color: var(--color-main);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.b2b-card-premium p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--color-muted);
    margin: 0;
}


/* ==========================================================================
   6.6. BLOG / NEWS SECTION (Clean Images)
   ========================================================================== */

.blog-sec {
    padding: var(--global-padding) 0;
    background-color: #F8FAFC;
    border-top: 1px solid #E2E8F0;
}

.blog-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
    gap: 40px;
}

.blog-title-col { flex: 1.3; }
.blog-title-col h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-main);
    line-height: 1.2;
    margin: 0;
}
.blog-title-col h2 span { font-weight: 400; color: var(--color-muted); }

.blog-desc-col { flex: 0.8; max-width: 440px; }
.blog-desc-col p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-muted);
    margin: 0;
}

/* --- BLOG CARDS --- */
.blog-grid-premium {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    padding: 10px 0;
}

.blog-grid-premium::-webkit-scrollbar {
    display: none;
}

.blog-card-editorial {
    display: flex;
    flex-direction: column;
    flex: 0 0 352px; /* Stała szerokość karty w siatkach */
    scroll-snap-align: start;
}

.blog-grid-premium .blog-card-editorial {
    flex: 0 0 calc((100% - 64px) / 3); /* Dokładnie 3 karty na szerokość kontenera na desktopie */
}

.blog-img-wrapper {
    position: relative;
    width: 100%;
    height: 420px; /* Zwiększona wysokość (2x) */
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    background-color: #E2E8F0;
    display: block;
}

.blog-img {
    width: 100%;
    height: 100%; /* Wypełnienie kontenera */
    object-fit: cover; /* Dopasowanie bez rozciągania */
    object-position: bottom; /* Zaczynanie obrazu od dołu */
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-content-editorial {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 0.75rem;
    color: var(--color-muted);
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-content-editorial h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 750;
    color: var(--color-main);
    line-height: 1.4;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

.blog-card-editorial:hover .blog-content-editorial h3 {
    color: var(--brand-red);
}

.blog-card-editorial:hover .blog-img {
    transform: scale(1.05);
}

.blog-content-editorial p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-muted);
    margin-bottom: 24px;
}

.blog-link-arrow {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-main);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.blog-card-editorial:hover .blog-link-arrow {
    color: var(--brand-red);
}


/* ==========================================================================
   7. BOOKING & CONTACT PANEL
   ========================================================================== */

.contact-sec {
    background-color: transparent;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 32px;
}

.contact-lead {
    font-size: 1rem;
    line-height: 1.75;
    margin-top: 16px;
    margin-bottom: 40px;
}

.contact-info-panel {
    background-color: #F5F7F8;
    border-radius: 12px;
    padding: 48px;
    display: flex;
    flex-direction: column;
}

.contact-info-panel h2 {
    font-size: clamp(26px, 4vw, 36px);
    margin-bottom: 14px;
    letter-spacing: -0.03em;
}

.contact-info-panel h2 span {
    font-weight: 400;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.method-item {
    display: flex;
    flex-direction: column;
}

.method-lbl {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-muted);
    font-weight: 750;
    margin-bottom: 6px;
}

.method-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-red);
}

.method-val-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-main);
}

.method-sub {
    font-size: 0.78rem;
    color: var(--color-muted);
    margin-top: 4px;
}

.contact-form-panel {
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 48px;
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-sm);
}

/* Google Map Iframe Custom Style */
.google-map-iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: 0;
    filter: grayscale(0.85) contrast(1.1) brightness(0.95);
    transition: filter 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0.9;
    border-radius: 12px;
    display: block;
}

.google-map-iframe:hover {
    filter: grayscale(0) contrast(1) brightness(1);
    opacity: 1;
}

.form-wrapper h3 {
    font-size: 1.45rem;
    font-weight: 850;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    color: var(--color-main);
}

.form-desc {
    font-size: 0.88rem;
    color: var(--color-muted);
    margin-bottom: 40px;
}

.minimal-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.form-group {
    position: relative;
    width: 100%;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: none;
    border-bottom: 1.5px solid var(--border-medium);
    background: transparent;
    padding: 10px 0;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--color-main);
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-bottom-color: var(--border-active);
}

.form-group label {
    position: absolute;
    top: -16px;
    left: 0;
    font-size: 0.72rem;
    color: var(--color-muted);
    font-weight: 700;
    pointer-events: none;
    transition: color 0.25s ease;
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group select:focus ~ label {
    color: var(--color-main);
}

.select-group::after {
    content: '\25BE';
    position: absolute;
    right: 5px;
    top: 12px;
    color: var(--color-muted);
    pointer-events: none;
}

.consent-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.consent-wrapper input[type="checkbox"] {
    margin-top: 4px;
    cursor: pointer;
}

.consent-wrapper label {
    font-size: 0.78rem;
    color: var(--color-muted);
    line-height: 1.5;
    cursor: pointer;
}

.btn-submit-minimal {
    background-color: var(--color-main);
    color: #ffffff;
    border: 1px solid var(--color-main);
    border-radius: 10px;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    align-self: flex-start;
}

.btn-submit-minimal:hover {
    background-color: transparent;
    color: var(--color-main);
}

.form-feedback-banner {
    display: none;
    padding: 16px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    line-height: 1.5;
}

.form-feedback-banner.success {
    background-color: #f0fdf4;
    color: #15803d;
    border: 1px solid #b9f6ca;
}

/* ==========================================================================
   8. FLOATING DARK FOOTER CARD
   ========================================================================== */

.footer-minimal {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 60px 48px 40px 48px;
    max-width: var(--global-width);
    margin: 40px auto 24px auto;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(9, 13, 22, 0.06);
}

.footer-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    height: clamp(30px, 4vw, 36px);
    width: auto;
    display: block;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-top: 16px;
    color: #94a3b8;
}

.footer-links h4,
.footer-registration h4 {
    font-size: 0.9rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links ul li a {
    font-size: 0.88rem;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.footer-links ul li a:hover {
    color: #ffffff;
}

.footer-registration p {
    font-size: 0.88rem;
    line-height: 1.8;
    color: #94a3b8;
}

.footer-registration strong {
    color: #ffffff;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
}

.copyright-links {
    display: flex;
    gap: 24px;
}

.copyright-links a {
    color: #94a3b8;
}

.copyright-links a:hover {
    color: #ffffff;
}

/* ==========================================================================
   9. KEYFRAMES & RESPONSIVENESS
   ========================================================================== */

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes floatAcc {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 1200px) {
    .nav-minimal, .hero-container, .search-widget, .brand-logos-row, .why-grid, .fleet-grid, .tight-calc-panel, .contact-layout, .footer-minimal, .container {
        max-width: 92vw !important;
        width: 92vw !important;
    }

    .hero-container {
        padding: 60px 40px 80px 40px;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
        padding-bottom: 80px;
    }

    .hero-text-col {
        max-width: 100%;
        align-items: center;
    }

    .hero-img {
        transform: translateX(0);
        max-width: 80%;
        margin: 0 auto;
    }

    .float-asterisk {
        left: 10%;
    }

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

    .calc-inner-box {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .search-widget {
        display: none;
    }

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

    .blog-grid-premium .blog-card-editorial {
        flex: 0 0 calc((100% - 32px) / 2); /* Dokładnie 2 karty na szerokość na tablecie */
    }
}

@media (max-width: 768px) {
    .nav-menu, .nav-right {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

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

    .fleet-grid {
        display: flex;
        flex-direction: column;
        overflow-x: hidden;
        scroll-snap-type: none;
        padding: 0;
        margin: 0 0 16px 0;
        gap: 16px;
    }

    .fleet-card {
        flex: none;
        width: 100%;
        min-height: auto;
        overflow: visible;
    }

    .card-specs-panel {
        position: static;
        width: 100%;
        height: auto;
        padding: 16px 0 0 0;
        margin-top: 12px;
        border-top: 1px solid rgba(0,0,0,0.06);
        opacity: 1 !important;
        transition: none;
    }

    .fleet-card.active .card-specs-panel {
        border-top-color: rgba(0,0,0,0.04);
    }

    .specs-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
        margin-bottom: 10px !important;
    }

    .spec-chip {
        padding: 8px 10px !important;
    }

    .specs-title {
        font-size: 0.65rem !important;
        margin-bottom: 10px !important;
    }

    .fleet-card.fleet-hidden {
        display: none;
    }

    .btn-show-more-fleet {
        display: block;
    }

    .fleet-slider-arrows {
        display: none;
    }

    .fleet-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .fleet-desc-col p {
        text-align: left;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .b2b-grid-premium {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .blog-grid-premium {
        gap: 24px;
    }

    .blog-grid-premium .blog-card-editorial {
        flex: 0 0 290px; /* Stała szerokość na mobile, żeby kolejny wpis lekko wystawał */
    }

    .b2b-card-premium {
        padding: 24px;
    }



    .blog-content-editorial {
        padding: 20px 0;
    }

    .blog-img-wrapper {
        height: 240px; /* Estetyczna wysokość na mobile */
    }

    .b2b-header-row,
    .blog-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 32px;
    }

    .contact-form-panel {
        padding: 32px;
    }
}

@media (max-width: 480px) {
    .contact-form-panel {
        padding: 24px;
    }
}

/* ==========================================================================
   10. LANGUAGE SWITCHER STYLES (PL, EN, DE)
   ========================================================================== */

.lang-switcher {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-main);
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    background-color: rgba(9, 13, 22, 0.04);
}

.lang-arrow {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.7;
}

.lang-switcher.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background-color: #ffffff;
    border: 1px solid rgba(9, 13, 22, 0.06);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(9, 13, 22, 0.08);
    min-width: 130px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    z-index: 1001;
    
    /* Animation entry properties */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px) scale(0.95);
    transform-origin: top right;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.25s;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.lang-dropdown-item {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-muted);
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-dropdown-item:hover {
    background-color: #F5F7F8;
    color: var(--color-main);
    transform: translateX(4px); /* Premium subtle horizontal slide */
}

.lang-dropdown-item.active {
    color: var(--color-main);
    font-weight: 750;
    background-color: rgba(9, 13, 22, 0.04);
}

/* Display controls for Language Switchers */
.mobile-only-lang {
    display: none !important;
}

@media (max-width: 768px) {
    .desktop-only-lang {
        display: none !important;
    }
    .mobile-only-lang {
        display: inline-block !important;
        margin-left: auto; /* Pushes the switcher to the right next to hamburger */
        margin-right: 16px; /* Margin before hamburger button */
    }
    
    /* Position the mobile dropdown nicely so it doesn't overflow the viewport */
    .mobile-only-lang .lang-dropdown {
        right: -10px;
        left: auto;
        transform-origin: top right;
    }
}

/* Global entry page animation for premium feel */
@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes navSlideDown {
    from {
        opacity: 0;
        transform: translate(-50%, -10px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Animate main page contents without applying transform to body, preserving fixed containing block */
main, .footer-minimal {
    animation: pageFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Animate navigation separately to preserve fixed positioning */
.nav-minimal {
    animation: navSlideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ==========================================================================
   FAQ SECTION (ACCORDION STYLING)
   ========================================================================== */
.faq-sec {
    background-color: transparent;
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.faq-info-col h2 {
    font-size: clamp(28px, 4.5vw, 42px);
    margin-bottom: 20px;
    line-height: 1.15;
}

.faq-info-col h2 span {
    font-weight: 400;
}

.faq-info-col p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-muted);
    margin-bottom: 24px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
}

.faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 24px 0;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 750;
    color: var(--color-main);
    transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-trigger:hover {
    color: var(--brand-red);
}

.faq-trigger span {
    padding-right: 20px;
}

.faq-icon-box {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #F5F7F8;
    color: var(--color-main);
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-icon-box svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    display: block;
    margin: 0;
}

.faq-trigger:hover .faq-icon-box {
    background-color: var(--brand-red-light);
    color: var(--brand-red);
}

.faq-trigger[aria-expanded="true"] .faq-icon-box {
    transform: rotate(135deg);
    background-color: var(--color-main);
    color: #ffffff;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.faq-content-inner {
    padding: 0 0 24px 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-muted);
}

/* Responsiveness for FAQ */
@media (max-width: 1024px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .faq-info-col {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* ==========================================================================
   10. HOMEPAGE VIDEO PRESENTATION & GALLERY GRID STYLING
   ========================================================================== */

/* Cinematic Video Section */
.video-presentation-sec {
    background-color: #f8fafc;
    padding: var(--global-padding) 0;
}

.video-header {
    max-width: 700px;
    margin: 0 auto clamp(35px, 6vh, 60px) auto;
}

.video-header.text-center {
    text-align: center;
}

.video-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 18px;
    letter-spacing: -0.03em;
}

.video-header h2 span {
    font-weight: 400;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(9, 13, 22, 0.08);
    background-color: #000000;
    border: 1px solid rgba(0, 0, 0, 0.015);
}

.video-wrapper video,
.video-wrapper iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 13, 22, 0.2) 0%, rgba(9, 13, 22, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.video-wrapper.playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}

.btn-play-video {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #ffffff;
    border: none;
    color: var(--color-main);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(9, 13, 22, 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-play-video i {
    transform: translateX(3px); /* Centering play icon triangle correctly */
}

.btn-play-video:hover {
    transform: scale(1.1);
    background-color: var(--brand-red);
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(228, 76, 83, 0.4);
}

.video-badge-duration {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background-color: rgba(9, 13, 22, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 750;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.5px;
}

/* Bus Fleet Gallery Grid Section */
.fleet-gallery-sec {
    background-color: #ffffff;
    padding: var(--global-padding) 0;
}

.gallery-header {
    max-width: 700px;
    margin: 0 auto clamp(35px, 6vh, 60px) auto;
}

.gallery-header.text-center {
    text-align: center;
}

.gallery-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 18px;
    letter-spacing: -0.03em;
}

.gallery-header h2 span {
    font-weight: 400;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    aspect-ratio: 16 / 11;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(9, 13, 22, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.015);
    background-color: #f8fafc;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 13, 22, 0) 40%, rgba(9, 13, 22, 0.75) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item-overlay span {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    transform: translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover effects */
.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-item-overlay span {
    transform: translateY(0);
}

/* Gallery and Video Responsiveness */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .gallery-item {
        aspect-ratio: 3 / 2;
    }
    
    .btn-play-video {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   14. ALL BLOG POSTS PAGE & SINGLE BLOG ARTICLE TEMPLATES
   ========================================================================== */

/* Page layout modifications for listing */
.blog-page-sec {
    padding-bottom: 120px !important;
}

.blog-page-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 56px 32px !important;
    overflow-x: visible !important;
    scroll-snap-type: none !important;
    padding: 20px 0 !important;
}

.blog-page-grid .blog-card-editorial {
    flex: 1 1 100% !important;
    scroll-snap-align: none !important;
}

/* Pagination container */
.blog-pagination-wrapper {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.navigation.pagination {
    display: block;
}

.navigation.pagination .screen-reader-text {
    display: none;
}

.navigation.pagination .nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Page Numbers styling */
.navigation.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 8px;
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    color: var(--color-main);
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(9, 13, 22, 0.01);
}

.navigation.pagination a.page-numbers:hover {
    border-color: var(--brand-red);
    color: var(--brand-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(228, 76, 83, 0.08);
}

.navigation.pagination .page-numbers.current {
    background-color: var(--color-main);
    border-color: var(--color-main);
    color: #ffffff;
}

/* responsive grid overrides */
@media (max-width: 1024px) {
    .blog-page-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 48px 24px !important;
    }
}

@media (max-width: 768px) {
    .blog-page-grid {
        grid-template-columns: 1fr !important;
        gap: 40px 0 !important;
    }
    
    .blog-page-grid .blog-card-editorial .blog-img-wrapper {
        height: 300px;
    }
}

/* Back Link Hover Effect on Single */
.blog-link-back:hover {
    color: var(--color-main) !important;
}

.blog-link-back:hover svg {
    transform: translateX(-4px);
}

/* Header hover details on Single page */
.post-meta-details a:hover {
    opacity: 0.8;
}

/* --- PREMIUM SINGLE POST ARTICLE CONTENT STYLING --- */
.post-content-styled p {
    font-size: 1.08rem;
    line-height: 1.85;
    color: #2e3a4e;
    margin-bottom: 28px;
}

.post-content-styled h2 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--color-main);
    margin-top: 48px;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.post-content-styled h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.35;
    color: var(--color-main);
    margin-top: 36px;
    margin-bottom: 16px;
    letter-spacing: -0.015em;
}

.post-content-styled ul, 
.post-content-styled ol {
    margin-bottom: 28px;
    padding-left: 24px;
}

.post-content-styled li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #2e3a4e;
    margin-bottom: 8px;
}

.post-content-styled blockquote {
    position: relative;
    padding: 24px 32px;
    background-color: #F8FAFC;
    border-left: 4px solid var(--brand-red);
    border-radius: 0 8px 8px 0;
    margin: 40px 0;
    font-family: var(--font-body);
}

.post-content-styled blockquote p {
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--color-main);
    font-weight: 500;
    margin-bottom: 0;
}

.post-content-styled blockquote cite {
    display: block;
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 750;
    text-transform: uppercase;
    color: var(--color-muted);
    letter-spacing: 1px;
}

/* Image styling inside articles */
.post-content-styled figure {
    margin: 40px 0;
}

.post-content-styled figure img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.post-content-styled figcaption {
    font-size: 0.85rem;
    color: var(--color-muted);
    text-align: center;
    margin-top: 12px;
    font-style: italic;
}

/* Code and Inline Pre styling */
.post-content-styled pre {
    background-color: #0b0f19;
    color: #f8f8f2;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.9rem;
    margin-bottom: 28px;
    border: 1px solid rgba(255,255,255,0.08);
}

.post-content-styled code {
    font-family: monospace;
    background-color: #edf2f7;
    color: var(--brand-red);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.post-content-styled pre code {
    background-color: transparent;
    color: inherit;
    padding: 0;
    font-size: inherit;
}

/* Back Link Hover Effect on Hero */
.blog-link-back-hero:hover {
    color: #ffffff !important;
}

.blog-link-back-hero:hover svg {
    transform: translateX(-4px);
}

/* ==========================================================================
   11. B2B & KONTAKT LAYOUT GRIDS & STRUCTURES
   ========================================================================== */
.kontakt-grid-about {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 40px;
    align-items: start;
}

.kontakt-grid-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.kontakt-offer-banner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 48px;
}

@media (max-width: 1024px) {
    .kontakt-grid-about {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .kontakt-grid-values {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .kontakt-offer-banner {
        flex-direction: column;
        text-align: center;
        padding: 36px 24px;
        gap: 24px;
    }
    
    .kontakt-offer-banner .btn-submit-minimal {
        align-self: center;
    }
}

@media (max-width: 768px) {
    .kontakt-grid-values {
        grid-template-columns: 1fr;
    }
    
    .about-stats-col {
        grid-template-columns: 1fr !important;
    }
}

/* Fix option values visual alignment in select drop-downs */
.minimal-select option {
    background-color: #ffffff;
    color: var(--color-main);
    padding: 8px;
}

/* ==========================================================================
   12. O NAS (ABOUT US) DEDICATED STYLES
   ========================================================================== */
.o-nas-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: start;
}

/* Timeline flow stylings */
.o-nas-timeline-flow {
    position: relative;
    padding-left: 54px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.o-nas-timeline-flow .timeline-line {
    position: absolute;
    left: 20px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background-color: var(--border-medium);
}

.timeline-item {
    position: relative;
}

.timeline-badge-year {
    position: absolute;
    left: -59px;
    top: 6px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 900;
    color: var(--brand-red);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(9, 13, 22, 0.05);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item:hover .timeline-badge-year {
    background-color: var(--brand-red);
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.25);
    border-color: var(--brand-red);
}

.timeline-content-card {
    background-color: #F5F7F8;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 18px 22px;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(9, 13, 22, 0.01);
}

.timeline-content-card:hover {
    transform: translateX(4px);
    background-color: #ffffff;
    border-color: var(--border-medium);
    box-shadow: var(--shadow-sm);
}

.timeline-content-card h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-main);
    margin: 0 0 6px 0;
}

.timeline-content-card p {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--color-muted);
    margin: 0;
}

/* Founder Editorial Section */
.o-nas-founder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.founder-card-gradient {
    position: relative;
    padding: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #ffffff;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.founder-card-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(230, 245, 246, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.quote-icon-decor {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    line-height: 1;
}

.founder-quote-text {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.7;
    margin: 0 0 30px 0;
    color: #cbd5e1;
    font-weight: 400;
    border-left: none;
    padding: 0;
}

.founder-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.founder-avatar-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-fallback {
    font-size: 0.85rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.founder-info-details {
    display: flex;
    flex-direction: column;
}

.founder-name {
    font-size: 0.95rem;
    font-weight: 750;
    color: #ffffff;
}

.founder-role {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Value Hover Cards */
.value-hover-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-hover-card:hover {
    transform: translateY(-5px);
    border-color: rgba(9, 13, 22, 0.06);
    box-shadow: 0 12px 30px rgba(9, 13, 22, 0.04);
}

.value-icon-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.value-icon-circle.accent-red {
    background-color: #fef2f2;
    color: var(--brand-red);
}

.value-icon-circle.accent-blue {
    background-color: #e6f5f6;
    color: var(--color-main);
}

.value-icon-circle.accent-dark {
    background-color: #f1f5f9;
    color: #475569;
}

@media (max-width: 1024px) {
    .o-nas-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .o-nas-founder-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .o-nas-timeline-flow {
        padding-left: 64px;
    }
    .o-nas-timeline-flow .timeline-line {
        left: 30px;
    }
}

/* ==========================================================================
   CUSTOM DATEPICKER DROPDOWN STYLES
   ========================================================================== */
.custom-datepicker-dropdown {
    position: absolute;
    background-color: #ffffff;
    border: 1px solid rgba(9, 13, 22, 0.08);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(9, 13, 22, 0.12);
    padding: 16px;
    width: 290px;
    z-index: 9999;
    font-family: var(--font-body), sans-serif;
    color: var(--color-main);
    display: none;
    opacity: 0;
    transform: translateY(8px) scale(0.98);
    transform-origin: top left;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.custom-datepicker-dropdown.show {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.datepicker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.datepicker-month-year {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--color-main);
}

.datepicker-arrow-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--color-muted);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, color 0.2s;
}

.datepicker-arrow-btn:hover {
    background-color: rgba(9, 13, 22, 0.04);
    color: var(--color-main);
}

.datepicker-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 6px;
}

.datepicker-weekday {
    font-size: 0.7rem;
    font-weight: 750;
    color: var(--color-muted);
    text-transform: uppercase;
}

.datepicker-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    gap: 2px;
}

.datepicker-day {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 0;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.15s, color 0.15s, transform 0.15s;
    user-select: none;
}

.datepicker-day:hover:not(.disabled):not(.selected) {
    background-color: rgba(9, 13, 22, 0.05);
}

.datepicker-day.disabled {
    color: var(--border-light);
    cursor: not-allowed;
    opacity: 0.45;
}

.datepicker-day.empty {
    cursor: default;
}

.datepicker-day.selected {
    background-color: var(--color-main);
    color: #ffffff;
    font-weight: 800;
    transform: scale(1.05);
}

.datepicker-day.today:not(.selected) {
    border: 1.5px solid var(--color-main);
}