/* 
 * GH PREMIUM | Global Design System
 * Centralized static styles for the entire website.
 */

:root {
    --text-body: rgba(255, 255, 255, 0.82);
    --text-muted: rgba(255, 255, 255, 0.62);
    --text-muted-strong: rgba(255, 255, 255, 0.72);
    --text-faint: rgba(255, 255, 255, 0.38);
    --surface-glass: rgba(255, 255, 255, 0.04);
    --surface-glass-hover: rgba(255, 255, 255, 0.07);
    --surface-elevated: rgba(255, 255, 255, 0.06);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    /* Ostre prostokąty — subtelny kant zamiast „poduszek” */
    --radius-card: 0.125rem;
    --radius-lg: 0.25rem;
    --hover-scale: 1.015;
    --reveal-duration: 0.65s;
    --reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
    /* Wysokości menu — sterowanie hero-slideshow trzyma się pod belką. */
    --site-nav-h: 5.5rem;
    --site-subnav-h: 0px;
}

html:has(#site-nav.nav-scrolled) {
    --site-nav-h: 4.25rem;
}

html:has(#sub-nav-bar.active) {
    --site-subnav-h: 70px;
}

@media (max-width: 1279px) {
    html:has(#site-nav.nav-scrolled) {
        --site-nav-h: 4rem;
    }
}

@media (max-width: 767px) {
    :root {
        --site-nav-h: 4.5rem;
    }

    html:has(#site-nav.nav-scrolled) {
        --site-nav-h: 3.75rem;
    }
}

body {
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    scroll-behavior: smooth;
}

/* Tailwind rounded-* → ostre kąty (pills/kółka: .rounded-full bez zmian) */
.rounded-sm,
.rounded,
.rounded-md,
.rounded-lg,
.rounded-xl,
.rounded-2xl,
.rounded-3xl {
    border-radius: var(--radius-card) !important;
}

/* Panel boczny aktualności — karty jak wcześniej (zaokrąglone) */
#news-panel .rounded-xl {
    border-radius: 0.75rem !important;
}

/* Filmy — przywrócone zaokrąglenia (poza ostrymi kątami globalnymi) */
.aspect-video.rounded-2xl,
.aspect-video.rounded-xl {
    border-radius: 1rem !important; /* Tailwind rounded-2xl — kolumny / zwrotnice */
}

.home-videos-section .ghp-video-frame {
    border-radius: 12px !important;
}

/* Wspólna antracytowa ramka + hover (home / kolumny / zwrotnice / katalog) */
.ghp-video-frame,
.gh-product-video {
    border: 1.5px solid #2a2a2a !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    transition:
        border-color 0.35s ease,
        box-shadow 0.4s ease,
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ghp-video-frame:hover,
.gh-product-video:hover {
    border-color: #4a4a4a !important;
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(74, 74, 74, 0.35);
    transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
    .ghp-video-frame,
    .gh-product-video {
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .ghp-video-frame:hover,
    .gh-product-video:hover {
        transform: none;
    }
}

/* ── Typography & readability ── */
main p,
.page-content p {
    line-height: 1.65;
}

/* Site-wide gray text — a notch lighter for readability.
   No !important on base rules so Tailwind hover/active variants keep working.
   The header slogan ("brand-slogan") keeps its original dim tone below. */
.text-gray-500 {
    color: var(--text-muted);
}

.text-gray-400 {
    color: var(--text-muted-strong);
}

/* Subpage body (below hero): lighter gray text — match o-nas readability.
   Scoped to .page-content only; home hero (.hero-gradient) and .page-hero stay darker. */
section.page-content:not(.page-hero) .text-gray-400,
section.page-content:not(.page-hero) .text-gray-300,
main > section.page-content .text-gray-400,
main > section.page-content .text-gray-300 {
    color: var(--text-body) !important;
}

section.page-content:not(.page-hero) [style*="color: #9ca3af"],
section.page-content:not(.page-hero) [style*="color:#9ca3af"],
main > section.page-content [style*="color: #9ca3af"],
main > section.page-content [style*="color:#9ca3af"] {
    color: var(--text-body) !important;
}

/* Tailwind's default gray-600/700 (#4b5563 / #374151) are unreadable on this
   permanently dark theme — bump to the same muted token used elsewhere. */
.text-gray-600,
.text-gray-700 {
    color: var(--text-muted) !important;
}

.brand-slogan.text-gray-400 {
    color: #9ca3af !important;
}

.section-eyebrow {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--primary-color, #ff6600);
    margin-bottom: 1rem;
}

/* Etykiety sekcji w stylu eyebrow (manifesto itd.) */
.section-label {
    color: var(--primary-color, #ff6600);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: #fff;
}

/* ── Layout ── */
.page-content {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.mission-bg {
    background: linear-gradient(180deg, #17191c 0%, #24272b 100%);
}

/* Pierwsza sekcja pod hero (aktualności albo manifest) — odstęp od pokazu. */
#home-hero-show + #aktualnosci,
#home-hero-show + #manifest {
    margin-top: 4.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 768px) {
    #home-hero-show + #aktualnosci,
    #home-hero-show + #manifest {
        margin-top: 6.5rem;
    }
}

/* ── Home hero (index) — tekstowe wejście; tło jak oryginalny .hero-gradient ── */
.hero-home {
    position: relative;
}

.hero-home__content {
    position: relative;
    z-index: 1;
}

.hero-home__reveal {
    display: inline-block;
    opacity: 0;
    transform: translateY(1.75rem);
    filter: blur(6px);
    animation: hero-home-reveal 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--hero-delay, 0s);
}

.hero-home h1 .hero-home__reveal {
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

@keyframes hero-home-reveal {
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@media (max-width: 767px) {
    .hero-home__reveal {
        filter: none;
        animation-duration: 0.75s;
    }
}

/* ── Home hero slideshow (index) — firma, linie produktowe, opinie, historia ── */
.hero-show {
    position: relative;
    overflow: hidden;
    min-height: 100svh;
    height: 100svh;
    background-color: #121417;
    /* Scroll pionowy strony/slajdu ma pierwszeństwo — swipe tylko przy wyraźnym geście poziomym (JS). */
    touch-action: pan-y;
}

.hero-show__slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.85s ease;
}

.hero-show__slide.is-active {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
}

.hero-show__media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-show__media--photo {
    animation: hero-drift 26s ease-in-out infinite alternate;
    animation-play-state: paused;
}

.hero-show__slide.is-active .hero-show__media--photo {
    animation-play-state: running;
}

.hero-show__media--flat {
    background:
        radial-gradient(ellipse 70% 55% at 70% 35%, rgba(255, 255, 255, 0.03), transparent 55%),
        linear-gradient(160deg, #171a1e 0%, #101214 100%);
}

.hero-show__slide--panel .hero-show__media--flat {
    background:
        radial-gradient(ellipse 55% 50% at 15% 20%, rgba(255, 102, 0, 0.05), transparent 45%),
        linear-gradient(165deg, #16191d 0%, #0e1012 100%);
}

.hero-show__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.8) 100%);
}

.hero-show__scrim--panel {
    background:
        linear-gradient(90deg, rgba(14, 16, 18, 0.92) 0%, rgba(14, 16, 18, 0.78) 42%, rgba(14, 16, 18, 0.35) 68%, rgba(14, 16, 18, 0.2) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.hero-show__media--panel-cover {
    width: 58%;
    left: auto;
    right: 0;
    background-position: center center;
    filter: brightness(0.72) contrast(1.04);
}

/* Nagrody / opinie — trochę jaśniejsze tło w dark */
.hero-show__slide--awards .hero-show__media--panel-cover,
.hero-show__slide--reviews .hero-show__media--panel-cover {
    filter: brightness(0.9) contrast(1.03) saturate(1.02);
}

@media (min-width: 768px) {
    .hero-show__slide--split {
        background:
            radial-gradient(circle at 22% 42%, rgba(255, 255, 255, 0.03), transparent 32%),
            linear-gradient(135deg, #191c20 0%, #101214 100%);
    }

    .hero-show__slide--split .hero-show__media {
        inset: 0 0 0 auto;
        width: 58%;
    }

    .hero-show__media--split-cover {
        background-position: center center;
        background-size: cover;
    }

    .hero-show__media--split-product {
        background-position: 74% center;
        background-size: min(42vw, 36rem) auto;
    }

    .hero-show__slide--split .hero-show__scrim {
        background:
            linear-gradient(90deg,
                #181b1f 0%,
                #181b1f 37%,
                rgba(24, 27, 31, 0.96) 43%,
                rgba(24, 27, 31, 0.62) 58%,
                rgba(14, 16, 18, 0.12) 82%,
                rgba(14, 16, 18, 0.34) 100%),
            linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.35));
    }

    .hero-show__slide--split .hero-show__inner {
        width: 48%;
        max-width: 42rem;
    }
}

.hero-show__content {
    position: relative;
    z-index: 2;
    height: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    padding-bottom: 2rem;
}

.hero-show__slide--panel .hero-show__content {
    align-items: center;
    overflow-y: auto;
    padding-top: 5.5rem;
    padding-bottom: 2rem;
}

.hero-show__inner {
    width: 100%;
    min-width: 0;
}

.hero-show__slide--panel .hero-show__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.hero-show__inner--bleed {
    max-width: none;
    width: 100%;
}

.hero-show__split-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-show__split-panel {
        grid-template-columns: minmax(14rem, 0.85fr) minmax(0, 1.65fr);
        gap: 1.75rem 2.25rem;
        align-items: center;
    }

    .hero-show__split-panel--reviews {
        grid-template-columns: minmax(14rem, 0.85fr) minmax(0, 1.75fr);
        align-items: center;
    }
}

.hero-show__split-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    min-width: 0;
}

.hero-show__split-copy .hero-show__title {
    margin: 0;
    max-width: 18ch;
    line-height: 1.08;
}

.hero-show__split-lead {
    margin: 0;
    max-width: 34rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #b4bac2;
    font-weight: 300;
}

.hero-show__split-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.25rem;
    margin: 0.25rem 0 0.35rem;
}

.hero-show__split-stat-value {
    display: block;
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--primary-color, #ff6600);
    line-height: 1;
}

.hero-show__split-stat-value--accent {
    color: #7dcf8a;
}

.hero-show__split-stat-value--muted {
    color: #f3f4f6;
}

.hero-show__split-stat-label {
    display: block;
    margin-top: 0.45rem;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7d848d;
    max-width: 11rem;
}

.hero-show__split-copy .hero-show__link {
    margin-top: 0.35rem;
}

.hero-show__split-copy .hero-show__reviews-source {
    margin: 0.15rem 0 0;
    max-width: 28rem;
}

.hero-show__inner > * {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-show__slide.is-active .hero-show__inner > * {
    opacity: 1;
    transform: none;
}

.hero-show__slide.is-active .hero-show__inner > *:nth-child(1) { transition-delay: 0.08s; }
.hero-show__slide.is-active .hero-show__inner > *:nth-child(2) { transition-delay: 0.16s; }
.hero-show__slide.is-active .hero-show__inner > *:nth-child(3) { transition-delay: 0.24s; }
.hero-show__slide.is-active .hero-show__inner > *:nth-child(4) { transition-delay: 0.32s; }
.hero-show__slide.is-active .hero-show__inner > *:nth-child(5) { transition-delay: 0.4s; }

.hero-show__title,
.hero-show__subtitle {
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.hero-show__panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 2rem;
}

.hero-show__year {
    display: block;
    font-size: clamp(1.6rem, 2.5vw, 2.35rem);
    font-weight: 900;
    letter-spacing: -0.01em;
    color: #f3f4f6;
    margin-bottom: 0.4rem;
}

/* Lata i metryki — ta sama siatka 3 kolumn, żeby kolumny się pokrywały. */
.hero-show__milestones,
.hero-show__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    width: 100%;
    max-width: 34rem;
}

.hero-show__milestones {
    margin: 0 0 0.65rem;
}

.hero-show__milestones > div {
    min-width: 0;
}

.hero-show__milestones p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.55;
    color: #a8afb8;
}

.hero-show__stats {
    margin: 0 0 1.75rem;
}

.hero-show__stat {
    min-width: 0;
    padding: 0.85rem 0.9rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 10, 12, 0.55);
}

.hero-show__stat-value {
    display: block;
    font-size: clamp(1.65rem, 2.8vw, 2.35rem);
    font-weight: 900;
    color: var(--primary-color, #ff6600);
    line-height: 1;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.hero-show__stat-label {
    display: block;
    margin-top: 0.55rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8b929b;
    line-height: 1.35;
}

.hero-show__count {
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.hero-show__count-value {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    color: var(--primary-color, #ff6600);
    line-height: 1;
    letter-spacing: -0.02em;
    text-shadow: 0 0 32px rgba(255, 102, 0, 0.22);
}

.hero-show__count-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.hero-show__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 3rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: background-color 0.45s ease, color 0.45s ease, border-color 0.45s ease;
}

.hero-show__btn--primary {
    background: #ffffff;
    color: #0a0a0a;
    border: 1px solid #ffffff;
}

.hero-show__btn--primary:hover {
    background: #e5e7eb;
    color: #0a0a0a;
}

.hero-show__btn--ghost {
    background: rgba(10, 10, 10, 0.55);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-show__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.92);
    color: #121212;
    border-color: rgba(18, 18, 18, 0.12);
}

/* Most do katalogu — karta w sekcji linii (bez ciemnego pasa) */
.home-catalog-bridge {
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .home-catalog-bridge {
        margin-top: 3.75rem;
    }
}

.home-catalog-bridge__card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.04);
    padding: 1.1rem 1.15rem 1.2rem;
}

.home-catalog-bridge__head {
    margin-bottom: 0.8rem;
}

.home-catalog-bridge__head .section-eyebrow {
    display: block;
    line-height: 1;
}

.home-catalog-bridge__lead {
    margin: 0.35rem 0 0;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.35;
}

.home-catalog-bridge__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.6rem;
}

.home-catalog-bridge__search {
    display: flex;
    flex: 1 1 18rem;
    align-items: stretch;
    gap: 0.5rem;
    min-width: 0;
    margin: 0;
}

.home-catalog-bridge__field {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    height: 2.45rem;
    padding: 0 0.8rem;
    border: 1px solid rgba(18, 18, 18, 0.1);
    border-radius: 0;
    background: #f8f9fa;
}

.home-catalog-bridge__field-icon {
    flex-shrink: 0;
    font-size: 0.82rem;
    color: #868e96;
}

.home-catalog-bridge__input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #121212;
    -webkit-text-fill-color: #121212;
    caret-color: #121212;
    font-size: 0.9rem;
    line-height: 1.2;
    outline: none;
    box-shadow: none;
}

.home-catalog-bridge__input::placeholder {
    color: #868e96;
    -webkit-text-fill-color: #868e96;
    opacity: 1;
}

.home-catalog-bridge__input:-webkit-autofill,
.home-catalog-bridge__input:-webkit-autofill:hover,
.home-catalog-bridge__input:-webkit-autofill:focus {
    -webkit-text-fill-color: #121212;
    caret-color: #121212;
    box-shadow: 0 0 0 1000px #f8f9fa inset;
    transition: background-color 99999s ease-out;
}

.home-catalog-bridge__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    height: 2.45rem;
    margin: 0;
    padding: 0 1.05rem;
    border: 0;
    border-radius: 0;
    background: #ff6600;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.home-catalog-bridge__submit:hover {
    background: #e55a00;
}

.home-catalog-bridge__vehicle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex: 0 0 auto;
    height: 2.45rem;
    padding: 0 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, gap 0.2s ease;
}

.home-catalog-bridge__vehicle:hover {
    border-color: rgba(255, 255, 255, 0.42);
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.home-catalog-bridge__vehicle:hover .home-catalog-bridge__vehicle-arrow {
    transform: translateX(2px);
}

.home-catalog-bridge__vehicle-arrow {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.home-catalog-bridge .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 767px) {
    .home-catalog-bridge {
        margin-top: 2.5rem;
    }

    .home-catalog-bridge__search,
    .home-catalog-bridge__vehicle {
        width: 100%;
    }

    .home-catalog-bridge__vehicle {
        flex: 1 1 auto;
    }
}

.hero-show__link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.5rem;
    transition: border-color 0.3s ease, color 0.3s ease, gap 0.3s ease;
}

.hero-show__link:hover {
    color: var(--primary-color, #ff6600);
    border-color: var(--primary-color, #ff6600);
    gap: 0.9rem;
}

/* Oferta: 2 karty flagowe + lista pozostałych głównych grup (nie pełny katalog). */
.hero-show__lines-showcase {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    min-width: 0;
}

.hero-show__lines-featured {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
}

@media (min-width: 640px) {
    .hero-show__lines-featured {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.hero-show__lines-card {
    display: grid;
    grid-template-columns: 10rem minmax(0, 1fr);
    align-items: center;
    min-width: 0;
    min-height: 0;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.35s var(--reveal-ease);
}

.hero-show__lines-card:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    transform: scale(var(--hover-scale));
}

.hero-show__lines-card-media,
.hero-show__lines-row-media {
    /* Jak powierzchnia przycisku / kafelka — bez osobnego ciemnego prostokąta */
    background: transparent;
}

.hero-show__lines-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10rem;
    height: 10rem;
    aspect-ratio: auto;
    overflow: hidden;
}

.hero-show__lines-card-media img {
    width: 88%;
    height: 88%;
    object-fit: contain;
    transition: transform 0.45s ease;
}

.hero-show__lines-card:hover .hero-show__lines-card-media img {
    transform: scale(1.05);
}

.hero-show__lines-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
    padding: 1rem 1.1rem;
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-show__lines-card-label {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.25;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.hero-show__lines-card-count {
    font-size: 0.88rem;
    font-weight: 400;
    color: #f3f4f6;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.hero-show__lines-card-count em {
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7d848d;
    margin-left: 0.2rem;
}

.hero-show__lines-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.4rem;
}

@media (min-width: 900px) {
    .hero-show__lines-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.hero-show__lines-row {
    display: grid;
    grid-template-columns: 3.75rem minmax(0, 1fr) 3.1rem 0.85rem;
    align-items: center;
    gap: 0.55rem 0.65rem;
    padding: 0.55rem 0.85rem 0.55rem 0.55rem;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-card);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.35s var(--reveal-ease);
    height: 100%;
}

.hero-show__lines-row:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(var(--hover-scale));
}

.hero-show__lines-row-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.75rem;
    height: 3.75rem;
    overflow: hidden;
    border-radius: var(--radius-card);
}

.hero-show__lines-row-media img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.hero-show__lines-row:hover .hero-show__lines-row-media img {
    transform: scale(1.06);
}

.hero-show__lines-row-label {
    min-width: 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.25;
    overflow-wrap: anywhere;
    hyphens: auto;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.hero-show__lines-row-count {
    font-size: 0.78rem;
    font-weight: 400;
    color: #f3f4f6;
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}

.hero-show__lines-row-arrow {
    font-size: 0.65rem;
    color: #7d848d;
    justify-self: end;
    transition: color 0.25s ease, transform 0.25s ease;
}

.hero-show__lines-row:hover .hero-show__lines-row-arrow {
    color: var(--primary-color, #ff6600);
    transform: translateX(3px);
}

.hero-show__lines-note {
    margin: 0;
    max-width: 28rem;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #8b929b;
}

.hero-show__slide--lines .hero-show__split-copy .hero-show__title,
.hero-show__slide--awards .hero-show__split-copy .hero-show__title {
    font-size: clamp(1.55rem, 2.3vw, 2.35rem) !important;
    max-width: 16ch;
}

.hero-show__slide--lines .hero-show__split-lead,
.hero-show__slide--awards .hero-show__split-lead {
    font-size: 0.84rem;
}

.hero-show__slide--lines .hero-show__split-stat-value {
    font-size: clamp(1.7rem, 2.6vw, 2.4rem);
}

.hero-show__split-panel--awards {
    align-items: start;
}

.hero-show__awards {
    min-width: 0;
}

.hero-show__awards-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.hero-show__award {
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr);
    gap: 0.9rem 1rem;
    align-items: start;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 12, 12, 0.48);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.hero-show__award-media,
.hero-show__award-mark {
    width: 3.25rem;
    height: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.25);
}

/* Slajd nagród (dark): jasne pole pod logo — Forbes ma białe tło, Gazele czarny tekst */
html:not([data-theme="light"]) .hero-show__slide--awards .hero-show__award-media {
    background: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-show__award-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 0.35rem;
}

.hero-show__award-mark {
    color: var(--primary-color, #ff6600);
    font-size: 1.15rem;
}

.hero-show__award-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.hero-show__award-year {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary-color, #ff6600);
}

.hero-show__award-title {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.25;
}

.hero-show__award-note {
    font-size: 0.8rem;
    line-height: 1.45;
    color: #9aa1aa;
}

.hero-show__awards-empty {
    margin: 0;
    font-size: 0.85rem;
    color: #8b929b;
}

.home-lines-section {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .home-lines-section {
        grid-template-columns: minmax(16rem, 0.9fr) minmax(0, 1.25fr);
        gap: 3rem;
        align-items: start;
    }
}

.home-lines-section__lead {
    margin: 0.85rem 0 0;
    max-width: 36rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #a7adb5;
}

.home-lines-section__stat {
    margin-top: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.home-lines-section__stat-value {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #fff;
    line-height: 1;
}

.home-lines-section__stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #7d848d;
}

.home-lines-section__note {
    margin: 1rem 0 1.35rem;
    max-width: 32rem;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #8b929b;
}

.portal-band--lines .hero-show__lines-card,
.portal-band--lines .hero-show__lines-row {
    background: rgba(255, 255, 255, 0.03);
}

@media (min-width: 1024px) {
    .portal-band--lines .hero-show__lines-row {
        grid-template-columns: 3.5rem minmax(0, 1fr) 2.9rem 0.8rem;
        gap: 0.5rem 0.55rem;
        padding: 0.5rem 0.75rem 0.5rem 0.5rem;
    }

    .portal-band--lines .hero-show__lines-row-media {
        width: 3.5rem;
        height: 3.5rem;
    }

    .portal-band--lines .hero-show__lines-row-label {
        font-size: 0.64rem;
    }

    .portal-band--lines .hero-show__lines-card-label {
        font-size: 0.7rem;
    }

    .portal-band--lines .hero-show__lines-card-count {
        font-size: 0.82rem;
    }
}

.hero-show__rating-stars {
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    color: var(--primary-color, #ff6600);
}

.hero-show__reviews {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    width: 100%;
    min-width: 0;
    align-content: center;
}

.hero-show__review {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    min-width: 0;
    padding: 0.75rem 0.8rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 12, 12, 0.48);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.hero-show__review-head {
    margin-bottom: 0.35rem;
}

.hero-show__review-title {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
}

.hero-show__review-type {
    margin-right: 0.35rem;
}

.hero-show__review-sku {
    color: var(--primary-color, #ff6600);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.hero-show__review-desc {
    margin: 0.25rem 0 0;
    font-size: 0.72rem;
    line-height: 1.4;
    color: #9aa0a7;
}

.hero-show__review .hero-show__rating-stars {
    margin: 0.4rem 0 0.45rem;
    font-size: 0.78rem;
}

.hero-show__review-quote {
    margin: 0;
    padding: 0.15rem 0 0.15rem 0.75rem;
    border-left: 3px solid var(--primary-color, #ff6600);
    flex: 1;
}

.hero-show__review-quote p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.55;
    font-style: italic;
    color: #d5d9de;
}

.hero-show__review-trans {
    display: block;
    margin-top: 0.35rem;
    font-size: 10px;
    color: #7d848d;
}

.hero-show__review-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.65rem;
}

.hero-show__review-thumbs img {
    width: 2.6rem;
    height: 2.6rem;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0b0d0f;
}

.hero-show__slide--reviews .hero-show__split-copy .hero-show__title {
    font-size: clamp(1.45rem, 2.2vw, 2.2rem) !important;
    max-width: 16ch;
}

.hero-show__slide--reviews .hero-show__split-lead {
    font-size: 0.82rem;
}

.hero-show__review-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.75rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-show__review-author {
    color: #c5cad1;
    min-width: 0;
}

.hero-show__review-author time {
    display: block;
    margin-top: 0.15rem;
    color: #8b929b;
    letter-spacing: 0.04em;
    text-transform: none;
}

.hero-show__review-verified {
    flex-shrink: 0;
    color: #7dcf8a;
    font-weight: 700;
}

.hero-show__reviews-source {
    font-size: 0.72rem;
    line-height: 1.55;
    color: #8f959d;
    max-width: none;
}

/* Dyskretne chevrony ◀ ▶ — para w prawym górnym rogu (pod menu). */
.hero-show__nav {
    position: absolute;
    top: calc(var(--site-nav-h, 5.5rem) + 0.55rem);
    right: max(0.85rem, env(safe-area-inset-right, 0px));
    left: auto;
    bottom: auto;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    pointer-events: none;
}

.hero-show__dots {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 0.28rem;
    margin-right: 0.15rem;
}

.hero-show__dot {
    width: 0.42rem;
    height: 0.42rem;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}

.hero-show__dot.is-active {
    width: 0.95rem;
    background: rgba(255, 255, 255, 0.92);
}

.hero-show__dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.hero-show__dot:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.55);
    outline-offset: 2px;
}

.hero-show__chevron {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.45);
    font-size: 1.05rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
    -webkit-tap-highlight-color: transparent;
}

.hero-show__chevron:hover {
    color: rgba(255, 255, 255, 0.95);
}

.hero-show__chevron--prev:hover {
    transform: translateX(-1px);
}

.hero-show__chevron--next:hover {
    transform: translateX(1px);
}

.hero-show__chevron:active {
    color: #fff;
}

.hero-show__chevron:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.45);
    outline-offset: 2px;
    border-radius: 0.3rem;
    color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
    .hero-show__nav {
        top: calc(var(--site-nav-h, 5.5rem) + 0.65rem);
        right: max(1.5rem, env(safe-area-inset-right, 0px));
        gap: 0.2rem;
    }

    .hero-show__chevron {
        width: 2.55rem;
        height: 2.55rem;
        font-size: 1.15rem;
        color: rgba(255, 255, 255, 0.4);
    }
}

@media (min-width: 1280px) {
    .hero-show__nav {
        right: max(5.5rem, env(safe-area-inset-right, 0px)); /* jak px-24 */
    }
}

@media (max-width: 767px) {
    /* Aktywny slajd w flow — wysokie panele rosną z treścią, scroll idzie stroną (bez pułapki). */
    .hero-show {
        height: auto;
        min-height: 100svh;
        overflow: hidden;
    }

    .hero-show__slide.is-active {
        position: relative;
        inset: auto;
        width: 100%;
        min-height: 100svh;
    }

    .hero-show__content {
        height: auto;
        min-height: 100svh;
    }

    /* Panel (nagrody/opinie): treść wyśrodkowana jak pozostałe slajdy. */
    .hero-show__slide--panel .hero-show__content {
        align-items: center;
        justify-content: center;
        overflow-y: visible;
        padding-top: 4.75rem;
        padding-bottom: 2rem;
    }

    .hero-show__slide--panel .hero-show__inner {
        justify-content: center;
        gap: 0.85rem;
        padding-top: 0;
        padding-bottom: 0.25rem;
        min-height: 0;
    }

    .hero-show__slide--panel .hero-show__media--panel-cover {
        width: 100%;
        left: 0;
        right: 0;
        opacity: 0.55;
        filter: brightness(0.85) contrast(1.04);
        background-position: 72% center;
        background-size: cover;
    }

    .hero-show__slide--awards .hero-show__media--panel-cover,
    .hero-show__slide--reviews .hero-show__media--panel-cover {
        opacity: 0.58;
        filter: brightness(0.92) contrast(1.03) saturate(1.02);
    }

    .hero-show__slide--panel .hero-show__scrim--panel {
        background:
            linear-gradient(180deg, rgba(14, 16, 18, 0.28) 0%, rgba(14, 16, 18, 0.5) 42%, rgba(14, 16, 18, 0.78) 100%);
    }

    .hero-show__media--photo {
        animation: none;
    }

    .hero-show__slide--split {
        background: linear-gradient(180deg, #191c20 0%, #101214 100%);
    }

    .hero-show__slide--split .hero-show__media {
        opacity: 0.48;
        background-position: 72% center;
        background-size: cover;
    }

    .hero-show__slide--split .hero-show__inner {
        width: 100%;
        max-width: calc(100vw - 4rem);
    }

    .hero-show__slide--split .hero-show__title {
        max-width: 100%;
        font-size: clamp(1.8rem, 8vw, 2.3rem) !important;
        line-height: 1.08;
        overflow-wrap: break-word;
    }

    .hero-show__media--split-product {
        background-position: center 20% !important;
        background-size: 84vw auto !important;
        opacity: 0.4 !important;
    }

    .hero-show__slide--split .hero-show__scrim {
        background: linear-gradient(180deg, rgba(18, 20, 23, 0.08), rgba(18, 20, 23, 0.72) 68%, #121417 100%);
    }

    .hero-show__milestones,
    .hero-show__stats {
        gap: 0.45rem;
        max-width: 100%;
    }

    .hero-show__milestones p {
        font-size: 0.7rem;
        line-height: 1.45;
        overflow-wrap: anywhere;
        color: #d8dde4;
    }

    .hero-show__year {
        font-size: 1.55rem;
    }

    .hero-show__stat {
        padding: 0.65rem 0.55rem 0.7rem;
    }

    .hero-show__stat-value {
        font-size: 1.35rem;
    }

    .hero-show__stat-label {
        max-width: none;
        font-size: 9px;
        letter-spacing: 0.06em;
    }

    .hero-show__count-value {
        font-size: clamp(2.5rem, 16vw, 4rem);
    }

    .hero-show__progress {
        top: 4.5rem;
    }

    .hero-show__split-copy .hero-show__title {
        max-width: 100%;
        font-size: clamp(1.45rem, 6.5vw, 1.9rem) !important;
    }

    .hero-show__split-panel {
        gap: 0.85rem;
        align-items: stretch;
    }

    .hero-show__split-copy {
        gap: 0.65rem;
    }

    /* Oferta / nagrody: kompakt na telefonie. */
    .hero-show__slide--lines .hero-show__split-lead,
    .hero-show__slide--awards .hero-show__split-lead {
        display: none;
    }

    .hero-show__award {
        padding: 0.85rem 0.9rem;
        gap: 0.75rem;
        grid-template-columns: 2.75rem minmax(0, 1fr);
    }

    .hero-show__award-media,
    .hero-show__award-mark {
        width: 2.75rem;
        height: 2.75rem;
    }

    .hero-show__award-title {
        font-size: 0.92rem;
    }

    .hero-show__award-note {
        font-size: 0.74rem;
    }

    .hero-show__slide--lines .hero-show__lines-note {
        font-size: 0.7rem;
        line-height: 1.4;
    }

    .hero-show__slide--lines .hero-show__split-stats {
        margin: 0;
        gap: 0.75rem 1.25rem;
    }

    .hero-show__lines-showcase {
        gap: 0.5rem;
    }

    .hero-show__lines-featured {
        gap: 0.45rem;
    }

    .hero-show__lines-card {
        grid-template-columns: 5.5rem minmax(0, 1fr);
    }

    .hero-show__lines-card-media {
        width: 5.5rem;
        height: 5.5rem;
    }

    .hero-show__lines-card-body {
        padding: 0.7rem 0.75rem;
        gap: 0.2rem;
    }

    .hero-show__lines-card-label {
        font-size: 0.72rem;
    }

    .hero-show__lines-card-count {
        font-size: 1rem;
    }

    .hero-show__lines-list {
        gap: 0.3rem;
    }

    .hero-show__lines-row {
        grid-template-columns: 2.85rem minmax(0, 1fr) 2.6rem;
        gap: 0.4rem 0.45rem;
        padding: 0.4rem 0.55rem 0.4rem 0.4rem;
        border-radius: var(--radius-card);
    }

    .hero-show__lines-row-media {
        width: 2.85rem;
        height: 2.85rem;
    }

    .hero-show__lines-row-label {
        font-size: 0.62rem;
        letter-spacing: 0.02em;
    }

    .hero-show__lines-row-count {
        font-size: 0.8rem;
    }

    .hero-show__lines-card {
        border-radius: var(--radius-lg);
    }

    .hero-show__lines-row-arrow {
        display: none;
    }

    .hero-show__slide--reviews .hero-show__split-lead,
    .hero-show__slide--reviews .hero-show__reviews-source {
        display: none;
    }

    .hero-show__slide--reviews .hero-show__split-stats {
        gap: 0.75rem 1rem;
        margin: 0;
    }

    .hero-show__slide--reviews .hero-show__split-stat-value {
        font-size: 1.3rem;
    }

    .hero-show__slide--reviews .hero-show__split-stat-label {
        font-size: 8px;
    }

    .hero-show__slide--reviews .hero-show__review {
        padding: 0.45rem 0.5rem 0.55rem;
    }

    .hero-show__slide--reviews .hero-show__review-title {
        font-size: 0.68rem;
    }

    .hero-show__slide--reviews .hero-show__review-desc {
        display: none;
    }

    .hero-show__slide--reviews .hero-show__review-trans {
        display: none;
    }

    .hero-show__slide--reviews .hero-show__review-quote p {
        font-size: 0.65rem;
        line-height: 1.3;
    }

    .hero-show__slide--reviews .hero-show__review-thumbs {
        display: none;
    }

    .hero-show__slide--reviews .hero-show__review-foot {
        margin-top: 0.35rem;
        padding-top: 0.35rem;
        font-size: 8px;
    }

    .hero-show__slide--reviews .hero-show__rating-stars {
        margin: 0.25rem 0 0.3rem;
        font-size: 0.68rem;
    }

    .hero-show__reviews {
        gap: 0.4rem;
        max-height: none;
    }

    #home-hero-show + #aktualnosci,
    #home-hero-show + #manifest {
        margin-top: 3rem;
    }

    /* Telefon: para chevronów fixed w prawym górnym rogu pod menu. */
    .hero-show__nav {
        position: fixed;
        top: calc(var(--site-nav-h, 4.5rem) + 0.4rem);
        right: max(0.65rem, env(safe-area-inset-right, 0px));
        z-index: 49;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .hero-show:not(.is-in-view) .hero-show__nav {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }

    html:has(#sub-nav-bar.active) .hero-show__nav {
        top: calc(var(--site-nav-h, 4.5rem) + var(--site-subnav-h, 70px) + 0.35rem);
    }

    .hero-show__chevron {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.5);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-show__chevron {
        transition: none;
    }

    .hero-show__media--photo {
        animation: none;
    }

    .hero-show__slide {
        transition: none;
    }

    .hero-show__inner > * {
        transition: none;
    }
}

/* ── Subpage hero ── */
.page-hero {
    position: relative;
    overflow: hidden;
}

.page-hero.hero-bg-jakosc::before,
.page-hero.hero-bg-kontakt::before,
.page-hero.hero-bg-kolumny::before,
.page-hero.hero-bg-zwrotnice::before,
.page-hero.hero-bg-naprawa::before,
.page-hero.hero-subpage::before,
.page-hero.hero-bg-about::before,
.page-hero.hero-bg-aktualnosci::before,
.page-hero.hero-bg-privacy::before,
.page-hero.hero-bg-asortyment::before {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: var(--hero-bg-position, center center) !important;
    animation: hero-drift 22s ease-in-out infinite alternate;
}

@keyframes hero-drift {
    0% { background-position: center 48%; }
    100% { background-position: center 52%; }
}

@media (max-width: 767px) {
    header.page-hero {
        padding-top: 6.5rem !important;
        padding-bottom: 2rem !important;
    }

    .page-hero.hero-bg-jakosc::before,
    .page-hero.hero-bg-kontakt::before,
    .page-hero.hero-bg-kolumny::before,
    .page-hero.hero-bg-zwrotnice::before,
    .page-hero.hero-bg-naprawa::before,
    .page-hero.hero-subpage::before,
    .page-hero.hero-bg-about::before,
    .page-hero.hero-bg-aktualnosci::before,
    .page-hero.hero-bg-privacy::before,
    .page-hero.hero-bg-asortyment::before {
        background-size: cover !important;
        background-position: center top !important;
        animation: none;
    }

    .page-hero .max-w-4xl h2 {
        font-size: clamp(1.65rem, 7vw, 2.25rem) !important;
        line-height: 1.15 !important;
    }
}

.page-hero .max-w-4xl h1,
.page-hero .max-w-4xl h2,
.page-hero h1,
.page-hero h2 {
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.page-hero p {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* Kontakt — min-height żeby nie ucinać grafiki; treść bliżej fold */
.page-hero.hero-bg-kontakt {
    min-height: clamp(22rem, 48vh, 34rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* O nas / Asortyment — zbliżone do kontaktu */
.page-hero.hero-bg-about,
.page-hero.hero-bg-asortyment {
    min-height: clamp(20rem, 44vh, 32rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    .page-hero.hero-bg-kontakt {
        min-height: clamp(18rem, 44vh, 28rem);
        padding-top: 6.5rem !important;
        padding-bottom: 2.75rem !important;
    }

    .page-hero.hero-bg-about,
    .page-hero.hero-bg-asortyment {
        min-height: clamp(17rem, 42vh, 26rem);
        padding-top: 6.5rem !important;
        padding-bottom: 2.5rem !important;
    }
}

/* ── Glass cards ── */
.glass-card {
    background: var(--surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transition: transform 0.45s var(--reveal-ease), border-color 0.45s ease, box-shadow 0.45s ease, background 0.45s ease;
}

.glass-card:hover {
    transform: translateY(-2px) scale(var(--hover-scale));
    background: var(--surface-glass-hover);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

/* ── Accent line ── */
.accent-line {
    width: 40px;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.5s ease, opacity 0.5s ease;
    opacity: 0.3;
}

.group:hover .accent-line,
.reveal-on-scroll.is-visible .accent-line {
    width: 80px;
    opacity: 1;
}

.reveal-on-scroll.is-visible .accent-line {
    transition-delay: 0.25s;
}

.logo-dark-to-white {
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}

/* ── Scroll reveal ── */
.reveal-on-scroll,
.animate-reveal,
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity var(--reveal-duration) var(--reveal-ease),
                transform var(--reveal-duration) var(--reveal-ease);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible,
.animate-reveal.is-visible,
.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
}

.reveal-left {
    transform: translateX(-28px);
}

.reveal-right {
    transform: translateX(28px);
}

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--reveal-duration) var(--reveal-ease),
                transform var(--reveal-duration) var(--reveal-ease);
    will-change: opacity, transform;
}

.reveal-stagger.is-visible > * {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.13s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.21s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.29s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.37s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.45s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.53s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.61s; }

/* Po animacji wejścia — bez zalegającego delay (hover proof-point / pasek) */
.reveal-stagger.reveal-settled > * {
    transition-delay: 0s !important;
}

.reveal-stagger.reveal-settled > .proof-point {
    transition:
        border-color 0.35s ease,
        background 0.35s ease,
        transform 0.35s var(--reveal-ease),
        box-shadow 0.35s ease;
}

.animate-reveal.delay-1,
.reveal-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-reveal.delay-2,
.reveal-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-reveal.delay-3,
.reveal-on-scroll.delay-3 { transition-delay: 0.3s; }

/* ── Nav scroll state — compact sticky header (shrinks on scroll) ── */
#site-nav {
    height: 5.5rem;
    padding-top: 0;
    padding-bottom: 0;
    /* Mobile (<xl): zawsze pełna belka. Przezroczystość tylko od xl — niżej. */
    background-color: rgba(10, 10, 10, 0.94) !important;
    background: rgba(10, 10, 10, 0.94) !important;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
    transition:
        height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease,
        backdrop-filter 0.4s ease;
}

#site-nav.nav-scrolled,
#site-nav.nav-elevated {
    background-color: rgba(10, 10, 10, 0.94) !important;
    background: rgba(10, 10, 10, 0.94) !important;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

/* Desktop (xl+): u góry strony bez tła belki */
@media (min-width: 1280px) {
    #site-nav:not(.nav-scrolled):not(.nav-elevated) {
        background-color: transparent !important;
        background: transparent !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom-color: transparent !important;
        box-shadow: none;
    }
}

/* Przezroczysty top (xl+, light + dark): jak screen — białe elementy, bez cieni */
@media (min-width: 1280px) {
#site-nav:not(.nav-scrolled):not(.nav-elevated) .nav-main-link,
#site-nav:not(.nav-scrolled):not(.nav-elevated) .site-nav__slogan,
#site-nav:not(.nav-scrolled):not(.nav-elevated) .site-nav__slogan span,
#site-nav:not(.nav-scrolled):not(.nav-elevated) .theme-toggle-btn,
#site-nav:not(.nav-scrolled):not(.nav-elevated) .nav-search-toggle,
#site-nav:not(.nav-scrolled):not(.nav-elevated) .site-nav__more-btn,
#site-nav:not(.nav-scrolled):not(.nav-elevated) [data-role="news-bell"],
#site-nav:not(.nav-scrolled):not(.nav-elevated) #mobile-menu-toggle,
#site-nav:not(.nav-scrolled):not(.nav-elevated) [data-role="lang-dropdown-btn"],
#site-nav:not(.nav-scrolled):not(.nav-elevated) #header-cart-link,
#site-nav:not(.nav-scrolled):not(.nav-elevated) #header-cart-link-more,
#site-nav:not(.nav-scrolled):not(.nav-elevated) .text-gray-400,
#site-nav:not(.nav-scrolled):not(.nav-elevated) .text-white {
    color: #ffffff !important;
    text-shadow: none !important;
    filter: none;
    opacity: 1;
}

#site-nav:not(.nav-scrolled):not(.nav-elevated) .nav-main-link:hover,
#site-nav:not(.nav-scrolled):not(.nav-elevated) .theme-toggle-btn:hover,
#site-nav:not(.nav-scrolled):not(.nav-elevated) .nav-search-toggle:hover,
#site-nav:not(.nav-scrolled):not(.nav-elevated) .site-nav__more-btn:hover,
#site-nav:not(.nav-scrolled):not(.nav-elevated) [data-role="news-bell"]:hover {
    color: #ffffff !important;
    opacity: 0.85;
}

#site-nav:not(.nav-scrolled):not(.nav-elevated) .site-nav__logo,
#site-nav:not(.nav-scrolled):not(.nav-elevated) .logo-dark-to-white {
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
}

#site-nav:not(.nav-scrolled):not(.nav-elevated) #mobile-menu-toggle span {
    background-color: #ffffff !important;
    box-shadow: none;
}

/* CTA: obramowanie jak na screenie + wyraźny hover */
#site-nav:not(.nav-scrolled):not(.nav-elevated) a.site-nav__cta.nav-catalog-btn {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.85) !important;
    background: transparent !important;
    text-shadow: none !important;
    box-shadow: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

#site-nav:not(.nav-scrolled):not(.nav-elevated) a.site-nav__cta.nav-catalog-btn:hover,
#site-nav:not(.nav-scrolled):not(.nav-elevated) a.site-nav__cta.nav-catalog-btn:focus-visible {
    color: #0a0a0a !important;
    background: #ffffff !important;
    border-color: #ffffff !important;
}

#site-nav:not(.nav-scrolled):not(.nav-elevated) a.site-nav__cta:not(.nav-catalog-btn) {
    color: #ff6600 !important;
    border-color: rgba(255, 102, 0, 0.85) !important;
    background: transparent !important;
    text-shadow: none !important;
    box-shadow: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

#site-nav:not(.nav-scrolled):not(.nav-elevated) a.site-nav__cta:not(.nav-catalog-btn):hover,
#site-nav:not(.nav-scrolled):not(.nav-elevated) a.site-nav__cta:not(.nav-catalog-btn):focus-visible {
    color: #0a0a0a !important;
    background: #ff6600 !important;
    border-color: #ff6600 !important;
}
}

#site-nav .site-nav__logo {
    height: 2.5rem;
    transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

#site-nav .site-nav__slogan {
    max-width: 12rem;
    opacity: 0.6;
    transition:
        opacity 0.35s ease,
        max-width 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        margin 0.4s ease;
}

#site-nav .nav-main-link {
    transition: color 0.3s ease, letter-spacing 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

#site-nav .site-nav__cta {
    transition:
        padding 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

#site-nav .site-nav__menu {
    gap: 2rem;
}

#site-nav .site-nav__slogan {
    display: none;
}

#site-nav .site-nav__end-inline,
#site-nav .site-nav__end-compact {
    display: none;
}

/* xl–1759: lupa (katalog) + chevron „więcej” */
@media (min-width: 1280px) and (max-width: 1759px) {
    #site-nav {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        gap: 0.85rem;
    }

    #site-nav .site-nav__menu {
        gap: 1.35rem;
    }

    #site-nav .nav-main-link {
        letter-spacing: 0.18em;
    }

    #site-nav .site-nav__end-compact {
        display: inline-flex;
        align-items: center;
        gap: 0.15rem;
    }
}

@media (min-width: 1536px) and (max-width: 1759px) {
    #site-nav .site-nav__menu {
        gap: 1.75rem;
    }
}

/* ≥1760: pełny rząd ikon + CTA + slogan */
@media (min-width: 1760px) {
    #site-nav .site-nav__menu {
        gap: 3rem;
    }

    #site-nav .site-nav__slogan {
        display: block;
    }

    #site-nav .site-nav__end-inline {
        display: flex;
    }
}

#site-nav .site-nav__more-btn {
    background: transparent;
    border: none;
    box-shadow: none;
    line-height: 1;
}

#site-nav .site-nav__more-btn.is-open,
#site-nav .site-nav__more-btn[aria-expanded="true"] {
    color: #fff;
}

#site-nav .site-nav__more-btn.is-open i,
#site-nav .site-nav__more-btn[aria-expanded="true"] i {
    transform: rotate(180deg);
}

#site-nav .site-nav__more-btn i {
    display: inline-block;
    transition: transform 0.2s ease;
}

#site-nav .site-nav__more-panel {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    z-index: 1003;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-width: 12.5rem;
    padding: 0.75rem;
    background: rgba(12, 12, 12, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#site-nav .site-nav__more-panel[hidden] {
    display: none !important;
}

#site-nav .site-nav__more-icons {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 0;
    width: 100%;
}

#site-nav .site-nav__more-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    padding: 0;
    color: #9ca3af;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: color 0.2s ease;
}

#site-nav .site-nav__more-icon-btn:hover,
#site-nav .site-nav__more-icon-btn:focus-visible {
    color: var(--primary-color, #ff6600);
    outline: none;
}

#site-nav .site-nav__more-lang {
    position: relative;
}

#site-nav .site-nav__more-lang-btn {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.65rem;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #9ca3af;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 0.2s ease, border-color 0.2s ease;
}

#site-nav .site-nav__more-lang-btn:hover,
#site-nav .site-nav__more-lang-btn[aria-expanded="true"] {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
}

#site-nav .site-nav__more-cta {
    display: block;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 0.7rem 0.85rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#site-nav .site-nav__more-cta--partner {
    color: #ff6600;
    border-color: rgba(255, 102, 0, 0.35);
}

#site-nav .site-nav__more-cta:hover {
    background: #fff;
    color: #0a0a0a;
    border-color: #fff;
}

#site-nav .site-nav__more-cta--partner:hover {
    background: #ff6600;
    color: #0a0a0a;
    border-color: #ff6600;
}

#sub-nav-bar {
    top: 5.5rem;
}

#site-nav.nav-scrolled {
    height: 4.25rem;
}

#site-nav.nav-scrolled .site-nav__logo {
    height: 2rem;
}

#site-nav.nav-scrolled .site-nav__slogan {
    opacity: 0;
    max-width: 0;
    margin-left: 0 !important;
    overflow: hidden;
    pointer-events: none;
}

#site-nav.nav-scrolled .nav-main-link {
    letter-spacing: 0.22em;
}

#site-nav.nav-scrolled .site-nav__cta {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

#site-nav.nav-scrolled ~ #sub-nav-bar {
    top: 4.25rem;
}

/* Desktop pełny nav wysokości; poniżej xl — hamburger */
@media (max-width: 1279px) {
    #site-nav .site-nav__logo {
        height: 2.25rem;
    }

    #site-nav.nav-scrolled .site-nav__logo {
        height: 1.85rem;
    }

    #site-nav.nav-scrolled {
        height: 4rem;
    }

    #site-nav.nav-scrolled ~ #sub-nav-bar {
        top: 4rem;
    }

    #sub-nav-bar {
        top: 5.5rem;
    }
}

@media (max-width: 767px) {
    #site-nav {
        height: 4.5rem;
    }

    #site-nav .site-nav__logo {
        height: 2rem;
    }

    #site-nav.nav-scrolled {
        height: 3.75rem;
    }

    #site-nav.nav-scrolled .site-nav__logo {
        height: 1.75rem;
    }

    #sub-nav-bar {
        top: 4.5rem;
    }

    #site-nav.nav-scrolled ~ #sub-nav-bar {
        top: 3.75rem;
    }
}

/* ── Sliders / card tracks (hide scrollbar, room for hover border) ── */
.slider-track,
[class*="mobile-slider-"],
.mobile-slider {
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.slider-track::-webkit-scrollbar,
[class*="mobile-slider-"]::-webkit-scrollbar,
.mobile-slider::-webkit-scrollbar {
    display: none;
}

@media (min-width: 768px) {
    .slider-track,
    [class*="mobile-slider-"],
    .mobile-slider {
        overflow: visible !important;
    }
}

/* W tracku slidera bez podnoszenia karty — obramowanie nie jest obcinane */
.slider-track .glass-card:hover,
.slider-track .premium-card:hover,
.slider-track .slider-card:hover,
.slider-track .process-step-card:hover,
[class*="mobile-slider-"] .glass-card:hover,
[class*="mobile-slider-"] .premium-card:hover,
[class*="mobile-slider-"] .slider-card:hover,
.mobile-slider .glass-card:hover,
.mobile-slider .premium-card:hover,
.mobile-slider .slider-card:hover {
    transform: none;
}

.slider-track .slider-card,
[class*="mobile-slider-"] .slider-card,
.mobile-slider .slider-card {
    scroll-margin-top: 1rem;
    scroll-margin-bottom: 1rem;
}

/* Specyfikacja Wydajności (kolumny) / Kontrola montażu (zwrotnice) — kafelki jaśniejsze od tła + hover jak aktualności */
#struts-spec .slider-card {
    background: #161616 !important;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s var(--reveal-ease), background 0.4s ease;
}

#struts-spec .slider-card:hover,
#struts-spec .mobile-slider .slider-card:hover,
#struts-spec [class*="mobile-slider-"] .slider-card:hover {
    border-color: rgba(255, 102, 0, 0.45);
    background: #1a1a1a !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 24px rgba(255, 102, 0, 0.12);
    transform: translateY(-4px) scale(var(--hover-scale));
}

/* ── Premium marketing components ── */
.premium-card {
    position: relative;
    display: block;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-subtle);
    background: var(--surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    transition: border-color 0.45s ease, background 0.45s ease, box-shadow 0.45s var(--reveal-ease), transform 0.4s var(--reveal-ease);
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 102, 0, 0.35), transparent);
    opacity: 0.6;
    pointer-events: none;
}

.premium-card:hover {
    border-color: var(--border-hover);
    background: var(--surface-glass-hover);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-8px);
}

/* Ikona w kafelku — efekt jak design_suggestion (obrót + fill primary) */
.icon-tile {
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.35s var(--reveal-ease);
}

.group:hover .icon-tile,
.premium-card:hover .icon-tile,
.icon-tile-card:hover .icon-tile {
    background: var(--primary-color, #ff6600) !important;
    border-color: var(--primary-color, #ff6600) !important;
    color: #fff !important;
    transform: rotate(5deg);
}

.group:hover .icon-tile i,
.premium-card:hover .icon-tile i,
.icon-tile-card:hover .icon-tile i {
    color: #fff !important;
}

.portal-band {
    position: relative;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.95) 0%, var(--secondary-color, #0a0a0a) 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.portal-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.35;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 75%);
}

.portal-band > * {
    position: relative;
    z-index: 1;
}

.cta-strip {
    position: relative;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
}

.cta-strip::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-strip .cta-strip-inner {
    position: relative;
    z-index: 1;
}

/* Polityka jakości — wyróżnienie „2-letniej gwarancji…” */
#quality-proof .cta-strip strong {
    color: var(--primary-color, #ff6600);
    font-weight: 800;
    letter-spacing: 0.01em;
}

/* Subtle technical backgrounds */
.tech-bg {
    position: relative;
}

.tech-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 102, 0, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 40%);
    pointer-events: none;
}

.tech-bg-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.5;
    pointer-events: none;
}

/* Hero shortcuts (home) */
.hero-shortcuts {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .hero-shortcuts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.hero-shortcut {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    text-decoration: none;
    color: var(--text-body);
}

.hero-shortcut i {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.75rem;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.hero-shortcut span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-shortcut:hover i {
    color: var(--primary-color, #ff6600);
    border-color: rgba(255, 102, 0, 0.25);
}

/* Portal area cards */
.portal-card {
    padding: 1.75rem;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.portal-card .portal-card-links {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.portal-card:hover .portal-card-links {
    color: var(--text-muted);
}

/* Proof points strip */
.proof-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .proof-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.proof-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-subtle);
    border-bottom: 3px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s var(--reveal-ease), box-shadow 0.35s ease;
}

.proof-point:hover {
    border-color: var(--border-hover);
    border-bottom-color: var(--primary-color, #ff6600);
    background: var(--surface-glass-hover);
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.proof-point-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    color: var(--primary-color, #ff6600);
    font-size: 0.875rem;
    transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s var(--reveal-ease);
}

.proof-point:hover .proof-point-icon {
    background: var(--primary-color, #ff6600);
    border-color: var(--primary-color, #ff6600);
    color: #fff;
    transform: rotate(5deg);
}

.proof-point-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.35rem;
}

.proof-point-desc {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--text-muted);
}

/* Map dashboard frame */
.map-dashboard {
    padding: 1rem;
    border-radius: var(--radius-lg);
}

.map-dashboard .map-container {
    margin-top: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* News preview */
.news-preview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .news-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.news-preview-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-subtle);
    background: var(--surface-glass);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s var(--reveal-ease);
}

.news-preview-card:hover {
    border-color: rgba(255, 102, 0, 0.45);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 24px rgba(255, 102, 0, 0.12);
    transform: translateY(-4px) scale(var(--hover-scale));
}

.news-preview-card img {
    width: 100%;
    /* Wyższy kadr niż wcześniej (10rem) — mniej agresywnego cropu niż w panelu bocznym (h-48),
       bo kafelki home są szersze (2 kolumny). */
    height: 14rem;
    object-fit: cover;
    object-position: center;
    opacity: 0.85;
    transition: opacity 0.4s ease;
}

@media (min-width: 768px) {
    .news-preview-card img {
        height: 16rem;
    }
}

.news-preview-card:hover img {
    opacity: 1;
}

.news-preview-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.news-preview-date {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--primary-color, #ff6600);
    margin-bottom: 0.5rem;
}

.news-preview-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

.news-preview-excerpt {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* News archive */
.news-archive-list {
    display: flex;
    flex-direction: column;
}

.news-archive-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-subtle);
    scroll-margin-top: 7rem;
}

.news-archive-item:first-child {
    padding-top: 0;
}

.news-archive-date {
    padding-top: 0.25rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--primary-color, #ff6600);
}

.news-archive-card {
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    background: var(--surface-glass);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.35s ease, background-color 0.35s ease, transform 0.35s ease;
}

.news-archive-card:hover {
    transform: translateY(-2px) scale(var(--hover-scale));
    border-color: rgba(255, 102, 0, 0.35);
    background: var(--surface-glass-hover);
}

.news-archive-image {
    width: 100%;
    height: 13rem;
    object-fit: cover;
    opacity: 0.88;
    transition: opacity 0.35s ease;
}

.news-archive-card:hover .news-archive-image {
    opacity: 1;
}

.news-archive-card-body {
    padding: 1.5rem;
}

.news-archive-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.25;
}

.news-archive-excerpt {
    margin-top: 0.75rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.7;
}

.news-article {
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    background: var(--surface-glass);
    scroll-margin-top: 7rem;
}

.news-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem;
    color: var(--text-muted-strong);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.news-back-link:hover {
    color: var(--primary-color, #ff6600);
}

.news-article-image {
    width: 100%;
    max-height: 34rem;
    object-fit: cover;
}

.news-article-body {
    padding: 2rem 1.5rem 2.5rem;
}

.news-article-title {
    margin-top: 0.75rem;
    color: #fff;
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.news-article-content {
    margin-top: 2rem;
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.85;
}

.news-empty-state {
    padding: 4rem 1.5rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    color: var(--text-muted);
    background: var(--surface-glass);
}

@media (min-width: 768px) {
    .news-archive-item {
        grid-template-columns: 8.5rem minmax(0, 1fr);
        gap: 2rem;
        padding: 2rem 0;
    }

    .news-archive-card.has-image {
        grid-template-columns: minmax(12rem, 15rem) minmax(0, 1fr);
    }

    .news-archive-image {
        height: 100%;
        min-height: 12rem;
    }

    .news-archive-card-body {
        padding: 2rem;
    }

    .news-article-body {
        padding: 3rem 4rem 4rem;
    }
}

/* About page — company history milestones */
.about-milestones-shell {
    margin-top: 3.5rem;
}

.about-milestones-viewport {
    min-width: 0;
    padding: 1.25rem 0;
    overflow: visible;
}

.about-milestones--slideshow {
    padding: 0.75rem 0;
}

.about-milestones {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-milestones__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.about-milestones__card {
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 20rem;
    height: 12.5rem;
    padding: 1.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.4s ease, background 0.4s ease, transform 0.45s ease, opacity 0.45s ease;
    flex-shrink: 0;
}

.about-milestones--slideshow .about-milestones__card {
    transform: scale(1);
    opacity: 0.55;
    transform-origin: center center;
}

.about-milestones--slideshow .about-milestones__item.is-active .about-milestones__card {
    transform: scale(1.06);
    opacity: 1;
    border-color: rgba(255, 102, 0, 0.4);
    background: rgba(255, 102, 0, 0.06);
    z-index: 1;
}

.about-milestones--slideshow .about-milestones__item.is-active .about-milestones__card::before {
    opacity: 1;
}

.about-milestones--slideshow .about-milestones__connector {
    opacity: 0.35;
    transition: opacity 0.45s ease;
}

.about-milestones--slideshow .about-milestones__item {
    padding: 0.35rem 0;
}

@media (prefers-reduced-motion: reduce) {
    .about-milestones--slideshow .about-milestones__card {
        transform: none;
        opacity: 1;
    }

    .about-milestones--slideshow .about-milestones__item.is-active .about-milestones__card {
        transform: none;
    }

    .about-milestones--slideshow .about-milestones__connector {
        opacity: 1;
    }
}

.about-milestones__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 102, 0, 0.55), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.about-milestones__card:hover {
    border-color: rgba(255, 102, 0, 0.35);
    background: rgba(255, 102, 0, 0.05);
    transform: scale(var(--hover-scale));
}

.about-milestones--slideshow .about-milestones__card:hover {
    transform: scale(1);
}

.about-milestones--slideshow .about-milestones__item.is-active .about-milestones__card:hover {
    transform: scale(1.06);
}

.about-milestones__card:hover::before {
    opacity: 1;
}

.about-milestones__year {
    display: block;
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--primary-color, #ff6600);
}

.about-milestones__text {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.65;
    color: #d1d5db;
    flex: 1;
    overflow: hidden;
}

.about-milestones__connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0;
    color: rgba(255, 102, 0, 0.6);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.about-milestones__connector::before {
    content: '↓';
}

@media (min-width: 1280px) {
    .about-milestones-shell {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.75rem;
    }

    .about-milestones-viewport {
        overflow: visible;
        padding: 1.75rem 0;
    }

    .about-milestones--slideshow {
        padding: 1rem 0;
    }

    .about-milestones--slideshow .about-milestones__card {
        transform: scale(1);
    }

    .about-milestones--slideshow .about-milestones__item.is-active .about-milestones__card {
        transform: scale(1.08);
    }

    .about-milestones--slideshow .about-milestones__item.is-active .about-milestones__card:hover {
        transform: scale(1.08);
    }

    .about-milestones {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        overflow-x: auto;
        overflow-y: visible;
        /* Zapas na scale aktywnego kafelka — inaczej clipuje i „chowa” kartę */
        padding: 1.25rem 1.25rem;
        scroll-snap-type: none;
        scroll-padding-inline: 1.25rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .about-milestones::-webkit-scrollbar {
        display: none;
    }

    .about-milestones__item {
        flex-direction: row;
        width: auto;
        flex: 0 0 auto;
        padding: 0.5rem 0;
    }

    .about-milestones__card {
        width: 11rem;
        max-width: none;
        height: 14.5rem;
        min-height: auto;
    }

    .about-milestones__connector {
        padding: 0 0.65rem;
        align-self: center;
        flex-shrink: 0;
    }

    .about-milestones__connector::before {
        content: '→';
    }

    .about-milestones-nav {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.5rem;
        height: 2.5rem;
        flex-shrink: 0;
        border: 1px solid rgba(255, 102, 0, 0.35);
        background: rgba(255, 102, 0, 0.08);
        color: var(--primary-color, #ff6600);
        cursor: pointer;
        transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    }

    .about-milestones-nav:hover:not(:disabled) {
        background: rgba(255, 102, 0, 0.18);
        border-color: rgba(255, 102, 0, 0.55);
        color: #fff;
    }

    .about-milestones-nav:disabled {
        opacity: 0.35;
        cursor: default;
    }
}

/* Process timeline (quality) */
.process-timeline {
    position: relative;
    padding-left: 0;
}

@media (min-width: 768px) {
    .process-timeline {
        padding-left: 3rem;
    }

    .process-timeline::before {
        content: '';
        position: absolute;
        left: 1.125rem;
        top: 2rem;
        bottom: 2rem;
        width: 1px;
        background: linear-gradient(180deg, rgba(255, 102, 0, 0.3), rgba(255, 255, 255, 0.08), rgba(255, 102, 0, 0.15));
    }
}

.process-phase {
    position: relative;
    margin-bottom: 4rem;
}

.process-phase:last-child {
    margin-bottom: 0;
}

.process-phase-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 102, 0, 0.35);
    background: rgba(255, 102, 0, 0.08);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--primary-color, #ff6600);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .process-phase-num {
        position: absolute;
        left: -3rem;
        top: 0.25rem;
        margin-bottom: 0;
        background: var(--secondary-color, #0a0a0a);
    }
}

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

.criteria-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.75rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.criteria-list li::before {
    content: '';
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    margin-top: 0.45rem;
    border-radius: 50%;
    background: var(--primary-color, #ff6600);
    opacity: 0.6;
}

/* Process steps (repair) */
.process-step-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    transition: transform 0.4s var(--reveal-ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.process-step-card:hover {
    transform: scale(var(--hover-scale));
}

.process-step-num {
    font-size: 3.5rem;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
    color: transparent;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    pointer-events: none;
    user-select: none;
}

.process-step-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-card);
    background: rgba(255, 102, 0, 0.08);
    border: 1px solid rgba(255, 102, 0, 0.2);
    color: var(--primary-color, #ff6600);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.process-step-divider {
    width: 2.5rem;
    height: 1px;
    background: rgba(255, 102, 0, 0.4);
    margin: 1rem 0 1.25rem;
}

/* Service desk CTA */
.service-desk {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.service-desk .service-desk-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: var(--primary-color, #ff6600);
    color: var(--secondary-color, #0a0a0a);
    border: 1px solid transparent;
    transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.service-desk .service-desk-btn:hover {
    background: #fff;
    color: var(--secondary-color, #0a0a0a);
}

/* Contact hierarchy */
.contact-primary-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .contact-primary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.contact-channel-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius-lg);
}

.contact-location-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 1rem;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
}

.contact-location-panel .location-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-color, #ff6600);
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.contact-location-panel:hover .location-map-link {
    opacity: 1;
}

/* Calm B2B form */
.form-panel-calm {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.02);
}

.form-panel-calm button[type="submit"] {
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--secondary-color, #0a0a0a) !important;
    letter-spacing: 0.25em;
    transition: background 0.4s ease, color 0.4s ease !important;
}

.form-panel-calm button[type="submit"]:hover {
    background: var(--primary-color, #ff6600) !important;
    color: #fff !important;
}

/* Nav micro-polish */
#news-dot {
    box-shadow: 0 0 0 2px rgba(10, 10, 10, 0.9);
    animation: news-pulse 2.5s ease-in-out infinite;
}

@keyframes news-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.85); }
}

.sub-nav-link {
    position: relative;
}

.sub-nav-link:hover {
    color: #fff;
}

.sub-nav-link.active {
    color: #fff;
}

.nav-main-link.active {
    color: #fff !important;
}

.nav-main-link.active .nav-chevron {
    color: var(--primary-color, #ff6600);
    opacity: 1;
}

.nav-main-link .nav-chevron {
    display: inline-block;
    transition: color 0.3s ease, opacity 0.3s ease, transform 0.2s ease;
}

.nav-main-link[aria-expanded="true"] .nav-chevron {
    transform: rotate(180deg);
}

/* ── Navigation & Overlays ── */
#mobile-menu {
    background-color: #0a0a0a !important;
    z-index: 2000;
}

.mobile-menu__footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
    max-width: 100%;
}

.mobile-menu__langs,
.mobile-menu__socials {
    width: 100%;
    justify-content: flex-start;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #0c0c0c;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
    z-index: 1002;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
    backdrop-filter: blur(10px);
}

.dropdown-content a {
    color: #ccc;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: all 0.3s ease;
}

.dropdown-content.show {
    display: block;
}

/* ── Form Elements ── */
input,
textarea {
    transition: all 0.3s ease;
}

/* ── Custom Scrollbars ── */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:active {
    background: #444;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal-on-scroll,
    .animate-reveal,
    .reveal-up,
    .reveal-left,
    .reveal-right,
    .reveal-stagger > * {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-home__reveal {
        opacity: 1;
        transform: none;
        filter: none;
        animation: none;
    }

    #site-nav,
    #site-nav .site-nav__logo,
    #site-nav .site-nav__slogan,
    #site-nav .site-nav__cta,
    #sub-nav-bar {
        transition: none !important;
    }

    #site-nav.nav-scrolled {
        height: 5.5rem;
    }

    #site-nav.nav-scrolled .site-nav__logo {
        height: 2.5rem;
    }

    #site-nav.nav-scrolled .site-nav__slogan {
        opacity: 0.6;
        max-width: 12rem;
        margin-left: 1rem !important;
    }

    #site-nav.nav-scrolled ~ #sub-nav-bar {
        top: 5.5rem;
    }

    .page-hero.hero-bg-jakosc::before,
    .page-hero.hero-bg-kontakt::before,
    .page-hero.hero-bg-kolumny::before,
    .page-hero.hero-bg-zwrotnice::before,
    .page-hero.hero-bg-naprawa::before,
    .page-hero.hero-subpage::before,
    .page-hero.hero-bg-about::before,
    .page-hero.hero-bg-aktualnosci::before,
    .page-hero.hero-bg-privacy::before,
    .page-hero.hero-bg-asortyment::before {
        animation: none;
        background-size: cover !important;
    }

    .glass-card:hover,
    .premium-card:hover,
    .proof-point:hover,
    .news-preview-card:hover,
    .news-archive-card:hover,
    .process-step-card:hover,
    .hero-show__lines-card:hover,
    .hero-show__lines-row:hover,
    #struts-spec .slider-card:hover {
        transform: none;
    }

    #news-dot {
        animation: none;
    }

    .page-hero.hero-bg-jakosc::before,
    .page-hero.hero-bg-kontakt::before,
    .page-hero.hero-bg-kolumny::before,
    .page-hero.hero-bg-zwrotnice::before,
    .page-hero.hero-bg-naprawa::before,
    .page-hero.hero-subpage::before,
    .page-hero.hero-bg-about::before,
    .page-hero.hero-bg-aktualnosci::before,
    .page-hero.hero-bg-privacy::before,
    .page-hero.hero-bg-asortyment::before {
        background-attachment: scroll !important;
    }

    .hero-gradient {
        background-attachment: scroll !important;
    }
}

/* HTML sitemap tree (mapa-strony.php) */
.sitemap-nav {
    color: #c4c8ce;
}

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

.sitemap-tree ul {
    list-style: none;
    margin: 0.55rem 0 0.85rem;
    padding: 0 0 0 1.25rem;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.sitemap-tree > li {
    margin: 0 0 1.1rem;
}

.sitemap-tree li {
    position: relative;
}

.sitemap-tree a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.sitemap-tree a:hover,
.sitemap-tree a:focus-visible {
    color: var(--primary-color, #ff6600);
    border-bottom-color: rgba(255, 102, 0, 0.45);
    outline: none;
}

.sitemap-tree__branch {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-color, #ff6600);
    margin-bottom: 0.15rem;
}

.sitemap-tree ul a {
    font-size: 0.88rem;
    font-weight: 600;
    color: #e8eaed;
}

.sitemap-xml-note {
    margin: 2.5rem 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
}

.sitemap-xml-note a {
    color: #9aa1aa;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.sitemap-xml-note a:hover {
    color: var(--primary-color, #ff6600);
}

/* Home videos — glass-card bez tła portal-band poza ramką */
.home-videos-section {
    background: transparent;
    border: none;
}

.home-videos-card .section-title {
    margin-top: 0.35rem;
}

.home-videos-section .ghp-video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.home-videos-section .ghp-video-grid--large {
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .home-videos-section .ghp-video-grid--large {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem;
    }
}

.home-videos-section .ghp-video-item {
    min-width: 0;
}

.home-videos-section .ghp-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: hidden;
    background: #000;
}

.home-videos-section .ghp-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── Wsparcie techniczne ── */
.support-hours {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.85rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
}

.support-form__label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-color, #ff6600);
}

.support-form__input,
.support-form__select {
    width: 100%;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
    outline: none;
}

.support-form__select {
    /* Native lista opcji — ciemne tło także przy color-scheme: light na html */
    color-scheme: dark;
    appearance: none;
    background-color: #1a1a1a !important;
    background-image: linear-gradient(45deg, transparent 50%, #9ca3af 50%),
        linear-gradient(135deg, #9ca3af 50%, transparent 50%);
    background-position: calc(100% - 1.15rem) calc(50% - 0.2rem),
        calc(100% - 0.75rem) calc(50% - 0.2rem);
    background-size: 0.4rem 0.4rem, 0.4rem 0.4rem;
    background-repeat: no-repeat;
    padding-right: 2.5rem;
    cursor: pointer;
}

.support-form__select option {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

.support-form__input:focus,
.support-form__select:focus {
    border-color: rgba(255, 102, 0, 0.5) !important;
}

.support-form__textarea {
    min-height: 8rem;
    resize: vertical;
    line-height: 1.55;
}

.support-form__hint {
    margin-top: 0.45rem;
    font-size: 0.72rem;
    color: #868e96;
    line-height: 1.4;
}

/* Wyższa specyficzność niż .form-panel-calm button[type="submit"] (biały w dark) */
#support-ask .support-form__submit,
.form-panel-calm .support-form__submit {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: 1px solid var(--primary-color, #ff6600) !important;
    background: var(--primary-color, #ff6600) !important;
    color: #ffffff !important;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

#support-ask .support-form__submit:hover,
.form-panel-calm .support-form__submit:hover {
    background: #e65c00 !important;
    border-color: #e65c00 !important;
    color: #ffffff !important;
}

/* Dystrybucja: ten sam wygląd pól/CTA w dark i light */
#dist-contact .support-form__label {
    color: #adb5bd !important;
}

#dist-contact .support-form__input,
#dist-contact .support-form__select,
#dist-contact .support-form__textarea {
    background: #e9ecef !important;
    background-color: #e9ecef !important;
    border: 1px solid #dee2e6 !important;
    color: #121212 !important;
    color-scheme: light;
}

#dist-contact .support-form__select {
    background-image: linear-gradient(45deg, transparent 50%, #868e96 50%),
        linear-gradient(135deg, #868e96 50%, transparent 50%) !important;
    background-position: calc(100% - 1.15rem) calc(50% - 0.2rem),
        calc(100% - 0.75rem) calc(50% - 0.2rem) !important;
    background-size: 0.4rem 0.4rem, 0.4rem 0.4rem !important;
    background-repeat: no-repeat !important;
}

#dist-contact .support-form__select option {
    background-color: #f8f9fa !important;
    color: #121212 !important;
}

#dist-contact .support-form__input::placeholder,
#dist-contact .support-form__textarea::placeholder {
    color: #868e96 !important;
}

#dist-contact .support-form__input:focus,
#dist-contact .support-form__select:focus,
#dist-contact .support-form__textarea:focus {
    border-color: rgba(255, 102, 0, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.12);
}

#dist-contact .support-form__submit {
    background: var(--primary-color, #ff6600) !important;
    border-color: var(--primary-color, #ff6600) !important;
    color: #ffffff !important;
    transition: transform 0.25s var(--reveal-ease, ease), box-shadow 0.25s ease !important;
}

#dist-contact .support-form__submit:hover,
#dist-contact .support-form__submit:focus-visible {
    background: var(--primary-color, #ff6600) !important;
    border-color: var(--primary-color, #ff6600) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 102, 0, 0.35);
}

#dist-contact .support-form__submit:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.28);
}

.support-form__note,
.support-form__error {
    font-size: 0.8rem;
    line-height: 1.45;
}

.support-form__note {
    color: #9ca3af;
}

.support-form__error {
    color: #f87171;
}

.support-form__success {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.25rem 0 0.25rem;
    color: #e5e7eb;
    font-size: 0.95rem;
    line-height: 1.55;
}

.support-form__success i {
    color: var(--primary-color, #ff6600);
    font-size: 1.35rem;
    margin-top: 0.1rem;
}

.contact-form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.support-faq-group__title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary-color, #ff6600);
}

.support-faq-list {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.support-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.2s ease;
}

.support-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.15rem 0.75rem 1.15rem 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #f3f4f6;
    line-height: 1.5;
    position: relative;
    padding-right: 2.25rem;
    transition: color 0.2s ease;
}

.support-faq-item summary:focus-visible {
    outline: 2px solid rgba(255, 102, 0, 0.5);
    outline-offset: 4px;
}

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

.support-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 1.1rem;
    color: #9ca3af;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
}

.support-faq-item[open] summary::after {
    content: '−';
    color: var(--primary-color, #ff6600);
}

.support-faq-item[open] summary {
    color: var(--primary-color, #ff6600);
}

.support-faq-item__body {
    padding: 0.15rem 0 1.35rem;
}

.support-faq-item__body p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.7;
    color: #b6bbc4;
    max-width: 42rem;
}

/* Inline dialog na wsparciu (zamiast floating czatu) */
.support-dialog__label-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.support-dialog {
    margin-top: 0;
}

.support-dialog__status {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1.25rem;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9ca3af;
}

.support-dialog__status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.support-dialog__messages {
    min-height: 18rem;
    max-height: 32rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0.25rem 0.15rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.support-dialog__msg {
    display: flex;
    flex-direction: column;
    max-width: 92%;
}

.support-dialog__msg--user {
    align-self: flex-end;
    align-items: flex-end;
}

.support-dialog__msg--bot {
    align-self: flex-start;
    align-items: flex-start;
}

.support-dialog__bubble {
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    line-height: 1.55;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.support-dialog__msg--user .support-dialog__bubble {
    background: rgba(255, 102, 0, 0.16);
    border-color: rgba(255, 102, 0, 0.35);
    color: #fff;
}

.support-dialog__msg--bot .support-dialog__bubble {
    background: rgba(255, 255, 255, 0.04);
    color: #e5e7eb;
}

.support-dialog__staff {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
}

.support-dialog__avatar {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
}

.support-dialog__staff-name {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color, #ff6600);
}

.support-dialog__typing {
    display: flex;
    gap: 5px;
    padding: 0.75rem 0;
}

.support-dialog__typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #666;
    animation: support-typing 1.2s infinite;
}

.support-dialog__typing span:nth-child(2) { animation-delay: 0.2s; }
.support-dialog__typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes support-typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.support-dialog__compose {
    display: flex;
    gap: 0.65rem;
    margin-top: 1.1rem;
}

.support-dialog__input {
    flex: 1;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    outline: none;
}

.support-dialog__input:focus {
    border-color: rgba(255, 102, 0, 0.5) !important;
}

.support-dialog__send {
    width: 48px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color, #ff6600) !important;
    border: 1px solid var(--primary-color, #ff6600) !important;
    color: #fff !important;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.support-dialog__send:hover {
    background: #e65c00 !important;
    border-color: #e65c00 !important;
}

.support-dialog__reset {
    margin-top: 1rem;
    background: transparent;
    border: none;
    padding: 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #9ca3af;
    cursor: pointer;
}

.support-dialog__reset:hover {
    color: var(--primary-color, #ff6600);
}

/* Blok UE — kolumny / zwrotnice (hero-show + page-hero) */
.eu-origin {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin: 0 0 1.75rem;
    max-width: 28rem;
    text-align: left;
}

.eu-origin--center {
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.75rem;
    margin-bottom: 0;
    justify-content: center;
    text-align: left;
}

.eu-origin__flag {
    flex-shrink: 0;
    width: 40px;
    height: auto;
    margin-top: 0.15rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.eu-origin__title {
    margin: 0 0 0.35rem;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.35;
}

.eu-origin__desc {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
}

.hero-show .eu-origin {
    margin-top: 0.25rem;
}

.eu-origin--below-video .eu-origin {
    margin-bottom: 0;
    max-width: none;
}

/* ==========================================
   GH PREMIUM v4.5 — ULTRA-PREMIUM UX LIFTING
   ========================================== */

/* Glassmorphism Surface Base */
.ghp-glass-card {
    background: rgba(18, 18, 20, 0.72) !important;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.35s ease,
                box-shadow 0.35s ease;
}

.ghp-glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 102, 0, 0.4) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 28px rgba(255, 102, 0, 0.12);
}

/* Premium Button / CTA Glow */
.ghp-btn-glow {
    position: relative;
    box-shadow: 0 4px 16px rgba(255, 102, 0, 0.2);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s ease,
                background-color 0.35s ease,
                border-color 0.35s ease;
}

.ghp-btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 102, 0, 0.45), 0 0 14px rgba(255, 102, 0, 0.3);
}

/* Subtly animated underline for links */
.ghp-hover-line {
    position: relative;
}

.ghp-hover-line::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color, #ff6600);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ghp-hover-line:hover::after {
    width: 100%;
}

/* Soft pulse glow for badges & key elements */
.ghp-badge-pulse {
    animation: ghpBadgePulse 3s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes ghpBadgePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 102, 0, 0);
    }
}

/* ─────────────────────────────────────────────────────────────
   Wyszukiwarka globalna — lupka w #site-nav, panel pod menu.
   ───────────────────────────────────────────────────────────── */
.ghp-sticky-search-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.ghp-sticky-search-wrap {
    position: fixed;
    left: 0;
    right: 0;
    top: calc(var(--site-nav-h, 5.5rem) + var(--site-subnav-h, 0px));
    z-index: 49;
    margin: 0;
    padding: 0.7rem 1rem;
    background: rgba(16, 16, 16, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: transform 0.22s ease, opacity 0.2s ease, visibility 0.2s ease, box-shadow 0.25s ease;
}
body.is-nav-search-open .ghp-sticky-search-wrap {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}
body.is-nav-search-open .nav-search-toggle {
    color: var(--primary-color, #ff6600);
}

/* Ikony nav (lupa / aktualności / motyw): bez tła i prostokąta focus */
#site-nav .nav-search-toggle,
#site-nav #news-bell-btn,
#site-nav .theme-toggle-btn {
    background: transparent;
    box-shadow: none;
}
#site-nav .nav-search-toggle:hover,
#site-nav .nav-search-toggle:focus,
#site-nav .nav-search-toggle:focus-visible,
#site-nav .nav-search-toggle[aria-expanded="true"],
#site-nav #news-bell-btn:hover,
#site-nav #news-bell-btn:focus,
#site-nav #news-bell-btn:focus-visible,
#site-nav #news-bell-btn[aria-expanded="true"],
#site-nav .theme-toggle-btn:hover,
#site-nav .theme-toggle-btn:focus,
#site-nav .theme-toggle-btn:focus-visible {
    background: transparent;
    outline: none;
    box-shadow: none;
}
@media (min-width: 768px) {
    .ghp-sticky-search-wrap {
        padding-left: 6rem;
        padding-right: 6rem;
    }
}
.ghp-sticky-search-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.85rem;
    height: 2.85rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 4px;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
}
.ghp-sticky-search-close:hover,
.ghp-sticky-search-close:focus-visible {
    border-color: #ffffff;
    outline: none;
}
.ghp-sticky-search {
    position: relative;
    max-width: 80rem;
    margin: 0 auto;
}
.ghp-sticky-search-form {
    display: flex;
    align-items: stretch;
    gap: 0.65rem;
}
.ghp-sticky-search-field {
    position: relative;
    flex: 1;
    min-width: 0;
    display: block;
    margin: 0;
}
.ghp-sticky-search-icon {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 0.85rem;
    pointer-events: none;
}
.ghp-sticky-search-input {
    width: 100%;
    height: 2.85rem;
    padding: 0 1rem 0 2.55rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    background: #2a2a2a;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ghp-sticky-search-input::placeholder {
    color: #8a8a8a;
}
.ghp-sticky-search-input:focus {
    border-color: rgba(255, 102, 0, 0.55);
    box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.18);
}
.ghp-sticky-search-btn {
    flex-shrink: 0;
    min-width: 0;
    height: 2.85rem;
    padding: 0 0.9rem;
    border: none;
    border-radius: 4px;
    background: var(--primary-color, #ff6600);
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
@media (min-width: 480px) {
    .ghp-sticky-search-btn {
        min-width: 7.5rem;
        padding: 0 1.35rem;
        letter-spacing: 0.16em;
    }
}
.ghp-sticky-search-btn:hover,
.ghp-sticky-search-btn:focus-visible {
    background: #ffffff;
    color: #0a0a0a;
    outline: none;
}
.ghp-sticky-search-dd {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.4rem);
    z-index: 60;
    max-height: min(60vh, 22rem);
    overflow-y: auto;
    background: #1e1e1e;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.ghp-sticky-search-dd[hidden] {
    display: none !important;
}
.ghp-sticky-search-hit {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 0.9rem;
    text-decoration: none;
    color: #e8e8e8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.15s ease;
}
.ghp-sticky-search-hit:last-of-type {
    border-bottom: none;
}
.ghp-sticky-search-hit:hover,
.ghp-sticky-search-hit.is-active {
    background: rgba(255, 102, 0, 0.14);
}
.ghp-sticky-search-hit-img {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    overflow: hidden;
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.ghp-sticky-search-hit-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
.ghp-sticky-search-hit-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.ghp-sticky-search-hit-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #ffffff;
}
.ghp-sticky-search-hit.is-active .ghp-sticky-search-hit-code,
.ghp-sticky-search-hit:hover .ghp-sticky-search-hit-code {
    color: var(--primary-color, #ff6600);
}
.ghp-sticky-search-hit-sub {
    font-size: 12px;
    color: #a3a3a3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ghp-sticky-search-dd-msg,
.ghp-sticky-search-dd-more {
    display: block;
    padding: 0.85rem 1rem;
    font-size: 12px;
    color: #a3a3a3;
}
.ghp-sticky-search-dd-more {
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color, #ff6600);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ghp-sticky-search-dd-more:hover {
    background: rgba(255, 102, 0, 0.1);
    color: #ffffff;
}
@media (max-width: 480px) {
    .ghp-sticky-search-form {
        gap: 0.5rem;
    }
    .ghp-sticky-search-btn {
        min-width: 0;
        padding: 0 1rem;
        letter-spacing: 0.1em;
    }
}

