/* ==================== ZMIENNE I RESET ==================== */
:root {
    --black: #3e3e3e;
    --white: #ffffff;
    --light: #8cc0ff;
    --main: #3691ff;
    --glass: rgba(255, 255, 255, 0.8);
}

* {
    box-sizing: border-box;
}

html {
    width: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body, button, input, select, textarea {
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    color: var(--black);
}

a {
    text-decoration: none;
    color: inherit;
}

a.highlight {
    text-decoration: underline;
    color: var(--main);
}

/* ==================== NAGŁÓWEK (pasek + nawigacja) ==================== */
.site-header {
    position: relative;
}

/* Niebieski pasek kontaktowy: tylko u góry dokumentu — znika przy przewijaniu */
.site-header > .top-bar {
    position: relative;
    z-index: 1;
}

/* Odpowiada wysokości #main-nav; dokładna wartość synchronizowana w navigation.js */
.main-nav-spacer {
    flex-shrink: 0;
    height: 80px;
    pointer-events: none;
}

/* ==================== TOP BAR ==================== */
.top-bar {
    width: 100%;
    height: 40px;
    background: linear-gradient(90deg, var(--main) 0%, var(--light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-bar-content {
    width: 90%;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.top-bar-content a {
    color: white;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.2s;
}

.top-bar-content a:hover {
    opacity: 0.8;
}

@media (max-width: 1350px) {
    .top-bar-content {
        justify-content: center;
    }

    .top-bar-content a span {
        display: none;
    }
}

/* ==================== NAWIGACJA ==================== */
#main-nav {
    --nav-top-offset: 40px;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--nav-top-offset);
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 10000;
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    /* transition: all psuje lub drga sticky w części przeglądarek */
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.nav-logo-holder img {
    width: 150px;
    display: block;
}

.nav-options {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-option {
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    padding: 8px 15px;
    border: 1px solid transparent;
    border-radius: 12px;
    transition: all 0.2s ease-in-out;
}

.nav-option:hover {
    background: rgba(54, 145, 255, 0.1);
    color: var(--main);
    border-color: var(--main);
}

.nav-option.selected {
    background: rgba(54, 145, 255, 0.1);
    color: var(--main);
    border-color: var(--main);
}

.nav-cta {
    display: flex;
    gap: 10px;
}

.nav-cta-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 11px;
    background-color: var(--white);
    color: var(--main);
    border: 2px solid var(--main);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-cta-btn.blue {
    background-color: var(--main);
    color: var(--white);
}

.nav-cta-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(54, 145, 255, 0.3);
}

/* ==================== MOBILE MENU ==================== */
.menu-toggle,
.mobile-overlay {
    display: none;
}

@media (max-width: 1350px) {
    .nav-options,
    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 32px;
        color: var(--main);
        cursor: pointer;
        z-index: 1001;
    }

    .mobile-overlay {
        position: fixed;
        display: flex;
        inset: 0;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-option-mobile {
        display: flex;
        align-items: center;
        gap: 15px;
        font-size: 20px;
        font-weight: 600;
        text-transform: uppercase;
        width: 80%;
        padding: 15px;
        border-bottom: 1px solid rgba(54, 145, 255, 0.1);
        transition: all 0.3s;
    }

    .nav-option-mobile:hover {
        padding-left: 25px;
        color: var(--main);
    }

    .nav-option-mobile i {
        color: var(--main);
    }

    .mobile-overlay .nav-cta-btn {
        width: 80%;
        justify-content: center;
        margin-top: 10px;
        padding: 15px;
        font-size: 14px;
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* ==================== HERO SLIDER ==================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
    background-color: #585858;
    color: var(--white);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    padding: 0 10%;
    z-index: 1;
}

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

.slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}

.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(8, 18, 38, 0.88) 0%, rgba(8, 18, 38, 0.52) 45%, rgba(8, 18, 38, 0.18) 72%, transparent 90%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, transparent 45%, rgba(0, 0, 0, 0.5) 100%);
}

.slide-content {
    position: relative;
    z-index: 10;
    max-width: 640px;
}

.slide-tag {
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.slide-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.65),
        0 1px 3px rgba(0, 0, 0, 0.85);
}

.slide-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.98);
    max-width: 52ch;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.slide-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.slider-arrow:hover {
    background: var(--main);
    border-color: var(--main);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    padding: 0;
    display: inline-block;
    vertical-align: middle;
}

.dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 10px;
}

.hero-slider .btn-glass {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.hero-slider .btn-glass:hover {
    background: rgba(255, 255, 255, 0.34);
    border-color: #fff;
}

@media (max-width: 768px) {
    .hero-slider {
        height: 100vh;
    }

    .slide {
        padding: 0 5%;
        text-align: center;
        justify-content: center;
    }

    .slide::after {
        background:
            linear-gradient(180deg, rgba(8, 18, 38, 0.72) 0%, rgba(8, 18, 38, 0.45) 42%, rgba(0, 0, 0, 0.62) 100%);
    }

    .slide-content {
        max-width: none;
    }

    .slide-text {
        max-width: none;
    }

    .slide-btns {
        justify-content: center;
    }

    .slider-arrow {
        display: none;
    }
}

/* ==================== MBANK BADGE ==================== */
.mbank-partner-badge {
    position: absolute;
    bottom: 80px;
    right: 5%;
    z-index: 20;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease;
}

.mbank-partner-badge:hover {
    transform: translateY(-5px);
}

.mbank-text {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.partner-label {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    color: #666;
    letter-spacing: 0.5px;
}

.mbank-name {
    font-size: 14px;
    font-weight: 800;
    color: #3e3e3e;
}

.mbank-logo-img {
    height: 30px;
    width: auto;
}

@media (max-width: 768px) {
    .mbank-partner-badge {
        bottom: auto;
        top: 20px;
        right: 50%;
        transform: translateX(50%);
        padding: 8px 15px;
        white-space: nowrap;
    }

    .mbank-partner-badge:hover {
        transform: translateX(50%) translateY(-2px);
    }

    .partner-label {
        font-size: 9px;
    }

    .mbank-name {
        font-size: 12px;
    }

    .mbank-logo-img {
        height: 22px;
    }
}

/* ==================== SEKCJE I UKŁADY ==================== */
.basic-section {
    padding: 80px 5%;
    background-color: var(--white);
    color: var(--black);
    position: relative;
}

.basic-section.dark {
    background-color: #2a2a2a;
    color: var(--white);
}

.basic-section.gray {
    background-color: #f8f9fa;
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--main);
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-title--with-icon {
    display: flex;
    align-items: center;
    gap: 0.45em;
    flex-wrap: wrap;
}

.section-title--with-icon .bi {
    font-size: 0.82em;
    color: var(--main);
    flex-shrink: 0;
    line-height: 1;
}

.section-title--with-icon.section-title--centered {
    justify-content: center;
    text-align: center;
}

.section-text {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
    color: #555;
}

.basic-section.dark .section-text {
    color: #cccccc;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.grid-2-col.align-top {
    align-items: start;
}

@media (max-width: 992px) {
    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==================== PRZYCISKI ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--main);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #267aeb;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(54, 145, 255, 0.3);
}

.btn-glass {
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-glass:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--main);
    color: var(--main);
}

.btn-outline:hover {
    background-color: var(--main);
    color: var(--white);
    transform: translateY(-2px);
}

.basic-section.dark .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.basic-section.dark .btn-outline:hover {
    background-color: var(--white);
    color: var(--black);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 12px;
}

.btn-text {
    color: var(--main);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.btn-text:hover {
    gap: 12px;
}

/* ==================== FORMULARZE ==================== */
.form-container {
    position: relative;
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.basic-section.dark .form-container {
    background: #333333;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--black);
}

.basic-section.dark .form-label {
    color: #e0e0e0;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: var(--black);
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--main);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(54, 145, 255, 0.15);
}

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

select.form-control {
    appearance: none;
    color: var(--black) !important;
    background-color: #f8f9fa !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233e3e3e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 45px;
    font-weight: 500;
}

select.form-control option {
    color: var(--black) !important;
    background-color: #ffffff !important;
}

select.form-control:focus {
    border-color: var(--main);
    box-shadow: 0 0 0 4px rgba(54, 145, 255, 0.15);
    background-color: #ffffff;
}

.basic-section.dark .form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.basic-section.dark .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.basic-section.dark .form-control:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--main);
    box-shadow: 0 0 0 4px rgba(54, 145, 255, 0.2);
}

.basic-section.dark select.form-control {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

.basic-section.dark select.form-control option {
    color: #ffffff !important;
    background-color: #2a2a2a !important;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.form-check-input {
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 6px;
    background-color: var(--white);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease-in-out;
    margin-top: 2px;
}

.form-check-input:checked {
    background-color: var(--main);
    border-color: var(--main);
}

.form-check-input:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.basic-section.dark .form-check-input {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.3);
}

.form-check-label {
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    color: #555;
    user-select: none;
}

.basic-section.dark .form-check-label {
    color: #ccc;
}

/* ==================== FORMULARZ KONTAKTOWY (AJAX) ==================== */
.contact-form-message {
    margin-bottom: 16px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    white-space: pre-line;
}

.contact-form-message[hidden] {
    display: none !important;
}

.contact-form-message--success {
    background: rgba(54, 145, 255, 0.12);
    border: 1px solid var(--main);
    color: var(--black);
}

.basic-section.dark .contact-form-message--success {
    color: #e8f2ff;
    background: rgba(54, 145, 255, 0.2);
}

.contact-form-message--error {
    background: rgba(220, 53, 69, 0.12);
    border: 1px solid rgba(220, 53, 69, 0.6);
    color: #842029;
}

.basic-section.dark .contact-form-message--error {
    color: #f8d7da;
    background: rgba(220, 53, 69, 0.18);
}

.form-loading-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.form-loading-overlay[hidden] {
    display: none !important;
}

.form-loading-spinner {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.25);
    border-top-color: var(--main);
    animation: contact-form-spin 0.75s linear infinite;
}

@keyframes contact-form-spin {
    to {
        transform: rotate(360deg);
    }
}

#contact-form-shell[aria-busy="true"] #send-contact-form {
    pointer-events: none;
    opacity: 0.75;
}

/* ==================== KAFELKI (FEATURE CARDS) ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(54, 145, 255, 0.4);
}

.feature-card.highlighted {
    background: rgba(54, 145, 255, 0.05);
    border: 2px solid var(--main);
    box-shadow: 0 20px 40px rgba(54, 145, 255, 0.15);
    transform: scale(1.05);
    z-index: 2;
}

.feature-card.highlighted:hover {
    box-shadow: 0 25px 50px rgba(54, 145, 255, 0.25);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--main);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(54, 145, 255, 0.2);
}

.feature-card.highlighted .feature-icon {
    background: white;
    color: var(--main);
}

.feature-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.feature-card-text {
    font-size: 15px;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 25px;
    flex-grow: 1;
    text-align: justify;
}

@media (max-width: 992px) {
    .feature-card.highlighted {
        transform: scale(1);
        margin: 10px 0;
    }
}

/* ==================== FAQ ACCORDION ==================== */
.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(54, 145, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.faq-item.active {
    background: rgba(54, 145, 255, 0.05);
    border-color: var(--main);
}

.faq-item.active .faq-question {
    color: var(--main);
}

.faq-item.active i {
    transform: rotate(45deg);
    color: var(--main);
}

.faq-question {
    width: 100%;
    padding: 22px 30px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    color: var(--black);
    font-size: 17px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.3s ease;
}

.faq-question i {
    font-size: 20px;
    color: var(--main);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
    padding: 0 30px 25px 30px;
    color: var(--black);
    font-size: 15px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 18px 20px;
        font-size: 15px;
    }

    .faq-answer-content {
        padding: 0 20px 20px 20px;
    }
}

/* ==================== FOOTER ==================== */
.main-footer {
    background: #2a2a2a;
    color: #e0e0e0;
    padding: 60px 5% 40px;
    font-family: 'Montserrat', sans-serif;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.footer-logo img {
    filter: brightness(0) invert(1);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: #e0e0e0;
    font-size: 24px;
    transition: all 0.3s;
}

.footer-social a:hover {
    color: #3691ff;
    transform: translateY(-3px);
}

.footer-sitemap {
    padding-bottom: 36px;
    margin-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-sitemap-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 32px 40px;
}

.footer-sitemap-subheading {
    margin: 18px 0 8px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.footer-sitemap-heading a {
    color: inherit;
    text-decoration: none;
}

.footer-sitemap-heading a:hover {
    color: #7ec0ff;
}

.footer-sitemap-list--recent a {
    font-size: 0.84rem;
    line-height: 1.35;
}

.footer-sitemap-heading {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #3691ff;
    margin: 0 0 16px;
}

.footer-sitemap-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-sitemap-list a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.45;
    text-decoration: none;
    transition: color 0.25s ease, padding-left 0.25s ease;
    display: inline-block;
}

.footer-sitemap-list a:hover {
    color: #7ec0ff;
    padding-left: 4px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 40px;
    justify-content: center;
    margin-bottom: 40px;
    font-size: 14px;
    font-weight: 500;
}

.footer-links--legal {
    padding-top: 4px;
}

.footer-links a {
    color: #e0e0e0;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.85;
}

.footer-bottom .copyright {
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-bottom .legal-info p {
    margin: 0 0 1.25em;
}

.footer-bottom .legal-info p:last-child {
    margin-bottom: 0;
}

.legal-page-body {
    max-width: 820px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.75;
    color: #4a5568;
}

.legal-notice-page-body p {
    margin: 0 0 1.5em;
}

.legal-notice-page-body p:last-child {
    margin-bottom: 0;
}

.legal-page-empty {
    text-align: center;
    max-width: 520px;
    margin: 2rem auto;
    color: #666;
}

/* —— Formularz Załóż spółkę —— */
.company-formation-form-wrap {
    max-width: 640px;
    margin: 0 auto;
}

.company-formation-unavailable {
    text-align: center;
    max-width: 520px;
    margin: 0 auto 24px;
    padding: 16px 20px;
    background: rgba(255, 200, 80, 0.15);
    border: 1px solid rgba(255, 200, 80, 0.4);
    border-radius: 12px;
    color: #fff;
}

.cf-fieldset {
    border: none;
    margin: 0 0 20px;
    padding: 0;
}

.cf-fieldset legend.form-label {
    margin-bottom: 10px;
}

.cf-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.cf-radio-group--stack {
    flex-direction: column;
    gap: 10px;
}

.cf-radio-label {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.92rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
}

.cf-radio-label input[type="radio"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--main, #3691ff);
}

.cf-required {
    color: #ff6b6b;
    margin-left: 2px;
}

.cf-captcha-img {
    width: 250px;
    max-width: 100%;
    background-color: var(--white, #fff);
    padding: 15px;
    border-radius: 20px;
    display: block;
    margin-bottom: 10px;
}

@media (max-width: 600px) {
    .cf-radio-group:not(.cf-radio-group--stack) {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 1024px) {
    .footer-sitemap-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 32px;
    }

    .footer-sitemap-col--news {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .footer-sitemap-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-sitemap-col {
        padding-bottom: 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

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

    .footer-links {
        gap: 18px 25px;
        font-size: 13.5px;
    }
}

/* --- Dostępność: skip link, focus, menu --- */
.skip-to-main {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-to-main:focus {
    position: fixed;
    left: 12px;
    top: 12px;
    z-index: 10000;
    width: auto;
    height: auto;
    padding: 12px 18px;
    background: var(--main);
    color: var(--white);
    border-radius: 8px;
    outline: 3px solid var(--white);
    overflow: visible;
    font-weight: 600;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

button.menu-toggle {
    border: none;
    background: transparent;
    padding: 0;
}

/* ==================== REFERENCJE / CERTYFIKATY (PDF) ==================== */
.ref-docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    padding: 16px 0 32px;
}

.ref-doc-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ref-doc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 42px rgba(54, 145, 255, 0.14);
}

.ref-doc-thumb-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
    background: #f2f5fa;
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ref-doc-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: calc(100% - 20px);
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--main);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: 0 4px 14px rgba(54, 145, 255, 0.35);
    pointer-events: none;
}

.ref-doc-badge-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.ref-doc-badge-more {
    flex-shrink: 0;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    font-size: 0.68rem;
    font-weight: 700;
}

.ref-doc-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ref-doc-thumb-wrap--placeholder {
    color: var(--main);
    font-size: 3rem;
}

.ref-doc-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--black);
    line-height: 1.35;
}

.ref-doc-thumb-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.ref-doc-card-title a {
    color: inherit;
    text-decoration: none;
}

.ref-doc-card-title a:hover {
    color: var(--main);
}

.ref-doc-card-desc {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #555;
    margin: 0 0 14px;
    flex-grow: 1;
}

.ref-doc-card-desc--ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ref-doc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.ref-doc-actions a.ref-doc-more-link {
    text-decoration: none;
    color: var(--white);
    flex-shrink: 0;
}

.ref-doc-actions a.ref-doc-more-link:hover {
    color: var(--white);
}

.ref-docs-empty {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
    color: #666;
}

/* Podstrona pojedynczej referencji / certyfikatu */
.ref-detail-section {
    padding-top: 32px;
    padding-bottom: 48px;
}

.ref-detail-inner {
    max-width: 900px;
    margin: 0 auto;
}

.ref-detail-back {
    margin: 0 0 24px;
}

.ref-detail-back a {
    color: var(--main);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ref-detail-back a:hover {
    text-decoration: underline;
}

.ref-detail-title {
    margin-bottom: 28px;
    text-align: left;
}

.ref-detail-layout {
    display: grid;
    grid-template-columns: minmax(200px, 280px) 1fr;
    gap: 32px;
    align-items: start;
}

.ref-detail-thumb-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f2f5fa;
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ref-detail-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ref-detail-thumb-wrap--placeholder {
    color: var(--main);
    font-size: 3.5rem;
}

.ref-detail-desc {
    font-size: 1rem;
    line-height: 1.65;
    color: #444;
    white-space: pre-wrap;
    margin: 0 0 24px;
}

.ref-linked-offers {
    margin: 0 0 28px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    background: #f8fafc;
}

.ref-linked-offers--inline {
    margin-top: 28px;
    margin-bottom: 0;
}

.basic-section.dark .ref-linked-offers--inline {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.basic-section.dark .ref-linked-offers--inline .ref-linked-offers-heading,
.basic-section.dark .ref-linked-offers--inline .ref-linked-offer-summary {
    color: rgba(255, 255, 255, 0.92);
}

.basic-section.dark .ref-linked-offers--inline .ref-linked-offer-card {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.ref-linked-offers-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--black);
}

.ref-linked-offer-card {
    padding: 14px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.ref-linked-offer-card:first-of-type {
    border-top: none;
    padding-top: 0;
}

.ref-linked-offer-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--main);
    font-weight: 700;
    font-size: 1rem;
}

.ref-linked-offer-link:hover {
    text-decoration: underline;
}

.ref-linked-offer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    background: rgba(54, 145, 255, 0.12);
    font-size: 1.1rem;
}

.ref-linked-offer-summary {
    margin: 10px 0 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #555;
}

.ref-detail-actions {
    margin-top: 8px;
}

.ref-detail-pdf-link {
    text-decoration: none;
    color: var(--white);
}

.ref-detail-pdf-link:hover {
    color: var(--white);
}

@media (max-width: 720px) {
    .ref-detail-layout {
        grid-template-columns: 1fr;
    }

    .ref-detail-thumb-wrap {
        max-width: 280px;
        margin: 0 auto;
    }
}

/* ==================== CENNIK (PAKIETY CENOWE) ==================== */
.pricing-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 36px;
    max-width: 760px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(54, 145, 255, 0.14);
    box-shadow: 0 8px 28px rgba(54, 145, 255, 0.1);
    backdrop-filter: blur(8px);
}

.pricing-filter-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 11px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: #5a6b7d;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.pricing-filter-btn:hover {
    color: var(--main);
    background: rgba(54, 145, 255, 0.08);
}

.pricing-filter-btn.is-active {
    background: linear-gradient(135deg, var(--main) 0%, var(--light) 100%);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(54, 145, 255, 0.35);
}

.pricing-filter-btn:focus-visible {
    outline: 2px solid var(--main);
    outline-offset: 2px;
}

.pricing-table-wrap {
    width: 100%;
    margin: 0 0 28px;
    -webkit-overflow-scrolling: touch;
}

.pricing-table-wrap--empty-filter .pricing-table {
    opacity: 0.5;
    filter: grayscale(0.15);
}

.pricing-filter-empty {
    text-align: center;
    font-size: 0.95rem;
    color: #6b7a8a;
    margin: 20px 0 0;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(54, 145, 255, 0.06);
}

.pricing-filter-empty[hidden] {
    display: none !important;
}

.pricing-table {
    width: 100%;
    min-width: 640px;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(54, 145, 255, 0.06),
        0 12px 40px rgba(54, 145, 255, 0.12);
    border: 1px solid rgba(54, 145, 255, 0.14);
}

.pricing-table thead tr {
    background: linear-gradient(105deg, var(--main) 0%, #4ca3ff 48%, var(--light) 100%);
}

.pricing-table thead th {
    background: transparent;
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 16px 18px;
    text-align: left;
    border-bottom: none;
    vertical-align: middle;
    line-height: 1.3;
}

.pricing-table thead th:first-child {
    border-radius: 20px 0 0 0;
}

.pricing-table thead th:last-child {
    border-radius: 0 20px 0 0;
}

.pricing-th-package {
    min-width: 220px;
}

.pricing-th-price {
    min-width: 128px;
    white-space: nowrap;
}

.pricing-package-group .pricing-row--main td {
    border-bottom: none;
    padding-top: 20px;
    padding-bottom: 12px;
}

.pricing-row {
    transition: background 0.25s ease;
}

.pricing-package-group:nth-child(even) .pricing-row--main td {
    background: #fafcff;
}

.pricing-package-group:hover .pricing-row--main td {
    background: rgba(54, 145, 255, 0.05);
}

.pricing-package-group:hover .pricing-row--scope .pricing-td-scope-full {
    background: rgba(54, 145, 255, 0.07);
}

.pricing-row.pricing-row--filtered-out {
    display: none !important;
}

.pricing-package-group--hidden {
    display: none !important;
}

.pricing-table tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(54, 145, 255, 0.08);
    vertical-align: middle;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #4a5568;
}

.pricing-row--scope .pricing-td-scope-full {
    background: linear-gradient(180deg, rgba(54, 145, 255, 0.06) 0%, rgba(255, 255, 255, 0) 100%);
    border-bottom: 1px solid rgba(54, 145, 255, 0.14);
    border-left: 4px solid var(--main);
    padding: 16px 20px 22px;
    vertical-align: top;
}

.pricing-package-group:not(:last-child) .pricing-row--scope .pricing-td-scope-full {
    box-shadow: inset 0 -1px 0 rgba(54, 145, 255, 0.1);
    margin-bottom: 4px;
}

.pricing-package-group:last-child .pricing-row--scope .pricing-td-scope-full {
    border-bottom: none;
}

.pricing-scope-block {
    width: 100%;
}

.pricing-scope-heading {
    margin: 0 0 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--main);
}

.pricing-package-cell {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.pricing-row-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(54, 145, 255, 0.18) 0%, rgba(140, 192, 255, 0.28) 100%);
    color: var(--main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(54, 145, 255, 0.15);
}

.pricing-package-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.pricing-row-for-whom {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #6b7a8a;
    line-height: 1.4;
}

.pricing-for-whom-prefix {
    color: var(--main);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.68rem;
}

.pricing-row-name {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.pricing-cell-price {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.2em;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--main);
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(54, 145, 255, 0.07);
    border: 1px solid rgba(54, 145, 255, 0.12);
}

.pricing-cell-currency {
    font-weight: 600;
    font-size: 0.78rem;
    color: #5a7a9e;
}

.pricing-cell-dash {
    color: #c5d0db;
    font-weight: 500;
    font-size: 1.1rem;
}

.pricing-row-params {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #4a5568;
    font-size: 0.88rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px 24px;
}

.pricing-row-params li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.pricing-row-params li:hover {
    background: rgba(255, 255, 255, 0.7);
}

.pricing-param-check {
    flex-shrink: 0;
    margin-top: 1px;
    width: 1.25rem;
    height: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    color: var(--white);
    background: linear-gradient(145deg, var(--main), var(--light));
    border-radius: 50%;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(54, 145, 255, 0.35);
}

.pricing-row-params li span {
    flex: 1;
    min-width: 0;
    line-height: 1.45;
}

/* Tablet: poziomy scroll tabeli */
@media (max-width: 1024px) {
    .pricing-table-wrap {
        overflow-x: auto;
        margin-left: max(-16px, calc((100vw - 100%) / -2 + 8px));
        margin-right: max(-16px, calc((100vw - 100%) / -2 + 8px));
        padding: 0 16px 8px;
    }

    .pricing-table {
        min-width: 580px;
    }
}

/* Mobile: wiersze jak karty z etykietami kolumn */
@media (max-width: 970px) {
    .pricing-filter {
        border-radius: 20px;
        padding: 10px;
        margin-bottom: 28px;
    }

    .pricing-filter-btn {
        flex: 1 1 auto;
        min-width: calc(50% - 8px);
        text-align: center;
        padding: 10px 14px;
    }

    .pricing-table-wrap {
        overflow-x: visible;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }

    .pricing-table {
        min-width: 0;
        display: block;
        border: none;
        box-shadow: none;
        background: transparent;
        border-radius: 0;
    }

    .pricing-table thead {
        display: none;
    }

    .pricing-table tbody.pricing-package-group {
        display: block;
        background: var(--white);
        border: 1px solid rgba(54, 145, 255, 0.14);
        border-radius: 20px;
        box-shadow:
            0 2px 8px rgba(54, 145, 255, 0.08),
            0 14px 32px rgba(54, 145, 255, 0.1);
        overflow: hidden;
        margin-bottom: 18px;
    }

    .pricing-package-group:nth-child(even) .pricing-row--main td {
        background: transparent;
    }

    .pricing-package-group:hover .pricing-row--main td,
    .pricing-package-group:hover .pricing-row--scope .pricing-td-scope-full {
        background: transparent;
    }

    .pricing-row {
        display: block;
    }

    .pricing-table tbody td {
        display: grid;
        grid-template-columns: minmax(7.5rem, 40%) 1fr;
        gap: 8px 14px;
        align-items: start;
        padding: 14px 18px;
        border-bottom: 1px solid rgba(54, 145, 255, 0.1);
        color: #4a5568;
    }

    .pricing-table tbody td::before {
        content: attr(data-label);
        font-size: 0.68rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--main);
        line-height: 1.35;
        padding-top: 3px;
    }

    .pricing-td-package {
        display: block !important;
        padding: 20px 18px !important;
        border-bottom: 1px solid rgba(54, 145, 255, 0.12) !important;
        background: linear-gradient(135deg, rgba(54, 145, 255, 0.1) 0%, rgba(140, 192, 255, 0.06) 100%) !important;
    }

    .pricing-td-package::before {
        display: none !important;
    }

    .pricing-row--scope .pricing-td-scope-full {
        display: block !important;
        padding: 16px 18px 20px !important;
        background: #f8fbff !important;
        border-left: none !important;
        border-bottom: none !important;
        box-shadow: none !important;
        margin-bottom: 0 !important;
    }

    .pricing-row--scope .pricing-td-scope-full::before {
        display: none !important;
    }

    .pricing-row-params {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .pricing-row-params li {
        padding: 8px 10px;
        background: rgba(255, 255, 255, 0.65);
    }

    .pricing-cell-price {
        white-space: normal;
        width: 100%;
        justify-content: flex-start;
    }
}

/* Szeroki desktop: tabela bez poziomego scrolla */
@media (min-width: 1025px) {
    .pricing-table-wrap {
        overflow-x: visible;
    }

    .pricing-table {
        min-width: 100%;
    }
}

.pricing-clause {
    font-size: 0.84rem;
    line-height: 1.65;
    color: #5a6b7d;
    text-align: center;
    max-width: 820px;
    margin: 12px auto 0;
    padding: 18px 22px;
    background: linear-gradient(180deg, rgba(54, 145, 255, 0.07) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-radius: 16px;
    border: 1px solid rgba(54, 145, 255, 0.14);
    box-shadow: 0 4px 16px rgba(54, 145, 255, 0.06);
}

.pricing-empty {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
    color: #666;
}

/* —— Strona O nas —— */
.about-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-service-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
}

.about-service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(54, 145, 255, 0.25) 0%, rgba(54, 145, 255, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #7ec0ff;
}

.about-service-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.about-service-text {
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    flex: 1;
}

.about-systems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 820px;
    margin: 0 auto;
}

.about-system-card {
    background: linear-gradient(180deg, rgba(54, 145, 255, 0.08) 0%, #fff 100%);
    border: 1px solid rgba(54, 145, 255, 0.16);
    border-radius: 18px;
    padding: 28px 26px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(54, 145, 255, 0.08);
}

.about-system-icon {
    font-size: 2.2rem;
    color: #3691ff;
    margin-bottom: 12px;
}

.about-system-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #1a2b3c;
}

.about-system-text {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #5a6b7d;
    margin: 0;
}

.about-partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}

.about-partner-card {
    background: #fff;
    border: 1px solid rgba(54, 145, 255, 0.14);
    border-radius: 18px;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 8px 28px rgba(54, 145, 255, 0.07);
}

.about-partner-icon {
    font-size: 2rem;
    color: #3691ff;
}

.about-partner-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: #1a2b3c;
}

.about-partner-text {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #5a6b7d;
    margin: 0;
    flex: 1;
}

.about-mbank-inline.mbank-partner-badge {
    position: static;
    transform: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0 8px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(54, 145, 255, 0.12);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    width: fit-content;
}

.about-mbank-inline.mbank-partner-badge:hover {
    transform: translateY(-3px);
}

.about-owner-card {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 32px;
    max-width: 720px;
    margin: 0 auto;
    padding: 32px;
    background: linear-gradient(180deg, rgba(54, 145, 255, 0.06) 0%, #fff 100%);
    border: 1px solid rgba(54, 145, 255, 0.14);
    border-radius: 20px;
    box-shadow: 0 10px 32px rgba(54, 145, 255, 0.08);
}

.about-owner-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(54, 145, 255, 0.2);
    flex-shrink: 0;
}

.about-owner-body {
    flex: 1;
    min-width: 220px;
}

.about-owner-name {
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: #1a2b3c;
}

.about-owner-role {
    font-size: 1rem;
    font-weight: 600;
    color: #3691ff;
    margin: 0 0 14px;
}

.about-owner-bio {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4a5568;
    margin: 0 0 18px;
    white-space: pre-line;
}

.about-owner-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
}

.about-owner-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #3691ff;
    text-decoration: none;
}

.about-owner-contact-link:hover {
    text-decoration: underline;
}

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

    .about-systems-grid,
    .about-partners-grid {
        grid-template-columns: 1fr;
    }

    .about-owner-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-owner-contact {
        justify-content: center;
    }
}