/*
 * Sybernetic — wspólna warstwa premium.
 * Ładowana po arkuszach podstron, dzięki czemu porządkuje typografię,
 * odstępy i komponenty bez zmiany routingu ani treści CMS.
 * Świadomie bez gradientów, neonów i mocnych poświat.
 */

:root {
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
    --accent: #9fceb0;
    --premium-bg: #0b0d0c;
    --premium-bg-soft: #111411;
    --premium-surface: #171a18;
    --premium-text: #f5f7f5;
    --premium-muted: rgba(245, 247, 245, .68);
    --premium-line: rgba(245, 247, 245, .13);
    --premium-line-strong: rgba(245, 247, 245, .22);
    --radius-sm: 7px;
    --radius-md: 9px;
    --radius-lg: 12px;
}

html {
    background: var(--premium-bg);
    overflow-x: clip;
}

body {
    background: var(--premium-bg);
    color: var(--premium-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

body * {
    box-shadow: none !important;
    text-shadow: none !important;
}

h1, h2, h3, h4, h5, h6,
.btn, button {
    font-family: var(--font-heading);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--premium-text);
    font-weight: 600;
    letter-spacing: -.032em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.75rem, 5.8vw, 5.25rem);
    line-height: 1;
}

h2,
.section-title {
    font-size: clamp(2.15rem, 4vw, 3.5rem);
    line-height: 1.05;
    text-transform: none;
    letter-spacing: -.035em;
}

h3 {
    font-size: clamp(1.5rem, 2.3vw, 1.875rem);
    line-height: 1.18;
}

p, li {
    color: var(--premium-muted);
}

.container {
    width: min(calc(100% - 3rem), 1280px);
    max-width: 1280px;
    margin-inline: auto;
}

.section {
    padding-block: clamp(5rem, 9vw, 9rem);
}

.top-banner {
    background: var(--premium-bg);
    color: var(--premium-muted);
    border-bottom: 1px solid var(--premium-line);
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.address-banner {
    background: var(--premium-bg);
    border-bottom: 1px solid var(--premium-line);
    color: var(--premium-muted);
}

.sticky-header {
    box-shadow: none;
}

.main-nav a {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: -.01em;
}

.btn,
.premium-cta,
.diag-submit,
.kontakt-submit,
.tech-submit-btn {
    border-radius: 7px !important;
    box-shadow: none !important;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: -.01em;
    text-transform: none;
    transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

.btn:hover,
.premium-cta:hover,
.diag-submit:hover,
.kontakt-submit:hover,
.tech-submit-btn:hover {
    box-shadow: none !important;
    transform: none !important;
}

.btn-high-contrast,
.btn-custom,
.global-fab-cta {
    background: var(--accent);
    color: #0a0c0b;
    border-color: var(--accent);
    border-radius: 7px !important;
    box-shadow: none !important;
}

.btn-outline,
.btn-gray-outline,
.btn-contact {
    background: transparent;
    border: 1px solid var(--premium-line-strong);
    color: var(--premium-text);
}

.btn-outline:hover,
.btn-gray-outline:hover,
.btn-contact:hover {
    background: rgba(255, 255, 255, .06);
    color: var(--premium-text);
    border-color: rgba(255, 255, 255, .34);
}

/* ==============================================================
   HOMEPAGE HERO
   ============================================================== */

.premium-hero {
    position: relative;
    min-height: clamp(660px, calc(100svh - 120px), 900px);
    display: flex;
    align-items: stretch;
    isolation: isolate;
    overflow: hidden;
    background: #080a09;
}

.premium-hero-media {
    position: absolute;
    inset: 0;
    z-index: -3;
}

.premium-hero-media img,
.premium-hero-media video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.premium-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background: rgba(4, 6, 5, .28);
    pointer-events: none;
}

.premium-hero-shade {
    position: absolute;
    inset: 0 auto 0 0;
    width: min(58%, 920px);
    z-index: -1;
    background: rgba(6, 8, 7, .88);
    border-right: 1px solid rgba(255, 255, 255, .08);
    pointer-events: none;
}

.premium-hero-inner {
    display: flex;
    align-items: center;
    min-height: inherit;
    padding-block: clamp(5rem, 10vh, 8rem);
}

.premium-hero-copy {
    width: min(730px, 56%);
}

.premium-kicker {
    margin: 0 0 1.6rem;
    color: var(--accent);
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.premium-hero h1 {
    margin: 0;
    max-width: 830px;
    font-size: clamp(4.75rem, 6.1vw, 5.25rem);
    line-height: 1;
    letter-spacing: -.045em;
    text-shadow: none;
}

.premium-hero-lead {
    max-width: 650px;
    margin: 2rem 0 0;
    color: rgba(255, 255, 255, .79);
    font-size: clamp(1.08rem, 1.45vw, 1.25rem);
    line-height: 1.55;
}

.premium-cta {
    width: fit-content;
    min-height: 54px;
    margin-top: 2.25rem;
    padding: .95rem 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.35rem;
    background: var(--accent);
    border: 1px solid var(--accent);
    color: #080a09;
}

.premium-cta:hover {
    background: #afd8bc;
    border-color: #afd8bc;
}

.premium-cta-arrow,
.premium-service-arrow {
    display: inline-block;
    transition: transform 200ms ease;
}

.premium-cta:hover .premium-cta-arrow,
.premium-service-item:hover .premium-service-arrow {
    transform: translateX(4px);
}

.premium-trust {
    max-width: 700px;
    margin: 1.35rem 0 0;
    color: rgba(255, 255, 255, .56);
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .035em;
}

/* ==============================================================
   EDITORIAL GRID USŁUG
   ============================================================== */

.premium-services {
    padding-block: clamp(5rem, 8vw, 8rem);
    background: var(--premium-bg);
    border-bottom: 1px solid var(--premium-line);
}

.premium-services-head {
    display: grid;
    grid-template-columns: minmax(180px, .7fr) minmax(0, 1.8fr);
    gap: 2rem;
    align-items: end;
    padding-bottom: 3rem;
}

.premium-services-head .premium-kicker {
    margin: 0 0 .45rem;
}

.premium-services-head h2 {
    max-width: 760px;
    margin: 0;
}

.premium-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--premium-line);
    border-bottom: 1px solid var(--premium-line);
}

.premium-service-item {
    position: relative;
    min-width: 0;
    min-height: 320px;
    padding: 2rem 1.7rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid var(--premium-line);
    transition: background-color 200ms ease;
}

.premium-service-item:last-child {
    border-right: 0;
}

.premium-service-item:hover,
.premium-service-item:focus-visible {
    background: rgba(255, 255, 255, .035);
}

.premium-service-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--premium-muted);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
}

.premium-service-body h3 {
    margin: 0 0 1rem;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.premium-service-body p {
    margin: 0;
    font-size: .96rem;
    line-height: 1.6;
}

.premium-service-arrow {
    position: absolute;
    right: 1.7rem;
    bottom: 1.55rem;
    color: var(--accent);
    font-size: 1.3rem;
}

/* ==============================================================
   WSPÓLNE KOMPONENTY I PODSTRONY
   ============================================================== */

.mid-dark-section,
.darker-section,
.relative-section,
.blog-section,
.contact-section {
    background: var(--premium-bg) !important;
}

.glass-panel,
.card,
.service-card,
.step-card,
.value-card,
.pricing-card,
.faq-item,
.contact-card,
.tech-form-wrapper {
    background: var(--premium-surface) !important;
    border: 1px solid var(--premium-line) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.glass-panel:hover,
.card:hover,
.service-card:hover,
.step-card:hover,
.value-card:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: var(--premium-line-strong) !important;
}

.dlaczego-section {
    border-bottom: 1px solid var(--premium-line);
}

.dlaczego-grid {
    grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: end;
}

.dlaczego-photo::before {
    display: none;
}

.dlaczego-portrait {
    filter: none;
    mask-image: none;
    -webkit-mask-image: none;
}

.dlaczego-content {
    gap: 0;
    border-top: 1px solid var(--premium-line);
}

.dlaczego-content .glass-panel {
    padding: 2.25rem 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--premium-line) !important;
    border-radius: 0 !important;
}

.section-title::after,
.hero-side h1::after {
    display: none !important;
}

input, textarea, select {
    max-width: 100%;
    border-radius: 7px !important;
    background: #101311 !important;
    border: 1px solid var(--premium-line-strong) !important;
    color: var(--premium-text) !important;
    box-shadow: none !important;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--accent) !important;
    outline: 2px solid rgba(159, 206, 176, .22);
    outline-offset: 1px;
}

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

th, td {
    border-bottom: 1px solid var(--premium-line);
}

.breadcrumb,
.breadcrumbs {
    color: var(--premium-muted);
    font-size: .8rem;
    letter-spacing: .06em;
}

.gallery-caption {
    background: rgba(4, 6, 5, .84) !important;
}

.map-wrapper,
.site-footer {
    border-top: 1px solid var(--premium-line);
}

/* Wygaszenie starych neonowych i świetlnych ozdobników. */
.glow-btn,
.btn-neon,
.neon-text,
.particle-canvas,
.grid-overlay,
.geo-bg,
#special-bg,
#particles-bg,
#zlec-particles {
    box-shadow: none !important;
    text-shadow: none !important;
}

.promo-banner {
    background: transparent !important;
    border-color: var(--premium-line-strong) !important;
    backdrop-filter: none !important;
}

.promo-banner h2,
.price-val,
.price-icon {
    color: var(--accent) !important;
    text-shadow: none !important;
}

@media (max-width: 1024px) {
    .premium-hero-shade {
        width: 66%;
    }

    .premium-hero-copy {
        width: 62%;
    }

    .premium-hero h1 {
        font-size: clamp(3.5rem, 7vw, 4.8rem);
    }

    .premium-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .premium-service-item:nth-child(2) {
        border-right: 0;
    }

    .premium-service-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--premium-line);
    }
}

@media (max-width: 768px) {
    .main-nav {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .container {
        width: min(calc(100% - 2rem), 1280px);
    }

    .two-column-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .value-card {
        min-width: 0;
        padding: 1.5rem !important;
    }

    h1 {
        font-size: clamp(2.5rem, 11vw, 3rem);
    }

    h2,
    .section-title {
        font-size: clamp(2rem, 9vw, 2.4rem);
    }

    .section {
        padding-block: 4.5rem;
    }

    .premium-hero {
        min-height: min(760px, calc(100svh - 40px));
        align-items: flex-start;
    }

    .premium-hero-media img,
    .premium-hero-media video {
        object-position: 60% center;
    }

    .premium-hero::before {
        background: rgba(4, 6, 5, .24);
    }

    .premium-hero-shade {
        width: 100%;
        height: 65%;
        inset: 0 0 auto;
        background: rgba(5, 7, 6, .9);
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .09);
    }

    .premium-hero-inner {
        min-height: inherit;
        align-items: flex-start;
        padding-block: 4.25rem 2rem;
    }

    .premium-hero-copy {
        width: 100%;
    }

    .premium-kicker {
        margin-bottom: 1.1rem;
    }

    .premium-hero h1 {
        max-width: 540px;
        font-size: clamp(2.5rem, 11.5vw, 3rem);
        line-height: 1.02;
    }

    .premium-hero-lead {
        width: min(100%, 550px);
        margin-top: 1.35rem;
        font-size: 1rem;
        line-height: 1.55;
    }

    .premium-cta {
        width: 100%;
        margin-top: 1.6rem;
    }

    .premium-trust {
        max-width: 540px;
        margin-top: 1rem;
        font-size: .72rem;
        line-height: 1.5;
    }

    .premium-services {
        padding-block: 4.5rem;
    }

    .premium-services-head {
        display: block;
        padding-bottom: 2rem;
    }

    .premium-services-head .premium-kicker {
        margin-bottom: 1rem;
    }

    .premium-service-item {
        min-height: 245px;
        padding: 1.35rem 1.2rem;
    }

    .premium-service-arrow {
        right: 1.2rem;
        bottom: 1.15rem;
    }

    .dlaczego-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 430px) {
    .premium-hero {
        min-height: 720px;
    }

    .premium-hero-shade {
        height: 68%;
    }

    .premium-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .premium-service-item {
        min-height: 255px;
    }

    .premium-service-body p {
        font-size: .86rem;
        line-height: 1.5;
    }
}

@media (max-width: 359px) {
    .premium-services-grid {
        grid-template-columns: 1fr;
    }

    .premium-service-item,
    .premium-service-item:nth-child(2) {
        min-height: 220px;
        border-right: 0;
        border-bottom: 1px solid var(--premium-line);
    }
}

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

    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .premium-hero-media video {
        display: none;
    }
}

/* ==============================================================
   WIDOK REFERENCYJNY 2478 — desktop po lewej, mobile po prawej
   ============================================================== */

.top-banner,
.address-banner {
    display: none !important;
}

.sticky-header,
.sticky-header.scrolled {
    position: sticky;
    top: 0;
    min-height: 78px;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    background: #070a09;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.sticky-header > .brand-lockup {
    width: auto;
    margin: 0;
}

.sticky-header .header-logo {
    --mark-h: clamp(17px, 1.55vw, 23px);
    filter: invert(1);
}

.sticky-header .brand-sygnet {
    --mark-h: clamp(27px, 2.5vw, 37px);
    filter: invert(1);
}

.main-nav {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(1.25rem, 2.4vw, 2.8rem);
    background: transparent;
    opacity: 1;
    pointer-events: auto;
    overflow: visible;
    clip-path: none;
}

.main-nav .brand-lockup {
    display: none;
}

.main-nav a {
    padding: .6rem 0;
    color: rgba(255, 255, 255, .78);
    font-size: .76rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.01em;
    text-transform: none;
}

.main-nav a::after {
    bottom: .25rem;
    height: 1px;
    background: var(--accent);
}

.action-buttons {
    display: flex !important;
    align-items: center;
    gap: 1.25rem;
}

.header-cta {
    min-height: 34px;
    padding: .45rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    color: rgba(255, 255, 255, .88);
    border: 1px solid rgba(159, 206, 176, .72);
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 500;
    line-height: 1;
}

.header-cta:hover {
    color: #0a0c0b;
    background: var(--accent);
}

.header-theme-mark {
    color: rgba(255, 255, 255, .58);
    font-size: 1.15rem;
}

.header-contact {
    color: rgba(255, 255, 255, .72);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .08em;
}

.header-contact:hover {
    color: var(--accent);
}

.mobile-toggle {
    display: none;
}

.premium-hero {
    min-height: clamp(560px, 65svh, 650px);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.premium-hero-media img {
    object-position: center 42%;
}

.premium-hero::before {
    background: rgba(2, 4, 3, .23);
}

.premium-hero-shade {
    width: 53%;
    background: rgba(3, 6, 5, .82);
    border-right: 0;
}

.premium-hero-inner {
    position: relative;
    width: 100%;
    max-width: none;
    padding: clamp(3.75rem, 7vh, 5rem) clamp(2.5rem, 4vw, 4rem);
}

.premium-hero-copy {
    width: min(52%, 700px);
}

.premium-hero .premium-kicker {
    margin-bottom: 1.45rem;
    color: rgba(255, 255, 255, .68);
    font-size: .69rem;
    letter-spacing: .28em;
}

.premium-hero h1 {
    max-width: 680px;
    font-size: clamp(4rem, 5.45vw, 5.15rem);
    line-height: 1.02;
    letter-spacing: -.05em;
}

.premium-hero-lead {
    max-width: 630px;
    margin-top: 1.55rem;
    font-size: clamp(1rem, 1.25vw, 1.16rem);
    line-height: 1.55;
}

.premium-cta {
    min-width: 250px;
    min-height: 52px;
    margin-top: 1.75rem;
    padding-inline: 1.6rem;
    justify-content: space-between;
}

.premium-trust {
    margin-top: 1.35rem;
    color: rgba(255, 255, 255, .64);
    font-size: .72rem;
    letter-spacing: 0;
}

.premium-hero-proof {
    position: absolute;
    top: 25%;
    right: 7.5%;
    margin: 0;
    padding-left: 1rem;
    color: rgba(255, 255, 255, .7);
    border-left: 1px solid rgba(255, 255, 255, .34);
    font-size: .952rem;
    font-weight: 600;
    line-height: 1.7;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.premium-services {
    padding: 0;
    background: #080b0a;
}

.premium-services-inner {
    width: 100%;
}

.premium-services-grid {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 0;
    border-bottom: 1px solid var(--premium-line);
}

.premium-service-item {
    min-height: 272px;
    padding: 2rem clamp(1.5rem, 3.2vw, 3.25rem) 2.1rem;
    justify-content: flex-start;
    border-right: 1px solid var(--premium-line);
}

.premium-service-meta {
    justify-content: flex-start;
    gap: .55rem;
    color: rgba(255, 255, 255, .7);
    font-size: .69rem;
}

.premium-service-meta span + span {
    color: var(--accent);
}

.premium-service-meta span + span::before {
    content: '/';
    margin-right: .55rem;
    color: rgba(255, 255, 255, .38);
}

.premium-service-body {
    margin-top: 1rem;
}

.premium-service-body h3 {
    max-width: 240px;
    margin-bottom: 1rem;
    font-size: clamp(1.35rem, 1.8vw, 1.72rem);
    line-height: 1.14;
}

.premium-service-body p {
    max-width: 250px;
    color: rgba(255, 255, 255, .63);
    font-size: .84rem;
    line-height: 1.48;
}

.premium-service-arrow {
    left: clamp(1.5rem, 3.2vw, 3.25rem);
    right: auto;
    bottom: 1.65rem;
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 50%;
    font-size: 1rem;
}

.reference-why {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    background: #080b0a;
    border-bottom: 1px solid var(--premium-line);
}

.reference-why-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.reference-why-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% 52%;
    opacity: .78;
}

.reference-why::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    z-index: -1;
    width: 58%;
    background: rgba(3, 6, 5, .91);
}

.reference-why-inner {
    width: 100%;
    max-width: none;
    padding: 4.5rem clamp(2.5rem, 4vw, 4rem);
}

.reference-why .premium-kicker {
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, .58);
    letter-spacing: .24em;
}

.reference-why h2 {
    max-width: 590px;
    margin: 0 0 1.25rem;
    font-size: clamp(2.3rem, 3.5vw, 3.4rem);
}

.reference-why p:last-child {
    max-width: 610px;
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-size: .98rem;
}

.detailed-why {
    border-top: 1px solid var(--premium-line);
}

.home-reference .floating-contact-wrapper {
    display: block !important;
}

/* FAQ leży na jasnym tle akcentowym — bez ciemnych kart za tekstem. */
.accent-section .faq-item {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(30, 35, 33, .28) !important;
    border-radius: 0 !important;
}

.accent-section .faq-question,
.accent-section .faq-answer,
.accent-section .faq-answer p {
    color: #1e2321 !important;
}

/* Dedykowana podstrona FAQ korzysta z tego samego jasnego tła co moduł home. */
.faq-page-body .faq-item {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(30, 35, 33, .28) !important;
    border-radius: 0 !important;
}

.faq-page-body .faq-question,
.faq-page-body .faq-answer,
.faq-page-body .faq-answer p {
    color: #1e2321 !important;
}

@media (max-width: 1320px) and (min-width: 1181px) {
    .main-nav {
        gap: 1.15rem;
    }

    .main-nav a {
        font-size: .7rem;
    }

    .sticky-header .header-logo {
        --mark-h: 16px;
    }

    .sticky-header .brand-sygnet {
        --mark-h: 27px;
    }

    .header-theme-mark {
        display: none;
    }

    .premium-hero h1 {
        font-size: 3.7rem;
    }
}

@media (max-width: 1180px) {
    .sticky-header,
    .sticky-header.scrolled {
        min-height: 70px;
        padding: 0 1rem;
        background: #070a09;
    }

    .sticky-header > .brand-lockup {
        width: auto;
        gap: .45rem;
    }

    .sticky-header .header-logo,
    .sticky-header.scrolled .header-logo {
        --mark-h: clamp(17px, 5vw, 22px);
    }

    .sticky-header .brand-sygnet,
    .sticky-header.scrolled .brand-sygnet {
        --mark-h: clamp(27px, 8vw, 36px);
    }

    .action-buttons {
        display: none !important;
    }

    .mobile-toggle {
        display: flex;
        gap: 5px;
        padding: .5rem;
        position: fixed;
        top: max(.85rem, env(safe-area-inset-top));
        right: .75rem;
        z-index: 2002;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }

    .mobile-toggle span {
        width: 25px;
        height: 2px;
        background: rgba(255, 255, 255, .9);
    }

    .mobile-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-nav {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100dvh;
        padding: 5rem 1.5rem 2rem;
        flex-direction: column;
        justify-content: flex-start;
        gap: 0;
        background: #070a09;
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
        clip-path: circle(0 at calc(100% - 30px) 35px);
    }

    .main-nav.mobile-active {
        opacity: 1;
        pointer-events: auto;
        clip-path: circle(150% at calc(100% - 30px) 35px);
    }

    .main-nav .brand-lockup {
        width: auto;
        margin: 0 0 2rem;
        display: inline-flex;
        flex-direction: row;
        gap: .55rem;
    }

    .main-nav .mobile-nav-logo {
        --mark-h: 21px;
        display: block;
        margin: 0;
        filter: invert(1);
    }

    .main-nav .brand-sygnet {
        --mark-h: 34px;
        filter: invert(1);
    }

    .main-nav a,
    .main-nav.mobile-active a:not(:first-child) {
        width: 100%;
        max-width: 320px;
        padding: 1rem 0;
        color: rgba(255, 255, 255, .86);
        border-bottom: 1px solid var(--premium-line);
        font-family: var(--font-heading);
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: 0;
        text-transform: none;
    }

    .floating-contact-wrapper {
        right: 1rem;
        bottom: 1rem;
    }

    .floating-contact-btn {
        width: 56px;
        height: 56px;
    }

    .scroll-to-top-wrapper {
        right: 1rem !important;
        bottom: 84px !important;
    }

    footer {
        padding-bottom: 88px;
    }

    .premium-hero {
        min-height: 630px;
    }

    .premium-hero-media img {
        object-position: 58% center;
    }

    .premium-hero::before {
        background: rgba(2, 4, 3, .36);
    }

    .premium-hero-shade {
        inset: 0;
        width: 100%;
        height: 100%;
        background: rgba(3, 6, 5, .48);
        border: 0;
    }

    .premium-hero-inner {
        align-items: flex-start;
        padding: clamp(8.5rem, 22vh, 11rem) 1rem 2.3rem;
    }

    .premium-hero-copy {
        width: 100%;
    }

    .premium-hero .premium-kicker {
        margin-bottom: 1rem;
        font-size: .62rem;
        letter-spacing: .2em;
    }

    .premium-hero h1 {
        max-width: 520px;
        font-size: clamp(2.55rem, 11.5vw, 3.65rem);
        line-height: 1.01;
    }

    .premium-hero-lead {
        margin-top: 1rem;
        font-size: .93rem;
        line-height: 1.45;
    }

    .premium-cta {
        width: 100%;
        margin-top: 1.35rem;
    }

    .premium-trust {
        margin-top: .9rem;
        text-align: center;
        font-size: .67rem;
        line-height: 1.45;
    }

    .premium-hero-proof {
        display: none;
    }

    .premium-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .premium-service-item {
        min-height: 222px;
        padding: 1rem .95rem 1.15rem;
    }

    .premium-service-item:nth-child(2) {
        border-right: 0;
    }

    .premium-service-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--premium-line);
    }

    .premium-service-body {
        margin-top: .8rem;
    }

    .premium-service-body h3 {
        margin-bottom: .65rem;
        font-size: clamp(1rem, 4.8vw, 1.35rem);
    }

    .premium-service-body p {
        font-size: clamp(.7rem, 3vw, .82rem);
        line-height: 1.4;
    }

    .premium-service-arrow {
        left: .95rem;
        bottom: .8rem;
        width: 36px;
        height: 36px;
    }

    .reference-why {
        min-height: 390px;
        align-items: flex-end;
    }

    .reference-why::before {
        inset: 0;
        width: 100%;
        background: rgba(3, 6, 5, .64);
    }

    .reference-why-media img {
        object-position: 68% center;
    }

    .reference-why-inner {
        padding: 4rem 1rem 2.5rem;
    }

    .reference-why h2 {
        font-size: clamp(2rem, 9vw, 2.65rem);
    }
}

@media (max-width: 390px) {
    .premium-hero {
        min-height: 610px;
    }

    .premium-hero-inner {
        padding-top: 8rem;
    }

    .premium-hero h1 {
        font-size: 2.48rem;
    }

    .premium-service-item {
        min-height: 230px;
        padding-inline: .8rem;
    }

    .premium-service-meta {
        gap: .35rem;
        font-size: .6rem;
    }

    .premium-service-meta span + span::before {
        margin-right: .35rem;
    }

    .premium-service-arrow {
        left: .8rem;
    }
}

/* Pierwszy ekran desktopowy: nagłówek + hero + pełny pas usług.
   min-height pozwala dłuższym treściom CMS i powiększeniu przeglądarki
   wydłużyć stronę bez przycinania tekstu. */
.home-reference .premium-service-meta {
    font-size: .82rem;
    flex-wrap: wrap;
}

@media (min-width: 1181px) {
    .home-reference { --home-header-height: 70.4px; }
    .sticky-header,
    .sticky-header.scrolled { min-height: 70.4px; }
    .home-reference .sticky-header {
        height: var(--home-header-height);
        min-height: var(--home-header-height);
        box-sizing: border-box;
    }
    .home-first-screen {
        min-height: calc(100svh - var(--home-header-height));
        display: flex;
        flex-direction: column;
    }
    .home-first-screen .premium-hero { flex: 1 0 auto; min-height: 0; }
    /* Rozmywamy wyłącznie warstwę przyciemnienia, zdjęcie pozostaje ostre.
       Wysunięcie poza hero chroni lewą, górną i dolną krawędź przed
       rozjaśnieniem; miękkie przejście zostaje tylko po prawej stronie. */
    .home-first-screen .premium-hero-shade {
        --shade-blur: clamp(40px, 4vw, 150px);
        inset: calc(-3 * var(--shade-blur)) auto calc(-3 * var(--shade-blur)) calc(-3 * var(--shade-blur));
        width: calc(53% + 3 * var(--shade-blur));
        height: auto;
        filter: blur(var(--shade-blur));
        pointer-events: none;
    }
    .home-first-screen .premium-hero-inner {
        min-height: 0;
        padding: clamp(20px, 2.5svh, 54px) 3.2vw;
    }
    .home-first-screen .premium-hero-copy { width: min(52%, 700px); }
    .home-first-screen .premium-hero h1 {
        max-width: 680px;
        font-size: clamp(4rem, 5.45vw, 5.15rem);
    }
    .home-first-screen .premium-hero-lead {
        max-width: 630px;
        font-size: clamp(1rem, 1.25vw, 1.16rem);
        margin-top: 1.55rem;
    }
    .home-first-screen .premium-kicker { font-size: .69rem; margin-bottom: 1.45rem; }
    .home-first-screen .premium-trust { font-size: .936rem; margin-top: 1.35rem; }
    .home-first-screen .premium-cta {
        font-size: 15px;
        min-width: 250px;
        min-height: 52px;
        padding-inline: 1.6rem;
        margin-top: 1.75rem;
    }
    .home-first-screen .premium-services { flex: 0 0 auto; }
    .home-first-screen .premium-services-grid {
        grid-template-columns: repeat(var(--service-columns, 4), minmax(0, 1fr));
    }
    .home-first-screen .premium-service-item {
        min-height: 272px;
        padding: 2rem clamp(1.5rem, 3.2vw, 3.25rem) 2.1rem;
        border-bottom: 1px solid var(--premium-line);
    }
    .home-first-screen .premium-service-meta { font-size: .82rem; }
    .home-first-screen .premium-service-body h3 {
        font-size: clamp(1.35rem, 1.8vw, 1.72rem);
        max-width: 240px;
        margin-bottom: 1rem;
    }
    .home-first-screen .premium-service-body p {
        font-size: 1.092rem;
        max-width: 250px;
    }
    .home-first-screen .premium-service-arrow {
        position: static;
        flex-shrink: 0;
        margin-top: auto;
        width: 39px;
        height: 39px;
    }
    .home-first-screen .premium-service-body { margin-bottom: 1rem; }
}

@media (max-width: 1180px) {
    .home-reference .premium-service-item { border-bottom: 1px solid var(--premium-line); }
    .home-reference .premium-service-item:nth-child(2n) { border-right: 0; }
    .home-reference .premium-service-arrow { position: static; margin-top: auto; flex-shrink: 0; }
    .home-reference .premium-service-body { margin-bottom: 1rem; }
}
@media (max-width: 390px) {
    .home-reference .premium-service-meta { font-size: .75rem; }
}

/* Czytelna nawigacja i dwie spójne akcje w nagłówku. */
.sticky-header .header-cta,
.sticky-header .header-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: .45rem 1rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .962rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    white-space: nowrap;
    text-transform: none;
    color: #101612;
    transition: background-color 200ms ease, color 200ms ease;
}
.sticky-header .header-cta { background: #f5f6f5; }
.sticky-header .header-contact { background: #a3cbb1; }
.sticky-header .header-cta:hover { background: #dce5df; color: #101612; }
.sticky-header .header-contact:hover { background: #b8dac3; color: #101612; }
.sticky-header a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 5px;
}
@media (min-width: 1181px) {
    .sticky-header .main-nav { gap: clamp(16px, 2vw, 36px); }
    .sticky-header .main-nav a {
        font-size: .988rem;
        font-weight: 500;
        color: #e8eeea;
        padding-block: 10px;
        white-space: nowrap;
    }
    .sticky-header .main-nav a:hover,
    .sticky-header .main-nav a.active { color: var(--accent); }
    .sticky-header .action-buttons { gap: clamp(10px, .8vw, 24px); }
}
@media (min-width: 1181px) and (max-width: 1400px) {
    .sticky-header { padding-inline: 24px; gap: 16px; }
    .sticky-header .main-nav { gap: 16px; }
    .sticky-header .header-cta,
    .sticky-header .header-contact { padding-inline: 16px; }
}

@media (max-width: 1180px) {
    .sticky-header,
    .sticky-header.scrolled { min-height: 77px; }
    .main-nav a,
    .main-nav.mobile-active a:not(:first-child) { font-size: 1.3rem; }
    .home-reference .premium-trust { font-size: .871rem; }
    .home-reference .premium-service-body p {
        font-size: clamp(.91rem, 3.9vw, 1.066rem);
    }
}
