:root {
    /* NEUTRAL */
    --bg: #f9fafb;
    --card: #ffffff;
    --border: #e5e7eb;
    --text: #1f2933;
    --muted: #6b7280;

    /* INDUSTRIAL PRIMARY */
    --color-primary: #0f172a;
    --color-primary-light: #1e293b;
    --color-primary-muted: #334155;
    --color-on-primary: #e5e7eb;

    /* ACCENT */
    --accent: #ff9900;

    /* INFO */
    --color-info: #2563eb;
    --color-info-bg: #eff6ff;

    /* ADDITIONAL (dla kompatybilności) */
    --bg-muted: #f3f4f6;
    --bg-soft: #fafafa;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;

}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;

}

#wdrozenie {
    scroll-margin-top: 100px;
    /* wysokość headera */
}

body {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    /* added */
    min-height: 100vh;
    height: auto;

}

html,
body {
    overflow-x: hidden;
    overflow-x: visible;
}

.container {
    max-width: 1280px;
    margin: auto;
    padding: 64px 24px;
}

.section {
    margin-bottom: 96px;
}

.grid {
    display: grid;
    gap: 32px
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr))
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))
}

h1,
h2,
h3 {
    margin: 0 0 16px
}

p {
    color: var(--muted);
    line-height: 1.6;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
}



/* WZORZEC SYSTEMOWY */
.icon {
    stroke: currentColor;
    fill: none;
    stroke-width: 1.2;
    /* color: var(--color-primary-muted); */
}


.card:hover .icon {
    color: var(--color-primary);
}


.card .icon {
    color: var(--accent);
}

/* TYLKO ikony kart */
/* .product-icon svg,
.product-icon .icon {
    stroke: currentColor;
    fill: none;
    stroke-width: 1.2;
} */

.card-process {
    font-weight: 500;
}


.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 153, 0, .1);
    color: var(--accent);
    font-weight: 600;
    font-size: 13px;
}

.btn {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
}

.btn-primary {
    background: var(--accent);
    color: #000;
}

.btn-secondary {
    background: transparent;
    color: var(--color-on-primary);
    border: 1px solid var(--color-primary-muted);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
}


.image-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f3f3f3;
    border: 1px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    text-align: center;
    font-size: 0.9rem;
}

.tech-graphic {
    max-width: 520px;
    width: 100%;
    height: auto;
    background: var(--color-primary-light);
}

.image-hero {
    aspect-ratio: 16 / 9;
}


.page-layout {
    max-width: 1200px;
    margin: auto;
    padding: 64px 24px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
}

@media (max-width: 1024px) {
    .page-layout {
        grid-template-columns: 1fr;
    }
}


.page-content {
    min-width: 0;
    /* overflow-x: hidden; */
    overflow: visible
}



.sticky-panel {
    position: sticky;
    top: 120px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding-bottom: 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
}

@media (max-width: 1024px) {
    aside.sticky-panel {
        display: none;
    }
}


.sticky-panel h3 {
    margin-bottom: 4px;
    /* Firefox fix */
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
}


/* ===============================
  SCROLLBAR – STICKY PANEL
  =============================== */

/* Chrome / Edge / Safari */
.sticky-panel::-webkit-scrollbar {
    width: 8px;
}

.sticky-panel::-webkit-scrollbar-track {
    background: transparent;
}

.sticky-panel::-webkit-scrollbar-thumb {
    background-color: #d1d5db;
    /* neutralny szary */
    border-radius: 6px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.sticky-panel::-webkit-scrollbar-thumb:hover {
    background-color: #9ca3af;
}

/* .sticky-panel.ok::-webkit-scrollbar-thumb {
 background-color: #86efac;
}

.sticky-panel.warn::-webkit-scrollbar-thumb {
 background-color: #fde68a;
}

.sticky-panel.error::-webkit-scrollbar-thumb {
 background-color: #fca5a5;
} */

.panel-sub {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
}

.panel-list {
    padding-left: 18px;
    margin-bottom: 16px;
}

.panel-metrics {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 16px;
}

.panel-metrics strong {
    color: #1f2933;
}

.panel-cta {
    display: block;
    text-align: center;
}

.aside-block {
    margin-bottom: 1.25rem;
    /* lub 20px – zależnie od skali */
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.field label {
    font-size: 14px;
    font-weight: 600;
}

.field input,
.field select {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.input-error {
    border-color: #dc2626 !important;
    background-color: #fef2f2 !important;
}

.input-error:focus {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

.result-card strong {
    display: block;
    font-size: 36px;
    color: var(--accent);
    margin: 12px 0;
}

.muted {
    font-size: 13px;
    color: #6b7280;
}

.page-header {
    width: 100%;
    background: var(--bg);
    padding: 96px 0 64px;
    /* góra/dół */
}

.header-inner {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
    /* <<< TO JEST KLUCZ */
}

.hint {
    display: block;
    font-size: 12px;
    color: #6b7280;
    font-weight: 400;
}

.result-sub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 16px 0;
}

.result-sub span {
    font-size: 12px;
    color: #6b7280;
}

.result-sub strong {
    font-size: 18px;
}

#capacityCheck {
    border-left: 6px solid #e5e7eb;
}

#capacityCheck.ok {
    border-color: #16a34a;
}

#capacityCheck.warn {
    border-color: #facc15;
}

#capacityCheck.error {
    border-color: #dc2626;
}

/* ===============================
  STAN ASIDE FX180
  =============================== */

#aside {
    border-left: 6px solid #e5e7eb;
}

#aside.ok {
    border-color: #16a34a;
}

#aside.warn {
    border-color: #facc15;
}

#aside.error {
    border-color: #dc2626;
}

/* ===============================
  KONIEC STAN ASIDE FX180
  =============================== */
/* ===============================
  LEGENDA STATUSÓW
  =============================== */

.section-legend {
    padding-top: 0;
}

.status-legend {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}

.status-legend li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.status-legend .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

#cta.warn {
    background-color: #facc15;
    color: #000;
}

#cta.error {
    background-color: #dc2626;
}

#ctaAside.warn {
    background-color: #facc15;
    color: #000;
}

#ctaAside.error {
    background-color: #dc2626;
}

/* kolory zgodne z capacityCheck / aside */
.status-legend .ok .dot {
    background: #16a34a;
}

.status-legend .warn .dot {
    background: #facc15;
}

.status-legend .error .dot {
    background: #dc2626;
}

/* ===============================
  KONIEC LEGENDA STATUSÓW
  =============================== */
#dryerCountCard strong {
    font-size: 22px;
    display: block;
    margin-bottom: 6px;
}

.capacity-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.compare-toggle {
    display: flex;
    gap: 8px;
    margin: 32px 0;
}

.toggle-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.toggle-btn.active {
    background: #ff9900;
    border-color: #ff9900;
    color: #000;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
}

.compare-table th,
.compare-table td {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.compare-table th {
    font-weight: 600;
}

.compare-table tbody tr:hover {
    background: #f9fafb;
}

.model-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: transform .15s ease, box-shadow .15s ease;
}

.model-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .06);
}

.model-image {
    padding: 16px;
}

.model-body {
    padding: 16px 20px 20px;
}

.model-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    font-size: 14px;
}

.model-specs li {
    margin-bottom: 4px;
}

.model-highlight {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
}

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

.doc-list li {
    margin-bottom: 12px;
}

.doc-list a {
    font-weight: 600;
    text-decoration: none;
    color: inherit;
}

/* ===============================
  FAQ – AKORDEON
  =============================== */

.faq-list {
    max-width: 860px;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 0.75rem 0;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 500;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    float: right;
    color: #9ca3af;
}

.faq-item[open] summary::after {
    content: "–";
}

.faq-content {
    margin-top: 0.75rem;
    padding-right: 1rem;
}

.faq-content ul {
    margin-left: 1rem;
}

/* ===============================
  FAQ – IKONA INFORMACYJNA (POPRAWIONA)
  =============================== */

.faq-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* zewnętrzny nośnik */
.faq-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: var(--color-info-bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* symbol "i" */
.faq-icon-inner {
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-info);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===============================
  KONIEC FAQ – AKORDEON
  =============================== */
.page-hero-industrial {
    position: relative;
    width: 100%;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: var(--color-primary);
    color: var(--color-on-primary);
    overflow: hidden;
    margin-bottom: 64px;
}

.page-hero-industrial::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right,
            transparent,
            var(--color-primary-muted),
            transparent);
}


/* WARSTWA GRAFICZNA */
.home-header .hero-bg {
    position: absolute;
    inset: 0;
    background:
        /*akcent brandowy */
        radial-gradient(circle at 70% 30%,
            rgba(255, 153, 0, 0.15),
            transparent 60%),
        /* gradient bazowy */
        linear-gradient(180deg,
            var(--color-primary),
            var(--color-primary-light));
    opacity: 1;
    pointer-events: none;
}

.page-hero-industrial.offer-header .hero-bg-image {
    position: absolute;
    inset: 0;
    background: url("/assets/images/offer-header.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}

.page-hero-industrial.offer-header .hero-bg-overlay {
    position: absolute;
    inset: 0;

    background:
        /* 1️⃣ subtelny akcent brandowy (PRALMA) */
        radial-gradient(circle at 15% 25%,
            rgba(255, 153, 0, 0.06),
            transparent 55%),

        /* 2️⃣ delikatna struktura technologiczna */
        radial-gradient(circle at 80% 70%,
            rgba(255, 255, 255, 0.05),
            transparent 60%),

        /* 3️⃣ bazowy gradient przemysłowy (Z ALFA) */
        linear-gradient(180deg,
            rgba(15, 23, 42, 0.65),
            rgba(30, 41, 59, 0.80));

    z-index: 1;
    pointer-events: none;
}


.page-hero-industrial.home-header .hero-bg-image {
    position: absolute;
    inset: 0;
    background: url("/assets/images/home-header-tech-bg.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}

.page-hero-industrial.home-header .hero-bg-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at 70% 30%,
            rgba(255, 153, 0, 0.12),
            transparent 60%),
        linear-gradient(180deg,
            rgba(15, 23, 42, 0.85),
            rgba(30, 41, 59, 0.9));

    z-index: 1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .home-header .hero-bg-image {
        background-position: center top;
    }
}


.page-hero-industrial .hero-bg-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at 70% 30%,
            rgba(255, 153, 0, 0.12),
            transparent 60%),
        linear-gradient(180deg,
            rgba(15, 23, 42, 0.85),
            rgba(30, 41, 59, 0.9));

    z-index: 1;
    pointer-events: none;
}

/* CONTENT */
.hero-content {
    position: relative;
    z-index: 2;
}

.page-hero-industrial h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.page-hero-industrial p {
    max-width: 640px;
    color: #cbd5e1;
}

.hero-actions {
    margin-top: 32px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===============================
  HIGHLIGHT SEKCJI PO SCROLLU
  =============================== */

.section-highlight {
    animation: sectionFlash 1.2s ease-out;
}

@keyframes sectionFlash {
    0% {
        background-color: var(--color-info-bg);
    }

    100% {
        background-color: transparent;
    }
}

/* ===============================
   KONIEC HIGHLIGHT SEKCJI PO SCROLLU
   =============================== */
/* ===============================
  FOOTER – WERSJA TYMCZASOWA
  =============================== */

.site-footer {
    margin-top: 4rem;
    padding: 1.5rem 1rem;
    border-top: 1px solid #e5e7eb;
    background: #fafafa;
    font-size: 0.9rem;
    color: #6b7280;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-brand {
    line-height: 1.4;
}

.footer-meta {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    white-space: nowrap;
}

/* Mobile */
@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ===============================
  KONIEC FOOTER – WERSJA TYMCZASOWA
  =============================== */
/* ===============================
  SECTION – INDUSTRIAL (PRIMARY)
  =============================== */

.section-industrial {
    position: relative;
    background: linear-gradient(180deg,
            var(--color-primary),
            var(--color-primary-light));
    color: var(--color-on-primary);

}

/* zachowujemy istniejący rhythm sekcji */
.section-industrial .container {
    padding-top: 48px;
    padding-bottom: 48px;
}

/* TEKST */
.section-industrial h1,
.section-industrial h2,
.section-industrial h3 {
    color: var(--color-on-primary);
}

.section-industrial p {
    color: #cbd5e1;
}

.section-industrial .muted {
    color: #94a3b8;
}

/* KARTY NA CIEMNYM TLE */
.section-industrial .card {
    background: var(--color-primary-light);
    border: 1px solid var(--color-primary-muted);
    color: var(--color-on-primary);
}

.section-industrial .card p {
    color: #cbd5e1;
}


/* IKONY */
.section-industrial svg {
    color: var(--accent);
}

/* LINKI */
.section-industrial a {
    color: var(--color-on-primary);
}

.section-industrial a:hover {
    color: var(--accent);
}

/* SUBTELNE ODCIĘCIE SEKCJI */
.section-industrial::before,
.section-industrial::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 5px;
    pointer-events: none;
}

.section-industrial.section-guide::before,
.section-industrial.section-guide::after {
    height: 2px;
}

.section-industrial::before {
    top: 0;
    background: linear-gradient(to right,
            transparent,
            var(--color-primary-muted),
            transparent);
}

.section-industrial::after {
    bottom: 0;
    background: linear-gradient(to right,
            transparent,
            var(--color-primary-muted),
            transparent);
}

/* ===============================
  MOBILE TUNING
  =============================== */

@media (max-width: 768px) {
    .section-industrial .container {
        padding-top: 64px;
        padding-bottom: 64px;
    }
}

.mobile-cta-bar {
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.25);
}

.mobile-cta-bar.hidden {
    transform: translateY(100%);
    opacity: 0;
}


img,
.image-placeholder {
    max-width: 100%;
    height: auto;
}

.grid>* {
    min-width: 0;
}




@media (max-width: 768px) {
    .page-hero-industrial {
        min-height: auto;
        padding: 64px 0 48px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .section {
        margin-bottom: 64px;
    }
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    body {
        padding-bottom: 72px;
        /* miejsce na mobile CTA bar */
    }
}

@media (max-width: 768px) {
    .image-placeholder {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 1024px) {
    .mobile-cta-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;

        display: flex;
        justify-content: space-between;
        align-items: center;

        padding: 12px 16px;
        background: var(--color-primary);
        color: var(--color-on-primary);
        border-top: 1px solid var(--color-primary-muted);

        transform: translateY(100%);
        opacity: 0;
        transition: transform 0.35s ease-out, opacity 0.35s ease-out;
    }

    .mobile-cta-bar span {
        font-size: 13px;
        line-height: 1.2;
    }

    .mobile-cta-bar.visible {
        transform: translateY(0);
        opacity: 1;
    }

    .mobile-cta-bar.hidden-by-footer {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* ===============================
  SEO INTRO (CONTENT, NOT MARKETING)
  =============================== */

.section-seo-intro {
    max-width: 900px;
    margin: 48px auto 64px;
    padding: 0 16px;
}

.section-seo-intro p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted);
    margin-bottom: 16px;
}

.section-seo-intro strong {
    color: var(--text);
    font-weight: 600;
}

/* MOBILE */
@media (max-width: 768px) {
    .section-seo-intro {
        margin: 32px auto 48px;
    }

    .section-seo-intro p {
        font-size: 14px;
    }
}

/* ===============================
  MAIN NAV
  =============================== */

.main-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    gap: 1rem;
    position: relative;
}

@media (max-width: 768px) {
    .nav-inner {
        justify-content: space-between;
    }
}

.nav-inner:hover .has-mega>.mega-menu {
    display: grid;
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 56px;
    overflow: hidden;
    /* upewniamy się, że większe logo nie wystaje poza obszar nagłówka */
}

.nav-logo__svg {
    width: auto;
    max-width: 220px;
    max-height: 100%;
    /* dopasuj wysokość do kontenera nagłówka */
    height: 100%;
    display: block;
}

/* Mniejsze logo na ekranach mobilnych — zwiększone, ale bez nachodzenia na treść */
@media (max-width: 768px) {

    /* zwiększona szerokość, dopasowana do wysokości nagłówka */
    .nav-logo__svg {
        max-width: 160px;
        /* większe, ale nie za duże */
        max-height: 56px;
    }

    /* zmniejszamy padding wewnętrzny, aby zachować proporcje i nie dopuszczać do nachodzenia */
    .nav-inner {
        padding: 0.5rem 0.75rem;
    }
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    margin-left: auto;
    margin-right: 1rem;
}

.nav-icon {
    color: var(--color-primary-muted);
}

.nav-menu a {
    text-decoration: none;
    color: #111827;
    font-weight: 500;
    position: relative;
    padding: 0.25rem 0;
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.nav-menu a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

.nav-menu a.is-active {
    color: var(--color-primary);
    font-weight: 600;
}

.nav-menu>li>a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.4rem;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
}

.nav-mobile-toggle {
    display: none;
}

.has-submenu {
    position: relative;
}


.submenu {
    position: absolute;
    top: 100%;
    /* 🔥 KLUCZ */
    left: 0;
    min-width: 260px;

    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.5rem 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    z-index: 1000;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 120ms ease;
}



.submenu--mega {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 0.5rem 2rem;

    width: max-content;
    max-width: 90vw;

    max-height: calc(100vh - 96px);
    overflow-y: auto;

    padding: 1rem 1.25rem;

    list-style: none;
    /* 🔥 usuwa punkty */
    margin: 0;
}

.submenu--mega>li {
    min-width: 0;
}

.submenu--mega a {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.submenu::before {
    content: "";
    position: absolute;
    top: -20px;
    /* realna przerwa */
    left: 0;
    right: 0;
    height: 20px;

    background: transparent;
    pointer-events: none;
}


.submenu a {
    display: flex;
    align-items: center;
    /* TO ROBI CAŁĄ ROBOTĘ */
    gap: 0.75rem;

    padding: 0.6rem 1rem;
    text-decoration: none;
    color: #374151;
    /* mikro-feedback hover na pozycjach submenu */
    transition:
        background-color 120ms ease,
        color 120ms ease,
        transform 120ms ease;
}

.submenu-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.submenu-title {
    font-size: 0.95rem;
    font-weight: 500;
}

.submenu .muted {
    font-size: 0.8rem;
    color: #6b7280;
}

.submenu-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    flex-shrink: 0;
    transition: color 100ms ease, transform 100ms ease;
}


.submenu-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.submenu a:hover .submenu-icon {
    color: var(--color-primary);
    transform: translateX(1px);
}

.submenu a.is-active .submenu-icon {
    color: var(--accent);
    transform: none;
}


.submenu a:hover {
    color: var(--color-primary);
    background-color: #f9fafb;
    transform: translateX(2px);
    /* bardzo mało */
}

.submenu a.is-active {
    color: var(--accent);
    font-weight: 600;
    transform: none;
    background: transparent;
}

.submenu a.is-active::before {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

/* .submenu a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    background-color: var(--accent);
    border-radius: 2p
} */

.submenu a.is-active .submenu-icon {
    opacity: 1;
}


/* .has-submenu:hover .submenu {
    display: block;
} */

.has-submenu:hover>.submenu,
.submenu:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


.nav-cta {
    margin-left: 0.75rem;
}

.nav-cta.is-small {
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
    line-height: 1;
}

.nav-cta:hover {
    filter: brightness(1.05);
}

.nav-mobile {
    display: none;
}

.nav-mobile-panel {
    display: none;
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
}


.mobile-accordion summary::-webkit-details-marker,
.mobile summary::-webkit-details-marker {
    display: none;
}

.mobile-accordion-title,
.mobile-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;

    padding: 0.75rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #111827;

    cursor: pointer;
    list-style: none;
}

.mobile-link {
    /* padding: 0.75rem 0; */
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    text-decoration: none;
}

.mobile-accordion-icon,
.mobile-icon {
    width: 20px;
    height: 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #6b7280;
    flex-shrink: 0;
}

.mobile-accordion-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.mobile-accordion-arrow {
    margin-left: auto;
    width: 8px;
    height: 8px;
    border-right: 2px solid #6b7280;
    border-bottom: 2px solid #6b7280;
    transform: rotate(45deg);
    transition: transform 150ms ease;
}

.mobile-accordion[open] .mobile-accordion-arrow {
    transform: rotate(-135deg);
}


.mobile-accordion[open]>summary .nav-icon {
    color: var(--accent);
}

.mobile-submenu {
    list-style: none;
    margin: 0;
    padding: 0.25rem 0 0.75rem 2.25rem;
}

.mobile-submenu li+li {
    margin-top: 0.5rem;
}

.mobile-submenu a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #374151;
}

.submenu-title {
    font-size: 0.95rem;
    font-weight: 500;
}

.muted {
    font-size: 0.8rem;
    color: #6b7280;
}


@media (max-width: 768px) {

    .nav-desktop {
        display: none;
    }

    .nav-mobile-panel {
        display: none;
    }

    .nav-mobile-panel.is-open {
        display: block;
    }

    .nav-mobile-panel {
        padding: 1rem;
    }

    .nav-mobile-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
    }

    /* ACCORDION */
    .mobile-accordion,
    .mobile {
        border-bottom: 1px solid #e5e7eb;
    }

    /* .mobile-accordion-title,
    .mobile-title {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 0;
        font-weight: 600;
        font-size: 1rem;
        color: #111827;
        cursor: pointer;
        list-style: none;
    } */

    .mobile-accordion summary::-webkit-details-marker {
        display: none;
    }

    /* SUBMENU */
    .mobile-submenu {
        list-style: none;
        padding: 0.25rem 0 0.75rem 2.25rem;
        margin: 0;
    }

    .mobile-submenu li+li {
        margin-top: 0.5rem;
    }

    .mobile-submenu a {
        display: flex;
        flex-direction: column;
        text-decoration: none;
        color: #374151;
    }

    .mobile-submenu .submenu-title {
        font-size: 0.95rem;
        font-weight: 500;
    }

    .mobile-submenu .muted {
        font-size: 0.8rem;
        color: #6b7280;
    }

    /* CTA */
    .mobile-cta {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }
}

.has-mega {
    /* position: relative; */
    position: static
}

.mega-menu {
    display: none;
    position: absolute;
    /* top: calc(100% + 0.5rem); */
    /* left: 0; */
    /* width: 720px; */
    top: calc(100% + 0.75rem);
    left: 50%;
    transform: translateX(-50%);
    width: min(960px, calc(100vw - 4rem));
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    z-index: 1000;

    /* GRID */
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}


.mega-col h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1;
    min-height: 20px;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
}

.mega-col a {
    display: flex;
    gap: 0.75rem;
    padding: 0.5rem 0.25rem;
    text-decoration: none;
    color: #374151;
    border-radius: 6px;
}

.mega-col a:hover {
    background: #f9fafb;
    color: var(--color-primary);
}

.mega-col strong {
    display: block;
    font-weight: 500;
}

.mega-col .muted {
    font-size: 0.8rem;
}

.mega-title-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    flex-shrink: 0;

    transform: translateY(-0.5px);
    /* OPTYCZNA KOREKTA */
}

.mega-title-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.mega-cta {
    margin-top: 1rem;
}

.has-mega:hover>.mega-menu,
.has-mega .mega-menu:hover {
    display: grid;
}

/* hover bridge */
.mega-menu::before {
    content: "";
    position: absolute;
    /* top: -8px; */
    top: -16px;
    left: 0;
    width: 100%;
    height: 16px;

}

.submenu-icon {
    width: 20px;
    height: 20px;
    color: #6b7280;
}

.mega-col a:hover .submenu-icon {
    color: var(--color-primary);
}

@media (prefers-reduced-motion: reduce) {
    .mobile-cta-bar {
        animation: none;
        transform: translateY(0);
        opacity: 1;
    }

    .submenu {
        transition: none;
        transform: none;
    }

    .submenu a,
    .submenu-icon {
        transition: none;
        transform: none;
    }
}



/* PRODUCTS PAGE GRID FIX */
.page {
    max-width: 1200px;
    margin: 64px auto 64px;
}

.page.offer-page {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

/* MOBILE */
@media (max-width: 1024px) {
    .page.offer-page {
        grid-template-columns: 1fr;
    }
}

.product-section {
    display: none;
}

.product-section.is-active {
    display: block;
}

/* PRODUCTS HUB GRID */
.products-hub .product-tile {
    text-decoration: none;
    color: inherit;
}

.product-title {
    display: grid;
    grid-template-rows:
        auto
        /* ikona */
        3.2em
        /* h3 – stała wysokość */
        1fr;
    /* opis */
}

.product-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: rgba(255, 153, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}


/* STYLE ICON */
.icon {
    color: var(--color-primary-muted);
    /* #334155 */
}

.card:hover .icon,
.icon.is-active {
    color: var(--color-primary);
    /* #0f172a */
}

.icon--control {
    color: var(--color-info);
    /* #2563eb */
}

.icon-bg--control {
    background: var(--color-info-bg);
}

.icon--accent {
    color: var(--accent);
    /* #ff9900 */
}

.icon--muted {
    color: var(--muted);
    /* #6b7280 */
}


/* ===============================
  HOME – ROZWIĄZANIA (BRANŻE)
  =============================== */

/* KARTA ROZWIĄZANIA */
.product-tile {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        border-color 0.15s ease;
}

/* subtelniejszy charakter niż produkty */
.product-tile h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.product-tile p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* HOVER – spokojny, B2B */
.product-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

/* OPCJONALNIE: wersja „branżowa” (jeśli chcesz wyróżnić) */
.section .product-tile {
    border-left: 4px solid transparent;
}

.section .product-tile:hover {
    border-left-color: var(--accent);
}

/* ===============================
  RESPONSYWNOŚĆ
  =============================== */

@media (max-width: 768px) {
    .product-tile {
        padding: 20px;
    }

    .product-tile h3 {
        font-size: 1rem;
    }
}

/* ===============================
  HOME – PARTNERZY / MARKI
  =============================== */

.partners-logos {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 32px;
    align-items: center;
}

.partner-logo {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.partner-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
}

.partner-logo:hover {
    opacity: 1;
}

.partner-logo:hover img {
    filter: none;
}

/* Mobile */
@media (max-width: 768px) {
    .partners-logos {
        gap: 24px;
    }

    .partner-logo {
        height: 48px;
    }
}

/* ===============================
  STICKY PANEL – NAV VARIANT
  =============================== */

.sticky-panel--nav {
    padding: 24px;
    background: var(--bg-muted);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

/* Tytuł */
.sticky-panel--nav h3 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.sticky-panel--nav .panel-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* LISTY */
.sticky-panel--nav .panel-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sticky-panel--nav .panel-list>li {
    margin-bottom: 12px;
}

/* LINKI GŁÓWNE */
.sticky-panel--nav .panel-list>li>a {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;

    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}

/* hover */
.sticky-panel--nav .panel-list>li>a:hover {
    background: rgba(255, 153, 0, 0.08);
    color: var(--accent);
}

/* ACTIVE */
.sticky-panel--nav .panel-list>li>a.is-active {
    background: rgba(255, 153, 0, 0.15);
    color: var(--accent);
}

/* PODLISTY */
.sticky-panel--nav .panel-list ul {
    list-style: none;
    padding-left: 12px;
    margin-top: 6px;
    border-left: 1px solid var(--border-color);
}

/* LINKI DRUGIEGO POZIOMU */
.sticky-panel--nav .panel-list ul li a {
    display: block;
    padding: 6px 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 6px;

    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}

/* hover */
.sticky-panel--nav .panel-list ul li a:hover {
    background: rgba(255, 153, 0, 0.06);
    color: var(--text);
}

/* active */
.sticky-panel--nav .panel-list ul li a.is-active {
    background: rgba(255, 153, 0, 0.12);
    color: var(--accent);
    font-weight: 500;
}

/* focus */
.sticky-panel--nav .panel-list a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}


/* ===============================
  ASIDE TOGGLE – SVG ICON
  =============================== */

.aside-toggle {
    margin: 16px 0 24px 24px;
    padding: 12px 14px;
    width: 80%;

    display: none;
    align-items: center;
    justify-content: space-between;

    font-size: 0.95rem;
    font-weight: 500;

    background: var(--bg-soft);
    color: var(--text);

    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: 10px;

    cursor: pointer;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

/* ikona */
.aside-toggle-icon {
    transition: transform 0.25s ease;
    opacity: 0.7;
}

/* hover */
.aside-toggle:hover {
    background: var(--bg-muted);
    border-color: var(--accent);
}

/* OTWARTY ASIDE → IKONA OBRÓT */
body.aside-open .aside-toggle-icon {
    transform: rotate(90deg);
}



/* ===============================
  ASIDE NAV – MOBILE OFFCANVAS
  (SAFE SCOPE)
  =============================== */

@media (max-width: 1024px) {
    .aside-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    /* tylko NAV, nie każdy sticky-panel */
    .sticky-panel--nav.aside-offcanvas {
        position: fixed;
        top: 64px;
        left: 0;
        height: calc(100% - 64px);
        width: 300px;
        max-width: 90%;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        z-index: 99;
        overflow-y: auto;
        border-radius: 0;
        display: block;
        background: var(--color-on-primary);

        /* jawnie */
    }

    body.aside-open .sticky-panel--nav.aside-offcanvas {
        transform: translateX(0);
    }

    /* overlay */
    .aside-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 90;
    }

    body.aside-open .aside-overlay {
        display: block;
    }

}

/* ===============================
  ASIDE NAV – SLIDE + FADE ANIMATION
  =============================== */

@media (max-width: 1024px) {

    .sticky-panel--nav.aside-offcanvas {
        transform: translateX(-24px);
        opacity: 0;
        transition:
            transform 0.22s ease-out,
            opacity 0.18s ease-out;
    }

    body.aside-open .sticky-panel--nav.aside-offcanvas {
        transform: translateX(0);
        opacity: 1;
        box-shadow: 6px 0 24px rgba(0, 0, 0, 0.12)
    }

}

#cta-footer-marker {
    height: 80px;
    /* ~wysokość CTA */
    pointer-events: none;
}

/* ===============================
  ASIDE NAV – ACCORDION
  =============================== */

.panel-accordion .panel-group {
    margin-bottom: 8px;
}

/* toggle */
.panel-toggle {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: none;
    background: none;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-toggle::after {
    content: "›";
    transition:
        transform 0.18s ease-out,
        opacity 0.18s ease-out;
    opacity: 0.6;
}

/* open */
.panel-group.is-open .panel-toggle::after {
    transform: rotate(90deg);
    opacity: 0.85;
}

/* sublist */
.panel-sublist {
    list-style: none;
    padding-left: 12px;
    margin: 4px 0 8px;
    /* display: none; */
    overflow: hidden;

    /* stan zamknięty */
    max-height: 0;
    opacity: 0;
    transform: translateY(-4px);

    transition:
        max-height 0.18s ease-out,
        opacity 0.14s ease-out,
        transform 0.18s ease-out;


}

.panel-group.is-open .panel-sublist {
    /* display: block; */
    max-height: 400px;
    /* wystarczające dla 6–8 linków */
    opacity: 1;
    transform: translateY(0);
}

/* ===============================
  ASIDE NAV – BREADCRUMB-LIKE HIGHLIGHT (VARIANT A)
  =============================== */

/* 1️⃣ aktywna grupa (1. poziom) */
.panel-group.is-open>.panel-toggle {
    color: var(--text);
    position: relative;
}

/* subtelna lewa linia */
.panel-group.is-open>.panel-toggle::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--accent);
    opacity: 0.35;
    border-radius: 1px;
}

/* 2️⃣ aktywny link (2./3. poziom) */
.panel-sublist a.is-active {
    color: var(--accent);
    font-weight: 500;
    position: relative;
}

/* bardzo delikatne tło aktywnego linku */
.panel-sublist a.is-active::before {
    content: "";
    position: absolute;
    left: -12px;
    right: -6px;
    top: 2px;
    bottom: 2px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 6px;
    z-index: -1;
}

/* ===============================
  ASIDE NAV – STICKY SECTION TITLE (ULTRA-SUBTLE)
  =============================== */

/* kontener aside musi być scrollowalny */
.sticky-panel--nav {
    overflow-y: auto;
}

/* aktywna grupa */
.panel-group.is-open {
    position: relative;
}

/* panel-toggle jako sticky section title */
.panel-group.is-open>.panel-toggle {
    position: sticky;
    top: 0;
    z-index: 2;

    background: var(--bg-soft);
    padding-top: 10px;
    padding-bottom: 10px;

    /* subtelne oddzielenie od listy */
    border-bottom: 1px solid var(--border-color);
}

/* delikatne „wyciszenie”, żeby nie wyglądało jak button */
.panel-group.is-open>.panel-toggle {
    cursor: default;
}

/* hover niepotrzebny na sticky title */
.panel-group.is-open>.panel-toggle:hover {
    background: var(--bg-soft);
}

/* ===============================
  BREADCRUMB (VARIANT B)
  =============================== */
.breadcrumb {
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 24px;
    /* border-top: 1px solid var(--color-primary-muted); */
    /* border-bottom: 1px solid var(--color-primary-muted); */
}

.breadcrumb__container {
    max-width: 1200px;
    margin: 0 auto
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;

}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb li a:hover {
    color: var(--accent);
}

/* separator */
.breadcrumb li::after {
    content: "›";
    margin: 0 6px;
    opacity: 0.5;
}

.breadcrumb li:last-child::after {
    content: "";
}

/* aktualna strona */
.breadcrumb li[aria-current="page"] {
    color: var(--text);
    font-weight: 500;
}

/* error page */
/* === PAGE BASE === */

.page__container {
    max-width: 720px;
    width: 100%;
    text-align: center;
    padding: 2rem;
}

/* === ERROR PAGE === */
.page.page--error {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg);
    margin: 0 auto;
}

@media (max-width: 1024px) {
    body.error-page {
        padding-bottom: 0;
    }
}

.page__title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.page__subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}



/* Quick contact */
.quick-contact {
    background-color: var(--color-bg-soft, #f9fafb);
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.quick-contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 1rem;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.quick-contact__item {
    text-align: center;
}

.quick-contact__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: var(--color-muted, #6b7280);
}

.quick-contact__link {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text, #111827);
    text-decoration: none;
}

.quick-contact__link:hover {
    text-decoration: underline;
}


/* Label z ikoną */
.quick-contact__label {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.quick-contact__item .icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.4rem;
    vertical-align: -0.15em;
    fill: currentColor;
    flex-shrink: 0;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .quick-contact__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.image-hero {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    /* jeśli chcesz spójność z kartami */
}

.image-hero img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* ⬅️ ważne dla maszyn */
    background: transparent;
    display: block;
}

.product-tile .image-hero {
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}

.product-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===============================
   PRODUCT CARD – IMAGE HOVER
   =============================== */

.product-tile .image-hero {
    position: relative;
    overflow: hidden;
}

/* zdjęcie */
.product-tile .image-hero img {
    transition:
        transform 0.35s ease,
        filter 0.35s ease;
    will-change: transform;
}

/* subtelna warstwa hover */
.product-tile .image-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.15);
    /* industrial navy */
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

/* HOVER */
.product-tile:hover .image-hero img {
    transform: scale(1.06);
    filter: saturate(1.05);
}

.product-tile:hover .image-hero::after {
    opacity: 1;
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {

    .product-tile .image-hero img,
    .product-tile .image-hero::after {
        transition: none;
    }

    .product-tile:hover .image-hero img {
        transform: none;
    }
}

/* SUBMENU OVERVIEW */
.submenu-overview a {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: clamp(.75rem, 3vw, 1rem);

    align-items: center;

    padding: .85rem 1rem;

    background: linear-gradient(90deg,
            rgba(255, 153, 0, 0.12),
            rgba(255, 153, 0, 0.04));
    border-left: 3px solid var(--brand-primary);
}

.submenu-overview .icon-overview {
    width: 24px;
    height: 24px;
    color: var(--color-primary-muted);
    display: block;
    stroke-width: 1.8;
    opacity: .9;
}

.submenu-overview .submenu-title {
    display: flex;
    flex-direction: column;
}

.submenu-overview .submenu-title>span:first-child {
    font-weight: 600;
    line-height: 1.2;
}

.submenu-overview .muted {
    margin-top: .25rem;
    font-size: .875rem;
    line-height: 1.3;
    opacity: .75;
}

.submenu-overview.is-active .icon-overview {
    color: var(--color-primary);
}

.submenu-overview a:focus-visible .icon-overview {
    color: var(--color-primary);
}

/* ===============================
   PRODUCT CARD COMPONENT
   =============================== */
.product-card {
    text-decoration: none;
    color: inherit;
    border-left: 4px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease
}

.product-card:hover {
    border-left-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.product-card__icon {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: rgba(255, 153, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card__title {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.product-card__desc {
    font-size: 0.9rem;
    line-height: 1.5;
}

.technical-system-card {
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        border-color 0.15s ease;
}

.technical-system-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.section-subtitle {
    margin: 32px 0 24px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
}

@media (max-width: 768px) {
    .product-card {
        padding: 20px;
    }

    .product-card__title {
        font-size: 1rem;
    }
}

/* WHY PRALMA – lokalne doprecyzowanie */

.why-pralma__intro .tech-graphic {
    margin: 24px 0 16px;
}

.why-pralma__intro .hint {
    margin-top: 16px;
}

/* karty jako „dowody”, nie oferta */
.why-pralma__proofs .card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.why-pralma__proofs .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.why-pralma__intro .hint a {
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 153, 0, 0.4);
}

.why-pralma__intro .hint a:hover {
    border-bottom-color: var(--accent);
}

/* SHOP SECTION */
/* SHOP SECTION – SERWIS */

.shop-intro {
    max-width: 720px;
    margin-bottom: 48px;
}

.shop-grid .product-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shop-card-hint {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
}

/* subtelny hover */
.shop-grid a.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.shop-footer {
    margin-top: 64px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.shop-card {
    display: flex;
    flex-direction: column;
}



/* ===== INLINE REFERENCES ===== */

.inline-ref {
    color: #6b7280;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #d1d5db;
    transition: border-color .15s ease, color .15s ease;
}

.inline-ref:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.process-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    padding: 0;
    margin: 0 0 32px;
    list-style: none;
}

.process-flow li {
    padding: 10px 14px;
    border-left: 3px solid var(--accent);
    background: rgba(255, 153, 0, 0.06);
    font-size: 0.9rem;
}

.section-lines {
    position: relative;
    padding-bottom: 96px;
}

.section-lines::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0px;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 2px;
    background: linear-gradient(to right,
            transparent,
            var(--accent),
            transparent);
    opacity: 0.6;
}

.section-soft {
    background: var(--bg-soft);
}

.faq-accordion details {
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.faq-accordion summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    position: relative;
    padding-right: 24px;
}

.faq-accordion summary::-webkit-details-marker {
    display: none;
}

.faq-accordion summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    font-weight: 700;
    color: var(--accent);
}

.faq-accordion details[open] summary::after {
    content: "–";
}

.faq-accordion p {
    margin: 8px 0 0;
    max-width: 90%;
}

.model-points {
    margin: 12px 0 0;
    padding-left: 16px;
    font-size: 0.9rem;
}

.model-points li {
    margin-bottom: 6px;
}

.section-contrast {
    background: #f8fafc;
    /* bardzo jasny szary */
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-realizations {
    background: linear-gradient(180deg,
            #0f172a,
            #020617);
    color: #fff;
}

.section-realizations .muted {
    color: #cbd5f5;
}

.realizations-grid {
    margin-top: 48px;
}

/* KARTA WDROŻENIA */
.realization-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.realization-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.realization-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    background: #020617;
    overflow: hidden;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
}

/* PLACEHOLDER / IMG */
.realization-image img,
.realization-image .image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* OVERLAY NA DOLE */
.realization-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px;
    background: linear-gradient(to top,
            rgba(2, 6, 23, 0.85),
            rgba(2, 6, 23, 0.4),
            transparent);
    color: #fff;
    font-size: 0.9rem;
}

/* TEKST */
.realization-overlay h3 {
    margin-bottom: 6px;
}

.realization-overlay ul {
    padding-left: 16px;
}

.realization-overlay li {
    margin-bottom: 4px;
}

/* HOVER */
.realization-image:hover img,
.realization-image:hover .image-placeholder {
    transform: scale(1.04);
}

.section-references {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.reference-card {
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.reference-quote {
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
}

.reference-quote::before {
    content: "“";
    font-size: 3rem;
    position: absolute;
    left: -16px;
    top: -12px;
    color: var(--accent);
    opacity: 0.2;
}

.reference-meta {
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--muted);
}

@media (max-width: 768px) {

    form input[type="email"],
    form input[type="text"],
    form input[type="search"] {
        min-height: 48px;
        padding: 12px 14px;
        font-size: 16px;
        line-height: 1.2;
    }
}

/* SUBTELNE DEKORACJE TŁA SEKCJI */
.section--accent-bg {
    position: relative;
    overflow: hidden;
}

/* POMARAŃCZOWA PLAMA BG */
.section--accent-bg::before {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    top: -240px;
    left: -240px;

    background: radial-gradient(circle,
            rgba(255, 153, 0, 0.15),
            rgba(255, 153, 0, 0.05),
            transparent 70%);

    pointer-events: none;
}

/* TECH LINES BACKGROUND */
.section--tech-lines {
    position: relative;
    overflow: hidden;
}

.section--tech-lines::after {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(120deg,
            rgba(255, 153, 0, 1) 50px,
            transparent 8px);
    background-size: 240px 240px;
    background-repeat: no-repeat;
    opacity: 0.35;
    pointer-events: none;
}

/* SUBTELNY, MIĘKKI POŚWIETLENIOWY EFEKT */
.section--soft-glow {
    position: relative;
}

.section--soft-glow::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translateX(-50%);

    width: 720px;
    height: 360px;

    background: radial-gradient(ellipse,
            rgba(15, 23, 42, 0.08),
            transparent 70%);
    /* do 70% promienia gradient ma płynnie przechodzić w przezroczystość */

    pointer-events: none;
}

.page-layout-products {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 320px minmax(0px, 1fr);
    margin: auto;
    padding: 0px 24px;
    gap: 32px;
}

/* MOBILE */
@media (max-width: 1024px) {
    .page-layout-products {
        grid-template-columns: 1fr;
    }
}

/* GENERIC PAGE LAYOUT WITH ASIDE LEFT */

.page-layout {
    max-width: 1280px;
    display: grid;
    margin: auto;
    padding: 64px 24px;
    gap: 32px;
}

.page-layout--with-aside-left {
    grid-template-columns: 320px minmax(0px, 1fr);
}

@media (max-width: 1024px) {
    .page-layout--with-aside-left {
        grid-template-columns: 1fr;
    }
}

.section-product-types .model-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* bazowy rytm */
    padding: 20px;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

/* obraz */
.section-product-types .image-placeholder {
    margin-bottom: 8px;
    /* 🔥 odstęp obraz → tytuł */
    border-radius: 12px;
    overflow: hidden;
}

/* hover spokojny, industrial */
.section-product-types .model-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.section-product-types h3 {
    font-size: 1.05rem;
    line-height: 1.3;
    margin: 0;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.section-product-types p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--muted);
    margin: 0;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.section-product-types .model-card {
    border-left: 3px solid transparent;
}

.section-product-types .model-card:hover {
    border-left-color: var(--accent);
}

.guide-card {
    position: relative;
    padding-top: 3rem;
}


.guide-step {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    opacity: 0.4;
}

.section-guide {
    background:
        radial-gradient(ellipse at top,
            rgba(15, 23, 42, 0.05),
            transparent 70%);
}

.section-guide h2 {
    color: var(--text)
}

.section-guide .section-lead {
    color: var(--color-primary-muted);
}

.guide-meta {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.6;
    margin-bottom: 0.25rem;
    color: var(--accent)
}

.section-guide .grid {
    counter-reset: step;
}

.guide-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.25rem;
    right: 1.25rem;
    height: 1px;
    background: var(--accent);
    opacity: 0.9;
}

.offer-nav {
    position: sticky;
    top: 72px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.offer-nav__container {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
}

@media (max-width: 768px) {
    .offer-nav__container {
        justify-content: space-around;
    }
}


.offer-nav a {
    position: relative;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.04em;
    color: rgba(15, 23, 42, 0.6);
    padding: 0.25rem 0;
    margin: 0 0.5rem;
    transition: color 0.2s ease;
}


.offer-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.4rem;

    width: 100%;
    height: 1px;

    background: rgba(15, 23, 42, 0.9);
    transform: scaleX(0);

    transition: transform 0.2s ease;
    transform-origin: left;
}

.offer-nav a:hover::after,
.offer-nav a.is-active::after {
    transform: scaleX(1);
}

.offer-nav a.is-active {
    color: rgba(15, 23, 42, 0.95);
}


.offer-nav a:focus-visible {
    outline: 2px solid rgba(15, 23, 42, 0.25);
    outline-offset: 2px;
}

.offer-nav__container a+a::before {
    content: "•";
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translate(-100%, -50%);
    color: var(--text);
    opacity: 0.6;
}

.offer-nav__container a+a:hover::before {
    opacity: 1;
}

.offer-section {
    padding-top: 4rem;
    border-top: 1px solid rgba(15, 23, 42, .06);
    scroll-margin-top: 64px;
}

.offer-section+.offer-section {
    margin-top: 4rem;
}