/*
 * Style wydzielone z start/ksc-nis2.php.
 * Arkusz jest ładowany po Bootstrapie i Skeletonie.
 */

.gf-ksc {
        --view-max-width: 1240px;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
        font-size: 16px;
        line-height: 1.58;
        text-align: left;
    }
    .gf-ksc, .gf-ksc *, .gf-ksc *::before, .gf-ksc *::after { box-sizing: border-box; }
    .gf-ksc :where(.container) {
        width: min(var(--view-max-width), calc(100% - 40px));
        max-width: none;
        margin-inline: auto;
        padding-inline: 0;
    }
    .gf-ksc :where(.section) { text-align: left; }
    .gf-ksc :where(button) {
        height: auto;
        min-height: 0;
        margin: 0;
        color: inherit;
        font: inherit;
        letter-spacing: normal;
        line-height: normal;
        text-align: inherit;
        text-transform: none;
        white-space: normal;
        border-radius: 0;
        cursor: pointer;
    }
    .gf-ksc :where(button, input, select, textarea) { font-family: inherit; }
    .gf-ksc :where(img, svg, video) { display: block; max-width: 100%; }
    .gf-ksc :where(img, video) { height: auto; }
    .gf-ksc :where(p, ul, ol, figure) { margin-top: 0; }
    @media (max-width: 760px) {
        .gf-ksc :where(.container) { width: min(var(--view-max-width), calc(100% - 28px)); }
    }

:root {
        --navy: #082c4d;
        --navy-deep: #051c33;
        --navy-mid: #0d416d;
        --navy-light: #eaf2f8;
        --text: #173047;
        --muted: #66798a;
        --yellow: #f6b600;
        --yellow-dark: #df9e00;
        --yellow-soft: #fff5cf;
        --orange: #ef8612;
        --teal: #08aeb6;
        --green: #13885f;
        --red: #c53d4e;
        --white: #ffffff;
        --paper: #f5f7fa;
        --paper-warm: #fbfaf6;
        --line: #dbe4ec;
        --shadow: 0 18px 50px rgba(8, 44, 77, .12);
        --shadow-soft: 0 10px 30px rgba(8, 44, 77, .08);
        --radius: 24px;
        --radius-sm: 15px;
        --max: 1240px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
        margin: 0;
        color: var(--text);
        background: var(--white);
        font-family: Montserrat, Arial, Helvetica, sans-serif;
        line-height: 1.55;
        text-rendering: optimizeLegibility;
    }
    .gf-ksc img, .gf-ksc video { display: block; max-width: 100%; }
    a { color: inherit; }
    button, input, select, textarea { font: inherit; }
    button { cursor: pointer; }
    h1, h2, h3, h4 { color: var(--navy); line-height: 1.08; margin: 0; letter-spacing: -.028em; }
    h1 { font-size: clamp(42.4px, 5.9vw, 88.8px); }
    h2 { font-size: clamp(32px, 4vw, 59.2px); }
    h3 { font-size: clamp(17.92px, 2vw, 22.72px); }
    p { margin: 0; }
    .container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
    .muted { color: var(--muted); }
    .lead { color: var(--muted); font-size: clamp(16.96px, 2vw, 20.8px); max-width: 820px; }
    .small { color: var(--muted); font-size: 13.12px; }
    .section { padding: 92px 0; }
    .section-paper { background: var(--paper); }
    .section-navy { background: var(--navy); color: var(--white); }
    .section-navy h2, .section-navy h3 { color: var(--white); }
    .section-navy .lead, .section-navy .muted { color: rgba(255,255,255,.72); }
    .section-head { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 46px; }
    .section-head .lead { max-width: 620px; }
    .eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 16px;
        color: var(--navy-mid);
        font-size: 12.32px;
        font-weight: 900;
        letter-spacing: .14em;
        text-transform: uppercase;
    }
    .eyebrow::before { content: ""; width: 24px; height: 4px; border-radius: 99px; background: linear-gradient(90deg, var(--yellow), var(--orange)); }
    .section-navy .eyebrow { color: rgba(255,255,255,.78); }

    .utility-bar { background: var(--navy-deep); color: rgba(255,255,255,.86); font-size: 12px; }
    .utility-inner { min-height: 35px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
    .utility-links, .utility-account { display: flex; align-items: center; gap: 18px; }
    .utility-bar a { text-decoration: none; }
    .utility-bar a:hover { color: var(--yellow); }
    .utility-badge { display: inline-flex; align-items: center; gap: 7px; }
    .utility-badge::before { content: "✓"; color: var(--yellow); font-weight: 900; }

    .site-header {
        position: sticky;
        top: 0;
        z-index: 80;
        background: rgba(255,255,255,.96);
        border-bottom: 1px solid rgba(8,44,77,.1);
        backdrop-filter: blur(14px);
    }
    .main-nav { min-height: 82px; display: flex; align-items: center; gap: 28px; }
    .brand { display: inline-flex; flex: 0 0 270px; text-decoration: none; }
    .brand img { width: 100%; height: 70px; object-fit: contain; object-position: left center; }
    .nav-links { display: flex; align-items: center; justify-content: center; gap: 20px; margin-left: auto; font-size: 14.08px; font-weight: 800; }
    .nav-links a { text-decoration: none; white-space: nowrap; }
    .nav-links a:hover, .nav-links a.active { color: var(--orange); }
    .nav-cta { margin-left: 4px; }
    .menu-toggle { display: none; margin-left: auto; border: 0; background: transparent; color: var(--navy); font-size: 27.2px; }

    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        min-height: 52px;
        padding: 0 24px;
        border: 1px solid transparent;
        border-radius: 999px;
        text-decoration: none;
        font-weight: 900;
        transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    }
    .btn:hover { transform: translateY(-2px); }
    .btn-primary { background: var(--yellow); color: var(--navy-deep); box-shadow: 0 12px 28px rgba(246,182,0,.28); }
    .btn-primary:hover { background: #ffc51a; }
    .btn-navy { background: var(--navy); color: var(--white); box-shadow: 0 12px 30px rgba(8,44,77,.18); }
    .btn-outline { border-color: rgba(8,44,77,.22); background: var(--white); color: var(--navy); }
    .btn-white { background: var(--white); color: var(--navy); }

    .breadcrumb { padding: 14px 0 0; font-size: 12.48px; color: var(--muted); }
    .breadcrumb a { text-decoration: none; }
    .breadcrumb span { padding: 0 8px; color: #9ba8b4; }


    .brand-strip {
        position: relative;
        overflow: hidden;
        padding: 15px 0;
        border-bottom: 1px solid #dbe4ec;
        background:
                radial-gradient(circle at 88% 18%, rgba(8,174,182,.09), transparent 28%),
                linear-gradient(115deg, #ffffff 0%, #f5f9fc 56%, #eaf2f8 100%);
    }
    .brand-strip::after {
        content: "";
        position: absolute;
        right: -68px;
        top: -94px;
        width: 230px;
        height: 230px;
        border-radius: 50%;
        border: 1px solid rgba(8,44,77,.10);
        box-shadow: 0 0 0 36px rgba(8,44,77,.03), 0 0 0 72px rgba(8,44,77,.018);
        pointer-events: none;
    }
    .brand-inner {
        position: relative;
        z-index: 2;
        display: grid;
        grid-template-columns: 126px minmax(0, 1fr) auto;
        gap: 38px;
        align-items: center;
    }
    .brand-badge {
        width: 126px;
        height: 126px;
        padding: 10px;
        display: grid;
        place-items: center;
        overflow: hidden;
        border: 1px solid #d6e1ea;
        background: rgba(255,255,255,.94);
        box-shadow: 0 12px 32px rgba(8,44,77,.08);
    }
    .brand-badge img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        transform: scale(1.18);
        transform-origin: center;
    }
    .brand-copy span {
        display: block;
        color: #4d91b1;
        font-size: 11.52px;
        font-weight: 950;
        letter-spacing: .15em;
    }
    .brand-copy strong {
        display: block;
        margin-top: 5px;
        color: #0d4b83;
        font-size: clamp(27.52px, 3.25vw, 40.8px);
        line-height: 1.05;
        letter-spacing: -.025em;
    }
    .brand-copy p {
        max-width: 760px;
        margin-top: 8px;
        color: #6d8799;
        font-size: 16.32px;
        line-height: 1.45;
    }
    .brand-cta {
        white-space: nowrap;
        align-self: center;
    }
    .hero {
        position: relative;
        overflow: hidden;
        padding: 62px 0 76px;
        background:
                radial-gradient(circle at 88% 6%, rgba(246,182,0,.22), transparent 30%),
                linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
    }
    .hero::before {
        content: "";
        position: absolute;
        width: 610px;
        height: 610px;
        right: -300px;
        bottom: -350px;
        border: 1px solid rgba(8,44,77,.08);
        border-radius: 50%;
        box-shadow: 0 0 0 80px rgba(8,44,77,.02), 0 0 0 160px rgba(8,44,77,.015);
    }
    .hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 58px; align-items: center; }
    .hero-copy h1 span { color: var(--orange); }
    .hero-copy .lead { margin-top: 24px; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
    .hero-note { margin-top: 18px; color: var(--muted); font-size: 13.12px; }
    .trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
    .trust-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--navy); font-size: 13.12px; font-weight: 800; }
    .trust-chip strong { color: var(--orange); }

    .hero-card {
        position: relative;
        overflow: hidden;
        padding: 30px;
        border-radius: 30px;
        color: var(--white);
        background: linear-gradient(145deg, var(--navy-deep), var(--navy-mid));
        box-shadow: var(--shadow);
    }
    .hero-card::before { content: ""; position: absolute; width: 125px; height: 9px; top: 0; left: 34px; border-radius: 0 0 12px 12px; background: linear-gradient(90deg, var(--yellow), var(--orange)); }
    .hero-card > .eyebrow { color: var(--white); }
    .hero-card h3 { color: var(--white); font-size: 27.2px; margin: 8px 0 8px; }
    .hero-card-intro { color: rgba(255,255,255,.68); margin-bottom: 20px; }
    .deadline { display: grid; grid-template-columns: 1fr auto; gap: 15px; align-items: center; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.14); }
    .deadline:first-of-type { border-top: 0; }
    .deadline strong { display: block; color: var(--white); }
    .deadline span { color: rgba(255,255,255,.65); font-size: 13.6px; }
    .deadline-date { min-width: 110px; padding: 9px 10px; border-radius: 10px; color: var(--navy-deep); background: var(--yellow); text-align: center; font-weight: 900; }
    .hero-card small { display: block; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.55); }

    .numbers { background: var(--paper-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .numbers-grid { display: grid; grid-template-columns: repeat(4,1fr); }
    .number { padding: 32px 24px; border-right: 1px solid var(--line); }
    .number:last-child { border-right: 0; }
    .number strong { display: block; color: var(--navy); font-size: clamp(32px,4vw,48.8px); line-height: 1; }
    .number span { display: block; margin-top: 8px; color: var(--muted); font-size: 14.4px; }

    .problem-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 48px; align-items: start; }
    .problem-copy { position: sticky; top: 118px; }
    .problem-copy .lead { margin-top: 22px; }
    .check-list { display: grid; gap: 15px; margin-top: 28px; }
    .check-item { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
    .check-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--navy); background: var(--yellow-soft); font-weight: 900; }
    .cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 17px; }
    .card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-soft); }
    .card-number { width: 43px; height: 43px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 13px; color: var(--white); background: var(--navy); font-weight: 900; }
    .card h3 { margin-bottom: 9px; }
    .card p { color: var(--muted); }

    .journey { display: grid; grid-template-columns: repeat(6,1fr); gap: 10px; margin-top: 42px; }
    .journey-step { position: relative; min-height: 225px; padding: 22px; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: rgba(255,255,255,.075); }
    .journey-step::after { content: "→"; position: absolute; width: 27px; height: 27px; right: -14px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; z-index: 2; border-radius: 50%; color: var(--navy-deep); background: var(--yellow); font-weight: 900; }
    .journey-step:last-child::after { display: none; }
    .journey-step span { color: var(--yellow); font-size: 12.16px; font-weight: 900; letter-spacing: .1em; }
    .journey-step h3 { margin: 14px 0 10px; font-size: 17.92px; }
    .journey-step p { color: rgba(255,255,255,.64); font-size: 14.08px; }

    .film-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 44px; align-items: center; }
    .film-copy .lead { margin-top: 20px; }
    .film-shell { overflow: hidden; border-radius: 26px; background: var(--navy-deep); box-shadow: var(--shadow); }
    .film-shell video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

    .app-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 50px; align-items: center; }
    .app-shot { position: relative; overflow: hidden; border: 1px solid #cddce8; border-radius: 26px; background: #eaf2f8; box-shadow: var(--shadow); }
    .app-shot::before { content: "PODGLĄD INTERFEJSU"; position: absolute; z-index: 2; top: 6px; right: 12px; padding: 6px 10px; border-radius: 999px; color: var(--navy); background: rgba(255,255,255,.96); box-shadow: 0 4px 12px rgba(8,44,77,.10); font-size: 10.56px; font-weight: 900; letter-spacing: .08em; }
    .app-shot img { width: 100%; }
    .app-copy .lead { margin-top: 22px; }
    .logic-chain { display: grid; grid-template-columns: repeat(5,1fr); gap: 9px; margin-top: 26px; }
    .logic-item { position: relative; padding: 14px 8px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); text-align: center; color: var(--navy); font-size: 12.48px; font-weight: 900; }
    .logic-item:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; right: -11px; top: 50%; transform: translateY(-50%); color: var(--orange); }
    .status-note { margin-top: 22px; padding: 16px 18px; border-left: 4px solid var(--yellow); border-radius: 0 12px 12px 0; color: var(--muted); background: var(--paper-warm); font-size: 13.44px; }

    .module-tabs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
    .tab-btn { padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); background: var(--white); font-weight: 850; }
    .tab-btn.active { color: var(--white); background: var(--navy); border-color: var(--navy); }
    .modules-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
    .module-card { display: none; min-height: 190px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 7px 22px rgba(8,44,77,.05); }
    .module-card.show { display: block; }
    .module-id { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 15px; border-radius: 11px; color: var(--navy-deep); background: var(--yellow); font-weight: 900; }
    .module-card h3 { margin-bottom: 9px; font-size: 16.64px; }
    .module-card p { color: var(--muted); font-size: 14.08px; }

    .audience-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
    .audience-card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
    .audience-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 15px; border-radius: 14px; color: var(--navy); background: var(--yellow-soft); font-size: 20px; font-weight: 900; }
    .audience-card h3 { margin-bottom: 9px; }
    .audience-card p { color: var(--muted); font-size: 14.24px; }

    .team-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 48px; align-items: center; }
    .team-copy .lead { margin-top: 22px; }
    .team-panel { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
    .team-number { min-height: 170px; padding: 27px; border-radius: 22px; color: var(--white); background: var(--navy); }
    .team-number:nth-child(2) { color: var(--navy-deep); background: var(--yellow); }
    .team-number:nth-child(3) { background: var(--navy-mid); }
    .team-number:nth-child(4) { color: var(--navy); background: var(--navy-light); }
    .team-number strong { display: block; font-size: 42.4px; line-height: 1; }
    .team-number span { display: block; margin-top: 12px; font-weight: 800; }

    .training { background: linear-gradient(135deg, var(--yellow-soft), #fff 62%); }
    .training-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
    .training-copy .lead { margin-top: 22px; }
    .training-list { display: grid; gap: 13px; }
    .training-item { padding: 18px; border: 1px solid rgba(8,44,77,.11); border-radius: 16px; background: rgba(255,255,255,.82); }
    .training-item strong { display: block; color: var(--navy); }
    .training-item span { color: var(--muted); font-size: 14.08px; }

    .faq-list { display: grid; gap: 11px; max-width: 930px; margin-inline: auto; }
    details { padding: 0 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
    summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 0; color: var(--navy); font-weight: 900; cursor: pointer; }
    summary::-webkit-details-marker { display: none; }
    summary::after { content: "+"; color: var(--orange); font-size: 21.6px; }
    details[open] summary::after { content: "-"; }
    details p { padding: 0 0 20px; color: var(--muted); }
    .sources { max-width: 930px; margin: 24px auto 0; padding: 18px 20px; border-radius: 16px; color: var(--muted); background: var(--paper); font-size: 12.64px; }
    .sources a { color: var(--navy-mid); font-weight: 800; }

    .contact { background: var(--white); color: var(--text); }
    .contact .eyebrow { color: var(--navy-mid); font-weight: 950; text-shadow: none; }
    .contact .eyebrow::before { background: linear-gradient(90deg, var(--yellow), var(--orange)); }
    .contact h2, .contact h3 { color: var(--navy); }
    .contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: start; }
    .contact .lead { margin-top: 20px; color: var(--muted); }
    .contact-points { display: grid; gap: 12px; margin-top: 26px; }
    .contact-point { display: flex; gap: 12px; color: var(--text); }
    .contact-point::before { content: "✓"; color: var(--orange); font-weight: 900; }
    .contact-direct { margin-top: 26px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); }
    .contact-direct a { color: var(--navy-mid); font-weight: 900; text-decoration: none; }
    .legal-note { margin-top: 26px; color: var(--muted); font-size: 12.16px; }
    .form-card { padding: 30px; border: 1px solid var(--line); border-radius: 26px; color: var(--text); background: var(--white); box-shadow: var(--shadow); }
    .form-card h3 { color: var(--navy); }
    .form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 15px; margin-top: 21px; }
    .field { display: grid; gap: 7px; }
    .field.full { grid-column: 1 / -1; }
    .field label { color: var(--navy); font-size: 12.8px; font-weight: 900; }
    .field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #cfdce6; border-radius: 11px; color: var(--text); background: var(--white); }
    .field textarea { min-height: 105px; resize: vertical; }
    .radio-row { display: flex; gap: 18px; flex-wrap: wrap; padding: 11px 0 4px; }
    .radio-row label { display: flex; align-items: center; gap: 7px; font-weight: 700; }
    .consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; margin: 16px 0 18px; color: var(--muted); font-size: 11.68px; }
    .consent-details { margin: -5px 0 17px; padding: 0; border: 0; background: transparent; }
    .consent-details summary { display: inline-flex; padding: 0; color: var(--navy-mid); font-size: 11.84px; }
    .consent-details summary::after { margin-left: 7px; font-size: 16px; }
    .consent-details p { padding: 10px 0 0; font-size: 11.52px; }
    .form-status { display: none; margin-top: 13px; padding: 12px 14px; border-radius: 11px; color: #0e633e; background: #e7f8f0; font-weight: 800; }

    .site-footer { color: rgba(255,255,255,.76); background: var(--navy-deep); }
    .footer-main { display: grid; grid-template-columns: 1.25fr repeat(3,1fr); gap: 38px; padding: 52px 0 38px; }
    .footer-logo { width: 230px; padding: 10px 14px; border-radius: 12px; background: var(--white); }
    .footer-tagline { margin-top: 18px; max-width: 310px; color: rgba(255,255,255,.65); }
    .footer-col h4 { margin-bottom: 14px; color: var(--white); font-size: 15.36px; }
    .footer-col a { display: block; margin: 9px 0; color: rgba(255,255,255,.66); text-decoration: none; font-size: 13.76px; }
    .footer-col a:hover { color: var(--yellow); }
    .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 12.16px; }






    @media (max-width: 1120px) {
        .main-nav { position: relative; }
        .menu-toggle { display: block; }
        .nav-links { display: none; position: absolute; top: 81px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 22px; border: 1px solid var(--line); border-radius: 0 0 18px 18px; background: var(--white); box-shadow: var(--shadow-soft); }
        .nav-links.open { display: flex; }
        .nav-cta { display: none; }
        .hero-grid, .problem-grid, .film-layout, .app-layout, .team-grid, .training-grid, .contact-grid { grid-template-columns: 1fr; }
        .problem-copy { position: static; }
        .journey { grid-template-columns: repeat(3,1fr); }
        .journey-step:nth-child(3)::after { display: none; }
        .modules-grid { grid-template-columns: repeat(2,1fr); }
        .audience-grid { grid-template-columns: repeat(2,1fr); }
        .footer-main { grid-template-columns: repeat(2,1fr); }
    }

    @media (max-width: 740px) {
        .container { width: min(var(--max), calc(100% - 26px)); }
        .utility-links .utility-badge:nth-child(n/**/+3), .utility-account a:first-child { display: none; }
        .brand { flex-basis: 210px; }
        .brand img { height: 58px; }
        .hero { padding: 44px 0 60px; }
        .section { padding: 72px 0; }
        .section-head { display: grid; gap: 18px; }
        .numbers-grid { grid-template-columns: repeat(2,1fr); }
        .number:nth-child(2) { border-right: 0; }
        .number:nth-child(-n/**/+2) { border-bottom: 1px solid var(--line); }
        .cards, .modules-grid, .audience-grid, .team-panel, .form-grid, .footer-main { grid-template-columns: 1fr; }
        .journey { grid-template-columns: 1fr; }
        .journey-step::after, .journey-step:nth-child(3)::after { content: "↓"; display: grid; top: auto; right: 50%; bottom: -14px; transform: translateX(50%); }
        .journey-step:last-child::after { display: none; }
        .logic-chain { grid-template-columns: 1fr; }
        .logic-item:not(:last-child)::after { content: "↓"; top: auto; right: 50%; bottom: -19px; transform: translateX(50%); }
        .footer-bottom { align-items: flex-start; flex-direction: column; }
        .field.full { grid-column: auto; }


    }

    @media (prefers-reduced-motion: reduce) {
        html { scroll-behavior: auto; }
        .btn { transition: none; }
    }


    /* Wersja podstrony bez menu i standardowej stopki */
    body { overflow-x: hidden; }
    main { display: block; }
    .hero { padding-top: 72px; }
    .hero-copy h1 { font-size: clamp(42.4px, 4.9vw, 68px); }
    .hero-copy h1 span { display: block; }
    .hero-slogan {
        margin-top: 18px;
        color: var(--navy);
        font-size: clamp(18.4px, 2.2vw, 26.4px);
        font-weight: 850;
        line-height: 1.25;
    }

    /* Duże ramy mają proste narożniki; drobne elementy zachowują miękkie formy */
    .hero-card,
    .card,
    .journey-step,
    .film-shell,
    .app-shot,
    .audience-card,
    .team-number,
    .form-card,
    .orbit-panel,
    .auditors-panel,
    .auditor-card,
    details,
    .sources,
    .contact-direct { border-radius: 0 !important; }

    /* Empty, non-interactive space reserved for the future video. */




    .team-bottom {
        display: grid;
        grid-template-columns: 1.04fr .96fr;
        gap: 28px;
        margin-top: 42px;
    }
    .auditors-panel,
    .orbit-panel {
        min-width: 0;
        padding: 32px;
        border: 1px solid var(--line);
        background: var(--white);
        box-shadow: var(--shadow-soft);
    }
    .auditors-panel > h3,
    .orbit-panel > h3 { margin-bottom: 24px; }
    .auditors-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
    .auditor-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;
        min-height: 285px;
        padding: 22px 18px;
        border: 1px solid var(--line);
        background: linear-gradient(145deg, #ffffff, #f3f7fb);
        text-align: center;
    }
    .auditor-portrait {
        width: 132px;
        height: 132px;
        overflow: hidden;
        border-radius: 50%;
        background: linear-gradient(145deg, var(--yellow-soft), var(--navy-light));
        border: 7px solid var(--white);
        box-shadow: 0 10px 28px rgba(8,44,77,.16);
    }
    .auditor-portrait img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 15%;
        transform: scale(1.08);
    }
    .auditor-info h4 { font-size: 20.48px; margin-bottom: 8px; }
    .auditor-info p { color: var(--muted); font-weight: 750; }

    .orbit-panel {
        background: linear-gradient(145deg, var(--navy-deep), var(--navy));
        color: var(--white);
    }
    .orbit-panel h3 { color: var(--white); }
    .orbit-panel .eyebrow { color: #c1d4e4; }
    .circle-graph {
        width: min(460px, 100%);
        margin: 4px auto 0;
    }
    .orbit-diagram {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 500 / 480;
        overflow: visible;
        font-family: inherit;
    }
    .orbit-diagram text { text-anchor: middle; }
    .orbit-track {
        fill: none;
        stroke: #789ab8;
        stroke-width: 1.5;
        stroke-dasharray: 2 10;
        stroke-linecap: round;
        opacity: .48;
    }
    .orbit-connector { stroke: #5c85a7; stroke-width: 1.5; opacity: .70; }
    .orbit-node { --node-color: #08aeb6; --node-rim: #c9eef0; }
    .node-audit { --node-color: #08aeb6; --node-rim: #c9eef0; }
    .node-documents { --node-color: #9b4a96; --node-rim: #e9d7e8; }
    .node-app { --node-color: #f6b600; --node-rim: #fff0bd; }
    .node-training { --node-color: #9bcf2a; --node-rim: #e9f4cf; }
    .node-supervision { --node-color: #ef665e; --node-rim: #fcdddb; }
    .orbit-node-rim { fill: var(--node-rim); }
    .orbit-node-surface { fill: var(--node-color); }
    .orbit-label { fill: var(--navy-deep); font-size: 16px; font-weight: 600; }
    .node-documents .orbit-label { font-size: 15px; font-weight: 600; letter-spacing: -.1px; }
    .node-documents .orbit-label { fill: var(--white); }
    .orbit-core-rim { fill: #28577b; }
    .orbit-core-surface { fill: #0d416d; }
    .orbit-core-kicker { fill: #b5cfdf; font-size: 13px; font-weight: 500; letter-spacing: 1.8px; }
    .orbit-core-title { fill: var(--white); font-size: 21px; font-weight: 700; letter-spacing: -.45px; }
    .orbit-core-meta { fill: var(--yellow); font-size: 13px; font-weight: 700; }

    @media (max-width: 1120px) {
        .team-bottom { grid-template-columns: 1fr; }
    }
    @media (max-width: 740px) {
        .hero { padding-top: 48px; }
        .auditors-grid { grid-template-columns: 1fr; }
        .auditor-card { min-height: 250px; padding: 18px 14px; }
        .auditor-portrait { width: 112px; height: 112px; }
        .auditors-panel, .orbit-panel { padding: 24px 18px; }
        .orbit-core-kicker, .orbit-core-meta { font-size: 14px; }
    }

    /* Preserve readable columns on very narrow screens. */
    @media (max-width: 360px) {
        .hero-grid, .problem-grid, .film-layout, .app-layout, .team-grid,
        .training-grid, .contact-grid, .cards, .modules-grid, .audience-grid,
        .team-panel, .form-grid, .team-bottom { grid-template-columns: minmax(0, 1fr); }
        .hero-copy h1 { font-size: 38.4px; }
        h2 { font-size: 28.8px; }
        .numbers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .number { padding: 24px 12px; }
        .number strong { font-size: 28px; }
    }
    /* Subtle one-time scroll reveals. Fixed controls stay visible. */

    @media (max-width: 980px) {
        .brand-inner {
            grid-template-columns: 108px minmax(0, 1fr);
            gap: 24px;
        }
        .brand-badge { width: 108px; height: 108px; }
        .brand-cta { grid-column: 2; justify-self: start; }
    }
    @media (max-width: 640px) {
        .brand-strip { padding: 16px 0 18px; }
        .brand-inner {
            grid-template-columns: 88px minmax(0, 1fr);
            gap: 16px;
            align-items: start;
        }
        .brand-badge { width: 88px; height: 88px; padding: 7px; }
        .brand-copy span { font-size: 9.92px; letter-spacing: .11em; }
        .brand-copy strong { margin-top: 4px; font-size: 24px; }
        .brand-copy p { margin-top: 6px; font-size: 14.08px; line-height: 1.38; }
        .brand-cta { grid-column: 1 / -1; width: 100%; justify-self: stretch; }
    }
    @media (prefers-reduced-motion: no-preference) {
        .motion-ready .scroll-reveal {
            opacity: 0;
            transform: translate3d(0, 18px, 0);
            transition:
                    opacity .6s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms),
                    transform .6s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms);
        }
        .motion-ready .scroll-reveal.is-revealed,
        .motion-ready .scroll-reveal:focus-within {
            opacity: 1;
            transform: none;
        }
    }
    @media (prefers-reduced-motion: reduce) {
        .scroll-reveal {
            opacity: 1 !important;
            transform: none !important;
            transition: none !important;
        }
    }
    @media print {
        .scroll-reveal {
            opacity: 1 !important;
            transform: none !important;
            transition: none !important;
        }

    }

/* Wspolny uklad trzech podstron. Kolory pozostaja w oryginalnych motywach. */
    .gf-unified {
        --gf-max: 1240px;
        --gf-gap: 48px;
        --gf-card-gap: 18px;
        --gf-section-space: 96px;
        --gf-h1: clamp(38px, 4.9vw, 68px);
        --gf-h2: clamp(30px, 3.8vw, 52px);
        --gf-h3: clamp(18px, 1.7vw, 22px);
        font-family: Montserrat, Arial, Helvetica, sans-serif;
        font-size: 16px;
        line-height: 1.58;
        text-rendering: optimizeLegibility;
    }
    .gf-unified, .gf-unified * { box-sizing: border-box; }
    .gf-unified [hidden] { display: none !important; }
    .gf-unified :is(button, input, select, textarea) { font-family: inherit; }
    .gf-unified :is(a, button, input, select, textarea, summary):focus-visible {
        outline: 3px solid var(--orange);
        outline-offset: 4px;
    }
    .gf-unified.gf-unified .container {
        width: min(var(--gf-max), calc(100% - 40px));
        margin-inline: auto;
    }
    .gf-unified.gf-unified :is(h1, h2, h3, h4) {
        font-family: inherit;
        font-weight: 800;
        letter-spacing: -.028em;
        overflow-wrap: break-word;
    }
    .gf-unified.gf-unified h1 { font-size: var(--gf-h1); line-height: 1.08; }
    .gf-unified.gf-unified h2 { font-size: var(--gf-h2); line-height: 1.12; }
    .gf-unified.gf-unified h3 { font-size: var(--gf-h3); line-height: 1.25; }
    .gf-unified.gf-unified :is(.section, .contact, .contact-section) {
        padding-block: var(--gf-section-space);
    }
    .gf-unified.gf-unified .hero { padding: 72px 0 80px; }
    .gf-unified.gf-unified .lead {
        max-width: 820px;
        font-size: clamp(17px, 1.8vw, 20px);
        line-height: 1.58;
    }
    .gf-unified.gf-unified .eyebrow {
        gap: 10px;
        margin-bottom: 16px;
        font-size: 12px;
        font-weight: 800;
        line-height: 1.5;
        letter-spacing: .14em;
    }
    .gf-unified.gf-unified .eyebrow::before { width: 26px; height: 4px; flex-shrink: 0; }
    .gf-unified.gf-unified .section-head {
        gap: var(--gf-gap);
        margin-bottom: 48px;
    }
    .gf-unified.gf-unified .section-head > * { flex: 1 1 0; min-width: 0; }
    .gf-unified.gf-unified .section-head .lead { max-width: 660px; }
    .gf-unified.gf-unified .btn {
        min-height: 54px;
        padding: 12px 24px;
        gap: 10px;
        font-size: 16px;
        font-weight: 800;
        line-height: 1.4;
        text-align: center;
        white-space: normal;
    }
    .gf-unified.gf-unified :is(.hero-actions, .film-actions, .draft-actions) {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 28px;
    }
    .gf-unified.gf-unified .hero-copy .lead { margin-top: 24px; }
    .gf-unified.gf-unified .hero-note { margin-top: 16px; font-size: 13px; line-height: 1.58; }
    .gf-unified.gf-unified .trust-row { gap: 10px; margin-top: 24px; }
    .gf-unified.gf-unified .trust-chip { padding: 9px 12px; font-size: 13px; line-height: 1.4; font-weight: 700; }
    .gf-unified.gf-unified :is(.hero-grid, .product-layout, .problem-grid, .film-layout,
  .app-layout, .team-grid, .training-grid, .contact-grid, .faq-layout) {
        display: grid;
        gap: var(--gf-gap);
    }
    .gf-unified.gf-unified :is(.hero-grid, .team-grid) { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); }
    .gf-unified.gf-unified :is(.product-layout, .problem-grid) { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
    .gf-unified.gf-unified .film-layout { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: center; }
    .gf-unified.gf-unified .app-layout { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
    .gf-unified.gf-unified .training-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gf-unified.gf-unified .contact-grid { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: start; }
    .gf-unified.gf-unified .faq-layout { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); }
    .gf-unified.gf-unified :is(.hero-grid, .product-layout, .problem-grid, .film-layout,
  .app-layout, .team-grid, .training-grid, .contact-grid, .faq-layout, .section-head,
  .bundle-grid, .team-bottom, .form-grid) > * { min-width: 0; }
    .gf-unified.gf-unified :is(.product-copy, .problem-copy, .faq-copy) { top: 30px; }
    .gf-unified.gf-unified :is(.product-copy, .problem-copy, .film-copy, .app-copy,
  .team-copy, .training-copy, .faq-copy) > .lead { margin-top: 24px; }
    .gf-unified.gf-unified :is(.obligation-grid, .services-grid, .proof-grid, .cards,
  .modules-grid, .audience-grid, .team-panel, .offer-stack, .experts-grid,
  .auditors-grid, .process-grid, .journey) { gap: var(--gf-card-gap); }
    .gf-unified.gf-unified :is(.bundle-grid, .team-bottom) { gap: 24px; }
    .gf-unified.gf-unified .bundle-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
    .gf-unified.gf-unified .team-bottom { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); margin-top: 40px; }
    .gf-unified.gf-unified :is(.obligation-card, .service-card, .proof-card, .card,
  .module-card, .audience-card, .offer-card, .process-card, .journey-step) { padding: 26px; }
    .gf-unified.gf-unified :is(.obligation-card, .service-card, .proof-card, .card,
  .module-card, .audience-card, .offer-card, .process-card, .journey-step) p {
        font-size: 15px;
        line-height: 1.58;
    }
    .gf-unified.gf-unified :is(.obligation-card, .service-card, .card, .module-card,
  .audience-card, .offer-card, .process-card) h3 { margin-bottom: 10px; }
    .gf-unified.gf-unified :is(.obligation-icon, .service-icon, .audience-icon, .card-number) {
        width: 46px;
        height: 46px;
        margin-bottom: 18px;
        font-size: 16px;
    }
    .gf-unified.gf-unified :is(.team-checks, .check-list, .product-points) { gap: 14px; margin-top: 26px; }
    .gf-unified.gf-unified :is(.team-check-item, .check-item, .product-point) {
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 14px;
    }
    .gf-unified.gf-unified :is(.team-check-icon, .check-icon, .product-point > i) { width: 38px; height: 38px; }
    .gf-unified.gf-unified .team-number { min-height: 170px; padding: 26px; }
    .gf-unified.gf-unified .team-number strong { font-size: 42.4px; line-height: 1; }
    .gf-unified.gf-unified .team-number span { margin-top: 12px; font-weight: 700; }
    .gf-unified.gf-unified :is(.demo-tab, .tab-btn) { min-height: 50px; font-size: 14px; line-height: 1.4; }
    .gf-unified.gf-unified :is(.contact-copy, .contact-grid > div) > .lead { margin-top: 24px; }
    .gf-unified.gf-unified :is(.contact-list, .contact-points) { gap: 12px; margin-top: 28px; }
    .gf-unified.gf-unified :is(.contact-list li, .contact-point) { font-size: 16px; line-height: 1.58; }
    .gf-unified.gf-unified :is(.direct-contact, .contact-direct) { margin-top: 28px; }

    /* Pasek Centrum Zgodnosci: identyczna geometria, oryginalne kolory i tekst. */
    .gf-unified.gf-unified .gf-brand { padding: 20px 0; }
    .gf-unified.gf-unified .gf-brand-inner {
        display: grid;
        grid-template-columns: 126px minmax(0, 1fr) 224px;
        grid-template-areas: "logo copy action";
        gap: 32px;
        align-items: center;
        min-height: 144px;
    }
    .gf-unified.gf-unified .gf-brand-logo-box {
        grid-area: logo;
        display: grid;
        place-items: center;
        width: 126px;
        height: 126px;
        padding: 10px;
        overflow: hidden;
    }
    .gf-unified.gf-unified .gf-brand-logo {
        display: block;
        width: 104px;
        height: 104px;
        max-width: none;
        object-fit: contain;
        transform: none;
    }
    .gf-unified.gf-unified .gf-brand-copy { grid-area: copy; }
    .gf-unified.gf-unified .gf-brand-copy > span {
        display: block;
        margin: 0;
        font-size: 11px;
        font-weight: 800;
        line-height: 1.5;
        letter-spacing: .14em;
    }
    .gf-unified.gf-unified .gf-brand-copy > strong {
        display: block;
        margin: 6px 0 0;
        font-size: 36px;
        font-weight: 800;
        line-height: 1.12;
        letter-spacing: -.025em;
    }
    .gf-unified.gf-unified .gf-brand-copy > p {
        max-width: none;
        margin: 10px 0 0;
        font-size: 16px;
        line-height: 1.5;
    }
    .gf-unified.gf-unified .gf-brand-action {
        grid-area: action;
        justify-self: stretch;
        width: 224px;
        min-height: 54px;
        margin: 0;
    }

    /* Jedno statyczne pole 16:9, bez klikalnej atrapy filmu. */
    .gf-unified { --gf-media-start: var(--navy-800); --gf-media-end: var(--navy-950); }
    .gf-ksc.gf-unified { --gf-media-start: #08233f; --gf-media-end: #051c33; }
    .gf-unified.gf-unified .gf-media {
        position: relative;
        display: block;
        width: 100%;
        aspect-ratio: 16 / 9;
        padding: 0;
        border: 0;
        border-radius: 0 !important;
        overflow: hidden;
        background: var(--gf-media-end);
    }
    .gf-unified.gf-unified .gf-media-placeholder {
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at center, rgba(255,255,255,.03), transparent 54%),
        linear-gradient(145deg, var(--gf-media-start), var(--gf-media-end) 68%);
        border: 1px solid rgba(255,255,255,.08);
    }
    .gf-unified.gf-unified .gf-media-placeholder::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: clamp(64px, 10vw, 108px);
        height: clamp(64px, 10vw, 108px);
        transform: translate(-50%, -50%);
        border-radius: 50%;
        background: rgba(255,255,255,.08);
        box-shadow: 0 10px 30px rgba(0,0,0,.18), inset 0 0 0 1px rgba(255,255,255,.06);
    }
    .gf-unified.gf-unified .gf-media-placeholder::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-38%, -50%);
        width: 0;
        height: 0;
        border-top: clamp(11px, 1.9vw, 18px) solid transparent;
        border-bottom: clamp(11px, 1.9vw, 18px) solid transparent;
        border-left: clamp(19px, 3.1vw, 31px) solid rgba(232,236,241,.88);
    }
    .gf-unified.gf-unified .gf-media > video {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* Formularze: te same pola geometryczne, rozne etykiety i zakres tematyczny. */
    .gf-unified.gf-unified .gf-form {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin: 0;
        padding: 30px;
        border: 1px solid var(--line);
        border-radius: 0 !important;
        font-size: 16px;
        line-height: 1.58;
    }
    .gf-unified.gf-unified .gf-form-header { min-height: 96px; }
    .gf-unified.gf-unified .gf-form-header h3 {
        margin: 0 0 8px;
        font-size: 26px;
        line-height: 1.25;
        font-weight: 800;
    }
    .gf-unified.gf-unified .gf-form-header p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.58; }
    .gf-unified.gf-unified .gf-form .form-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(3, minmax(77px, auto)) minmax(139px, auto);
        gap: 16px;
        margin-top: 24px;
        align-content: start;
    }
    .gf-unified.gf-unified .gf-form .field {
        display: grid;
        grid-template-rows: 20px auto;
        align-content: start;
        min-width: 0;
        gap: 7px;
    }
    .gf-unified.gf-unified .gf-form .field.full { grid-column: 1 / -1; }
    .gf-unified.gf-unified .gf-form .gf-field-message { grid-row: 4; }
    .gf-unified.gf-unified .gf-form .field > label {
        font-size: 13px;
        font-weight: 800;
        line-height: 20px;
        margin: 0;
    }
    .gf-unified.gf-unified .gf-form .field :is(input, select, textarea) {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin: 0;
        border-width: 1px;
        border-style: solid;
        border-radius: 10px;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.4;
    }
    .gf-unified.gf-unified .gf-form .field :is(input, select) { height: 50px; padding: 0 12px; }
    .gf-unified.gf-unified .gf-form .field textarea {
        display: block;
        height: 112px;
        min-height: 112px;
        padding: 12px;
        resize: vertical;
    }
    .gf-unified.gf-unified .gf-form-consent { min-height: 88px; margin-top: 16px; }
    .gf-unified.gf-unified .gf-form .consent {
        display: grid;
        grid-template-columns: 18px minmax(0, 1fr);
        align-items: start;
        gap: 10px;
        margin: 0;
        font-size: 13px;
        line-height: 1.5;
        font-weight: 400;
    }
    .gf-unified.gf-unified .gf-form .consent input {
        width: 18px;
        height: 18px;
        margin: 1px 0 0;
        flex-shrink: 0;
    }
    .gf-unified.gf-unified .gf-form .consent-details {
        margin: 12px 0 0;
        padding: 0;
        border: 0;
        background: transparent;
    }
    .gf-unified.gf-unified .gf-form .consent-details summary {
        margin: 0;
        padding: 0;
        font-size: 13px;
        line-height: 1.5;
        font-weight: 700;
    }
    .gf-unified.gf-unified .gf-form .consent-details p { font-size: 13px; line-height: 1.5; }
    .gf-unified.gf-unified .gf-form .form-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(40px, auto) 54px;
        align-items: start;
        gap: 12px;
        margin-top: 16px;
    }
    .gf-unified.gf-unified .gf-form .form-status {
        grid-row: 1;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: var(--muted);
        font-size: 13px;
        font-weight: 400;
        line-height: 1.5;
    }
    .gf-unified.gf-unified .gf-form .form-actions > .btn {
        grid-row: 2;
        width: 100%;
        height: 54px;
        min-height: 54px;
        margin: 0;
    }
    .gf-unified.gf-unified .form-draft { margin-top: 24px; }
    .gf-unified.gf-unified .form-draft .field { grid-template-rows: auto auto; }
    .gf-unified.gf-unified .form-draft textarea { min-height: 200px; }

    /* Czytelna tresc takze bez JavaScript; animacje nie obejmuja calej sekcji. */
    .gf-unified.gf-unified .reveal,
    .gf-unified.gf-unified .section-enter { opacity: 1; transform: none; }
    .gf-unified.gf-unified :is(.scroll-reveal, .reveal):focus-within { opacity: 1; transform: none; }
    @media (max-width: 1080px) {
        .gf-unified { --gf-gap: 36px; --gf-section-space: 80px; }
        .gf-unified.gf-unified :is(.hero-grid, .product-layout, .problem-grid,
    .film-layout, .app-layout, .team-grid, .training-grid, .contact-grid,
    .faq-layout, .bundle-grid, .team-bottom) { grid-template-columns: minmax(0, 1fr); }
        .gf-unified.gf-unified :is(.product-copy, .problem-copy, .faq-copy) { position: static; }
        .gf-unified.gf-unified .gf-brand-inner {
            grid-template-columns: 108px minmax(0, 1fr);
            grid-template-areas: "logo copy" ". action";
            grid-template-rows: 144px 54px;
            gap: 16px 24px;
            min-height: 214px;
        }
        .gf-unified.gf-unified .gf-brand-logo-box { width: 108px; height: 108px; }
        .gf-unified.gf-unified .gf-brand-logo { width: 86px; height: 86px; }
        .gf-unified.gf-unified .gf-brand-copy > strong { font-size: 32px; }
        .gf-unified.gf-unified .gf-brand-action { justify-self: start; }
        .gf-unified.gf-unified :is(.gf-form, .film-shell) { width: 100%; }
    }
    @media (max-width: 760px) {
        .gf-unified { --gf-gap: 32px; --gf-section-space: 64px; --gf-card-gap: 16px; }
        .gf-unified.gf-unified .container { width: min(var(--gf-max), calc(100% - 28px)); }
        .gf-unified.gf-unified .hero { padding: 52px 0 60px; }
        .gf-unified.gf-unified .section-head { display: block; margin-bottom: 32px; }
        .gf-unified.gf-unified .section-head .lead { margin-top: 18px; }
        .gf-unified.gf-unified :is(.obligation-card, .service-card, .proof-card, .card,
    .module-card, .audience-card, .offer-card, .process-card, .journey-step) { padding: 24px; }
        .gf-unified.gf-unified .gf-brand { padding: 16px 0; }
        .gf-unified.gf-unified .gf-brand-inner {
            grid-template-columns: 80px minmax(0, 1fr);
            grid-template-areas: "logo kicker" "logo title" "description description" "action action";
            grid-template-rows: 28px 52px 84px 54px;
            row-gap: 0;
            column-gap: 16px;
            min-height: 250px;
        }
        .gf-unified.gf-unified .gf-brand-logo-box { width: 80px; height: 80px; padding: 7px; }
        .gf-unified.gf-unified .gf-brand-logo { width: 64px; height: 64px; }
        .gf-unified.gf-unified .gf-brand-copy { display: contents; }
        .gf-unified.gf-unified .gf-brand-copy > span {
            grid-area: kicker;
            align-self: end;
            font-size: 10px;
            line-height: 1.4;
            letter-spacing: .1em;
        }
        .gf-unified.gf-unified .gf-brand-copy > strong {
            grid-area: title;
            align-self: center;
            margin: 0;
            font-size: 24px;
            line-height: 1.08;
        }
        .gf-unified.gf-unified .gf-brand-copy > p {
            grid-area: description;
            align-self: center;
            margin: 0;
            font-size: 14px;
            line-height: 1.5;
        }
        .gf-unified.gf-unified .gf-brand-action {
            width: 100%;
            min-height: 54px;
            justify-self: stretch;
            align-self: end;
            margin: 0;
        }
        .gf-unified.gf-unified .gf-form { padding: 24px; }
        .gf-unified.gf-unified .gf-form-consent { min-height: 108px; }
        .gf-unified.gf-unified .gf-form-header { min-height: 108px; }
    }
    @media (max-width: 600px) {
        .gf-unified.gf-unified .gf-form { padding: 20px; }
        .gf-unified.gf-unified .gf-form-header { min-height: 128px; }
        .gf-unified.gf-unified .gf-form-header h3 { font-size: 24px; }
        .gf-unified.gf-unified .gf-form .form-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            grid-template-rows: repeat(5, minmax(77px, auto)) minmax(139px, auto);
        }
        .gf-unified.gf-unified .gf-form .form-grid > .field { grid-column: 1 / -1; }
        .gf-unified.gf-unified .gf-form .form-grid > .gf-field-short { grid-column: auto; }
        .gf-unified.gf-unified .gf-form .gf-field-message { grid-row: 6; }
        .gf-unified.gf-unified .gf-form-consent { min-height: 128px; }
        .gf-unified.gf-unified .gf-form .form-actions { grid-template-rows: minmax(64px, auto) 54px; }
        .gf-unified.gf-unified :is(.hero-actions, .film-actions) > .btn { width: 100%; }
        .gf-unified.gf-unified .gf-brand-inner { grid-template-rows: 28px 52px 105px 54px; min-height: 271px; }
    }
    @media (prefers-reduced-motion: reduce) {
        .gf-unified *, .gf-unified *::before, .gf-unified *::after {
            animation: none !important;
            transition: none !important;
            scroll-behavior: auto !important;
        }
    }
    @media print {
        .gf-unified :is(.reveal, .scroll-reveal, .section-enter) { opacity: 1 !important; transform: none !important; }
    }

/* Pionowe przejscie bez uskoku: start dokladnie w kolorze sekcji FAQ. */
    .gf-ksc #kontakt {
        color:#fff;
        background:linear-gradient(180deg,
        var(--navy) 0%,
        var(--navy) 12%,
        var(--navy-mid) 52%,
        #18577f 78%,
        #236b96 100%
        );
        border-top:0;
    }
    .gf-ksc #kontakt .contact-grid > div:first-child h2 { color:#fff; }
    .gf-ksc #kontakt .contact-grid > div:first-child .eyebrow { color:#cdeeff; }
    .gf-ksc #kontakt .contact-grid > div:first-child .lead { color:rgba(255,255,255,.82); }
    .gf-ksc #kontakt .contact-point { color:rgba(255,255,255,.92); }
    .gf-ksc #kontakt .contact-point::before { color:#d8f1ff; }
    .gf-ksc #kontakt .legal-note { color:rgba(255,255,255,.68); }
    .gf-ksc #kontakt .form-card { color:var(--text); background:#fff; }


.gf-webinar {box-sizing:border-box;padding:0 20px 34px;background:#fff;font-family:Montserrat,Arial,sans-serif;color:#082c4d;scroll-margin-top:85px}
.gf-webinar *, .gf-webinar *::before, .gf-webinar *::after {box-sizing:border-box}
.gf-webinar .gf-webinar__panel {max-width:1240px;margin:0 auto;padding:28px 32px;display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:24px;align-items:center;background:linear-gradient(115deg,#ffe29a 0%,#ffd269 55%,#f7bd42 100%);border:1px solid #efbd53;border-radius:22px;box-shadow:0 12px 30px rgba(175,118,12,.12)}
.gf-webinar .gf-webinar__icon {width:64px;height:64px;display:grid;place-items:center;border-radius:18px;background:rgba(255,255,255,.4);border:1px solid rgba(8,44,77,.12)}
.gf-webinar .gf-webinar__icon svg {width:36px;height:36px;display:block;color:#082c4d}
.gf-webinar .gf-webinar__label {display:block;margin:0 0 8px;color:#082c4d;font-size:11px;line-height:1.4;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.gf-webinar h2.gf-webinar__title {margin:0 0 10px;color:#082c4d;font-size:clamp(23px,2.2vw,30px);line-height:1.15;font-weight:800;letter-spacing:-.035em}
.gf-webinar p.gf-webinar__bonus {margin:0;max-width:660px;color:#193b55;font-size:14px;line-height:1.65}
.gf-webinar .gf-webinar__bonus strong {font-weight:800}
.gf-webinar .gf-webinar__action {text-align:center}
.gf-webinar .gf-webinar__button {display:inline-flex;justify-content:center;align-items:center;gap:14px;min-height:54px;padding:16px 22px;margin:0;background:#082c4d;color:#fff;border:2px solid #082c4d;border-radius:12px;text-decoration:none;font-family:inherit;font-size:13px;font-weight:800;line-height:1.4;box-shadow:0 6px 16px rgba(8,44,77,.15);transition:background .2s,box-shadow .2s;cursor:pointer}
.gf-webinar .gf-webinar__button span {color:inherit}
.gf-webinar .gf-webinar__button:hover {background:#164b72;border-color:#164b72;color:#fff;box-shadow:0 8px 20px rgba(8,44,77,.22)}
.gf-webinar .gf-webinar__button:focus-visible {outline:3px solid #082c4d;outline-offset:5px}
.gf-webinar .gf-webinar__note {display:block;margin-top:9px;color:#193b55;font-size:11px;line-height:1.5}
@media(max-width:1050px){.gf-webinar .gf-webinar__panel{grid-template-columns:56px minmax(0,1fr);gap:18px}.gf-webinar .gf-webinar__icon{width:56px;height:56px}.gf-webinar .gf-webinar__action{grid-column:2;text-align:left}}
@media(max-width:600px){.gf-webinar{padding:0 14px 24px}.gf-webinar .gf-webinar__panel{padding:24px;grid-template-columns:1fr;gap:16px;border-radius:18px}.gf-webinar .gf-webinar__action{grid-column:1}.gf-webinar .gf-webinar__button{width:100%;padding:15px 12px}.gf-webinar .gf-webinar__note{text-align:center}}

.gf-webinar .gf-webinar__panel{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:0 28px;padding:28px 32px;overflow:hidden}
.gf-webinar .gf-webinar__icon{display:none}
.gf-webinar .gf-webinar__copy{grid-column:1;grid-row:1;align-self:end}
.gf-webinar .gf-webinar__action{grid-column:1;grid-row:2;text-align:left;align-self:start;margin-top:18px}
.gf-webinar .gf-webinar__visual{grid-column:2;grid-row:1 / 3;align-self:end;margin:0 -32px -28px 0;position:relative;isolation:isolate}
.gf-webinar .gf-webinar__visual::before{content:"";position:absolute;z-index:-1;left:-18px;right:0;bottom:0;height:27%;border-radius:95% 0 0 0 / 100% 0 0 0;background:linear-gradient(160deg,#f8f0df 0%,#e5d6b9 100%);border-top:2px solid rgba(255,255,255,.7);box-shadow:0 -5px 18px rgba(128,91,30,.06)}
.gf-webinar .gf-webinar__visual img{display:block;width:100%;max-width:100%;height:auto;border-radius:0}
@media(max-width:600px){.gf-webinar .gf-webinar__panel{grid-template-columns:1fr;padding:24px;gap:0}.gf-webinar .gf-webinar__visual{grid-column:1;grid-row:3;margin:22px -24px -24px}.gf-webinar .gf-webinar__visual img{max-height:none;object-fit:contain;border-radius:0}.gf-webinar .gf-webinar__action{grid-column:1;grid-row:2}}

/* Uklad Cyber Format zgodny z docelowym widokiem KSC/NIS2. */
#gf-ksc-page { overflow-x: clip; }
#gf-ksc-page > .hero { padding-top: 52px; padding-bottom: 32px; }
#gf-ksc-page .hero-grid { align-items: center; }
#gf-ksc-page .hero-card { padding: 30px; }
#gf-ksc-page .hero-card h3 { max-width: 390px; }
#gf-ksc-page .hero-card-intro { margin-bottom: 22px; }
#gf-ksc-page .deadline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 20px 0;
    margin: 0;
    border: 0;
    border-top: 1px solid rgba(255,255,255,.17);
    background: transparent;
    border-radius: 0;
}
#gf-ksc-page .deadline-date {
    order: -1;
    display: inline-flex;
    padding: 5px 11px;
    border-radius: 7px;
    background: rgba(246,182,0,.14);
    color: #ffcf4c;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: .025em;
}
#gf-ksc-page .deadline strong { font-size: 16px; line-height: 1.45; }
#gf-ksc-page .deadline span { margin-top: 5px; font-size: 13px; line-height: 1.55; }
#gf-ksc-page .hero-card small { margin-top: 2px; padding-top: 18px; line-height: 1.65; }
#gf-ksc-page > .gf-webinar { padding-top: 0; padding-bottom: 38px; background: #f8fbfd; }

#gf-ksc-page .cyber-feature {
    position: relative;
    overflow: hidden;
    padding: 62px 0 30px;
    background:
        radial-gradient(ellipse at 94% 12%, rgba(20,139,167,.2), transparent 50%),
        linear-gradient(115deg, #051c33, #082c4d 66%, #0d416d);
    color: #fff;
    scroll-margin-top: 145px;
}
#gf-ksc-page .cyber-grid {
    display: grid;
    grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr);
    gap: 46px;
    align-items: center;
}
#gf-ksc-page .cyber-copy,
#gf-ksc-page .cyber-preview { min-width: 0; }
#gf-ksc-page .cyber-copy .eyebrow { color: #c3dce9; margin-bottom: 17px; }
#gf-ksc-page .cyber-copy h2 { color: #fff; font-size: clamp(30px,3.3vw,45px); line-height: 1.13; }
#gf-ksc-page .cyber-copy h2 span { color: #ffca35; }
#gf-ksc-page .cyber-copy .lead { margin: 21px 0 0; color: #d0dfe9; font-size: 17px; line-height: 1.7; }
#gf-ksc-page .cyber-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}
#gf-ksc-page .cyber-features li {
    margin: 0;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #496176;
    border-radius: 999px;
    color: #edf6fb;
}
#gf-ksc-page .cyber-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
#gf-ksc-page .cyber-actions .btn { font-size: 14px; min-height: 50px; padding: 12px 19px; }
#gf-ksc-page .cyber-webinar-link {
    border: 1px solid #768d9e;
    color: #fff;
    background: rgba(255,255,255,.06);
    box-shadow: none;
}
#gf-ksc-page .cyber-webinar-link:hover,
#gf-ksc-page .cyber-webinar-link:focus-visible { color: #082c4d; background: #fff; border-color: #fff; }
#gf-ksc-page .cyber-registration-note { margin-top: 12px; color: #b4cad8; font-size: 12px; line-height: 1.6; }
#gf-ksc-page .cyber-preview {
    margin: 0;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 0 26px 0 26px;
    background: rgba(255,255,255,.07);
    box-shadow: 0 24px 55px rgba(0,0,0,.22);
}
#gf-ksc-page .cyber-preview-bar {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    align-items: center;
    padding: 3px 3px 14px;
    color: #d0e0ea;
    font-size: 10px;
    letter-spacing: .09em;
    font-weight: 700;
    text-transform: uppercase;
}
#gf-ksc-page .cyber-preview-bar > span,
#gf-ksc-page .cyber-preview figcaption > span { color: inherit; }
#gf-ksc-page .cyber-dots { display: flex; gap: 5px; flex-shrink: 0; }
#gf-ksc-page .cyber-dots i { display: block; width: 6px; height: 6px; border-radius: 50%; background: #8197aa; }
#gf-ksc-page .cyber-dots i:first-child { background: #f6b600; }
#gf-ksc-page .cyber-image-open {
    display: block;
    width: 100%;
    min-height: 0;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 3px;
    overflow: hidden;
    background: #fff;
    box-shadow: none;
    cursor: zoom-in;
    line-height: 0;
}
#gf-ksc-page .cyber-image-open .app-shot {
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}
#gf-ksc-page .cyber-image-open .app-shot::before { display: none; }
#gf-ksc-page .cyber-image-open img { display: block; width: 100%; height: auto; }
#gf-ksc-page .cyber-preview figcaption {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 3px 1px;
    color: #c7d9e6;
    font-size: 11px;
    line-height: 1.5;
}
#gf-ksc-page .cyber-zoom {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    height: auto;
    padding: 0;
    margin: 0;
    border: 0;
    color: #ffcf4c;
    background: transparent;
    box-shadow: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}
#gf-ksc-page .cyber-disclaimer {
    margin: 29px 0 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.15);
    color: #b4cad8;
    font-size: 12px;
    line-height: 1.7;
    max-width: none;
}
#gf-ksc-page .cyber-disclaimer strong { color: #d8e5ed; }

#cyber-preview-dialog {
    width: min(1240px,94vw);
    max-width: 94vw;
    max-height: 92vh;
    padding: 18px;
    margin: auto;
    overflow: auto;
    border: 1px solid #536b80;
    border-radius: 15px;
    background: #082c4d;
    color: #fff;
    box-shadow: 0 30px 100px #0008;
}
#cyber-preview-dialog::backdrop { background: rgba(2,15,28,.82); backdrop-filter: blur(5px); }
#cyber-preview-dialog .cyber-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
#cyber-preview-dialog h2 { margin: 0; font-size: 18px; line-height: 1.4; color: #fff; }
#cyber-preview-dialog button {
    margin: 0;
    min-height: 44px;
    height: auto;
    padding: 8px 14px;
    border: 1px solid #8ca7bc;
    border-radius: 8px;
    color: #fff;
    background: transparent;
    font: 600 13px Montserrat,Arial,sans-serif;
    letter-spacing: 0;
    text-transform: none;
}
#cyber-preview-dialog img { display: block; width: 100%; height: auto; border-radius: 5px; }
#cyber-preview-dialog :focus-visible { outline: 3px solid #ffca35; outline-offset: 3px; }

@media (max-width: 1050px) {
    #gf-ksc-page .cyber-grid { gap: 30px; }
    #gf-ksc-page .cyber-actions { flex-direction: column; align-items: flex-start; }
    #gf-ksc-page .cyber-actions .btn { width: 100%; }
}
@media (max-width: 900px) {
    #gf-ksc-page .cyber-grid { grid-template-columns: 1fr; gap: 32px; }
    #gf-ksc-page .cyber-copy { max-width: 680px; }
    #gf-ksc-page .cyber-actions { flex-direction: row; }
    #gf-ksc-page .cyber-actions .btn { width: auto; }
}
@media (max-width: 760px) {
    #gf-ksc-page > .hero { padding-top: 36px; padding-bottom: 24px; }
    #gf-ksc-page .hero-card { padding: 25px; }
    #gf-ksc-page > .gf-webinar { padding-bottom: 28px; }
    #gf-ksc-page .cyber-feature { padding: 40px 0 24px; }
    #gf-ksc-page .cyber-copy h2 { font-size: clamp(29px,7vw,38px); }
    #gf-ksc-page .cyber-copy .lead { font-size: 16px; }
    #gf-ksc-page .cyber-preview { padding: 11px; }
    #gf-ksc-page .cyber-disclaimer { margin-top: 24px; }
}
@media (max-width: 480px) {
    #gf-ksc-page .cyber-actions .btn { width: 100%; }
    #gf-ksc-page .cyber-preview-bar { font-size: 9px; }
    #cyber-preview-dialog { padding: 12px; }
    #cyber-preview-dialog h2 { font-size: 15px; }
}

/* Czytelne etykiety na kafelkach kompetencji. */
#gf-ksc-page .team-number:nth-child(1),
#gf-ksc-page .team-number:nth-child(3) { color: #fff; }
#gf-ksc-page .team-number:nth-child(2),
#gf-ksc-page .team-number:nth-child(4) { color: #082c4d; }
#gf-ksc-page .team-number > :is(strong, span) { color: inherit; }
