/*
 * v3.1.6 - 2026-03-28
 * - diagram: usunięte zielone myślniki / łączniki przy boxach
 * - bez zmian w centrowaniu, tytule, boldach i linkach

 * v3.1.5 - 2026-03-28
 * - diagram: dodany nagłówek "Jak możemy Ci pomóc?"
 * - diagram: tytuł i zawartość boxu wyśrodkowane
 * - bez zmian w logice anchorów i hierarchii

 * v3.1.0 - 2026-03-28
 * - dodany prosty techniczny diagram nawigacyjny w hero
 * - krótsze etykiety i rozbicie gałęzi procesu / oferty
 * - dodane anchor targety i scroll-margin dla sekcji
 *
 * v2.9.2 - 2026-03-27
 * - mobile: usunięty custom section reveal powodujący opór scrolla w różnych miejscach
 * - mobile: pełny tryb scroll-first dla Offer Page (bez transform/transition/animation na wrapperach sekcji)
 * - desktop: bez zmian
 */

/*
 * v2.4.1 - 2026-03-26
 * - cienie pod zdjęciami mocniejsze i bliżej frame
 * - bez zmian układu, tylko bardziej naturalne osadzenie obrazów
 *
 * v2.4.0 - 2026-03-26
 * - zmniejszony hero title (bliżej skali final CTA)
 * - mocniejsze i bardziej osadzone ramki zdjęć z offsetowym cieniem
 * - sekcja 3: niższe zdjęcia w feature cards
 * - sekcja 3: mniejsze nachodzenie kart, większy dolny oddech treści
 * - przygotowanie pod dodatkowe tytuły sekcji typu 'Proces zakupowy' i 'Oferta'
 *
 * v2.0.0 - 2026-03-25
 * - pełne stylowanie nowego Offer Page v2 pod nową strukturę ACF
 * - sekcja 1: hero + 3 kafelki nawigacyjne
 * - sekcja 2: claim box
 * - sekcja 3: feature cards
 * - sekcje 4-6: rozwinięcia z naprzemiennym układem tekst/obraz
 * - sekcja 7: benefit boxes
 * - sekcja 8: final CTA
 * - zachowane style placeholderów i zgodność z page-offer.twig
 */

/* =========================
   BASE
========================= */

.offer-page {
  position: relative;
  color: #1d1d1f;
}

.offer-page .section-full {
  padding: 104px 0;
}

.offer-page .section-alt {
  background:
    linear-gradient(180deg, rgba(232, 238, 232, 0.96) 0%, rgba(244, 247, 244, 1) 100%);
}

.offer-page .offer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}

.offer-page .offer-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(17, 17, 17, 0.12);
}

.offer-page .offer-section__header {
  max-width: 860px;
  margin: 0 auto 48px;
  text-align: center;
}

.offer-page .offer-section__header--compact {
  margin-bottom: 32px;
}

.offer-page .section-title {
  margin-bottom: 16px;
}

.offer-page .section-description {
  color: #6e6e73;
  font-size: 1.05rem;
  line-height: 1.8;
}

.offer-page .section-description:last-child {
  margin-bottom: 0;
}

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

.offer-page .offer-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(52, 199, 89, 0.12), transparent 24%),
    radial-gradient(circle at 92% 72%, rgba(52, 199, 89, 0.08), transparent 22%),
    linear-gradient(180deg, #f7f7f8 0%, #f5f5f7 100%);
}

.offer-page .offer-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 56px;
  align-items: center;
}

.offer-page .offer-hero__content {
  max-width: 720px;
}

.offer-page .offer-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 8px 14px;
  border: 1px solid rgba(0, 204, 0, 0.24);
  border-radius: 999px;
  background: rgba(0, 204, 0, 0.08);
  color: #0a8a0a;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.offer-page .offer-hero__title {
  margin: 0 0 22px;
  color: #1d1d1f;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  font-weight: 200;
  letter-spacing: -0.025em;
}

.offer-page .offer-hero__lead {
  max-width: 700px;
}

.offer-page .offer-hero__lead,
.offer-page .offer-hero__lead p,
.offer-page .offer-hero__lead li {
  color: #6e6e73;
  font-size: 1.08rem;
  line-height: 1.82;
}

.offer-page .offer-hero__lead p:last-child {
  margin-bottom: 0;
}

.offer-page .offer-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.offer-page .offer-hero__media {
  position: relative;
}

/* =========================
   MEDIA / PLACEHOLDERS
========================= */

.offer-page .offer-media-frame {
  position: relative;
  overflow: visible;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(12, 204, 0, 0.14);
  box-shadow:
    0 12px 26px rgba(17, 17, 17, 0.08),
    0 22px 48px rgba(17, 17, 17, 0.12);
}

.offer-page .offer-media-frame::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: -10px;
  height: 26px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.16);
  filter: blur(12px);
  opacity: 0.72;
  z-index: -1;
  pointer-events: none;
}

.offer-page .offer-media-frame--hero,
.offer-page .offer-media-frame--section {
  aspect-ratio: 4 / 3;
}

.offer-page .offer-media-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.offer-page .offer-media-frame--placeholder {
  background:
    linear-gradient(135deg, rgba(0, 204, 0, 0.06), rgba(242, 242, 247, 0.95));
}

.offer-page .offer-media-placeholder {
  display: grid;
  place-items: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 30px;
  text-align: center;
}

.offer-page .offer-media-placeholder strong {
  color: #1d1d1f;
  font-size: 1.1rem;
  font-weight: 600;
}

.offer-page .offer-media-placeholder span {
  max-width: 300px;
  color: #86868b;
  font-size: 0.95rem;
  line-height: 1.6;
}

.offer-page .offer-media-placeholder__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #0a8a0a !important;
  border: 1px solid rgba(12, 204, 0, 0.18);
  font-size: 0.8rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =========================
   TOP LINKS / TILES
========================= */

.offer-page .offer-quick-links {
  background: #ffffff;
}

.offer-page .offer-tiles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.offer-page .offer-tile,
.offer-page .feature-tile.offer-tile {
  position: relative;
  display: block;
  height: 100%;
  padding: 30px 30px 34px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(209, 209, 214, 0.75);
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.05);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.offer-page .offer-tile:hover,
.offer-page .feature-tile.offer-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(17, 17, 17, 0.08);
  border-color: rgba(12, 204, 0, 0.24);
}

.offer-page .offer-tile h3,
.offer-page .feature-tile.offer-tile h3 {
  margin: 0 0 14px;
  color: #1d1d1f;
  font-size: 1.32rem;
  line-height: 1.25;
}

.offer-page .offer-tile p,
.offer-page .offer-tile .offer-tile__text,
.offer-page .offer-tile .offer-tile__text p {
  color: #6e6e73;
  line-height: 1.75;
}

.offer-page .offer-tile--link {
  padding-right: 54px;
}

.offer-page .offer-tile__arrow {
  position: absolute;
  right: 24px;
  bottom: 24px;
  color: #0c0;
  font-size: 1.45rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.offer-page .offer-tile--link:hover .offer-tile__arrow {
  transform: translateX(6px);
}

/* =========================
   CLAIM BOX
========================= */

.offer-page .offer-intro__box {
  max-width: 980px;
  margin: 0 auto;
  padding: 46px 48px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.06);
  border: 1px solid rgba(209, 209, 214, 0.65);
}

.offer-page .offer-intro__box p,
.offer-page .offer-intro__box li {
  color: #6e6e73;
  font-size: 1.05rem;
  line-height: 1.88;
}

.offer-page .offer-intro__box p:last-child {
  margin-bottom: 0;
}

/* =========================
   FEATURE CARDS / BENEFITS
========================= */

.offer-page .offer-advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.offer-page .offer-info-card {
  height: 100%;
  padding: 30px 28px;
  background: #fff;
  border: 1px solid rgba(209, 209, 214, 0.7);
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.06);
}

.offer-page .offer-info-card h3 {
  margin: 0 0 12px;
  color: #1d1d1f;
  font-size: 1.25rem;
  line-height: 1.3;
}

.offer-page .offer-info-card__text,
.offer-page .offer-info-card__text p {
  color: #6e6e73;
  line-height: 1.75;
}

.offer-page .offer-info-card__text p:last-child {
  margin-bottom: 0;
}

/* =========================
   ANCHOR SECTIONS 4-6
========================= */

.offer-page .offer-anchor-section {
  scroll-margin-top: 120px;
}

.offer-page .offer-anchor-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 56px;
  align-items: center;
}

.offer-page .offer-anchor-section__grid--left .offer-anchor-section__media {
  order: 1;
}

.offer-page .offer-anchor-section__grid--left .offer-anchor-section__content {
  order: 2;
}

.offer-page .offer-anchor-section__grid--right .offer-anchor-section__content {
  order: 1;
}

.offer-page .offer-anchor-section__grid--right .offer-anchor-section__media {
  order: 2;
}

.offer-page .offer-anchor-section__title {
  margin: 0 0 18px;
  color: #1d1d1f;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 200;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.offer-page .offer-anchor-section__intro,
.offer-page .offer-anchor-section__intro p {
  color: #1d1d1f;
  font-size: 1.1rem;
  line-height: 1.8;
}

.offer-page .offer-anchor-section__intro {
  margin-bottom: 18px;
}

.offer-page .offer-anchor-section__intro p:last-child {
  margin-bottom: 0;
}

.offer-page .offer-anchor-section__body p,
.offer-page .offer-anchor-section__body li,
.offer-page .offer-anchor-section__body ol,
.offer-page .offer-anchor-section__body ul {
  color: #6e6e73;
  line-height: 1.82;
}

.offer-page .offer-anchor-section__body p:last-child {
  margin-bottom: 0;
}

.offer-page .offer-anchor-section__body ul,
.offer-page .offer-anchor-section__body ol {
  padding-left: 1.2rem;
  margin: 1rem 0;
}

.offer-page .offer-anchor-section__body li + li {
  margin-top: 0.5rem;
}

/* =========================
   OPTIONAL SECTION LABELS
========================= */

.offer-page .offer-subsection-title {
  margin: 0 0 28px;
  text-align: center;
  color: #1d1d1f;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 300;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.offer-page .offer-subsection-title--left {
  text-align: left;
}

/* =========================
   CTA
========================= */

.offer-page .offer-cta__box {
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 58px;
  text-align: center;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(0, 204, 0, 0.14), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f6fbf6 100%);
  border: 1px solid rgba(12, 204, 0, 0.16);
  box-shadow: 0 18px 46px rgba(17, 17, 17, 0.08);
}

.offer-page .offer-cta__title {
  margin: 0 0 16px;
  color: #1d1d1f;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 200;
  line-height: 1.15;
}

.offer-page .offer-cta__text,
.offer-page .offer-cta__text p {
  color: #6e6e73;
  font-size: 1.05rem;
  line-height: 1.8;
}

.offer-page .offer-cta__text p:last-child {
  margin-bottom: 0;
}

.offer-page .offer-cta__actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
  .offer-page .section-full {
    padding: 88px 0;
  }

  .offer-page .offer-hero__grid,
  .offer-page .offer-anchor-section__grid {
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .offer-page .offer-tiles-grid,
  .offer-page .offer-advantages__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-page .offer-hero__grid,
  .offer-page .offer-anchor-section__grid {
    grid-template-columns: 1fr;
  }

  .offer-page .offer-anchor-section__grid--left .offer-anchor-section__media,
  .offer-page .offer-anchor-section__grid--left .offer-anchor-section__content,
  .offer-page .offer-anchor-section__grid--right .offer-anchor-section__content,
  .offer-page .offer-anchor-section__grid--right .offer-anchor-section__media {
    order: initial;
  }

  .offer-page .offer-hero__content,
  .offer-page .offer-anchor-section__content {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .offer-page .section-full {
    padding: 72px 0;
  }

  .offer-page .offer-tiles-grid,
  .offer-page .offer-advantages__grid {
    grid-template-columns: 1fr;
  }

  .offer-page .offer-intro__box,
  .offer-page .offer-cta__box,
  .offer-page .offer-info-card,
  .offer-page .offer-tile,
  .offer-page .feature-tile.offer-tile {
    padding-left: 22px;
    padding-right: 22px;
  }

  .offer-page .offer-intro__box,
  .offer-page .offer-cta__box {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .offer-page .offer-tile--link {
    padding-right: 50px;
  }

  .offer-page .offer-tile__arrow {
    right: 20px;
    bottom: 20px;
  }

  .offer-page .offer-hero__title {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .offer-page .offer-anchor-section__title,
  .offer-page .offer-cta__title {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .offer-page .offer-hero__lead,
  .offer-page .offer-hero__lead p,
  .offer-page .offer-anchor-section__intro,
  .offer-page .offer-anchor-section__intro p,
  .offer-page .offer-anchor-section__body p,
  .offer-page .offer-anchor-section__body li,
  .offer-page .offer-intro__box p,
  .offer-page .offer-intro__box li,
  .offer-page .offer-info-card__text,
  .offer-page .offer-info-card__text p,
  .offer-page .offer-cta__text,
  .offer-page .offer-cta__text p {
    font-size: 1rem;
    line-height: 1.75;
  }
}

@media (max-width: 479px) {
  .offer-page .offer-hero__eyebrow,
  .offer-page .offer-media-placeholder__badge {
    font-size: 0.74rem !important;
    letter-spacing: 0.04em;
  }

  .offer-page .offer-media-frame {
    border-radius: 22px;
  }

  .offer-page .offer-media-frame::after {
    left: 12px;
    right: 12px;
    bottom: -12px;
    height: 26px;
    filter: blur(14px);
  }

  .offer-page .offer-intro__box,
  .offer-page .offer-cta__box {
    border-radius: 22px;
  }

  .offer-page .offer-info-card,
  .offer-page .offer-tile,
  .offer-page .feature-tile.offer-tile {
    border-radius: 20px;
  }
}


/* =========================
   FEATURE STACK / SECTION 3
   v2.1.0 - bigger cascading cards
========================= */

.offer-page .offer-features__stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding-top: 8px;
}

.offer-page .offer-info-card--feature {
  position: relative;
  width: min(100%, 980px);
  min-height: 420px;
  padding: 38px 36px 64px;
  border-radius: 30px;
  border: 1px solid rgba(209, 209, 214, 0.82);
  box-shadow: 0 22px 56px rgba(17, 17, 17, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 248, 1) 100%);
  overflow: hidden;
}

.offer-page .offer-info-card--feature:nth-child(odd) {
  margin-right: auto;
}

.offer-page .offer-info-card--feature:nth-child(even) {
  margin-left: auto;
}

.offer-page .offer-info-card--feature + .offer-info-card--feature {
  margin-top: -22px;
}

.offer-page .offer-info-card--feature .offer-media-frame--section {
  margin-bottom: 24px !important;
  aspect-ratio: 16 / 4.9;
  border-radius: 24px;
}

.offer-page .offer-info-card--feature h3 {
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

.offer-page .offer-info-card--feature .offer-info-card__text,
.offer-page .offer-info-card--feature .offer-info-card__text p {
  font-size: 1.05rem;
  line-height: 1.82;
}

.offer-page .offer-info-card--feature .offer-info-card__text p:last-child {
  margin-bottom: 0;
}

/* =========================
   INTERMEDIATE LINKS REMOVED
========================= */

.offer-page .offer-anchor-section__content .offer-hero__actions,
.offer-page .offer-info-card--feature .offer-hero__actions {
  display: none !important;
}

@media (max-width: 1024px) {
  .offer-page .offer-info-card--feature {
    width: min(100%, 100%);
  }

  .offer-page .offer-info-card--feature:nth-child(odd),
  .offer-page .offer-info-card--feature:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
  }

  .offer-page .offer-info-card--feature + .offer-info-card--feature {
    margin-top: -28px;
  }
}

@media (max-width: 767px) {
  .offer-page .offer-info-card--feature {
    min-height: unset;
    padding: 26px 22px 40px;
    border-radius: 24px;
  }

  .offer-page .offer-info-card--feature .offer-media-frame--section {
    aspect-ratio: 4 / 3;
    margin-bottom: 20px !important;
  }

  .offer-page .offer-info-card--feature + .offer-info-card--feature {
    margin-top: -8px;
  }
}


/* =========================
   FEATURE PLACEHOLDERS / SECTION 3
   v2.3.0 - premium visual placeholders, reduced height
========================= */

.offer-page .offer-info-card--feature .offer-media-frame--feature-placeholder {
  position: relative;
  aspect-ratio: 16 / 4.9;
  border-radius: 26px;
  border: 1px solid rgba(12, 204, 0, 0.12);
  background:
    radial-gradient(circle at 18% 22%, rgba(52, 199, 89, 0.16), transparent 30%),
    radial-gradient(circle at 84% 78%, rgba(52, 199, 89, 0.10), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 249, 245, 1) 52%, rgba(238, 244, 238, 1) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 16px 34px rgba(17, 17, 17, 0.06);
}

.offer-page .offer-info-card--feature .offer-media-frame--feature-placeholder::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  pointer-events: none;
}

.offer-page .offer-media-placeholder--feature {
  gap: 12px;
  padding: 20px 24px;
}

.offer-page .offer-media-placeholder--feature strong {
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.offer-page .offer-media-placeholder--feature span:not(.offer-media-placeholder__badge) {
  max-width: 460px;
  font-size: 0.98rem;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .offer-page .offer-info-card--feature .offer-media-frame--feature-placeholder {
    aspect-ratio: 16 / 5.4;
    border-radius: 22px;
  }

  .offer-page .offer-info-card--feature .offer-media-frame--feature-placeholder::before {
    inset: 10px;
    border-radius: 16px;
  }

  .offer-page .offer-media-placeholder--feature {
    padding: 14px 16px;
  }
}




/* =========================
   HERO DIAGRAM / NAV MAP
   v3.1.0 - 2026-03-28
========================= */

.offer-page .offer-hero__diagram-wrap {
  margin-top: 48px;
}

.offer-page .offer-diagram {
  max-width: 980px;
  padding: 24px 28px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.40);
  box-shadow: 0 10px 26px rgba(17, 17, 17, 0.04);
  backdrop-filter: blur(5px);
}

.offer-page .offer-diagram {
  margin: 0 auto;
  text-align: center;
}

.offer-page .offer-diagram__title {
  margin: 0 0 22px;
  color: #1d1d1f;
  font-size: clamp(1.28rem, 2vw, 1.55rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

.offer-page .offer-diagram__grid {
  display: grid;
  gap: 22px;
  justify-items: center;
}

.offer-page .offer-diagram__branch,
.offer-page .offer-diagram__single,
.offer-page .offer-diagram__footer {
  position: relative;
}

.offer-page .offer-diagram__parent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: #1d1d1f;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
}

.offer-page .offer-diagram__children--stacked {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding-left: 26px;
}

.offer-page .offer-diagram__footer--stacked {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-left: 26px;
}

.offer-page .offer-diagram__children--apple {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 10px 16px;
  justify-content: center;
  padding-left: 26px;
}

.offer-page .offer-diagram__single--level-one,
.offer-page .offer-diagram__footer--level-one {
  padding-left: 0;
}

.offer-page .offer-diagram__node--level-one {
  min-width: 220px;
  justify-content: center;
}

.offer-page .offer-diagram__node--parentlink {
  margin: 0 0 10px;
}

.offer-page .offer-diagram__footer--level-one .offer-diagram__node {
  width: fit-content;
}

.offer-page .offer-diagram__branch,
.offer-page .offer-diagram__single,
.offer-page .offer-diagram__footer {
  display: grid;
  justify-items: center;
}

.offer-page .offer-diagram__node {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(12, 204, 0, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: #1d1d1f;
  text-decoration: none;
  font-size: 0.94rem;
  line-height: 1.35;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease;
}

.offer-page .offer-diagram__node::before {
  content: none;
}

.offer-page .offer-diagram__node--single::before,
.offer-page .offer-diagram__node--footer::before {
  left: -18px;
}

.offer-page a.offer-diagram__node:hover {
  transform: translateY(-2px);
  border-color: rgba(12, 204, 0, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 10px 18px rgba(17, 17, 17, 0.05);
  background: rgba(255, 255, 255, 0.98);
}

.offer-page .offer-diagram__node--single,
.offer-page .offer-diagram__node--footer {
  min-width: 220px;
}

.offer-page .offer-diagram__node--strong,
.offer-page .offer-diagram__parent {
  font-weight: 700;
}

.offer-page .offer-diagram__node--mini {
  width: 100%;
}

.offer-page .offer-diagram__arrow {
  color: #0a8a0a;
  font-weight: 700;
  flex: 0 0 auto;
}

.offer-page #offer-claim,
.offer-page #offer-apple,
.offer-page #why-techmac,
.offer-page #ask-techmac,
.offer-page #offer-faq,
.offer-page .offer-anchor-section,
.offer-page [id^="offer-feature-"] {
  scroll-margin-top: 110px;
}

.offer-page .offer-anchor-target {
  width: 0;
  height: 0;
}

@media (max-width: 1023px) {
  .offer-page .offer-diagram {
    padding: 20px 18px;
  }

  .offer-page .offer-diagram__children--apple {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .offer-page .offer-hero__diagram-wrap {
    margin-top: 34px;
  }

  .offer-page .offer-diagram {
    padding: 16px 14px;
    border-radius: 18px;
  }

  .offer-page .offer-diagram__title {
    margin-bottom: 18px;
    font-size: 1.18rem;
  }

  .offer-page .offer-diagram__grid {
    gap: 16px;
  }

  .offer-page .offer-diagram__parent {
    font-size: 0.92rem;
  }

  .offer-page .offer-diagram__children--stacked,
  .offer-page .offer-diagram__children--apple,
  .offer-page .offer-diagram__footer--stacked {
    padding-left: 18px;
  }

  .offer-page .offer-diagram__node,
  .offer-page .offer-diagram__node--single,
  .offer-page .offer-diagram__node--footer,
  .offer-page .offer-diagram__node--mini {
    width: 100%;
    min-width: 0;
    font-size: 0.9rem;
  }

  .offer-page .offer-diagram__node::before {
    content: none;
  }
}

/*
 * v2.9.2 - 2026-03-27
 * Desktop: pełny AOS bez zmian.
 * Mobile: AOS i custom reveal wyłączone tylko dla Offer Page.
 * Mobile: tryb scroll-first — bez transform/transition/animation na dużych wrapperach sekcji.
 */

@media (max-width: 1023px) {
  .offer-page [data-aos],
  .offer-page .aos-init,
  .offer-page .aos-animate,
  .offer-page .mobile-section-reveal,
  .offer-page .mobile-section-reveal.is-visible {
    transform: none !important;
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    will-change: auto !important;
  }

  .offer-page .offer-hero,
  .offer-page .offer-quick-links,
  .offer-page .offer-intro,
  .offer-page .offer-features,
  .offer-page .offer-anchor-section,
  .offer-page .offer-advantages,
  .offer-page .offer-cta,
  .offer-page .offer-hero__content,
  .offer-page .offer-hero__media,
  .offer-page .offer-anchor-section__content,
  .offer-page .offer-anchor-section__media,
  .offer-page .offer-info-card,
  .offer-page .offer-cta__box {
    transform: none !important;
    transition: none !important;
    animation: none !important;
    will-change: auto !important;
    backface-visibility: visible !important;
  }

  .offer-page *::before,
  .offer-page *::after {
    pointer-events: none;
  }
}
