/* ════════════════════════════════════════════════════════════
   HEX SERWIS — FRESH START
   fresh-www.css  ·  Kompletny plik standalone
   Prefix: .hex-
   ════════════════════════════════════════════════════════════ */


/* ████████████████████████████████████████████████████████████
   1. OVERRIDE CZCIONEK I ZMIENNYCH
   Na stronie publicznej używamy PlusJakartaSans (UI/nav/przyciski)
   i Nunito Sans (treść). Nadpisujemy tokeny z base.css.
   ████████████████████████████████████████████████████████████ */

:root {
    --font-ui:      'PlusJakartaSans', sans-serif;
    --font-body:    'Nunito Sans', sans-serif;

    /* Zielony teal — telefon, success na www (inny niż CRM #28cd41) */
    --color-green:        #00B37D;
    --color-green-bg:     #EDFAF4;
    --color-green-border: #A7F3D0;

    /* Szerokość kontenera strony publicznej */
    --max-w: 1200px;

    /* Wysokość nagłówka */
    --nav-h: 68px;
}


/* ████████████████████████████████████████████████████████████
   2. GLOBAL — BODY I HTML
   ████████████████████████████████████████████████████████████ */

html {
    scroll-behavior: smooth;
}

body {
    background: var(--color-white);
    color: var(--color-gray-700);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

img,
video,
iframe {
    display: block;
    max-width: 100%;
}

button {
    font-family: inherit;
    cursor: pointer;
}


/* ████████████████████████████████████████████████████████████
   3. TYPOGRAFIA
   ████████████████████████████████████████████████████████████ */

h1 {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--color-black);
}

h2 {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: clamp(1.625rem, 3.5vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-black);
}

h3 {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.4;
    color: var(--color-gray-900);
}

h4 {
    font-family: var(--font-ui);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--color-gray-900);
}

p {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-gray-500);
}

p + p {
    margin-top: var(--space-4);
}

strong,
b {
    font-weight: 600;
}

/* Kolor akcentu w nagłówkach */
.accent {
    color: var(--color-primary);
}


/* ████████████████████████████████████████████████████████████
   4. NARZĘDZIA (UTILITIES)
   ████████████████████████████████████████████████████████████ */

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Pill-tag nad nagłówkami sekcji */
.label-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-family: var(--font-ui);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--border-radius-full);
}

.label-tag--green {
    background: var(--color-green-bg);
    color: var(--color-green);
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* Separator sekcji */
.section-sep {
    border: none;
    border-top: 1px solid var(--border-color-mid);
    margin: 0;
}


/* ████████████████████████████████████████████████████████████
   5. PRZYCISKI
   ████████████████████████████████████████████████████████████ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.9375rem;
    line-height: 1;
    white-space: nowrap;
    padding: 13px var(--space-6);
    border-radius: var(--border-radius-md);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: background 0.18s ease, box-shadow 0.18s ease,
                transform 0.18s ease, border-color 0.18s ease;
    text-decoration: none;
}

/* Niebieski — główne CTA */
.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 87, 255, 0.25);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    box-shadow: 0 4px 16px rgba(0, 87, 255, 0.35);
    transform: translateY(-1px);
    color: var(--color-white);
}

/* Biały z obrysem — działania drugorzędne */
.btn-secondary {
    background: var(--color-white);
    color: var(--color-gray-900);
    border: 1.5px solid var(--border-color-mid);
}

.btn-secondary:hover {
    border-color: var(--color-gray-700);
    color: var(--color-black);
}

/* Zielony — numer telefonu */
.btn-phone {
    background: var(--color-green-bg);
    color: var(--color-green);
    border: 1.5px solid var(--color-green-border);
    font-size: 1rem;
}

.btn-phone:hover {
    background: #D1FAE5;
    color: var(--color-green);
}

/* Ciemny — na ciemnym tle */
.btn-dark {
    background: var(--color-white);
    color: var(--color-black);
    font-weight: 700;
}

.btn-dark:hover {
    background: var(--color-gray-100);
}

/* Modyfikatory rozmiaru */
.btn-sm {
    font-size: 0.8125rem;
    padding: 9px var(--space-4);
}

.btn-lg {
    font-size: 1rem;
    padding: var(--space-4) var(--space-8);
}


/* ████████████████████████████████████████████████████████████
   6. SITE HEADER
   ─────────────────────────────────────────────────────────────
   DOM: <div.nav-overlay> + <nav.nav-panel> + <header.site-header>
   Overlay i panel są RODZEŃSTWEM headera (nie dziećmi).
   header z-index 401 > panel z-index 400 → hamburger zawsze widoczny.
   ████████████████████████████████████████████████████████████ */

.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color-mid);
}

.site-header__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-6);
    height: var(--nav-h);
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

/* ── Logo ── */
.site-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1.0625rem;
    letter-spacing: -0.02em;
    color: var(--color-black);
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
}

/*.site-logo i      { font-size: 1.375rem; color: var(--color-white); }*/
/*.site-logo strong { color: var(--color-white); }*/
.site-logo:hover  { color: rgba(255, 255, 255, 0.8); }

/* ── Desktop nawigacja ── */
.site-desknav {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.site-desknav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.site-desknav__item { position: relative; }

.site-desknav__link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: var(--space-2) var(--space-3);
    font-family: var(--font-ui);
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--color-gray-700);
    text-decoration: none;
    border-radius: var(--border-radius-md);
    white-space: nowrap;
    transition: color 0.15s, background 0.15s;
}
.site-desknav__link:hover                           { color: var(--color-black); background: var(--color-gray-100); }
.site-desknav__item.is-active > .site-desknav__link { color: var(--color-primary); font-weight: 700; }

.site-desknav__link i.icon-angle-down {
    font-size: 0.75rem;
    color: var(--color-gray-400);
    transition: transform 0.2s;
}
.site-desknav__item--sub:hover > .site-desknav__link i.icon-angle-down { transform: rotate(180deg); }

/* Most niewidoczny między linkiem a dropdownem — zapobiega zamknięciu przy przesuwaniu kursora */
.site-desknav__item--sub::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
}

/* Dropdown desktop */
.site-desknav__sub {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 260px;
    background: var(--color-white);
    border: 1.5px solid var(--border-color-mid);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--space-2);
    list-style: none;
    margin: 0;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
    z-index: var(--z-dropdown);
}

.site-desknav__sub::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top: none;
    border-bottom-color: var(--border-color-mid);
}

.site-desknav__item--sub:hover > .site-desknav__sub,
.site-desknav__item--sub:focus-within > .site-desknav__sub {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.site-desknav__sub a {
    display: block;
    padding: var(--space-2) var(--space-3);
    font-family: var(--font-ui);
    font-size: 0.875rem;
    color: var(--color-gray-700);
    text-decoration: none;
    border-radius: var(--border-radius-md);
    transition: color 0.1s, background 0.1s;
}
.site-desknav__sub a:hover        { color: var(--color-black); background: var(--color-gray-100); }
.site-desknav__sub li.is-active a { color: var(--color-primary); font-weight: 700; }

/* ── Prawa strona headera ── */
.site-header__right {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
}

.site-lang {
    font-family: var(--font-ui);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-gray-400);
    text-decoration: none;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--border-radius-sm);
    transition: color 0.15s;
}
.site-lang:hover { color: var(--color-black); }

.site-header__login {
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    color: var(--color-gray-700);
    text-decoration: none;
    padding: 12px 16px;
    border-radius: var(--border-radius-md);
    border: 1.5px solid var(--border-color-mid);
    transition: color 0.15s, border-color 0.15s;
}
.site-header__login:hover     { color: var(--color-black); border-color: var(--color-gray-700); }
.site-header__login.is-active { color: var(--color-primary); border-color: var(--color-primary); }

.site-header__cta {
    font-size: 0.875rem;
    white-space: nowrap;
}

/* ── Dropdown profilu ── */
.site-header__user { position: relative; }

.site-header__user-btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: 12px 16px;
    background: none;
    border: 1.5px solid var(--border-color-mid);
    border-radius: var(--border-radius-md);
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    color: var(--color-gray-700);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    white-space: nowrap;
}
.site-header__user-btn i.icon-user       { color: var(--color-primary); font-size: 0.875rem; }
.site-header__user-btn i.icon-angle-down { font-size: 0.75rem; color: var(--color-gray-400); transition: transform 0.2s; }
.site-header__user-btn:hover                                         { border-color: var(--color-gray-400); background: var(--color-gray-50); }
.site-header__user.is-open .site-header__user-btn                    { border-color: var(--color-primary); background: var(--color-gray-50); }
.site-header__user.is-open .site-header__user-btn i.icon-angle-down { transform: rotate(180deg); }

.site-header__user-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--color-white);
    border: 1.5px solid var(--border-color-mid);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--space-2);
    list-style: none;
    margin: 0;
    min-width: 190px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
    z-index: var(--z-dropdown);
}
.site-header__user.is-open .site-header__user-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.site-header__user-menu a {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    font-family: var(--font-ui);
    font-size: 0.875rem;
    color: var(--color-gray-700);
    text-decoration: none;
    border-radius: var(--border-radius-md);
    transition: color 0.1s, background 0.1s;
}
.site-header__user-menu a:hover { color: var(--color-black); background: var(--color-gray-100); }
.site-header__user-menu a i     { font-size: 0.875rem; color: var(--color-gray-400); width: 16px; text-align: center; }

.site-header__user-sep    { height: 1px; background: var(--border-color-mid); margin: var(--space-1) 0; }
.site-header__user-logout { color: var(--color-error) !important; }
.site-header__user-logout:hover { background: #fff1f0 !important; }
.site-header__user-logout i     { color: var(--color-error) !important; }

/* ── Hamburger (ukryty na desktop ≥ 1025px) ── */
.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    border-radius: var(--border-radius-md);
    flex-shrink: 0;
}
.nav-burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--color-gray-700);
    border-radius: 2px;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

/* Overlay i panel mobilny — domyślnie ukryte */
.nav-overlay { display: none; }
.nav-panel   { display: none; }

/* Stopka panelu — domyślnie ukryta */
.nav-panel__footer  { display: none; }

.nav-panel__action {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2);
    font-family: var(--font-ui);
    font-size: 0.875rem;
    color: var(--color-gray-600);
    text-decoration: none;
    border-radius: var(--border-radius-md);
    transition: color 0.15s;
}
.nav-panel__action:hover          { color: var(--color-black); }
.nav-panel__action--danger        { color: var(--color-error); }
.nav-panel__action--danger:hover  { background: #fff1f0; }

.nav-panel__lang {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-gray-400);
    text-decoration: none;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--border-radius-sm);
    transition: color 0.15s;
}
.nav-panel__lang:hover { color: var(--color-black); }


/* ████████████████████████████████████████████████████████████
   7. MOBILE NAV (≤ 1024px)
   ─────────────────────────────────────────────────────────────
   .nav-panel i .nav-overlay są RODZEŃSTWEM headera, nie dziećmi.
   header z-index 401 > panel z-index 400 → hamburger zawsze widoczny.
   ████████████████████████████████████████████████████████████ */

@media (max-width: 1024px) {

    /* Header ponad panelem */
    .site-header {
        z-index: calc(var(--z-modal) + 1);
    }

    .site-header__inner {
        padding: 0 var(--space-4);
    }

    /* Wyrównanie prawej strony gdy desknav ukryta */
    .site-header__right {
        margin-left: auto;
    }

    /* Chowamy elementy desktop-only */
    .site-desknav,
    .site-lang,
    .site-header__login,
    .site-header__user {
        display: none;
    }

    /* Hamburger widoczny */
    .nav-burger {
        display: flex;
    }

    /* CTA mniejsze na mobile, ale widoczne */
    .site-header__cta {
        font-size: 0.8125rem !important;
        padding: 7px 12px !important;
    }

    /* ── Overlay ─────────────────────────────────────────── */
    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
        z-index: var(--z-modal);
    }

    /* ── Panel (slide-in z prawej) ───────────────────────── */
    .nav-panel {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 85vw);
        background: var(--color-white);
        border-left: 1px solid var(--border-color-mid);
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
        padding: calc(var(--nav-h) + var(--space-4)) var(--space-4) var(--space-8);
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: var(--z-modal);
        box-sizing: border-box;
    }

    /* ── Stan otwarty — html.nav-open ──────────────────────── */
    html.nav-open              { overflow: hidden; }
    html.nav-open .nav-overlay { opacity: 1; pointer-events: auto; }
    html.nav-open .nav-panel   { transform: translateX(0);}

    /* Hamburger → X */
    html.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px)  rotate(45deg); }
    html.nav-open .nav-burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    html.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* ── Lista pozycji panelu ────────────────────────────── */
    .nav-panel__list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    .nav-panel__item {
        border-bottom: 1px solid var(--border-color-mid);
    }

    .nav-panel__link {
        display: block;
        padding: var(--space-4) var(--space-2);
        font-family: var(--font-ui);
        font-size: 1rem;
        color: var(--color-gray-700);
        text-decoration: none;
        transition: color 0.15s;
    }
    .nav-panel__link:hover                        { color: var(--color-black); }
    .nav-panel__item.is-active > .nav-panel__link { color: var(--color-primary); font-weight: 700; }

    /* Wiersz: link + przycisk rozwinięcia (osobny od linka!) */
    .nav-panel__row {
        display: flex;
        align-items: center;
    }

    .nav-panel__row > .nav-panel__link {
        flex: 1;
    }

    .nav-panel__expand {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--color-gray-400);
        flex-shrink: 0;
        transition: color 0.15s;
    }
    .nav-panel__expand i { font-size: 0.75rem; transition: transform 0.25s; }
    .nav-panel__item--sub.is-expanded .nav-panel__expand i { transform: rotate(180deg); }

    /* ── Podmenu accordion ────────────────────────────────── */
    .nav-panel__sub {
        list-style: none;
        margin: 0;
        padding: 0;
        background: var(--color-gray-50);
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease;
    }

    .nav-panel__item--sub.is-expanded > .nav-panel__sub {
        max-height: 500px;
    }

    .nav-panel__sub a {
        display: block;
        padding: var(--space-3) var(--space-5);
        font-family: var(--font-ui);
        font-size: 0.9375rem;
        color: var(--color-gray-600);
        text-decoration: none;
        border-bottom: 1px solid var(--border-color-mid);
        transition: color 0.1s, background 0.1s;
    }
    .nav-panel__sub li:last-child a { border-bottom: none; }
    .nav-panel__sub a:hover,
    .nav-panel__sub li.is-active a  { color: var(--color-primary); background: var(--color-primary-light); }

    /* ── Stopka panelu ────────────────────────────────────── */
    .nav-panel__footer {
        display: flex;
        flex-direction: column;
        gap: var(--space-1);
        margin-top: auto;
        padding-top: var(--space-6);
        border-top: 1px solid var(--border-color-mid);
    }

}


/* ████████████████████████████████████████████████████████████
   0. HEADER — nadpisanie na ciemny motyw
   ████████████████████████████████████████████████████████████ */

.site-header {
    background: rgba(11, 13, 18, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.site-logo {
    color: #fff;
}

.site-logo:hover {
    color: rgba(255, 255, 255, 0.8);
}

.site-desknav__link {
    color: rgba(255, 255, 255, 0.55);
}

.site-desknav__link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

.site-desknav__item.is-active > .site-desknav__link {
    color: #fff;
    font-weight: 600;
}

.site-desknav__link i.icon-angle-down {
    color: rgba(255, 255, 255, 0.3);
}

/* Dropdown podmenu – ciemny motyw */
.site-desknav__sub {
    background: var(--hex-ink);
    border-color: rgba(255, 255, 255, 0.1);
}
.site-desknav__sub::before {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}
.site-desknav__sub a {
    color: rgba(255, 255, 255, 0.7);
}
.site-desknav__sub a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}
.site-desknav__sub li.is-active a {
    color: var(--hex-blue);
}

.site-lang {
    color: rgba(255, 255, 255, 0.3);
}

.site-lang:hover {
    color: rgba(255, 255, 255, 0.7);
}

.site-header__login {
    color: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.15);
}

.site-header__login:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    background: transparent;
}

.site-header__user-btn {
    color: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.15);
    background: transparent;
}

.site-header__user-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
}

.site-header__user.is-open .site-header__user-btn {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
}

.site-header__user-menu {
    background: var(--hex-ink);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.site-header__user-menu a {
    color: rgba(255, 255, 255, 0.7);
}

.site-header__user-menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

.site-header__user-menu a i {
    color: rgba(255, 255, 255, 0.3);
}

.site-header__user-sep {
    background: rgba(255, 255, 255, 0.08);
}

.site-header__user-logout:hover {
    background: rgba(248, 113, 113, 0.12) !important;
}

.nav-burger span {
    background: rgba(255, 255, 255, 0.75);
}

/* Panel mobilny – ciemny motyw */
@media (max-width: 1024px) {
    .nav-panel {
        background: var(--hex-ink);
        border-left-color: rgba(255, 255, 255, 0.08);
        box-shadow: -4px 0 32px rgba(0, 0, 0, 0.5);
    }
    .nav-panel__item {
        border-bottom-color: rgba(255, 255, 255, 0.07);
    }
    .nav-panel__link {
        color: rgba(255, 255, 255, 0.65);
    }
    .nav-panel__link:hover,
    .nav-panel__item.is-active > .nav-panel__link {
        color: #fff;
    }
    .nav-panel__expand {
        color: rgba(255, 255, 255, 0.3);
    }
    .nav-panel__sub {
        background: rgba(255, 255, 255, 0.04);
    }
    .nav-panel__sub a {
        color: rgba(255, 255, 255, 0.5);
        border-bottom-color: rgba(255, 255, 255, 0.06);
    }
    .nav-panel__sub a:hover,
    .nav-panel__sub li.is-active a {
        color: #fff;
        background: rgba(255, 255, 255, 0.06);
    }
    .nav-panel__footer {
        border-top-color: rgba(255, 255, 255, 0.08);
    }
    .nav-panel__action {
        color: rgba(255, 255, 255, 0.55);
    }
    .nav-panel__action:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.06);
    }
    .nav-panel__action--danger       { color: #f87171; }
    .nav-panel__action--danger:hover { background: rgba(248, 113, 113, 0.1); }
    .nav-panel__lang {
        color: rgba(255, 255, 255, 0.35);
    }
    .nav-panel__lang:hover {
        color: rgba(255, 255, 255, 0.7);
    }

    /* Ukryj CTA "Nowe zlecenie" w headerze – sticky bar na dole wystarczy */
    .site-header__cta {
        display: none;
    }
}


/* ████████████████████████████████████████████████████████████
   0b. STOPKA — nowy ciemny komponent
   ████████████████████████████████████████████████████████████ */

.hex-footer {
    background: var(--hex-black);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: clamp(56px, 8vw, 88px) 0 0;
}

.hex-footer__inner {
    max-width: var(--hex-max);
    margin: 0 auto;
    padding: 0 var(--hex-px);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    padding-bottom: 56px;
}

/* Kolumna z logo i opisem */
.hex-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hex-footer__logo {
    font-family: var(--hex-ui);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hex-footer__logo i      { color: var(--color-white); font-size: 1.25rem; }
.hex-footer__logo strong { color: var(--color-white); }

.hex-footer__tagline {
    font-family: var(--hex-body);
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.35);
    max-width: 28ch;
    margin: 0;
}

.hex-footer__reg {
    font-size: 0.8125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.2);
    margin: 0;
}

.hex-footer__ncage {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--hex-ui);
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 4px;
    text-decoration: none;
}

.hex-footer__ncage:hover {
    color: rgba(255, 255, 255, 0.7);
}

.hex-footer__ncage::before {
    content: 'NATO';
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--hex-blue);
    background: color-mix(in srgb, var(--hex-blue) 15%, transparent);
    border: 1px solid color-mix(in srgb, var(--hex-blue) 35%, transparent);
    border-radius: 3px;
    padding: 1px 5px;
}

.hex-footer__legal {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}
.hex-footer__legal a {
    font-size: 0.8rem;
    color: rgba(255,255,255,.45);
    text-decoration: none;
}
.hex-footer__legal a:hover {
    color: rgba(255,255,255,.8);
}

/* Kolumny z linkami */
.hex-footer__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hex-footer__col-title {
    font-family: var(--hex-ui);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    margin: 0 0 4px;
}

.hex-footer__col a {
    font-family: var(--hex-body);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.15s;
}

.hex-footer__col a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.hex-footer__col p {
    font-family: var(--hex-body);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.65;
    margin: 0;
}

/* Status badge */
.hex-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--badge-color, #34d399);
    letter-spacing: 0.02em;
}
.hex-status-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--badge-color, #34d399);
    flex-shrink: 0;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--badge-color, #34d399) 25%, transparent);
}

/* Pasek dolny */
.hex-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px var(--hex-px);
    max-width: var(--hex-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.hex-footer__copy {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.18);
    margin: 0;
}

.hex-footer__bottom-links {
    display: flex;
    gap: 20px;
}

.hex-footer__bottom-links a {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.25);
    text-decoration: none;
    transition: color 0.15s;
}

.hex-footer__bottom-links a:hover {
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 900px) {
    .hex-footer__inner {
        grid-template-columns: 1fr 1fr;
    }
    .hex-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .hex-footer__inner {
        grid-template-columns: 1fr;
    }
}

/* ── Lokalna paleta (fallbacki na wypadek braku base.css) ── */
:root {
    --hex-black:   #0b0d12;
    --hex-ink:     #13161f;
    --hex-blue:    var(--color-primary, #2461eb);
    --hex-white:   #ffffff;
    --hex-off:     #f6f5f2;
    --hex-gray:    #888;
    --hex-border:  rgba(0, 0, 0, 0.07);
    --hex-max:     1280px;
    --hex-px:      clamp(20px, 5vw, 64px);
    --hex-ui:      var(--font-ui, 'system-ui', sans-serif);
    --hex-body:    var(--font-body, 'Georgia', serif);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
.animate-spin { animation: spin 0.7s linear infinite; display: inline-block; }


/* ████████████████████████████████████████████████████████████
   1. HERO
   Lewa strona: ciemna + tekst
   Prawa strona: zdjęcie inżyniera, płynne przejście
   ████████████████████████████████████████████████████████████ */

.hex-hero {
    min-height: 100svh;
    display: grid;
    grid-template-columns: 54fr 46fr;
    background: var(--hex-black);
    overflow: hidden;
    container-type: inline-size;
}

/* Lewa kolumna — treść */
.hex-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 0 100px max(var(--hex-px), calc((100cqw - var(--hex-max)) / 2 + var(--hex-px)));
    gap: 36px;
}

.hex-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--hex-ui);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.hex-hero__eyebrow::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--hex-blue);
    flex-shrink: 0;
}

.hex-hero__eyebrow a {
    color: inherit;
    text-decoration: none;
}

.hex-hero__eyebrow a:hover {
    color: rgba(255, 255, 255, 0.65);
}

.hex-hero__h1 {
    font-family: var(--hex-ui);
    font-size: clamp(2.75rem, 5.5vw, 5rem);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.035em;
    color: #fff;
    margin: 0;
}

.hex-hero__h1 em {
    font-style: normal;
    color: var(--hex-blue);
}

.hex-hero__lead {
    font-family: var(--hex-body);
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.45);
    max-width: 40ch;
    margin: 0;
}

/* Statystyki inline */
.hex-hero__stats {
    display: flex;
    gap: 0;
}

.hex-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-right: 28px;
}

.hex-hero__stat + .hex-hero__stat {
    padding-left: 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.hex-hero__stat-n {
    font-family: var(--hex-ui);
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1;
}

.hex-hero__stat-l {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Przyciski CTA */
.hex-hero__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Prawa kolumna — zdjęcie z płynnym przejściem */
.hex-hero__photo {
    position: relative;
    overflow: hidden;
}

.hex-hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 0%;
    display: block;
    opacity: 0.8;
}

/* Gradient: ciemność → zdjęcie */
.hex-hero__photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        var(--hex-black) 0%,
        rgba(11, 13, 18, 0.4) 35%,
        transparent 70%
    );
    z-index: 1;
    pointer-events: none;
}

/* Gradient: cień pod spodem */
.hex-hero__photo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--hex-black), transparent);
    z-index: 1;
    pointer-events: none;
}


/* ████████████████████████████████████████████████████████████
   2. METRICS — trzy duże liczby na ciemnym tle
   ████████████████████████████████████████████████████████████ */

.hex-metrics {
    background: var(--hex-ink);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hex-metrics__grid {
    max-width: var(--hex-max);
    margin: 0 auto;
    padding: 0 var(--hex-px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.hex-metric {
    padding: 56px 40px;
    text-align: center;
    position: relative;
}

.hex-metric + .hex-metric::before {
    content: '';
    position: absolute;
    left: 0;
    top: 32px;
    bottom: 32px;
    width: 1px;
    background: rgba(255, 255, 255, 0.06);
}

.hex-metric__n {
    display: block;
    font-family: var(--hex-ui);
    font-size: clamp(2.75rem, 5vw, 4rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.05em;
    line-height: 1;
}

.hex-metric__l {
    display: block;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 10px;
}

.hex-metric__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s;
}
.hex-metric__link:hover {
    opacity: 0.7;
}


/* ████████████████████████████████████████████████████████████
   3. PROCESS — cztery kroki z duchowymi cyframi
   ████████████████████████████████████████████████████████████ */

.hex-process {
    background: var(--hex-white);
    padding: clamp(80px, 12vw, 144px) 0;
}

.hex-process__inner {
    max-width: var(--hex-max);
    margin: 0 auto;
    padding: 0 var(--hex-px);
}

.hex-section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--hex-ui);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hex-blue);
    margin-bottom: 20px;
}

.hex-section-label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--hex-blue);
}

.hex-process__h2 {
    font-family: var(--hex-ui);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--hex-black);
    margin: 0 0 72px;
    max-width: 22ch;
}

.hex-process__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.hex-step {
    padding: 0 36px 0 0;
    border-right: 1px solid rgba(0, 0, 0, 0.07);
}

.hex-step:first-child {
    padding-left: 0;
}

.hex-step:last-child {
    border-right: none;
}

.hex-step + .hex-step {
    padding-left: 36px;
}

/* Ducha cyfra — dekoracyjna */
.hex-step__ghost {
    font-family: var(--hex-ui);
    font-size: 6.5rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.04);
    line-height: 0.85;
    letter-spacing: -0.06em;
    display: block;
    margin-bottom: 20px;
    user-select: none;
}

.hex-step__title {
    font-family: var(--hex-ui);
    font-size: 1.0625rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 12px;
}

.hex-step__body {
    font-family: var(--hex-body);
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #777;
}


/* ████████████████████████████████████████████████████████████
   SYMPTOM CARDS — karty diagnostyczne awarii (.hex-symp)
   ████████████████████████████████████████████████████████████ */

.hex-symp {
    background: #f7f7f8;
    padding: clamp(64px, 10vw, 112px) 0;
}
.hex-symp__h2 {
    font-family: var(--hex-ui);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--hex-black);
    margin: 12px 0 0;
    line-height: 1.15;
}
.hex-symp__h2 em {
    font-style: normal;
    color: var(--hex-blue);
}
.hex-symp__lead {
    margin: 16px 0 0;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--hex-muted);
    max-width: 60ch;
}
.hex-symp__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

/* ── Karta ─────────────────────────────────────────── */
.hex-symp__card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--symp-color, rgba(0,0,0,0.07));
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hex-symp__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--symp-color, #ccc) 12%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--symp-color, #ccc);
    flex-shrink: 0;
    margin-bottom: 2px;
}
.hex-symp__icon i {
    font-size: 20px;
}
.hex-symp__title {
    font-family: var(--hex-ui);
    font-size: 1rem;
    font-weight: 700;
    color: var(--hex-black);
    margin: 0;
    line-height: 1.3;
}
.hex-symp__body {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--hex-muted);
    margin: 0;
    flex: 1;
}
.hex-symp__tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--symp-color, #ccc);
    background: color-mix(in srgb, var(--symp-color, #ccc) 10%, transparent);
    padding: 4px 10px;
    border-radius: 100px;
    align-self: flex-start;
    margin-top: 4px;
}

/* ── Skala szarości kart objawów (waga = stopień trudności) ─ */
.hex-symp__card--logic                { --symp-color: #d1d5db; } /* logiczne    — najlżejsze  */
.hex-symp__card--sector,
.hex-symp__card--pcb,
.hex-symp__card--firmware              { --symp-color: #9ca3af; } /* degradacja  — średnie     */
.hex-symp__card--mech                { --symp-color: #6b7280; } /* mechaniczne — najcięższe  */

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
    .hex-symp__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .hex-symp__grid { grid-template-columns: 1fr; }
}

/* ████████████████████████████████████████████████████████████
   4. SPLIT — sekcje dwukolumnowe
   ████████████████████████████████████████████████████████████ */

.hex-split {
    background: var(--hex-off);
    padding: clamp(80px, 12vw, 144px) 0;
}

.hex-split--white {
    background: var(--hex-white);
}

/* ── Panel intro (tekst nad wideo) ───────────────────────── */
.hex-panel-intro {
    background: #fff;
    padding: clamp(48px, 8vw, 80px) 0 clamp(32px, 5vw, 48px);
}

.hex-panel-intro__h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0.35em 0 0.6em;
    color: var(--hex-ink);
}

.hex-panel-intro__lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--hex-muted);
    max-width: 640px;
    margin: 0 0 24px;
}

.hex-panel-intro__list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 560px;
}

.hex-panel-intro__list li {
    padding-left: 18px;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--hex-ink);
}

.hex-panel-intro__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--hex-blue);
    opacity: 0.5;
}

.hex-panel-intro__note {
    font-size: 0.9rem;
    color: var(--hex-muted);
    font-style: italic;
    margin: 0;
}

/* ── Video embed ──────────────────────────────────────────── */
.hex-video {
    background: var(--hex-black);
    padding: clamp(48px, 8vw, 80px) 0;
}

.hex-video--light {
    background: #fff;
    padding-top: 0;
}

.hex-video__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto clamp(32px, 5vw, 48px);
}

.hex-video__h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin: 0.35em 0 0.6em;
}

.hex-video__desc {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.925rem;
    line-height: 1.65;
    margin: 0;
}

.hex-video__wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.hex-video__wrap iframe,
.hex-video__wrap video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── Laboratorium / Zaplecze technologiczne ───────────────── */
.hex-lab {
    background: var(--hex-black);
    padding: clamp(48px, 8vw, 80px) 0;
    color: #fff;
}

.hex-lab__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto clamp(40px, 6vw, 56px);
}

.hex-lab__h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0.35em 0 0.6em;
    color: #fff;
}

.hex-lab__lead {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.hex-lab__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: var(--hex-max);
    margin: 0 auto;
    padding: 0 var(--hex-px);
}

.hex-lab__col {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 28px 24px;
}

.hex-lab__col-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hex-blue);
    margin: 0 0 16px;
}

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

.hex-lab__list li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
    padding-left: 14px;
    position: relative;
}

.hex-lab__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--hex-blue);
    opacity: 0.6;
}

.hex-lab__footer {
    max-width: 640px;
    margin: clamp(32px, 5vw, 48px) auto 0;
    padding: 0 var(--hex-px);
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.925rem;
    line-height: 1.65;
    font-style: italic;
}

@media (max-width: 768px) {
    .hex-lab__grid {
        grid-template-columns: 1fr;
    }
}

/* ── Credentials — NCAGE / Akademia / Bogumił ────────────── */
.hex-cred {
    background: var(--hex-black);
    padding: clamp(48px, 8vw, 80px) 0;
}

.hex-cred__grid {
    max-width: var(--hex-max);
    margin: 0 auto;
    padding: 0 var(--hex-px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.hex-cred__card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Karta NCAGE */
.hex-cred__ncage-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    object-position: left center;
}

.hex-cred__card-title {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    margin: 0;
}

.hex-cred__card-sub {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.hex-cred__card-link {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    margin-top: auto;
    transition: color 0.2s;
}

.hex-cred__card-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* Karta Akademia */
.hex-cred__card .btn {
    align-self: flex-start;
    margin-top: auto;
}

/* Karta Bogumił */
.hex-cred__blockquote {
    margin: 0;
    padding: 0;
    border: none;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0;
}

.hex-cred__blockquote::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 3.5rem;
    line-height: 0.75;
    color: rgba(255, 255, 255, 0.15);
    display: block;
    margin-bottom: 8px;
}

.hex-cred__quote-text {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
    font-style: italic;
    margin: 0;
    flex: 1;
}

.hex-cred__quote-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hex-cred__quote-name {
    font-weight: 700;
    color: #fff;
    font-size: 0.88rem;
}

.hex-cred__quote-meta {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 900px) {
    .hex-cred__grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}

.hex-split__inner {
    max-width: var(--hex-max);
    margin: 0 auto;
    padding: 0 var(--hex-px);
    display: grid;
    grid-template-columns: 52fr 48fr;
    gap: clamp(40px, 7vw, 104px);
    align-items: center;
}

.hex-split__inner--flip {
    grid-template-columns: 48fr 52fr;
}

.hex-split__inner--flip .hex-split__media { order: 1; }
.hex-split__inner--flip .hex-split__content { order: 2; }

/* Mockup screenshota */
.hex-split__media {
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.06),
        0 4px 12px  rgba(0, 0, 0, 0.06),
        0 16px 40px rgba(0, 0, 0, 0.10),
        0 48px 96px rgba(0, 0, 0, 0.10);
}

.hex-split__media img,
.hex-split__media video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: inherit;
}
.hex-split__media img[data-gallery] {
    cursor: zoom-in;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hex-split__media img[data-gallery]:hover {
    transform: scale(1.015);
}

/* ── Lightbox ────────────────────────────────────────────── */
.hex-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    transition: background 0.25s ease, backdrop-filter 0.25s ease;
    cursor: zoom-out;
}
.hex-lightbox.is-open {
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(6px);
}
.hex-lightbox__img {
    max-width: min(92vw, 1100px);
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.25s ease, transform 0.25s ease;
    cursor: default;
}
.hex-lightbox.is-open .hex-lightbox__img {
    opacity: 1;
    transform: scale(1);
}
.hex-lightbox__close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    width: 52px;
    height: 52px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.15s;
    padding: 4px 8px;
}
.hex-lightbox__close:hover { opacity: 1; }
.hex-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.15s, background 0.15s;
    padding: 0 0 2px;
}
.hex-lightbox__nav:hover { opacity: 1; background: rgba(255, 255, 255, 0.2); }
.hex-lightbox__nav--prev { left: 24px; }
.hex-lightbox__nav--next { right: 24px; }

/* Treść */
.hex-split__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hex-split__h2 {
    font-family: var(--hex-ui);
    font-size: clamp(1.75rem, 3.5vw, 2.875rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--hex-black);
    margin: 0;
}

.hex-split__h2 span {
    color: var(--hex-blue);
}

.hex-split__h2--warn span {
    color: #ff3b30;
}

.hex-split__lead {
    font-family: var(--hex-body);
    font-size: 1rem;
    line-height: 1.75;
    color: #666;
    margin: 0;
}

.hex-split__list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hex-split__list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-family: var(--hex-body);
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #666;
}

.hex-split__list li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--hex-blue);
    flex-shrink: 0;
    margin-top: 9px;
}

.hex-split__list strong {
    color: #222;
    font-weight: 600;
}

.hex-split__list li:has(> i)::before { display: none; }
.hex-split__list li > i {
    flex-shrink: 0;
    font-size: 1.1rem;
    margin-top: 1px;
}
.hex-split__list li > i.icon-ok-circled        { color: #34d399; }
.hex-split__list li > i.icon-attention-circled { color: #fbbf24; }

.hex-split__list--danger li::before { background: #f87171; }


/* ████████████████████████████████████████████████████████████
   5. KALKULATOR — wrapper
   Wewnętrzne style hexq__ z www.css
   ████████████████████████████████████████████████████████████ */

/* ── www-calc: layout kalkulatora ────────────────────────── */

.www-calc {
    background: #F0F5FF;
    border-top: 1px solid var(--border-color-mid);
    border-bottom: 1px solid var(--border-color-mid);
    padding: clamp(52px, 8vw, 96px) 0;
}

.www-calc__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-10);
}

/* Nagłówek sekcji */
.www-calc__header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

.www-calc__header h2 {
    margin: 0;
}

.www-calc__header p {
    max-width: 58ch;
    margin: 0;
}

/* Dwie karty: form + wynik */
.www-calc__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
    align-items: start;
}

.www-calc__form,
.www-calc__result {
    background: var(--color-white);
    border: 1.5px solid var(--border-color-mid);
    border-radius: var(--border-radius-lg);
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

/* Grupy pól */
.www-calc__group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.www-calc__label {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-gray-400);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ── Zakładki urządzeń (.hexq__tab) ─────────────────────── */
.www-calc__tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
}

.hexq__tab {
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 10px var(--space-3);
    border: 1.5px solid var(--border-color-mid);
    border-radius: var(--border-radius-md);
    background: var(--color-white);
    color: var(--color-gray-600);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    text-align: center;
    line-height: 1.2;
}

.hexq__tab:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.hexq__tab.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* ── Chipy trybu (.hexq__chip) ───────────────────────────── */
.www-calc__chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.hexq__chip {
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 10px var(--space-3);
    border: 1.5px solid var(--border-color-mid);
    border-radius: var(--border-radius-md);
    background: var(--color-white);
    color: var(--color-gray-600);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    white-space: nowrap;
}

.hexq__chip:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.hexq__chip.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* ── Input pojemności + stepper ──────────────────────────── */
.www-calc__input-row {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.www-calc__stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    align-self: stretch;
    flex-shrink: 0;
    font-family: var(--font-ui);
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1;
    color: var(--color-gray-600);
    background: var(--color-white);
    border: 1.5px solid var(--border-color-mid);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    padding: 0;
}

.www-calc__stepper:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-light);
}

.hexq__input {
    font-family: var(--font-ui);
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--color-gray-900);
    background: var(--color-white);
    border: 1.5px solid var(--border-color-mid);
    border-radius: var(--border-radius-md);
    padding: 9px var(--space-3);
    width: 80px;
    text-align: center;
    outline: none;
    transition: border-color 0.15s;
    -moz-appearance: textfield;
}

.hexq__input:focus {
    border-color: var(--color-primary);
}

.hexq__input::-webkit-outer-spin-button,
.hexq__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.hexq__suffix {
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray-400);
    min-width: 20px;
}

/* ── Select ──────────────────────────────────────────────── */
.hexq__select {
    font-family: var(--font-ui);
    font-size: 0.875rem;
    color: var(--color-gray-700);
    background: var(--color-white);
    border: 1.5px solid var(--border-color-mid);
    border-radius: var(--border-radius-md);
    padding: 9px var(--space-3);
    outline: none;
    cursor: pointer;
    transition: border-color 0.15s;
}

.hexq__select:focus {
    border-color: var(--color-primary);
}

/* ── Prawa karta: podział kosztów ────────────────────────── */

/* Blok (analiza / odzysk / brak odzysku) */
.www-calc__result-block {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    padding-bottom: var(--space-5);
    border-bottom: 1px solid var(--border-color-mid);
}

.www-calc__result-block:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

/* Wiersz etykieta + wartość */
.www-calc__result-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--space-3);
}

.www-calc__result-row--sub {
    opacity: 0.65;
}

.www-calc__result-label {
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-gray-500);
    flex-shrink: 0;
}

/* Wartość liczbowa */
.www-calc__result-value {
    font-family: var(--font-ui);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-gray-800);
    text-align: right;
}

/* Główna cena (koszt odzysku) — wyróżniona */
.www-calc__result-value--main {
    font-size: clamp(1.25rem, 3vw, 1.625rem);
    color: var(--color-primary);
}

/* Zielona wartość (Tylko koszt analizy) */
.www-calc__result-value--green {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-green);
}

/* Czas (małym tekstem) */
.www-calc__result-meta {
    font-family: var(--font-ui);
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--color-gray-400);
    text-align: right;
}

/* RAID nota */
.www-calc__raid-note[hidden] { display: none; }

.www-calc__raid-note {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    background: var(--color-primary-light);
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius-md);
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-ui);
    font-size: 0.8125rem;
    color: var(--color-primary);
    line-height: 1.5;
}

.www-calc__raid-note i {
    flex-shrink: 0;
    margin-top: 2px;
}

.www-calc__note {
    font-size: 0.8125rem;
    color: var(--color-gray-400);
    line-height: 1.6;
    margin: 0;
}

/* ── Kalkulator responsive ≤ 768px ───────────────────────── */
@media (max-width: 768px) {

    .www-calc__inner {
        padding: 0 var(--space-4);
        gap: var(--space-6);
    }

    .www-calc__body {
        grid-template-columns: 1fr;
    }

    .www-calc__form,
    .www-calc__result {
        padding: var(--space-6);
    }

    .www-calc__tabs {
        grid-template-columns: 1fr 1fr;
    }

}

/* ── hex-calc wrapper ────────────────────────────────────── */

.hex-calc {
    background: var(--hex-white);
    padding: clamp(80px, 12vw, 144px) 0;
}

/* Wyśrodkowany nagłówek sekcji */
.hex-calc .www-calc__header {
    text-align: center;
}


/* ████████████████████████████████████████████████████████████
   6. OPINIE — ciemne tło, cytaty z akcentem
   ████████████████████████████████████████████████████████████ */

.hex-reviews {
    background: var(--hex-black);
    padding: clamp(80px, 12vw, 144px) 0;
}

.hex-reviews__inner {
    max-width: var(--hex-max);
    margin: 0 auto;
    padding: 0 var(--hex-px);
}

.hex-reviews__h2 {
    font-family: var(--hex-ui);
    font-size: clamp(1.75rem, 3.5vw, 2.875rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 64px;
}

.hex-reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.hex-review {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-top: 1px solid var(--hex-blue);
    padding-top: 28px;
}

.hex-review__text {
    font-family: var(--hex-body);
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.hex-review__text::before { content: '\201E'; }
.hex-review__text::after  { content: '\201D'; }

.hex-review__author {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hex-review__name {
    font-family: var(--hex-ui);
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.hex-review__meta {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.04em;
}


/* ████████████████████████████████████████████████████████████
   7. FAQ
   ████████████████████████████████████████████████████████████ */

.hex-faq {
    background: var(--hex-off);
    padding: clamp(64px, 10vw, 112px) 0;
}
.hex-faq__inner {
    max-width: var(--hex-max);
    margin: 0 auto;
    padding: 0 var(--hex-px);
}
.hex-faq__header {
    margin-bottom: 48px;
}
.hex-faq__h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--hex-black);
    margin: 0;
}
.hex-faq__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 780px;
}
.hex-faq__item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.hex-faq__item:first-of-type {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.hex-faq__q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--hex-black);
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.hex-faq__q::-webkit-details-marker { display: none; }
.hex-faq__q i {
    flex-shrink: 0;
    font-size: 0.8rem;
    color: var(--hex-blue);
    transition: transform 0.25s ease;
}
.hex-faq__item[open] > .hex-faq__q i {
    transform: rotate(180deg);
}
.hex-faq__a {
    padding: 0 0 20px;
    color: #444;
    line-height: 1.7;
}
.hex-faq__a p { margin: 0 0 10px; }
.hex-faq__a p:last-child { margin-bottom: 0; }
.hex-faq__a ul {
    margin: 8px 0 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}


/* ████████████████████████████████████████████████████████████
   8. CTA STRIP — niebieski pasek przed kontaktem (zachowany na wypadek)
   ████████████████████████████████████████████████████████████ */

.hex-cta-strip {
    background: var(--hex-blue);
    padding: clamp(64px, 10vw, 112px) 0;
    text-align: center;
}

.hex-cta-strip__inner {
    max-width: var(--hex-max);
    margin: 0 auto;
    padding: 0 var(--hex-px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.hex-cta-strip__h2 {
    font-family: var(--hex-ui);
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #fff;
    margin: 0;
    max-width: 22ch;
}

.hex-cta-strip__sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    margin: -16px 0 0;
}

.hex-cta-strip__btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Biały przycisk na niebieskim tle */
.btn-on-blue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--border-radius-md, 8px);
    font-family: var(--hex-ui);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.15s;
}

.btn-on-blue--solid {
    background: #fff;
    color: var(--hex-blue);
}

.btn-on-blue--outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.btn-on-blue:hover { opacity: 0.88; }


/* ████████████████████████████████████████████████████████████
   8. KONTAKT
   ████████████████████████████████████████████████████████████ */

.hex-contact {
    background: var(--hex-off);
    padding: clamp(80px, 12vw, 144px) 0;
}

.hex-contact__inner {
    max-width: var(--hex-max);
    margin: 0 auto;
    padding: 0 var(--hex-px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(48px, 8vw, 112px);
    align-items: start;
}

.hex-contact__info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hex-contact__h2 {
    font-family: var(--hex-ui);
    font-size: clamp(1.75rem, 3.5vw, 2.875rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--hex-black);
    margin: 0;
}

.hex-contact__p {
    font-family: var(--hex-body);
    font-size: 1rem;
    line-height: 1.75;
    color: #666;
    margin: 0;
}

.hex-contact__detail {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hex-contact__row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--hex-body);
    font-size: 0.9375rem;
    color: #555;
}

.hex-contact__row i {
    color: var(--hex-blue);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

/* Formularz — karta */
.hex-contact__form {
    background: #fff;
    border-radius: 16px;
    padding: clamp(32px, 5vw, 48px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 16px 40px rgba(0,0,0,0.06);
}
/* Wariant bez karty — formularz osadzony bezpośrednio w sekcji (fresh-kontakt.php) */
.hex-contact__form--flat {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

/* Pola */
.hex-contact__form .fieldset {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}
.hex-contact__form .label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #555;
    letter-spacing: 0.02em;
}
.hex-contact__form input[type="text"],
.hex-contact__form input[type="email"],
.hex-contact__form textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9375rem;
    font-family: var(--hex-body);
    color: var(--hex-black);
    background: #fafafa;
    border: 1.5px solid rgba(0, 0, 0, 0.13);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
    resize: vertical;
}
.hex-contact__form input:focus,
.hex-contact__form textarea:focus {
    background: #fff;
    border-color: var(--hex-blue);
    box-shadow: 0 0 0 3px rgba(36, 97, 235, 0.1);
}
.hex-contact__form input.input-error,
.hex-contact__form textarea.input-error {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248,113,113,0.15);
}
.hex-contact__form .tooltip-error {
    position: static !important;  /* override base.css position: absolute */
    pointer-events: auto !important;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 7px;
    padding: 6px 10px;
    background: rgba(248,113,113,0.1);
    border: 1px solid rgba(248,113,113,0.2);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #fca5a5;
    animation: tooltipIn 0.18s ease both;
    z-index: 2;
}
.hex-contact__form .tooltip-error::before {
    display: none !important;  /* hide triangle arrow from base.css */
}
.hex-contact__form .tooltip-error i {
    color: #fca5a5;
    font-size: 0.9rem;
    flex-shrink: 0;
}
@keyframes tooltipIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Checkbox RODO */
.hex-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin-bottom: 4px;
}
.hex-check input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.hex-check__box {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    transition: border-color 0.15s, background 0.15s;
}
.hex-check__box::after {
    content: '';
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translateY(-1px);
    opacity: 0;
    transition: opacity 0.15s;
}
.hex-check input:checked ~ .hex-check__box {
    background: var(--hex-blue);
    border-color: var(--hex-blue);
}
.hex-check input:checked ~ .hex-check__box::after {
    opacity: 1;
}
.hex-check input:focus-visible ~ .hex-check__box {
    box-shadow: 0 0 0 3px rgba(36, 97, 235, 0.2);
}
.hex-check.input-error .hex-check__box {
    border-color: #f87171;
    background: rgba(248,113,113, 0.06);
}
.hex-check__text {
    font-size: 0.8125rem;
    color: #888;
    line-height: 1.6;
}
.hex-contact__form .link {
    color: var(--hex-blue);
    text-decoration: none;
    font-size: inherit;
}
.hex-contact__form .link:hover { text-decoration: underline; }

/* Przyciski */
.hex-contact__form button.blue {
    width: 100%;
    padding: 15px 24px;
    background: var(--hex-blue);
    color: #fff;
    font-family: var(--hex-ui);
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}
.hex-contact__form button.blue:hover {
    background: color-mix(in srgb, var(--hex-blue) 82%, #000);
}
.hex-contact__form button.blue:active { transform: scale(0.98); }
.hex-contact__form button.blue:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.hex-contact__form .secondary-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    font-family: var(--hex-ui);
    font-size: 0.9375rem;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
}
.hex-contact__form .secondary-cta:hover {
    border-color: var(--hex-blue);
    color: var(--hex-blue);
}

/* Komunikat po wysłaniu */
#form-result-main {
    margin-top: 16px;
    display: none;
}
.form-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    background: var(--hex-ink);
    color: rgba(255, 255, 255, 0.9);
    border-left: 4px solid transparent;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.form-notice.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.form-notice--ok  { border-left-color: #34d399; }
.form-notice--err { border-left-color: #f87171; }
.form-notice i {
    font-size: 1.1rem;
    flex-shrink: 0;
}
.form-notice--ok  i { color: #34d399; }
.form-notice--err i { color: #f87171; }


/* ████████████████████████████████████████████████████████████
   9. AKADEMIA — przepisana wersja
   ████████████████████████████████████████████████████████████ */

.hex-akademia {
    background: var(--hex-ink);
    padding: 48px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.hex-akademia__inner {
    max-width: var(--hex-max);
    margin: 0 auto;
    padding: 0 var(--hex-px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.hex-akademia__label {
    font-family: var(--hex-ui);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hex-blue);
    margin: 0 0 8px;
}

.hex-akademia__text {
    font-family: var(--hex-body);
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
    max-width: 52ch;
}


/* ████████████████████████████████████████████████████████████
   10. STICKY MOBILE CTA
   ████████████████████████████████████████████████████████████ */

.hex-sticky {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: var(--hex-black);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 12px 16px;
    gap: 8px;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.25);
}

.hex-sticky a {
    flex: 1;
    text-align: center;
    padding: 14px;
    border-radius: 10px;
    font-family: var(--hex-ui);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
}

.hex-sticky__call {
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.8);
}
.hex-sticky__call--email {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

/* Hero: wariant email po godzinach */
.btn.btn-phone.btn--email {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.35);
}
.btn.btn-phone.btn--email:hover {
    background: rgba(251, 191, 36, 0.22);
}

.hex-sticky__order {
    background: var(--hex-blue);
    color: #fff;
}


/* ████████████████████████████████████████████████████████████
   RESPONSIVE
   ████████████████████████████████████████████████████████████ */

@media (max-width: 1100px) {

    .hex-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hex-hero__photo {
        height: 75vw;
        max-height: 680px;
    }

    .hex-hero__photo::before {
        background: linear-gradient(
            to bottom,
            var(--hex-black) 0%,
            transparent 40%
        );
    }

    .hex-hero__content {
        padding: 72px var(--hex-px) 56px;
    }

    .hex-split__inner,
    .hex-split__inner--flip {
        grid-template-columns: 1fr;
    }

    .hex-split__inner--flip .hex-split__media,
    .hex-split__inner--flip .hex-split__content {
        order: unset;
    }

    .hex-contact__inner {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 840px) {

    .hex-process__steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px 40px;
    }

    .hex-step {
        padding: 0;
        border-right: none;
    }

    .hex-step + .hex-step {
        padding-left: 0;
    }

    .hex-metrics__grid {
        grid-template-columns: 1fr;
    }

    .hex-metric + .hex-metric::before {
        top: 0;
        bottom: auto;
        left: 32px;
        right: 32px;
        width: auto;
        height: 1px;
    }

    .hex-reviews__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}

@media (max-width: 560px) {

    .hex-process__steps {
        grid-template-columns: 1fr;
    }

    .hex-hero__stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .hex-hero__stat + .hex-hero__stat {
        border-left: none;
        padding-left: 0;
    }

    .hex-hero__cta {
        flex-direction: column;
    }

    .hex-hero__cta a {
        width: 100%;
        justify-content: center;
    }

    .hex-sticky {
        display: flex;
    }

}

/* ████████████████████████████████████████████████████████████
   STRONA ZLECENIA
   ████████████████████████████████████████████████████████████ */

/* ── Kontenery ────────────────────────────────────────────── */
.hex-page-inner {
    max-width: var(--hex-max);
    margin: 0 auto;
    padding: 0 var(--hex-px);
}
.hex-page-inner--form {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 var(--hex-px);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hex-order-hero {
    background: var(--hex-ink);
    padding: 64px 0 48px;
    text-align: center;
}
.hex-order-hero .hex-page-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hex-order-hero .hex-section-label {
    margin-bottom: 12px;
}
.hex-order-hero__h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}
.hex-order-hero__lead {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    max-width: 560px;
    margin: 0 auto 24px;
    line-height: 1.6;
}
.hex-order-hero__steps {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}
.hex-order-hero__steps span {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
}
.hex-order-hero__steps i {
    color: var(--hex-blue);
    font-size: 1rem;
}

/* ── Section wrapper ──────────────────────────────────────── */
.hex-order-section {
    background: #f2f2f7;
    padding: 48px 0 72px;
}

/* ── Form ─────────────────────────────────────────────────── */
.hex-order-form {
    width: 100%;
}

/* ── Grid 2 kart ──────────────────────────────────────────── */
.hex-order-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

/* ── Karta ────────────────────────────────────────────────── */
.hex-order-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.hex-order-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--hex-ink);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}
.hex-order-card__title i {
    color: var(--hex-blue);
    font-size: 1.1rem;
}

/* ── Pole ─────────────────────────────────────────────────── */
.hex-order-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hex-order-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(0,0,0,0.55);
    letter-spacing: 0.01em;
}
.hex-order-required {
    color: #f87171;
    margin-left: 2px;
}
.hex-order-optional {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(0,0,0,0.38);
    margin-left: 4px;
}

/* ── Wiersz 2 i 3 kolumn ──────────────────────────────────── */
.hex-order-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.hex-order-row-3 {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 14px;
}

/* ── Input / select / textarea ────────────────────────────── */
.hex-order-input {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 10px;
    color: var(--hex-ink);
    font-size: 0.9375rem;
    padding: 12px 16px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}
.hex-order-input::placeholder { color: rgba(0,0,0,0.3); }
.hex-order-input:focus {
    border-color: var(--hex-blue);
    box-shadow: 0 0 0 3px rgba(0,90,255,0.18);
}
.hex-order-input.is-error {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248,113,113,0.15);
}
.hex-order-input--mono {
    font-family: 'Consolas', 'Courier New', monospace;
    letter-spacing: 0.04em;
}
.hex-order-input--textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.55;
}
select.hex-order-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2300000066' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}
select.hex-order-input option {
    background: #fff;
    color: var(--hex-ink);
}

/* ── Tooltip błędu ────────────────────────────────────────── */
.hex-order-tooltip {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #fca5a5;
    padding: 6px 10px;
    background: rgba(248,113,113,0.1);
    border: 1px solid rgba(248,113,113,0.2);
    border-radius: 8px;
    animation: tooltipIn 0.18s ease both;
}
.hex-order-tooltip i { font-size: 0.9rem; flex-shrink: 0; }

/* ── Divider sekcji ───────────────────────────────────────── */
.hex-order-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(0,0,0,0.35);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.hex-order-divider::before,
.hex-order-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0,0,0,0.1);
}

/* ── Tryb analizy ─────────────────────────────────────────── */
.hex-order-priority {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hex-order-priority__btns {
    display: flex;
    gap: 8px;
}
.hex-order-priority__btn {
    flex: 1;
    padding: 9px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.1);
    background: rgba(0,0,0,0.03);
    color: rgba(0,0,0,0.45);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}
.hex-order-priority__btn.is-active {
    background: rgba(0,90,255,0.1);
    border-color: rgba(0,90,255,0.4);
    color: var(--hex-blue);
}
.hex-order-priority__btn--express.is-active {
    background: rgba(251,191,36,0.12);
    border-color: rgba(251,191,36,0.5);
    color: #d97706;
}
.hex-order-priority__desc {
    font-size: 0.8rem;
    color: rgba(0,0,0,0.45);
    margin: 0;
    line-height: 1.45;
}

/* ── Diagnoza poprawkowa ──────────────────────────────────── */
.hex-order-invasive {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    padding: 12px 14px;
    background: rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    transition: border-color 0.15s;
}
.hex-order-invasive:hover { border-color: rgba(0,0,0,0.18); }
.hex-order-invasive__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.hex-order-invasive__text strong {
    font-size: 0.875rem;
    color: rgba(0,0,0,0.8);
}
.hex-order-invasive__text span {
    font-size: 0.8rem;
    color: rgba(0,0,0,0.45);
}

/* ── Stopka formularza ────────────────────────────────────── */
.hex-order-formfooter {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.hex-order-rodo {
    align-items: flex-start !important;
}
.hex-order-formfooter__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.hex-order-required-note {
    font-size: 0.8rem;
    color: rgba(0,0,0,0.4);
    margin: 0;
}

/* ── Success state ────────────────────────────────────────── */
.hex-order-success {
    text-align: center;
    padding: 60px 24px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
}
.hex-order-success__icon {
    font-size: 3.5rem;
    color: #34d399;
    display: block;
    margin-bottom: 16px;
}
.hex-order-success__title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--hex-ink);
    margin: 0 0 10px;
}
.hex-order-success__id {
    font-size: 1.1rem;
    color: rgba(0,0,0,0.5);
    margin: 0 0 16px;
}
.hex-order-success__id strong {
    color: var(--hex-ink);
    font-size: 1.4rem;
}
.hex-order-success__text {
    color: rgba(0,0,0,0.5);
    line-height: 1.6;
    margin: 0 0 24px;
}
.hex-success-shipping {
    margin: 0 0 28px;
    text-align: left;
}
.hex-success-shipping__title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(0,0,0,0.38);
    text-align: center;
    margin: 0 0 14px;
}
.hex-success-shipping__grid {
    display: flex;
    align-items: center;
    gap: 12px;
}
.hex-success-shipping__card {
    flex: 1;
    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 16px 20px;
}
.hex-success-shipping__label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(0,0,0,0.38);
    margin-bottom: 8px;
}
.hex-success-shipping__address {
    font-style: normal;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--hex-ink);
    line-height: 1.65;
}
.hex-success-shipping__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}
.hex-success-shipping__id {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--hex-ink);
    letter-spacing: 0.06em;
    font-family: var(--hex-mono, ui-monospace, monospace);
    line-height: 1.2;
}
.hex-success-shipping__note {
    font-size: 0.8rem;
    color: rgba(0,0,0,0.45);
    line-height: 1.5;
    margin: 4px 0 0;
}
.hex-copy-btn {
    flex-shrink: 0;
    background: none;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 6px;
    padding: 5px 11px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(0,0,0,0.4);
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.15s, color 0.15s;
}
.hex-copy-btn:hover {
    border-color: var(--hex-blue);
    color: var(--hex-blue);
}
.hex-copy-btn.is-copied {
    border-color: #34d399;
    color: #34d399;
}
.hex-inpost-btn {
    display: block;
    margin-top: 12px;
    background: #FFD200;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 9px 16px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: background 0.15s;
}
.hex-inpost-btn:hover {
    background: #f0c500;
    color: #1a1a1a;
}
.hex-success-shipping__sep {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(0,0,0,0.28);
}
@media (max-width: 520px) {
    .hex-success-shipping__grid {
        flex-direction: column;
        align-items: stretch;
    }
    .hex-success-shipping__sep {
        text-align: center;
    }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 860px) {
    .hex-order-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .hex-order-row-2 { grid-template-columns: 1fr; }
    .hex-order-row-3 { grid-template-columns: 1fr 1fr; }
    .hex-order-row-3 .hex-order-field:first-child { grid-column: 1 / -1; }
    .hex-order-formfooter__actions { flex-direction: column; align-items: flex-start; }
    .hex-order-hero__steps { flex-direction: column; align-items: center; gap: 10px; }
}


/* ████████████████████████████████████████████████████████████
   WIZARD — wskaźnik kroków, animacje, nawigacja, podsumowanie
   ████████████████████████████████████████████████████████████ */

/* ── Wskaźnik kroków ──────────────────────────────────────── */
.hex-wizard-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
    padding: 0 4px;
}
.hex-wizard-indicator__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.hex-wizard-indicator__dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.12);
    background: rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: rgba(0,0,0,0.3);
    transition: all 0.25s ease;
}
.hex-wizard-indicator__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(0,0,0,0.3);
    letter-spacing: 0.01em;
    text-align: center;
    transition: color 0.25s ease;
    white-space: nowrap;
}
/* Aktywny krok */
.hex-wizard-indicator__step.is-active .hex-wizard-indicator__dot {
    background: var(--hex-blue);
    border-color: var(--hex-blue);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(0,90,255,0.2);
}
.hex-wizard-indicator__step.is-active .hex-wizard-indicator__label {
    color: var(--hex-ink);
}
/* Ukończony krok */
.hex-wizard-indicator__step.is-completed .hex-wizard-indicator__dot {
    background: var(--color-green-bg);
    border-color: var(--color-green-border);
    color: var(--color-green);
}
.hex-wizard-indicator__step.is-completed .hex-wizard-indicator__label {
    color: rgba(0,0,0,0.4);
}
/* Łącznik między krokami */
.hex-wizard-indicator__line {
    flex: 1;
    height: 2px;
    background: rgba(0,0,0,0.1);
    margin: 0 8px;
    margin-bottom: 26px;
    border-radius: 1px;
    transition: background 0.3s ease;
}
.hex-wizard-indicator__line.is-completed {
    background: var(--color-green-border);
}

/* ── Panele kroków ────────────────────────────────────────── */
.hex-wizard-pane {
    display: none;
}
.hex-wizard-pane.is-active {
    display: block;
}

/* ── Animacje slide ───────────────────────────────────────── */
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(48px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-48px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideOutLeft {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(-48px); }
}
@keyframes slideOutRight {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(48px); }
}
.hex-wizard-pane.slide-in-right  { display: block; animation: slideInRight  0.28s ease both; }
.hex-wizard-pane.slide-in-left   { display: block; animation: slideInLeft   0.28s ease both; }
.hex-wizard-pane.slide-out-left  { display: block; animation: slideOutLeft  0.22s ease both; }
.hex-wizard-pane.slide-out-right { display: block; animation: slideOutRight 0.22s ease both; }

/* ── Nawigacja ────────────────────────────────────────────── */
.hex-wizard-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 0 0;
    border-top: 1px solid rgba(0,0,0,0.08);
}
.hex-wizard-nav__counter {
    font-size: 0.8125rem;
    color: rgba(0,0,0,0.4);
    font-weight: 500;
    flex: 1;
    text-align: center;
}

/* Komunikat błędu pod nawigacją */
#orderResult { margin-top: 16px; }

/* btn-ghost — przycisk "Wstecz" */
.btn-ghost {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.12);
    color: rgba(0,0,0,0.5);
    padding: 13px var(--space-6);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: border-color 0.15s, color 0.15s;
}
.btn-ghost:hover {
    border-color: rgba(0,0,0,0.22);
    color: var(--hex-ink);
}

/* ── Podsumowanie ─────────────────────────────────────────── */
.hex-wizard-summary {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    overflow: hidden;
}
.hex-wizard-summary__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
.hex-wizard-summary__group {
    padding: 20px 22px;
    border-right: 1px solid rgba(0,0,0,0.07);
}
.hex-wizard-summary__group:last-child { border-right: none; }
.hex-wizard-summary__title {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(0,0,0,0.35);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.hex-wizard-summary__title i { color: var(--hex-blue); }
.hex-wizard-summary__group p {
    margin: 0 0 4px;
    font-size: 0.9rem;
    color: var(--hex-ink);
    line-height: 1.5;
}
.hex-summary-sub {
    color: rgba(0,0,0,0.45) !important;
    font-size: 0.8125rem !important;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 720px) {
    .hex-wizard-indicator__label { display: none; }
    .hex-wizard-indicator__dot   { width: 32px; height: 32px; font-size: 0.8rem; }
    .hex-wizard-indicator__line  { margin-bottom: 0; }
    .hex-wizard-summary__inner   { grid-template-columns: 1fr; }
    .hex-wizard-summary__group   { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.07); }
    .hex-wizard-summary__group:last-child { border-bottom: none; }
    .hex-wizard-nav__counter     { display: none; }
}


/* ████████████████████████████████████████████████████████████
   PANEL KLIENTA
   ████████████████████████████████████████████████████████████ */

/* ── Login ─────────────────────────────────────────────────── */
/* ── Input z przyciskiem wewnątrz (eye toggle) ─────────────── */
.hex-input-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
}
.hex-input-wrap .hex-order-input {
    flex: 1;
    padding-right: 44px;
}
.hex-input-eye {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 42px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0,0,0,0.35);
    font-size: 1rem;
    transition: color 0.15s;
    padding: 0;
}
.hex-input-eye:hover { color: rgba(0,0,0,0.65); }

.hex-panel-login-card {
    max-width: 480px;
    margin: 0 auto;
}
.hex-panel-login-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 122, 255, 0.06);
    border: 1px solid rgba(0, 122, 255, 0.2);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 0.9rem;
    color: #005aff;
    margin-bottom: 20px;
}
.hex-panel-login-error {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 59, 48, 0.07);
    border: 1px solid rgba(255, 59, 48, 0.2);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 0.9rem;
    color: #c0392b;
    margin-bottom: 20px;
}
.hex-panel-login-footer {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.hex-panel-login-help {
    font-size: 0.82rem;
    color: rgba(0,0,0,0.45);
    line-height: 1.55;
    margin: 0;
}

/* ── Hero ID ───────────────────────────────────────────────── */
.hex-panel-id {
    color: var(--hex-blue);
}

/* ── Karty panelu ──────────────────────────────────────────── */
.hex-panel-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    padding: 24px;
    border-top: 3px solid var(--status-color, var(--hex-blue));
}
.hex-panel-card:not(.hex-panel-card--status) {
    border-top-color: rgba(0,0,0,0.08);
}
.hex-panel-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.hex-panel-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--hex-ink);
    margin: 0;
    flex: 1;
}
.hex-panel-card__desc {
    font-size: 0.9rem;
    color: rgba(0,0,0,0.5);
    line-height: 1.6;
    margin: 0 0 16px;
}

/* ── Karta statusu ─────────────────────────────────────────── */
.hex-panel-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: hex-panel-pulse 2s ease-in-out infinite;
}
@keyframes hex-panel-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.6; transform: scale(1.25); }
}
.hex-panel-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid transparent;
    white-space: nowrap;
}
.hex-panel-status-badge--green {
    background: rgba(40, 205, 65, 0.1);
    color: #1a9932;
    border-color: rgba(40, 205, 65, 0.25);
}
.hex-panel-status-msg {
    font-size: 0.95rem;
    color: rgba(0,0,0,0.6);
    line-height: 1.6;
    margin: 0;
}

.hex-panel-engineer {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 10px 0 0;
    font-size: 0.875rem;
    color: rgba(0,0,0,0.45);
}
.hex-panel-engineer i {
    font-size: 0.8125rem;
}
.hex-panel-engineer strong {
    color: rgba(0,0,0,0.7);
    font-weight: 600;
}

/* ── Karta urządzenia ──────────────────────────────────────── */
.hex-panel-device {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.hex-panel-device__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hex-panel-device__photo {
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}
.hex-panel-device__img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.08);
    display: block;
}
.hex-panel-device__img[data-gallery] {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}
.hex-panel-device__img[data-gallery]:hover {
    transform: scale(1.06);
}
.hex-panel-field {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.hex-panel-field__label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(0,0,0,0.38);
}
.hex-panel-field__value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--hex-ink);
}
.hex-panel-field__value--mono {
    font-family: var(--hex-mono, ui-monospace, monospace);
    letter-spacing: 0.04em;
}

/* ── Karta SFTP ────────────────────────────────────────────── */
.hex-panel-sftp {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hex-panel-sftp__creds {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hex-panel-sftp__row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.hex-panel-sftp__label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(0,0,0,0.38);
    width: 80px;
    flex-shrink: 0;
}
.hex-panel-sftp__val-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    flex-wrap: wrap;
}
.hex-panel-sftp__val {
    font-size: 0.9rem;
    color: var(--hex-ink);
}
.hex-panel-sftp__val--mono {
    font-family: var(--hex-mono, ui-monospace, monospace);
    font-weight: 600;
}
.hex-panel-sftp__val--placeholder {
    color: rgba(0,0,0,0.35);
    font-style: italic;
}
.hex-panel-sftp__sms-btn {
    font-size: 0.82rem;
    padding: 8px 14px;
}
.hex-panel-sftp__sms-btn--sent {
    background: #28cd41 !important;
}
.hex-panel-sftp__filezilla {
    border-top: 1px solid rgba(0,0,0,0.07);
    padding-top: 16px;
}
.hex-panel-sftp__fz-title {
    font-size: 0.82rem;
    color: rgba(0,0,0,0.45);
    margin: 0 0 10px;
}
.hex-panel-sftp__fz-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.hex-panel-sftp__fz-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(0,0,0,0.6);
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
}
.hex-panel-sftp__fz-btn:hover {
    border-color: var(--hex-blue);
    color: var(--hex-blue);
}

/* ── Karta kosztu ──────────────────────────────────────────── */
.hex-panel-cost {
    background: rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 16px;
}
.hex-panel-cost__price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.hex-panel-cost__label {
    font-size: 0.85rem;
    color: rgba(0,0,0,0.5);
}
.hex-panel-cost__price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--hex-ink);
    letter-spacing: -0.02em;
}
.hex-panel-cost__type {
    font-size: 0.8rem;
    color: rgba(0,0,0,0.4);
    margin-top: 6px;
}
.hex-panel-cost__actions {
    border-top: 1px solid rgba(0,0,0,0.07);
    padding-top: 16px;
}
.hex-panel-cost__note {
    font-size: 0.82rem;
    color: rgba(0,0,0,0.45);
    line-height: 1.55;
    margin: 0 0 16px;
}
.hex-panel-cost__btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.hex-panel-btn-reject {
    background: none;
    border: 1px solid rgba(255,59,48,0.35);
    color: #c0392b;
    padding: 11px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.hex-panel-btn-reject:hover {
    background: rgba(255,59,48,0.06);
    border-color: rgba(255,59,48,0.5);
}
.hex-panel-btn-accept {
    flex: 1;
}

/* ── Karta analizy ─────────────────────────────────────────── */
.hex-panel-analysis-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}
.hex-panel-stat {
    background: rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 10px;
    padding: 14px;
    text-align: center;
}
.hex-panel-stat--green { border-color: rgba(40,205,65,0.2); background: rgba(40,205,65,0.04); }
.hex-panel-stat--red   { border-color: rgba(255,59,48,0.2); background: rgba(255,59,48,0.04); }
.hex-panel-stat__value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--hex-ink);
    line-height: 1;
    margin-bottom: 4px;
}
.hex-panel-stat__value span {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(0,0,0,0.4);
}
.hex-panel-stat--green .hex-panel-stat__value { color: #1a9932; }
.hex-panel-stat--red   .hex-panel-stat__value { color: #c0392b; }
.hex-panel-stat__label {
    font-size: 0.72rem;
    color: rgba(0,0,0,0.45);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.hex-panel-stat--green .hex-panel-stat__label { color: #1a9932; }
.hex-panel-stat--red   .hex-panel-stat__label { color: #c0392b; }
.hex-panel-analysis-subtitle {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(0,0,0,0.38);
    margin: 0 0 10px;
}
.hex-panel-analysis-body {
    font-size: 0.92rem;
    color: rgba(0,0,0,0.65);
    line-height: 1.7;
}
.hex-panel-diag-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.hex-panel-diag-item {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.hex-panel-diag-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.hex-panel-diag-item:first-child {
    padding-top: 0;
}
.hex-panel-diag-num {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.06);
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(0,0,0,0.40);
    line-height: 1;
}
.hex-panel-diag-text {
    font-size: 0.92rem;
    color: rgba(0,0,0,0.70);
    line-height: 1.55;
}

/* ── Karta uwagi ───────────────────────────────────────────── */
.hex-panel-notes {
    font-size: 0.92rem;
    color: rgba(0,0,0,0.6);
    line-height: 1.7;
}

/* ── Licznik ostatniej aktualizacji (hero) ──────────────────── */
.hex-panel-last-update {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 10px 0 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}
.hex-panel-last-update i { font-size: 0.78rem; }

/* ── Modal potwierdzenia rezygnacji ─────────────────────────── */
.hex-panel-modal__box--sm { max-width: 420px; }
.hex-panel-confirm__body {
    padding: 8px 0 20px;
    font-size: 0.95rem;
    color: rgba(0,0,0,0.75);
    line-height: 1.6;
}
.hex-panel-confirm__body p { margin: 0 0 8px; }
.hex-panel-confirm__body p:last-child { margin: 0; }
.hex-panel-confirm__warning {
    font-size: 0.85rem;
    color: rgba(0,0,0,0.45);
}
.hex-panel-confirm__footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px;
    border-top: 1px solid rgba(0,0,0,0.07);
}
.hex-panel-btn-cancel-modal {
    background: none;
    border: 1px solid rgba(0,0,0,0.15);
    color: rgba(0,0,0,0.65);
}
.hex-panel-btn-cancel-modal:hover {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.25);
}

/* ── Historia zleceń (timeline) ────────────────────────────── */
.hex-panel-history {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.hex-panel-history__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.hex-panel-history__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.hex-panel-history__item:first-child {
    padding-top: 0;
}
.hex-panel-history__dot {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: rgba(0,0,0,0.4);
    margin-top: 1px;
}
.hex-panel-history__dot--sms {
    background: rgba(52,199,89,0.1);
    color: #1a9932;
}
.hex-panel-history__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.hex-panel-history__text {
    font-size: 0.9rem;
    color: rgba(0,0,0,0.75);
    line-height: 1.5;
}
.hex-panel-history__time {
    font-size: 0.78rem;
    color: rgba(0,0,0,0.38);
    font-variant-numeric: tabular-nums;
}

/* ── Stopka panelu ─────────────────────────────────────────── */
.hex-panel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.07);
    flex-wrap: wrap;
}
.hex-panel-footer__text {
    font-size: 0.85rem;
    color: rgba(0,0,0,0.45);
    margin: 0;
}
.hex-panel-footer__logout {
    font-size: 0.82rem;
    color: rgba(0,0,0,0.35);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.15s;
}
.hex-panel-footer__logout:hover {
    color: var(--hex-ink);
}

/* ── Modal listy plików ────────────────────────────────────── */
.hex-panel-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
}
.hex-panel-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
}
.hex-panel-modal__box {
    position: relative;
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 1600px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    overflow: hidden;
}
.hex-panel-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    flex-shrink: 0;
}
.hex-panel-modal__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: var(--hex-ink);
}
.hex-panel-modal__close {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    color: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.hex-panel-modal__close:hover {
    background: rgba(0,0,0,0.06);
    color: var(--hex-ink);
}
.hex-panel-modal__body {
    overflow-y: auto;
    padding: 24px;
    flex: 1;
}
.hex-panel-modal__loading {
    text-align: center;
    padding: 40px;
    color: rgba(0,0,0,0.4);
}
.hex-panel-modal__box--iframe {
    display: flex;
    flex-direction: column;
    height: 90vh;
    padding: 0;
}
.hex-panel-modal__box--iframe .hex-panel-modal__head {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    flex-shrink: 0;
}
.hex-panel-filelist-iframe {
    flex: 1;
    width: 100%;
    border: none;
    display: block;
}

/* ████████████████████████████████████████████████████████████
   BLOG — karty wpisów (.hex-blog-*)
   Używane na: strona główna (3 karty), blog/blog.php (cały listing)
   ████████████████████████████████████████████████████████████ */

/* ── Wrapper sekcji na stronie głównej ─────────────────────── */
.hex-blog {
    background: var(--hex-white);
    padding: clamp(64px, 10vw, 112px) 0;
}
.hex-blog__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.hex-blog__titles {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.hex-blog__h2 {
    font-family: var(--hex-ui);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--hex-black);
    margin: 0;
    line-height: 1.1;
}
.hex-blog__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--hex-ui);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--hex-blue);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    padding-bottom: 4px;
    transition: gap 0.15s;
}
.hex-blog__more:hover {
    gap: 10px;
}
.hex-blog__more i {
    font-size: 0.75rem;
}

/* ── Siatka kart ───────────────────────────────────────────── */
.hex-blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ── Pojedyncza karta ──────────────────────────────────────── */
.hex-bcard {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
}
.hex-bcard:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    transform: translateY(-3px);
}

/* Obraz */
.hex-bcard__img-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--hex-ink);
    flex-shrink: 0;
}
.hex-bcard__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.hex-bcard:hover .hex-bcard__img-wrap img {
    transform: scale(1.04);
}

/* Badge na zdjęciu */
.hex-bcard__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--hex-ui);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(11,13,18,0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    padding: 4px 9px;
}
.hex-bcard__badge--video {
    background: rgba(36,97,235,0.82);
    border-color: rgba(36,97,235,0.4);
}
.hex-bcard__badge i {
    font-size: 0.75rem;
}

/* Treść */
.hex-bcard__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 22px 22px;
    flex: 1;
}
.hex-bcard__date {
    font-family: var(--hex-ui);
    font-size: 0.75rem;
    color: rgba(0,0,0,0.38);
    letter-spacing: 0.04em;
}
.hex-bcard__title {
    font-family: var(--hex-ui);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--hex-black);
    line-height: 1.4;
    margin: 0;
}
.hex-bcard__excerpt {
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(0,0,0,0.55);
    margin: 0;
    flex: 1;
}
.hex-bcard__cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--hex-ui);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--hex-blue);
    margin-top: 4px;
}
.hex-bcard__cta i {
    font-size: 0.75rem;
    transition: transform 0.15s;
}
.hex-bcard:hover .hex-bcard__cta i {
    transform: translateX(3px);
}

/* ── Blog listing page (/blog) ─────────────────────────────── */
.hex-blog-page__hero {
    background: var(--hex-black);
    padding: clamp(80px, 10vw, 120px) 0 clamp(56px, 8vw, 88px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.hex-blog-page__hero-inner {
    max-width: var(--hex-max);
    margin: 0 auto;
    padding: 0 var(--hex-px);
}
.hex-blog-page__h1 {
    font-family: var(--hex-ui);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: #fff;
    margin: 0 0 16px;
}
.hex-blog-page__h1 em {
    font-style: normal;
    color: var(--hex-blue);
}
.hex-blog-page__lead {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
    margin: 0;
    max-width: 60ch;
}
.hex-blog-page__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: var(--hex-max);
    margin: 0 auto;
    padding: clamp(48px, 8vw, 88px) var(--hex-px);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hex-blog__grid,
    .hex-blog-page__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .hex-blog__grid,
    .hex-blog-page__grid {
        grid-template-columns: 1fr;
    }
    .hex-blog__header {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ████████████████████████████████████████████████████████████
   HUB — /odzyskiwanie-danych
   ████████████████████████████████████████████████████████████ */

/* ── Hero ──────────────────────────────────────────────────── */
.hex-hub-hero {
    background: var(--hex-black);
    padding: clamp(80px, 10vw, 120px) 0 clamp(56px, 8vw, 88px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.hex-hub-hero__inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    align-items: center;
}
.hex-hub-hero__left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.hex-hub-hero__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.hex-hub-hero__photo {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3/2;
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.hex-hub-hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hex-hub-hero__h1 {
    font-family: var(--hex-ui);
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: #fff;
    margin: 0;
}
.hex-hub-hero__h1 em {
    font-style: normal;
    color: var(--hex-blue);
}
.hex-hub-hero__lead {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
    margin: 0;
    max-width: 52ch;
}
.hex-hub-hero__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.hex-hub-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.hex-hub-trust__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--hex-ui);
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
}
.hex-hub-trust__item i {
    color: var(--hex-blue);
    font-size: 1rem;
}

/* ── Siatka usług ──────────────────────────────────────────── */
.hex-services {
    background: var(--hex-off, #f6f5f2);
    padding: clamp(64px, 10vw, 112px) 0;
}
.hex-services__header {
    margin-bottom: 48px;
}
.hex-services__h2 {
    font-family: var(--hex-ui);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--hex-black);
    margin: 0;
}
.hex-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Karta usługi */
.hex-scard {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 16px;
    padding: 28px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.hex-scard:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    transform: translateY(-3px);
    border-color: rgba(36, 97, 235, 0.25);
}
.hex-scard__icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--hex-blue) 10%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hex-scard__icon-wrap i {
    font-size: 1.75rem;
    color: var(--hex-blue);
}
.hex-scard__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hex-scard__title {
    font-family: var(--hex-ui);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--hex-black);
    margin: 0;
}
.hex-scard__lead {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(0,0,0,0.55);
    margin: 0;
}
.hex-scard__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.hex-scard__list li {
    font-size: 0.8125rem;
    color: rgba(0,0,0,0.5);
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}
.hex-scard__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--hex-blue);
    opacity: 0.5;
}
.hex-scard__cta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--hex-ui);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--hex-blue);
    margin-top: auto;
}
.hex-scard__cta i {
    font-size: 0.75rem;
    transition: transform 0.15s;
}
.hex-scard:hover .hex-scard__cta i {
    transform: translateX(3px);
}

/* ── CTA dolny ─────────────────────────────────────────────── */
.hex-hub-cta {
    background: var(--hex-ink);
    padding: clamp(64px, 10vw, 112px) 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.hex-hub-cta__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}
.hex-hub-cta__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 520px;
}
.hex-hub-cta__h2 {
    font-family: var(--hex-ui);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0;
    line-height: 1.15;
}
.hex-hub-cta__lead {
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.55);
    margin: 0;
}
.hex-hub-cta__btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 8px;
}
.hex-hub-cta__features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hex-hub-feat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    min-width: 200px;
}
.hex-hub-feat i {
    font-size: 1.5rem;
    color: var(--hex-blue);
    flex-shrink: 0;
}
.hex-hub-feat span {
    font-family: var(--hex-ui);
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    line-height: 1.4;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hex-hub-hero__inner {
        grid-template-columns: 1fr;
    }
    .hex-hub-hero__photo {
        aspect-ratio: 16/9;
        max-height: 420px;
    }
    .hex-services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hex-hub-cta__inner {
        grid-template-columns: 1fr;
    }
    .hex-hub-cta__features {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .hex-hub-feat {
        flex: 1;
        min-width: 160px;
    }
}
@media (max-width: 640px) {
    .hex-services__grid {
        grid-template-columns: 1fr;
    }
    .hex-hub-hero__h1 {
        font-size: 2.5rem;
    }
}


/* ════════════════════════════════════════════════════════════
   CENNIK USŁUGI  (.hex-price)
   ████████████████████████████████████████████████████████████ */

.hex-price {
    background: var(--hex-off, #f6f5f2);
    padding: clamp(64px, 10vw, 112px) 0;
}
.hex-price__header {
    margin-bottom: 48px;
}
.hex-price__h2 {
    font-family: var(--hex-ui);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--hex-black);
    margin: 0 0 12px;
}
.hex-price__lead {
    font-size: 1rem;
    color: rgba(0,0,0,0.55);
    margin: 0;
    max-width: 60ch;
}
.hex-price__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}
.hex-pcard {
    background: #fff;
    border: 1px solid var(--pcard-color, rgba(0,0,0,0.07));
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: box-shadow .2s, transform .2s;
}
.hex-pcard:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
.hex-pcard--logic    { --pcard-color: #d1d5db; }
.hex-pcard--degrade  { --pcard-color: #9ca3af; }
.hex-pcard--mech     { --pcard-color: #6b7280; }
.hex-pcard__type {
    font-family: var(--hex-ui);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--pcard-color, var(--hex-blue));
}
.hex-pcard__title {
    font-family: var(--hex-ui);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--hex-black);
    margin: 0;
}
.hex-pcard__price {
    font-family: var(--hex-ui);
    font-size: 2rem;
    font-weight: 800;
    color: var(--hex-black);
    line-height: 1;
}
.hex-pcard__price span {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(0,0,0,0.45);
}
.hex-pcard__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.hex-pcard__list li {
    font-size: 0.9rem;
    color: rgba(0,0,0,0.65);
    padding-left: 16px;
    position: relative;
}
.hex-pcard__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--hex-blue);
    opacity: 0.5;
}
.hex-price__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
@media (max-width: 860px) {
    .hex-price__grid {
        grid-template-columns: 1fr;
    }
    .hex-pcard--featured {
        order: -1;
    }
}


/* ████████████████████████████████████████████████████████████
   JAK PRACUJEMY — dark variant of process steps (hdd.php etc.)
   ████████████████████████████████████████████████████████████ */

.hex-process--dark {
    background: var(--hex-black);
    padding: clamp(80px, 12vw, 144px) 0;
}

.hex-process--dark .hex-process__header {
    text-align: center;
    margin-bottom: 72px;
}

.hex-section-label--light {
    color: rgba(255, 255, 255, 0.45);
}
.hex-section-label--light::before {
    background: rgba(255, 255, 255, 0.35);
}

/* ── Status zespołu (data-hex-team-status) ── */
[data-hex-team-status]::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
[data-hex-team-status].is-online {
    color: #34d399;
}
[data-hex-team-status].is-online::before {
    background: #34d399;
    box-shadow: 0 0 0 3px color-mix(in srgb, #34d399 25%, transparent);
}
[data-hex-team-status].is-offline {
    color: var(--color-gray-400, #9ca3af);
}
[data-hex-team-status].is-offline::before {
    background: var(--color-gray-400, #9ca3af);
    box-shadow: none;
}

/* ── Notatka o czasie odpowiedzi (data-hex-reply) ── */
[data-hex-reply] span {
    font-weight: 400;
}
[data-hex-reply].is-open   [data-open]   { font-weight: 700; }
[data-hex-reply].is-closed [data-closed] { font-weight: 700; }

.hex-process--dark .hex-process__h2 {
    color: #fff;
    margin: 0 0 16px;
}

.hex-process__lead {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.65;
}

/* connecting line — only in dark variant */
.hex-process--dark .hex-process__steps {
    position: relative;
}
.hex-process--dark .hex-process__steps::before {
    content: '';
    position: absolute;
    top: 27px;
    left: calc(12.5% + 4px);
    right: calc(12.5% + 4px);
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(36, 97, 235, 0.4) 10%,
        rgba(36, 97, 235, 0.4) 90%,
        transparent
    );
}

.hex-process__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 clamp(12px, 2.5vw, 32px);
    position: relative;
}

.hex-process__num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--hex-blue);
    color: #fff;
    font-family: var(--hex-ui);
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 6px rgba(36, 97, 235, 0.15);
}

.hex-process__title {
    font-family: var(--hex-ui);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.hex-process__desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 860px) {
    .hex-process--dark .hex-process__steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px 0;
    }
    .hex-process--dark .hex-process__steps::before { display: none; }
}

@media (max-width: 480px) {
    .hex-process--dark .hex-process__steps {
        grid-template-columns: 1fr;
    }
}


/* ── Responsive panel ──────────────────────────────────────── */
@media (max-width: 600px) {
    .hex-panel-device { flex-direction: column-reverse; }
    .hex-panel-device__img { width: 100%; height: 200px; }
    .hex-panel-sftp__label { width: 60px; }
    .hex-panel-cost__price-row { flex-direction: column; gap: 4px; }
    .hex-panel-cost__btns { flex-direction: column; }
    .hex-panel-btn-reject { text-align: center; }
    .hex-panel-footer { flex-direction: column; align-items: flex-start; }
}


/* ████████████████████████████████████████████████████████████
   CENNIK — strona cennika odzyskiwania danych
   ████████████████████████████████████████████████████████████ */

/* ── Hero cennika ──────────────────────────────────────────── */
.hex-cennik-hero {
    background: var(--hex-black);
    padding: clamp(80px, 12vw, 128px) 0 clamp(64px, 9vw, 96px);
}
.hex-cennik-hero__inner {
    max-width: var(--hex-max);
    margin: 0 auto;
    padding: 0 var(--hex-px);
}
.hex-cennik-hero__h1 {
    font-family: var(--hex-ui);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 20px;
}
.hex-cennik-hero__h1 em {
    font-style: normal;
    color: var(--hex-blue);
}
.hex-cennik-hero__lead {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.6);
    max-width: 62ch;
    margin: 0 0 36px;
    line-height: 1.65;
}
.hex-cennik-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ── hex-price warianty ────────────────────────────────────── */
.hex-price--white {
    background: #fff;
}

/* ── Siatka 2-kolumnowa (Inne opłaty) ─────────────────────── */
.hex-price__grid--2col {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
}

/* ── Dopłaty / surcharges ──────────────────────────────────── */
.hex-price__surcharges {
    margin-top: 8px;
    padding: 20px 24px;
    background: rgba(0,0,0,0.035);
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.06);
}
.hex-price__surcharges-title {
    font-family: var(--hex-ui);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.38);
    margin: 0 0 14px;
}
.hex-price__surcharges-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hex-price__surcharges-list li {
    font-size: 0.9rem;
    color: rgba(0,0,0,0.6);
    line-height: 1.5;
    padding-left: 1.25rem;
    position: relative;
}
.hex-price__surcharges-list li::before {
    content: '+';
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--hex-blue);
    line-height: 1.5;
}
.hex-price__surcharges-list li strong {
    color: var(--hex-black);
}

/* ── Responsywność cennika ─────────────────────────────────── */
@media (max-width: 768px) {
    .hex-cennik-hero__h1 {
        font-size: clamp(1.875rem, 8vw, 2.5rem);
    }
    .hex-price__grid--2col {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
}



/* ── Scroll offset — kompensacja sticky nagłówka ──────────── */
html {
    scroll-padding-top: calc(var(--nav-h, 68px) + 16px);
}


/* ████████████████████████████████████████████████████████████
   STRONA KONTAKTU — fresh-kontakt.php
   ████████████████████████████████████████████████████████████ */

/* ── Hero ─────────────────────────────────────────────────── */
.hex-kontakt-hero {
    background: var(--hex-black);
    padding: clamp(80px, 12vw, 128px) 0 clamp(64px, 9vw, 96px);
}
.hex-kontakt-hero__inner {
    max-width: var(--hex-max);
    margin: 0 auto;
    padding: 0 var(--hex-px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(48px, 8vw, 96px);
    align-items: start;
}
.hex-kontakt-hero__h1 {
    font-family: var(--hex-ui);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 20px;
}
.hex-kontakt-hero__h1 em {
    font-style: normal;
    color: var(--hex-blue);
}
.hex-kontakt-hero__lead {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin: 0 0 20px;
    max-width: 52ch;
}
.hex-kontakt-hero__reply {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.5);
    margin: 0 0 32px;
}
.hex-kontakt-hero__reply i {
    color: #4ade80;
    margin-right: 4px;
}
.hex-kontakt-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ── Channel cards ────────────────────────────────────────── */
.hex-kontakt-channels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}
.hex-kontakt-channel {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.18s, border-color 0.18s;
}
a.hex-kontakt-channel:hover {
    background: rgba(255,255,255,0.11);
    border-color: rgba(255,255,255,0.2);
}
.hex-kontakt-channel--static {
    cursor: default;
}
.hex-kontakt-channel__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--hex-blue);
    flex-shrink: 0;
}
.hex-kontakt-channel__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.hex-kontakt-channel__label {
    font: 600 0.65rem/1 var(--hex-ui);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}
.hex-kontakt-channel__value {
    font: 600 0.9rem/1.2 var(--hex-ui);
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Hours table ──────────────────────────────────────────── */
.hex-kontakt-hours {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}
.hex-kontakt-hours__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 16px;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    font-size: 0.875rem;
}
.hex-kontakt-hours__row:last-child { border-bottom: none; }
.hex-kontakt-hours__day { color: rgba(255,255,255,0.55); }
.hex-kontakt-hours__time { font-weight: 600; color: #fff; }
.hex-kontakt-hours__row--today {
    background: rgba(255,255,255,0.10);
}
.hex-kontakt-hours__row--today .hex-kontakt-hours__day {
    color: #fff;
    font-weight: 700;
}
.hex-kontakt-hours__row--closed .hex-kontakt-hours__time { color: rgba(255,255,255,0.3); font-weight: 400; }

/* ── Form section ─────────────────────────────────────────── */
.hex-kontakt-main {
    background: var(--hex-off, #f6f5f2);
    padding: clamp(72px, 10vw, 120px) 0;
}
.hex-kontakt-main__inner {
    max-width: var(--hex-max);
    margin: 0 auto;
    padding: 0 var(--hex-px);
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: clamp(48px, 7vw, 96px);
    align-items: start;
}
.hex-kontakt-main__h2 {
    font-family: var(--hex-ui);
    font-size: clamp(1.625rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--hex-black);
    margin: 8px 0 12px;
}
.hex-kontakt-main__intro {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.7;
    margin: 0 0 28px;
    max-width: 60ch;
}

/* ── Aside blocks ─────────────────────────────────────────── */
.hex-kontakt-main__aside {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: calc(var(--nav-h, 68px) + 24px);
}
.hex-kontakt-aside-block {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(0,0,0,0.07);
}
.hex-kontakt-aside-block__title {
    font: 700 0.7rem/1 var(--hex-ui);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.38);
    margin: 0 0 16px;
}

/* ── "Co się stanie dalej" steps ──────────────────────────── */
.hex-kontakt-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.hex-kontakt-steps__item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.hex-kontakt-steps__n {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--hex-black);
    color: #fff;
    font: 700 0.75rem/26px var(--hex-ui);
    text-align: center;
    flex-shrink: 0;
}
.hex-kontakt-steps__text {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.6;
}
.hex-kontakt-steps__text strong { color: var(--hex-black); }

/* ── Payment list ─────────────────────────────────────────── */
.hex-kontakt-payments {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hex-kontakt-payments li {
    font-size: 0.875rem;
    color: #555;
    padding-left: 1.2rem;
    position: relative;
}
.hex-kontakt-payments li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--hex-blue);
}

/* ── Legal data (dl) ──────────────────────────────────────── */
.hex-kontakt-legal {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hex-kontakt-legal__row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
}
.hex-kontakt-legal__row dt {
    color: rgba(0,0,0,0.4);
    font-weight: 600;
    letter-spacing: .04em;
}
.hex-kontakt-legal__row dd {
    margin: 0;
    color: var(--hex-black);
    font-weight: 500;
}

/* ── Delivery section ─────────────────────────────────────── */
.hex-kontakt-delivery {
    background: #fff;
    padding: clamp(72px, 10vw, 120px) 0 clamp(56px, 8vw, 96px);
}
.hex-kontakt-delivery__h2 {
    font-family: var(--hex-ui);
    font-size: clamp(1.625rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--hex-black);
    margin: 8px 0 48px;
}
.hex-kontakt-delivery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.hex-kontakt-delivery__card {
    background: var(--hex-off, #f6f5f2);
    border-radius: 20px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hex-kontakt-delivery__num {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--hex-black);
    color: #fff;
    font: 700 1rem/40px var(--hex-ui);
    text-align: center;
    display: block;
    margin-bottom: 4px;
}
.hex-kontakt-delivery__title {
    font: 700 1.125rem/1.2 var(--hex-ui);
    color: var(--hex-black);
    margin: 0;
    letter-spacing: -0.02em;
}
.hex-kontakt-delivery__text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}
.hex-kontakt-delivery__address {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.6;
    font-style: normal;
}
.hex-kontakt-delivery__link {
    font: 600 0.875rem/1 var(--hex-ui);
    color: var(--hex-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    padding-top: 4px;
}
.hex-kontakt-delivery__link:hover { text-decoration: underline; }
.hex-kontakt-delivery__note {
    margin: 40px 0 0;
    font-size: 0.875rem;
    color: rgba(0,0,0,0.4);
}
.hex-kontakt-delivery__note a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ── Map section ──────────────────────────────────────────── */
.hex-kontakt-map {
    background: var(--hex-black);
    min-height: 520px;
    display: flex;
}
.hex-kontakt-map__inner {
    display: grid;
    grid-template-columns: 1fr 480px;
    width: 100%;
    max-width: var(--hex-max);
    margin: 0 auto;
    padding: 0 var(--hex-px);
    gap: clamp(48px, 7vw, 96px);
    align-items: center;
    padding-top: clamp(72px, 10vw, 120px);
    padding-bottom: clamp(72px, 10vw, 120px);
}
.hex-kontakt-map__embed {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid rgba(255,255,255,0.08);
}
.hex-kontakt-map__embed iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}
.hex-kontakt-map__h2 {
    font-family: var(--hex-ui);
    font-size: clamp(1.625rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #fff;
    margin: 8px 0 28px;
}
.hex-kontakt-map__address {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-style: normal;
    margin-bottom: 28px;
}
.hex-kontakt-map__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}
.hex-kontakt-map__row i {
    color: var(--hex-blue);
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 1rem;
}
.hex-kontakt-map__row a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
}
.hex-kontakt-map__row a:hover { color: #fff; text-decoration: underline; }
.hex-kontakt-map__row strong { color: #fff; }

/* ── Responsywność kontaktu ───────────────────────────────── */
@media (max-width: 1100px) {
    .hex-kontakt-main__inner {
        grid-template-columns: 1fr;
    }
    .hex-kontakt-main__aside {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .hex-kontakt-map__inner {
        grid-template-columns: 1fr;
    }
    .hex-kontakt-map__embed {
        aspect-ratio: 16/7;
    }
}
@media (max-width: 860px) {
    .hex-kontakt-hero__inner {
        grid-template-columns: 1fr;
    }
    .hex-kontakt-channels {
        grid-template-columns: 1fr 1fr;
    }
    .hex-kontakt-delivery__grid {
        grid-template-columns: 1fr;
    }
    .hex-kontakt-main__aside {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 540px) {
    .hex-kontakt-channels {
        grid-template-columns: 1fr;
    }
}


/* ████████████████████████████████████████████████████████████
   HEX AKADEMIA — fresh-szkolenia.php
   ████████████████████████████████████████████████████████████ */

/* ── Wspólny nagłówek sekcji ──────────────────────────────── */
.hex-akademia-section-h2 {
    font-family: var(--hex-ui);
    font-size: clamp(1.625rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--hex-black);
    margin: 8px 0 40px;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hex-akademia-hero {
    background: var(--hex-black);
    padding: clamp(80px, 12vw, 128px) 0 clamp(64px, 9vw, 96px);
}
.hex-akademia-hero__inner {
    max-width: var(--hex-max);
    margin: 0 auto;
    padding: 0 var(--hex-px);
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: clamp(48px, 8vw, 96px);
    align-items: center;
}
.hex-akademia-hero__h1 {
    font-family: var(--hex-ui);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 20px;
}
.hex-akademia-hero__h1 em { font-style: normal; color: var(--hex-blue); }
.hex-akademia-hero__lead {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin: 0 0 32px;
    max-width: 56ch;
}
.hex-akademia-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Stats grid (prawa kolumna hero) ──────────────────────── */
.hex-akademia-hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.hex-akademia-stat {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hex-akademia-stat__n {
    font: 700 1.75rem/1 var(--hex-ui);
    color: #fff;
    letter-spacing: -0.03em;
}
.hex-akademia-stat__l {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.45);
}

/* ── Dla kogo ─────────────────────────────────────────────── */
.hex-akademia-audience {
    background: var(--hex-off, #f6f5f2);
    padding: clamp(72px, 10vw, 120px) 0;
}
.hex-akademia-audience__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.hex-akademia-audience__card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px;
    border: 1px solid rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.hex-akademia-audience__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--hex-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: var(--hex-blue);
}
.hex-akademia-audience__title {
    font: 700 1.0625rem/1.2 var(--hex-ui);
    color: var(--hex-black);
    margin: 0;
    letter-spacing: -0.02em;
}
.hex-akademia-audience__text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.65;
    margin: 0;
}

/* ── Metodyka ─────────────────────────────────────────────── */
.hex-akademia-method {
    background: #fff;
    padding: clamp(72px, 10vw, 120px) 0;
}
.hex-akademia-method__header {
    max-width: 640px;
    margin-bottom: 56px;
}
.hex-akademia-method__lead {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin: -24px 0 0;
}
.hex-akademia-method__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.hex-akademia-method__item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hex-akademia-method__n {
    font: 700 2rem/1 var(--hex-ui);
    color: rgba(0,0,0,0.08);
    letter-spacing: -0.04em;
}
.hex-akademia-method__title {
    font: 700 1rem/1.25 var(--hex-ui);
    color: var(--hex-black);
    margin: 0;
    letter-spacing: -0.02em;
}
.hex-akademia-method__text {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.65;
    margin: 0;
}

/* ── Program szkoleń ──────────────────────────────────────── */
.hex-akademia-program {
    background: var(--hex-off, #f6f5f2);
    padding: clamp(72px, 10vw, 120px) 0;
}
.hex-akademia-program__note {
    font-size: 0.875rem;
    color: rgba(0,0,0,0.4);
    margin: -24px 0 48px;
}
.hex-akademia-courses {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: start;
}

/* ── Course card ──────────────────────────────────────────── */
.hex-course {
    background: #fff;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.hex-course--featured {
    border-color: var(--hex-black);
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}
.hex-course__header {
    padding: 32px 32px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.hex-course__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.hex-course__badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font: 600 0.7rem/1 var(--hex-ui);
    letter-spacing: .06em;
    text-transform: uppercase;
    background: rgba(0,0,0,0.06);
    color: rgba(0,0,0,0.5);
}
.hex-course__badge--adv {
    background: var(--hex-black);
    color: #fff;
}
.hex-course__duration {
    font-size: 0.8125rem;
    color: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    gap: 5px;
}
.hex-course__title {
    font: 700 1.75rem/1.1 var(--hex-ui);
    color: var(--hex-black);
    letter-spacing: -0.03em;
    margin: 0 0 16px;
}
.hex-course__price {
    font-size: 1rem;
    color: rgba(0,0,0,0.45);
}
.hex-course__amount {
    font: 700 2rem/1 var(--hex-ui);
    color: var(--hex-black);
    letter-spacing: -0.03em;
}
.hex-course__body {
    padding: 24px 32px;
    flex: 1;
}
.hex-course__prereq {
    font-size: 0.8125rem;
    color: rgba(0,0,0,0.45);
    line-height: 1.55;
    margin: 0 0 20px;
    padding: 10px 14px;
    background: rgba(0,0,0,0.03);
    border-radius: 8px;
}
.hex-course__prereq strong { color: rgba(0,0,0,0.6); }
.hex-course__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hex-course__list li {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.55;
    padding-left: 1.35rem;
    position: relative;
}
.hex-course__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--hex-blue);
    opacity: 0.6;
}
.hex-course__footer {
    padding: 24px 32px 32px;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.hex-course__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--hex-black);
    color: #fff;
    border-radius: 10px;
    font: 600 0.9375rem/1 var(--hex-ui);
    text-decoration: none;
    transition: opacity 0.15s;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
}
.hex-course__cta:hover { opacity: 0.85; }
.hex-course--featured .hex-course__cta { background: var(--hex-blue); }

/* ── Terminy ──────────────────────────────────────────────── */
.hex-akademia-dates {
    background: var(--hex-black);
    padding: clamp(72px, 10vw, 120px) 0;
}
.hex-akademia-dates .hex-akademia-section-h2 { color: #fff; }
.hex-akademia-dates__inner {
    max-width: var(--hex-max);
    margin: 0 auto;
    padding: 0 var(--hex-px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(48px, 8vw, 96px);
    align-items: start;
}
.hex-akademia-dates__sub {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin: -24px 0 32px;
    max-width: 46ch;
}
.hex-akademia-dates__right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hex-akademia-date-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;
}
.hex-akademia-date-item__badge {
    font: 600 0.7rem/1 var(--hex-ui);
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    white-space: nowrap;
    flex-shrink: 0;
}
.hex-akademia-date-item__badge--adv { background: var(--hex-blue); color: #fff; }
.hex-akademia-date-item__dates {
    font: 600 0.9375rem/1 var(--hex-ui);
    color: #fff;
    flex: 1;
}
.hex-akademia-date-item__status {
    font: 600 0.75rem/1 var(--hex-ui);
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}
.hex-akademia-date-item__status--open { background: rgba(74,222,128,0.15); color: #4ade80; }
.hex-akademia-date-item__status--full { background: rgba(248,113,113,0.15); color: #fca5a5; }
.hex-akademia-date-item__status--tbd  { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.45); }

/* ── Responsywność akademii ───────────────────────────────── */
@media (max-width: 1100px) {
    .hex-akademia-method__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .hex-akademia-hero__inner    { grid-template-columns: 1fr; }
    .hex-akademia-hero__stats    { grid-template-columns: repeat(4, 1fr); }
    .hex-akademia-audience__grid { grid-template-columns: 1fr; }
    .hex-akademia-courses        { grid-template-columns: 1fr; }
    .hex-akademia-dates__inner   { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .hex-akademia-hero__stats    { grid-template-columns: repeat(2, 1fr); }
    .hex-akademia-method__grid   { grid-template-columns: 1fr; }
}


/* ████████████████████████████████████████████████████████████
   BLOG ARTICLE — hex-article-*
   ████████████████████████████████████████████████████████████ */

/* ── Breadcrumbs ──────────────────────────────────────────── */
.hex-breadcrumbs { margin-bottom: 20px; }
.hex-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 0;
    list-style: none;
    margin: 0;
    padding: 0;
}
.hex-breadcrumbs li {
    display: flex;
    align-items: center;
    font: 500 0.8125rem/1 var(--hex-ui);
    color: rgba(255,255,255,0.45);
}
.hex-breadcrumbs li:not(:first-child)::before {
    content: '/';
    color: rgba(255,255,255,0.22);
    margin: 0 6px;
}
.hex-breadcrumbs a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.15s;
}
.hex-breadcrumbs a:hover { color: #fff; }
.hex-breadcrumbs li[aria-current="page"] { color: rgba(255,255,255,0.65); }

/* ── Hero ──────────────────────────────────────────────────── */
.hex-article-hero {
    background: var(--hex-black);
    padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 64px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hex-article-hero__inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 var(--hex-px);
}
.hex-article-hero__h1 {
    font: 700 clamp(1.875rem, 4.5vw, 2.875rem)/1.15 var(--hex-ui);
    color: #fff;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}
.hex-article-hero__h1 em {
    font-style: normal;
    color: var(--hex-blue);
}
.hex-article-hero__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font: 500 0.875rem/1 var(--hex-ui);
    color: rgba(255,255,255,0.5);
    margin: 0;
}
.hex-article-hero__meta time { color: rgba(255,255,255,0.6); }

/* ── Facts bar ─────────────────────────────────────────────── */
.hex-article-facts-bar {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}
.hex-article-facts-bar__inner {
    max-width: var(--hex-max);
    margin: 0 auto;
    padding: 20px var(--hex-px);
}
.hex-article-facts-bar__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px 24px;
}
.hex-article-facts-bar__item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.hex-article-facts-bar__label {
    font: 500 0.6875rem/1 var(--hex-ui);
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.hex-article-facts-bar__value {
    font: 600 0.875rem/1.3 var(--hex-ui);
    color: #111827;
}
.hex-article-facts-bar__link {
    color: var(--hex-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ── Body layout ───────────────────────────────────────────── */
.hex-article-body {
    max-width: var(--hex-max);
    margin: 0 auto;
    padding: 56px var(--hex-px) 80px;
    display: grid;
    grid-template-columns: 1fr 288px;
    gap: 48px;
    /* Brak align-items: start — aside musi rozciągać się na pełną
       wysokość kolumny, żeby position:sticky działało poprawnie */
}
.hex-article-content { min-width: 0; }

/* ── Section ───────────────────────────────────────────────── */
.hex-article-section {
    padding: 44px 0;
    border-top: 1px solid #e5e7eb;
}
.hex-article-section:first-child {
    padding-top: 0;
    border-top: none;
}

/* ── Prose ─────────────────────────────────────────────────── */
.hex-article-prose h2 {
    font: 700 clamp(1.125rem, 2vw, 1.3125rem)/1.25 var(--hex-ui);
    color: #111827;
    margin: 0 0 14px;
    letter-spacing: -0.015em;
}
.hex-article-prose h2 span { color: var(--hex-blue); }
.hex-article-prose p {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #374151;
    margin: 0 0 12px;
}
.hex-article-prose p:last-child { margin-bottom: 0; }
.hex-article-prose strong { color: #111827; font-weight: 700; }
.hex-article-prose a.link {
    color: var(--hex-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── Figure ────────────────────────────────────────────────── */
.hex-article-figure {
    margin: 28px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}
.hex-article-figure img {
    display: block;
    width: 100%;
    height: auto;
    cursor: zoom-in;
    transition: transform 0.35s ease;
}
.hex-article-figure:hover img { transform: scale(1.015); }
/* Para bezpośrednio po figurze nie potrzebuje górnego marginesu */
.hex-article-figure + p { margin-top: 0; }

/* ── Aside ─────────────────────────────────────────────────── */
.hex-article-aside__card {
    position: sticky;
    top: calc(var(--nav-h, 68px) + 24px);
    background: var(--hex-black);
    border-radius: 12px;
    padding: 28px 22px;
    color: #fff;
}
.hex-article-aside__eyebrow {
    font: 500 0.6875rem/1 var(--hex-ui);
    color: rgba(255,255,255,0.42);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin: 0 0 10px;
}
.hex-article-aside__h3 {
    font: 700 1.125rem/1.2 var(--hex-ui);
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}
.hex-article-aside__lead {
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.6);
    margin: 0 0 20px;
}
.hex-article-aside__divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin: 20px 0;
}
.hex-article-aside__cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hex-article-aside__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 8px;
    font: 600 0.875rem/1 var(--hex-ui);
    text-decoration: none;
    transition: opacity 0.15s, transform 0.15s;
}
.hex-article-aside__btn:hover { opacity: 0.85; transform: translateY(-1px); }
.hex-article-aside__btn--primary { background: var(--hex-blue); color: #fff; }
.hex-article-aside__btn--outline {
    background: transparent;
    color: rgba(255,255,255,0.72);
    border: 1px solid rgba(255,255,255,0.16);
}

/* ── Bottom CTA ────────────────────────────────────────────── */
.hex-article-cta {
    background: #111827;
    border-radius: 12px;
    padding: clamp(32px, 5vw, 48px) clamp(24px, 4vw, 40px);
    text-align: center;
    margin-top: 56px;
    color: #fff;
}
.hex-article-cta__eyebrow {
    font: 500 0.6875rem/1 var(--hex-ui);
    color: rgba(255,255,255,0.42);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin: 0 0 10px;
}
.hex-article-cta__h2 {
    font: 700 clamp(1.25rem, 2.5vw, 1.625rem)/1.2 var(--hex-ui);
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}
.hex-article-cta__lead {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.6);
    max-width: 54ch;
    margin: 0 auto 28px;
}
.hex-article-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* ── Responsywność artykułu ────────────────────────────────── */
@media (max-width: 1100px) {
    .hex-article-body { grid-template-columns: 1fr; }
    .hex-article-aside { order: 10; }
    .hex-article-aside__card { position: static; }
}
@media (max-width: 760px) {
    .hex-article-section { padding: 32px 0; }
    .hex-article-body { padding-top: 32px; padding-bottom: 48px; }
    .hex-article-figure { margin: 20px 0; }
}
@media (max-width: 480px) {
    .hex-article-facts-bar__grid { grid-template-columns: 1fr 1fr; }
}

/* ── Figura video (YouTube 16:9) ────────────────────────────── */
.hex-article-figure--video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    margin: 28px 0;
}
.hex-article-figure--video iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}

/* ── Listy w prose ──────────────────────────────────────────── */
.hex-article-prose ul,
.hex-article-prose ol {
    margin: 0 0 1em 1.5em;
    padding: 0;
}
.hex-article-prose li {
    margin: 0.3em 0;
    line-height: 1.7;
}

/* ── Blok logów technicznych ────────────────────────────────── */
.hex-article-log {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8125rem;
    line-height: 1.6;
    background: #f3f4f6;
    border-left: 3px solid #d1d5db;
    border-radius: 0 6px 6px 0;
    padding: 16px 20px;
    margin: 20px 0;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
    color: #374151;
}

/* ── Tekst ostrzeżenia ──────────────────────────────────────── */
.hex-article-warn {
    color: var(--red-color, #dc2626);
}

/* ── Dwie kolumny (tabele konwersji / listy urządzeń) ───────── */
.hex-article-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
    margin: 20px 0;
}
@media (max-width: 600px) {
    .hex-article-cols { grid-template-columns: 1fr; }
    .hex-article-figure--video { margin: 20px 0; }
}


/* ████████████████████████████████████████████████████████████
   STRONY DOKUMENTOWE (regulamin, rodo)
   ████████████████████████████████████████████████████████████ */

/* ── Hero ─────────────────────────────────────────────────── */
.hex-doc-hero {
    background: var(--hex-black);
    padding: clamp(48px, 7vw, 80px) 0 clamp(32px, 4vw, 52px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hex-doc-hero__h1 {
    font: 700 clamp(1.75rem, 4vw, 2.5rem)/1.15 var(--hex-ui);
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
}

/* ── Treść ────────────────────────────────────────────────── */
.hex-doc-body {
    background: #fff;
    padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 100px);
}
.hex-doc-body .hex-page-inner {
    max-width: 760px;
}

/* ── Prose – rozszerzenia dla dokumentów ─────────────────── */
.hex-doc-body .hex-article-prose h2 {
    font-size: clamp(1.0625rem, 2vw, 1.1875rem);
    margin: 2em 0 0.5em;
    padding-top: 1.25em;
    border-top: 1px solid #e5e7eb;
}
.hex-doc-body .hex-article-prose h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.hex-doc-body .hex-article-prose h3 {
    font: 600 1rem/1.3 var(--hex-ui);
    color: #111827;
    margin: 1.5em 0 0.4em;
    letter-spacing: -0.01em;
}
.hex-doc-body .hex-article-prose p {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #374151;
}
.hex-doc-body .hex-article-prose ul,
.hex-doc-body .hex-article-prose ol {
    margin: 0 0 1em 1.5em;
}
.hex-doc-body .hex-article-prose li {
    margin: 0.35em 0;
    line-height: 1.75;
    color: #374151;
}
.hex-doc-body .hex-article-prose a {
    color: var(--hex-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.hex-doc-body .hex-article-prose a:hover {
    color: var(--hex-blue-dark, #0041cc);
}

/* ── Responsywność ────────────────────────────────────────── */
@media (max-width: 600px) {
    .hex-doc-hero { padding: 40px 0 28px; }
    .hex-doc-body  { padding: 32px 0 56px; }
}


/* ████████████████████████████████████████████████████████████
   STRONY BŁĘDÓW (404)
   ████████████████████████████████████████████████████████████ */

.hex-error-hero {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    background: var(--hex-black, #0b0d12);
    padding: clamp(64px, 10vw, 120px) 0;
}

.hex-error-hero__inner {
    text-align: center;
}

.hex-error-hero__code {
    display: block;
    font-size: clamp(96px, 18vw, 180px);
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.10);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    user-select: none;
}

.hex-error-hero__label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hex-blue, #005aff);
    margin-bottom: 20px;
}

.hex-error-hero__title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}

.hex-error-hero__text {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.45);
    max-width: 380px;
    margin: 0 auto 36px;
    line-height: 1.65;
}

.hex-error-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    background: var(--hex-blue, #005aff);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: background 0.18s;
}

.hex-error-hero__cta:hover {
    background: #0047cc;
    color: #fff;
}

@media (max-width: 600px) {
    .hex-error-hero { min-height: calc(100vh - 56px); padding: 48px 0; }
    .hex-error-hero__code { -webkit-text-stroke-width: 1px; }
}
