/* ============================================================================
 * 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;
    }
}

/* ============================================================================
 * 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, #3F5AF3);
    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: 16px 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ecg-logo-board__face::after {
    /* Subtelna pozioma linia środkiem (sugestia, że to "klapka" lotniskowa) */
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.45), transparent);
    pointer-events: none;
    opacity: 0.4;
}

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

.ecg-logo-board__face img {
    max-width: 75%;
    max-height: 65%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.72;
    transition: opacity 250ms ease, filter 250ms ease;
}

.ecg-logo-board__slot:hover .ecg-logo-board__face img {
    opacity: 1;
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(63, 90, 243, 0.5));
}

.ecg-logo-board__slot:hover .ecg-logo-board__face {
    border-color: rgba(63, 90, 243, 0.4);
    background: linear-gradient(180deg, rgba(63, 90, 243, 0.08) 0%, rgba(30, 91, 255, 0.02) 100%);
}

.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;
    }
}

.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;
    }
}

.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 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;
}

.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: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    position: relative;
    z-index: 1;
}

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

.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 {
    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, #3F5AF3);
}

/* ============================================================================
 * 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: 980px;
    margin: 0 auto 60px;
}

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

.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;
}

/* 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;
}

