.offer-body {
    background: var(--color-bg-dark);
}

.offer-page {
    overflow: hidden;
}

.offer-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    padding: clamp(8rem, 12vh, 10rem) 0 clamp(3.75rem, 7vh, 6rem);
    display: grid;
    align-items: center;
    color: var(--color-text-on-dark);
    isolation: isolate;
}

.offer-hero > .container {
    width: 100%;
    max-width: none;
    padding-inline: clamp(1.5rem, 5vw, 6rem);
}

.offer-hero::before,
.offer-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
}

.offer-hero::before {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.54) 54%, rgba(0, 0, 0, 0.82) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.12) 58%, rgba(0, 0, 0, 0.24) 100%),
        var(--offer-hero-image) center / cover no-repeat;
}

.offer-hero::after {
    z-index: -1;
    background:
        radial-gradient(circle at 78% 28%, rgba(188, 242, 65, 0.08), transparent 30%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.12), transparent 42%, rgba(0, 0, 0, 0.08));
}

.offer-hero--systems {
    --offer-hero-image: url('../images/oferta/systemy-hero-v3.webp');
}

.offer-hero--commerce {
    --offer-hero-image: url('../images/oferta/ecommerce-hero-v3.webp');
}

.offer-hero__content {
    width: 100%;
    max-width: 1180px;
}

.offer-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.4rem;
    color: var(--color-accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.offer-eyebrow::before {
    content: '';
    width: 2rem;
    height: 1px;
    background: currentColor;
}

.offer-hero h1 {
    max-width: 1180px;
    margin: 0;
    color: var(--color-text-on-dark);
    font-size: clamp(2.9rem, 5.6vw, 5.3rem);
    line-height: 0.98;
    letter-spacing: -0.048em;
    text-wrap: balance;
    text-shadow: 0 3px 24px rgba(0, 0, 0, 0.48);
}

.offer-hero h1 em {
    display: block;
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-weight: 400;
}

.offer-hero__lead {
    max-width: 850px;
    margin: 1.5rem 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1rem, 1.2vw, 1.17rem);
    line-height: 1.62;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.offer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.offer-button--secondary {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(0, 0, 0, 0.34);
    color: var(--color-text-on-dark);
}

.offer-button--secondary:hover,
.offer-button--secondary:focus-visible {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.offer-proof-strip {
    border-block: 1px solid var(--color-border-dark);
    background: #101010;
}

.offer-proof-strip__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offer-proof-item {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 160px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border-right: 1px solid var(--color-border-dark);
}

.offer-proof-item:last-child {
    border-right: 0;
}

.offer-proof-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
}

.offer-proof-item > * {
    position: relative;
    z-index: 1;
}

.offer-proof-item:hover::before,
.offer-proof-item:focus-within::before {
    transform: scaleX(1);
}

.offer-proof-item i {
    margin-top: 0.2rem;
    color: var(--color-accent);
    font-size: 1.2rem;
    transition: color 0.35s ease;
}

.offer-proof-item strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--color-text-on-dark);
    font-size: 1.08rem;
    transition: color 0.35s ease;
}

.offer-proof-item p {
    margin: 0;
    color: var(--color-muted-on-dark);
    line-height: 1.55;
    transition: color 0.35s ease;
}

.offer-proof-item:hover i,
.offer-proof-item:focus-within i,
.offer-proof-item:hover strong,
.offer-proof-item:focus-within strong {
    color: #000000;
}

.offer-proof-item:hover p,
.offer-proof-item:focus-within p {
    color: rgba(0, 0, 0, 0.82);
}

.offer-section {
    padding: clamp(5rem, 8vw, 8rem) 0;
}

.offer-section--light {
    background: var(--color-bg-light);
    color: var(--color-text-on-light);
}

.offer-section--beige {
    background: #E8E4D5;
    color: var(--color-text-on-light);
}

.offer-section--dark {
    background: var(--color-bg-dark);
    color: var(--color-text-on-dark);
}

.offer-section__header {
    max-width: 820px;
    margin-bottom: 3rem;
}

.offer-section__header--center {
    margin-inline: auto;
    text-align: center;
}

.offer-section__header h2 {
    margin: 0;
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.offer-section--dark .offer-section__header h2 {
    color: var(--color-text-on-dark);
}

.offer-section__header p {
    margin: 1.1rem 0 0;
    color: inherit;
    font-size: 1.08rem;
    line-height: 1.7;
    opacity: 0.72;
}

.offer-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #1A1A1A;
    border-left: 1px solid #1A1A1A;
}

.offer-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 300px;
    padding: clamp(1.2rem, 2.2vw, 2rem);
    border: 0;
    border-right: 1px solid #1A1A1A;
    border-bottom: 1px solid #1A1A1A;
    border-radius: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
}

.offer-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
}

.offer-card > * {
    position: relative;
    z-index: 1;
}

.offer-card:hover::before,
.offer-card:focus-within::before {
    transform: scaleX(1);
}

/* Numery jak w procesie na stronie głównej (.process-step__num): duże cyfry Playfair, limonka z obrysem */
.offer-card__number {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    color: var(--color-accent);
    -webkit-text-stroke: 1px #1A1A1A;
    transition: color 0.35s ease;
}

@media (max-width: 767px) {
    .offer-card__number {
        font-size: 2rem;
    }
}

.offer-card__icon {
    width: 64px;
    height: 64px;
    margin-bottom: 2rem;
    transition: filter 0.2s ease;
}

.offer-card__fa {
    color: var(--color-accent);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    transition: color 0.35s ease;
}

.offer-card h3 {
    margin: auto 0 0.8rem;
    color: var(--color-text-on-light);
    font-size: 1.5rem;
    transition: color 0.35s ease;
}

.offer-card p {
    margin: 0;
    color: var(--color-muted-on-light);
    line-height: 1.65;
    transition: color 0.35s ease;
}

.offer-card:hover .offer-card__icon,
.offer-card:focus-within .offer-card__icon {
    filter: grayscale(1) brightness(0);
}

.offer-card:hover .offer-card__fa,
.offer-card:focus-within .offer-card__fa,
.offer-card:hover .offer-card__number,
.offer-card:focus-within .offer-card__number,
.offer-card:hover h3,
.offer-card:focus-within h3 {
    color: #000000;
}

.offer-card:hover p,
.offer-card:focus-within p {
    color: rgba(0, 0, 0, 0.82);
}

.offer-case {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
}

.offer-case__media {
    position: relative;
}

.offer-case__media::after {
    content: '';
    position: absolute;
    inset: 1.25rem -1.25rem -1.25rem 1.25rem;
    z-index: 0;
    border: 1px solid rgba(188, 242, 65, 0.42);
}

.offer-case__media img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.offer-case__content h2 {
    color: var(--color-text-on-dark);
    font-size: clamp(2.3rem, 4.2vw, 4rem);
    line-height: 1.05;
}

.offer-case__content > p {
    margin: 1.2rem 0 1.6rem;
    color: var(--color-muted-on-dark);
    line-height: 1.7;
}

.offer-list {
    display: grid;
    gap: 0.75rem;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

.offer-list li {
    display: flex;
    gap: 0.75rem;
    color: inherit;
    line-height: 1.5;
}

.offer-list li::before {
    content: '\2192';
    flex: 0 0 auto;
    color: var(--color-accent);
    font-weight: 700;
}

.offer-path-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.offer-path-card {
    position: relative;
    min-height: 520px;
    padding: clamp(2rem, 4vw, 3.5rem);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    isolation: isolate;
}

.offer-path-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--path-image) center / cover no-repeat;
    transition: transform 0.6s ease;
}

.offer-path-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.98) 0%,
        rgba(0, 0, 0, 0.9) 48%,
        rgba(0, 0, 0, 0.82) 67%,
        rgba(0, 0, 0, 0.18) 100%
    );
}

.offer-path-card:hover::before {
    transform: scale(1.04);
}

.offer-path-card--web {
    --path-image: url('../images/oferta/strona-www.webp');
}

.offer-path-card--shop {
    --path-image: url('../images/oferta/ecommerce-sklep.webp');
}

.offer-path-card--catalog {
    --path-image: url('../images/oferta/ecommerce-katalog.webp');
}

.offer-path-card--operations {
    --path-image: url('../images/oferta/ecommerce-obsluga.webp');
}

.offer-path-card h2 {
    margin: 0;
    color: white;
    font-size: clamp(2.1rem, 4vw, 3.7rem);
}

.offer-path-card p {
    max-width: 570px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.65;
}

.offer-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.offer-project {
    min-height: 0;
    aspect-ratio: 14 / 9;
    position: relative;
    overflow: hidden;
    color: white;
    isolation: isolate;
}

.offer-project img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    object-fit: cover;
    object-position: top;
    transition: transform 0.6s ease;
}

.offer-project::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.02) 70%);
}

.offer-project:hover img {
    transform: scale(1.045);
}

.offer-project__content {
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.offer-project__content h3 {
    margin: 0.65rem 0;
    color: white;
    font-size: 1.65rem;
}

.offer-project__content p {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.74);
}

.offer-project__content a {
    color: var(--color-accent);
    font-weight: 700;
}

.offer-process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--color-border-dark);
}

.offer-process__step {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 280px;
    padding: 2rem;
    border-right: 1px solid var(--color-border-dark);
}

.offer-process__step:last-child {
    border-right: 0;
}

.offer-process:not(.offer-process--contrast) .offer-process__step::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
}

.offer-process__step > * {
    position: relative;
    z-index: 1;
}

.offer-process:not(.offer-process--contrast) .offer-process__step:hover::before,
.offer-process:not(.offer-process--contrast) .offer-process__step:focus-within::before {
    transform: scaleX(1);
}

.offer-process__number {
    display: block;
    margin-bottom: 4rem;
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-size: 2rem;
    transition: color 0.35s ease;
}

.offer-process__step h3 {
    color: var(--color-text-on-dark);
    font-size: 1.35rem;
    transition: color 0.35s ease;
}

.offer-process__step p {
    color: var(--color-muted-on-dark);
    line-height: 1.6;
    transition: color 0.35s ease;
}

.offer-process:not(.offer-process--contrast) .offer-process__step:hover .offer-process__number,
.offer-process:not(.offer-process--contrast) .offer-process__step:focus-within .offer-process__number,
.offer-process:not(.offer-process--contrast) .offer-process__step:hover h3,
.offer-process:not(.offer-process--contrast) .offer-process__step:focus-within h3 {
    color: #000000;
}

.offer-process:not(.offer-process--contrast) .offer-process__step:hover p,
.offer-process:not(.offer-process--contrast) .offer-process__step:focus-within p {
    color: rgba(0, 0, 0, 0.82);
}

.offer-process--contrast {
    border: 0;
}

.offer-process--contrast .offer-process__step {
    border: 0;
}

.offer-process--contrast .offer-process__step:nth-child(1) {
    background: #E8E4D5;
}

.offer-process--contrast .offer-process__step:nth-child(1) h3 {
    color: var(--color-text-on-light);
}

.offer-process--contrast .offer-process__step:nth-child(1) p {
    color: var(--color-muted-on-light);
}

.offer-process--contrast .offer-process__step:nth-child(2) {
    background: var(--color-accent);
}

.offer-process--contrast .offer-process__step:nth-child(3) {
    background: #0B0B0B;
}

.offer-process--contrast .offer-process__step:nth-child(4) {
    background: #E8E4D5;
}

.offer-process--contrast .offer-process__step:nth-child(4) h3 {
    color: var(--color-text-on-light);
}

.offer-process--contrast .offer-process__step:nth-child(4) p {
    color: var(--color-muted-on-light);
}

.offer-process--contrast .offer-process__step:nth-child(1) .offer-process__number,
.offer-process--contrast .offer-process__step:nth-child(4) .offer-process__number {
    color: var(--color-accent);
}

.offer-process--contrast .offer-process__step:nth-child(2) .offer-process__number,
.offer-process--contrast .offer-process__step:nth-child(2) h3,
.offer-process--contrast .offer-process__step:nth-child(2) p {
    color: #090909;
}

.offer-faq {
    max-width: 960px;
    margin-inline: auto;
}

.offer-contact-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: start;
}

.offer-contact-copy {
    position: sticky;
    top: 7rem;
}

.offer-contact-copy h2 {
    color: var(--color-text-on-light);
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 1.05;
}

.offer-contact-copy p {
    color: var(--color-muted-on-light);
    line-height: 1.65;
}

.offer-contact-copy a {
    color: var(--color-text-on-light);
    font-weight: 700;
}

.offer-contact-layout .contact-form {
    margin: 0;
}

.offer-form-intro {
    margin: 0 0 1.25rem;
    color: var(--color-muted-on-light);
    line-height: 1.6;
}

.offer-note {
    margin-top: 1rem;
    padding: 1rem 1.2rem;
    border-left: 3px solid var(--color-accent);
    background: rgba(188, 242, 65, 0.1);
    color: var(--color-text-on-light);
    line-height: 1.6;
}

.offer-footer .footer-section a {
    text-decoration: none;
}

@media (max-width: 991px) {
    .offer-hero {
        min-height: 100vh;
        min-height: 100svh;
    }

    .offer-card-grid,
    .offer-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .offer-case,
    .offer-contact-layout {
        grid-template-columns: 1fr;
    }

    .offer-contact-copy {
        position: static;
    }

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

    .offer-process__step:nth-child(2) {
        border-right: 0;
    }

    .offer-process__step:nth-child(-n + 2) {
        border-bottom: 1px solid var(--color-border-dark);
    }

    .offer-process--contrast .offer-process__step {
        border: 0;
    }
}

@media (max-width: 767px) {
    .offer-hero {
        min-height: 100vh;
        min-height: 100svh;
        padding: 7.5rem 0 3.5rem;
    }

    .offer-hero > .container {
        padding-inline: 1rem;
    }

    .offer-hero::before {
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.78) 58%, rgba(0, 0, 0, 0.92) 100%),
            var(--offer-hero-image) center / cover no-repeat;
    }

    .offer-hero h1 {
        font-size: clamp(2.35rem, 10.8vw, 3.15rem);
        line-height: 0.98;
        letter-spacing: -0.045em;
    }

    .offer-hero--commerce::before {
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.78) 58%, rgba(0, 0, 0, 0.92) 100%),
            var(--offer-hero-image) 54% center / cover no-repeat;
    }

    .offer-hero--systems::before {
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.78) 58%, rgba(0, 0, 0, 0.92) 100%),
            var(--offer-hero-image) 57% center / cover no-repeat;
    }

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

    .offer-actions .btn-phone {
        justify-content: center;
    }

    .offer-proof-strip__grid,
    .offer-card-grid,
    .offer-path-grid,
    .offer-project-grid,
    .offer-process {
        grid-template-columns: 1fr;
    }

    .offer-proof-item {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid var(--color-border-dark);
    }

    .offer-proof-item:last-child {
        border-bottom: 0;
    }

    .offer-card {
        min-height: 260px;
    }

    .offer-path-card {
        min-height: 420px;
    }

    .offer-project {
        min-height: 0;
        aspect-ratio: 14 / 9;
    }

    .offer-project__content {
        padding: 1.25rem;
    }

    .offer-project__content p {
        display: none;
    }

    .offer-process__step,
    .offer-process__step:nth-child(2) {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid var(--color-border-dark);
    }

    .offer-process__step:last-child {
        border-bottom: 0;
    }

    .offer-process--contrast .offer-process__step,
    .offer-process--contrast .offer-process__step:nth-child(2) {
        border: 0;
    }

    .offer-process__number {
        margin-bottom: 2rem;
    }

    .offer-contact-layout .contact-form {
        padding: 1rem;
    }
}

/* Offer tile grids span the full viewport width, like the homepage services/pricing grids.
   The grid breaks out of .container; overflow-x: clip hides the scrollbar-width overhang of 100vw. */
.offer-page {
    overflow-x: clip;
}

.offer-page .container > .offer-card-grid {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: 0;
}

/* ============================================
   MONEY PAGES: /strony-internetowe/ i /sklepy-internetowe/
   Klasy .mp-* + modyfikatory sekcji. Siatki kafelków: pełna szerokość,
   proste linie 1px, bez zaokrągleń i cieni, limonkowy sweep na hover.
   ============================================ */

.offer-hero--web {
    --offer-hero-image: url('../images/oferta/strona-www.webp');
}

.offer-hero--web::before,
.offer-hero--marketing::before {
    background:
        linear-gradient(90deg, #000000 0%, #000000 36%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0.12) 100%),
        var(--offer-hero-image) right center / auto 100% no-repeat,
        #000000;
}

.offer-hero--marketing {
    --offer-hero-image: url('../images/oferta/marketing-hero-v1.webp');
}

.mp-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.85rem;
}

.mp-breadcrumb li + li::before {
    content: '/';
    margin-right: 0.5rem;
    opacity: 0.6;
}

.mp-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.mp-breadcrumb a:hover,
.mp-breadcrumb a:focus-visible {
    color: var(--color-accent);
}

.mp-breadcrumb [aria-current="page"] {
    color: #ffffff;
}

.mp-hero-note {
    max-width: 760px;
    margin: 1.1rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    line-height: 1.55;
}

/* Kafelki z problemami: numer u góry, tytuł i opis przy dole, bez ikon */
.offer-card-grid--compact .offer-card {
    min-height: 240px;
}

/* Wiersze (rozwiązanie / zakres sklepu) na ciemnym tle */
.mp-rows {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--color-border-dark);
    border-left: 1px solid var(--color-border-dark);
}

.mp-row {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 1.5rem;
    align-items: start;
    padding: clamp(1.5rem, 2.6vw, 2.4rem);
    border-right: 1px solid var(--color-border-dark);
    border-bottom: 1px solid var(--color-border-dark);
}

.mp-row:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.mp-row::before,
.mp-package::before,
.mp-link::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
}

.mp-row > *,
.mp-package > *,
.mp-link > * {
    position: relative;
    z-index: 1;
}

.mp-row:hover::before,
.mp-row:focus-within::before,
.mp-package:hover::before,
.mp-package:focus-within::before,
.mp-link:hover::before,
.mp-link:focus-visible::before {
    transform: scaleX(1);
}

.mp-row__number {
    grid-row: 1 / span 2;
    min-width: 2.2rem;
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    line-height: 1.2;
    transition: color 0.35s ease;
}

.mp-row h3 {
    margin: 0 0 0.6rem;
    color: var(--color-text-on-dark);
    font-size: 1.3rem;
    transition: color 0.35s ease;
}

.mp-row p {
    margin: 0;
    color: var(--color-muted-on-dark);
    line-height: 1.6;
    transition: color 0.35s ease;
}

.mp-row:hover .mp-row__number,
.mp-row:focus-within .mp-row__number,
.mp-row:hover h3,
.mp-row:focus-within h3 {
    color: #000000;
}

.mp-row:hover p,
.mp-row:focus-within p {
    color: rgba(0, 0, 0, 0.82);
}

/* Pakiety / zakres: dwa kafelki z ceną, terminem i granicami zakresu */
.mp-package-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #1A1A1A;
    border-left: 1px solid #1A1A1A;
}

.mp-package {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    padding: clamp(1.5rem, 3vw, 3rem);
    border-right: 1px solid #1A1A1A;
    border-bottom: 1px solid #1A1A1A;
}

.mp-package__label {
    margin: 0;
    color: var(--color-muted-on-light);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.35s ease;
}

.mp-package h3 {
    margin: 0.4rem 0 0;
    color: var(--color-text-on-light);
    font-size: clamp(1.7rem, 2.4vw, 2.2rem);
}

.mp-package__price {
    margin: 0.7rem 0 0;
    color: var(--color-text-on-light);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    line-height: 1.05;
}

.mp-package__time {
    margin: 0.35rem 0 0;
    color: var(--color-muted-on-light);
    font-size: 0.95rem;
    transition: color 0.35s ease;
}

.mp-package__desc {
    margin: 0.9rem 0 0;
    color: var(--color-muted-on-light);
    line-height: 1.65;
    transition: color 0.35s ease;
}

.mp-package__cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(26, 26, 26, 0.22);
}

/* Oba kafelki dzielą te same wiersze, więc „W zakresie / Poza zakresem” zaczynają się na jednej wysokości */
@supports (grid-template-rows: subgrid) {
    .mp-package {
        display: grid;
        grid-row: span 6;
        grid-template-rows: subgrid;
    }
}

.mp-package__cols h4 {
    margin: 0 0 0.75rem;
    color: var(--color-text-on-light);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mp-package__cols ul {
    display: grid;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mp-package__cols li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--color-muted-on-light);
    font-size: 0.95rem;
    line-height: 1.5;
    transition: color 0.35s ease;
}

.mp-package__cols li::before {
    position: absolute;
    left: 0;
    color: var(--color-text-on-light);
    font-weight: 700;
}

.mp-package__in li::before {
    content: '\2713';
}

.mp-package__out li::before {
    content: '\2013';
}

.mp-package:hover .mp-package__label,
.mp-package:focus-within .mp-package__label,
.mp-package:hover .mp-package__time,
.mp-package:focus-within .mp-package__time,
.mp-package:hover .mp-package__desc,
.mp-package:focus-within .mp-package__desc,
.mp-package:hover li,
.mp-package:focus-within li {
    color: rgba(0, 0, 0, 0.82);
}

.mp-price-note {
    max-width: 960px;
    margin-top: 2.5rem;
}

.mp-price-note .offer-note {
    margin: 0;
}

.mp-section-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.75rem;
}

/* Realizacje (proof): kafelki obraz + tekst, pełna szerokość, linie 1px, limonkowy sweep.
   Siatka 5 kafelków (3 + 2) albo 2 kafelki. */
.offer-project-grid--five,
.offer-project-grid--two {
    gap: 0;
    border-top: 1px solid #1A1A1A;
    border-left: 1px solid #1A1A1A;
}

.offer-project-grid--five {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.offer-project-grid--five .offer-project {
    grid-column: span 2;
}

.offer-project-grid--five .offer-project:nth-child(n + 4) {
    grid-column: span 3;
}

.offer-project-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.offer-project-grid--five .offer-project,
.offer-project-grid--two .offer-project {
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
    border-right: 1px solid #1A1A1A;
    border-bottom: 1px solid #1A1A1A;
    background: transparent;
    color: var(--color-text-on-light);
}

.offer-project-grid--five .offer-project::before,
.offer-project-grid--two .offer-project::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.offer-project-grid--five .offer-project::after,
.offer-project-grid--two .offer-project::after {
    display: none;
}

.offer-project-grid--five .offer-project:hover::before,
.offer-project-grid--five .offer-project:focus-within::before,
.offer-project-grid--two .offer-project:hover::before,
.offer-project-grid--two .offer-project:focus-within::before {
    transform: scaleX(1);
}

.offer-project-grid--five .offer-project img,
.offer-project-grid--two .offer-project img {
    position: relative;
    inset: auto;
    z-index: 1;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 14 / 9;
    object-fit: cover;
    object-position: top;
}

.offer-project-grid--five .offer-project:hover img,
.offer-project-grid--two .offer-project:hover img {
    transform: none;
}

.offer-project-grid--five .offer-project__content,
.offer-project-grid--two .offer-project__content {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    height: auto;
    justify-content: flex-start;
    padding: clamp(1.25rem, 2vw, 1.75rem);
}

.offer-project-grid--five .project-category,
.offer-project-grid--two .project-category {
    padding: 0;
    border: 0;
    border-radius: 0;
    color: var(--color-muted-on-light);
    transition: color 0.35s ease;
}

.offer-project-grid--five .offer-project__content h3,
.offer-project-grid--two .offer-project__content h3 {
    margin: 0.5rem 0 0.6rem;
    color: var(--color-text-on-light);
}

.offer-project-grid--five .offer-project__content p,
.offer-project-grid--two .offer-project__content p {
    margin: 0 0 1.1rem;
    color: var(--color-muted-on-light);
    line-height: 1.6;
    transition: color 0.35s ease;
}

.offer-project-grid--five .offer-project__content a,
.offer-project-grid--two .offer-project__content a {
    margin-top: auto;
    color: var(--color-text-on-light);
    text-decoration: none;
}

.offer-project-grid--five .offer-project__content a:hover,
.offer-project-grid--five .offer-project__content a:focus-visible,
.offer-project-grid--two .offer-project__content a:hover,
.offer-project-grid--two .offer-project__content a:focus-visible {
    text-decoration: underline;
}

.offer-project-grid--five .offer-project:hover .project-category,
.offer-project-grid--five .offer-project:focus-within .project-category,
.offer-project-grid--five .offer-project:hover .offer-project__content p,
.offer-project-grid--five .offer-project:focus-within .offer-project__content p,
.offer-project-grid--two .offer-project:hover .project-category,
.offer-project-grid--two .offer-project:focus-within .project-category,
.offer-project-grid--two .offer-project:hover .offer-project__content p,
.offer-project-grid--two .offer-project:focus-within .offer-project__content p {
    color: rgba(0, 0, 0, 0.82);
}

.mp-more {
    margin: 2rem 0 0;
    font-weight: 700;
}

.mp-more a {
    color: var(--color-text-on-light);
    text-decoration: none;
    border-bottom: 2px solid var(--color-accent);
}

.mp-more a:hover,
.mp-more a:focus-visible {
    background: var(--color-accent);
}

/* Cross-sell: kafelki-linki na ciemnym tle */
.mp-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--color-border-dark);
    border-left: 1px solid var(--color-border-dark);
}

.mp-links--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mp-link {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-height: 200px;
    padding: clamp(1.5rem, 2.6vw, 2.2rem);
    border-right: 1px solid var(--color-border-dark);
    border-bottom: 1px solid var(--color-border-dark);
    color: var(--color-text-on-dark);
    text-decoration: none;
}

.mp-link h3 {
    margin: 0;
    color: inherit;
    font-size: 1.35rem;
    transition: color 0.35s ease;
}

.mp-link p {
    margin: 0;
    color: var(--color-muted-on-dark);
    line-height: 1.55;
    transition: color 0.35s ease;
}

.mp-link__arrow {
    margin-top: auto;
    color: var(--color-accent);
    font-weight: 700;
    transition: color 0.35s ease;
}

.mp-link:hover h3,
.mp-link:focus-visible h3,
.mp-link:hover .mp-link__arrow,
.mp-link:focus-visible .mp-link__arrow {
    color: #000000;
}

.mp-link:hover p,
.mp-link:focus-visible p {
    color: rgba(0, 0, 0, 0.82);
}

.mp-link:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: -2px;
}

.mp-extra-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 2rem;
    margin: 1.75rem 0 0;
    padding: 0;
    list-style: none;
}

.mp-extra-links a {
    color: var(--color-accent);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.mp-extra-links a:hover,
.mp-extra-links a:focus-visible {
    color: #ffffff;
}

/* Siatki kafelków na pełną szerokość ekranu (jak .offer-card-grid) */
.offer-page .container > .mp-rows,
.offer-page .container > .mp-package-grid,
.offer-page .container > .mp-links,
.offer-page .container > .offer-project-grid--five,
.offer-page .container > .offer-project-grid--two {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: 0;
}

/* Czytelność: eyebrow na jasnych tłach (limonka ma tam za niski kontrast) */
.mp-page .offer-section--light .offer-eyebrow,
.mp-page .offer-section--beige .offer-eyebrow {
    color: var(--color-text-on-light);
}

.mp-package__cols li {
    font-family: var(--font-paragraph);
}

/* Formularze money pages */
.contact-field > span {
    font-family: var(--font-paragraph);
}

.contact-field > .mp-field-error {
    color: #8A1C1C;
    font-size: 0.86rem;
    font-weight: 600;
}

.contact-field > .mp-field-error[hidden] {
    display: none;
}

.contact-field [aria-invalid="true"] {
    border-color: #8A1C1C;
}

.contact-field .mp-opt {
    color: var(--color-muted-on-light);
    font-size: 0.85rem;
    font-weight: 400;
}

.mp-consent__label {
    font-family: var(--font-paragraph);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--color-muted-on-light);
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.5;
    cursor: pointer;
}

.contact-field.mp-consent input[type="checkbox"] {
    flex: 0 0 auto;
    width: 1.2rem;
    height: 1.2rem;
    margin: 0.15rem 0 0;
    padding: 0;
    accent-color: #1A1A1A;
}

.mp-consent__label a {
    color: var(--color-text-on-light);
    font-weight: 700;
}

@media (max-width: 991px) {
    .mp-package-grid,
    .mp-links,
    .mp-links--two {
        grid-template-columns: 1fr;
    }

    .mp-links .mp-link {
        min-height: 0;
    }

    .offer-project-grid--five {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .offer-project-grid--five .offer-project,
    .offer-project-grid--five .offer-project:nth-child(n + 4) {
        grid-column: span 1;
    }

    .offer-project-grid--five .offer-project:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .offer-hero--web::before,
    .offer-hero--marketing::before {
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.8) 58%, rgba(0, 0, 0, 0.92) 100%),
            var(--offer-hero-image) 62% center / cover no-repeat;
    }

    .mp-rows,
    .mp-package__cols,
    .offer-project-grid--five,
    .offer-project-grid--two {
        grid-template-columns: 1fr;
    }

    .offer-project-grid--five .offer-project:last-child {
        grid-column: auto;
    }

    .offer-project-grid--five .offer-project__content p,
    .offer-project-grid--two .offer-project__content p {
        display: block;
    }

    .offer-card-grid--compact .offer-card {
        min-height: 0;
    }

    .mp-row {
        column-gap: 1rem;
    }

    .mp-package__cols {
        gap: 1.25rem;
    }
}

/* Pierwszy ekran: telefon, cena i link tekstowy (widoczne bez przewijania także na telefonie) */
.offer-actions__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 0.4rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(188, 242, 65, 0.65);
    text-underline-offset: 0.3em;
}

.offer-actions__link:hover,
.offer-actions__link:focus-visible {
    color: var(--color-accent);
}

.mp-hero-price {
    max-width: 850px;
    margin: 1.2rem 0 0;
    padding-left: 0.9rem;
    border-left: 3px solid var(--color-accent);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.02rem;
    line-height: 1.5;
}

.mp-hero-price strong {
    color: #ffffff;
    font-weight: 700;
}

/* Eyebrow na jasnym tle: ciemny tekst, limonkowa kreska (limonka na beżu jest nieczytelna) */
.offer-section--light .offer-eyebrow,
.offer-section--beige .offer-eyebrow {
    color: #1A1A1A;
}

.offer-section--light .offer-eyebrow::before,
.offer-section--beige .offer-eyebrow::before {
    height: 3px;
    background: #BCF241;
}

@media (max-width: 767px) {
    .offer-actions {
        gap: 0.5rem;
        margin-top: 1.4rem;
    }

    .offer-actions__link {
        justify-content: center;
        padding: 0.6rem 0.4rem;
    }

    .mp-hero-price {
        margin-top: 1rem;
        font-size: 0.95rem;
    }
}

/* Realizacje na stronach ofert: osobne kafelki z odstępem (jak portfolio i „Inne realizacje”), ramka 1px każdego kafelka */
.offer-project-grid--five,
.offer-project-grid--two {
    gap: 1.5rem;
    border: 0;
    padding-inline: clamp(1rem, 3vw, 2rem);
    box-sizing: border-box;
}

.offer-project-grid--five .offer-project,
.offer-project-grid--two .offer-project {
    border: 1px solid #1A1A1A;
}

@media (max-width: 767px) {
    .offer-project-grid--five,
    .offer-project-grid--two {
        gap: 1.25rem;
    }
}

/* ===== Numeracja jak na stronie głównej (.process-step__num): duże cyfry Playfair z obrysem ===== */
.offer-process__number,
.mp-row__number {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1;
    -webkit-text-stroke: 1px #1A1A1A;
}

@media (max-width: 767px) {
    .offer-process__number,
    .mp-row__number {
        font-size: 2rem;
    }
}

/* ===== Kolorowy akcent w grupach kafelków: jeden kafelek na stałe limonkowy (pasek „proof” - pierwszy, reszta grup - drugi).
   Pozostałe kafelki zachowują limonkowy hover (sweep). Na akcentowym kafelku hover nic nie zmienia. ===== */

/* Tło: pełna limonka bez animacji */
.offer-proof-item:first-child::before,
.offer-proof-item:first-child:hover::before,
.offer-proof-item:first-child:focus-within::before,
.offer-card-grid > .offer-card:nth-child(2)::before,
.offer-card-grid > .offer-card:nth-child(2):hover::before,
.offer-card-grid > .offer-card:nth-child(2):focus-within::before,
.mp-rows > .mp-row:nth-child(2)::before,
.mp-package-grid > .mp-package:nth-child(2)::before,
.mp-links > .mp-link:nth-child(2)::before,
.offer-process:not(.offer-process--contrast) > .offer-process__step:nth-child(2)::before {
    transform: scaleX(1);
    transition: none;
}

/* Pasek „proof” */
.offer-proof-item:first-child i,
.offer-proof-item:first-child strong {
    color: #000000;
}

.offer-proof-item:first-child p {
    color: rgba(0, 0, 0, 0.82);
}

/* Kafelki .offer-card (problemy, porównanie, kanały, rozwiązania, kafelki systemów) */
.offer-card-grid > .offer-card:nth-child(2) .offer-card__icon {
    filter: grayscale(1) brightness(0);
}

.offer-card-grid > .offer-card:nth-child(2) .offer-card__fa,
.offer-card-grid > .offer-card:nth-child(2) .offer-card__number,
.offer-card-grid > .offer-card:nth-child(2) h3,
.offer-card-grid > a.suc-tile:nth-child(2) .suc-tile__arrow {
    color: #000000;
}

.offer-card-grid > .offer-card:nth-child(2) p {
    color: rgba(0, 0, 0, 0.82);
}

/* Wiersze (rozwiązanie / zakres) */
.mp-rows > .mp-row:nth-child(2) .mp-row__number,
.mp-rows > .mp-row:nth-child(2) h3 {
    color: #000000;
}

.mp-rows > .mp-row:nth-child(2) p {
    color: rgba(0, 0, 0, 0.82);
}

/* Pakiety */
.mp-package-grid > .mp-package:nth-child(2) h3,
.mp-package-grid > .mp-package:nth-child(2) .mp-package__price {
    color: #000000;
}

.mp-package-grid > .mp-package:nth-child(2) .mp-package__label,
.mp-package-grid > .mp-package:nth-child(2) .mp-package__time,
.mp-package-grid > .mp-package:nth-child(2) .mp-package__desc,
.mp-package-grid > .mp-package:nth-child(2) li {
    color: rgba(0, 0, 0, 0.82);
}

/* Zobacz także (kafelki-linki) */
.mp-links > .mp-link:nth-child(2) h3,
.mp-links > .mp-link:nth-child(2) .mp-link__arrow {
    color: #000000;
}

.mp-links > .mp-link:nth-child(2) p {
    color: rgba(0, 0, 0, 0.82);
}

/* Proces (bez wariantu --contrast, który ma własne kolory) */
.offer-process:not(.offer-process--contrast) > .offer-process__step:nth-child(2) .offer-process__number,
.offer-process:not(.offer-process--contrast) > .offer-process__step:nth-child(2) h3 {
    color: #000000;
}

.offer-process:not(.offer-process--contrast) > .offer-process__step:nth-child(2) p {
    color: rgba(0, 0, 0, 0.82);
}
