/* ============================================================================
 * ECG sections — styling sekcji 3-10.
 * ========================================================================== */

:root {
    --ecg-accent: #3F5AF3;
    --ecg-accent-2: #1E5BFF;
    --ecg-bg-1: #02050A;
    --ecg-bg-2: #0A0E18;
    --ecg-card-bg: rgba(255, 255, 255, 0.03);
    --ecg-card-border: rgba(255, 255, 255, 0.06);
    --ecg-text-1: rgba(255, 255, 255, 0.95);
    --ecg-text-2: rgba(255, 255, 255, 0.65);
    --ecg-accent-light: #7B90FF;
    /* Nadpisanie fontow template'u RR: Google Fonts (@import w main.css) usuniete
       z critical path — Montserrat (next/font) zastepuje Plus Jakarta Sans / DM Sans. */
    --rr-ff-body: var(--font-montserrat, 'Montserrat'), sans-serif;
    --rr-ff-heading: var(--font-montserrat, 'Montserrat'), sans-serif;
    --rr-ff-p: var(--font-montserrat, 'Montserrat'), sans-serif;
    --rr-ff-body-2: var(--font-montserrat, 'Montserrat'), sans-serif;
}

/* ============================================================================
 * GLOBAL — scroll-reveal (data-reveal + .is-revealed)
 * Atrybuty automatycznie dodawane przez ecg-sections.js po DOMContentLoaded.
 * ========================================================================== */
[data-reveal] {
    opacity: 0;
    transform: translateY(60px);
    transition:
        opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
[data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced-motion respect */
@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================================================
 * SEKCJA 6B — EMS framework convergent lines (LangChain-inspired)
 * 4 labelki na górze, krzywe SVG zlewają się do centralnego hubu "EMS®".
 * Hover labelki → highlight tej krzywej.
 * ========================================================================== */
.ecg-ems-converge {
    position: relative;
    padding: 130px 0;
    background: var(--ecg-bg-1, #02050A);
    overflow: hidden;
}

.ecg-converge-stage {
    position: relative;
    margin-top: 60px;
    height: 540px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.ecg-converge-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ecg-converge-line {
    fill: none;
    stroke: rgba(63, 90, 243, 0.25);
    stroke-width: 1.5;
    transition: stroke 320ms ease, stroke-width 320ms ease, opacity 320ms ease, filter 320ms ease;
}

/* Convergence hub w środku */
.ecg-converge-hub {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 90, 243, 0.35) 0%, rgba(63, 90, 243, 0.08) 60%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.ecg-converge-hub-inner {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--ecg-accent, #3F5AF3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    box-shadow: 0 0 60px rgba(63, 90, 243, 0.5);
}

/* Labels na górze, każda nad swoją krzywą */
.ecg-converge-labels {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    padding: 0 20px;
    z-index: 3;
}
.ecg-converge-label {
    background: rgba(20, 22, 30, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 14px 22px;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ecg-converge-label:hover,
.ecg-converge-label:focus-visible {
    background: rgba(63, 90, 243, 0.2);
    border-color: var(--ecg-accent, #3F5AF3);
    transform: translateY(-2px);
    outline: none;
}
.ecg-converge-label .letter {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--ecg-accent, #3F5AF3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 800;
}

/* Hover na label → highlight powiązanej krzywej (przez data-target) */
.ecg-ems-converge:has(.ecg-converge-label[data-target="analiza"]:hover) .ecg-converge-line:not([data-line="analiza"]),
.ecg-ems-converge:has(.ecg-converge-label[data-target="system"]:hover) .ecg-converge-line:not([data-line="system"]),
.ecg-ems-converge:has(.ecg-converge-label[data-target="architektura"]:hover) .ecg-converge-line:not([data-line="architektura"]),
.ecg-ems-converge:has(.ecg-converge-label[data-target="procesy"]:hover) .ecg-converge-line:not([data-line="procesy"]) {
    opacity: 0.2;
}
.ecg-converge-label[data-target="analiza"]:hover ~ .ecg-converge-stage .ecg-converge-line[data-line="analiza"],
.ecg-ems-converge:has(.ecg-converge-label:hover) .ecg-converge-line[data-line="analiza"]:has(~ * .ecg-converge-label[data-target="analiza"]:hover) {
    /* fallback */
}
.ecg-converge-line.is-active {
    stroke: var(--ecg-accent, #3F5AF3);
    stroke-width: 2.5;
    filter: drop-shadow(0 0 8px rgba(63, 90, 243, 0.6));
    opacity: 1;
}

/* Flow particles — niebieskie kropki lecące wzdłuż linii do hubu */
.ecg-flow-dot {
    fill: var(--ecg-accent, #3F5AF3);
    filter: drop-shadow(0 0 6px rgba(63, 90, 243, 0.8));
    transition: opacity 240ms ease;
}
/* Gdy któraś linia jest aktywna, dim kropki na innych liniach */
.ecg-ems-converge:has(.ecg-converge-label[data-target="analiza"]:hover) .ecg-flow-dot:not([data-flow="analiza"]),
.ecg-ems-converge:has(.ecg-converge-label[data-target="system"]:hover) .ecg-flow-dot:not([data-flow="system"]),
.ecg-ems-converge:has(.ecg-converge-label[data-target="architektura"]:hover) .ecg-flow-dot:not([data-flow="architektura"]),
.ecg-ems-converge:has(.ecg-converge-label[data-target="procesy"]:hover) .ecg-flow-dot:not([data-flow="procesy"]) {
    opacity: 0.15;
}

/* Cards opisowe pod stage */
.ecg-converge-cards {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.ecg-converge-card {
    padding: 24px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: background 200ms ease, border-color 200ms ease;
}
.ecg-converge-card:hover {
    background: rgba(63, 90, 243, 0.06);
    border-color: rgba(63, 90, 243, 0.4);
}
.ecg-converge-card .ecg-converge-letter {
    color: var(--ecg-accent, #3F5AF3);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 12px;
}
.ecg-converge-card .title {
    color: #fff;
    font-size: 1.0625rem;
    font-weight: 600;
    margin: 0 0 8px;
}
.ecg-converge-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 991px) {
    .ecg-converge-stage { height: 380px; }
    .ecg-converge-hub { width: 160px; height: 160px; }
    .ecg-converge-hub-inner { width: 88px; height: 88px; font-size: 1.125rem; }
    .ecg-converge-labels { gap: 6px; padding: 0 8px; }
    .ecg-converge-label { padding: 10px 14px; font-size: 0.8125rem; }
    .ecg-converge-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .ecg-converge-stage { height: 320px; }
    .ecg-converge-labels {
        position: relative;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 24px;
    }
    .ecg-converge-cards { grid-template-columns: 1fr; }
}

/* ============================================================================
 * SEKCJA 1.5 — Running ticker (segmenty animowane)
 * Bazuje na RunOK .running-text + .carouselTicker (auto-init w main.js)
 * ========================================================================== */
.ecg-ticker-section {
    background: rgba(63, 90, 243, 0.05);
    border-top: 1px solid rgba(63, 90, 243, 0.15);
    border-bottom: 1px solid rgba(63, 90, 243, 0.15);
    padding: 24px 0;
    overflow: hidden;
}
.ecg-ticker-section .running-text {
    overflow: hidden;
}
.ecg-ticker-section .carouselTicker__list {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ecg-ticker-section .carouselTicker__list li {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 500;
    letter-spacing: -0.01em;
    padding: 0 28px;
    white-space: nowrap;
    position: relative;
    flex-shrink: 0;
}
.ecg-ticker-section .carouselTicker__list li::after {
    content: "•";
    position: absolute;
    right: -3px;
    color: var(--ecg-accent, #3F5AF3);
    opacity: 0.6;
}

/* ============================================================================
 * SEKCJA 2.5 — Stat counters (odometer)
 * ========================================================================== */
.ecg-stats-section {
    background: linear-gradient(180deg,
        rgba(63, 90, 243, 0.04) 0%,
        rgba(63, 90, 243, 0) 100%);
    border-top: 1px solid rgba(63, 90, 243, 0.1);
    border-bottom: 1px solid rgba(63, 90, 243, 0.1);
}
.ecg-stat-item {
    text-align: center;
    padding: 20px;
}
.ecg-stat-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: rgba(63, 90, 243, 0.12);
    color: var(--ecg-accent, #3F5AF3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}
.ecg-stat-number {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1;
    letter-spacing: -0.03em;
}
.ecg-stat-number .odometer {
    color: var(--ecg-accent, #3F5AF3);
}
.ecg-stat-label {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin: 0;
    max-width: 240px;
    margin-left: auto;
    margin-right: auto;
}

/* Odometer dark-mode override (RunOK light defaults) */
.odometer.odometer-auto-theme,
.odometer.odometer-theme-default {
    font-family: inherit !important;
    font-weight: 800 !important;
}
.odometer-inside, .odometer-digit, .odometer-value {
    color: var(--ecg-accent, #3F5AF3) !important;
}

/* ============================================================================
 * SEKCJA 6C — Scroll-driven sticky obszary ekspertyzy
 * Lewa kolumna sticky (lista), prawa kolumna scrolluje przez 8 paneli.
 * IntersectionObserver per panel -> setActive matching item w liście.
 * ========================================================================== */
.ecg-areas-section {
    background: var(--ecg-bg-1, #02050A);
    padding-top: 80px !important; /* mniejszy padding zeby sticky aktywowalo wczesniej */
    padding-bottom: 80px !important;
}
.ecg-areas-section .section-heading { margin-bottom: 40px !important; }

.ecg-areas-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 1.6fr;
    gap: 80px;
    align-items: start;
}

/* Lewa kolumna — sticky lista (top: 90px = przy headerze) */
.ecg-areas-list {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-self: start;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    scrollbar-width: thin;
}
.ecg-areas-list::-webkit-scrollbar { width: 4px; }
.ecg-areas-list::-webkit-scrollbar-thumb { background: rgba(63, 90, 243, 0.3); border-radius: 2px; }
.ecg-area-item {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 16px 20px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.125rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: background 280ms ease, border-color 280ms ease, color 280ms ease, transform 280ms ease;
}
.ecg-area-item span {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    transition: color 280ms ease;
}
.ecg-area-item:hover,
.ecg-area-item:focus-visible {
    background: rgba(63, 90, 243, 0.06);
    border-color: rgba(63, 90, 243, 0.2);
    color: rgba(255, 255, 255, 0.85);
    outline: none;
}
.ecg-area-item:hover span,
.ecg-area-item:focus-visible span { color: rgba(255, 255, 255, 0.85); }

.ecg-area-item.is-active {
    background: rgba(63, 90, 243, 0.18);
    border-color: var(--ecg-accent, #3F5AF3);
    color: var(--ecg-accent, #3F5AF3);
    transform: translateX(6px);
}
.ecg-area-item.is-active span { color: #fff; font-weight: 600; }

/* Prawa kolumna — 8 paneli stack pionowo, scroll-driven */
.ecg-areas-panels {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.ecg-area-panel {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 48px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    margin-bottom: 24px;
    transition: opacity 480ms ease, border-color 480ms ease, background 480ms ease;
    opacity: 0.4;
}
.ecg-area-panel.is-active {
    opacity: 1;
    background: linear-gradient(180deg,
        rgba(63, 90, 243, 0.10) 0%,
        rgba(63, 90, 243, 0.03) 100%);
    border-color: rgba(63, 90, 243, 0.4);
}
.ecg-area-panel:last-child { margin-bottom: 0; }

.ecg-area-panel-num {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ecg-accent, #3F5AF3);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
    display: block;
}
.ecg-area-panel-title {
    font-size: clamp(1.5rem, 2.4vw, 2.25rem) !important;
    font-weight: 700 !important;
    color: #fff !important;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0 0 20px !important;
}
.ecg-area-panel-desc {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 1.0625rem;
    line-height: 1.65;
    margin: 0 0 24px !important;
}
.ecg-area-panel-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ecg-area-panel-bullets li {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9375rem;
    line-height: 1.55;
    padding-left: 24px;
    position: relative;
}
.ecg-area-panel-bullets li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--ecg-accent, #3F5AF3);
    font-weight: 700;
}

@media (max-width: 991px) {
    .ecg-areas-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .ecg-areas-list { position: static; gap: 8px; }
    .ecg-area-item.is-active { transform: none; }
    .ecg-area-panel { min-height: auto; padding: 40px 28px; }
}
@media (max-width: 575px) {
    .ecg-area-item span { display: none; }
    .ecg-area-panel { padding: 32px 22px; }
}

/* ============================================================================
 * SEKCJA 8 — Case studies CAROUSEL (testi-carousel-4 ze Swiperem)
 * ========================================================================== */
.ecg-cases-carousel { background: var(--ecg-bg-1, #02050A); }

.ecg-cases-swiper { padding: 20px 8px 60px; }
.ecg-cases-swiper .swiper-slide { height: auto; }

.ecg-case-card {
    height: 100%;
    padding: 36px 32px;
    background: var(--ecg-card-bg, rgba(255, 255, 255, 0.03));
    border: 1px solid var(--ecg-card-border, rgba(255, 255, 255, 0.06));
    border-radius: 16px;
    transition: background 240ms ease, border-color 240ms ease, transform 240ms ease;
    display: flex;
    flex-direction: column;
}
.ecg-case-card:hover {
    background: rgba(63, 90, 243, 0.06);
    border-color: rgba(63, 90, 243, 0.4);
    transform: translateY(-4px);
}

.ecg-case-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ecg-accent, #3F5AF3);
    background: rgba(63, 90, 243, 0.12);
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    align-self: flex-start;
}
.ecg-case-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.3;
}
.ecg-case-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0 0 28px;
    flex: 1;
}
.ecg-case-card .testi-author {
    padding-top: 24px;
    border-top: 1px solid var(--ecg-card-border, rgba(255, 255, 255, 0.06));
}
.ecg-case-card .testi-author .name {
    color: var(--ecg-accent, #3F5AF3);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0 0 4px;
}
.ecg-case-card .testi-author span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Swiper pagination dots */
.ecg-cases-swiper + .swiper-pagination,
.ecg-cases-carousel .swiper-pagination {
    position: relative;
    bottom: auto;
    padding-top: 20px;
    text-align: center;
}
.ecg-cases-carousel .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
    width: 10px;
    height: 10px;
    margin: 0 6px;
    transition: background 200ms ease, transform 200ms ease;
}
.ecg-cases-carousel .swiper-pagination-bullet-active {
    background: var(--ecg-accent, #3F5AF3);
    transform: scale(1.4);
}

/* ============================================================================
 * SEKCJA 11 — FAQ accordion
 * Bazuje na RunOK accordion (faq.html:245). Override dla dark mode.
 * ========================================================================== */
.ecg-faq-section { background: var(--ecg-bg-2, #0A0E18); }

.ecg-faq-content .accordion { border: none; }
.ecg-faq-content .accordion-item {
    background: var(--ecg-card-bg, rgba(255, 255, 255, 0.03));
    border: 1px solid var(--ecg-card-border, rgba(255, 255, 255, 0.06));
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
}
.ecg-faq-content .accordion-button {
    background: transparent;
    color: #fff;
    padding: 24px 28px;
    font-size: 1.0625rem;
    font-weight: 600;
    box-shadow: none;
    border: none;
}
.ecg-faq-content .accordion-button:not(.collapsed) {
    background: rgba(63, 90, 243, 0.06);
    color: #fff;
}
.ecg-faq-content .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(63, 90, 243, 0.25);
    outline: none;
}
.ecg-faq-content .accordion-body {
    padding: 0 28px 24px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.65;
}
.ecg-faq-content .accordion-body p { margin: 0; }

/* ============================================================================
 * SEKCJA 12 — Final CTA section przed footer
 * Bazuje na RunOK cta-section-5 (index-13:706). Custom dla ECG dark.
 * ========================================================================== */
.ecg-final-cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    border-top: 1px solid rgba(63, 90, 243, 0.2);
    border-bottom: 1px solid rgba(63, 90, 243, 0.2);
}
.ecg-final-cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(63, 90, 243, 0.18) 0%,
        rgba(30, 91, 255, 0.06) 50%,
        rgba(63, 90, 243, 0.18) 100%);
    pointer-events: none;
}
.ecg-final-cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse at center,
        rgba(63, 90, 243, 0.25) 0%,
        rgba(63, 90, 243, 0) 60%);
    pointer-events: none;
}
.ecg-final-cta-wrap {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.ecg-final-cta-wrap .section-title {
    font-size: clamp(2rem, 4vw, 3rem) !important;
}
.ecg-final-cta-btn .rr-primary-btn {
    padding: 18px 36px;
    font-size: 1.0625rem;
    box-shadow: 0 12px 40px rgba(63, 90, 243, 0.4);
}

/* ============================================================================
 * SEKCJA 1B — Testimonials carousel (3 opinie ze zdjeciami/inicjałami)
 * ========================================================================== */
.ecg-testimonials-section { background: var(--ecg-bg-2, #0A0E18); }

.ecg-testimonials-swiper { padding: 20px 8px 60px; overflow: visible; }
.ecg-testimonials-swiper .swiper-slide { height: auto; }

.ecg-testimonial-card {
    height: 100%;
    /* iter3 loom1: powiększone karty — klient prosił o znacząco większe testimoniale */
    padding: 52px 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    min-height: 380px;
    transition: background 240ms ease, border-color 240ms ease, transform 240ms ease;
}
.ecg-testimonial-card:hover {
    background: rgba(63, 90, 243, 0.06);
    border-color: rgba(63, 90, 243, 0.4);
    transform: translateY(-4px);
}

.ecg-testimonial-quote {
    color: var(--ecg-accent, #3F5AF3);
    margin-bottom: 20px;
    opacity: 0.85;
}

.ecg-testimonial-text {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.375rem;
    line-height: 1.5;
    font-style: italic;
    margin: 0 0 36px;
    flex: 1;
    font-weight: 500;
}

.ecg-testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ecg-testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--ecg-accent, #3F5AF3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.625rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 0 28px rgba(63, 90, 243, 0.4);
}

.ecg-testimonial-meta p {
    color: #fff !important;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 4px;
}
.ecg-testimonial-meta span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8125rem;
}

.ecg-testimonials-pagination {
    text-align: center;
    margin-top: 24px;
}
.ecg-testimonials-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
    width: 10px;
    height: 10px;
    margin: 0 6px;
    transition: background 200ms ease, transform 200ms ease;
}
.ecg-testimonials-pagination .swiper-pagination-bullet-active {
    background: var(--ecg-accent, #3F5AF3);
    transform: scale(1.4);
}

/* ============================================================================
 * SEKCJA 10b — Team (founder spotlight + grid konsultantów)
 * ========================================================================== */
.ecg-team-section { background: var(--ecg-bg-1, #02050A); }

.ecg-team-intro {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.0625rem;
    line-height: 1.6;
    max-width: 720px;
    margin: 24px auto 0;
}

/* Founder spotlight — asymetryczny split (foto ~40% / tekst ~60%) z niebieskim glow */
.ecg-founder-spotlight {
    margin: 0 auto 100px;
    max-width: 1180px;
}
.ecg-founder-grid {
    display: grid;
    grid-template-columns: minmax(280px, 2fr) 3fr;
    gap: 60px;
    align-items: center;
}
.ecg-founder-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(63, 90, 243, 0.5);
    box-shadow:
        0 24px 80px rgba(63, 90, 243, 0.28),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    background: linear-gradient(160deg, rgba(63, 90, 243, 0.08), rgba(2, 5, 10, 0));
}
.ecg-founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ecg-founder-body { color: rgba(255, 255, 255, 0.85); }
.ecg-founder-eyebrow {
    color: var(--ecg-accent, #3F5AF3);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0 0 10px;
}
.ecg-founder-name {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff !important;
    margin: 0 0 24px;
    line-height: 1.05;
    font-weight: 700;
}
.ecg-founder-quote {
    /* Reset globalnego blockquote z main.css (template RunOK ma display:grid + 150px 1fr) */
    display: block;
    grid-template-columns: none;
    background-color: transparent;
    align-items: initial;

    border-left: 3px solid var(--ecg-accent, #3F5AF3);
    padding: 6px 0 6px 20px;
    margin: 0 0 28px;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.92);
    font-style: italic;
    line-height: 1.5;
    quotes: none;
}
.ecg-founder-quote::before,
.ecg-founder-quote::after { content: none; }
.ecg-founder-bio p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0 0 14px;
}
.ecg-founder-bio p:last-child { margin-bottom: 0; }
.ecg-founder-bio strong { color: rgba(255, 255, 255, 0.92); }

@media (max-width: 991px) {
    .ecg-founder-spotlight { margin-bottom: 72px; }
    .ecg-founder-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .ecg-founder-photo {
        max-width: 360px;
        margin: 0 auto;
    }
    .ecg-founder-body { text-align: left; }
}
@media (max-width: 575px) {
    .ecg-founder-spotlight { margin-bottom: 56px; }
    .ecg-founder-quote { font-size: 1.05rem; }
}

/* Grid konsultantów — auto-fit, rosnie z liczba osob (4 -> 6 -> 8 -> ...) */
.ecg-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}

/* "+3 aniołów" jako tile w gridzie zespołu (analog "+73 tygrysy" u Tigers,
   ale jako pełny element grida zamiast osobnego paska pod). Zajmuje 2 kolumny
   żeby wyrównać do końca rzędu i mieć wagę wizualną podobną do paska Tigers. */
.ecg-team-card--banner {
    grid-column: span 2;
    background: linear-gradient(135deg, #2764F3 0%, #3F5AF3 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #fff;
    cursor: default;
    box-shadow: 0 24px 60px -30px rgba(39, 100, 243, 0.55);
    align-self: stretch;
    height: 100%;
    width: 100%;
}
.ecg-team-card--banner:hover { transform: none; }
@media (max-width: 575px) {
    .ecg-team-card--banner { grid-column: span 1; }
}

/* Jakub w gridzie ma kwadratowy oryginał (1024x1024) z neonem ECG nad głową +
   roślinami pod — w kafelku 1:1 głowa wygląda mniejsza niż w portretach 4:5
   pozostałych członków. Zoom in + kotwica zoom na 70% wysokości (pod twarzą)
   żeby przy skalowaniu twarz przesunęła się w górę kafelka. */
.ecg-team-card[data-key="jakub-engel"] .ecg-team-photo img {
    transform: scale(1.4);
    transform-origin: center 70%;
}
.ecg-team-extra-banner__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    line-height: 1.05;
}
.ecg-team-extra-banner__count {
    font-size: clamp(2.2rem, 3.8vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.ecg-team-extra-banner__label {
    font-size: clamp(1rem, 1.6vw, 1.35rem);
    font-weight: 600;
    letter-spacing: -0.005em;
    opacity: 0.95;
}

/* Founder photo — overlay z nazwiskiem na dole (jak Tigers Michał/CEO) */
.ecg-founder-photo {
    position: relative;
}
.ecg-founder-photo__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 80px 24px 22px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 70%, rgba(0,0,0,0.95) 100%);
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #fff;
    pointer-events: none;
}
.ecg-founder-photo__name {
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.01em;
}
.ecg-founder-photo__role {
    color: var(--ecg-accent, #3F5AF3);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    font-weight: 600;
}

.ecg-team-card {
    cursor: pointer;
    transition: transform 320ms ease;
}
.ecg-team-card:hover { transform: translateY(-6px); }

/* Photo: square 1:1, large, hover -> overlay z bio fade-in */
.ecg-team-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(63, 90, 243, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
    transition: border-color 320ms ease, box-shadow 320ms ease;
}
.ecg-team-card:hover .ecg-team-photo,
.ecg-team-card:focus-visible .ecg-team-photo {
    border-color: rgba(63, 90, 243, 0.7);
    box-shadow: 0 12px 40px rgba(63, 90, 243, 0.25);
}
.ecg-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1), filter 320ms ease;
}
.ecg-team-card:hover .ecg-team-photo img,
.ecg-team-card:focus-visible .ecg-team-photo img {
    transform: scale(1.06);
    filter: brightness(0.55) saturate(0.9);
}

/* Overlay z bio — pojawia się na hover (slide up + fade) */
.ecg-team-overlay {
    position: absolute;
    inset: 0;
    padding: 24px 22px;
    background: linear-gradient(180deg,
        rgba(2, 5, 10, 0) 0%,
        rgba(2, 5, 10, 0.85) 60%,
        rgba(2, 5, 10, 0.96) 100%);
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 320ms ease;
    pointer-events: none;
}
.ecg-team-card:hover .ecg-team-overlay,
.ecg-team-card:focus-visible .ecg-team-overlay {
    opacity: 1;
}
.ecg-team-overlay p {
    color: #fff;
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0;
    transform: translateY(12px);
    transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1) 80ms;
}
.ecg-team-card:hover .ecg-team-overlay p,
.ecg-team-card:focus-visible .ecg-team-overlay p {
    transform: translateY(0);
}

.ecg-team-info { padding: 0 4px; }
.ecg-team-name {
    color: #fff !important;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 6px;
}
.ecg-team-role {
    color: var(--ecg-accent, #3F5AF3);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

@media (max-width: 991px) {
    .ecg-team-grid .col-lg-3 { flex: 0 0 50%; max-width: 50%; }
}
@media (max-width: 575px) {
    .ecg-team-grid .col-lg-3 { flex: 0 0 100%; max-width: 100%; }
    /* Mobile: pokaz overlay na touch — zawsze visible */
    .ecg-team-overlay {
        opacity: 1;
        background: linear-gradient(180deg,
            rgba(2, 5, 10, 0) 0%,
            rgba(2, 5, 10, 0.7) 60%,
            rgba(2, 5, 10, 0.92) 100%);
    }
    .ecg-team-overlay p { transform: none; }
}

/* ============================================================================
 * SEKCJA 1A — Logo strip 3 rzędy z infinite scroll w naprzemiennych kierunkach
 * ========================================================================== */
.ecg-logo-strip { overflow: hidden; }

.ecg-logo-strip .sponsor-header .title {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    margin: 0 0 48px;
}

.ecg-logo-row {
    overflow: hidden;
    width: 100%;
    margin-bottom: 24px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.ecg-logo-row:last-child { margin-bottom: 0; }

.ecg-logo-track {
    display: flex;
    gap: 60px;
    width: max-content;
    align-items: center;
    animation: ecg-logo-scroll-left 60s linear infinite;
    will-change: transform;
}
.ecg-logo-row[data-direction="right"] .ecg-logo-track {
    animation-name: ecg-logo-scroll-right;
}

.ecg-logo-track img {
    height: 48px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.55;
    filter: brightness(0) invert(1);
    transition: opacity 200ms ease;
}
.ecg-logo-track img:hover { opacity: 1; }

@keyframes ecg-logo-scroll-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes ecg-logo-scroll-right {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

/* Pause on hover dla całego row (lepsze UX) */
.ecg-logo-row:hover .ecg-logo-track {
    animation-play-state: paused;
}

@media (max-width: 575px) {
    .ecg-logo-track { gap: 40px; }
    .ecg-logo-track img { height: 36px; max-width: 120px; }
}

/* ============================================================================
 * SEKCJA 5b — Alternatywna sekcja procesu: VERTICAL TIMELINE
 * (duplikat sekcji 5 z innym wzorem wizualnym — pionowa linia + nodes + cards)
 * ========================================================================== */
.ecg-process-timeline {
    position: relative;
    padding: 130px 0;
    background: var(--ecg-bg-2, #0A0E18);
}

.ecg-process-timeline .ecg-timeline-track {
    position: relative;
    max-width: 880px;
    margin: 60px auto 0;
    padding-left: 80px;
}

/* Pionowa linia z lewej */
.ecg-process-timeline .ecg-timeline-track::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 28px;
    width: 2px;
    background: linear-gradient(180deg,
        rgba(63, 90, 243, 0.5) 0%,
        rgba(63, 90, 243, 0.2) 100%);
}

.ecg-timeline-step {
    position: relative;
    padding: 0 0 56px 32px;
}
.ecg-timeline-step:last-child { padding-bottom: 0; }

/* Node (kółko z numerem) */
.ecg-timeline-step::before {
    content: attr(data-step);
    position: absolute;
    left: -80px;
    top: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(63, 90, 243, 0.15);
    border: 2px solid var(--ecg-accent, #3F5AF3);
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 6px rgba(2, 5, 10, 1), 0 0 24px rgba(63, 90, 243, 0.3);
    z-index: 2;
}

.ecg-timeline-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 24px 28px;
    transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.ecg-timeline-card:hover {
    background: rgba(63, 90, 243, 0.06);
    border-color: rgba(63, 90, 243, 0.4);
    transform: translateX(6px);
}
.ecg-timeline-card .ecg-timeline-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}
.ecg-timeline-card .ecg-timeline-goal {
    color: var(--ecg-accent, #3F5AF3);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 14px;
}
.ecg-timeline-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.55;
    margin: 0 0 8px;
}
.ecg-timeline-card p:last-child { margin: 0; }

@media (max-width: 575px) {
    .ecg-process-timeline .ecg-timeline-track {
        padding-left: 64px;
    }
    .ecg-timeline-step::before {
        left: -64px;
        width: 44px;
        height: 44px;
        font-size: 0.875rem;
    }
    .ecg-process-timeline .ecg-timeline-track::before {
        left: 22px;
    }
    .ecg-timeline-card { padding: 20px 22px; }
}

/* ============================================================================
 * SEKCJA 3 — Z kim pracujemy (5 segmentów)
 * ========================================================================== */
.ecg-segments-section .mb-60 { margin-bottom: 60px; }

.ecg-segments .col-lg { flex: 1 1 0; min-width: 200px; }

.ecg-segment-card {
    height: 100%;
    padding: 32px 24px;
    background: var(--ecg-card-bg);
    border: 1px solid var(--ecg-card-border);
    border-radius: 16px;
    transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.ecg-segment-card:hover {
    background: rgba(63, 90, 243, 0.05);
    border-color: rgba(63, 90, 243, 0.4);
    transform: translateY(-4px);
}

.ecg-segment-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: rgba(63, 90, 243, 0.15);
    color: var(--ecg-accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.ecg-segment-title {
    font-size: 1.125rem; font-weight: 600;
    color: #fff; margin: 0 0 10px; line-height: 1.3;
}

.ecg-segment-card p {
    margin: 0; color: var(--ecg-text-2);
    font-size: 0.9375rem; line-height: 1.55;
}

.ecg-segment-criteria {
    margin-top: 80px;
    padding: 36px 40px;
    background: rgba(63, 90, 243, 0.06);
    border: 1px solid rgba(63, 90, 243, 0.18);
    border-radius: 16px;
}
.ecg-criteria-title { font-size: 1.125rem; color: #fff; margin: 0 0 20px; font-weight: 600; }
.ecg-criteria-list {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px;
}
.ecg-criteria-list li {
    color: var(--ecg-text-2); font-size: 0.9375rem;
    padding-left: 24px; position: relative;
}
.ecg-criteria-list li::before {
    content: "→"; position: absolute; left: 0;
    color: var(--ecg-accent); font-weight: 700;
}
.ecg-criteria-list strong { color: #fff; }

/* ============================================================================
 * SEKCJA 4 — Oferta (4 usługi z CTA)
 * ========================================================================== */
.ecg-services-section { background: var(--ecg-bg-2); }

.ecg-service-card {
    height: 100%;
    padding: 40px 28px;
    background: var(--ecg-card-bg);
    border: 1px solid var(--ecg-card-border);
    border-radius: 16px;
    display: flex; flex-direction: column;
    transition: background 240ms ease, border-color 240ms ease, transform 240ms ease;
    position: relative;
}
.ecg-service-card:hover {
    background: rgba(63, 90, 243, 0.05);
    border-color: rgba(63, 90, 243, 0.45);
    transform: translateY(-6px);
}

.ecg-service-card-featured {
    background: linear-gradient(180deg, rgba(63, 90, 243, 0.12) 0%, rgba(63, 90, 243, 0.04) 100%);
    border-color: rgba(63, 90, 243, 0.3);
}

.ecg-service-num {
    font-size: 0.875rem; font-weight: 600;
    color: var(--ecg-accent);
    letter-spacing: 0.1em; margin-bottom: 12px;
}

.ecg-service-badge {
    position: absolute; top: 20px; right: 20px;
    background: var(--ecg-accent); color: #fff;
    font-size: 0.75rem; font-weight: 600;
    padding: 4px 10px; border-radius: 6px;
    text-transform: uppercase; letter-spacing: 0.05em;
}

.ecg-service-title {
    font-size: 1.375rem; font-weight: 700;
    color: #fff; margin: 0 0 12px; line-height: 1.25;
}

.ecg-service-tagline {
    color: var(--ecg-text-2); font-size: 0.9375rem;
    margin: 0 0 24px; line-height: 1.5;
}

.ecg-service-features {
    list-style: none; padding: 0; margin: 0 0 28px;
    flex: 1; display: flex; flex-direction: column; gap: 10px;
}
.ecg-service-features li {
    color: var(--ecg-text-2); font-size: 0.875rem; line-height: 1.5;
    padding-left: 22px; position: relative;
}
.ecg-service-features li::before {
    content: "✓"; position: absolute; left: 0;
    color: var(--ecg-accent); font-weight: 700;
}
.ecg-service-features strong { color: #fff; }

.ecg-service-cta {
    color: var(--ecg-accent);
    font-weight: 600; font-size: 0.9375rem;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: auto;
    transition: gap 200ms ease, color 200ms ease;
}
.ecg-service-cta:hover { color: #fff; gap: 14px; }

/* ============================================================================
 * SEKCJA 5 — Proces 6 kroków (3x2 grid)
 * ========================================================================== */
.ecg-process-section { position: relative; }

.ecg-process-intro {
    color: var(--ecg-text-2); font-size: 1.0625rem;
    max-width: 640px; margin: 24px auto 0;
}

.ecg-process-card {
    height: 100%;
    padding: 36px 28px;
    background: var(--ecg-card-bg);
    border: 1px solid var(--ecg-card-border);
    border-radius: 16px;
    position: relative;
    transition: background 240ms ease, border-color 240ms ease;
}
.ecg-process-card:hover {
    background: rgba(63, 90, 243, 0.06);
    border-color: rgba(63, 90, 243, 0.4);
}

.ecg-process-num {
    font-size: 4rem; font-weight: 800;
    color: rgba(63, 90, 243, 0.18);
    line-height: 1; margin-bottom: 8px;
    letter-spacing: -0.04em;
}

.ecg-process-title { font-size: 1.25rem; font-weight: 700; color: #fff; margin: 0 0 14px; }

.ecg-process-goal {
    color: var(--ecg-text-2); font-size: 0.9375rem; line-height: 1.5;
    margin: 0 0 18px; padding-bottom: 18px;
    border-bottom: 1px solid var(--ecg-card-border);
}
.ecg-process-goal strong { color: var(--ecg-accent); }

.ecg-process-bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ecg-process-bullets li {
    color: var(--ecg-text-2); font-size: 0.875rem; line-height: 1.5;
    padding-left: 20px; position: relative;
}
.ecg-process-bullets li::before { content: "•"; position: absolute; left: 4px; color: var(--ecg-accent); }

/* ============================================================================
 * SEKCJA 6 — EMS framework (4 filary, tabsy)
 * ========================================================================== */
.ecg-ems-section { background: var(--ecg-bg-1); }

.ecg-ems-intro {
    color: var(--ecg-text-2); max-width: 720px;
    margin: 24px auto 0; font-size: 1.0625rem;
}

.ecg-ems-tabs {
    margin-top: 60px;
    background: var(--ecg-card-bg);
    border: 1px solid var(--ecg-card-border);
    border-radius: 20px;
    padding: 8px;
}

.ecg-ems-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    border: none;
    margin-bottom: 8px;
}
.ecg-ems-nav .nav-link {
    padding: 24px 16px;
    border-radius: 14px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--ecg-text-2);
    text-align: left;
    transition: background 240ms ease, color 240ms ease, border-color 240ms ease;
    display: flex; align-items: center; gap: 14px;
}
.ecg-ems-nav .nav-link:hover { background: rgba(63, 90, 243, 0.06); color: #fff; }
.ecg-ems-nav .nav-link.active {
    background: rgba(63, 90, 243, 0.15);
    border-color: rgba(63, 90, 243, 0.4);
    color: #fff;
}
.ecg-ems-letter {
    width: 44px; height: 44px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(63, 90, 243, 0.18);
    color: var(--ecg-accent);
    font-size: 1.25rem; font-weight: 800;
    border-radius: 12px;
}
.ecg-ems-nav .nav-link.active .ecg-ems-letter { background: var(--ecg-accent); color: #fff; }
.ecg-ems-name { font-size: 0.9375rem; font-weight: 600; line-height: 1.2; }

.ecg-ems-content { padding: 40px 32px; }
.ecg-ems-content h3 { font-size: 1.75rem; font-weight: 700; color: #fff; margin: 0 0 16px; }
.ecg-ems-lead {
    color: var(--ecg-text-2); font-size: 1.0625rem; line-height: 1.55; margin: 0 0 24px;
}
.ecg-ems-bullets {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px;
}
.ecg-ems-bullets li {
    color: var(--ecg-text-2); font-size: 0.9375rem; line-height: 1.5;
    padding-left: 22px; position: relative;
}
.ecg-ems-bullets li::before { content: "→"; position: absolute; left: 0; color: var(--ecg-accent); font-weight: 700; }

/* ============================================================================
 * SEKCJA 7 — Efekt foundera (radial diagram)
 * ========================================================================== */
.ecg-radial-section { background: var(--ecg-bg-2); }

.ecg-effect-cols {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 24px; margin-top: 32px;
}
.ecg-effect-col {
    padding: 24px 20px;
    background: var(--ecg-card-bg);
    border: 1px solid var(--ecg-card-border);
    border-radius: 14px;
}
.ecg-effect-after {
    background: rgba(63, 90, 243, 0.07);
    border-color: rgba(63, 90, 243, 0.3);
}
.ecg-effect-label {
    font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--ecg-accent-light, #7B90FF); margin: 0 0 14px; /* jasniejszy accent: WCAG AA na ciemnym tle */
}
.ecg-effect-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ecg-effect-col li { color: var(--ecg-text-2); font-size: 0.875rem; line-height: 1.5; }
.ecg-effect-col strong { color: #fff; }

.ecg-radial-wrap { width: 100%; max-width: 700px; margin: 0 auto; }
.ecg-radial { width: 100%; height: auto; display: block; }
.ecg-radial-lines line {
    stroke: rgba(63, 90, 243, 0.25);
    stroke-width: 1.5;
    stroke-dasharray: 4 4;
}
.ecg-radial-hub circle {
    fill: var(--ecg-accent);
    filter: drop-shadow(0 0 24px rgba(63, 90, 243, 0.5));
}
.ecg-hub-text { fill: #fff; font-size: 22px; font-weight: 800; letter-spacing: 0.05em; }
.ecg-radial-node circle {
    fill: rgba(20, 22, 30, 0.95);
    stroke: rgba(63, 90, 243, 0.45);
    stroke-width: 1.5;
    transition: fill 240ms ease, stroke 240ms ease, transform 240ms ease;
    transform-origin: center;
    transform-box: fill-box;
}
.ecg-radial-node:hover circle,
.ecg-radial-node:focus circle,
.ecg-radial-node.is-active circle {
    fill: var(--ecg-accent);
    stroke: var(--ecg-accent);
    transform: scale(1.08);
}
.ecg-radial-node { outline: none; }
.ecg-radial-node.is-active text { fill: #fff; font-weight: 700; }
.ecg-radial-node text {
    fill: rgba(255, 255, 255, 0.9);
    font-size: 11px; font-weight: 600;
    pointer-events: none; user-select: none;
}
.ecg-spark {
    fill: var(--ecg-accent, #3F5AF3);
    filter: drop-shadow(0 0 6px rgba(63, 90, 243, 0.85));
    pointer-events: none;
}

/* ============================================================================
 * SEKCJA 8 — Case studies
 * ========================================================================== */
.ecg-cases-section .accordion-item {
    background: var(--ecg-card-bg);
    border: 1px solid var(--ecg-card-border);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
}
.ecg-cases-section .accordion-button {
    background: transparent;
    color: #fff;
    padding: 28px 32px;
    box-shadow: none;
}
.ecg-cases-section .accordion-button:not(.collapsed) {
    background: rgba(63, 90, 243, 0.06);
    color: #fff;
}
.ecg-cases-section .project-content {
    display: flex; align-items: center; gap: 28px; width: 100%;
}
.ecg-cases-section .project-content .number {
    font-size: 2rem; font-weight: 800;
    color: var(--ecg-accent);
    line-height: 1; min-width: 60px;
    letter-spacing: -0.02em;
}
.ecg-cases-section .project-content .project-right { display: flex; flex-direction: column; gap: 6px; }
.ecg-cases-section .project-content .category {
    font-size: 0.75rem;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--ecg-accent); font-weight: 600;
}
.ecg-cases-section .project-content .title {
    font-size: 1.125rem; font-weight: 600;
    color: #fff; line-height: 1.3;
}

.ecg-cases-section .accordion-body { padding: 0 32px 28px; }
.ecg-cases-section .hover-content {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 32px; align-items: center;
}
.ecg-cases-section .hover-content p {
    color: var(--ecg-text-2);
    font-size: 1rem; line-height: 1.6;
    margin: 0 0 20px;
}
.ecg-cases-section .project-thumb img { width: 100%; height: auto; border-radius: 12px; }

/* ============================================================================
 * SEKCJA 9 — Newsletter big block
 * ========================================================================== */
.ecg-newsletter {
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.10) 0%, rgba(30, 91, 255, 0.04) 100%);
    border-top: 1px solid rgba(63, 90, 243, 0.2);
    border-bottom: 1px solid rgba(63, 90, 243, 0.2);
    text-align: center;
}
.ecg-newsletter .bg-text { color: rgba(63, 90, 243, 0.08); }
.ecg-newsletter-sub {
    color: var(--ecg-text-2); font-size: 1.0625rem;
    margin: 16px auto 40px; max-width: 540px;
}
.ecg-newsletter .newsletter-form {
    max-width: 600px; margin: 0 auto; position: relative;
}
.ecg-newsletter .newsletter-form .form-control {
    width: 100%;
    padding: 18px 200px 18px 56px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
}
.ecg-newsletter .newsletter-form .form-control::placeholder { color: rgba(255, 255, 255, 0.4); }
.ecg-newsletter .newsletter-form .icon {
    position: absolute; left: 20px; top: 50%;
    transform: translateY(-50%);
    color: var(--ecg-accent);
}
.ecg-newsletter .newsletter-form .submit-btn {
    position: absolute; right: 6px; top: 50%;
    transform: translateY(-50%);
}
.ecg-newsletter .newsletter-form .submit-btn .rr-primary-btn {
    padding: 12px 22px; font-size: 0.9375rem;
}

/* ============================================================================
 * SEKCJA 10 — Kontakt
 * ========================================================================== */
.ecg-contact .contact-list { margin-top: 32px; }
.ecg-contact .list-item {
    display: flex; gap: 18px;
    margin-bottom: 24px;
    align-items: flex-start;
}
.ecg-contact .list-item .icon {
    width: 48px; height: 48px;
    flex-shrink: 0;
    background: rgba(63, 90, 243, 0.15);
    color: var(--ecg-accent);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.125rem;
}
.ecg-contact .list-item .title {
    font-size: 0.875rem; color: #fff;
    margin: 0 0 4px;
    text-transform: uppercase; letter-spacing: 0.05em;
    font-weight: 600;
}
.ecg-contact .list-item .content span,
.ecg-contact .list-item .content a {
    color: var(--ecg-text-2); font-size: 0.9375rem;
    text-decoration: none;
}
.ecg-contact .list-item .content a:hover { color: var(--ecg-accent); }

.ecg-contact-form .form-control,
.ecg-contact-form .ecg-select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #fff;
    padding: 14px 18px;
    font-size: 0.9375rem;
    width: 100%;
    margin-bottom: 12px;
    transition: border-color 200ms ease, background 200ms ease;
}
.ecg-contact-form .form-control:focus,
.ecg-contact-form .ecg-select:focus {
    outline: none;
    border-color: rgba(63, 90, 243, 0.5);
    background: rgba(255, 255, 255, 0.06);
}
.ecg-contact-form .form-control::placeholder { color: rgba(255, 255, 255, 0.4); }
.ecg-contact-form textarea { resize: vertical; min-height: 140px; }
.ecg-contact-form .submit-btn { margin-top: 12px; }

/* ============================================================================
 * Mobile (≤ 991px)
 * ========================================================================== */
@media (max-width: 991px) {
    .ecg-segments .col-lg { flex: 0 0 50%; }
    .ecg-criteria-list { grid-template-columns: 1fr; }
    .ecg-ems-nav { grid-template-columns: 1fr; }
    .ecg-ems-content { padding: 28px 20px; }
    .ecg-ems-bullets { grid-template-columns: 1fr; }
    .ecg-effect-cols { grid-template-columns: 1fr; }
    .ecg-cases-section .hover-content { grid-template-columns: 1fr; }
    .ecg-newsletter .newsletter-form .form-control {
        padding-right: 18px;
        margin-bottom: 12px;
    }
    .ecg-newsletter .newsletter-form .submit-btn {
        position: relative;
        top: auto; right: auto; transform: none;
        margin-top: 12px;
    }
}

@media (max-width: 575px) {
    .ecg-process-num { font-size: 3rem; }
    .ecg-segment-card { padding: 24px 20px; }
    .ecg-service-card { padding: 28px 22px; }
    .ecg-radial-node text { font-size: 14px; }
    .ecg-segment-criteria { padding: 24px; }
}


/* ============================================================================
 * SEKCJA #o-ecg-intro — Co robi ECG (loom1b — Koncept B: horizontal scroll reveal)
 * 4 panele scrollujace poziomo dzieki pionowemu scroll, ze stickym viewport.
 * Sparki: niebieskie blob + latajace ikonki + big number z gradient text.
 * ========================================================================== */

.ecg-about-horiz {
    background: var(--ecg-bg-1, #02050A);
    position: relative;
    /* overflow-x: clip — chroni body przed horizontal scrollbar (track ma 400vw), ale pozwala pozycjonowanym dzieciom (big-num, sparki) wystawac wizualnie */
    overflow-x: clip;
    padding-bottom: 140px;
}
.ecg-about-horiz::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(63, 90, 243, 0.12), transparent 55%),
        radial-gradient(ellipse at 80% 100%, rgba(30, 91, 255, 0.05), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Intro panel — normalny scroll */
.ecg-about-horiz__intro {
    position: relative;
    z-index: 2;
    padding: 130px 0 70px;
}
.ecg-about-horiz__lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    max-width: 920px;
    margin: 32px auto 0;
    text-align: center;
}
.ecg-about-horiz__lead strong { color: #fff; font-weight: 600; }
.ecg-about-horiz__hint {
    margin: 40px auto 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px dashed rgba(63, 90, 243, 0.45);
    color: rgba(63, 90, 243, 0.95);
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
    animation: ecg-hint-pulse 2.4s ease-in-out infinite;
}
.ecg-about-horiz__hint i { transition: transform 240ms ease; }
@keyframes ecg-hint-pulse {
    0%, 100% { transform: translateY(0); border-color: rgba(63, 90, 243, 0.45); }
    50% { transform: translateY(-3px); border-color: rgba(63, 90, 243, 0.75); }
}
.ecg-about-horiz__intro .section-heading {
    margin-bottom: 0;
}
/* center the hint pill */
.ecg-about-horiz__intro .container { display: flex; flex-direction: column; align-items: center; }

/* Sticky viewport — pin'uje sie podczas scrolla, track jezdzi poziomo. 60vh centrowany w window (top: 20vh) */
/* overflow zdjete — gradient/big-num nie sa juz przycinane. Horizontal scroll body chroni overflow-x: clip na .ecg-about-horiz */
.ecg-about-horiz__viewport {
    position: sticky;
    top: 20vh;
    height: 60vh;
    min-height: 460px;
    max-height: 720px;
    z-index: 2;
}

.ecg-about-horiz__track {
    display: flex;
    height: 100%;
    width: calc(100vw * var(--panel-count, 4));
    will-change: transform;
    transition: transform 80ms linear;
}

/* Pojedynczy panel — 100vw szerokosci, full height */
.ecg-about-panel {
    position: relative;
    flex: 0 0 100vw;
    width: 100vw;
    height: 100%;
    display: flex;
    align-items: center;
    /* overflow zdjete — pozwala big-num i sparkom byc widocznym w pelni */
}

/* Background warstwa: blob + big number + sparki */
.ecg-about-panel__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Blob — bardziej subtelny, prawo dolny rog (nie przykrywa tekstu) */
.ecg-about-panel__blob {
    position: absolute;
    width: 55vmin;
    height: 55vmin;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 90, 243, 0.28) 0%, rgba(30, 91, 255, 0.08) 40%, transparent 75%);
    bottom: -15%;
    right: -8%;
    transform: scale(0.9);
    filter: blur(30px);
    opacity: 0.5;
    transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1), opacity 800ms ease;
}
.ecg-about-panel.is-active .ecg-about-panel__blob {
    transform: scale(1.05);
    opacity: 0.8;
    animation: ecg-blob-float 8s ease-in-out infinite;
}
@keyframes ecg-blob-float {
    0%, 100% { transform: scale(1.05) translate(0, 0); }
    50% { transform: scale(1.12) translate(-2%, -3%); }
}

/* Big number — mniejszy i dalej od krawedzi (zeby na 1280-1440 nie wystawal poza window) */
.ecg-about-panel__big-num {
    position: absolute;
    bottom: 4vh;
    right: 8vw;
    font-size: clamp(6rem, 13vw, 14rem);
    font-weight: 800;
    line-height: 0.85;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(63, 90, 243, 0.18);
    letter-spacing: -0.04em;
    user-select: none;
    pointer-events: none;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), opacity 700ms ease;
}
.ecg-about-panel.is-active .ecg-about-panel__big-num {
    transform: translateY(0);
    opacity: 1;
    -webkit-text-stroke: 1.5px rgba(63, 90, 243, 0.32);
}

/* Sparki — latajace ikonki niebieskie */
.ecg-about-panel__spark {
    position: absolute;
    color: var(--ecg-accent, #3F5AF3);
    opacity: 0;
    pointer-events: none;
    filter: drop-shadow(0 0 12px rgba(63, 90, 243, 0.75));
    will-change: transform, opacity;
}
.ecg-about-panel.is-active .ecg-about-panel__spark { opacity: 1; }
.ecg-about-panel__spark i { display: block; }
.ecg-about-panel__spark--1 { top: 14%; left: 8%; font-size: 2.25rem; }
.ecg-about-panel__spark--2 { top: 22%; right: 14%; font-size: 1.5rem; }
.ecg-about-panel__spark--3 { bottom: 22%; left: 18%; font-size: 1.875rem; }
.ecg-about-panel__spark--4 { bottom: 12%; right: 24%; font-size: 1.625rem; }
.ecg-about-panel__spark--5 { top: 40%; left: 42%; font-size: 0.5rem; opacity: 0.6 !important; }
.ecg-about-panel__spark--6 { top: 62%; right: 38%; font-size: 0.375rem; opacity: 0.5 !important; }

.ecg-about-panel.is-active .ecg-about-panel__spark--1 { animation: ecg-spark-float-a 5s ease-in-out infinite; }
.ecg-about-panel.is-active .ecg-about-panel__spark--2 { animation: ecg-spark-float-b 6.5s ease-in-out infinite; animation-delay: 0.3s; }
.ecg-about-panel.is-active .ecg-about-panel__spark--3 { animation: ecg-spark-float-c 5.5s ease-in-out infinite; animation-delay: 0.6s; }
.ecg-about-panel.is-active .ecg-about-panel__spark--4 { animation: ecg-spark-float-d 6s ease-in-out infinite; animation-delay: 0.9s; }
.ecg-about-panel.is-active .ecg-about-panel__spark--5 { animation: ecg-spark-drift-a 7s linear infinite; }
.ecg-about-panel.is-active .ecg-about-panel__spark--6 { animation: ecg-spark-drift-b 9s linear infinite; animation-delay: 1s; }

@keyframes ecg-spark-float-a {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(28px, -16px) rotate(8deg); }
}
@keyframes ecg-spark-float-b {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-22px, 18px) rotate(-6deg); }
}
@keyframes ecg-spark-float-c {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, 22px) rotate(10deg); }
}
@keyframes ecg-spark-float-d {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-28px, -12px) rotate(-8deg); }
}
@keyframes ecg-spark-drift-a {
    0% { transform: translate(0, 0); opacity: 0.6; }
    50% { transform: translate(80px, -40px); opacity: 0.2; }
    100% { transform: translate(160px, 0); opacity: 0; }
}
@keyframes ecg-spark-drift-b {
    0% { transform: translate(0, 0); opacity: 0.5; }
    50% { transform: translate(-60px, 30px); opacity: 0.15; }
    100% { transform: translate(-120px, 0); opacity: 0; }
}

/* Content — tekst i bullets */
.ecg-about-panel__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1180px;
    padding: 0 6vw;
    margin-left: auto;
    margin-right: auto;
    transform: translateX(60px);
    opacity: 0;
    transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1), opacity 800ms ease;
    transition-delay: 200ms;
}
.ecg-about-panel.is-active .ecg-about-panel__content {
    transform: translateX(0);
    opacity: 1;
}

.ecg-about-panel__meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ecg-accent, #3F5AF3);
    font-weight: 700;
    margin-bottom: 28px;
    padding: 8px 16px;
    border: 1px solid rgba(63, 90, 243, 0.35);
    border-radius: 999px;
    background: rgba(63, 90, 243, 0.08);
}
.ecg-about-panel__meta i { font-size: 1rem; }

.ecg-about-panel h3.ecg-about-panel__title,
.ecg-about-panel__title {
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
    line-height: 1.15;
    color: #fff !important; /* override dla h3 z RunOK (ma ciemny default) */
    margin: 0 0 24px;
    letter-spacing: -0.02em;
    font-weight: 700;
    max-width: 920px;
}
.ecg-about-panel__title em {
    font-style: normal;
    background: linear-gradient(120deg, #6E89FF 0%, #3F5AF3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ecg-about-panel__text {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
    max-width: 580px;
    margin: 0 0 28px;
}

.ecg-about-panel__bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    counter-reset: ecg-num;
}
.ecg-about-panel__bullets li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 1.0625rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: background 240ms ease, border-color 240ms ease, transform 240ms ease;
}
.ecg-about-panel__bullets li:hover {
    background: rgba(63, 90, 243, 0.08);
    border-color: rgba(63, 90, 243, 0.35);
    transform: translateX(4px);
}
.ecg-about-panel__bullets li i {
    color: var(--ecg-accent, #3F5AF3);
    font-size: 1.125rem;
    margin-top: 2px;
    flex-shrink: 0;
}
.ecg-about-panel__bullets li strong { color: #fff; font-weight: 600; }

.ecg-about-panel__bullets--num li {
    counter-increment: ecg-num;
    position: relative;
    padding-left: 56px;
}
.ecg-about-panel__bullets--num li::before {
    content: counter(ecg-num, decimal-leading-zero);
    position: absolute;
    left: 18px;
    top: 12px;
    color: var(--ecg-accent, #3F5AF3);
    font-weight: 800;
    font-size: 1.125rem;
    letter-spacing: 0.05em;
    font-feature-settings: "tnum";
}

.ecg-about-panel__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ecg-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(63, 90, 243, 0.4);
    background: rgba(63, 90, 243, 0.08);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Progress bar — absolute overlay przyklejony do dolu viewportu (zawsze widoczny przy panelach) */
.ecg-about-horiz__progress {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 5;
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}
.ecg-about-horiz__progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}
.ecg-about-horiz__progress-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    width: var(--ecg-progress, 0%);
    background: linear-gradient(90deg, var(--ecg-accent, #3F5AF3), #6E89FF);
    box-shadow: 0 0 16px rgba(63, 90, 243, 0.6);
    transition: width 120ms linear;
}
.ecg-about-horiz__progress-dots {
    display: flex;
    gap: 18px;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 700;
    font-feature-settings: "tnum";
}
.ecg-about-horiz__progress-dots span {
    transition: color 240ms ease, transform 240ms ease;
}
.ecg-about-horiz__progress-dots span.is-active {
    color: var(--ecg-accent, #3F5AF3);
    transform: scale(1.15);
}

/* ====== Mobile fallback: pionowy stack, bez sticky horizontal scroll ====== */
@media (max-width: 991px) {
    .ecg-about-horiz {
        overflow-x: clip;
        padding-bottom: 60px;
    }
    .ecg-about-horiz__intro { padding: 80px 0 40px; }
    .ecg-about-horiz__lead { font-size: 1.0625rem; }
    .ecg-about-horiz__hint { display: none; }

    .ecg-about-horiz__viewport {
        position: relative;
        top: auto;
        height: auto;
        min-height: 0;
        max-height: none;
        overflow: visible;
    }
    .ecg-about-horiz__track {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: auto;
        transform: none !important;
    }
    .ecg-about-panel {
        flex: 0 0 auto;
        width: 100%;
        min-height: 0;
        height: auto;
        padding: 56px 0;
        opacity: 1;
        align-items: flex-start;
    }
    .ecg-about-panel.is-active .ecg-about-panel__blob,
    .ecg-about-panel__blob {
        opacity: 0.4;
        animation: none;
        width: 60vmin;
        height: 60vmin;
        bottom: -10%;
        right: -15%;
    }
    .ecg-about-panel.is-active .ecg-about-panel__big-num,
    .ecg-about-panel__big-num {
        opacity: 1;
        transform: none;
        font-size: clamp(7rem, 24vw, 12rem);
        bottom: auto;
        top: 24px;
        right: 24px;
        -webkit-text-stroke: 1.5px rgba(63, 90, 243, 0.22);
    }
    .ecg-about-panel__content {
        transform: none;
        opacity: 1;
        padding: 0 24px;
        max-width: 100%;
    }
    .ecg-about-panel__title {
        font-size: clamp(1.5rem, 6vw, 2rem) !important;
        max-width: 100%;
        margin: 0 0 18px;
    }
    .ecg-about-panel__text {
        font-size: 0.9375rem;
        max-width: 100%;
    }
    .ecg-about-panel__meta {
        font-size: 0.6875rem;
        padding: 6px 12px;
        margin-bottom: 18px;
    }
    .ecg-about-panel__bullets li {
        font-size: 0.9375rem;
        padding: 12px 14px;
    }
    .ecg-about-panel__bullets--num li {
        padding-left: 44px;
    }
    .ecg-about-panel__bullets--num li::before {
        left: 12px;
        top: 10px;
        font-size: 0.9375rem;
    }
    .ecg-about-panel__chips { gap: 6px; }
    .ecg-chip { font-size: 0.75rem; padding: 6px 12px; }
    .ecg-about-panel__spark {
        opacity: 0.4 !important;
        animation: none !important;
        font-size: 1.125rem !important;
    }
    .ecg-about-panel__spark--5,
    .ecg-about-panel__spark--6 { display: none; }
    .ecg-about-horiz__progress { display: none; }
}

@media (max-width: 575px) {
    .ecg-about-panel { padding: 44px 0; }
    .ecg-about-panel__content { padding: 0 20px; }
    .ecg-about-panel__big-num {
        font-size: clamp(6rem, 22vw, 10rem) !important;
        top: 18px;
        right: 16px;
    }
}
/* ============================================================================
 * ECG iter3 — style nowych sekcji wprowadzonych w iteracji 3.
 * Sekcje: #produkty, #cta-quote, #dlaczego-my + drobne polish.
 * ========================================================================== */

/* ============================================================================
 * SEKCJA 3 — Produkty (EMS® + Omnira)
 * ========================================================================== */
.ecg-products-section {
    background: var(--ecg-bg-2, #0A0E18);
    position: relative;
}

.ecg-products-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 25% 20%, rgba(63, 90, 243, 0.10), transparent 55%),
        radial-gradient(ellipse at 75% 80%, rgba(30, 91, 255, 0.06), transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.ecg-products-section .container {
    position: relative;
    z-index: 1;
}

.ecg-products-grid {
    margin-top: 20px;
}

.ecg-product-card {
    position: relative;
    height: 100%;
    padding: 48px 40px 40px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--ecg-card-border, rgba(255, 255, 255, 0.08));
    border-radius: 16px;
    backdrop-filter: blur(8px);
    transition: transform 350ms ease, border-color 350ms ease, box-shadow 350ms ease;
    overflow: hidden;
}

.ecg-product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(63, 90, 243, 0.35);
    box-shadow: 0 24px 60px rgba(63, 90, 243, 0.15);
}

.ecg-product-card-featured {
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.18) 0%, rgba(30, 91, 255, 0.06) 100%);
    border-color: rgba(63, 90, 243, 0.30);
}

.ecg-product-card-featured::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -30%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(63, 90, 243, 0.18), transparent 70%);
    pointer-events: none;
}

.ecg-product-card-omnira::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -25%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(160, 110, 255, 0.10), transparent 70%);
    pointer-events: none;
}

.ecg-product-badge {
    display: inline-block;
    padding: 6px 14px;
    margin-bottom: 24px;
    background: var(--ecg-accent, #3F5AF3);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 999px;
}

.ecg-product-badge-soon {
    background: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.ecg-product-mark {
    position: relative;
    font-family: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--ecg-text-1, #fff);
    margin-bottom: 8px;
    z-index: 1;
}

.ecg-product-card-omnira .ecg-product-mark {
    background: linear-gradient(135deg, #fff 0%, #b9c9ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 56px;
}

.ecg-product-r {
    font-size: 0.45em;
    vertical-align: super;
    color: var(--ecg-accent, #3F5AF3);
    margin-left: 4px;
}

.ecg-product-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--ecg-text-1, #fff);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.ecg-product-lead {
    font-size: 16px;
    line-height: 1.65;
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.75));
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.ecg-product-pillars {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    position: relative;
    z-index: 1;
}

.ecg-product-pillars li {
    position: relative;
    padding: 8px 0 8px 28px;
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.88));
    font-size: 15px;
    line-height: 1.55;
    border-top: 1px dashed rgba(255, 255, 255, 0.06);
}

.ecg-product-pillars li:first-child {
    border-top: none;
}

.ecg-product-pillars li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--ecg-accent, #3F5AF3);
    font-weight: 700;
}

.ecg-product-pillars li strong {
    display: inline-block;
    min-width: 1.2em;
    color: var(--ecg-accent, #3F5AF3);
    font-weight: 700;
}

.ecg-product-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ecg-text-1, #fff);
    font-weight: 600;
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    transition: color 200ms ease, border-color 200ms ease, gap 200ms ease;
    position: relative;
    z-index: 1;
}

.ecg-product-cta:hover {
    color: var(--ecg-accent, #3F5AF3);
    border-bottom-color: var(--ecg-accent, #3F5AF3);
    gap: 14px;
}

@media (max-width: 768px) {
    .ecg-product-card {
        padding: 36px 28px 32px;
    }
    .ecg-product-mark {
        font-size: 48px;
    }
    .ecg-product-card-omnira .ecg-product-mark {
        font-size: 40px;
    }
}

/* ============================================================================
 * SEKCJA 4 — CTA banner „Wyślij zapytanie"
 * ========================================================================== */
.ecg-cta-banner {
    padding: 80px 0;
    background: var(--ecg-bg-1, #02050A);
    position: relative;
}

.ecg-cta-banner-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 48px 56px;
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.16) 0%, rgba(30, 91, 255, 0.05) 100%);
    border: 1px solid rgba(63, 90, 243, 0.28);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.ecg-cta-banner-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 50%, rgba(63, 90, 243, 0.18), transparent 60%);
    pointer-events: none;
}

.ecg-cta-banner-text {
    flex: 1 1 auto;
    position: relative;
    z-index: 1;
}

.ecg-cta-banner-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ecg-text-1, #fff);
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.ecg-cta-banner-sub {
    font-size: 16px;
    line-height: 1.5;
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.75));
    margin: 0;
    max-width: 640px;
}

.ecg-cta-banner-action {
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .ecg-cta-banner-wrap {
        flex-direction: column;
        align-items: flex-start;
        padding: 36px 28px;
        gap: 24px;
    }
    .ecg-cta-banner-title {
        font-size: 24px;
    }
}

/* ============================================================================
 * SEKCJA 8 — Dlaczego my
 * ========================================================================== */
.ecg-why-us {
    background: var(--ecg-bg-2, #0A0E18);
    position: relative;
}

.ecg-why-grid {
    margin-top: 16px;
}

.ecg-why-card {
    height: 100%;
    padding: 36px 32px;
    background: var(--ecg-card-bg, rgba(255, 255, 255, 0.03));
    border: 1px solid var(--ecg-card-border, rgba(255, 255, 255, 0.08));
    border-radius: 14px;
    transition: transform 300ms ease, border-color 300ms ease, background 300ms ease;
}

.ecg-why-card:hover {
    transform: translateY(-4px);
    border-color: rgba(63, 90, 243, 0.30);
    background: rgba(63, 90, 243, 0.05);
}

.ecg-why-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.18) 0%, rgba(30, 91, 255, 0.06) 100%);
    border: 1px solid rgba(63, 90, 243, 0.30);
    border-radius: 14px;
    font-size: 24px;
    color: var(--ecg-accent, #3F5AF3);
}

.ecg-why-title {
    font-size: 19px;
    font-weight: 600;
    color: var(--ecg-text-1, #fff);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.ecg-why-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.72));
    margin: 0;
}

/* Stats odometer wchłonięte do "Dlaczego my" */
.ecg-why-stats {
    margin-top: 80px;
    padding-top: 56px;
    border-top: 1px dashed rgba(255, 255, 255, 0.10);
}

.ecg-why-stats .ecg-stat-item {
    text-align: center;
}

@media (max-width: 768px) {
    .ecg-why-card {
        padding: 28px 24px;
    }
    .ecg-why-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 18px;
    }
    .ecg-why-title {
        font-size: 17px;
    }
    .ecg-why-stats {
        margin-top: 56px;
        padding-top: 40px;
    }
}

/* ============================================================================
 * Polish — drobne dopiski do reused sekcji
 * ========================================================================== */
.ecg-segments-intro {
    max-width: 720px;
    margin: 16px auto 0;
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.65));
    font-size: 16px;
    line-height: 1.55;
}

.ecg-logo-strip-sub {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 400;
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.55));
    letter-spacing: normal;
    text-transform: none;
}

/* ============================================================================
 * SEKCJA 9 — Kontakt (fix wyrównania lewa/prawa kolumna)
 * ========================================================================== */
.ecg-contact .row {
    align-items: stretch;
}

.ecg-contact .contact-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ecg-contact .contact-content .contact-list {
    margin-top: auto;
}

.ecg-contact-form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ecg-contact-form > form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.ecg-contact-form-grow {
    flex: 1 1 auto;
    display: flex;
}

.ecg-contact-form-grow > div {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.ecg-contact-form-grow .form-item.message-item {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.ecg-contact-form-grow .form-item.message-item textarea {
    flex: 1 1 auto;
    min-height: 200px;
}

.ecg-contact-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.ecg-contact-reassurance {
    margin: 0;
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.6));
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ecg-contact-reassurance i {
    color: var(--ecg-accent, #3F5AF3);
}

@media (max-width: 992px) {
    .ecg-contact .contact-content .contact-list {
        margin-top: 32px;
    }
    .ecg-contact-form-grow .form-item.message-item,
    .ecg-contact-form-grow .form-item.message-item textarea {
        min-height: 160px;
    }
}

/* Single-column wariant kontaktu — minimalistyczny formularz centrowany, bez lewego panelu. */
.ecg-contact--single .ecg-contact-wrapper {
    max-width: 720px;
    margin: 0 auto;
}
.ecg-contact--single .ecg-contact-lead {
    max-width: 560px;
    margin: 16px auto 0;
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.65));
}
.ecg-contact-form--single {
    height: auto;
}
.ecg-contact-form--single > form { flex: 0 0 auto; }
.ecg-contact-form--single .form-group { margin-bottom: 14px; }
.ecg-contact-form--single .ecg-contact-form-consents { margin-top: 8px; }
.ecg-contact-form--single .ecg-contact-form-footer {
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 14px;
    margin-top: 24px;
}
.ecg-contact-form--single .ecg-contact-form-footer .rr-primary-btn {
    width: 100%;
    justify-content: center;
}

/* ============================================================================
 * SEKCJA 7 — Logo strip polish (większe logo + pojedyncze skoki + iskierki)
 * Override dla iter2 marquee — w iter3 single-jump animation z random interwałami.
 * ========================================================================== */
.ecg-logo-strip {
    position: relative;
    overflow: hidden;
}

/* Iskierki latające w tle (5 niebieskich kropek z różnymi delays) */
.ecg-logo-strip::before,
.ecg-logo-strip::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    background: var(--ecg-accent, #3F5AF3);
    box-shadow: 0 0 12px rgba(63, 90, 243, 0.65);
}

.ecg-logo-strip::before {
    width: 6px;
    height: 6px;
    top: 18%;
    left: 12%;
    animation: ecg-spark-1 7s ease-in-out infinite;
}

.ecg-logo-strip::after {
    width: 4px;
    height: 4px;
    top: 62%;
    right: 18%;
    animation: ecg-spark-2 9s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes ecg-spark-1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0; }
    20% { opacity: 0.85; }
    50% { transform: translate(180px, -40px) scale(1.4); opacity: 1; }
    80% { transform: translate(360px, 20px) scale(0.6); opacity: 0.4; }
}

@keyframes ecg-spark-2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0; }
    25% { opacity: 0.7; }
    50% { transform: translate(-220px, -60px) scale(1.6); opacity: 1; }
    75% { transform: translate(-400px, -10px) scale(0.5); opacity: 0.3; }
}

/* Większe logo (iter2 było ok 80px, iter3 → 120px) + glow on hover */
.ecg-logo-row {
    padding: 16px 0;
}

.ecg-logo-track img {
    height: 88px;
    max-height: 88px;
    width: auto;
    margin: 0 36px;
    opacity: 0.55;
    filter: brightness(0.9) contrast(0.95);
    transition: opacity 350ms ease, transform 350ms ease, filter 350ms ease;
    animation: ecg-logo-pulse 5.5s ease-in-out infinite;
    will-change: opacity, transform;
}

/* 7 różnych opóźnień rozrzucone po logosach — efekt „pa, pa, pa", nie żaluzja */
.ecg-logo-track img:nth-child(7n+1) { animation-delay: 0s; }
.ecg-logo-track img:nth-child(7n+2) { animation-delay: 0.7s; }
.ecg-logo-track img:nth-child(7n+3) { animation-delay: 1.4s; }
.ecg-logo-track img:nth-child(7n+4) { animation-delay: 2.1s; }
.ecg-logo-track img:nth-child(7n+5) { animation-delay: 2.8s; }
.ecg-logo-track img:nth-child(7n+6) { animation-delay: 3.5s; }
.ecg-logo-track img:nth-child(7n+7) { animation-delay: 4.2s; }

@keyframes ecg-logo-pulse {
    0%, 100% {
        opacity: 0.45;
        transform: scale(1);
        filter: brightness(0.85) contrast(0.95);
    }
    50% {
        opacity: 1;
        transform: scale(1.06);
        filter: brightness(1.1) contrast(1) drop-shadow(0 0 14px rgba(63, 90, 243, 0.5));
    }
}

.ecg-logo-track img:hover {
    animation-play-state: paused;
    opacity: 1;
    transform: scale(1.10);
    filter: brightness(1.15) contrast(1) drop-shadow(0 0 18px rgba(63, 90, 243, 0.55));
}

@media (prefers-reduced-motion: reduce) {
    .ecg-logo-track img {
        animation: none;
        opacity: 0.7;
    }
}

@media (max-width: 768px) {
    .ecg-logo-track img {
        height: 60px;
        max-height: 60px;
        margin: 0 22px;
    }
}

/* ============================================================================
 * SEKCJA 2 — Co możemy dla Ciebie zrobić (wzbogacenie kart usług)
 * ========================================================================== */
.ecg-services-section {
    position: relative;
    overflow: hidden;
}

.ecg-services-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(63, 90, 243, 0.10), transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(30, 91, 255, 0.06), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.ecg-services-section .container {
    position: relative;
    z-index: 1;
}

.ecg-service-card {
    position: relative;
    overflow: hidden;
}

/* Decorative SVG pattern w prawym górnym narożniku każdej karty (subtle) */
.ecg-service-card::after {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 90, 243, 0.18), transparent 70%);
    pointer-events: none;
    transition: transform 500ms ease, background 500ms ease;
}

.ecg-service-card:hover::after {
    transform: scale(1.4);
    background: radial-gradient(circle, rgba(63, 90, 243, 0.30), transparent 70%);
}

.ecg-service-card-featured::after {
    background: radial-gradient(circle, rgba(63, 90, 243, 0.35), transparent 70%);
}

/* ============================================================================
 * SEKCJA 5 — Z jakimi branżami pracujemy (interactive tabs branżowe)
 * 5 zakładek + content panel per branża z bullets + KPI + przykładowy case
 * ========================================================================== */
.ecg-segments-tabs {
    margin-top: 40px;
}

.ecg-segments-tabs__nav {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

@media (max-width: 991px) {
    .ecg-segments-tabs__nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        scroll-snap-type: x mandatory;
        margin: 0 -16px 24px;
        padding: 0 16px 8px;
        justify-content: flex-start;
    }
    .ecg-segments-tabs__nav li {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }
}

.ecg-segment-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.7));
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background 300ms ease, border-color 300ms ease, color 300ms ease, transform 300ms ease;
}

.ecg-segment-tab i {
    font-size: 16px;
    color: var(--ecg-accent, #3F5AF3);
    transition: transform 300ms ease;
}

.ecg-segment-tab:hover {
    background: rgba(63, 90, 243, 0.08);
    border-color: rgba(63, 90, 243, 0.3);
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
    transform: translateY(-2px);
}

.ecg-segment-tab.is-active {
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.22), rgba(30, 91, 255, 0.08));
    border-color: rgba(63, 90, 243, 0.5);
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
    box-shadow: 0 12px 28px -14px rgba(63, 90, 243, 0.55);
}

.ecg-segment-tab.is-active i {
    transform: scale(1.15);
}

.ecg-segments-tabs__panels {
    position: relative;
    min-height: 380px;
}

.ecg-segment-panel {
    position: relative;
    padding: 38px 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 22px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(12px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 380ms ease, transform 380ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ecg-segment-panel.is-active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    position: relative;
}

.ecg-segment-panel:not(.is-active) {
    position: absolute;
    inset: 0;
}

.ecg-segment-panel::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 90, 243, 0.10), transparent 65%);
    pointer-events: none;
}

.ecg-segment-panel > * {
    position: relative;
    z-index: 1;
}

.ecg-segment-panel__meta {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 14px;
    background: rgba(63, 90, 243, 0.10);
    border: 1px solid rgba(63, 90, 243, 0.28);
    border-radius: 999px;
    color: var(--ecg-accent, #3F5AF3);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h3.ecg-segment-panel__title,
.ecg-segment-panel__title {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95)) !important;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 12px;
}

@media (min-width: 992px) {
    .ecg-segment-panel__title {
        font-size: 28px;
    }
}

.ecg-segment-panel__lead {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.78));
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 24px;
}

.ecg-segment-panel__cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

@media (min-width: 768px) {
    .ecg-segment-panel__cols {
        grid-template-columns: 1.3fr 1fr;
        gap: 36px;
    }
}

.ecg-segment-panel__sub {
    color: var(--ecg-accent, #3F5AF3) !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 14px;
}

.ecg-segment-panel__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ecg-segment-panel__list li {
    position: relative;
    padding: 7px 0 7px 22px;
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.85));
    font-size: 14px;
    line-height: 1.55;
}

.ecg-segment-panel__list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 13px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ecg-accent, #3F5AF3), var(--ecg-accent-2, #1E5BFF));
    box-shadow: 0 0 8px rgba(63, 90, 243, 0.5);
}

.ecg-segment-panel__kpi {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
    font-size: 17px;
    line-height: 1.3;
    margin: 0 0 10px;
}

.ecg-segment-panel__kpi strong {
    display: inline-block;
    background: linear-gradient(135deg, var(--ecg-accent, #3F5AF3), var(--ecg-accent-2, #1E5BFF));
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    margin-right: 8px;
    vertical-align: -3px;
}

.ecg-segment-panel__case {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.65));
    font-size: 13px;
    font-style: italic;
    line-height: 1.5;
    margin: 0;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.025);
    border-left: 2px solid rgba(63, 90, 243, 0.4);
    border-radius: 6px;
}

/* "Najwięcej wartości dowozimy gdy" — collapsible */
.ecg-segments-criteria {
    margin-top: 32px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 300ms ease, background 300ms ease;
}

.ecg-segments-criteria[open] {
    border-color: rgba(63, 90, 243, 0.35);
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.06), rgba(30, 91, 255, 0.02));
}

.ecg-segments-criteria summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    cursor: pointer;
    list-style: none;
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
    font-size: 15px;
    font-weight: 500;
    transition: background 250ms ease;
}

.ecg-segments-criteria summary::-webkit-details-marker {
    display: none;
}

.ecg-segments-criteria summary:hover {
    background: rgba(63, 90, 243, 0.05);
}

.ecg-segments-criteria__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ecg-accent, #3F5AF3), var(--ecg-accent-2, #1E5BFF));
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
}

.ecg-segments-criteria__label {
    flex: 1;
}

.ecg-segments-criteria__chevron {
    color: var(--ecg-accent, #3F5AF3);
    font-size: 13px;
    transition: transform 300ms ease;
}

.ecg-segments-criteria[open] .ecg-segments-criteria__chevron {
    transform: rotate(180deg);
}

.ecg-segments-criteria .ecg-criteria-list {
    list-style: none;
    margin: 0;
    padding: 0 24px 22px;
}

.ecg-segments-criteria .ecg-criteria-list li {
    position: relative;
    padding: 8px 0 8px 24px;
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.78));
    font-size: 14px;
    line-height: 1.55;
}

.ecg-segments-criteria .ecg-criteria-list li strong {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
}

.ecg-segments-criteria .ecg-criteria-list li::before {
    content: "✓";
    position: absolute;
    left: 4px;
    top: 8px;
    color: var(--ecg-accent, #3F5AF3);
    font-weight: 700;
}

@media (max-width: 767px) {
    .ecg-segment-panel {
        padding: 28px 22px;
    }
    .ecg-segment-panel__title {
        font-size: 21px;
    }
    .ecg-segment-panel__kpi strong {
        font-size: 28px;
    }
}

/* ============================================================================
 * SEKCJA 5 — Z jakimi branżami pracujemy (wzbogacenie kart segmentów — LEGACY)
 * ========================================================================== */
.ecg-segment-card {
    position: relative;
    overflow: hidden;
}

.ecg-segment-card::before {
    content: "";
    position: absolute;
    bottom: -60px;
    left: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 90, 243, 0.10), transparent 65%);
    pointer-events: none;
    transition: transform 500ms ease;
}

.ecg-segment-card:hover::before {
    transform: scale(1.3);
}

.ecg-segment-icon {
    font-size: 44px !important;
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.20) 0%, rgba(30, 91, 255, 0.05) 100%);
    border: 1px solid rgba(63, 90, 243, 0.28);
    border-radius: 18px;
    color: var(--ecg-accent, #3F5AF3);
}

/* ============================================================================
 * SEKCJA 8 — Dlaczego my (hover-reveal cards z numerami + ukrywanym opisem)
 * ========================================================================== */
.ecg-why-intro {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.65));
    font-size: 14px;
    line-height: 1.6;
    margin: 14px auto 0;
    max-width: 580px;
    font-style: italic;
}

.ecg-why-card {
    position: relative;
    padding: 32px 28px;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    outline: none;
    isolation: isolate;
    transition: transform 450ms cubic-bezier(0.4, 0, 0.2, 1), border-color 450ms ease, background 450ms ease, box-shadow 450ms ease !important;
}

.ecg-why-card::before {
    /* Gradient border on hover */
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.6), rgba(30, 91, 255, 0) 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 450ms ease;
    pointer-events: none;
    z-index: 1;
}

.ecg-why-card::after {
    /* Decorative blob */
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 90, 243, 0.10), transparent 65%);
    pointer-events: none;
    transition: transform 600ms ease, background 600ms ease;
    z-index: 0;
}

/* Tylko stan ".is-open" rozwija karte — hover/focus daja jedynie delikatny lift jako affordance
   (klient: "on hover sie nie pojawialy tresci, tylko on click. Tylko i wylacznie on click"). */
.ecg-why-card { cursor: pointer; }
.ecg-why-card:hover,
.ecg-why-card:focus-visible {
    transform: translateY(-3px);
}
.ecg-why-card.is-open {
    transform: translateY(-8px);
    background: linear-gradient(180deg, rgba(63, 90, 243, 0.08) 0%, rgba(30, 91, 255, 0.02) 100%) !important;
    box-shadow: 0 22px 48px -28px rgba(63, 90, 243, 0.55);
}

.ecg-why-card.is-open::before {
    opacity: 1;
}

.ecg-why-card.is-open::after {
    transform: scale(1.35);
    background: radial-gradient(circle, rgba(63, 90, 243, 0.25), transparent 65%);
}

.ecg-why-card__head {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 18px;
    z-index: 2;
}

.ecg-why-card__num {
    color: transparent;
    background: linear-gradient(180deg, rgba(63, 90, 243, 0.32), rgba(63, 90, 243, 0.04));
    -webkit-background-clip: text;
            background-clip: text;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    transition: opacity 350ms ease;
}

.ecg-why-icon {
    width: 56px !important;
    height: 56px !important;
    font-size: 24px !important;
    margin-bottom: 0 !important;
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.20) 0%, rgba(30, 91, 255, 0.05) 100%);
    border: 1px solid rgba(63, 90, 243, 0.32);
    border-radius: 14px;
    color: var(--ecg-accent, #3F5AF3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 450ms cubic-bezier(0.34, 1.56, 0.64, 1), background 450ms ease;
    position: relative;
    z-index: 2;
}

.ecg-why-card.is-open .ecg-why-icon {
    transform: scale(1.06);
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.32) 0%, rgba(30, 91, 255, 0.10) 100%);
}

h3.ecg-why-title,
.ecg-why-title {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95)) !important;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
    margin: 0 0 10px;
    position: relative;
    z-index: 2;
}

.ecg-why-card__tagline {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.72));
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 8px;
    position: relative;
    z-index: 2;
}

.ecg-why-card__more {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 500ms cubic-bezier(0.4, 0, 0.2, 1), opacity 350ms ease, margin-top 350ms ease;
    position: relative;
    z-index: 2;
}

.ecg-why-card.is-open .ecg-why-card__more {
    max-height: 360px;
    opacity: 1;
    margin-top: 14px;
}

.ecg-why-card__desc {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.85));
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ecg-why-card__bullets {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ecg-why-card__bullets li {
    position: relative;
    padding: 5px 0 5px 18px;
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.7));
    font-size: 13px;
    line-height: 1.5;
}

.ecg-why-card__bullets li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 12px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ecg-accent, #3F5AF3), var(--ecg-accent-2, #1E5BFF));
}

/* "Pokaz wiecej" / "Zwin" — pelnoprawny pill button-style sygnalizujacy klikalnosc
   (klient: znaczek mial byc wiekszy i ewidentnie do klikniecia). */
.ecg-why-card__hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 8px 14px;
    color: var(--ecg-accent, #3F5AF3);
    background: rgba(63, 90, 243, 0.10);
    border: 1px solid rgba(63, 90, 243, 0.28);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background 250ms ease, border-color 250ms ease, color 250ms ease;
    position: relative;
    z-index: 2;
}
.ecg-why-card:hover .ecg-why-card__hint,
.ecg-why-card:focus-visible .ecg-why-card__hint {
    background: rgba(63, 90, 243, 0.20);
    border-color: rgba(63, 90, 243, 0.55);
}
.ecg-why-card.is-open .ecg-why-card__hint {
    background: rgba(63, 90, 243, 0.20);
    border-color: rgba(63, 90, 243, 0.55);
    color: #fff;
}

/* ============================================================================
 * SEKCJA 1B — Czym jest ECG + Efekt + Kluczowe korzyści
 * Lead z toggle "Dowiedz się więcej" + 2 grids kart z emoji + 2 CTA
 * ========================================================================== */
.ecg-value-section {
    background: var(--ecg-bg-2, #0A0E18);
    position: relative;
    overflow: hidden;
}

.ecg-value-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(63, 90, 243, 0.08), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(30, 91, 255, 0.06), transparent 50%);
    pointer-events: none;
}

.ecg-value-section > .container {
    position: relative;
    z-index: 1;
}

.ecg-value-lead {
    max-width: 880px;
    margin: 0 auto 80px;
    text-align: center;
}

.ecg-value-lead p {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
    font-size: 19px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.ecg-value-lead p strong {
    color: var(--ecg-accent, #3F5AF3);
    font-weight: 600;
}

.ecg-value-lead__more {
    display: block;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    transition: max-height 600ms cubic-bezier(0.4, 0, 0.2, 1), opacity 400ms ease, margin-top 400ms ease;
}

.ecg-value-lead__more[hidden] {
    /* JS removes [hidden] po init; gdy brak JS, treść jest schowana */
    display: none;
}

.ecg-value-lead__more.is-open {
    max-height: 800px;
    opacity: 1;
    margin-top: 14px;
}

.ecg-value-lead__more p {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.75));
    font-size: 17px;
    line-height: 1.75;
}

.ecg-value-toggle {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(63, 90, 243, 0.08);
    border: 1px solid rgba(63, 90, 243, 0.28);
    border-radius: 999px;
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 250ms ease, border-color 250ms ease, transform 250ms ease;
}

.ecg-value-toggle:hover {
    background: rgba(63, 90, 243, 0.15);
    border-color: rgba(63, 90, 243, 0.5);
    transform: translateY(-1px);
}

.ecg-value-toggle__icon {
    transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--ecg-accent, #3F5AF3);
}

.ecg-value-toggle[aria-expanded="true"] .ecg-value-toggle__icon {
    transform: rotate(45deg);
}

.ecg-value-toggle[aria-expanded="true"] .ecg-value-toggle__label::before {
    content: "Zwiń ";
}

.ecg-value-toggle[aria-expanded="true"] .ecg-value-toggle__label {
    /* "Dowiedz się więcej…" → "Zwiń Dowiedz się więcej…" – nie idealnie, więc raczej zostaw label stały */
}

.ecg-value-block {
    margin-bottom: 70px;
}

.ecg-value-block:last-of-type {
    margin-bottom: 60px;
}

.ecg-value-block__head {
    text-align: center;
    margin-bottom: 36px;
}

.ecg-value-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    color: var(--ecg-accent-light, #7B90FF); /* WCAG AA: accent 3F5AF3 dawal 3.85 na ciemnym tle */
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ecg-value-eyebrow__line {
    display: inline-block;
    width: 38px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(63, 90, 243, 0.6), transparent);
}

h3.ecg-value-block__title,
.ecg-value-block__title {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95)) !important;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 600;
    margin: 0;
}

@media (min-width: 992px) {
    .ecg-value-block__title {
        font-size: 32px;
    }
}

.ecg-value-grid {
    display: grid;
    gap: 22px;
}

.ecg-value-grid--3 {
    grid-template-columns: 1fr;
}

.ecg-value-grid--4 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .ecg-value-grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .ecg-value-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .ecg-value-grid--4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ecg-value-card {
    position: relative;
    padding: 38px 30px 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--ecg-card-border, rgba(255, 255, 255, 0.06));
    border-radius: 20px;
    overflow: hidden;
    isolation: isolate;
    transition: transform 450ms cubic-bezier(0.4, 0, 0.2, 1), border-color 450ms ease, background 450ms ease, box-shadow 450ms ease;
}

/* Gradient border on hover (pseudo-element technique żeby zachować rounded corners) */
.ecg-value-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.55), rgba(30, 91, 255, 0) 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 450ms ease;
    pointer-events: none;
    z-index: 1;
}

/* Subtle glow background (radial blob w prawym górnym rogu) */
.ecg-value-card::after {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 90, 243, 0.10), transparent 65%);
    pointer-events: none;
    transition: transform 600ms ease, background 600ms ease;
    z-index: 0;
}

.ecg-value-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(180deg, rgba(63, 90, 243, 0.08) 0%, rgba(30, 91, 255, 0.02) 100%);
    box-shadow: 0 22px 48px -28px rgba(63, 90, 243, 0.55);
}

.ecg-value-card:hover::before {
    opacity: 1;
}

.ecg-value-card:hover::after {
    transform: scale(1.35);
    background: radial-gradient(circle, rgba(63, 90, 243, 0.22), transparent 65%);
}

/* Decorative big number w tle */
.ecg-value-card__num {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 60px;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    background: linear-gradient(180deg, rgba(63, 90, 243, 0.22), rgba(63, 90, 243, 0));
    -webkit-background-clip: text;
            background-clip: text;
    letter-spacing: -0.04em;
    pointer-events: none;
    transition: opacity 450ms ease, transform 450ms ease;
    z-index: 1;
}

.ecg-value-card:hover .ecg-value-card__num {
    transform: translateY(-2px);
    background: linear-gradient(180deg, rgba(63, 90, 243, 0.45), rgba(63, 90, 243, 0.08));
    -webkit-background-clip: text;
            background-clip: text;
}

.ecg-value-card__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 22px;
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.18) 0%, rgba(30, 91, 255, 0.04) 100%);
    border: 1px solid rgba(63, 90, 243, 0.28);
    border-radius: 16px;
    color: var(--ecg-accent, #3F5AF3);
    font-size: 28px;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 24px -12px rgba(63, 90, 243, 0.35);
    transition: transform 450ms cubic-bezier(0.34, 1.56, 0.64, 1), background 450ms ease, border-color 450ms ease, box-shadow 450ms ease;
    z-index: 2;
}

.ecg-value-card__icon svg {
    width: 36px;
    height: 36px;
    display: block;
}

.ecg-value-card__icon i {
    font-size: 26px;
    background: linear-gradient(135deg, #3F5AF3, #1E5BFF);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.ecg-value-card:hover .ecg-value-card__icon {
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.32) 0%, rgba(30, 91, 255, 0.10) 100%);
    border-color: rgba(63, 90, 243, 0.55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 14px 32px -12px rgba(63, 90, 243, 0.55);
}

/* Animowana akcent-line on hover (rośnie left→right) */
.ecg-value-card__line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--ecg-accent, #3F5AF3), var(--ecg-accent-2, #1E5BFF));
    transition: width 600ms cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.ecg-value-card:hover .ecg-value-card__line {
    width: 100%;
}

h4.ecg-value-card__title,
.ecg-value-card__title {
    position: relative;
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95)) !important;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 600;
    margin: 0 0 12px;
    z-index: 2;
}

.ecg-value-card__desc {
    position: relative;
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.7));
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
    z-index: 2;
}

.ecg-value-card--compact {
    padding: 32px 24px 30px;
}

.ecg-value-card--compact .ecg-value-card__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
}

.ecg-value-card--compact .ecg-value-card__icon i {
    font-size: 22px;
}

.ecg-value-card--compact .ecg-value-card__num {
    font-size: 50px;
}

.ecg-value-card--compact .ecg-value-card__title {
    font-size: 17px;
}

.ecg-value-card--compact .ecg-value-card__desc {
    font-size: 14px;
}

.ecg-value-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.ecg-value-cta .rr-primary-btn {
    min-width: 240px;
    justify-content: center;
}

.ecg-value-cta__hint {
    text-align: center;
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.55));
    font-size: 14px;
    margin: 18px 0 0;
}

@media (max-width: 767px) {
    .ecg-value-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .ecg-value-lead {
        margin-bottom: 56px;
    }
    .ecg-value-lead p {
        font-size: 17px;
    }
    .ecg-value-block {
        margin-bottom: 48px;
    }
    .ecg-value-block__title {
        font-size: 24px;
    }
    .ecg-value-cta .rr-primary-btn {
        width: 100%;
        min-width: 0;
    }
}

/* ============================================================================
 * SEKCJA 7 — Te marki nam zaufały (split-flap board, jak surferseo.pl)
 * Grid 6×2 = 12 slotów, każdy losowo flippuje pokazując nowe logo z puli 42
 * ========================================================================== */
.ecg-clients-section {
    background: var(--ecg-bg-1, #02050A);
    position: relative;
    overflow: hidden;
}

.ecg-clients-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(63, 90, 243, 0.06), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(30, 91, 255, 0.05), transparent 55%);
    pointer-events: none;
}

.ecg-clients-section > .container {
    position: relative;
    z-index: 1;
}

.ecg-clients-sub {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.7));
    font-size: 16px;
    line-height: 1.6;
    margin: 14px auto 0;
    max-width: 620px;
}

.ecg-logo-board {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    padding: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 30px 60px -40px rgba(0, 0, 0, 0.6);
    perspective: 1200px;
}

@media (max-width: 991px) {
    .ecg-logo-board {
        grid-template-columns: repeat(3, 1fr);
        padding: 18px;
        gap: 10px;
    }
}

@media (max-width: 575px) {
    .ecg-logo-board {
        grid-template-columns: repeat(2, 1fr);
        padding: 14px;
        gap: 8px;
    }
}

.ecg-logo-board__slot {
    position: relative;
    aspect-ratio: 16 / 10;
    perspective: 800px;
}

.ecg-logo-board__card {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 700ms cubic-bezier(0.65, 0, 0.35, 1);
    transform: rotateX(0deg);
}

.ecg-logo-board__card.is-flipping {
    transform: rotateX(-180deg);
}

.ecg-logo-board__face {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 18px;
    /* Bialy kafelek (logo wall) — kazde logo czytelne, dokladnie jak w mediach. */
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.ecg-logo-board__face::after {
    /* Linia "klapki" wylaczona — przy logo z tlem wygladala jak rozjazd. */
    content: none;
}

.ecg-logo-board__face--back {
    transform: rotateX(180deg);
}

.ecg-logo-board__face img {
    max-width: 78%;
    max-height: 68%;
    width: auto;
    height: auto;
    object-fit: contain;
    /* Bez filtra koloru — logo wyswietlane dokladnie jak w mediach (z tlem wlacznie). */
    opacity: 1;
    transition: transform 250ms ease, opacity 250ms ease;
}

.ecg-logo-board__slot:hover .ecg-logo-board__face img {
    transform: scale(1.04);
}

.ecg-logo-board__slot:hover .ecg-logo-board__face {
    border-color: rgba(63, 90, 243, 0.5);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.ecg-clients-meta {
    margin-top: 28px;
    text-align: center;
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.6));
    font-size: 14px;
}

.ecg-clients-meta strong {
    color: var(--ecg-accent, #3F5AF3);
    font-weight: 700;
}

.ecg-clients-meta span {
    opacity: 0.85;
}

@media (prefers-reduced-motion: reduce) {
    .ecg-logo-board__card {
        transition: opacity 300ms ease !important;
    }
    .ecg-logo-board__card.is-flipping {
        transform: none !important;
        opacity: 0 !important;
    }
}

/* ============================================================================
 * SEKCJA 2.4 — Proces współpracy (animowany timeline + hover-reveals)
 * ========================================================================== */
.ecg-process-section {
    background: var(--ecg-bg-2, #0A0E18);
    position: relative;
    overflow: hidden;
}

.ecg-process-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 25%, rgba(63, 90, 243, 0.08), transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(30, 91, 255, 0.06), transparent 50%);
    pointer-events: none;
}

.ecg-process-section > .container {
    position: relative;
    z-index: 1;
}

.ecg-process-intro {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.7));
    font-size: 16px;
    line-height: 1.65;
    max-width: 680px;
    margin: 14px auto 0;
}

.ecg-process-timeline {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Pionowa linia po lewej (mobile/tablet) lub po środku (desktop zigzag) */
.ecg-process-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 30px;
    width: 4px;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

@media (min-width: 992px) {
    .ecg-process-line {
        left: 50%;
        transform: translateX(-50%);
    }
}

.ecg-process-line__progress {
    transition: stroke-dashoffset 80ms linear;
    filter: drop-shadow(0 0 10px rgba(63, 90, 243, 0.55));
}

.ecg-process-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
    z-index: 2;
}

.ecg-process-step {
    position: relative;
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 22px;
    align-items: flex-start;
    counter-increment: step;
}

@media (min-width: 992px) {
    .ecg-process-step {
        grid-template-columns: 1fr 60px 1fr;
        gap: 36px;
        align-items: center;
    }
    /* Zigzag — odd steps card on left, even on right */
    .ecg-process-step:nth-child(odd) .ecg-process-card {
        grid-column: 1;
        text-align: right;
    }
    .ecg-process-step:nth-child(odd) .ecg-process-node {
        grid-column: 2;
    }
    .ecg-process-step:nth-child(odd) .ecg-process-card .ecg-process-card__details {
        text-align: right;
    }
    .ecg-process-step:nth-child(odd) .ecg-process-card .ecg-process-card__details li {
        padding-left: 0;
        padding-right: 22px;
    }
    .ecg-process-step:nth-child(odd) .ecg-process-card .ecg-process-card__details li::before {
        left: auto;
        right: 4px;
    }

    .ecg-process-step:nth-child(even) .ecg-process-node {
        grid-column: 2;
    }
    .ecg-process-step:nth-child(even) .ecg-process-card {
        grid-column: 3;
    }
}

.ecg-process-node {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ecg-bg-2, #0A0E18);
    border: 2px solid rgba(63, 90, 243, 0.35);
    box-shadow: 0 0 0 4px rgba(2, 5, 10, 0.9), 0 0 24px rgba(63, 90, 243, 0.18);
    transition: border-color 400ms ease, box-shadow 400ms ease, transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 3;
    align-self: flex-start;
}

@media (min-width: 992px) {
    .ecg-process-node {
        align-self: center;
    }
}

.ecg-process-node__num {
    position: absolute;
    top: -8px;
    right: -10px;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ecg-accent, #3F5AF3), var(--ecg-accent-2, #1E5BFF));
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(63, 90, 243, 0.4);
}

.ecg-process-node__icon {
    font-size: 22px;
    color: var(--ecg-accent, #3F5AF3);
    transition: color 400ms ease, transform 400ms ease;
}

/* Active state: dodawane przez JS gdy linia dociera do nodu */
.ecg-process-step.is-active .ecg-process-node {
    border-color: var(--ecg-accent, #3F5AF3);
    box-shadow: 0 0 0 4px rgba(2, 5, 10, 0.9), 0 0 32px rgba(63, 90, 243, 0.55);
    transform: scale(1.08);
}

.ecg-process-step.is-active .ecg-process-node__icon {
    color: #fff;
    transform: scale(1.1);
}

.ecg-process-step.is-active .ecg-process-node {
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.6), rgba(30, 91, 255, 0.3));
}

.ecg-process-card {
    position: relative;
    padding: 24px 26px 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: border-color 350ms ease, background 350ms ease, transform 350ms ease;
    cursor: pointer;
}

.ecg-process-card:hover,
.ecg-process-card.is-open {
    border-color: rgba(63, 90, 243, 0.4);
    background: linear-gradient(180deg, rgba(63, 90, 243, 0.06) 0%, rgba(30, 91, 255, 0.02) 100%);
    transform: translateY(-2px);
}

.ecg-process-card__meta {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--ecg-accent, #3F5AF3);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ecg-process-card__title {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95)) !important;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
    margin: 0 0 8px;
}

@media (min-width: 992px) {
    .ecg-process-card__title {
        font-size: 24px;
    }
}

.ecg-process-card__lead {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.72));
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.ecg-process-card__details {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 500ms cubic-bezier(0.4, 0, 0.2, 1), opacity 350ms ease, margin-top 350ms ease;
}

.ecg-process-card:hover .ecg-process-card__details,
.ecg-process-card.is-open .ecg-process-card__details {
    max-height: 320px;
    opacity: 1;
    margin-top: 14px;
}

.ecg-process-card__details li {
    position: relative;
    padding: 6px 0 6px 22px;
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.7));
    font-size: 14px;
    line-height: 1.55;
}

.ecg-process-card__details li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ecg-accent, #3F5AF3), var(--ecg-accent-2, #1E5BFF));
    box-shadow: 0 0 8px rgba(63, 90, 243, 0.5);
}

.ecg-process-card--optional {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 991px) {
    .ecg-process-card {
        padding: 20px 22px 18px;
    }
    .ecg-process-card__title {
        font-size: 20px;
    }
}

/* ============================================================================
 * SUBPAGES — wspólny shell dla podstron (o-ecg, produkty-*, jak-pracujemy, team)
 * Page-hero z breadcrumb + treści + page-CTA
 * ========================================================================== */
.ecg-page-shell {
    background: var(--ecg-bg-1, #02050A);
    min-height: 100vh;
}

.ecg-page-hero {
    position: relative;
    padding: 220px 0 100px; /* extra top żeby sticky header (~157px) nie zakrywał breadcrumb */
    background: linear-gradient(180deg, var(--ecg-bg-2, #0A0E18) 0%, var(--ecg-bg-1, #02050A) 100%);
    overflow: hidden;
}

@media (max-width: 575px) {
    .ecg-page-hero {
        padding-top: 160px;
    }
}

.ecg-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(63, 90, 243, 0.12), transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(30, 91, 255, 0.08), transparent 55%);
    pointer-events: none;
}

.ecg-page-hero > .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.ecg-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding: 8px 18px;
    background: rgba(63, 90, 243, 0.08);
    border: 1px solid rgba(63, 90, 243, 0.2);
    border-radius: 999px;
    font-size: 13px;
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.7));
}

.ecg-breadcrumb a {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.7));
    text-decoration: none;
    transition: color 200ms ease;
}

.ecg-breadcrumb a:hover {
    color: var(--ecg-accent, #3F5AF3);
}

.ecg-breadcrumb__sep {
    opacity: 0.4;
    font-size: 11px;
}

.ecg-breadcrumb__current {
    color: var(--ecg-accent, #3F5AF3);
    font-weight: 600;
}

.ecg-page-hero__eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--ecg-accent, #3F5AF3);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1.ecg-page-hero__title,
.ecg-page-hero__title {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95)) !important;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
    margin: 0 0 20px;
}

@media (min-width: 992px) {
    .ecg-page-hero__title {
        font-size: 56px;
    }
}

.ecg-page-hero__lead {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.78));
    font-size: 18px;
    line-height: 1.65;
    max-width: 720px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .ecg-page-hero__lead {
        font-size: 20px;
    }
}

/* Hero CTA buttons (pageHero.buttons) — uwaga: NIE .ecg-hero-buttons (zajete przez home grid) */
.ecg-page-hero__cta {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.ecg-page-hero__cta .rr-primary-btn {
    text-transform: none;
    white-space: nowrap;
    width: auto;
    min-width: 0;
    border: 1px solid transparent;
}

.ecg-page-hero__cta .rr-primary-btn-custom {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.28);
}

.ecg-page-hero__cta .rr-primary-btn-custom:before {
    background: rgba(255, 255, 255, 0.1);
}

.ecg-page-cta {
    background: var(--ecg-bg-2, #0A0E18);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ecg-page-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(63, 90, 243, 0.15), transparent 60%);
    pointer-events: none;
}

.ecg-page-cta > .container {
    position: relative;
    z-index: 1;
}

h2.ecg-page-cta__title,
.ecg-page-cta__title {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95)) !important;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 16px;
}

@media (min-width: 992px) {
    .ecg-page-cta__title {
        font-size: 44px;
    }
}

.ecg-page-cta__lead {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.7));
    font-size: 17px;
    margin: 0 auto 32px;
    max-width: 580px;
}

.ecg-page-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

@media (max-width: 575px) {
    .ecg-page-cta {
        padding: 70px 0;
    }
    .ecg-page-cta__buttons .rr-primary-btn {
        width: 100%;
    }
}

/* ============================================================================
 * SEKCJA 2 — Co możemy dla Ciebie zrobić (interactive tabs, Betrue.com style)
 * 4 zakładki po lewej (lub na górze mobile) + content panel po prawej z fade
 * ========================================================================== */
.ecg-services-intro {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.7));
    font-size: 16px;
    line-height: 1.6;
    margin: 14px auto 0;
    max-width: 620px;
}

.ecg-services-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 50px;
}

@media (min-width: 992px) {
    .ecg-services-tabs {
        grid-template-columns: 380px 1fr;
        gap: 32px;
        align-items: start;
    }
}

.ecg-services-tabs__nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 991px) {
    .ecg-services-tabs__nav {
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 8px;
        padding-bottom: 8px;
        margin: 0 -16px;
        padding-left: 16px;
        padding-right: 16px;
    }
    .ecg-services-tabs__nav li {
        flex: 0 0 240px;
        scroll-snap-align: start;
    }
}

.ecg-services-tab {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.85));
    text-align: left;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background 350ms ease, border-color 350ms ease, transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ecg-services-tab::before {
    /* Lewy gradient indicator (active) */
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--ecg-accent, #3F5AF3), var(--ecg-accent-2, #1E5BFF));
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ecg-services-tab:hover {
    background: rgba(63, 90, 243, 0.06);
    border-color: rgba(63, 90, 243, 0.25);
    transform: translateX(2px);
}

.ecg-services-tab.is-active {
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.14) 0%, rgba(30, 91, 255, 0.04) 100%);
    border-color: rgba(63, 90, 243, 0.45);
    box-shadow: 0 14px 32px -16px rgba(63, 90, 243, 0.55);
    transform: translateX(0);
}

.ecg-services-tab.is-active::before {
    transform: scaleY(1);
}

.ecg-services-tab__num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(63, 90, 243, 0.12);
    border: 1px solid rgba(63, 90, 243, 0.28);
    border-radius: 10px;
    color: var(--ecg-accent, #3F5AF3);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.04em;
    transition: background 350ms ease, color 350ms ease, transform 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ecg-services-tab.is-active .ecg-services-tab__num {
    background: linear-gradient(135deg, var(--ecg-accent, #3F5AF3), var(--ecg-accent-2, #1E5BFF));
    color: #fff;
    border-color: transparent;
    transform: scale(1.06);
}

.ecg-services-tab__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ecg-services-tab__title {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
}

.ecg-services-tab__hint {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.55));
    font-size: 13px;
    line-height: 1.4;
}

.ecg-services-tab__badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.6), rgba(30, 91, 255, 0.4));
    border-radius: 999px;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    vertical-align: 2px;
}

.ecg-services-tab__arrow {
    flex-shrink: 0;
    color: var(--ecg-accent, #3F5AF3);
    font-size: 14px;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 350ms ease, transform 350ms ease;
}

.ecg-services-tab.is-active .ecg-services-tab__arrow {
    opacity: 1;
    transform: translateX(0);
}

.ecg-services-tab--featured .ecg-services-tab__num {
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.30), rgba(30, 91, 255, 0.10));
    border-color: rgba(63, 90, 243, 0.5);
}

/* Panels */
.ecg-services-tabs__panels {
    position: relative;
    min-height: 460px;
}

.ecg-services-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 36px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    visibility: hidden;
    transition: opacity 380ms ease, transform 380ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
    .ecg-services-panel {
        grid-template-columns: 200px 1fr;
        gap: 36px;
        align-items: start;
    }
}

.ecg-services-panel.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
    position: relative;
}

.ecg-services-panel:not(.is-active) {
    position: absolute;
    inset: 0;
}

.ecg-services-panel::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 90, 243, 0.12), transparent 65%);
    pointer-events: none;
}

.ecg-services-panel__visual {
    position: relative;
    z-index: 1;
}

.ecg-services-panel__visual svg {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 14px 36px rgba(63, 90, 243, 0.35));
}

.ecg-services-panel__content {
    position: relative;
    z-index: 1;
}

.ecg-services-panel__meta {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 14px;
    background: rgba(63, 90, 243, 0.10);
    border: 1px solid rgba(63, 90, 243, 0.28);
    border-radius: 999px;
    color: var(--ecg-accent, #3F5AF3);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h3.ecg-services-panel__title,
.ecg-services-panel__title {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95)) !important;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 700;
    margin: 0 0 14px;
}

@media (min-width: 992px) {
    .ecg-services-panel__title {
        font-size: 30px;
    }
}

.ecg-services-panel__lead {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.78));
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 22px;
}

.ecg-services-panel__lead strong {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
    font-weight: 600;
}

.ecg-services-panel__list {
    list-style: none;
    margin: 0 0 28px;
    padding: 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ecg-services-panel__list li {
    position: relative;
    padding: 10px 0 10px 28px;
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.75));
    font-size: 15px;
    line-height: 1.55;
}

.ecg-services-panel__list li strong {
    color: var(--ecg-accent, #3F5AF3);
    font-weight: 600;
}

.ecg-services-panel__list li::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 19px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ecg-accent, #3F5AF3), var(--ecg-accent-2, #1E5BFF));
    box-shadow: 0 0 10px rgba(63, 90, 243, 0.55);
}

.ecg-services-panel__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.ecg-services-panel__link {
    /* Wyrównane do .rr-primary-btn rozmiarem; secondary visual */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: 1px solid rgba(63, 90, 243, 0.4);
    border-radius: 50px;
    background: transparent;
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.92));
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: background 250ms ease, border-color 250ms ease, color 250ms ease, transform 200ms ease;
}

.ecg-services-panel__link:hover {
    background: rgba(63, 90, 243, 0.1);
    border-color: var(--ecg-accent, #3F5AF3);
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .ecg-services-panel {
        padding: 30px 24px;
    }
    .ecg-services-panel__visual {
        max-width: 140px;
        margin: 0 auto;
    }
    .ecg-services-panel__title {
        font-size: 22px;
    }
    .ecg-services-panel__cta {
        flex-direction: column;
        align-items: stretch;
    }
    .ecg-services-panel__cta .rr-primary-btn {
        text-align: center;
        justify-content: center;
    }
    .ecg-services-panel__link {
        text-align: center;
        width: 100%;
    }
}

/* ASAP framework breakdown — sekcja na podstronie produkty-ems.html */
.ecg-asap-section {
    background: var(--ecg-bg-1, #02050A);
    position: relative;
}

.ecg-asap-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

@media (min-width: 768px) {
    .ecg-asap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .ecg-asap-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ecg-asap-card {
    position: relative;
    padding: 36px 28px 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1), border-color 400ms ease, background 400ms ease;
}

.ecg-asap-card::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 90, 243, 0.10), transparent 65%);
    pointer-events: none;
    transition: transform 600ms ease;
}

.ecg-asap-card:hover {
    transform: translateY(-6px);
    border-color: rgba(63, 90, 243, 0.4);
    background: linear-gradient(180deg, rgba(63, 90, 243, 0.06) 0%, rgba(30, 91, 255, 0.02) 100%);
}

.ecg-asap-card:hover::before {
    transform: scale(1.4);
}

.ecg-asap-card__letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    background: linear-gradient(135deg, var(--ecg-accent, #3F5AF3), var(--ecg-accent-2, #1E5BFF));
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    border-radius: 14px;
    box-shadow: 0 12px 28px -10px rgba(63, 90, 243, 0.55);
    position: relative;
    z-index: 1;
}

h3.ecg-asap-card__title,
.ecg-asap-card__title {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95)) !important;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 600;
    margin: 0 0 12px;
    position: relative;
    z-index: 1;
}

.ecg-asap-card__lead {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.72));
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 18px;
    position: relative;
    z-index: 1;
}

.ecg-asap-card__list {
    list-style: none;
    margin: 0;
    padding: 14px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
}

.ecg-asap-card__list li {
    position: relative;
    padding: 6px 0 6px 18px;
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.7));
    font-size: 13px;
    line-height: 1.55;
}

.ecg-asap-card__list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 14px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ecg-accent, #3F5AF3), var(--ecg-accent-2, #1E5BFF));
}

/* ============================================================================
 * SEKCJA 1.6 — Running ticker (bridge między Hero a Ofertą)
 * Lekka pasek z infinite scroll branż w których pracuje ECG
 * ========================================================================== */
.ecg-ticker-section {
    padding: 0;
    background: var(--ecg-bg-1, #02050A);
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ecg-ticker {
    position: relative;
    overflow: hidden;
    padding: 22px 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.ecg-ticker__track {
    display: flex;
    width: max-content;
    animation: ecg-ticker-scroll 42s linear infinite;
    will-change: transform;
}

.ecg-ticker:hover .ecg-ticker__track {
    animation-play-state: paused;
}

.ecg-ticker__group {
    display: flex;
    align-items: center;
    gap: 0;
    padding-right: 32px;
}

.ecg-ticker__item {
    display: inline-flex;
    align-items: center;
    padding: 0 32px;
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.85));
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: color 250ms ease;
}

.ecg-ticker__item:nth-child(odd) {
    background: linear-gradient(135deg, var(--ecg-accent, #3F5AF3), var(--ecg-accent-2, #1E5BFF));
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 700;
}

.ecg-ticker__sep {
    color: var(--ecg-accent, #3F5AF3);
    font-size: 8px;
    opacity: 0.4;
}

@keyframes ecg-ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .ecg-ticker__track {
        animation: none;
    }
    .ecg-ticker {
        overflow: auto;
    }
}

@media (max-width: 575px) {
    .ecg-ticker {
        padding: 16px 0;
    }
    .ecg-ticker__item {
        font-size: 15px;
        padding: 0 22px;
    }
}

/* Override dla EMS converge gdy jest na main (intro paragraph + CTA pod kartami) */
.ecg-converge-intro {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.65));
    font-size: 15px;
    line-height: 1.6;
    margin: 14px auto 0;
    max-width: 580px;
    font-style: italic;
}

.ecg-converge-cta {
    margin-top: 50px;
    text-align: center;
}

/* "Chcesz wejść głębiej?" — 3 linki do podstron pod sekcją Dlaczego my */
.ecg-why-more-links {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.ecg-why-more-links__intro {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.6));
    font-size: 14px;
    margin: 0 0 22px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 600;
}

.ecg-why-more-links__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 768px) {
    .ecg-why-more-links__row {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

.ecg-why-more-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.85));
    text-decoration: none;
    text-align: left;
    transition: background 350ms ease, border-color 350ms ease, transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ecg-why-more-link:hover {
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.10), rgba(30, 91, 255, 0.03));
    border-color: rgba(63, 90, 243, 0.4);
    transform: translateY(-3px);
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
}

.ecg-why-more-link > i:first-child {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.20), rgba(30, 91, 255, 0.04));
    border: 1px solid rgba(63, 90, 243, 0.32);
    border-radius: 10px;
    color: var(--ecg-accent, #3F5AF3);
    font-size: 18px;
    transition: transform 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ecg-why-more-link:hover > i:first-child {
    transform: scale(1.08);
}

.ecg-why-more-link span {
    flex: 1;
    font-size: 14px;
    line-height: 1.45;
}

.ecg-why-more-link span strong {
    display: block;
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 2px;
}

.ecg-why-more-link span small {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.6));
    font-size: 12px;
}

.ecg-why-more-link__arrow {
    flex-shrink: 0;
    color: var(--ecg-accent, #3F5AF3);
    font-size: 14px;
    opacity: 0.5;
    transition: opacity 350ms ease, transform 350ms ease;
}

.ecg-why-more-link:hover .ecg-why-more-link__arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* Footer fix — 5-kolumnowy layout (col-lg-3 col-md-6 → wrap na nowy rząd OK na desktop też) */
.ecg-footer-pages-col {
    /* Drugi col-lg-3 z linkami do podstron — leci do nowego rzędu na desktop */
}

.ecg-submenu__badge {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.55), rgba(30, 91, 255, 0.35));
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 999px;
    vertical-align: 2px;
}

/* ============================================================================
 * SUBPAGES — Oferta detail pages (Doradztwo · Co-Mgmt · Interim · Optymalizacja)
 * Wspólne komponenty: section header + 2/3-col grids + effect list + FAQ + callouts
 * ========================================================================== */
.ecg-offer-section {
    background: var(--ecg-bg-1, #02050A);
    position: relative;
}

.ecg-offer-section:nth-of-type(even) {
    background: var(--ecg-bg-2, #0A0E18);
}

.ecg-offer-section__head {
    text-align: center;
    margin-bottom: 50px;
}

h2.ecg-offer-section__title,
.ecg-offer-section__title {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95)) !important;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
    margin: 14px 0 0;
}

@media (min-width: 992px) {
    .ecg-offer-section__title {
        font-size: 38px;
    }
}

/* Grid variants — extend existing .ecg-value-grid */
.ecg-value-grid--2 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .ecg-value-grid--2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.ecg-asap-grid--3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

@media (min-width: 768px) {
    .ecg-asap-grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Effect list — z ikonami po lewej, treścią po prawej */
.ecg-offer-effect {
    max-width: 880px;
    margin: 0 auto;
}

.ecg-offer-effect__head {
    text-align: center;
    margin-bottom: 40px;
}

.ecg-offer-effect__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 768px) {
    .ecg-offer-effect__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
}

/* Desktop: 3 kolumny obok siebie (offerEffectList z 3 itemami) */
@media (min-width: 992px) {
    .ecg-offer-effect__list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ecg-offer-effect__list li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    transition: border-color 350ms ease, background 350ms ease, transform 350ms ease;
}

.ecg-offer-effect__list li:hover {
    border-color: rgba(63, 90, 243, 0.35);
    background: linear-gradient(180deg, rgba(63, 90, 243, 0.06) 0%, rgba(30, 91, 255, 0.02) 100%);
    transform: translateY(-3px);
}

.ecg-offer-effect__list li > i {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.20) 0%, rgba(30, 91, 255, 0.05) 100%);
    border: 1px solid rgba(63, 90, 243, 0.32);
    border-radius: 12px;
    color: var(--ecg-accent, #3F5AF3);
    font-size: 18px;
}

.ecg-offer-effect__list li > div {
    flex: 1;
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.72));
    font-size: 14px;
    line-height: 1.55;
}

.ecg-offer-effect__list li > div strong {
    display: block;
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

/* FAQ section — accordion z details/summary */
.ecg-offer-faq-section {
    background: var(--ecg-bg-2, #0A0E18);
}

.ecg-offer-faq {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ecg-offer-faq__item {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 300ms ease, background 300ms ease;
}

.ecg-offer-faq__item[open] {
    border-color: rgba(63, 90, 243, 0.4);
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.06), rgba(30, 91, 255, 0.02));
}

.ecg-offer-faq__item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 26px;
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color 250ms ease;
}

.ecg-offer-faq__item summary::-webkit-details-marker {
    display: none;
}

.ecg-offer-faq__item summary::after {
    content: "+";
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ecg-accent, #3F5AF3), var(--ecg-accent-2, #1E5BFF));
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    border-radius: 8px;
    transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ecg-offer-faq__item[open] summary::after {
    transform: rotate(45deg);
}

.ecg-offer-faq__item summary:hover {
    color: var(--ecg-accent, #3F5AF3);
}

.ecg-offer-faq__item p {
    margin: 0;
    padding: 0 26px 22px;
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.78));
    font-size: 15px;
    line-height: 1.65;
}

.ecg-offer-faq__item p strong {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
    font-weight: 600;
}

/* Callout — "Bez kosztów ukrytych" itp. */
.ecg-offer-callout {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: center;
    padding: 36px 32px;
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.10), rgba(30, 91, 255, 0.03));
    border: 1px solid rgba(63, 90, 243, 0.35);
    border-radius: 20px;
    text-align: center;
}

@media (min-width: 768px) {
    .ecg-offer-callout {
        flex-direction: row;
        text-align: left;
        gap: 28px;
    }
}

.ecg-offer-callout__icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ecg-accent, #3F5AF3), var(--ecg-accent-2, #1E5BFF));
    border-radius: 16px;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 14px 32px -10px rgba(63, 90, 243, 0.55);
}

.ecg-offer-callout__body {
    flex: 1;
}

h3.ecg-offer-callout__title,
.ecg-offer-callout__title {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95)) !important;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px;
}

.ecg-offer-callout__body p {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.78));
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.ecg-offer-callout__body p strong {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
}

/* Link callout — "Pełna strona EMS" pod sekcją Optymalizacja */
.ecg-offer-link-callout {
    max-width: 720px;
    margin: 50px auto 0;
    padding: 28px 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    text-align: center;
}

.ecg-offer-link-callout p {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.78));
    font-size: 15px;
    line-height: 1.55;
    margin: 0 0 16px;
}

/* ============================================================================
 * SUBPAGES — Case Studies (landing + Horus detail)
 * ========================================================================== */
.ecg-cases-section {
    background: var(--ecg-bg-1, #02050A);
    position: relative;
}

.ecg-cases-section:nth-of-type(even) {
    background: var(--ecg-bg-2, #0A0E18);
}

.ecg-cases-section__head {
    text-align: center;
    margin-bottom: 50px;
}

.ecg-cases-intro {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.65));
    font-size: 15px;
    line-height: 1.6;
    margin: 14px auto 0;
    max-width: 580px;
    font-style: italic;
}

/* Featured case — duża karta z visualem po lewej i contentem po prawej */
.ecg-case-featured {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(63, 90, 243, 0.35);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 28px 60px -32px rgba(63, 90, 243, 0.55);
}

@media (min-width: 992px) {
    .ecg-case-featured {
        grid-template-columns: 380px 1fr;
    }
}

.ecg-case-featured__visual {
    position: relative;
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.18) 0%, rgba(30, 91, 255, 0.04) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    min-height: 280px;
}

@media (min-width: 992px) {
    .ecg-case-featured__visual {
        border-bottom: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.06);
        min-height: auto;
    }
}

.ecg-case-featured__visual-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.ecg-case-featured__tag-tech {
    position: absolute;
    top: 24px;
    left: 24px;
    padding: 6px 12px;
    background: rgba(63, 90, 243, 0.25);
    border: 1px solid rgba(63, 90, 243, 0.5);
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ecg-case-featured__hub {
    position: absolute;
    z-index: 2;
    color: var(--ecg-text-1, #fff);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-shadow: 0 4px 16px rgba(63, 90, 243, 0.6);
}

.ecg-case-featured__svg {
    width: 220px;
    height: 220px;
    opacity: 0.55;
}

.ecg-case-featured__body {
    padding: 36px 32px;
}

@media (min-width: 992px) {
    .ecg-case-featured__body {
        padding: 44px 40px;
    }
}

.ecg-case-featured__tag {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--ecg-accent, #3F5AF3);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h3.ecg-case-featured__title,
.ecg-case-featured__title {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95)) !important;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
    margin: 0 0 16px;
}

@media (min-width: 992px) {
    .ecg-case-featured__title {
        font-size: 28px;
    }
}

.ecg-case-featured__lead {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.78));
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 24px;
}

.ecg-case-featured__kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 28px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ecg-case-kpi {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.ecg-case-kpi strong {
    color: var(--ecg-accent, #3F5AF3);
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
}

.ecg-case-kpi span {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.65));
    font-size: 11px;
    line-height: 1.3;
}

/* Upcoming cases (3 placeholder) */
.ecg-cases-upcoming {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

@media (min-width: 768px) {
    .ecg-cases-upcoming {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ecg-case-card {
    position: relative;
    padding: 32px 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    transition: border-color 350ms ease, transform 350ms ease;
}

.ecg-case-card:hover {
    border-color: rgba(63, 90, 243, 0.35);
    transform: translateY(-4px);
}

.ecg-case-card__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.7));
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ecg-case-card__tag {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--ecg-accent, #3F5AF3);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

h3.ecg-case-card__title,
.ecg-case-card__title {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95)) !important;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 600;
    margin: 0 0 12px;
}

.ecg-case-card__desc {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.72));
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px;
}

.ecg-case-card__meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.ecg-case-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.65));
    font-size: 12px;
}

.ecg-case-card__meta i {
    color: var(--ecg-accent, #3F5AF3);
}

/* Case teaser — "ostatnie realizacje" box reuzywany na podstronach wiedzy */
.ecg-case-card--live {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.ecg-case-card--live .ecg-case-card__title {
    margin-bottom: 18px;
}

.ecg-case-card__readmore {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ecg-accent, #3F5AF3);
    font-size: 13px;
    font-weight: 600;
}

.ecg-case-card--live:hover .ecg-case-card__readmore i {
    transform: translateX(4px);
}

.ecg-case-card__readmore i {
    transition: transform 300ms ease;
}

.ecg-case-teaser__cta {
    margin-top: 44px;
    text-align: center;
}

/* Analysis slides — bialy slajd 16:9 w jasnej ramce na ciemnym tle (1 duzy + reszta mniejsze) */
.ecg-analysis-slide {
    margin: 0;
}

.ecg-analysis-slide__frame {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 10px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.ecg-analysis-slide__frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.ecg-analysis-slide figcaption {
    margin-top: 14px;
    text-align: center;
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.6));
    font-size: 13px;
    line-height: 1.5;
}

.ecg-analysis-slide--featured {
    max-width: 880px;
    margin: 0 auto;
}

.ecg-analysis-slides__row {
    margin-top: 34px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width: 768px) {
    .ecg-analysis-slides__row {
        grid-template-columns: repeat(2, 1fr);
        max-width: 880px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Case detail — section grid (main + side) */
.ecg-case-detail-section {
    background: var(--ecg-bg-1, #02050A);
}

.ecg-case-detail-section:nth-of-type(even) {
    background: var(--ecg-bg-2, #0A0E18);
}

.ecg-case-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: flex-start;
}

@media (min-width: 992px) {
    .ecg-case-detail-grid {
        grid-template-columns: 1.6fr 1fr;
        gap: 48px;
    }
}

.ecg-case-detail-grid__main h2 {
    margin-top: 14px;
}

.ecg-case-detail__lead {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.78));
    font-size: 16px;
    line-height: 1.7;
    margin: 18px 0 0;
}

.ecg-case-detail__lead strong {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
}

.ecg-case-detail__lead + .ecg-case-detail__lead {
    margin-top: 14px;
}

/* Logo klienta pod opisem (caseClientGrid) */
.ecg-case-client-logo {
    margin: 34px 0 0;
}

.ecg-case-client-logo__label {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.55));
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.ecg-case-client-logo img {
    max-height: 56px;
    max-width: 240px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ecg-case-quick-facts {
    padding: 24px 26px;
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.08), rgba(30, 91, 255, 0.02));
    border: 1px solid rgba(63, 90, 243, 0.3);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ecg-case-quick-fact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ecg-case-quick-fact:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.ecg-case-quick-fact__label {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.6));
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}

.ecg-case-quick-fact__value {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
    font-size: 15px;
    font-weight: 600;
}

.ecg-case-detail-section__head {
    text-align: center;
    margin-bottom: 50px;
}

/* Problems grid — 3 cards */
.ecg-case-problems {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 768px) {
    .ecg-case-problems {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ecg-case-problem-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
}

.ecg-case-problem-card > i {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.20), rgba(30, 91, 255, 0.05));
    border: 1px solid rgba(63, 90, 243, 0.32);
    border-radius: 12px;
    color: var(--ecg-accent, #3F5AF3);
    font-size: 18px;
}

.ecg-case-problem-card h3 {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95)) !important;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 600;
    margin: 0 0 8px;
}

.ecg-case-problem-card p {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.72));
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

/* Results grid — 3 KPI cards */
.ecg-case-results {
    background: linear-gradient(180deg, var(--ecg-bg-2, #0A0E18) 0%, var(--ecg-bg-1, #02050A) 100%) !important;
    position: relative;
}

.ecg-case-results::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(63, 90, 243, 0.10), transparent 60%);
    pointer-events: none;
}

.ecg-case-results-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    position: relative;
    z-index: 1;
}

.ecg-case-results-grid > .ecg-case-result-card {
    flex: 1 1 280px;
    max-width: 380px;
}

.ecg-case-result-card {
    padding: 36px 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    text-align: center;
    transition: transform 350ms ease, border-color 350ms ease;
}

.ecg-case-result-card:hover {
    transform: translateY(-4px);
    border-color: rgba(63, 90, 243, 0.4);
}

.ecg-case-result-card--featured {
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.18), rgba(30, 91, 255, 0.04));
    border-color: rgba(63, 90, 243, 0.5);
    box-shadow: 0 22px 48px -22px rgba(63, 90, 243, 0.55);
}

.ecg-case-result-card__big {
    display: block;
    background: linear-gradient(135deg, var(--ecg-accent, #3F5AF3), var(--ecg-accent-2, #1E5BFF));
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.ecg-case-result-card__label {
    display: block;
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 16px;
}

.ecg-case-result-card__desc {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.7));
    font-size: 13px;
    line-height: 1.55;
    margin: 0;
}

/* Quote section */
.ecg-case-quote-section {
    background: var(--ecg-bg-2, #0A0E18) !important;
}

.ecg-case-quote {
    display: block; /* override motywu RunOK: blockquote { display:grid } rozbijał uklad */
    max-width: 820px;
    margin: 0 auto;
    padding: 48px 40px;
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.10), rgba(30, 91, 255, 0.02));
    border: 1px solid rgba(63, 90, 243, 0.35);
    border-radius: 24px;
    text-align: center;
}

.ecg-case-quote svg {
    color: var(--ecg-accent, #3F5AF3);
    margin: 0 auto 24px;
    display: block;
}

.ecg-case-quote p {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
    font-size: 19px;
    line-height: 1.6;
    font-style: italic;
    margin: 0 0 28px;
}

.ecg-case-quote__author {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ecg-case-quote__avatar {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ecg-accent, #3F5AF3), var(--ecg-accent-2, #1E5BFF));
    color: #fff;
    font-weight: 700;
    border-radius: 50%;
    font-size: 18px;
}

.ecg-case-quote__author > div {
    text-align: left;
}

.ecg-case-quote__author strong {
    display: block;
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
    font-size: 15px;
    font-weight: 600;
}

.ecg-case-quote__author span {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.65));
    font-size: 13px;
}

/* Co dalej — 2 link cards */
.ecg-case-next {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

h2.ecg-case-next + .ecg-case-next__lead,
.ecg-case-next h2 + .ecg-case-next__lead,
.ecg-case-next__lead {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.78));
    font-size: 16px;
    line-height: 1.65;
    margin: 18px auto 36px;
}

.ecg-case-next__links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 768px) {
    .ecg-case-next__links {
        grid-template-columns: repeat(2, 1fr);
    }
}

.ecg-case-next__link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.85));
    text-decoration: none;
    text-align: left;
    transition: background 350ms ease, border-color 350ms ease, transform 350ms ease;
}

.ecg-case-next__link:hover {
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.10), rgba(30, 91, 255, 0.03));
    border-color: rgba(63, 90, 243, 0.4);
    transform: translateY(-3px);
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
}

.ecg-case-next__link > i:first-child {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.20), rgba(30, 91, 255, 0.04));
    border: 1px solid rgba(63, 90, 243, 0.32);
    border-radius: 10px;
    color: var(--ecg-accent, #3F5AF3);
    font-size: 18px;
}

.ecg-case-next__link span {
    flex: 1;
    font-size: 14px;
    line-height: 1.45;
}

.ecg-case-next__link span strong {
    display: block;
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 2px;
}

.ecg-case-next__link span small {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.6));
    font-size: 12px;
}

.ecg-case-next__link-arrow {
    flex-shrink: 0;
    color: var(--ecg-accent, #3F5AF3);
    font-size: 14px;
    opacity: 0.5;
    transition: opacity 350ms ease, transform 350ms ease;
}

.ecg-case-next__link:hover .ecg-case-next__link-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* ============================================================================
 * SUBPAGES — Wizja (manifesto cards)
 * ========================================================================== */
.ecg-wizja-section {
    background: var(--ecg-bg-1, #02050A);
    position: relative;
}

.ecg-wizja-section:nth-of-type(even) {
    background: var(--ecg-bg-2, #0A0E18);
}

.ecg-wizja-manifesto {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

@media (min-width: 768px) {
    .ecg-wizja-manifesto {
        grid-template-columns: repeat(2, 1fr);
    }
}

.ecg-wizja-card {
    position: relative;
    padding: 36px 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 350ms ease, border-color 350ms ease;
}

.ecg-wizja-card:hover {
    transform: translateY(-4px);
    border-color: rgba(63, 90, 243, 0.4);
}

.ecg-wizja-card__num {
    position: absolute;
    top: 18px;
    right: 22px;
    color: transparent;
    background: linear-gradient(180deg, rgba(63, 90, 243, 0.32), rgba(63, 90, 243, 0.04));
    -webkit-background-clip: text;
            background-clip: text;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
}

h3.ecg-wizja-card__title,
.ecg-wizja-card__title {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95)) !important;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 14px;
    padding-right: 60px;
}

.ecg-wizja-card__desc {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.78));
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

.ecg-wizja-story {
    max-width: 760px;
    margin: 0 auto;
}

.ecg-wizja-story p {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.85));
    font-size: 17px;
    line-height: 1.75;
    margin: 0 0 18px;
}

.ecg-wizja-story p strong {
    color: var(--ecg-accent-light, #7B90FF); /* WCAG AA: accent 3F5AF3 dawal 3.85 na ciemnym tle */
}

/* ============================================================================
 * SUBPAGES — Blog (newsletter + 3 placeholder posts)
 * ========================================================================== */
.ecg-blog-section {
    background: var(--ecg-bg-1, #02050A);
}

.ecg-blog-section:nth-of-type(even) {
    background: var(--ecg-bg-2, #0A0E18);
}

.ecg-blog-newsletter {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 36px;
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.12), rgba(30, 91, 255, 0.03));
    border: 1px solid rgba(63, 90, 243, 0.4);
    border-radius: 24px;
    text-align: center;
}

.ecg-blog-newsletter__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--ecg-accent, #3F5AF3), var(--ecg-accent-2, #1E5BFF));
    border-radius: 14px;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 14px 32px -10px rgba(63, 90, 243, 0.55);
}

h3.ecg-blog-newsletter__title,
.ecg-blog-newsletter__title {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95)) !important;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px;
}

.ecg-blog-newsletter__lead {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.78));
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 24px;
}

.ecg-blog-newsletter__form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 480px;
    margin: 0 auto;
}

.ecg-blog-newsletter__form input[type="email"] {
    flex: 1;
    min-width: 200px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
    font-size: 15px;
    outline: none;
    transition: border-color 250ms ease, background 250ms ease;
}

.ecg-blog-newsletter__form input[type="email"]:focus {
    border-color: var(--ecg-accent, #3F5AF3);
    background: rgba(255, 255, 255, 0.08);
}

.ecg-blog-newsletter__form input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.ecg-blog-newsletter__form button {
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--ecg-accent, #3F5AF3), var(--ecg-accent-2, #1E5BFF));
    border: 0;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 250ms ease, box-shadow 250ms ease;
}

.ecg-blog-newsletter__form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -10px rgba(63, 90, 243, 0.55);
}

.ecg-blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

@media (min-width: 768px) {
    .ecg-blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ecg-blog-card {
    position: relative;
    padding: 30px 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    transition: transform 350ms ease, border-color 350ms ease;
}

.ecg-blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(63, 90, 243, 0.35);
}

.ecg-blog-card__badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.7));
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ecg-blog-card__category {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--ecg-accent, #3F5AF3);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

h3.ecg-blog-card__title,
.ecg-blog-card__title {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95)) !important;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    margin: 0 0 12px;
}

.ecg-blog-card__desc {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.7));
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 18px;
}

.ecg-blog-card__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.55));
    font-size: 12px;
}

.ecg-blog-card__meta i {
    color: var(--ecg-accent, #3F5AF3);
    margin-right: 4px;
}

.ecg-blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.ecg-blog-tag {
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.85));
    font-size: 13px;
    font-weight: 500;
    transition: background 250ms ease, border-color 250ms ease, transform 250ms ease;
    cursor: default;
}

.ecg-blog-tag:hover {
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.15), rgba(30, 91, 255, 0.05));
    border-color: rgba(63, 90, 243, 0.4);
    transform: translateY(-2px);
}

/* ============================================================================
 * MIRO COVERAGE FIXES iter3q — uzupełnienie 5 luk z audytu
 * ========================================================================== */

/* Fix 1: Logo board — bridge intro + 3 boldy (Mówią/Bóle/Efekt) */
.ecg-clients-bridge {
    max-width: 720px;
    margin: 40px auto 0;
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.78));
    font-size: 16px;
    line-height: 1.65;
    text-align: center;
}

.ecg-clients-bridge strong {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
    font-weight: 600;
}

.ecg-clients-summary {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 768px) {
    .ecg-clients-summary {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }
}

.ecg-clients-summary__col {
    padding: 26px 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    transition: border-color 350ms ease, transform 350ms ease;
}

.ecg-clients-summary__col:hover {
    border-color: rgba(63, 90, 243, 0.35);
    transform: translateY(-3px);
}

.ecg-clients-summary__col--quote {
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.12), rgba(30, 91, 255, 0.03));
    border-color: rgba(63, 90, 243, 0.4);
}

/* Loom #2 Z2: Bóle przed współpracą — czerwony akcent (negative state) */
.ecg-clients-summary__col--pain {
    border-top: 2px solid #ef4444;
    box-shadow: 0 -10px 28px -14px rgba(239, 68, 68, 0.55), inset 0 1px 0 rgba(239, 68, 68, 0.12);
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.06) 0%, rgba(239, 68, 68, 0.01) 100%);
}

.ecg-clients-summary__col--pain:hover {
    border-top-color: #f87171;
    box-shadow: 0 -12px 32px -12px rgba(239, 68, 68, 0.7), inset 0 1px 0 rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.45);
}

.ecg-clients-summary__col--pain .ecg-clients-summary__label {
    color: #fca5a5;
}

.ecg-clients-summary__col--pain .ecg-clients-summary__label i {
    color: #ef4444;
}

.ecg-clients-summary__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--ecg-accent, #3F5AF3);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ecg-clients-summary__label i {
    font-size: 12px;
}

.ecg-clients-summary__col p {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.85));
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.ecg-clients-summary__quote {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95)) !important;
    font-style: italic;
    font-size: 15px !important;
    font-weight: 500;
}

/* Fix 2: Pain-points sekcja (4 cytaty + emocjonalne CTA) */
.ecg-pain-section {
    background: var(--ecg-bg-2, #0A0E18);
    position: relative;
    overflow: hidden;
}

.ecg-pain-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 30%, rgba(63, 90, 243, 0.08), transparent 50%),
        radial-gradient(circle at 75% 70%, rgba(30, 91, 255, 0.06), transparent 55%);
    pointer-events: none;
}

.ecg-pain-section > .container {
    position: relative;
    z-index: 1;
}

.ecg-pain-intro {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.7));
    font-size: 16px;
    line-height: 1.6;
    margin: 14px auto 0;
    max-width: 620px;
}

.ecg-pain-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 1240px;
    margin: 0 auto 60px;
}

@media (min-width: 768px) {
    .ecg-pain-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
}

/* Desktop: 3 boksy obok siebie (np. 3 cytaty na Strategic Advisory) */
@media (min-width: 992px) {
    .ecg-pain-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ecg-pain-card {
    position: relative;
    padding: 30px 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    overflow: hidden;
    transition: border-color 400ms ease, background 400ms ease, transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ecg-pain-card:hover {
    border-color: rgba(63, 90, 243, 0.4);
    background: linear-gradient(180deg, rgba(63, 90, 243, 0.06) 0%, rgba(30, 91, 255, 0.02) 100%);
    transform: translateY(-4px);
}

.ecg-pain-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.20), rgba(30, 91, 255, 0.05));
    border: 1px solid rgba(63, 90, 243, 0.32);
    border-radius: 10px;
    color: var(--ecg-accent, #3F5AF3);
    font-size: 14px;
}

.ecg-pain-card__quote {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
    font-size: 18px;
    line-height: 1.55;
    font-weight: 500;
    font-style: italic;
    margin: 0;
}

.ecg-pain-cta {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    padding: 36px 32px;
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.12), rgba(30, 91, 255, 0.04));
    border: 1px solid rgba(63, 90, 243, 0.4);
    border-radius: 24px;
    box-shadow: 0 22px 48px -28px rgba(63, 90, 243, 0.55);
}

.ecg-pain-cta__lead {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
    font-size: 22px;
    line-height: 1.4;
    font-weight: 600;
    margin: 0 0 8px;
}

@media (min-width: 992px) {
    .ecg-pain-cta__lead {
        font-size: 26px;
    }
}

.ecg-pain-cta__lead strong {
    background: linear-gradient(135deg, var(--ecg-accent, #3F5AF3), var(--ecg-accent-2, #1E5BFF));
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.ecg-pain-cta__answer {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.78));
    font-size: 16px;
    margin: 0 0 22px;
}

.ecg-pain-cta__btn {
    display: inline-flex;
}

/* Fix 3: "Kiedy NAS nie bierze sens" — drugi collapsible obok pozytywnego */
.ecg-segments-honest-row {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 992px) {
    .ecg-segments-honest-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.ecg-segments-criteria--negative[open] {
    border-color: rgba(255, 99, 99, 0.4) !important;
    background: linear-gradient(135deg, rgba(255, 99, 99, 0.05), rgba(255, 99, 99, 0.01)) !important;
}

.ecg-segments-criteria__icon--no {
    background: linear-gradient(135deg, #ff6363, #ff8a3d) !important;
}

.ecg-segments-criteria--negative .ecg-segments-criteria__chevron {
    color: #ff8a3d !important;
}

.ecg-segments-criteria--negative .ecg-criteria-list li::before {
    content: "✗" !important;
    color: #ff8a3d !important;
}

.ecg-segments-criteria--negative .ecg-criteria-list li strong {
    color: #ffb088 !important;
}

.ecg-criteria-intro {
    margin: 0;
    padding: 0 24px 8px;
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.78));
    font-size: 14px;
    font-style: italic;
}

/* Loom #2 Z4: "Lepiej szukaj gdzie indziej" — banner z ikonami w sekcji negative */
.ecg-criteria-negative-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 8px 16px 16px;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(255, 99, 99, 0.08), rgba(255, 138, 61, 0.04));
    border: 1px dashed rgba(255, 138, 61, 0.35);
    border-radius: 12px;
    color: #ffb088;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ecg-criteria-negative-banner i {
    font-size: 18px;
    color: #ff8a3d;
    opacity: 0.85;
}

/* Fix 4: "Kupujesz swój czas" — manifest callout w #dlaczego-my */
.ecg-why-time-callout {
    margin-top: 60px;
    padding: 44px 36px;
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.12), rgba(30, 91, 255, 0.04));
    border: 1px solid rgba(63, 90, 243, 0.4);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.ecg-why-time-callout::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(63, 90, 243, 0.18), transparent 65%);
    pointer-events: none;
}

.ecg-why-time-callout__head {
    text-align: center;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}

.ecg-why-time-callout__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 8px 16px;
    background: rgba(63, 90, 243, 0.18);
    border: 1px solid rgba(63, 90, 243, 0.4);
    border-radius: 999px;
    color: var(--ecg-accent, #3F5AF3);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

h3.ecg-why-time-callout__title,
.ecg-why-time-callout__title {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95)) !important;
    font-size: 26px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0;
}

@media (min-width: 992px) {
    .ecg-why-time-callout__title {
        font-size: 32px;
    }
}

.ecg-why-time-callout__body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .ecg-why-time-callout__body {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }
}

.ecg-why-time-col__label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--ecg-accent, #3F5AF3);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ecg-why-time-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ecg-why-time-col ul li {
    position: relative;
    padding: 8px 0 8px 26px;
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.78));
    font-size: 14px;
    line-height: 1.55;
}

.ecg-why-time-col ul li strong {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
}

.ecg-why-time-col--problem ul li::before {
    content: "✗";
    position: absolute;
    left: 4px;
    top: 8px;
    color: #ff8a3d;
    font-weight: 700;
    font-size: 14px;
}

.ecg-why-time-col--solution ul li::before {
    content: "→";
    position: absolute;
    left: 4px;
    top: 8px;
    color: var(--ecg-accent, #3F5AF3);
    font-weight: 700;
    font-size: 14px;
}

/* Fix 5: Newsletter "Czego nie mówimy" — przed footerem */
.ecg-newsletter-section {
    background: var(--ecg-bg-2, #0A0E18);
    position: relative;
    overflow: hidden;
}

.ecg-newsletter-bg-text {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.025);
    font-size: 200px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    pointer-events: none;
    white-space: nowrap;
}

.ecg-newsletter-section > .container {
    position: relative;
    z-index: 1;
}

.ecg-newsletter-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 40px;
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.14), rgba(30, 91, 255, 0.04));
    border: 1px solid rgba(63, 90, 243, 0.45);
    border-radius: 28px;
    box-shadow: 0 32px 70px -36px rgba(63, 90, 243, 0.6);
    text-align: center;
}

.ecg-newsletter-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 22px;
    background: linear-gradient(135deg, var(--ecg-accent, #3F5AF3), var(--ecg-accent-2, #1E5BFF));
    border-radius: 16px;
    color: #fff;
    font-size: 26px;
    box-shadow: 0 16px 36px -10px rgba(63, 90, 243, 0.55);
}

.ecg-newsletter-card__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--ecg-accent, #3F5AF3);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h2.ecg-newsletter-card__title,
.ecg-newsletter-card__title {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95)) !important;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
    margin: 0 0 18px;
}

@media (min-width: 992px) {
    .ecg-newsletter-card__title {
        font-size: 40px;
    }
}

.ecg-newsletter-card__lead {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.78));
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 24px;
}

.ecg-newsletter-card__lead strong {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
}

.ecg-newsletter-card__perks {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

.ecg-newsletter-card__perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.78));
    font-size: 14px;
    text-align: left;
}

.ecg-newsletter-card__perks li i {
    flex-shrink: 0;
    color: var(--ecg-accent, #3F5AF3);
    font-size: 14px;
}

.ecg-newsletter-card__form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 480px;
    margin: 0 auto 14px;
}

.ecg-newsletter-card__form input[type="email"] {
    flex: 1;
    min-width: 220px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95));
    font-size: 15px;
    outline: none;
    transition: border-color 250ms ease, background 250ms ease;
}

.ecg-newsletter-card__form input[type="email"]:focus {
    border-color: var(--ecg-accent, #3F5AF3);
    background: rgba(255, 255, 255, 0.10);
}

.ecg-newsletter-card__form input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.ecg-newsletter-card__form button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 26px;
    background: linear-gradient(135deg, var(--ecg-accent, #3F5AF3), var(--ecg-accent-2, #1E5BFF));
    border: 0;
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 250ms ease, box-shadow 250ms ease;
}

.ecg-newsletter-card__form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px -10px rgba(63, 90, 243, 0.6);
}

.ecg-newsletter-card__hint {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.5));
    font-size: 12px;
    margin: 0;
}

@media (max-width: 575px) {
    .ecg-newsletter-card {
        padding: 36px 24px;
    }
    .ecg-newsletter-card__title {
        font-size: 26px;
    }
    .ecg-newsletter-bg-text {
        font-size: 110px;
    }
}

/* Placeholder dla podstron które nie mają jeszcze pełnej treści (Omnira) */
.ecg-page-placeholder {
    padding: 100px 0;
    text-align: center;
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.7));
}

.ecg-page-placeholder__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    margin-bottom: 28px;
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.18), rgba(30, 91, 255, 0.04));
    border: 1px solid rgba(63, 90, 243, 0.32);
    border-radius: 24px;
    font-size: 36px;
    color: var(--ecg-accent, #3F5AF3);
    box-shadow: 0 14px 40px -14px rgba(63, 90, 243, 0.45);
}

.ecg-page-placeholder h2 {
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.95)) !important;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
    margin: 0 0 16px;
}

.ecg-page-placeholder p {
    font-size: 17px;
    line-height: 1.65;
    max-width: 580px;
    margin: 0 auto 32px;
}

/* =========================================================================
   Loom #2: Uniwersalne CTA buttons (Pointa, Testimoniale, Top42 3-kolumny)
   ========================================================================= */
.ecg-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: transform 250ms ease, box-shadow 250ms ease, background 250ms ease, border-color 250ms ease;
    border: 1.5px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.ecg-cta-btn i {
    font-size: 16px;
}

.ecg-cta-btn--primary {
    background: linear-gradient(135deg, #3F5AF3, #1E5BFF);
    color: #ffffff;
    box-shadow: 0 8px 24px -10px rgba(63, 90, 243, 0.6);
}

.ecg-cta-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -10px rgba(63, 90, 243, 0.75);
    color: #ffffff;
}

.ecg-cta-btn--secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--ecg-text-1, rgba(255, 255, 255, 0.92));
    border-color: rgba(255, 255, 255, 0.18);
}

.ecg-cta-btn--secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(63, 90, 243, 0.5);
    background: rgba(63, 90, 243, 0.08);
    color: #ffffff;
}

.ecg-cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 36px;
}

/* Pointa CTA */
.ecg-why-time-callout__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
    position: relative;
    z-index: 1;
}

/* Loom #3: CTA pod sekcja faktow (stats) */
.ecg-why-stats__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 36px;
}

.ecg-why-stats__highlights {
    margin-top: 40px;
    text-align: center;
}

.ecg-why-stats__highlights p {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--ecg-text-primary, #f5f7fa);
}

@media (max-width: 768px) {
    .ecg-why-stats__highlights p {
        font-size: 16px;
    }
}

/* Loom #4+5 [b5950844 P1]: typografia dokumentow prawnych (polityka, regulamin) */
.ecg-legal-doc { color: rgba(255, 255, 255, 0.8); line-height: 1.65; }
.ecg-legal-doc h2 {
    margin-top: 36px;
    margin-bottom: 14px;
    font-size: 1.3rem;
    color: var(--ecg-text-primary, #f5f7fa);
}
.ecg-legal-doc h2:first-child { margin-top: 0; }
.ecg-legal-doc ol,
.ecg-legal-doc ul {
    padding-left: 22px;
    margin: 10px 0 14px;
}
.ecg-legal-doc ol > li,
.ecg-legal-doc ul > li {
    margin-bottom: 10px;
}
.ecg-legal-doc ol ol,
.ecg-legal-doc ol ul,
.ecg-legal-doc ul ol,
.ecg-legal-doc ul ul {
    margin: 8px 0 8px;
}
.ecg-legal-doc a {
    color: rgba(99, 130, 255, 0.95);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.ecg-legal-doc a:hover { color: #fff; }
.ecg-legal-doc__note {
    margin-top: 36px;
    padding: 18px 20px;
    border-left: 3px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0 8px 8px 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
}

/* =========================================================================
   Loom #4+5 [73a113d7 P1 + b5950844 P1]: Consultation popup (CTA z podstron
   → popup zamiast przekierowania do index.html#kontakt na pustą stronę)
   ========================================================================= */
.ecg-consultation-popup {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 250ms ease;
}
.ecg-consultation-popup[aria-hidden="false"] {
    display: flex;
    opacity: 1;
}
.ecg-consultation-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 11, 22, 0.78);
    backdrop-filter: blur(8px);
}
.ecg-consultation-popup__dialog {
    position: relative;
    z-index: 1;
    max-width: 560px;
    width: 100%;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: linear-gradient(180deg, #0d1322 0%, #080d18 100%);
    border: 1px solid rgba(63, 90, 243, 0.25);
    border-radius: 20px;
    padding: 40px 36px 32px;
    transform: translateY(20px) scale(0.98);
    transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}
.ecg-consultation-popup[aria-hidden="false"] .ecg-consultation-popup__dialog {
    transform: translateY(0) scale(1);
}
.ecg-consultation-popup__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    cursor: pointer;
    transition: background 200ms ease, transform 200ms ease;
}
.ecg-consultation-popup__close:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: rotate(90deg);
}
.ecg-consultation-popup__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(63, 90, 243, 0.9);
    margin-bottom: 12px;
}
.ecg-consultation-popup__title {
    font-size: 1.5rem;
    line-height: 1.25;
    color: var(--ecg-text-primary, #f5f7fa);
    margin: 0 0 10px;
}
.ecg-consultation-popup__lead {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.96rem;
    line-height: 1.55;
    margin-bottom: 22px;
}
.ecg-consultation-popup__form {
    display: grid;
    gap: 14px;
}
.ecg-consultation-popup__form input,
.ecg-consultation-popup__form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 14px;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 200ms ease, background 200ms ease;
}
.ecg-consultation-popup__form input:focus,
.ecg-consultation-popup__form textarea:focus {
    outline: none;
    border-color: rgba(63, 90, 243, 0.55);
    background: rgba(255, 255, 255, 0.07);
}
.ecg-consultation-popup__form textarea {
    min-height: 90px;
    resize: vertical;
}
.ecg-consultation-popup__form button[type="submit"] {
    background: linear-gradient(135deg, #3F5AF3, #1E5BFF);
    border: none;
    color: #fff;
    padding: 14px 22px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease;
    font-size: 0.98rem;
}
.ecg-consultation-popup__form button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(63, 90, 243, 0.35);
}
.ecg-consultation-popup__form button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: default;
    transform: none;
}
.ecg-consultation-popup__hint {
    margin-top: 14px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}
@media (max-width: 640px) {
    .ecg-consultation-popup__dialog { padding: 32px 22px 24px; }
    .ecg-consultation-popup__title { font-size: 1.3rem; }
}

/* Loom #4+5 [b5950844 P2]: przykladowy wpis XYZ na blog.html */
.ecg-blog-featured {
    max-width: 820px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 36px 38px;
}
.ecg-blog-featured__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}
.ecg-blog-featured__meta span i { margin-right: 4px; }
.ecg-blog-featured__lead {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 24px;
}
.ecg-blog-featured__body h3 {
    margin-top: 28px;
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: var(--ecg-text-primary, #f5f7fa);
}
.ecg-blog-featured__body p,
.ecg-blog-featured__body li {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
}
.ecg-blog-featured__body ul {
    margin: 12px 0 16px 22px;
}
.ecg-blog-featured__note {
    margin-top: 28px;
    padding: 16px 18px;
    border-left: 3px solid rgba(63, 90, 243, 0.7);
    background: rgba(63, 90, 243, 0.06);
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}
@media (max-width: 640px) {
    .ecg-blog-featured { padding: 28px 22px; }
}

/* Loom #4+5 [b5950844 P2]: footer redesign — wieksze logo, social wyzej, Cenzla placeholder */
.ecg-footer-brand .ecg-footer-logo-img {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    display: block;
}

.ecg-footer-social {
    display: flex;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 18px 0 24px;
}
.ecg-footer-social li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}
.ecg-footer-social li a:hover {
    background: rgba(63, 90, 243, 0.85);
    color: #fff;
    transform: translateY(-2px);
}

/* Copyright bez 2-kolumnowego splitu (social przeszly do brand widget) */
.copyright-area .row.copyright-content { justify-content: center; }
.copyright-area .text-center p { margin: 0; }

/* Loom #4+5 [73a113d7 P2]: jednolite ciemne tlo zdjec zespolu
   Klient: "uda sie zmienic albo chyba na czarno albo i tez tlo, bo oni tlo rozne maja. Ja i Kasper mamy dobre, reszta nie".
   Rozwiazanie CSS (Opcja A z planu): wymus solid dark container background + lekka korekta zdjecia (contrast/saturate)
   zeby zniwelowac roznice w tlach PNG. Jesli wizualnie niewystarczajace → eskalacja do image edit per PNG. */
.ecg-team-photo {
    background: #0A0E18 !important;
}
.ecg-team-photo img {
    filter: contrast(1.04) saturate(0.92);
    background: #0A0E18;
}

/* Loom #4+5 [b5950844 P2]: sekcja Konsultanci ECG z CTA → team.html */
.ecg-consultants-cta {
    margin-top: 60px;
    padding: 40px 32px;
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.08), rgba(30, 91, 255, 0.04));
    border: 1px solid rgba(63, 90, 243, 0.15);
    border-radius: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ecg-consultants-cta__head {
    flex: 1 1 320px;
    min-width: 280px;
}

.ecg-consultants-cta__title {
    font-size: 1.6rem;
    line-height: 1.25;
    margin: 14px 0 8px;
    color: var(--ecg-text-primary, #f5f7fa);
}

.ecg-consultants-cta__lead {
    margin: 0;
    color: var(--ecg-text-secondary, #b3b9c5);
    font-size: 0.98rem;
    line-height: 1.55;
    max-width: 540px;
}

.ecg-consultants-cta__btn {
    flex: 0 0 auto;
    align-self: center;
}

@media (max-width: 640px) {
    .ecg-consultants-cta {
        padding: 28px 22px;
        text-align: center;
    }
    .ecg-consultants-cta__head { min-width: 0; }
    .ecg-consultants-cta__lead { margin-left: auto; margin-right: auto; }
}

/* Loom #3: paragraf "Format" pod kartami "Co dostajesz w praktyce" */
.ecg-offer-format-note {
    margin-top: 28px;
    text-align: center;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    color: var(--ecg-text-secondary, #b3b9c5);
    font-size: 1rem;
    line-height: 1.55;
}

.ecg-offer-format-note strong {
    color: var(--ecg-text-primary, #f5f7fa);
}

/* =========================================================================
   Loom #2: Newsletter popup overlay
   ========================================================================= */
.ecg-newsletter-popup {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 250ms ease;
}

.ecg-newsletter-popup[aria-hidden="false"] {
    display: flex;
    opacity: 1;
}

.ecg-newsletter-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 11, 22, 0.78);
    backdrop-filter: blur(8px);
}

.ecg-newsletter-popup__dialog {
    position: relative;
    z-index: 1;
    max-width: 640px;
    width: 100%;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    transform: translateY(20px) scale(0.98);
    transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ecg-newsletter-popup[aria-hidden="false"] .ecg-newsletter-popup__dialog {
    transform: translateY(0) scale(1);
}

.ecg-newsletter-popup__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    cursor: pointer;
    transition: background 200ms ease, transform 200ms ease;
}

.ecg-newsletter-popup__close:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: rotate(90deg);
}

.ecg-newsletter-popup .ecg-newsletter-card {
    margin: 0;
    width: 100%;
}

.ecg-newsletter-popup .ecg-newsletter-bg-text {
    display: none;
}

/* ============================================================================
 * ECG-specific overrides nad RunOK template.
 * Drobne tweaki typografii, spacing i akcentów żeby template wygląda jak ECG,
 * a nie generic agencyjny landing.
 * ========================================================================== */

/* Fix horizontal scroll — RunOK #sidebar-area (offcanvas) wystaje poza viewport.
   UWAGA: overflow-x:hidden na html/body PSUJE position:sticky w childrach
   (tworzy implicit scrolling container). Zamiast tego uzywamy overflow-x:clip
   ktore robi to samo dla x-overflow ale NIE blokuje sticky positioning. */
html, body {
    overflow-x: clip;
    max-width: 100vw;
}

/* Force dark mode bezwarunkowo — niezależnie od data-theme attribute.
   RunOK ma JS który auto-przełącza motyw na podstawie localStorage / prefers-color-scheme,
   co potrafi zostawić stronę w light mode (białe BG sekcji bez własnego dark BG, np. newsletter, kontakt).
   Dlatego forsujemy ciemne tło na html + body bez selektora data-theme. */
html,
html body {
    background-color: #02050A !important;
    color: rgba(255, 255, 255, 0.85);
}

/* ============================================================================
 * Brand identity — Engel Consulting Group
 * Paleta wg /Branding/: #163C90 Marian, #2764F3 Royal, #2F3136 Jet, #8A8B8E
 * Battleship, #E5E5E5 Platinum. Czcionka: Montserrat.
 * ========================================================================== */
:root {
    --ecg-blue-marian: #163C90;
    --ecg-blue-royal: #2764F3;
    --ecg-jet: #2F3136;
    --ecg-gray: #8A8B8E;
    --ecg-platinum: #E5E5E5;
}

body,
.header .primary-header-inner .header-menu-wrap ul li a {
    font-family: "Montserrat", "Hind Madurai", system-ui, -apple-system, sans-serif;
}

/* ECG logo (mark + wordmark) — finalna marka klienta */
.ecg-logo {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    line-height: 1;
}
.ecg-logo:hover { color: #fff; }
.ecg-logo-mark-img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    object-fit: contain;
    transition: transform 350ms ease;
}
.ecg-logo:hover .ecg-logo-mark-img {
    transform: rotate(-6deg) scale(1.04);
}
.ecg-logo-wordmark {
    display: inline-block;
    white-space: nowrap;
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.05em;
    color: #fff;
    text-transform: uppercase;
}
.ecg-logo-line { display: inline; }
@media (max-width: 1199px) {
    .ecg-logo-wordmark { font-size: 11px; letter-spacing: 0.03em; }
    .ecg-logo-mark-img { width: 42px; height: 42px; }
}
@media (max-width: 575px) {
    .ecg-logo-wordmark { display: none; }
}

/* Hide theme-toggle button — nie potrzebujemy switchera w iter 2.
   Klient może go włączyć później jeśli chce (decyzja produktowa). */
#theme-toogle { display: none !important; }

/* Sekcje bez własnego dark BG mogą domyślnie pokazywać białe tło z RunOK CSS.
   Wymuszam przezroczystość żeby body bg dominował. */
.newsletter-section,
.contact-section,
.ecg-newsletter,
.ecg-contact,
.sponsor-section-6,
.sponsor-section,
.about-section-2,
.ecg-pain-promise,
.ecg-segments-section,
.ecg-quote-section,
.ecg-cases-section,
.project-section {
    background-color: transparent !important;
}

/* Container-level white backgrounds + bordery wewnątrz sekcji (RunOK light styles) */
.ecg-contact .contact-content,
.ecg-contact .blog-contact-form,
.ecg-contact .blog-contact-form.form-2,
.ecg-contact .request-form {
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
}

/* "bg-text" watermark (np. "NEWSLETTER" za nagłówkiem) — w dark mode subtle, nie pełny biały */
.section-heading .bg-text,
.ecg-newsletter .bg-text {
    color: rgba(255, 255, 255, 0.04) !important;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
}

/* Tytuły kontaktu (EMAIL / GODZINY / LOKALIZACJA) — wymuszamy biały bo RunOK nadpisuje na ciemny */
.ecg-contact .list-item .title { color: #fff !important; }
.ecg-contact .list-item .content span,
.ecg-contact .list-item .content a { color: rgba(255, 255, 255, 0.75) !important; }
.ecg-contact .list-item .content a:hover { color: var(--ecg-accent) !important; }
.ecg-contact .section-heading p { color: rgba(255, 255, 255, 0.7); }

/* Form fields w kontakcie — RunOK domyślnie jasne; wymuszam dark variant */
.ecg-contact-form .form-control,
.ecg-contact-form .ecg-select,
.ecg-contact-form .form-control:focus,
.ecg-contact-form textarea {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
}
.ecg-contact-form .form-control::placeholder,
.ecg-contact-form textarea::placeholder { color: rgba(255, 255, 255, 0.4) !important; }

/* Newsletter form input override — analogicznie */
.ecg-newsletter .newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}
.ecg-newsletter .newsletter-form .form-control::placeholder { color: rgba(255, 255, 255, 0.4) !important; }

/* Nice-select dropdown (RunOK plugin auto-applies na select.form-control) — dark mode */
.ecg-contact-form .nice-select {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.85) !important;
    height: 50px !important;
    line-height: 48px !important;
    padding: 0 38px 0 18px !important;
    border-radius: 10px !important;
    font-size: 0.9375rem !important;
    margin-bottom: 12px;
}
.ecg-contact-form .nice-select::after {
    border-color: rgba(255, 255, 255, 0.55) !important;
    right: 18px !important;
}
.ecg-contact-form .nice-select.open {
    border-color: rgba(63, 90, 243, 0.5) !important;
}
.ecg-contact-form .nice-select .list {
    background-color: #0A0E18 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6) !important;
    width: 100% !important;
    margin-top: 6px !important;
    padding: 6px 0 !important;
    max-height: 280px !important;
    overflow-y: auto !important;
}
.ecg-contact-form .nice-select .option {
    color: rgba(255, 255, 255, 0.78) !important;
    background-color: transparent !important;
    padding: 10px 18px !important;
    line-height: 1.4 !important;
    min-height: auto !important;
}
.ecg-contact-form .nice-select .option:hover,
.ecg-contact-form .nice-select .option.focus,
.ecg-contact-form .nice-select .option.selected.focus,
.ecg-contact-form .nice-select .option.selected {
    background-color: rgba(63, 90, 243, 0.18) !important;
    color: #fff !important;
}
.ecg-contact-form .nice-select .current { color: rgba(255, 255, 255, 0.85) !important; }

/* Section headings — wymuszamy white na nagłówkach sekcji (RunOK light styles override) */
section h2.section-title,
section .section-heading h2 { color: #fff !important; }
section .section-heading p { color: rgba(255, 255, 255, 0.65); }

/* Process section — tytuły kroków na ciemnym tle, RunOK je przyciemnia */
.ecg-process-card .ecg-process-title { color: #fff !important; }

/* Sticky obszary 6c — wymuszamy bialy na tytule prawej kolumny (RunOK ma h3 ciemny) */
.ecg-areas-detail-title,
.ecg-areas-detail h3 { color: #fff !important; }
.ecg-areas-detail-desc,
.ecg-areas-detail p { color: rgba(255, 255, 255, 0.75) !important; }

/* Case carousel cards titles */
.ecg-case-card .ecg-case-title,
.ecg-case-card h4 { color: #fff !important; }
.ecg-case-card p { color: rgba(255, 255, 255, 0.7) !important; }

/* Stats labels */
.ecg-stat-number { color: #fff !important; }
.ecg-stat-label { color: rgba(255, 255, 255, 0.65) !important; }

/* FAQ accordion */
.ecg-faq-content .accordion-button { color: #fff !important; }
.ecg-faq-content .accordion-body p { color: rgba(255, 255, 255, 0.7) !important; }

/* Cytat foundera — RunOK ma blockquote { display: grid; background: ...; padding: ... }
   co rozklada <p> i <footer> obok siebie + dodaje pudelko. Wymuszam czysty layout. */
.ecg-quote {
    display: block !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    border-left: none !important;
    box-shadow: none !important;
}
.ecg-quote p,
.ecg-quote footer {
    display: block !important;
    text-align: center !important;
    width: 100%;
    max-width: none;
    background: transparent !important;
}

/* Hero — typografia bardziej zbalansowana, żeby SVG miało miejsce */
.ecg-hero-title {
    font-size: clamp(2rem, 4vw, 3.75rem) !important;
    color: #fff !important;
}
.ecg-hero-sub { color: rgba(255, 255, 255, 0.7) !important; }
.ecg-hero-row { min-height: auto !important; align-items: center; }
.ecg-hero-svg-wrap { min-height: 600px; }

/* Light-mode overrides w ecg-hero-svg.css aplikuja sie gdy data-theme=light,
   ktory RunOK JS wlacza domyslnie. Wymuszamy biale na hero niezaleznie. */
[data-theme="light"] .ecg-hero-title,
[data-theme="dark"] .ecg-hero-title { color: #fff !important; }
[data-theme="light"] .ecg-hero-sub,
[data-theme="dark"] .ecg-hero-sub { color: rgba(255, 255, 255, 0.7) !important; }
[data-theme="light"] .ecg-quote,
[data-theme="dark"] .ecg-quote { color: #fff !important; }
[data-theme="light"] .ecg-pain-item p,
[data-theme="dark"] .ecg-pain-item p { color: rgba(255, 255, 255, 0.85) !important; }
[data-theme="light"] .ecg-promise-item .title,
[data-theme="dark"] .ecg-promise-item .title { color: #fff !important; }
[data-theme="light"] .ecg-promise-item .content p,
[data-theme="dark"] .ecg-promise-item .content p { color: rgba(255, 255, 255, 0.65) !important; }

/* Radial section background — pewność że ciemne */
.ecg-radial-section { background-color: var(--ecg-bg-2, #0A0E18); }
.ecg-services-section { background-color: var(--ecg-bg-2, #0A0E18); }
.ecg-process-section { background-color: var(--ecg-bg-1, #02050A); }

/* Pricing/services sekcje z templatu — nadpisz potencjalny white BG container */
.ecg-services-section .ecg-service-card {
    background-color: rgba(255, 255, 255, 0.03);
}
.ecg-services-section .ecg-service-card-featured {
    background: linear-gradient(180deg, rgba(63, 90, 243, 0.12) 0%, rgba(63, 90, 243, 0.04) 100%);
}

/* Disable RunOK's gsap scroll-smoother — używamy natywnego scrolla.
   Bez tego override #smooth-wrapper jest position:fixed z overflow:hidden i ucina
   wszystkie sekcje pod hero. */
#smooth-wrapper {
    position: static !important;
    overflow: visible !important;
    height: auto !important;
    width: auto !important;
}
#smooth-content {
    transform: none !important;
    height: auto !important;
}

/* Polskie znaki diakrytyczne lepiej w Inter / system stack niż w domyślnym templatowym font-family.
   RunOK używa noto_sans gdzieś — zostawiam, ale dodaję fallback. */
body {
    font-family: 'Inter', 'Noto Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Sponsor section header — w templacie h4, my chcemy bardziej subtle */
.sponsor-section-6 .sponsor-header .title {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    margin: 0 0 48px;
}

.sponsor-section-6 .sponsor-card img {
    max-height: 56px;
    opacity: 0.7;
    transition: opacity 200ms ease;
    filter: brightness(0) invert(1); /* białe logo na ciemnym tle */
}
.sponsor-section-6 .sponsor-card:hover img { opacity: 1; }

/* Bring back proper RunOK accent color (niebieski jak w designie klienta) */
:root {
    --ecg-accent: #3F5AF3;
}

.section-heading .sub-heading {
    color: var(--ecg-accent-light, #7B90FF); /* WCAG AA: accent 3F5AF3 dawal 3.85 na ciemnym tle */
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0; /* runok ma padding 0 50px ktore powodowalo offset eyebrow od lewej (klient feedback 2026-05-13) */
}
.section-heading .section-title {
    color: #fff;
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 12px 0 0;
}

/* Primary button override — RunOK ma .rr-primary-btn z gradientem, my chcemy solid niebieski */
.rr-primary-btn {
    background: var(--ecg-accent);
    border: none;
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 200ms ease, transform 200ms ease;
}
.rr-primary-btn:hover {
    background: #2d46d4;
    color: #fff;
    transform: translateY(-1px);
}

/* Header — pełen dark (loom#4+5 [73a113d7 P2]: klient prosił spójny ciemny pasek nawigacji)
   Wcześniej: rgba(2, 5, 10, 0.7) + backdrop-filter — przy braku content pod headerem wyglądało jasno. */
.header.sticky-active.sticky,
.header.inner-header.sticky-active,
.ecg-header {
    background: #02050A;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ============================================================================
 * Header desktop — menu, dropdowny dark, CTA po prawej
 * ========================================================================== */
.ecg-header .primary-header-inner {
    padding: 12px 60px;
}
@media (max-width: 1199px) {
    .ecg-header .primary-header-inner { padding: 12px 30px; }
}
@media (max-width: 992px) {
    .ecg-header .primary-header-inner { padding: 14px 20px; }
}

/* Selektor 3-klasowy, by przebic main.css `.header .primary-header-inner .header-right-wrap`
   (column-gap:120px). Rownia specyficznosc + pozniejsze ladowanie ecg-globals => wygrywa. */
.ecg-header .primary-header-inner .header-right-wrap {
    column-gap: 40px;
    row-gap: 16px;
}
@media (max-width: 1199px) {
    .ecg-header .primary-header-inner .header-right-wrap { column-gap: 16px; }
}
/* Logo jest centrowane w pionie jako flex-item .primary-header-inner (align-items:center).
   .header-logo ma bootstrapowy d-lg-block (display:block !important), wiec nie wymuszamy flex —
   dbamy tylko o pionowe wyrownanie marki i wordmarku wewnatrz linku. */
.ecg-header .primary-header-inner .header-logo .ecg-logo {
    align-items: center;
}

/* Top-level linki — Montserrat, lekko mniej liter-spacing niż RunOK */
.ecg-header .header-menu-wrap ul li a {
    font-family: "Montserrat", system-ui, sans-serif !important;
    font-size: 13px !important;
    letter-spacing: 0.06em !important;
    padding: 28px 0 !important;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85) !important;
}
.ecg-header .header-menu-wrap ul li a:hover {
    color: #fff !important;
}
.ecg-header .header-menu-wrap ul li a i {
    font-size: 10px;
    margin-left: 6px;
    transition: transform 250ms ease;
    opacity: 0.7;
}
.ecg-header .header-menu-wrap ul li:hover > a i {
    transform: rotate(180deg);
    opacity: 1;
}

/* Dropdowny — dark variant (RunOK domyślnie biały bg) */
.ecg-header .header-menu-wrap ul li ul.ecg-submenu {
    background: rgba(15, 18, 28, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    padding: 8px;
    width: 280px;
    top: 80px !important;
    overflow: hidden;
}
.ecg-header .header-menu-wrap ul li ul.ecg-submenu li {
    margin: 0;
    display: block;
    border-bottom: none !important;
    border-radius: 8px;
}
.ecg-header .header-menu-wrap ul li ul.ecg-submenu li a {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
    padding: 12px 16px !important;
    border-radius: 8px;
    line-height: 1.4 !important;
}
.ecg-header .header-menu-wrap ul li ul.ecg-submenu li a:before { display: none !important; }
.ecg-header .header-menu-wrap ul li ul.ecg-submenu li:hover {
    background: rgba(39, 100, 243, 0.14);
}
.ecg-header .header-menu-wrap ul li ul.ecg-submenu li:hover a {
    color: #fff !important;
    background: transparent !important;
}

/* CTA "Umów bezpłatną konsultację" w headerze */
.ecg-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px !important;
    font-family: "Montserrat", system-ui, sans-serif;
    font-size: 13px !important;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 999px;
    background: var(--ecg-blue-royal, #2764F3) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 0 0 0 rgba(39, 100, 243, 0.0);
    transition: background 250ms ease, transform 250ms ease, box-shadow 350ms ease;
    white-space: nowrap;
}
.ecg-header-cta:hover {
    background: #1d4fd6 !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(39, 100, 243, 0.25);
    color: #fff !important;
}
@media (max-width: 992px) {
    .ecg-header-cta { display: none !important; }
}

/* Side menu (mobile drawer) — RunOK ma sidebar-area na bg-1 (białe w light).
   Wymuszamy ciemny panel + spójny dystans + scrollbar. */
.sidebar-area {
    background-color: rgba(2, 5, 10, 0.97) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 380px !important;
    padding: 28px 32px !important;
}
@media (max-width: 480px) {
    .sidebar-area {
        width: 100vw !important;
        padding: 24px 22px !important;
    }
}
/* Close X — pozycja bliżej krawędzi + mniejsza */
.sidebar-area .sidebar-trigger.close {
    top: 24px !important;
    right: 22px !important;
}
.sidebar-area .side-menu-content { width: 100%; }
.sidebar-area .side-menu-logo { margin-bottom: 32px; }
.sidebar-area .side-menu-about {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.sidebar-area .side-menu-about p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 16px;
}
.sidebar-area .side-menu-about h3,
.sidebar-area .side-menu-header h3 {
    color: #fff;
    font-family: "Montserrat", system-ui, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 8px;
}

/* meanmenu klonuje .mobile-menu-items do .side-menu-wrap .mean-nav.
   Override defaultowych styli (jasne tło, capitalize) — dark theme + brand. */
.sidebar-area .mean-bar { background: transparent; padding: 0; min-height: 0; }
.sidebar-area .mean-bar .meanmenu-reveal { display: none !important; }
.sidebar-area .mean-bar .mean-nav.mean-nav > ul {
    background: transparent;
    margin: 0;
    padding: 0;
    list-style: none;
}
.sidebar-area .mean-bar .mean-nav.mean-nav > ul > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0;
    width: 100%;
    position: relative;
}
.sidebar-area .mean-bar .mean-nav.mean-nav > ul > li:last-child { border-bottom: none; }
.sidebar-area .mean-bar .mean-nav.mean-nav > ul > li > a {
    display: block;
    font-family: "Montserrat", system-ui, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    text-transform: none !important;
    letter-spacing: 0.02em !important;
    padding: 16px 56px 16px 0 !important;
    line-height: 1.3 !important;
}
.sidebar-area .mean-bar .mean-nav.mean-nav > ul > li > a i { display: none; }
.sidebar-area .mean-bar .mean-nav.mean-nav > ul > li ul {
    padding: 0 0 8px 4px !important;
    margin-top: 0 !important;
    list-style: none;
}
.sidebar-area .mean-bar .mean-nav.mean-nav > ul > li ul li {
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: none !important;
}
.sidebar-area .mean-bar .mean-nav.mean-nav > ul > li ul {
    padding: 4px 0 14px 14px !important;
    margin-top: 0 !important;
    border-left: 2px solid rgba(63, 90, 243, 0.3);
    margin-left: 4px;
}
.sidebar-area .mean-bar .mean-nav.mean-nav > ul > li ul li a {
    display: block;
    font-family: "Montserrat", system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.78) !important;
    text-transform: none !important;
    padding: 10px 0 10px 14px !important;
    letter-spacing: 0 !important;
    line-height: 1.4 !important;
    border-radius: 8px;
    transition: background 150ms ease, color 150ms ease;
}
.sidebar-area .mean-bar .mean-nav.mean-nav > ul > li ul li a:hover {
    background: rgba(63, 90, 243, 0.10) !important;
    color: #fff !important;
    padding-left: 18px !important;
}
.sidebar-area .mean-bar .mean-nav.mean-nav > ul li a:hover,
.sidebar-area .mean-bar .mean-nav.mean-nav > ul li a:focus {
    color: var(--ecg-blue-royal, #2764F3) !important;
}
.sidebar-area .mean-bar .mean-nav.mean-nav > ul > li > a.mean-expand {
    background: rgba(63, 90, 243, 0.14) !important;
    color: #fff !important;
    border: 1px solid rgba(63, 90, 243, 0.32) !important;
    border-radius: 8px !important;
    width: 28px !important;
    height: 28px !important;
    top: 14px !important;
    right: 4px !important;
    padding: 0 !important;
    font-size: 14px !important;
    transition: background 200ms ease, transform 200ms ease;
}
.sidebar-area .mean-bar .mean-nav.mean-nav > ul > li > a.mean-expand:hover {
    background: var(--ecg-blue-royal, #2764F3) !important;
    border-color: var(--ecg-blue-royal, #2764F3) !important;
    color: #fff !important;
}
.sidebar-area .mean-bar .mean-nav.mean-nav > ul > li > a.mean-expand.mean-clicked {
    background: var(--ecg-blue-royal, #2764F3) !important;
    border-color: var(--ecg-blue-royal, #2764F3) !important;
}
/* Render uses <i class="fa-chevron-..."/> — ukryj vendor pseudo +/− */
.sidebar-area .mean-bar .mean-nav.mean-nav > ul > li > a.mean-expand:before,
.sidebar-area .mean-bar .mean-nav.mean-nav > ul > li > a.mean-expand:after {
    content: none !important;
}
.sidebar-area .mean-bar .mean-nav.mean-nav > ul > li > a.mean-expand i {
    display: inline-block !important;
    font-size: 12px !important;
    line-height: 1 !important;
    color: inherit;
}

/* Footer — drobny tweak żeby linki w copyright były jaśniejsze */
.footer-section .copyright-area p a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: underline;
    margin: 0 4px;
}
.footer-section .copyright-area p a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Newsletter form w footerze — match dark mode */
.footer-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
}
.footer-form .form-control::placeholder { color: rgba(255, 255, 255, 0.4); }
.footer-form .submit { background: var(--ecg-accent); }

/* ============================================================================
 * Loom feedback Dawid 2026-05-13 — home page polish (Batch A)
 * ============================================================================ */

/* #1 Header — przyklejony do gory od razu, bez 55px offsetu (RunOK ma top:55 do scroll
   i top:0 w sticky.fixed). Klient: "menu od razu na samej gorze". Globalnie na home+podstrony. */
.ecg-header,
.header.inner-header {
    top: 0 !important;
}

/* #2 Hero CTA — wyrownaj ikony do lewej-gory, normalizuj paddingi przyciskow
   (klient: "ikony do lewej i do gory tak jak pozostale, paddingi z kazdej strony jakies dziwne"). */
.ecg-hero-btn {
    align-items: flex-start !important;
    padding: 14px 16px;
}
.ecg-hero-btn > span {
    align-items: flex-start;
}
.ecg-hero-btn > span > i {
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

/* #6 Logo-board — 2 rzedy slotow. Klient: "co najmniej dwa rzedy, troche szybciej". */
.ecg-logo-board--two-rows {
    display: flex !important;
    flex-direction: column;
    gap: 14px;
}
.ecg-logo-board--two-rows .ecg-logo-board__row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}
@media (max-width: 991px) {
    .ecg-logo-board--two-rows .ecg-logo-board__row {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}
@media (max-width: 575px) {
    .ecg-logo-board--two-rows .ecg-logo-board__row {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* 3 rzedy slotow — 6 widocznych per rzad, JS flip-uje przez pelna pule 42 logo. */
.ecg-logo-board--three-rows {
    display: flex !important;
    flex-direction: column;
    gap: 14px;
}
.ecg-logo-board--three-rows .ecg-logo-board__row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}
@media (max-width: 991px) {
    .ecg-logo-board--three-rows .ecg-logo-board__row {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}
@media (max-width: 575px) {
    .ecg-logo-board--three-rows .ecg-logo-board__row {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* #10 Newsletter popup eyebrow — z osobnej kafelki "icon + label" robimy poziomy pill,
   bardziej elegancki (klient: "popraw to, mega nie podoba mi sie, dziwnie wyglada"). */
.ecg-newsletter-card__eyebrow {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(63, 90, 243, 0.12);
    border: 1px solid rgba(63, 90, 243, 0.32);
    border-radius: 999px;
    box-shadow: 0 8px 24px -12px rgba(63, 90, 243, 0.4);
}
.ecg-newsletter-card__eyebrow > i {
    font-size: 14px;
    color: var(--ecg-accent, #3F5AF3);
}

/* ============================================================================
 * Loom feedback Dawid 2026-05-13 — Batch B (cztery formaty, kontakt, footer)
 * ============================================================================ */

/* #3 Cztery formaty wspolpracy — lewa kolumna (4 taby) ma pelnic wysokosc kolumny prawej (panel).
   Klient: "puste tlo na dole pod tabami, wyrownaj". Stretch + flex:1 per tab. */
@media (min-width: 992px) {
    .ecg-services-tabs {
        align-items: stretch !important;
    }
    .ecg-services-tabs__nav {
        height: 100%;
    }
    .ecg-services-tabs__nav li {
        flex: 1 1 0;
        display: flex;
    }
    .ecg-services-tab {
        flex: 1 1 auto;
    }
}

/* #8 Kontakt — alignment lewa kolumna (Email/Godziny/Lokalizacja musza byc na rowni z tytulem,
   mniejsze odstepy miedzy paragrafem a danymi, ciutke wieksze ikony i gapy). */
.ecg-contact.pt-130 { padding-top: 90px !important; } /* klient: "sekcja z formularzem nadal trzeba przewyzszyc to wyzej" */
.ecg-contact .section-heading { margin-bottom: 24px !important; } /* bylo 60px z runok */
.ecg-contact .section-heading p {
    margin-bottom: 16px;
}
/* WAZNE: ecg-iter3.css ma .ecg-contact .contact-content .contact-list { margin-top: auto }
   co przykleja contact-list do DOLU kolumny (zeby wyrownac sie z dolem formularza).
   Klient (loom 2026-05-13): "sekcja z formularzem nadal przyklejona do dolu, przyklej do
   paragrafa wyzej". Resetujemy margin-top auto + height:100% na .contact-content. */
.ecg-contact .contact-content { height: auto !important; }
.ecg-contact .contact-content .contact-list {
    margin-top: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ecg-contact .contact-list .list-item {
    padding: 14px 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 18px;
}
.ecg-contact .contact-list .list-item .icon {
    width: 48px !important;
    height: 48px !important;
    font-size: 18px;
    flex-shrink: 0;
}
.ecg-contact .contact-list .list-item .content .title {
    margin-bottom: 2px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.ecg-contact .contact-list .list-item .content span,
.ecg-contact .contact-list .list-item .content a {
    font-size: 15px;
}

/* Form: zmniejsz odstepy miedzy fieldami */
.ecg-contact-form .form-group {
    margin-bottom: 14px;
}
.ecg-contact-form .form-item {
    margin-bottom: 0;
}

/* Checkboxy RODO + newsletter — custom dark-mode look */
.ecg-contact-form-consents {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 8px 0 20px;
}
.ecg-form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
}
.ecg-form-check input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.ecg-form-check__box {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    transition: background 200ms ease, border-color 200ms ease;
    position: relative;
}
.ecg-form-check__box::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1);
}
.ecg-form-check input[type="checkbox"]:checked + .ecg-form-check__box {
    background: var(--ecg-accent, #3F5AF3);
    border-color: var(--ecg-accent, #3F5AF3);
}
.ecg-form-check input[type="checkbox"]:checked + .ecg-form-check__box::after {
    transform: rotate(45deg) scale(1);
}
.ecg-form-check input[type="checkbox"]:focus-visible + .ecg-form-check__box {
    outline: 2px solid var(--ecg-accent, #3F5AF3);
    outline-offset: 2px;
}
.ecg-form-check__text a {
    color: var(--ecg-accent-light, #7B90FF);
    text-decoration: underline;
}
.ecg-form-check__req {
    color: var(--ecg-accent, #3F5AF3);
    font-weight: 600;
}
.ecg-form-check:hover .ecg-form-check__box {
    border-color: rgba(63, 90, 243, 0.6);
}

/* ============================================================================
 * Batch C — Panel dowodzenia (rescale) + Testimonials (2-row marquee)
 * ============================================================================ */

/* #4 Panel dowodzenia — wieksze kola, wieksze fonty, lapka cursor sugerujaca klikalnosc. */
.ecg-radial-section .ecg-radial-wrap {
    max-width: 920px !important;
}
.ecg-radial-section .ecg-hub-text {
    font-size: 26px !important;
}
.ecg-radial-section .ecg-radial-node text {
    font-size: 14px !important;
}
.ecg-radial-section .ecg-radial-node {
    cursor: pointer; /* sygnal klikalnosci ("lapka") jako sugestia hovera */
}
.ecg-radial-section .ecg-radial-hub circle {
    r: 80; /* wiekszy hub (bylo 65) */
}
.ecg-radial-section .ecg-radial-node circle {
    r: 70; /* wieksze satellites (bylo 55) */
}
.ecg-radial-section .ecg-radial-node:hover circle {
    filter: drop-shadow(0 0 18px rgba(63, 90, 243, 0.55));
}

/* #5 Testimonials — 2-row marquee z przeciwnymi kierunkami; mniejsze karty. */
.ecg-testimonials-marquee {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
    padding: 30px 0;
    margin: 0 0 40px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.ecg-testimonials-marquee__row {
    overflow: hidden;
    width: 100%;
}
.ecg-testimonials-marquee__track {
    display: flex;
    gap: 20px;
    width: max-content;
    will-change: transform;
    animation-duration: 70s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
.ecg-testimonials-marquee__row--ltr .ecg-testimonials-marquee__track {
    animation-name: ecg-marquee-left;
}
.ecg-testimonials-marquee__row--rtl .ecg-testimonials-marquee__track {
    animation-name: ecg-marquee-right;
}
.ecg-testimonials-marquee__row.is-paused .ecg-testimonials-marquee__track {
    animation-play-state: paused;
}
@keyframes ecg-marquee-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes ecg-marquee-right {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
    .ecg-testimonials-marquee__track { animation: none; }
}

/* Kompaktowe karty testimoniali — duzo mniejsze niz bylo. */
.ecg-testimonials-marquee .ecg-testimonial-card {
    flex: 0 0 380px;
    min-height: auto !important;
    padding: 28px 28px !important;
    margin: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    transition: background 240ms ease, border-color 240ms ease;
}
.ecg-testimonials-marquee .ecg-testimonial-card:hover {
    /* WAZNE: bez translateY — w starym CSS bylo translateY(-4px) ktore obcinalo karty
       w overflow:hidden parent. Marquee ma juz constant ruch, hover lift zbedny. */
    transform: none !important;
    background: rgba(63, 90, 243, 0.08);
    border-color: rgba(63, 90, 243, 0.35);
}
.ecg-testimonials-marquee .ecg-testimonial-quote {
    color: var(--ecg-accent, #3F5AF3);
    font-size: 22px;
    margin-bottom: 14px;
}
.ecg-testimonials-marquee .ecg-testimonial-text {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9375rem !important;
    line-height: 1.5 !important;
    font-style: italic;
    margin: 0 0 20px !important;
    font-weight: 400 !important;
    flex: 1;
}
.ecg-testimonials-marquee .ecg-testimonial-author {
    padding-top: 16px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    gap: 12px !important;
}
.ecg-testimonials-marquee .ecg-testimonial-avatar {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
}
.ecg-testimonials-marquee .ecg-testimonial-meta p {
    font-size: 0.875rem !important;
    margin: 0 0 2px !important;
}
.ecg-testimonials-marquee .ecg-testimonial-meta span {
    font-size: 0.75rem !important;
}
@media (max-width: 575px) {
    .ecg-testimonials-marquee .ecg-testimonial-card { flex: 0 0 300px; padding: 22px 22px !important; }
}

/* Metric variant — duza liczba zamiast cudzyslowu, bez avatara. Karty metric vs quote
   sa wyraznie rozne wizualnie (klient: "podmien zeby nie byly takie same"). */
.ecg-testimonial-card--metric .ecg-testimonial-metric {
    color: var(--ecg-accent, #3F5AF3);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.ecg-testimonial-card--metric .ecg-testimonial-metric span {
    display: inline-block;
    margin-left: 6px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: lowercase;
}
.ecg-testimonial-card--metric .ecg-testimonial-text {
    font-style: normal !important;
    color: rgba(255, 255, 255, 0.78) !important;
}
.ecg-testimonial-card--metric .ecg-testimonial-author {
    /* brak avatara, sama meta */
}
.ecg-testimonial-card--metric .ecg-testimonial-meta p {
    color: rgba(255, 255, 255, 0.92) !important;
}

/* ============================================================================
 * Formularze ECG — status + loading state (ecg-forms.js + api/send.php)
 * ============================================================================ */
.ecg-form-status {
    margin-top: 14px;
    padding: 0 14px;
    font-size: 13px;
    line-height: 1.5;
    border-radius: 8px;
    transition: opacity 200ms ease, padding 200ms ease, max-height 200ms ease;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}
.ecg-form-status:not(:empty) {
    padding: 10px 14px;
    max-height: 200px;
    opacity: 1;
    margin-top: 14px;
}
.ecg-form-status.is-ok {
    color: #6EE7A5;
    background: rgba(16, 185, 129, 0.10);
    border: 1px solid rgba(16, 185, 129, 0.32);
}
.ecg-form-status.is-error {
    color: #FCA5A5;
    background: rgba(239, 68, 68, 0.10);
    border: 1px solid rgba(239, 68, 68, 0.32);
}

/* ============================================================================
 * Loom feedback Dawid 2026-05-13 — mobile fix dla horizontal-scroll sekcji
 * Klient: "na mobile bardzo duzo sekcji nie dziala tam, gdzie mamy te horyzontalne
 * scrolle". Konwertujemy obie sekcje (Cztery formaty + Z jakimi branzami) na
 * vertical stack / wrap zamiast horizontal scroll — wszystko od razu widoczne.
 * ============================================================================ */
@media (max-width: 991px) {
    /* Cztery formaty wspolpracy — vertical stack zamiast horizontal scroll */
    .ecg-services-tabs__nav {
        flex-direction: column !important;
        overflow-x: visible !important;
        scroll-snap-type: none !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 10px;
    }
    .ecg-services-tabs__nav li {
        flex: 1 1 auto !important;
        width: 100%;
        scroll-snap-align: none;
    }
    .ecg-services-tab {
        width: 100%;
    }

    /* Z jakimi branzami pracujemy — wrap pills zamiast horizontal scroll */
    .ecg-segments-tabs__nav {
        overflow-x: visible !important;
        flex-wrap: wrap !important;
        scroll-snap-type: none !important;
        margin: 0 0 24px !important;
        padding: 0 !important;
        justify-content: center !important;
        gap: 8px;
    }
    .ecg-segments-tabs__nav li {
        flex: 0 0 auto !important;
        scroll-snap-align: none;
    }
}

/* Page hero (podstrony) — eyebrow ("WSPÓŁ-PROWADZENIE · 6-12 MIESIĘCY") na osobnej linii
   pod breadcrumb, nie zlewa sie obok. Klient: "to nie powinno byc obok ECG > Oferta > X,
   albo nad albo pod, nie wiem ale osobno". */
.ecg-page-hero__eyebrow {
    display: block !important;
    margin: 8px auto 18px !important;
}

/* Process steps (jak-pracujemy) — wzmocniona typografia na mobile.
   Klient: "tu typografii brakuje" — tytuly za male, lead za niski kontrast. */
@media (max-width: 991px) {
    .ecg-process-card {
        padding: 22px 22px 20px !important;
    }
    .ecg-process-card__meta {
        font-size: 11px !important;
        margin-bottom: 10px !important;
    }
    .ecg-process-card__title {
        font-size: 22px !important;
        line-height: 1.25 !important;
        margin-bottom: 10px !important;
    }
    .ecg-process-card__lead {
        color: rgba(255, 255, 255, 0.82) !important;
        font-size: 15.5px !important;
        line-height: 1.6 !important;
    }
    /* Mobile: zawsze pokazuj detals (no hover na touch) */
    .ecg-process-card .ecg-process-card__details {
        max-height: none !important;
        opacity: 1 !important;
        margin-top: 14px !important;
    }
    .ecg-process-card__details li {
        font-size: 14.5px !important;
        line-height: 1.6 !important;
        color: rgba(255, 255, 255, 0.78) !important;
        padding: 7px 0 7px 24px !important;
    }
}

/* Submit button — loading state (klasa is-loading dodawana w JS na czas requestu) */
form[data-ecg-form] button[type="submit"].is-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}
form[data-ecg-form] button[type="submit"].is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ecg-form-spin 0.8s linear infinite;
}
@keyframes ecg-form-spin {
    to { transform: rotate(360deg); }
}

/* #9 Footer — ciemniejsze tlo, 4 kolumny bez wrap, brand z logo+form po prawej (loom 2026-05-13). */
.ecg-footer {
    background: #06080F !important;
    padding-top: 80px;
    padding-bottom: 40px;
}
.ecg-footer .widget-title {
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 18px;
}

/* Top section ze stopki — logo wycentrowane (jak Tigers), zamiast lewej kolumny brand. */
.ecg-footer-top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ecg-footer-top .ecg-footer-logo-img {
    height: auto;
    max-height: 84px;
    width: auto;
}

/* Kolumna bez nagłowka (np. produkty obok uslug) wyrownana do baseline z sasiadami. */
.ecg-footer .footer-widget:not(:has(.widget-header)) .footer-list {
    margin-top: calc(13px * 1.5 + 18px); /* font-size * line-height + margin-bottom .widget-title */
}
.ecg-footer .footer-list,
.ecg-footer .address-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ecg-footer .footer-list li a,
.ecg-footer .address-list li,
.ecg-footer .address-list li a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.55;
    transition: color 200ms ease;
}
.ecg-footer .footer-list li a:hover,
.ecg-footer .address-list li a:hover {
    color: #fff;
}
.ecg-footer .footer-list .ecg-footer-divider {
    list-style: none;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 100%);
    margin: 8px 0 6px;
    padding: 0;
}
.ecg-footer .footer-list a .ecg-footer-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(63, 90, 243, 0.18);
    border: 1px solid rgba(63, 90, 243, 0.4);
    color: #b9c5ff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    vertical-align: middle;
}
.ecg-footer .ecg-footer-note {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
    line-height: 1.55;
    font-style: italic;
}
.ecg-footer .ecg-footer-hours {
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.ecg-footer .ecg-footer-hours span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 400;
}

/* Brand col (po prawej) */
.ecg-footer .ecg-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ecg-footer-logo-link {
    display: inline-block;
    line-height: 0;
}
.ecg-footer .ecg-footer-logo-img {
    width: 88px !important;
    height: 88px !important;
    object-fit: contain;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    display: block;
}
.ecg-footer .ecg-footer-tagline {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    line-height: 1.55;
}
.ecg-footer .ecg-footer-form__label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.ecg-footer .ecg-footer-form .rr-subscribe-form {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    overflow: hidden;
}
.ecg-footer .ecg-footer-form .rr-subscribe-form input {
    flex: 1;
    background: transparent;
    border: 0;
    padding: 10px 14px;
    color: #fff;
    font-size: 13px;
}
.ecg-footer .ecg-footer-form .rr-subscribe-form input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}
.ecg-footer .ecg-footer-form .rr-subscribe-form .submit {
    background: var(--ecg-accent, #3F5AF3);
    color: #fff;
    border: 0;
    padding: 0 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 200ms ease;
}
.ecg-footer .ecg-footer-form .rr-subscribe-form .submit:hover {
    background: #2c45d6;
}
.ecg-footer .ecg-footer-social {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.ecg-footer .ecg-footer-social li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}
.ecg-footer .ecg-footer-social li a:hover {
    background: var(--ecg-accent, #3F5AF3);
    color: #fff;
    transform: translateY(-2px);
}
.ecg-footer .copyright-area {
    margin-top: 60px;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.35);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.ecg-footer .copyright-area p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    margin: 0;
}
.ecg-footer .copyright-area a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: underline;
    transition: color 200ms ease;
}
.ecg-footer .copyright-area a:hover {
    color: var(--ecg-accent, #3F5AF3);
}
/* ============================================================================
 * ECG hero — inline SVG composition + hover-on-area + floating HTML labels.
 * Sekcja 1B (cytat) i sekcja 2 (Diagnoza vs Obietnica) też tu — to są style
 * "intro" landingu (od hero do split column), zanim wskoczymy w "ecg-sections".
 * ========================================================================== */

.ecg-hero {
    padding: 150px 0 60px;
    overflow: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.ecg-hero-row {
    align-items: center;
    flex-wrap: nowrap; /* na desktop nigdy nie zawijamy */
}

/* --- LEFT column (headline + subcopy + CTA) --- */
.ecg-hero-content {
    padding-right: 40px;
    flex: 0 0 42%;
    max-width: 42%;
}

.ecg-hero-title {
    font-family: var(--bs-font-sans-serif, 'Inter', system-ui, sans-serif);
    font-size: clamp(2.5rem, 5.6vw, 5.5rem);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 32px;
    color: #fff;
}

.ecg-hero-sub {
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 40px;
    max-width: 480px;
}

.ecg-hero-cta { display: inline-flex; align-items: center; gap: 12px; }

/* --- 4 przyciski w hero (loom1 fallback B: paragrafy + listy poszly do sekcji #o-ecg-intro) --- */
.ecg-hero-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 540px;
    margin-top: 32px;
}
.ecg-hero-btn {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
    line-height: 1.35;
}
.ecg-hero-btn:hover { transform: translateY(-2px); text-decoration: none; }
.ecg-hero-btn span {
    font-size: 0.9375rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ecg-hero-btn small {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.9; /* WCAG AA: 0.75 dawalo 4.27 na accent bg */
    line-height: 1.4;
}
.ecg-hero-btn--primary {
    background: var(--ecg-accent, #3F5AF3);
    color: #fff;
}
.ecg-hero-btn--primary:hover { background: #2c45d6; color: #fff; }
.ecg-hero-btn--secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
}
.ecg-hero-btn--secondary:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.ecg-hero-btn--ghost {
    background: transparent;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.85);
}
.ecg-hero-btn--ghost:hover { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.32); color: #fff; }
.ecg-hero-btn--primary .small,
.ecg-hero-btn--primary small { color: rgba(255, 255, 255, 0.92); opacity: 1; } /* 0.85 oblewalo WCAG AA (4.27) na accent bg */

/* CTA cards jako samodzielna sekcja (np. strona produktowa) — 3 karty na calej szerokosci.
   Reuzywa .ecg-hero-btn (identyczny wyglad kart co w hero). */
.ecg-cta-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
}
.ecg-cta-cards[data-count="1"] { grid-template-columns: minmax(0, 360px); justify-content: center; }
.ecg-cta-cards[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 660px; }
.ecg-cta-cards[data-count="4"] { grid-template-columns: repeat(2, 1fr); max-width: 700px; }
.ecg-cta-cards .ecg-hero-btn { padding: 20px 22px; }
/* Wyroznienie akcentem — np. "Zobacz case studies". */
.ecg-hero-btn--accent {
    background: rgba(63, 90, 243, 0.10);
    border: 1px solid rgba(63, 90, 243, 0.55);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(63, 90, 243, 0.20), 0 10px 26px rgba(63, 90, 243, 0.18);
}
.ecg-hero-btn--accent:hover {
    background: rgba(63, 90, 243, 0.16);
    border-color: rgba(63, 90, 243, 0.80);
    color: #fff;
}
.ecg-hero-btn--accent small { color: rgba(255, 255, 255, 0.82); opacity: 1; }
@media (max-width: 768px) {
    .ecg-cta-cards,
    .ecg-cta-cards[data-count="2"],
    .ecg-cta-cards[data-count="4"] {
        grid-template-columns: 1fr;
    }
}

/* StatsBand jako samodzielna sekcja — bez gornej kreski/marginesu z kontekstu why-us. */
.ecg-why-stats--standalone {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* FeaturesGrid — karty z kwadratowym boxem ikony (o-ecg i inne podstrony).
   Blok renderowal klasy bez stylow; wzorzec wygladu jak .ecg-why-card / .ecg-why-icon. */
.ecg-feature-card {
    height: 100%;
    padding: 32px 28px;
    background: var(--ecg-card-bg, rgba(255, 255, 255, 0.03));
    border: 1px solid var(--ecg-card-border, rgba(255, 255, 255, 0.08));
    border-radius: 14px;
    transition: transform 300ms ease, border-color 300ms ease, background 300ms ease;
}
.ecg-feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(63, 90, 243, 0.30);
    background: rgba(63, 90, 243, 0.05);
}
.ecg-feature-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}
.ecg-feature-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(63, 90, 243, 0.18) 0%, rgba(30, 91, 255, 0.06) 100%);
    border: 1px solid rgba(63, 90, 243, 0.30);
    border-radius: 14px;
    font-size: 24px;
    color: var(--ecg-accent, #3F5AF3);
}
.ecg-feature-card__num {
    color: transparent;
    background: linear-gradient(180deg, rgba(63, 90, 243, 0.32), rgba(63, 90, 243, 0.04));
    -webkit-background-clip: text;
            background-clip: text;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
}
.ecg-feature-card__title {
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 10px;
    color: var(--ecg-text-primary, #f5f7fa);
}
.ecg-feature-card__desc {
    color: var(--ecg-text-2, rgba(255, 255, 255, 0.72));
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}
.ecg-features-cta {
    margin-top: 44px;
    text-align: center;
}

/* --- RIGHT column: SVG composition + floating labels --- */
.ecg-hero-svg-wrap {
    position: relative;
    width: 100%;
    flex: 0 0 58%;
    max-width: 58%;
}

/* --- Inline SVG hero — outline grid (statyczny) + 5 fillów (toggle przez opacity) --- */
.ecg-hero-svg {
    display: block;
    width: 100%;
    height: auto;
    max-width: 720px;
    margin-left: auto;
    aspect-ratio: 1 / 1;
}

/* Nowy hero SVG (z Figmy) — 16 tiles ulozonych w 4 kwadrantach po 4 tiles.
   Kazda grupa quadrantu (svg-area) ma 1 tile oznaczony .ecg-tile--center —
   te 4 centery razem skladaja sie na ksztalt EMS. */
.ecg-tile {
    fill: transparent;
    transition: fill 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Stan idle (nic nie wybrane) ORAZ hover EMS → tylko 4 centery zapalone */
.ecg-hero-svg:not(.is-quadrant-active) .ecg-tile--center {
    fill: #2764F3;
}

/* Hover/focus na kwadrancie → wszystkie 4 tiles tego kwadrantu zapalone */
.ecg-hero-svg.is-quadrant-active .svg-area.is-active .ecg-tile {
    fill: #2764F3;
}

/* Nakładające się paths blokują hover — używamy zewnętrznych hit-area
   buttonów ułożonych na 3×3 gridzie nad SVG (rogi + środek). */
.svg-area { pointer-events: none; }

.svg-hit {
    position: absolute;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
    outline: none;
    z-index: 2;
}
.svg-hit:focus-visible {
    outline: 2px solid #3F5AF3;
    outline-offset: -4px;
    border-radius: 12px;
}
/* Rogi po 50% — pokrywają cały viewport bez "martwych" stref między quadrantami.
   Środek (ems) jest ostatni w DOM i siedzi na top → wygrywa hit-test w środkowym 33%. */
.hit-interim   { top: 0;       left: 0;       width: 50%;    height: 50%;    }
.hit-omnira    { top: 0;       right: 0;      width: 50%;    height: 50%;    }
.hit-strategia { bottom: 0;    left: 0;       width: 50%;    height: 50%;    }
.hit-doradztwo { bottom: 0;    right: 0;      width: 50%;    height: 50%;    }
.hit-ems       { top: 33.33%;  left: 33.33%;  width: 33.34%; height: 33.34%; }

/* Hit grid wycelowany w SVG: SVG ma margin-left:auto + max-width:720, więc
   przyklejamy grid do prawej krawędzi wrappera. */
.svg-hit-grid {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 720px;
    aspect-ratio: 1 / 1;
    pointer-events: none;
}
.svg-hit-grid > .svg-hit { pointer-events: all; }

/* Hover — aktywna grupa z lekkim glowem. Bordery i fille ZAWSZE 100% — bez dimu,
   bo nakladajace sie krzywe z polprzezroczystoscia tworza brzydkie artefakty. */
.ecg-hero-svg.is-quadrant-active .svg-area.is-active {
    filter: drop-shadow(0 0 24px rgba(39, 100, 243, 0.4));
}

/* --- Floating labels (HTML, position absolute over SVG) --- */
.ecg-label {
    position: absolute;
    padding: 10px 18px;
    border-radius: 10px;
    background: rgba(20, 22, 30, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-family: var(--bs-font-sans-serif, 'Inter', system-ui, sans-serif);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.3;
    cursor: pointer;
    z-index: 3;
    transition:
        opacity 220ms ease,
        transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
        background 200ms ease,
        border-color 200ms ease,
        box-shadow 240ms ease;
    white-space: nowrap;
}
.ecg-label:hover,
.ecg-label:focus-visible,
.ecg-label.is-active {
    transform: translateY(-2px);
    background: rgba(28, 32, 44, 0.95);
    border-color: rgba(63, 90, 243, 0.5);
    box-shadow: 0 8px 24px rgba(63, 90, 243, 0.22);
    outline: none;
}
.ecg-label.is-dim { opacity: 0.55; } /* 0.35 oblewalo WCAG AA kontrast (axe: 3.04) */

.label-omnira    { top: 4%;  right: 6%;  }
.label-interim   { top: 6%;  left: 8%;   }
.label-ems       { top: 50%; right: min(50%, 360px); left: auto; transform: translate(50%, -50%); z-index: 4; }
.label-strategia { top: 60%; left: 4%;   }
.label-doradztwo { bottom: 4%; right: 4%; }

/* Central feature label — flagowy element (Autorski framework EMS®) zawsze
   wyróżniony — pełny brand gradient + glow + pulse, ignoruje cycle dim. */
.ecg-label--feature {
    padding: 14px 26px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.005em;
    background: linear-gradient(135deg, rgba(39, 100, 243, 0.95) 0%, rgba(63, 90, 243, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    box-shadow:
        0 0 0 4px rgba(39, 100, 243, 0.12),
        0 12px 32px rgba(39, 100, 243, 0.35),
        0 0 48px rgba(63, 90, 243, 0.45);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
    animation: ecg-label-feature-pulse 3.2s ease-in-out infinite;
}
.ecg-label--feature:hover,
.ecg-label--feature:focus-visible,
.ecg-label--feature.is-active {
    transform: translate(50%, calc(-50% - 2px));
    background: linear-gradient(135deg, rgba(39, 100, 243, 1) 0%, rgba(63, 90, 243, 1) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow:
        0 0 0 4px rgba(39, 100, 243, 0.18),
        0 14px 40px rgba(39, 100, 243, 0.5),
        0 0 64px rgba(63, 90, 243, 0.6);
}
.ecg-label--feature.is-dim { opacity: 1; }

@keyframes ecg-label-feature-pulse {
    0%, 100% {
        box-shadow:
            0 0 0 4px rgba(39, 100, 243, 0.12),
            0 12px 32px rgba(39, 100, 243, 0.35),
            0 0 48px rgba(63, 90, 243, 0.45);
    }
    50% {
        box-shadow:
            0 0 0 6px rgba(39, 100, 243, 0.18),
            0 14px 36px rgba(39, 100, 243, 0.45),
            0 0 72px rgba(63, 90, 243, 0.6);
    }
}
@media (prefers-reduced-motion: reduce) {
    .ecg-label--feature { animation: none; }
}

/* ============================================================================
 * Sekcja 1B — pojedynczy cytat foundera (redesign — eleganckie spacing)
 * ========================================================================== */
.ecg-quote-section { text-align: center; padding: 60px 0 100px; }

.ecg-quote-icon {
    color: var(--ecg-accent, #3F5AF3);
    margin: 0 auto 32px;
    display: inline-block;
    opacity: 0.85;
    filter: drop-shadow(0 0 24px rgba(63, 90, 243, 0.35));
}
.ecg-quote-icon svg { width: 56px; height: 42px; }

.ecg-quote {
    font-family: var(--bs-font-sans-serif, 'Inter', system-ui, sans-serif);
    font-size: clamp(1.5rem, 2.6vw, 2.5rem);
    line-height: 1.3;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #fff;
    margin: 0 auto;
    max-width: 820px;
    border: none;
    padding: 0;
}
.ecg-quote p {
    margin: 0 0 32px;
    font-style: italic;
}
.ecg-quote footer {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    padding-top: 24px;
}
.ecg-quote footer::before {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background: var(--ecg-accent, #3F5AF3);
    margin: 0 auto 24px;
    opacity: 0.5;
}
.ecg-quote cite { font-style: normal; }

/* ============================================================================
 * Sekcja 2 — Diagnoza vs Obietnica (split column)
 * ========================================================================== */
.ecg-pain-promise .section-heading { margin-bottom: 32px; }

.ecg-pain-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 16px;
}
.ecg-pain-item {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.ecg-pain-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(63, 90, 243, 0.3);
    transform: translateX(4px);
}
.ecg-pain-marker {
    font-family: Georgia, serif; font-size: 2.5rem; line-height: 1;
    color: #3F5AF3; flex-shrink: 0; margin-top: -6px;
}
.ecg-pain-item p {
    margin: 0; font-size: 1.0625rem; line-height: 1.5;
    color: rgba(255, 255, 255, 0.85); font-style: italic;
}

.ecg-promise-items { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.ecg-promise-item { display: flex; align-items: flex-start; gap: 18px; }
.ecg-promise-item .icon {
    flex-shrink: 0; width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(63, 90, 243, 0.12); border-radius: 12px;
    color: var(--ecg-accent, #3F5AF3);
    font-size: 1.5rem;
}
.ecg-promise-item .icon img { width: 30px; height: 30px; object-fit: contain; }
.ecg-promise-item .icon i { color: var(--ecg-accent, #3F5AF3); }
.ecg-promise-item .title { margin: 0 0 6px; font-size: 1.125rem; color: #fff; }
.ecg-promise-item .content p { margin: 0; color: rgba(255, 255, 255, 0.65); font-size: 0.9375rem; line-height: 1.5; }

/* ============================================================================
 * Mobile fallback (≤ 991px)
 * ========================================================================== */
@media (max-width: 991px) {
    .ecg-hero {
        padding-top: 100px;
        min-height: auto;
        display: block;
    }
    .ecg-hero-row { flex-wrap: wrap; }
    .ecg-hero-content,
    .ecg-hero-svg-wrap {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .ecg-hero-content { padding-right: 0; margin-bottom: 48px; }

    .ecg-hero-svg-wrap { margin-top: 24px; }
    .ecg-hero-svg { max-width: 100%; }

    .ecg-hero-buttons { grid-template-columns: 1fr; max-width: 100%; }

    .ecg-label {
        position: relative;
        top: auto !important; left: auto !important;
        right: auto !important; bottom: auto !important;
        display: inline-block;
        margin: 6px 4px;
        white-space: normal;
    }
    .ecg-label--feature { transform: none !important; }
    .ecg-label--feature:hover,
    .ecg-label--feature:focus-visible,
    .ecg-label--feature.is-active { transform: translateY(-2px) !important; }
}

@media (max-width: 575px) {
    .ecg-hero-title { font-size: 2.25rem; }
    .ecg-pain-item { padding: 16px 18px; }
}

/* ============================================================================
 * Light mode override
 * ========================================================================== */
[data-theme="light"] .ecg-hero-title { color: #0a0a14; }
[data-theme="light"] .ecg-hero-sub { color: rgba(10, 10, 20, 0.65); }
[data-theme="light"] .ecg-label {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(10, 10, 20, 0.08);
    color: #0a0a14;
}
/* light-mode overrides celowo nieaktywne — strona w pełnym dark mode wymuszonym */
[data-theme="light"] .ecg-quote,
[data-theme="dark"] .ecg-quote { color: #fff; }
[data-theme="light"] .ecg-quote footer,
[data-theme="dark"] .ecg-quote footer,
[data-theme="light"] .ecg-quote cite,
[data-theme="dark"] .ecg-quote cite { color: rgba(255, 255, 255, 0.5) !important; }
[data-theme="light"] .ecg-pain-item {
    background: rgba(10, 10, 20, 0.03);
    border-color: rgba(10, 10, 20, 0.06);
}
[data-theme="light"] .ecg-pain-item p { color: rgba(10, 10, 20, 0.85); }
[data-theme="light"] .ecg-promise-item .title { color: #0a0a14; }
[data-theme="light"] .ecg-promise-item .content p { color: rgba(10, 10, 20, 0.65); }

/* ── Language switcher (EN/PL) ─────────────────────────────── */
.ecg-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-right: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 2px;
}
.ecg-lang-switcher__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease;
}
.ecg-lang-switcher__item:hover { color: #fff; }
.ecg-lang-switcher__item.is-active {
  color: #02050a;
  background: #fff;
}
.ecg-lang-switcher--mobile {
  display: flex;
  margin: 16px 0;
}
[data-theme="light"] .ecg-lang-switcher { border-color: rgba(10, 10, 20, 0.14); }
[data-theme="light"] .ecg-lang-switcher__item { color: rgba(10, 10, 20, 0.6); }
[data-theme="light"] .ecg-lang-switcher__item:hover { color: #0a0a14; }
[data-theme="light"] .ecg-lang-switcher__item.is-active { color: #fff; background: #1e5bff; }
