/*
 * Landing page Amperfied Dynamic DC, wersja 2 „Moc w ruchu” (page-amperfied-dynamic-dc-v2.php).
 * Kierunek wizualny: plansze Astry 01–03 (hero, podział mocy, dystrybutor z bliska), rozwinięty na całą stronę.
 * Jeden font: Cairo (etykiety techniczne: wielkie litery z rozstrzeleniem; decyzja operatora 2026-10-27).
 * Arkusz ładowany tylko na tej stronie; style motywu są tu wyłączone (inc/landing-dynamic-dc.php).
 * Progi według szerokości okna (media queries): 600 / 760 / 960 / 1080 / 1200 px.
 */

/* ---------- Fonty ---------- */

/* Cairo dostarcza snippet HFCM motywu (Cloudflare Fonts, wagi 400/500/600/700). */

/* Font zastępczy na czas doładowania Cairo (jak w wersji 1): Arial przeskalowany do szerokości Cairo (CLS). */
@font-face {
    font-family: 'Cairo Fallback';
    font-weight: 100 500;
    src: local('Arial'), local('Liberation Sans'), local('Helvetica');
    size-adjust: 94.4%;
}

@font-face {
    font-family: 'Cairo Fallback';
    font-weight: 600 900;
    src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('Helvetica Bold');
    size-adjust: 90%;
}

/* ---------- Tokeny ---------- */

.dynamic-dc-page,
.dc-mmenu,
.dc-mbar {
    --navy: #1D2B35;
    --navy-2: #243641;
    --navy-3: #15212A;
    --teal: #4D909B;
    --teal-d: #2E6B75;
    --green: #56A57B;
    --mint: #C2E6D5;
    --mint-2: #DCEAE2;
    --mint-3: #C9DDD2;
    --light: #F3F5F0;
    --ink: #1D2B35;
    --muted: #5A6C70;
    --on-dark: #FFFFFF;
    --on-dark-2: #B9CBCE;
    --on-dark-3: #8FA6AA;
    --line: rgba(29, 43, 53, .16);
    --line-2: rgba(29, 43, 53, .3);
    --line-dark: rgba(255, 255, 255, .14);
    --gut: clamp(20px, 4vw, 64px);
    --header-h: 64px;
    --sans: Cairo, 'Cairo Fallback', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --focus: #2E6B75;
}

@media (min-width: 1080px) {
    .dynamic-dc-page,
    .dc-mmenu,
    .dc-mbar {
        --header-h: 84px;
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
    -webkit-text-size-adjust: 100%;
}

body.dynamic-dc-body {
    margin: 0;
    background: #1D2B35;
    color: #1D2B35;
    font-family: Cairo, 'Cairo Fallback', 'Segoe UI', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.dynamic-dc-body.dc-noscroll {
    overflow: hidden;
}

/* Globalny pasek zgody z HFCM — ukryty, jak na pozostałych landingach motywu. */
body.dynamic-dc-body .zgoda {
    display: none !important;
}

::selection {
    background: #C2E6D5;
    color: #1D2B35;
}

/* ---------- Baza (zerowa specyficzność, żeby komponenty zawsze wygrywały) ---------- */

.dynamic-dc-page {
    position: relative;
    min-height: 100vh;
    overflow-x: clip;
    background: var(--navy);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.55;
}

.dynamic-dc-page,
.dynamic-dc-page *,
.dynamic-dc-page *::before,
.dynamic-dc-page *::after,
.dc-mmenu,
.dc-mmenu *,
.dc-mbar,
.dc-mbar * {
    box-sizing: border-box;
}

:where(.dynamic-dc-page, .dc-mmenu) img {
    display: block;
    max-width: 100%;
}

:where(.dynamic-dc-page, .dc-mmenu) :where(h1, h2, h3, p, ul, ol, dl, dd, figure) {
    margin: 0;
}

:where(.dynamic-dc-page) a {
    color: var(--teal-d);
    text-underline-offset: 3px;
}

:where(.dynamic-dc-page) a:hover {
    color: var(--ink);
}

:where(.dynamic-dc-page, .dc-mmenu, .dc-mbar) :where(button, input, select, textarea) {
    font: inherit;
    color: inherit;
}

.dynamic-dc-page :focus-visible,
.dc-mmenu :focus-visible,
.dc-mbar :focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

.dynamic-dc-page [hidden],
.dc-mmenu[hidden],
.dc-mbar[hidden] {
    display: none !important;
}

.dynamic-dc-page main {
    outline: none;
}

.dc-icon {
    display: block;
    flex: none;
}

.dc-sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.dc-skip {
    position: absolute;
    left: 16px;
    top: -80px;
    z-index: 100;
    background: #FFFFFF;
    color: var(--ink);
    padding: 12px 18px;
    font-weight: 700;
    text-decoration: none;
}

.dc-skip:focus {
    top: 12px;
    color: var(--ink);
}

.dc-wrap {
    width: min(100% - 2 * var(--gut), 1472px);
    margin-inline: auto;
}

/* ---------- Sekcje i typografia ---------- */

.dc-section {
    padding: clamp(72px, 9vw, 136px) 0;
}

.dc-s-light { background: var(--light); }
.dc-s-white { background: #FFFFFF; }
.dc-s-mint { background: var(--mint-2); }
.dc-s-navy { background: var(--navy); }

.dc-dark {
    --focus: #C2E6D5;
    color: var(--on-dark);
}

/* Wiersz nad sekcją: numer i nazwa po lewej, znacznik techniczny po prawej, cienka linia pod spodem. */
.dc-topline {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 32px;
    position: relative;
    padding-bottom: 18px;
    margin-bottom: clamp(40px, 6vw, 88px);
}

.dc-topline::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--line);
}

.dc-dark .dc-topline::after {
    background: var(--line-dark);
}

.dc-eyebrow,
.dc-topline__tag {
    font-family: var(--sans);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

.dc-eyebrow__n {
    color: var(--ink);
}

.dc-dark .dc-eyebrow,
.dc-dark .dc-topline__tag {
    color: var(--on-dark-2);
}

.dc-dark .dc-eyebrow__n,
.dc-eyebrow--mint {
    color: var(--mint);
}

.dc-dark .dc-eyebrow--mint {
    color: var(--mint);
}

.dc-topline__tag {
    display: none;
    text-align: right;
}

@media (min-width: 760px) {
    .dc-topline__tag { display: block; }
}

.dc-s-mint .dc-eyebrow,
.dc-s-mint .dc-topline__tag {
    color: #4F6266;
}

.dc-h2 {
    font-size: clamp(36px, 4.6vw, 72px);
    line-height: 1.02;
    font-weight: 500;
    letter-spacing: -.032em;
    color: var(--ink);
    text-wrap: balance;
}

.dc-h2--xl {
    font-size: clamp(40px, 5.8vw, 96px);
    line-height: .98;
    letter-spacing: -.036em;
}

.dc-dark .dc-h2 {
    color: #FFFFFF;
}

.dc-h3 {
    font-size: clamp(26px, 2.5vw, 40px);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -.022em;
    color: var(--ink);
    text-wrap: balance;
}

.dc-lead {
    font-size: clamp(17px, 1.3vw, 21px);
    line-height: 1.55;
    color: var(--muted);
    text-wrap: pretty;
}

.dc-dark .dc-lead {
    color: var(--on-dark-2);
}

.dc-s-mint .dc-lead,
.dc-s-mint .dc-note {
    color: #4F6266;
}

.dc-note {
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
}

.dc-dark .dc-note {
    color: var(--on-dark-3);
}

.dc-head {
    display: grid;
    gap: 24px;
}

@media (min-width: 960px) {
    .dc-head {
        grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
        gap: clamp(48px, 6vw, 112px);
        align-items: end;
    }
    .dc-head--xl {
        align-items: start;
    }
    .dc-head--xl .dc-head__aside {
        padding-top: .6em;
    }
}

.dc-head > .dc-h2:only-child {
    max-width: 15em;
}

/* ---------- Przyciski i linki ----------
 * Jeden komponent: etykieta + osobne pole ze strzałką (oddzielone cienką linią). Kolory przez zmienne, więc wariant
 * zależy od tła sekcji (.dc-dark) albo modyfikatora. Strzałka przesuwa się przy najechaniu. */

.dc-btn {
    --b-h: 56px;
    --b-bg: var(--navy);
    --b-bg-h: #2B404D;
    --b-fg: #FFFFFF;
    --b-bd: var(--navy);
    --b-bd-h: #2B404D;
    --b-div: rgba(255, 255, 255, .2);
    --b-ico: var(--mint);
    --b-ico-bg-h: var(--mint);
    --b-ico-h: var(--navy);
    display: inline-flex;
    align-items: stretch;
    max-width: 100%;
    min-height: var(--b-h);
    margin: 0;
    padding: 0;
    border: 1px solid var(--b-bd);
    border-radius: 0;
    background: var(--b-bg);
    color: var(--b-fg);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.2;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}

.dc-btn:hover {
    background: var(--b-bg-h);
    border-color: var(--b-bd-h);
    color: var(--b-fg);
}

.dc-btn__label {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 22px;
}

.dc-btn__ico {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: calc(var(--b-h) - 2px);
    border-left: 1px solid var(--b-div);
    color: var(--b-ico);
    overflow: hidden;
    transition: background-color .3s var(--ease), color .3s var(--ease);
}

.dc-btn:hover .dc-btn__ico {
    background: var(--b-ico-bg-h);
    color: var(--b-ico-h);
}

.dc-btn__ico .dc-icon {
    transition: transform .35s var(--ease);
}

.dc-btn:hover .dc-btn__ico .dc-icon {
    transform: translateX(4px);
}

.dc-btn--down:hover .dc-btn__ico .dc-icon {
    transform: translateY(3px);
}

.dc-dark .dc-btn,
.dc-mmenu .dc-btn,
.dc-mbar .dc-btn {
    --b-bg: var(--mint);
    --b-bg-h: #D9F2E6;
    --b-fg: var(--navy);
    --b-bd: var(--mint);
    --b-bd-h: #D9F2E6;
    --b-div: rgba(29, 43, 53, .2);
    --b-ico: var(--navy);
    --b-ico-bg-h: var(--navy);
    --b-ico-h: var(--mint);
}

.dc-btn.dc-btn--ghost {
    --b-bg: transparent;
    --b-bg-h: rgba(29, 43, 53, .05);
    --b-fg: var(--navy);
    --b-bd: var(--line-2);
    --b-bd-h: var(--navy);
    --b-div: var(--line);
    --b-ico: var(--teal-d);
    --b-ico-bg-h: var(--navy);
    --b-ico-h: #FFFFFF;
}

.dc-dark .dc-btn.dc-btn--ghost {
    --b-bg: transparent;
    --b-bg-h: rgba(194, 230, 213, .08);
    --b-fg: #FFFFFF;
    --b-bd: rgba(194, 230, 213, .45);
    --b-bd-h: var(--mint);
    --b-div: rgba(194, 230, 213, .3);
    --b-ico: var(--mint);
    --b-ico-bg-h: var(--mint);
    --b-ico-h: var(--navy);
}

.dc-btn.dc-btn--dark {
    --b-bg: var(--navy);
    --b-bg-h: #2B404D;
    --b-fg: #FFFFFF;
    --b-bd: var(--navy);
    --b-bd-h: #2B404D;
    --b-div: rgba(255, 255, 255, .2);
    --b-ico: var(--mint);
    --b-ico-bg-h: var(--mint);
    --b-ico-h: var(--navy);
}

.dc-btn--sm {
    --b-h: 44px;
    font-size: 16px;
    white-space: nowrap;
}

.dc-btn--sm .dc-btn__label {
    padding: 6px 16px;
}

.dc-btn--md {
    --b-h: 52px;
}

.dc-btn--lg {
    --b-h: 60px;
    font-size: 18px;
}

.dc-btn--lg .dc-btn__label {
    padding: 12px 26px;
}

.dc-btn--block {
    display: flex;
    width: 100%;
}

.dc-link-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    color: var(--teal-d);
    font-size: 17px;
    line-height: 1.3;
    font-weight: 600;
    text-decoration: none;
}

.dc-link-cta > span {
    padding-bottom: 3px;
    background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
    transition: background-size .35s var(--ease);
}

.dc-link-cta .dc-icon {
    transition: transform .35s var(--ease);
}

.dc-link-cta:hover {
    color: var(--ink);
}

.dc-link-cta:hover > span {
    background-size: 0 1px;
    background-position: 100% 100%;
}

.dc-link-cta:hover .dc-icon {
    transform: translateX(5px);
}

.dc-dark .dc-link-cta {
    color: var(--mint);
}

.dc-dark .dc-link-cta:hover {
    color: #FFFFFF;
}

.dc-dot {
    flex: none;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
}

/* ---------- Nagłówek ---------- */

.dc-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(29, 43, 53, .96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dc-header__bar {
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--line-dark);
}

.dc-header__logo {
    display: flex;
    align-items: center;
    flex: none;
}

.dc-header__logo img {
    height: clamp(26px, 2.3vw, 32px);
    width: auto;
}

.dc-header__producer {
    display: none;
    align-items: center;
    gap: 18px;
    flex: none;
}

.dc-header__producer img {
    height: 21px;
    width: auto;
}

.dc-header__sep {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, .22);
}

.dc-header__nav {
    display: none;
    gap: 4px;
    margin-left: auto;
}

.dc-header__nav a {
    position: relative;
    padding: 10px 16px;
    color: rgba(255, 255, 255, .86);
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
}

.dc-header__nav a::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 4px;
    height: 1px;
    background: var(--mint);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
}

.dc-header__nav a:hover {
    color: #FFFFFF;
}

.dc-header__nav a:hover::after {
    transform: scaleX(1);
}

.dc-header__phone {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 4px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.dc-header__phone .dc-icon {
    color: var(--mint);
}

.dc-header__phone:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.dc-header .dc-btn {
    --b-bg: var(--mint);
    --b-bg-h: #D9F2E6;
    --b-fg: var(--navy);
    --b-bd: var(--mint);
    --b-bd-h: #D9F2E6;
    --b-div: rgba(29, 43, 53, .2);
    --b-ico: var(--navy);
    --b-ico-bg-h: var(--navy);
    --b-ico-h: var(--mint);
}

/* Postęp czytania strony (skrypt ustawia --progress 0–1) i bieżąca sekcja w menu. */
.dc-header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background: var(--mint);
    transform: scaleX(var(--progress, 0));
    transform-origin: left;
    pointer-events: none;
}

.dc-header__nav a.is-active {
    color: #FFFFFF;
}

.dc-header__nav a.is-active::after {
    transform: scaleX(1);
}

.dc-header__cta,
.dc-header__cta-compact {
    display: none;
}

.dc-header__compact {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dc-header__icon-btn,
.dc-header__menu-btn {
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(194, 230, 213, .4);
    border-radius: 0;
    background: transparent;
    color: #FFFFFF;
}

.dc-header__icon-btn {
    width: 44px;
}

.dc-header__icon-btn:hover,
.dc-header__menu-btn:hover {
    color: #FFFFFF;
    border-color: var(--mint);
}

.dc-header__menu-btn {
    padding: 0 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.dc-header__menu-closed,
.dc-header__menu-open {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dc-header__menu-open,
.dc-header__menu-btn[aria-expanded="true"] .dc-header__menu-closed {
    display: none;
}

.dc-header__menu-btn[aria-expanded="true"] .dc-header__menu-open {
    display: inline-flex;
}

/* Najwęższe telefony (< 360 px): przycisk menu jako sama ikona (nazwa zostaje dla czytników). */
@media (max-width: 359px) {
    .dc-header__bar { gap: 12px; }
    .dc-header__menu-btn { padding: 0 11px; }
    .dc-header__menu-closed > span,
    .dc-header__menu-open > span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}

@media (min-width: 560px) {
    .dc-header__producer { display: flex; }
}

@media (min-width: 640px) {
    .dc-header__cta-compact { display: inline-flex; }
}

@media (min-width: 1080px) {
    .dc-header__nav { display: flex; }
    .dc-header__cta { display: inline-flex; margin-left: 8px; }
    .dc-header__compact { display: none; }
}

@media (min-width: 1280px) {
    .dc-header__phone { display: inline-flex; margin-left: 12px; }
}

/* ---------- Pierwszy ekran ----------
 * Telefon: nazwa i nagłówek → zdjęcie zestawu (jednostka mocy + trzy dystrybutory) → lead i przyciski → liczby.
 * Od 960 px: tekst w lewej kolumnie, zdjęcie po prawej do krawędzi okna, krawędzie wtopione w granat tła. */

.dc-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--navy);
    color: #FFFFFF;
}

.dc-hero__grid {
    display: grid;
    grid-template-areas: "head" "media" "body" "stats" "foot";
    padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 5vw, 56px);
}

.dc-hero__head { grid-area: head; }
.dc-hero__media { grid-area: media; }
.dc-hero__body { grid-area: body; }
.dc-hero__stats { grid-area: stats; }
.dc-hero__foot { grid-area: foot; }

.dc-hero__product {
    display: block;
    margin-bottom: clamp(18px, 2vw, 32px);
    font-family: var(--sans);
    font-size: 13.5px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--on-dark-2);
}

.dc-hero__promise {
    display: block;
    font-size: clamp(42px, 11.4vw, 64px);
    line-height: .98;
    font-weight: 600;
    letter-spacing: -.036em;
    color: #FFFFFF;
    text-wrap: balance;
}

.dc-hero__promise em {
    display: block;
    font-style: normal;
    color: var(--mint);
}

.dc-hero__media {
    position: relative;
    margin: 28px calc(-1 * var(--gut)) 0;
}

.dc-hero__media picture {
    display: block;
    overflow: hidden;
}

.dc-hero__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #0B1A1F;
}

/* Krawędzie zdjęcia przechodzą w granat tła (zdjęcie studyjne ma ciemne, turkusowe tło). */
.dc-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, var(--navy) 0, rgba(29, 43, 53, 0) 14%),
        linear-gradient(0deg, var(--navy) 0, rgba(29, 43, 53, 0) 22%);
}

.dc-hero__tag {
    position: absolute;
    z-index: 1;
    top: 14px;
    right: var(--gut);
    font-family: var(--sans);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--on-dark-2);
}

.dc-hero__lead {
    margin-top: 32px;
    max-width: 36em;
    font-size: clamp(18px, 1.45vw, 22px);
    line-height: 1.55;
    color: #D3E1E3;
    text-wrap: pretty;
}

.dc-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 14px;
    margin-top: 32px;
}

.dc-hero__partner {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    font-family: var(--sans);
    font-size: 12.5px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--on-dark-2);
}

.dc-hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
    margin-top: 44px;
    border-top: 1px solid var(--line-dark);
}

.dc-stat {
    padding: 20px 20px 4px 0;
}

.dc-stat + .dc-stat {
    padding-left: 20px;
    border-left: 1px solid var(--line-dark);
}

.dc-stat__value {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 6px;
    font-weight: 500;
    line-height: 1;
}

.dc-stat__pre {
    align-self: flex-start;
    margin-top: 4px;
    font-size: 16px;
    color: var(--on-dark-2);
}

.dc-stat__num {
    font-size: clamp(42px, 4.4vw, 68px);
    letter-spacing: -.035em;
}

.dc-stat__unit {
    font-size: clamp(18px, 1.6vw, 24px);
}

.dc-stat__ast {
    align-self: flex-start;
    font-size: 18px;
    color: var(--mint);
}

.dc-stat__label {
    margin-top: 10px;
    font-size: 14.5px;
    line-height: 1.45;
    color: var(--on-dark-2);
}

.dc-hero__foot {
    margin-top: 18px;
    max-width: 62em;
    font-size: 13px;
    line-height: 1.55;
    color: var(--on-dark-3);
}

/* Telefon: przyciski na całą szerokość, liczby w jednej kolumnie z linią. */
@media (max-width: 479px) {
    .dc-hero__actions .dc-btn {
        width: 100%;
    }
    .dc-stat + .dc-stat {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid var(--line-dark);
    }
}

@media (min-width: 760px) {
    .dc-hero__promise {
        font-size: clamp(56px, 8vw, 84px);
    }
    .dc-hero__img {
        aspect-ratio: 16 / 9;
    }
}

@media (min-width: 960px) {
    .dc-hero__grid {
        min-height: min(calc(100svh - var(--header-h)), 980px);
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        grid-template-rows: auto auto 1fr auto;
        grid-template-areas:
            "head media"
            "body media"
            "stats media"
            "foot media";
        column-gap: 48px;
        padding: clamp(44px, 4vw, 80px) 0 clamp(32px, 2.6vw, 48px);
    }
    .dc-hero__promise {
        font-size: clamp(64px, 5.5vw, 96px);
        max-width: 9.6em;
    }
    .dc-hero__lead {
        max-width: 28em;
    }
    .dc-hero__head,
    .dc-hero__body,
    .dc-hero__stats,
    .dc-hero__foot {
        position: relative;
        z-index: 1;
    }
    .dc-hero__stats {
        margin-top: 36px;
    }
    .dc-hero__stats {
        align-self: end;
        max-width: 760px;
        grid-template-columns: repeat(3, auto);
        justify-content: start;
    }
    .dc-stat {
        padding-right: clamp(24px, 2.4vw, 40px);
    }
    .dc-stat + .dc-stat {
        padding-left: clamp(24px, 2.4vw, 40px);
    }
    /* Zdjęcie poza siatką: od prawej krawędzi okna, wyśrodkowane w pionie, w całym kadrze (proporcje 3:2). */
    .dc-hero__media {
        position: absolute;
        z-index: 0;
        top: 50%;
        right: 0;
        width: min(56vw, 1040px);
        margin: 0;
        transform: translateY(-50%);
    }
    .dc-hero__img {
        aspect-ratio: auto;
        background: none;
    }
    .dc-hero__media::after {
        background:
            linear-gradient(90deg, var(--navy) 0, rgba(29, 43, 53, 0) 22%),
            linear-gradient(180deg, var(--navy) 0, rgba(29, 43, 53, 0) 16%),
            linear-gradient(0deg, var(--navy) 0, rgba(29, 43, 53, 0) 18%);
    }
    .dc-hero__tag {
        top: 0;
        right: var(--gut);
    }
}

/* Ruch pierwszego ekranu: treść wchodzi kaskadą, zdjęcie lekko się oddala. Treść i zdjęcie są widoczne
 * od pierwszego renderu. */
@media (prefers-reduced-motion: no-preference) {
    .dc-hero__product,
    .dc-hero__l1,
    .dc-hero__promise em,
    .dc-hero__lead,
    .dc-hero__actions,
    .dc-hero__partner,
    .dc-stat,
    .dc-hero__foot {
        animation: dc-rise .95s var(--ease) both;
    }
    .dc-hero__l1 { animation-delay: .08s; }
    .dc-hero__promise em { animation-delay: .2s; }
    .dc-hero__lead { animation-delay: .34s; }
    .dc-hero__actions { animation-delay: .44s; }
    .dc-hero__partner { animation-delay: .54s; }
    .dc-stat:nth-child(1) { animation-delay: .62s; }
    .dc-stat:nth-child(2) { animation-delay: .7s; }
    .dc-stat:nth-child(3) { animation-delay: .78s; }
    .dc-hero__foot { animation-delay: .86s; }
    .dc-hero__tag {
        animation: dc-fade 1s ease .75s both;
    }
    /* Tylko skala (bez przezroczystości), żeby nie opóźniać LCP. */
    .dc-hero__img {
        animation: dc-hero-photo 1.6s var(--ease) both;
    }
}

@keyframes dc-hero-photo {
    from { transform: scale(1.05); }
}

@keyframes dc-rise {
    from { opacity: 0; transform: translateY(24px); }
}

@keyframes dc-fade {
    from { opacity: 0; }
}

@keyframes dc-drop {
    from { opacity: 0; transform: translateY(-8px); }
}

@keyframes dc-pop {
    0% { opacity: 0; transform: scale(.6); }
    60% { opacity: 1; transform: scale(1.08); }
    100% { transform: none; }
}

@keyframes dc-menu {
    from { opacity: 0; clip-path: inset(0 0 100% 0); }
    to { opacity: 1; clip-path: inset(0); }
}

/* ---------- 01 Jak działa system ---------- */

.dc-arch {
    display: grid;
    gap: 32px;
    margin-top: clamp(48px, 6vw, 96px);
}

/* Render dystrybutora na miętowej płaszczyźnie (motyw planszy 01; zdjęcie całego zestawu jest w pierwszym ekranie). */
.dc-arch__figure {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(105deg, var(--mint) 0 64%, #B4DCC9 64% 100%);
}

.dc-arch__figure img {
    width: auto;
    height: 92%;
}

.dc-arch__tag {
    position: absolute;
    top: 16px;
    left: 20px;
    font-family: var(--sans);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--navy);
}

@media (min-width: 760px) {
    .dc-arch__figure { aspect-ratio: 3 / 2; }
}

@media (min-width: 960px) {
    .dc-arch {
        grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
        gap: clamp(48px, 6vw, 112px);
        align-items: center;
    }
}

.dc-glossary {
    border-top: 1px solid var(--line);
}

.dc-glossary__item {
    padding: 24px 0 26px;
    border-bottom: 1px solid var(--line);
}

.dc-glossary dt {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: clamp(21px, 1.7vw, 26px);
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -.012em;
    color: var(--ink);
}

.dc-glossary__n {
    width: 22px;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    color: var(--muted);
}

.dc-glossary dd {
    margin-top: 8px;
    padding-left: 36px;
    font-size: 16.5px;
    line-height: 1.55;
    color: var(--muted);
}

.dc-glyph {
    flex: none;
    display: inline-block;
}

.dc-glyph--unit {
    width: 20px;
    height: 26px;
    background: var(--navy);
}

.dc-glyph--disp {
    width: 10px;
    height: 26px;
    background: #FFFFFF;
    border: 1px solid #8FA6AA;
    border-top: 3px solid var(--green);
}

.dc-glyph--point {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--teal);
}

/* Przykład podziału mocy: pula → pasma (szerokość ∝ moc) → punkty, pary punktów na dystrybutorach. */

.dc-demo {
    margin-top: clamp(64px, 8vw, 128px);
}

.dc-demo__top {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px 32px;
}

.dc-demo__label {
    font-size: clamp(26px, 2.4vw, 38px);
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -.022em;
    color: var(--ink);
}

.dc-demo__pool {
    font-family: var(--sans);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

.dc-demo__pool strong {
    font-weight: 500;
    color: var(--ink);
}

/* Przełącznik klasy dystrybutorów: HPC (podział puli) / Ultra HPC (pełna pula na jeden punkt). */
.dc-demo__mode {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
    border: 1px solid var(--line-2);
}

.dc-demo__mode-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    min-height: 60px;
    padding: 11px 20px 12px;
    border: 0;
    background: transparent;
    font-family: var(--sans);
    text-align: left;
    color: var(--ink);
    cursor: pointer;
    transition: background-color .3s var(--ease), color .3s var(--ease);
}

.dc-demo__mode-btn + .dc-demo__mode-btn {
    border-left: 1px solid var(--line-2);
}

.dc-demo__mode-btn:hover {
    background: rgba(29, 43, 53, .06);
}

.dc-demo__mode-btn[aria-pressed="true"] {
    background: var(--navy);
    color: #FFFFFF;
}

.dc-demo__mode-name {
    font-size: 18px;
    line-height: 1.2;
    font-weight: 600;
}

.dc-demo__mode-sub {
    font-size: 11.5px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

.dc-demo__mode-btn[aria-pressed="true"] .dc-demo__mode-sub {
    color: var(--mint);
}

@media (min-width: 760px) {
    .dc-demo__mode {
        display: inline-grid;
        min-width: 520px;
    }
}

.dc-demo__tabs {
    display: grid;
    margin-top: 20px;
    border-bottom: 1px solid var(--line-2);
}

/* Ultra HPC: jedna sytuacja zamiast zakładek, wygląda jak wybrana zakładka. */
.dc-demo__solo {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 14px;
    min-height: 56px;
    margin-top: 20px;
    padding: 16px 16px 16px 0;
    border-bottom: 1px solid var(--line-2);
    font-family: var(--sans);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink);
}

.dc-demo__solo::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: min(100%, 33.333%);
    height: 3px;
    background: var(--navy);
    animation: dc-solo-bar .5s var(--ease) both;
}

@keyframes dc-solo-bar {
    from { transform: scaleX(0); transform-origin: left; }
}

@media (max-width: 759px) {
    .dc-demo__solo {
        padding-left: 18px;
    }
    .dc-demo__solo::after {
        top: 12px;
        bottom: 12px;
        width: 3px;
        height: auto;
        animation: none;
    }
}

.dc-demo__tab {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 14px;
    min-height: 56px;
    padding: 16px 16px 16px 0;
    border: 0;
    background: transparent;
    font-family: var(--sans);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-align: left;
    color: var(--muted);
    cursor: pointer;
    transition: color .25s ease;
}

.dc-demo__tab::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: var(--navy);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease);
}

.dc-demo__tab:hover,
.dc-demo__tab[aria-selected="true"] {
    color: var(--ink);
}

.dc-demo__tab[aria-selected="true"]::after {
    transform: scaleX(1);
}

.dc-demo__num {
    flex: none;
    color: var(--teal-d);
}

@media (max-width: 759px) {
    .dc-demo__tab + .dc-demo__tab {
        border-top: 1px solid var(--line);
    }
    .dc-demo__tab::after {
        left: 0;
        right: auto;
        top: 12px;
        bottom: 12px;
        width: 3px;
        height: auto;
        transform: scaleY(0);
        transform-origin: top;
    }
    .dc-demo__tab[aria-selected="true"]::after {
        transform: scaleY(1);
    }
    .dc-demo__tab {
        padding-left: 18px;
    }
}

@media (min-width: 760px) {
    .dc-demo__tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.dc-flow {
    display: grid;
    gap: 28px;
    margin-top: 32px;
}

.dc-flow__pool {
    position: relative;
    z-index: 1;
    padding: 24px;
    background: var(--navy);
    color: #FFFFFF;
}

.dc-flow__pool-label {
    font-family: var(--sans);
    font-size: 12.5px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--on-dark-2);
}

.dc-flow__total {
    margin-top: 10px;
    font-size: clamp(64px, 6.6vw, 104px);
    line-height: .95;
    font-weight: 500;
    letter-spacing: -.04em;
    color: var(--mint);
}

.dc-flow__total > span:not([data-count]) {
    font-size: .36em;
    letter-spacing: 0;
}

.dc-flow__slots {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 3px;
    margin-top: 22px;
}

.dc-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    background: var(--slot);
    color: var(--slot-fg, #1D2B35);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    transition: background-color .5s var(--ease), color .5s var(--ease), transform .5s var(--ease) calc(var(--i, 0) * 90ms + var(--d, 0ms) + 350ms);
}

.dc-slot.is-moved {
    animation: dc-slot-flash 1.1s ease-out;
}

@keyframes dc-slot-flash {
    0%, 30% { box-shadow: inset 0 0 0 2px #FFFFFF; }
    100% { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
}

.dc-flow__slots-note {
    margin-top: 8px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 11.5px;
    letter-spacing: .1em;
    color: var(--on-dark-3);
}

.dc-flow__unit {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--line-dark);
    font-size: 17px;
    line-height: 1.35;
    font-weight: 500;
}

.dc-flow__unit span {
    display: block;
    margin-top: 2px;
    font-size: 14.5px;
    font-weight: 400;
    color: var(--on-dark-2);
}

.dc-flow__bands {
    display: none;
}

.dc-band {
    fill: none;
    stroke-linecap: butt;
    vector-effect: non-scaling-stroke;
}

.dc-band.is-off {
    stroke: #8FA0A4;
    stroke-dasharray: 5 6;
}

.dc-disp {
    position: relative;
}

.dc-disp + .dc-disp {
    margin-top: 28px;
}

.dc-disp__name {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line-2);
    font-family: var(--sans);
    font-size: 12.5px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

.dc-disp__flow {
    color: var(--ink);
}

.dc-pt {
    --t: 24px;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    grid-template-areas: "name state" "kw state" "bar bar";
    column-gap: 20px;
    align-items: center;
    padding: 16px 0 18px;
    border-bottom: 1px solid var(--line);
}

.dc-pt__name {
    grid-area: name;
    font-family: var(--sans);
    font-size: 12.5px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

.dc-pt__kw {
    grid-area: kw;
    font-weight: 500;
    line-height: 1;
    color: var(--ink);
    white-space: nowrap;
}

.dc-pt__num {
    font-size: clamp(40px, 4.2vw, 64px);
    letter-spacing: -.035em;
}

.dc-pt__unit {
    font-size: clamp(16px, 1.4vw, 21px);
}

.dc-pt.is-off .dc-pt__kw {
    color: #8FA0A4;
}

.dc-pt__state {
    grid-area: state;
}

.dc-pt__status {
    font-size: clamp(16px, 1.3vw, 19px);
    line-height: 1.35;
    font-weight: 500;
    color: var(--ink);
}

.dc-pt__status::first-letter {
    text-transform: uppercase;
}

.dc-pt.is-off .dc-pt__status {
    color: var(--muted);
}

.dc-pt__delta {
    margin-top: 2px;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
    color: #8C3B1F;
}

.dc-pt__delta.is-up {
    color: #2E7D55;
}

.dc-pt__delta:empty {
    display: none;
}

.dc-pt__bar {
    grid-area: bar;
    display: block;
    height: 8px;
    margin-top: 14px;
    background: rgba(29, 43, 53, .07);
}

.dc-pt__bar span {
    display: block;
    height: 100%;
    background: var(--pt);
    transition: width .7s var(--ease);
}

.dc-pt__knob {
    display: none;
}

/* Desktop: pasma SVG między pulą a punktami. Wysokość obszaru stała (4 × 126 px), bo geometria pasm liczy się
 * w tych samych pikselach (viewBox 1000 × 504, preserveAspectRatio="none", grubość linii bez skalowania). */
@media (min-width: 960px) {
    .dc-flow {
        grid-template-columns: minmax(260px, 300px) minmax(80px, 1fr) minmax(400px, 470px);
        gap: 0;
        align-items: center;
        margin-top: 48px;
    }
    .dc-flow__pool {
        padding: 28px 28px 26px;
    }
    .dc-flow__bands {
        display: block;
        width: 100%;
        height: 504px;
        overflow: visible;
    }
    .dc-flow__points {
        position: relative;
        height: 504px;
    }
    .dc-disp {
        height: 252px;
        padding-right: 48px;
    }
    .dc-disp + .dc-disp {
        margin-top: 0;
    }
    .dc-disp::after {
        content: "";
        position: absolute;
        top: 18px;
        bottom: 18px;
        right: 18px;
        width: 10px;
        border: 1px solid var(--line-2);
        border-left: 0;
    }
    .dc-disp__name {
        position: absolute;
        top: 50%;
        right: -6px;
        padding: 0;
        border: 0;
        writing-mode: vertical-rl;
        transform: translateY(-50%) rotate(180deg);
        font-size: 11px;
        white-space: nowrap;
    }
    .dc-pt {
        height: 126px;
        padding: 0 0 0 72px; /* miejsce na zaokrąglony koniec pasma 480 kW (60 px) */
        border: 0;
        grid-template-areas: "name state" "kw state";
        align-content: center;
        row-gap: 4px;
    }
    .dc-pt__bar {
        display: none;
    }
    .dc-pt__knob {
        display: block;
        position: absolute;
        left: 0;
        top: 50%;
        width: calc(var(--t) / 2);
        height: var(--t);
        margin-top: calc(var(--t) / -2);
        border-radius: 0 999px 999px 0;
        background: var(--pt);
    }
    .dc-pt__knob::after {
        content: "";
        position: absolute;
        left: -4px;
        top: 50%;
        width: 9px;
        height: 9px;
        margin-top: -4.5px;
        border-radius: 50%;
        background: #FFFFFF;
    }
    .dc-pt.is-off .dc-pt__knob {
        left: -7px;
        width: 14px;
        height: 14px;
        margin-top: -7px;
        border: 1.5px solid #8FA0A4;
        border-radius: 50%;
        background: var(--light);
    }
    .dc-pt.is-off .dc-pt__knob::after {
        display: none;
    }
}

.dc-demo__summary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px 48px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--line-2);
}

.dc-demo__text {
    flex: 1 1 420px;
    max-width: 44em;
    font-size: clamp(18px, 1.5vw, 23px);
    line-height: 1.45;
    font-weight: 500;
    color: var(--ink);
    text-wrap: pretty;
}

.dc-demo__sum {
    font-family: var(--sans);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

.dc-demo__sum strong {
    font-weight: 500;
    color: var(--ink);
}

.dc-demo__note {
    margin-top: 14px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--muted);
}

.dc-demo__note strong {
    color: var(--ink);
}

.dc-system-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 40px;
    margin-top: clamp(48px, 6vw, 80px);
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.dc-system-cta p {
    flex: 1 1 420px;
    max-width: 40em;
    font-size: clamp(18px, 1.5vw, 22px);
    line-height: 1.45;
    color: var(--ink);
}

/* ---------- 02 Konfiguracje ---------- */

.dc-configs {
    display: grid;
    margin-top: clamp(48px, 6vw, 96px);
    border-top: 1px solid var(--line-2);
}

.dc-config {
    display: flex;
    flex-direction: column;
    padding: 32px 0 36px;
    border-bottom: 1px solid var(--line);
}

@media (min-width: 760px) and (max-width: 1099px) {
    .dc-configs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 40px;
    }
    .dc-config:last-child {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1100px) {
    .dc-configs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .dc-config {
        padding: 40px clamp(28px, 3vw, 48px) 44px;
        border-bottom: 0;
        border-left: 1px solid var(--line);
    }
    .dc-config:first-child {
        padding-left: 0;
        border-left: 0;
    }
    .dc-config:last-child {
        padding-right: 0;
    }
}

.dc-ideo {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 18px;
    height: 136px;
    padding: 0 18px 26px;
    background: var(--light);
}

.dc-ideo__ground {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 26px;
    height: 1px;
    background: var(--line-2);
}

.dc-ideo__ground--full {
    left: 0;
    right: 0;
    bottom: 0;
}

.dc-ideo__unit {
    position: relative;
    width: 30px;
    height: 60px;
    background: var(--navy);
}

/* Przewód od jednostki do grupy dystrybutorów. */
.dc-ideo__unit::after {
    content: "";
    position: absolute;
    left: 100%;
    bottom: -1px;
    width: 18px;
    height: 2px;
    background: var(--teal);
}

.dc-ideo__group {
    position: relative;
    display: flex;
    gap: 9px;
    align-items: flex-end;
}

.dc-ideo__group::before {
    content: "";
    position: absolute;
    left: -1px;
    right: 6px;
    bottom: -1px;
    height: 2px;
    background: var(--teal);
}

.dc-ideo__group--tight {
    gap: 5px;
}

.dc-ideo__slot {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2px;
}

.dc-ideo__dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--teal-d);
}

.dc-ideo__dot--none {
    background: transparent;
}

.dc-ideo__disp {
    position: relative;
    width: 12px;
    height: 46px;
    background: #FFFFFF;
    border: 1px solid #8FA6AA;
    border-top: 3px solid var(--green);
}

.dc-ideo__disp--uhpc {
    height: 52px;
    background: var(--teal);
    border-color: var(--teal);
    border-top-color: var(--green);
}

.dc-ideo__disp--planned {
    background: transparent;
    border: 1px dashed #6F8C94;
}

.dc-ideo__legend {
    position: absolute;
    left: 16px;
    top: 14px;
    display: flex;
    gap: 14px;
    font-family: var(--sans);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .1em;
    color: var(--muted);
}

.dc-ideo__legend > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dc-ideo__key {
    width: 9px;
    height: 9px;
    background: #FFFFFF;
    border: 1px solid #8FA6AA;
}

.dc-ideo__key--uhpc {
    background: var(--teal);
    border-color: var(--teal);
}

.dc-config__tag {
    margin-top: 28px;
    font-family: var(--sans);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--teal-d);
}

.dc-config__title {
    margin-top: 10px;
    font-size: clamp(34px, 3.2vw, 50px);
    line-height: 1;
    font-weight: 500;
    letter-spacing: -.034em;
    color: var(--ink);
}

.dc-config__sub {
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 600;
    color: var(--ink);
}

.dc-config__text {
    margin-top: 10px;
    font-size: 16.5px;
    line-height: 1.6;
    color: var(--muted);
}

.dc-config__cta {
    margin-top: auto;
    padding-top: 22px;
}

.dc-configs__note {
    margin-top: 20px;
    font-family: var(--sans);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--teal-d);
}

.dc-stages {
    display: grid;
    gap: 32px;
    margin-top: clamp(48px, 6vw, 88px);
    padding: clamp(28px, 4vw, 56px);
    background: var(--mint-2);
}

@media (min-width: 960px) {
    .dc-stages {
        grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
        gap: clamp(40px, 5vw, 96px);
        align-items: center;
    }
}

.dc-stages .dc-lead {
    color: #4F6266;
}

.dc-stages__visual {
    padding: 28px 24px 18px;
    background: #FFFFFF;
}

.dc-stages__scene {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 22px;
    height: 92px;
}


.dc-stages__next::before {
    background: repeating-linear-gradient(90deg, #6F8C94 0 4px, transparent 4px 8px) !important;
}

.dc-stages__labels {
    display: flex;
    justify-content: center;
    gap: 36px;
    margin-top: 14px;
    font-family: var(--sans);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------- 03 Zastosowania ---------- */

.dc-apps__figure {
    margin-top: clamp(40px, 5vw, 72px);
}

.dc-apps__figure img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: 50% 35%;
}

@media (min-width: 760px) {
    .dc-apps__figure img { aspect-ratio: 16 / 7; }
}

.dc-apps__figure figcaption {
    margin-top: 14px;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--on-dark-3);
}

.dc-apps--tabs {
    display: none;
}

.dc-apps--accordion {
    margin-top: 36px;
    border-top: 1px solid var(--line-dark);
}

@media (min-width: 960px) {
    .dc-apps--tabs {
        display: grid;
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        gap: clamp(32px, 5vw, 80px);
        align-items: stretch;
        margin-top: clamp(48px, 5vw, 80px);
    }
    .dc-apps--accordion { display: none; }
}

.dc-apps__list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line-dark);
}

.dc-apps__tab {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 84px;
    padding: 18px 0;
    border: 0;
    border-bottom: 1px solid var(--line-dark);
    background: transparent;
    color: var(--on-dark-3);
    font-size: clamp(20px, 1.8vw, 27px);
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -.012em;
    text-align: left;
    cursor: pointer;
    transition: color .25s ease;
}

.dc-apps__tab::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    height: 2px;
    background: var(--mint);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease);
}

.dc-apps__tab:hover,
.dc-apps__tab[aria-selected="true"] {
    color: #FFFFFF;
}

.dc-apps__tab[aria-selected="true"]::before {
    transform: scaleX(1);
}

.dc-apps__num {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    color: var(--on-dark-3);
}

.dc-apps__tab[aria-selected="true"] .dc-apps__num {
    color: var(--mint);
}

.dc-apps__arrow {
    color: var(--mint);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .3s ease, transform .4s var(--ease);
}

.dc-apps__tab[aria-selected="true"] .dc-apps__arrow {
    opacity: 1;
    transform: none;
}

.dc-apps__panels {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(32px, 4vw, 64px);
    background: var(--navy-2);
}

.dc-apps__panel-n {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    color: var(--on-dark-3);
}

.dc-apps__title {
    margin-top: 18px;
    font-size: clamp(30px, 3.2vw, 48px);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -.028em;
    color: #FFFFFF;
}

.dc-apps__text {
    margin-top: 18px;
    max-width: 34em;
    font-size: clamp(17px, 1.45vw, 21px);
    line-height: 1.6;
    color: var(--on-dark-2);
    text-wrap: pretty;
}

/* ---------- Akordeony (zastosowania na telefonie, FAQ) ---------- */

.dc-acc {
    border-bottom: 1px solid var(--line-2);
}

.dc-acc--dark {
    border-bottom-color: var(--line-dark);
}

.dc-acc__btn {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 32px;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 68px;
    padding: 16px 0;
    border: 0;
    background: transparent;
    color: #FFFFFF;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}

.dc-acc__n {
    font-family: var(--sans);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .12em;
    color: var(--on-dark-3);
}

.dc-acc__btn--faq {
    min-height: 76px;
    padding: 20px 0;
    color: var(--ink);
    font-size: clamp(18px, 1.5vw, 22px);
    line-height: 1.35;
    transition: color .2s ease;
}

.dc-acc__btn--faq .dc-acc__n {
    color: var(--teal-d);
}

.dc-acc__btn--faq:hover {
    color: var(--teal-d);
}

.dc-acc__panel {
    padding: 0 0 28px 52px;
}

.dc-acc__panel p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--on-dark-2);
}

.dc-acc__panel--faq {
    padding: 0 40px 28px 52px;
}

.dc-acc__panel--faq p {
    max-width: 44em;
    line-height: 1.65;
    color: var(--muted);
}

@media (max-width: 479px) {
    .dc-acc__btn {
        grid-template-columns: 36px minmax(0, 1fr) 32px;
    }
    .dc-acc__panel,
    .dc-acc__panel--faq {
        padding-left: 0;
        padding-right: 0;
    }
}

.dc-plus {
    position: relative;
    justify-self: end;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(194, 230, 213, .45);
    transition: background-color .25s ease, border-color .25s ease;
}

.dc-plus::before,
.dc-plus::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: #FFFFFF;
}

.dc-plus::before {
    width: 12px;
    height: 1.5px;
    margin: -.75px 0 0 -6px;
}

.dc-plus::after {
    width: 1.5px;
    height: 12px;
    margin: -6px 0 0 -.75px;
    transition: transform .3s var(--ease);
}

[aria-expanded="true"] > .dc-plus::after {
    transform: scaleY(0);
}

.dc-acc__btn--faq .dc-plus,
.dc-plus--form {
    border-color: var(--line-2);
}

.dc-acc__btn--faq .dc-plus::before,
.dc-acc__btn--faq .dc-plus::after,
.dc-plus--form::before,
.dc-plus--form::after {
    background: var(--ink);
}

.dc-acc__btn--faq[aria-expanded="true"] .dc-plus {
    background: var(--navy);
    border-color: var(--navy);
}

.dc-acc__btn--faq[aria-expanded="true"] .dc-plus::before {
    background: #FFFFFF;
}

/* ---------- 04 Serwis ---------- */

.dc-service {
    display: grid;
    gap: 40px;
}

@media (min-width: 960px) {
    .dc-service {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
        grid-template-areas: "body figure" "steps figure";
        grid-template-rows: auto 1fr;
        column-gap: clamp(48px, 6vw, 112px);
        row-gap: 48px;
    }
    .dc-service__body { grid-area: body; }
    .dc-service__figure { grid-area: figure; }
    .dc-steps { grid-area: steps; align-self: end; }
}

.dc-service__figure img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

@media (min-width: 960px) {
    .dc-service__figure img { aspect-ratio: auto; min-height: 560px; }
}

.dc-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line-2);
}

.dc-steps li {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 22px 0 24px;
    border-bottom: 1px solid var(--line);
}

.dc-steps__num {
    padding-top: 6px;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    color: var(--teal-d);
}

.dc-steps h3 {
    font-size: clamp(20px, 1.6vw, 24px);
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: -.01em;
    color: var(--ink);
}

.dc-steps p {
    margin-top: 6px;
    font-size: 16.5px;
    line-height: 1.55;
    color: var(--muted);
}

.dc-uptime {
    display: grid;
    margin-top: clamp(64px, 8vw, 128px);
    background: var(--navy);
}

@media (min-width: 960px) {
    .dc-uptime {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    }
}

.dc-uptime__media img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 50% 30%;
}

@media (min-width: 960px) {
    .dc-uptime__media img { aspect-ratio: auto; min-height: 600px; }
}

.dc-uptime__body {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(32px, 5.5vw, 96px);
    overflow: hidden;
}

/* Pas mięty przy krawędzi bloku: ta sama geometria co płaszczyzna w pierwszym ekranie. */
.dc-uptime__body::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 22%;
    height: 34%;
    background: var(--mint);
    clip-path: polygon(70% 0, 100% 0, 100% 100%, 0 100%);
    opacity: .9;
}

.dc-uptime__body > * {
    position: relative;
    z-index: 1;
}

.dc-uptime__title {
    margin-top: 18px;
    max-width: 11em;
    font-size: clamp(36px, 4.4vw, 68px);
    line-height: 1;
    font-weight: 500;
    letter-spacing: -.034em;
    color: #FFFFFF;
    text-wrap: balance;
}

.dc-uptime__note {
    margin-top: 22px;
    max-width: 34em;
    padding-left: 14px;
    border-left: 2px solid var(--green);
    font-size: 15px;
    line-height: 1.55;
    color: var(--on-dark-2);
}

@media (max-width: 959px) {
    .dc-uptime__body::after { display: none; }
}

/* ---------- 05 Dystrybutor z bliska ---------- */

.dc-product {
    display: grid;
    gap: 48px;
}

@media (min-width: 760px) and (max-width: 1199px) {
    .dc-product {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas: "body body" "figure features";
        align-items: center;
    }
    .dc-product__body { grid-area: body; }
    .dc-product__figure { grid-area: figure; }
    .dc-features { grid-area: features; }
}

@media (min-width: 1200px) {
    .dc-product {
        grid-template-columns: minmax(0, 4.4fr) minmax(0, 3.6fr) minmax(0, 3.2fr);
        column-gap: clamp(32px, 3.4vw, 64px);
        align-items: center;
    }
}

.dc-product .dc-h2 {
    font-size: clamp(34px, 3.8vw, 60px);
}

.dc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
}

.dc-chips li {
    padding: 8px 12px;
    border: 1px solid var(--line-2);
    font-family: var(--sans);
    font-size: 12.5px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink);
}

.dc-product__figure {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 8px;
}

.dc-product__ghost {
    position: absolute;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -50%);
    font-size: clamp(180px, 22vw, 380px);
    line-height: 1;
    font-weight: 500;
    letter-spacing: -.05em;
    color: var(--mint-3);
    user-select: none;
    pointer-events: none;
}

.dc-product__stage {
    position: relative;
}

.dc-product__stage img {
    width: auto;
    height: clamp(380px, 46vw, 640px);
}

.dc-marker {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: -14px 0 0 -14px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--mint);
    font-family: var(--sans);
    font-size: 12.5px;
    font-weight: 600;
    box-shadow: 0 0 0 4px rgba(220, 234, 226, .85);
}

.dc-marker--1 { left: 49.7%; top: 46%; }
.dc-marker--2 { left: 9.9%; top: 55.4%; }

.dc-marker--inline {
    position: static;
    margin: 0;
    width: 24px;
    height: 24px;
    font-size: 11px;
    box-shadow: none;
}

/* Wymiar obudowy (bez przewodów): 600 mm. Proporcje z renderu frontowego. */
.dc-dim {
    position: relative;
    width: calc(clamp(380px, 46vw, 640px) * 433 / 974 * .651);
    margin-top: 18px;
}

.dc-dim__line {
    display: block;
    height: 14px;
    border: 1px solid var(--ink);
    border-top: 0;
    border-bottom: 0;
    background: linear-gradient(var(--ink), var(--ink)) 0 50% / 100% 1px no-repeat;
}

.dc-dim__label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    font-family: var(--sans);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .1em;
    color: var(--ink);
}

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

@media (min-width: 1200px) {
    .dc-features {
        padding-left: clamp(28px, 3vw, 48px);
        border-left: 1px solid var(--line-2);
    }
}

.dc-features li {
    padding: 22px 0 24px;
    border-bottom: 1px solid var(--line-2);
}

.dc-features li:first-child {
    padding-top: 0;
}

.dc-features li:last-child {
    border-bottom: 0;
}

.dc-features__k {
    font-family: var(--sans);
    font-size: 12.5px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #4F6266;
}

.dc-features__k span {
    color: var(--ink);
}

.dc-features h3 {
    margin-top: 8px;
}

.dc-features__v {
    display: block;
    font-size: clamp(44px, 4.4vw, 72px);
    line-height: 1;
    font-weight: 500;
    letter-spacing: -.04em;
    color: var(--ink);
    white-space: nowrap;
}

.dc-features__v small {
    font-size: .36em;
    letter-spacing: 0;
}

.dc-features li > p:last-child {
    margin-top: 10px;
    font-size: 16.5px;
    line-height: 1.5;
    color: #4F6266;
}

/* ---------- 06 Realizacja ---------- */

.dc-process {
    list-style: none;
    margin: clamp(48px, 6vw, 96px) 0 0;
    padding: 0;
    display: grid;
}

.dc-process li {
    position: relative;
    padding: 0 0 36px 32px;
    border-left: 1px solid rgba(77, 144, 155, .55);
}

.dc-process li:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
}

.dc-process li::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 4px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 4px var(--navy);
}

.dc-process li:first-child::before {
    background: var(--mint);
}

@media (min-width: 960px) {
    .dc-process {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        column-gap: clamp(24px, 3vw, 48px);
    }
    .dc-process li {
        padding: 36px 0 0;
        border-left: 0;
        border-top: 1px solid rgba(77, 144, 155, .55);
    }
    .dc-process li:last-child {
        border-left: 0;
    }
    .dc-process li::before {
        left: 0;
        top: -5px;
    }
}

.dc-process__step {
    font-family: var(--sans);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--mint);
}

.dc-process h3 {
    margin-top: 10px;
    font-size: clamp(22px, 1.9vw, 28px);
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -.016em;
    color: #FFFFFF;
}

.dc-process li > p:last-child {
    margin-top: 10px;
    font-size: 16.5px;
    line-height: 1.55;
    color: var(--on-dark-2);
}

.dc-process__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 32px;
    margin-top: clamp(48px, 6vw, 88px);
}

.dc-text-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: #FFFFFF;
    font-size: 19px;
    font-weight: 600;
    text-decoration: none;
}

.dc-text-phone .dc-icon {
    color: var(--mint);
}

.dc-dark .dc-text-phone:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* ---------- 07 Parametry ---------- */

@media (min-width: 960px) {
    .dc-head--param {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

.dc-datasheet {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 28px;
}

.dc-datasheet__info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dc-datasheet__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 56px;
    height: 56px;
    background: var(--light);
    color: var(--teal-d);
}

.dc-datasheet__title {
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
    color: var(--ink);
}

.dc-datasheet__meta {
    margin-top: 2px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: .06em;
    color: var(--muted);
}

.dc-params {
    display: grid;
    gap: 40px;
    margin-top: clamp(40px, 5vw, 72px);
}

@media (min-width: 960px) {
    .dc-params {
        grid-template-columns: minmax(0, 8fr) minmax(0, 3fr);
        gap: clamp(48px, 6vw, 112px);
        align-items: start;
    }
}

.dc-params__table dl {
    border-top: 1px solid var(--line-2);
}

.dc-params__table dl > div {
    display: grid;
    gap: 4px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

@media (min-width: 600px) {
    .dc-params__table dl > div {
        grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
        gap: 24px;
        align-items: baseline;
        padding: 18px 0;
    }
}

.dc-params__table dt {
    font-family: var(--sans);
    font-size: 12.5px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

.dc-params__table dd {
    font-size: 18px;
    line-height: 1.45;
    font-weight: 500;
    color: var(--ink);
}

.dc-params__figure {
    display: none;
}

@media (min-width: 960px) {
    .dc-params__figure {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: sticky;
        top: calc(var(--header-h) + 32px);
    }
}

.dc-params__figure img {
    width: auto;
    max-height: 560px;
    mix-blend-mode: multiply;
}

.dc-params__figure figcaption {
    margin-top: 16px;
    max-width: 22em;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
    text-align: center;
}

/* ---------- 08 FAQ ---------- */

.dc-faq {
    display: grid;
    gap: 40px;
}

@media (min-width: 960px) {
    .dc-faq {
        grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
        gap: clamp(48px, 6vw, 112px);
        align-items: start;
    }
    .dc-faq__intro {
        position: sticky;
        top: calc(var(--header-h) + 40px);
    }
}

.dc-faq__list {
    border-top: 1px solid var(--line-2);
}

.dc-inline-link {
    color: var(--teal-d);
    font-weight: 600;
    white-space: nowrap;
}

/* ---------- 09 Kontakt ---------- */

.dc-contact {
    display: grid;
    gap: 48px;
}

@media (min-width: 1080px) {
    .dc-contact {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        gap: clamp(48px, 6vw, 112px);
        align-items: start;
    }
}

.dc-person {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 36px;
    padding: 22px 0;
    border-top: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
}

.dc-person__photo {
    flex: none;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--mint);
    object-fit: cover;
}

.dc-person__body {
    min-width: 0;
}

.dc-person__label {
    font-family: var(--sans);
    font-size: 12px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--on-dark-2);
}

.dc-person__name {
    margin-top: 2px;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 500;
    color: #FFFFFF;
}

.dc-person__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 4px;
}

.dc-person__links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    color: #FFFFFF;
    font-size: 15.5px;
    font-weight: 500;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.dc-person__links a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.dc-person__links .dc-icon {
    color: var(--mint);
}

.dc-contact__office {
    margin-top: 32px;
    font-family: var(--sans);
    font-size: 12.5px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--on-dark-2);
}

.dc-contact__cards {
    display: grid;
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    border-top: 1px solid var(--line-dark);
}

.dc-contact__card {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 68px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-dark);
    color: #FFFFFF;
    text-decoration: none;
}

.dc-contact__card .dc-icon {
    color: var(--mint);
}

.dc-contact__card:hover {
    color: #FFFFFF;
}

.dc-contact__card:hover .dc-contact__v {
    text-decoration: underline;
}

.dc-contact__k {
    display: block;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--on-dark-3);
}

.dc-contact__v {
    display: block;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 500;
}

.dc-contact__h3 {
    margin-top: 36px;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 600;
    color: #FFFFFF;
}

.dc-contact__list {
    margin: 10px 0 0;
    padding: 0 0 0 20px;
    font-size: 16.5px;
    line-height: 1.75;
    color: var(--on-dark-2);
}

.dc-contact__list li::marker {
    color: var(--mint);
}

.dc-contact__hint {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--on-dark-3);
}

/* ---------- Formularz ---------- */

.dc-formbox {
    --focus: #2E6B75;
    min-width: 0;
    padding: clamp(24px, 4vw, 56px);
    background: #FFFFFF;
    color: var(--ink);
}

.dc-success {
    padding: 12px 0;
    outline: none;
}

.dc-success__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--mint);
}

.dc-success__icon span {
    width: 12px;
    height: 22px;
    border-right: 3px solid var(--navy);
    border-bottom: 3px solid var(--navy);
    transform: translateY(-2px) rotate(45deg);
}

.dc-success__title {
    margin-top: 24px;
    font-size: clamp(28px, 2.6vw, 40px);
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -.024em;
    color: var(--ink);
}

.dc-success__text {
    margin-top: 12px;
    max-width: 36em;
    font-size: 17px;
    line-height: 1.62;
    color: var(--muted);
}

.dc-form__title {
    font-size: clamp(26px, 2.2vw, 34px);
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: -.02em;
    color: var(--ink);
}

.dc-form__req {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
}

.dc-ctx {
    margin-top: 20px;
    padding: 14px 16px 6px;
    background: var(--mint-2);
}

.dc-ctx__title {
    font-family: var(--sans);
    font-size: 12px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink);
}

.dc-ctx__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.dc-ctx__list li {
    padding: 5px 10px;
    background: #FFFFFF;
    font-size: 14.5px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--ink);
}

.dc-ctx__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
    margin-top: 2px;
}

.dc-form .dc-textbtn {
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    color: var(--teal-d);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.dc-alert {
    margin-top: 18px;
    padding: 14px 16px;
    border-left: 3px solid #B42318;
    background: #FDF3F2;
}

.dc-alert--summary {
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
    color: #8C1D13;
}

.dc-alert__title {
    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;
    color: #8C1D13;
}

.dc-alert__text {
    margin-top: 4px;
    font-size: 15px;
    line-height: 1.55;
    color: #3A4652;
}

.dc-alert a,
.dc-form__privacy a {
    color: var(--teal-d);
    font-weight: 600;
}

.dc-form__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 20px 20px;
    margin-top: 28px;
}

.dc-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.dc-field--full {
    grid-column: 1 / -1;
}

.dc-label {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--ink);
}

.dc-req {
    color: #B42318;
}

.dc-opt {
    font-weight: 400;
    color: var(--muted);
}

.dc-help {
    font-size: 14px;
    line-height: 1.45;
    color: var(--muted);
}

.dc-form .dc-input {
    width: 100%;
    height: 52px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #6F8C94;
    border-radius: 0;
    background: #FFFFFF;
    box-shadow: none;
    font-family: inherit;
    font-size: 16.5px;
    color: var(--ink);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.dc-form .dc-input:hover {
    border-color: var(--ink);
}

.dc-form .dc-input:focus-visible {
    outline: none;
    border-color: var(--teal-d);
    box-shadow: 0 0 0 3px rgba(46, 107, 117, .28);
}

.dc-form .dc-input[aria-invalid="true"] {
    border-color: #B42318;
}

.dc-form .dc-input[aria-invalid="true"]:focus-visible {
    box-shadow: 0 0 0 3px rgba(180, 35, 24, .22);
}

.dc-form .dc-input:disabled {
    background: var(--light);
}

.dc-form .dc-textarea {
    height: auto;
    min-height: 120px;
    padding: 12px 14px;
    line-height: 1.5;
    resize: vertical;
}

.dc-form .dc-input--narrow {
    max-width: 420px;
}

.dc-select {
    position: relative;
}

.dc-select--narrow {
    max-width: 420px;
}

.dc-form .dc-select select {
    padding-right: 48px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.dc-select::after {
    content: "";
    position: absolute;
    right: 19px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid var(--ink);
    border-bottom: 1.5px solid var(--ink);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
    transition: transform .2s ease;
}

/* Własna lista wyboru (JS: enhanceSelect). Bez JS zostaje natywny select ze strzałką powyżej. */
.dc-form .dc-select__combo {
    display: block;
    padding-right: 48px;
    line-height: 50px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.dc-form .dc-select__combo.is-placeholder {
    color: var(--muted);
}

.dc-form .dc-select__combo:hover,
.dc-select.is-open .dc-select__combo {
    border-color: var(--ink);
}

.dc-select.is-open::after {
    transform: translateY(-30%) rotate(-135deg);
}

.dc-select__list {
    position: absolute;
    z-index: 30;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 304px;
    margin: 0;
    padding: 6px;
    overflow-y: auto;
    overscroll-behavior: contain;
    list-style: none;
    background: #FFFFFF;
    border: 1px solid var(--ink);
    box-shadow: 0 18px 40px rgba(29, 43, 53, .18);
}

.dc-select--up .dc-select__list {
    top: auto;
    bottom: calc(100% + 4px);
}

.dc-select__opt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    font-size: 16px;
    line-height: 1.35;
    color: var(--ink);
    cursor: pointer;
}

.dc-select__opt--empty {
    color: var(--muted);
}

.dc-select__opt:hover {
    background: var(--light);
}

.dc-select__opt.is-active {
    background: var(--mint-2);
    box-shadow: inset 3px 0 0 var(--teal-d);
}

.dc-select__opt[aria-selected="true"] {
    font-weight: 700;
}

.dc-select__opt[aria-selected="true"]::after {
    content: "";
    flex: none;
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.3 2.3 4.7-5' fill='none' stroke='%232E6B75' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

@media (forced-colors: active) {
    .dc-select__opt.is-active {
        outline: 2px solid Highlight;
        outline-offset: -2px;
    }
}

.dc-err {
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
    color: #B42318;
}

.dc-details {
    margin-top: 28px;
    border-top: 1px solid var(--line-2);
    border-bottom: 1px solid var(--line-2);
}

.dc-form .dc-details__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 64px;
    padding: 12px 0;
    border: 0;
    background: transparent;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 600;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
}

.dc-details__panel {
    padding: 4px 0 26px;
}

.dc-details__grid {
    display: grid;
    gap: 24px;
}

.dc-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.dc-fieldset legend {
    padding: 0;
    margin-bottom: 8px;
}

.dc-chips-input {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dc-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid #A9BDC2;
    background: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}

.dc-chip:hover {
    border-color: var(--ink);
}

.dc-chip:has(input:checked) {
    border-color: var(--teal-d);
    background: var(--mint-2);
}

/* Własne radio i checkboxy: natywne pole z appearance: none (klawiatura, czytniki ekranu i formularz bez zmian). */
.dc-form .dc-chip input,
.dc-form .dc-check input {
    flex: none;
    width: 20px;
    height: 20px;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    border: 1.5px solid #6F8C94;
    background: #FFFFFF no-repeat center / 12px 12px;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.dc-form .dc-chip input {
    border-radius: 50%;
}

.dc-form .dc-check input {
    border-radius: 0;
}

.dc-form .dc-chip:hover input:not(:checked),
.dc-form .dc-check:hover input:not(:checked) {
    border-color: var(--teal-d);
}

.dc-form .dc-chip input:checked {
    border-color: var(--teal-d);
    background-color: var(--teal-d);
    box-shadow: inset 0 0 0 3px #FFFFFF;
}

.dc-form .dc-check input:checked {
    border-color: var(--teal-d);
    background-color: var(--teal-d);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.dc-form .dc-chip input:focus-visible {
    outline: none;
}

.dc-form .dc-chip:has(input:focus-visible) {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
}

@media (forced-colors: active) {
    .dc-form .dc-chip input,
    .dc-form .dc-check input {
        appearance: auto;
        -webkit-appearance: auto;
    }
}

.dc-grid-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
}

.dc-grid-input {
    position: relative;
    flex: 0 1 220px;
}

.dc-form .dc-grid-input .dc-input {
    padding-right: 48px;
}

.dc-grid-input__unit {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--sans);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--muted);
}

.dc-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
}

.dc-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 24px;
}

.dc-hp {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.dc-form__privacy {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
}

.dc-form__submit {
    margin-top: 24px;
}

.dc-form .dc-btn--submit {
    width: 100%;
    max-width: 440px;
}

.dc-form .dc-btn--submit[disabled] {
    opacity: .7;
    cursor: progress;
}

.dc-form__after {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--muted);
}

/* ---------- Stopka ---------- */

.dc-footer {
    padding: 64px 0 36px;
    background: var(--navy-3);
    color: var(--on-dark-2);
}

.dc-footer__cols {
    display: flex;
    flex-wrap: wrap;
    gap: 36px 72px;
    justify-content: space-between;
    align-items: flex-start;
}

.dc-footer__cols > div {
    flex: 0 1 auto;
}

.dc-footer__cols > .dc-footer__brand {
    flex: 1 1 300px;
    max-width: 440px;
}

.dc-footer__brand a {
    display: inline-block;
}

.dc-footer__brand img {
    height: 36px;
    width: auto;
}

.dc-footer__brand p {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--on-dark-2);
}

.dc-footer__h {
    font-family: var(--sans);
    font-size: 12.5px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--on-dark-3);
}

.dc-footer__links {
    display: grid;
    gap: 2px;
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.dc-footer__links a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

.dc-footer__links a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.dc-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 32px;
    justify-content: space-between;
    align-items: center;
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid var(--line-dark);
    font-family: var(--sans);
    font-weight: 600;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.dc-footer__producer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
}

.dc-footer__producer img {
    height: 20px;
    width: auto;
}

@media (max-width: 759px) {
    .dc-footer { padding-bottom: 104px; } /* miejsce na dolny pasek CTA */
}

/* ---------- Menu mobilne i dolny pasek ---------- */

.dc-mmenu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    overflow-y: auto;
    padding: 8px var(--gut) 40px;
    border-top: 1px solid var(--line-dark);
    background: var(--navy);
    color: #FFFFFF;
    font-family: var(--sans);
}

.dc-mmenu nav a {
    display: flex;
    align-items: baseline;
    gap: 16px;
    min-height: 64px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-dark);
    color: #FFFFFF;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -.02em;
    text-decoration: none;
}

.dc-mmenu nav a span {
    font-family: var(--sans);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .12em;
    color: var(--mint);
}

.dc-mmenu .dc-btn--block {
    margin-top: 28px;
}

.dc-mmenu__contact {
    display: grid;
    gap: 4px;
    margin-top: 20px;
}

.dc-mmenu__contact a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.dc-mmenu__contact .dc-icon {
    color: var(--mint);
}

.dc-mmenu__producer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: 28px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--on-dark-2);
}

.dc-mmenu__producer img {
    height: 20px;
    width: auto;
}

.dc-mbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: flex;
    gap: 8px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line-dark);
    background: rgba(21, 33, 42, .97);
    font-family: var(--sans);
}

.dc-mbar__cta {
    flex: 1;
}

.dc-mbar__call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: none;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid rgba(194, 230, 213, .45);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.dc-mbar__call .dc-icon {
    color: var(--mint);
}

.dc-mbar__call:hover {
    color: #FFFFFF;
}

@media (min-width: 1080px) {
    .dc-mmenu { display: none !important; }
}

/* Pasek tylko na telefonie w pionie: w poziomie (niska wysokość) zabierałby za dużo ekranu — CTA i telefon są w nagłówku. */
@media (min-width: 760px), (max-height: 499px) {
    .dc-mbar { display: none !important; }
}

/* ---------- Ruch przy przewijaniu ----------
 * Klasę .dc-anim na <html> dodaje skrypt tylko przy włączonym ruchu (bez prefers-reduced-motion, z IntersectionObserver);
 * bez niej wszystko jest widoczne od razu. Wejście = klasa .is-in na [data-reveal], gdy górna krawędź minie ~82% okna;
 * --d = opóźnienie w kaskadzie bloków. Tylko opacity / transform / clip-path, bez pętli i bez przejmowania przewijania. */

.dc-anim [data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .8s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms);
}

.dc-anim [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

/* Bloki z własną choreografią: bez przesuwania całości. */
.dc-anim [data-reveal]:is(.dc-topline, [data-stagger], [data-seq], .dc-demo, .dc-uptime, .dc-product__figure),
.dc-anim [data-reveal]:has([data-split]) {
    transform: none;
}

.dc-anim [data-reveal].dc-unveil {
    opacity: 1;
    transform: none;
}

/* Linia pod wierszem sekcji rysuje się od lewej. */
.dc-anim .dc-topline::after {
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.4s var(--ease) calc(var(--d, 0ms) + .1s);
}

.dc-anim .dc-topline.is-in::after {
    transform: none;
}

/* Nagłówki słowo po słowie (skrypt dzieli tekst na .dc-w / .dc-w__i; nazwa nagłówka zostaje w aria-label).
 * Przycięcie (clip-path) działa tylko w trakcie wejścia, potem znika, więc polskie znaki i ogonki nie są obcinane. */
.dc-anim .dc-w {
    display: inline-block;
    vertical-align: top;
    clip-path: inset(-.25em -.1em -.3em -.1em);
}

.dc-anim .dc-w__i {
    display: inline-block;
    transform: translateY(125%);
    transition: transform 1s var(--ease);
    transition-delay: calc(var(--w, 0) * 45ms + var(--d, 0ms) + 60ms);
}

.dc-anim .is-in .dc-w {
    clip-path: inset(-2em);
    transition: clip-path 0s linear calc(var(--d, 0ms) + 1.8s);
}

.dc-anim .is-in .dc-w__i {
    transform: none;
}

/* Listy: elementy po kolei. */
.dc-anim [data-stagger] > * {
    opacity: 0;
    transform: translateY(22px);
    transition-property: opacity, transform;
    transition-duration: .7s, .9s;
    transition-timing-function: var(--ease);
    transition-delay: calc(min(var(--i, 0), 9) * 70ms + var(--d, 0ms) + 120ms);
}

.dc-anim .is-in [data-stagger] > *,
.dc-anim [data-stagger].is-in > * {
    opacity: 1;
    transform: none;
}

/* Etapy realizacji: punkt po punkcie, oś rysuje się od pierwszego do ostatniego etapu. */
.dc-anim [data-seq] > li {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--ease), transform .9s var(--ease);
    transition-delay: calc(var(--i, 0) * 380ms + var(--d, 0ms) + 250ms);
}

.dc-anim [data-seq] > li::before {
    transform: scale(0);
    transition: transform .55s cubic-bezier(.34, 1.56, .64, 1);
    transition-delay: calc(var(--i, 0) * 380ms + var(--d, 0ms) + 200ms);
}

.dc-anim [data-seq].is-in > li {
    opacity: 1;
    transform: none;
}

.dc-anim [data-seq].is-in > li::before {
    transform: none;
}

@media (min-width: 960px) {
    .dc-anim .dc-process li {
        border-top-color: transparent;
    }
    .dc-anim .dc-process li::after {
        content: "";
        position: absolute;
        left: 0;
        right: calc(-1 * clamp(24px, 3vw, 48px));
        top: -1px;
        height: 1px;
        background: rgba(77, 144, 155, .55);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .45s linear;
        transition-delay: calc(var(--i, 0) * 380ms + var(--d, 0ms) + 250ms);
    }
    .dc-anim .dc-process li:last-child::after {
        right: 0;
    }
    .dc-anim .dc-process.is-in li::after {
        transform: none;
    }
}

/* Zdjęcia odsłaniają się od lewej (kierunek przepływu), kadr lekko się cofa. */
.dc-anim .dc-unveil {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.3s var(--ease) calc(var(--d, 0ms) + .1s);
}

.dc-anim .dc-unveil img {
    transform: scale(1.1);
    transform-origin: 30% 50%;
    transition: transform 1.9s var(--ease) calc(var(--d, 0ms) + .1s);
}

.dc-anim .is-in .dc-unveil,
.dc-anim .dc-unveil.is-in {
    clip-path: inset(0);
}

.dc-anim .is-in .dc-unveil img,
.dc-anim .dc-unveil.is-in img {
    transform: none;
}

/* Ideogramy konfiguracji: jednostka mocy, przewód, potem dystrybutory jeden po drugim. */
.dc-anim :is(.dc-ideo, .dc-stages__scene) :is(.dc-ideo__unit, .dc-ideo__slot, .dc-ideo__group > .dc-ideo__disp) {
    transform: scaleY(0);
    transform-origin: 50% 100%;
    transition: transform .6s cubic-bezier(.34, 1.4, .64, 1);
    transition-delay: calc(var(--i, 0) * 140ms + var(--k, 0) * 80ms + var(--d, 0ms) + 350ms);
}

.dc-anim .dc-ideo__unit::after,
.dc-anim .dc-ideo__group::before {
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .8s var(--ease) calc(var(--i, 0) * 140ms + var(--d, 0ms) + 450ms);
}

.dc-anim .is-in :is(.dc-ideo, .dc-stages__scene) :is(.dc-ideo__unit, .dc-ideo__slot, .dc-ideo__group > .dc-ideo__disp) {
    transform: none;
}

.dc-anim .is-in .dc-ideo__unit::after,
.dc-anim .is-in .dc-ideo__group::before {
    transform: none;
}

/* Schemat: sloty puli zapełniają się po kolei (pasma i liczby animuje skrypt). */
.dc-anim .dc-slot {
    transform: scaleX(0);
    transform-origin: left;
}

.dc-anim .is-in .dc-slot {
    transform: none;
}

.dc-demo__text.is-swap,
.dc-pt__status.is-swap {
    animation: dc-fade .5s ease both;
}

.dc-pt__delta.is-pop {
    animation: dc-pop .6s var(--ease) both;
}

/* Dystrybutor z bliska: „600” w tle, wymiar rysuje się od środka, znaczniki 1–2 i etykieta po kolei. */
.dc-anim .dc-product__ghost {
    opacity: 0;
    transform: translate(-50%, -40%);
    transition: opacity 1.4s var(--ease) calc(var(--d, 0ms) + .15s), transform 1.6s var(--ease) calc(var(--d, 0ms) + .15s);
}

.dc-anim .is-in .dc-product__ghost {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.dc-anim .dc-dim__line {
    transform: scaleX(0);
    transition: transform .9s var(--ease) calc(var(--d, 0ms) + .6s);
}

.dc-anim .dc-dim__label {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .5s ease calc(var(--d, 0ms) + 1.25s), transform .6s var(--ease) calc(var(--d, 0ms) + 1.25s);
}

.dc-anim .dc-product__stage .dc-marker {
    transform: scale(0);
    transition: transform .5s cubic-bezier(.34, 1.56, .64, 1) calc(var(--d, 0ms) + .9s);
}

.dc-anim .dc-product__stage .dc-marker--2 {
    transition-delay: calc(var(--d, 0ms) + 1.05s);
}

.dc-anim .is-in .dc-dim__line,
.dc-anim .is-in .dc-dim__label,
.dc-anim .is-in .dc-product__stage .dc-marker {
    opacity: 1;
    transform: none;
}

/* UptimePRIME: miętowy pas wjeżdża od prawej krawędzi. */
.dc-anim .dc-uptime__body::after {
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    transition: clip-path 1.2s var(--ease) calc(var(--d, 0ms) + .5s);
}

.dc-anim .dc-uptime.is-in .dc-uptime__body::after {
    clip-path: polygon(70% 0, 100% 0, 100% 100%, 0 100%);
}

/* Zmiany stanu w interfejsie: panel zastosowań, akordeony, szczegóły formularza, menu, potwierdzenie wysyłki. */
@media (prefers-reduced-motion: no-preference) {
    .dc-apps__panel:not([hidden]) > * {
        animation: dc-rise .7s var(--ease) both;
    }
    .dc-apps__panel:not([hidden]) > :nth-child(2) { animation-delay: .07s; }
    .dc-apps__panel:not([hidden]) > :nth-child(3) { animation-delay: .14s; }
    .dc-apps__panel:not([hidden]) > :nth-child(4) { animation-delay: .21s; }
    .dc-acc__panel:not([hidden]),
    .dc-details__panel:not([hidden]) {
        animation: dc-drop .5s var(--ease) both;
    }
    .dc-mmenu:not([hidden]) {
        animation: dc-menu .5s var(--ease) both;
    }
    .dc-mmenu:not([hidden]) nav a {
        animation: dc-rise .6s var(--ease) both;
    }
    .dc-mmenu:not([hidden]) nav a:nth-child(2) { animation-delay: .05s; }
    .dc-mmenu:not([hidden]) nav a:nth-child(3) { animation-delay: .1s; }
    .dc-mmenu:not([hidden]) nav a:nth-child(4) { animation-delay: .15s; }
    .dc-success:not([hidden]) > * {
        animation: dc-rise .7s var(--ease) both;
    }
    .dc-success:not([hidden]) > .dc-success__icon {
        animation: dc-pop .7s var(--ease) both;
    }
    .dc-success:not([hidden]) > :nth-child(2) { animation-delay: .12s; }
    .dc-success:not([hidden]) > :nth-child(3) { animation-delay: .2s; }
}

/* ---------- Pomocnicze ---------- */

.dc-mt-8 { margin-top: 8px; }
.dc-mt-14 { margin-top: 14px; }
.dc-mt-18 { margin-top: 18px; }
.dc-mt-24 { margin-top: 24px; }
.dc-mt-32 { margin-top: 32px; }
.dc-maxw-36em { max-width: 36em; }
.dc-nowrap { white-space: nowrap; }
.dc-break { overflow-wrap: anywhere; }
.dc-minw0 { min-width: 0; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .dynamic-dc-page *,
    .dynamic-dc-page *::before,
    .dynamic-dc-page *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-delay: 0s !important;
    }
}

@media print {
    .dc-anim [data-reveal],
    .dc-anim [data-stagger] > *,
    .dc-anim [data-seq] > li,
    .dc-anim .dc-w__i {
        opacity: 1 !important;
        transform: none !important;
    }
    .dc-header,
    .dc-mbar,
    .dc-mmenu {
        display: none !important;
    }
    .dc-section {
        padding: 32px 0;
    }
}
