/* ═══════════════════════════════════════════════
   shared.css — AL-KO Landing Pages (common styles)
   ═══════════════════════════════════════════════ */

/* ── CSS Custom Properties ── */
:root {
  --red: #e30613;
  --white: #ffffff;
  --dark-overlay: rgba(0, 0, 0, 0.28);
  --bg-dark: #1a1a1a;
  --bg-light: #f5f5f5;
  --sidebar-w: 54px;
  --sidebar-w-md: 40px;
  --sidebar-w-sm: 32px;
  --section-max-w: 1320px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* ── Reset & Base ── */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Archivo", sans-serif;
  background: #fff;
  scroll-behavior: smooth;
}

body {
  overflow-x: clip;
}

/* ── Sticky Navigation ── */
.sticky-nav {
  position: fixed;
  top: 1.4rem;
  right: 2.4rem;
  z-index: 999;
  animation: nav-enter 0.7s var(--ease-out) 2.4s both;
}

@keyframes nav-enter {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sticky-nav__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 999px;
  background: rgba(246, 246, 246, 0.96);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border: 1px solid rgba(0, 0, 0, 0.07);
  padding: 0.55rem 0.55rem 0.55rem 0.9rem;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.10), 0 1px 4px rgba(0,0,0,0.06);
}

.sticky-nav__logo {
  height: 42px;
  width: auto;
  padding: 0.2rem 0.3rem;
}

.sticky-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--red);
  color: var(--white);
  border-radius: 999px;
  min-height: 46px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0 1.4rem;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
}

.sticky-nav__cta:hover {
  background: #c00510;
  transform: scale(1.02);
}

.sticky-nav__cta--secondary {
  background: #666;
  color: #fff;
}

.sticky-nav__cta--secondary:hover {
  background: #555;
  color: #fff;
}

/* ── Shared Sidebar Component ── */
/* Kept for compatibility but sections now use section-eyebrow instead */
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.sidebar span {
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.sidebar__line {
  width: 2px;
  height: 0;
  transition: height 1.2s var(--ease-out);
}

/* Sidebar variants */
.sidebar--light { background: #fff; justify-content: center; }
.sidebar--light span { color: #333; }
.sidebar--light-bordered { background: #fff; justify-content: center; border-right: 2px solid #e0e0e0; }
.sidebar--light-bordered span { color: #333; }
.sidebar--red { background: var(--red); justify-content: flex-start; padding-top: 2.4rem; border-right: 1px solid rgba(255,255,255,.18); }
.sidebar--red span { color: var(--white); }
.sidebar--red .sidebar__line { background: var(--white); }
.sidebar--dark { background: var(--bg-dark); justify-content: flex-start; padding-top: 2.4rem; border-right: 1px solid rgba(255,255,255,.1); }
.sidebar--dark span { color: var(--white); }
.sidebar--dark .sidebar__line { background: var(--red); }
.is-visible > .sidebar .sidebar__line { height: 60px; }

/* ── Section Eyebrow (editorial sticky labels) ── */
.section-eyebrow {
  position: absolute;
  top: 2rem;
  left: 2rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  pointer-events: none;
  user-select: none;
}

.section-eyebrow__number {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1;
  opacity: 0.38;
}

.section-eyebrow__label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
}

/* Eyebrow colour variants */
.section-eyebrow--light .section-eyebrow__number,
.section-eyebrow--light .section-eyebrow__label {
  color: #1a1a1a;
}

.section-eyebrow--dark .section-eyebrow__number,
.section-eyebrow--dark .section-eyebrow__label {
  color: rgba(255,255,255,0.9);
}

.section-eyebrow--on-red .section-eyebrow__number,
.section-eyebrow--on-red .section-eyebrow__label {
  color: rgba(255,255,255,0.85);
}

/* ── Brand Badges ── */
.brand-badges {
  background: var(--white);
}

.brand-badges__inner {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 205px;
  padding: 1.8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
}

.brand-badges__inner img {
  display: block;
  max-height: 165px;
  width: auto;
  max-width: min(33%, 360px);
  object-fit: contain;
}

/* ── Slider / Carousel ── */
.slider {
  position: sticky;
  top: 0;
  z-index: 9;
  background: var(--white);
  padding: 6rem 0 3rem;
  text-align: center;
  overflow: visible;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -12px 60px rgba(0,0,0,0.13);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 116vh;
  min-height: 116dvh;
}

.slider__heading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
  padding: 0 1rem 0;
  transform: translateY(-5%);
}

.slider__heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5.5vw, 6rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.18);
  text-align: center;
  white-space: nowrap;
}

.slider__heading h2 em {
  font-style: normal;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.18);
}

.slider__heading h2 strong {
  font-weight: 900;
  font-size: 1.35em;
  color: rgba(227, 6, 19, 0.28);
}

.slider__track-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 500px;
}

.slider__arrow {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #ddd;
  background: var(--white);
  color: #888;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, color 0.25s, box-shadow 0.25s;
  z-index: 10;
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  box-shadow: 0 2px 14px rgba(0,0,0,0.10);
}

.slider__arrow--prev { left: 1.5rem; }
.slider__arrow--next { right: 1.5rem; }

.slider__arrow:hover {
  border-color: var(--red);
  color: var(--red);
  box-shadow: 0 4px 20px rgba(227,6,19,0.18);
}

.slider__track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.slider__slide {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%) scale(0.45);
  opacity: 0;
  pointer-events: none;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1),
              opacity .6s cubic-bezier(.4, 0, .2, 1);
  will-change: transform, opacity;
}

.slider__slide img {
  display: block;
  height: auto;
  object-fit: contain;
  width: 860px;
  max-width: 80vw;
  transition: filter 0.5s;
}

.slider__slide[data-position="center"] img {
  filter: drop-shadow(0 28px 48px rgba(0,0,0,0.22));
}

.slider__label {
  margin-top: 0.6rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #333;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* loupe icon now injected as separate button via JS */

.slider__slide[data-position="center"] {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
}

.slider__slide[data-position="center"] .slider__label {
  opacity: 1;
}

.slider__slide[data-position="left"] {
  transform: translateX(-155%) scale(0.30) translateY(60px);
  opacity: 0.18;
  z-index: 1;
  filter: blur(2px);
}

.slider__slide[data-position="right"] {
  transform: translateX(55%) scale(0.30) translateY(60px);
  opacity: 0.18;
  z-index: 1;
  filter: blur(2px);
}

.slider__slide[data-position="hidden"] {
  transform: translateX(-50%) scale(0.28);
  opacity: 0;
  z-index: 0;
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.8rem;
  padding: 0 5rem;
}

.slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0d0d0;
  cursor: pointer;
  transition: background 0.25s;
}

.slider__dot.is-active {
  background: var(--red);
}

/* slider trust-badges strip – uses .badges-strip from tractors.css */
.slider .badges-strip {
  background: transparent;
  padding: 1.5rem 0 2rem;
}
.slider .badges-strip__inner {
  margin-top: 0.5rem;
  gap: clamp(0.55rem, 1.8vw, 1.2rem);
  padding: 0 1.25rem;
  align-items: center;
}

.slider .badges-strip__inner img {
  max-height: clamp(72px, 9.4vh, 124px);
  max-width: min(32%, 300px);
}

/* ── Dealer Section ── */
.dealer {
  position: relative;
  z-index: 10;
  background: var(--red);
  padding: 5rem 2rem 3rem;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  box-shadow: none;
  /* Keep section pinned a bit longer before next overlap */
  height: 124vh;
  height: 124dvh;
  display: flex;
  flex-direction: column;
}

.dealer__content {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  /* Fill vertical space so the map can grow */
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.dealer__content h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.8vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.6rem;
}

/* Dealer content staggered reveal */
.dealer__content h2 {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-out);
}

.dealer.is-visible .dealer__content h2 {
  opacity: 1;
  transform: translateY(0);
}

.dealer__cta {
  display: inline-block;
  background: #fff;
  color: var(--red);
  font-family: 'Archivo', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.55rem 0.65rem;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  transition: background .25s, color .25s, opacity 0.5s ease 0.15s, transform 0.5s var(--ease-out) 0.15s;
  opacity: 0;
  transform: translateY(16px);
}

.dealer.is-visible .dealer__cta {
  opacity: 1;
  transform: translateY(0);
}

.dealer__cta:hover {
  background: #222;
  color: #fff;
}

/* ── Dealer ZIP search form ── */
.dealer__zip-form {
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease 0.2s, transform 0.5s var(--ease-out) 0.2s;
}

.dealer.is-visible .dealer__zip-form {
  opacity: 1;
  transform: translateY(0);
}

.dealer__zip-label {
  display: block;
  color: rgba(255,255,255,0.80);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.dealer__zip-row {
  display: flex;
  gap: 0;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.22);
}

.dealer__zip-input {
  flex: 1;
  padding: 0.85rem 1.1rem;
  background: #fff;
  border: none;
  outline: none;
  font-family: 'Archivo', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #111;
  letter-spacing: 0.04em;
  min-width: 0;
}

.dealer__zip-input::placeholder {
  color: #aaa;
  font-weight: 400;
}

.dealer__zip-input:focus {
  background: #f8f8f8;
}

.dealer__zip-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.4rem;
  background: #111;
  color: #fff;
  border: none;
  font-family: 'Archivo', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.dealer__zip-btn:hover {
  background: #333;
}

.dealer__map-label {
  color: rgba(255,255,255,0.80);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.7rem 0;
  text-align: left;
}

.dealer__map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.3s, transform 0.7s var(--ease-out) 0.3s;
  /* Grow to fill remaining vertical space */
  /* flex: 1; */
  min-height: 0;
  display: flex;
  flex-direction: column;
  height: 62%;
}

.dealer.is-visible .dealer__map {
  opacity: 1;
  transform: translateY(0);
}

.dealer__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 300px;
  border: none;
  box-sizing: border-box;
  overflow: hidden;
}

/* ── Hotspot Component (shared) ── */
.hotspot {
  position: absolute;
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(4px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  transform: translate(-50%, -50%);
  transition: background 0.25s, transform 0.25s;
  box-shadow: 0 2px 14px rgba(0,0,0,0.18), 0 0 0 4px rgba(255,255,255,0.25);
}

.hotspot::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2.5px solid rgba(100,100,100,0.35);
  animation: hotspot-pulse 1.8s ease-out infinite;
}

@keyframes hotspot-pulse {
  0%   { transform: scale(1); opacity: .85; }
  100% { transform: scale(1.65); opacity: 0; }
}

.hotspot:hover,
.hotspot.is-active {
  background: rgba(240,240,240,0.95);
  transform: translate(-50%, -50%) scale(1.12);
}

.hotspot__icon {
  pointer-events: none;
  line-height: 0;
}

.hotspot__hint {
  display: none;
}

.hotspot::before {
  content: 'Kliknij, aby zobaczyć szczegóły';
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
  opacity: 0;
  transition: opacity 0.4s;
}

.hotspot.show-hint::before {
  opacity: 1;
}

.features__image-wrap.hotspot-discovered .hotspot::before {
  opacity: 0;
  pointer-events: none;
}

.hotspot__tooltip {
  position: absolute;
  z-index: 10;
  width: 340px;
  background: rgba(30, 30, 30, 0.92);
  backdrop-filter: blur(10px);
  color: #fff;
  border-radius: 12px;
  padding: 1.3rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  pointer-events: none;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .35);
}

.hotspot__tooltip.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.hotspot__tooltip strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--red);
  line-height: 1.3;
}

.hotspot__tooltip p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, .88);
}

/* ══════════════════════════════
   Shared Responsive — 1536px
   ══════════════════════════════ */
@media (max-width: 1536px) {
  :root {
    --section-max-w: 1200px;
  }

  .section-eyebrow {
    top: 1.2rem;
    left: 1.2rem;
  }

  .slider {
    padding: 3rem 0 2rem;
  }

  .slider__heading h2 {
    font-size: clamp(2.8rem, 6vw, 5rem);
  }

  .slider__track-wrap {
    height: clamp(340px, 38vw, 480px);
  }

  .slider__slide img {
    width: min(100%, 560px);
  }

  .slider .badges-strip__inner img {
    max-height: clamp(60px, 7vh, 100px);
    max-width: min(30%, 240px);
  }

  .dealer {
    padding: 3.5rem 2rem 2rem;
  }

  .dealer__content h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    margin-bottom: 1.2rem;
  }

  .dealer__map iframe {
    height: min(58vh, 500px);
    min-height: 300px;
  }
}

/* ══════════════════════════════
   Shared Responsive — 1280px
   ══════════════════════════════ */
@media (max-width: 1280px) {
  :root {
    --section-max-w: 1060px;
  }

  .slider {
    padding: 2.5rem 0 1.8rem;
  }

  .slider__heading h2 {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  }

  .slider__track-wrap {
    height: clamp(280px, 36vw, 400px);
  }

  .slider__slide img {
    width: min(100%, 480px);
  }

  .slider .badges-strip__inner img {
    max-height: clamp(52px, 6vh, 80px);
    max-width: min(30%, 200px);
  }

  .dealer {
    padding: 2.8rem 1.5rem 1.8rem;
  }

  .dealer__content h2 {
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    margin-bottom: 1rem;
  }

  .dealer__map iframe {
    height: min(50vh, 420px);
    min-height: 260px;
  }

  .hotspot { width: 36px; height: 36px; }
  .hotspot__tooltip { width: min(340px, 80vw); }
  .hotspot__tooltip strong { font-size: 1.15rem; }
  .hotspot__tooltip p { font-size: 0.95rem; }
}

/* ══════════════════════════════
   Shared Responsive — 900px
   ══════════════════════════════ */
@media (max-width: 900px) {
  .sticky-nav {
    top: 0.8rem;
    right: 0.8rem;
  }

  .sticky-nav__logo { height: 36px; }

  .sticky-nav__cta {
    font-size: 0.75rem;
    min-height: 40px;
    padding: 0 1rem;
  }

  .sidebar { width: var(--sidebar-w-md); }
  .sidebar--red, .sidebar--dark { padding-top: 1.5rem; }

  .section-eyebrow { top: 1.2rem; left: 1.2rem; }

  .brand-badges__inner {
    min-height: unset;
    padding: 1.15rem 1rem;
    gap: 0.9rem;
  }

  .brand-badges__inner img {
    max-height: 126px;
    max-width: 32%;
  }

  .hotspot { width: 38px; height: 38px; }
  .hotspot__tooltip { width: 300px; }

  .slider {
    padding: 3rem 0 2.5rem;
    min-height: 113vh;
    min-height: 113dvh;
  }

  .slider .badges-strip {
    padding: 1.2rem 0 1.8rem;
  }

  .slider .badges-strip__inner img {
    max-height: clamp(52px, 7vh, 82px);
    max-width: min(34%, 210px);
  }

  .slider__heading { padding: 0; }
  .slider__heading h2 { font-size: clamp(3.5rem, 10vw, 8rem); }
  .slider__dots { padding: 0 4rem; }
  .slider__track-wrap { height: 450px; }
  .slider__slide img { width: 560px; }
  .slider__arrow { width: 42px; height: 42px; }
  .slider__arrow--prev { left: 1rem; }
  .slider__arrow--next { right: 1rem; }

  .dealer {
    padding: 3.5rem 1.2rem 1.5rem;
    height: 119vh;
    height: 119dvh;
    border-radius: 16px 16px 0 0;
  }
}

/* ══════════════════════════════
   Shared Responsive — 680px
   ══════════════════════════════ */
@media (max-width: 680px) {
  .sticky-nav {
    top: 0.5rem;
    right: 0.5rem;
  }

  .sticky-nav__inner {
    padding: 0.4rem 0.4rem 0.4rem 0.6rem;
    gap: 0.5rem;
  }

  .sticky-nav__cta {
    font-size: 0.7rem;
    min-height: 36px;
    padding: 0 0.8rem;
  }

  .sticky-nav__logo {
    height: 32px;
    padding: 0;
  }

  .sidebar { width: var(--sidebar-w-sm); }
  .sidebar span { font-size: 0.7rem; }

  .section-eyebrow { top: 0.9rem; left: 0.9rem; }
  .section-eyebrow__number { font-size: 0.56rem; }
  .section-eyebrow__label { font-size: 0.62rem; }

  .brand-badges__inner {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem 1rem;
    padding: 1rem 0.75rem 1.2rem;
  }

  .brand-badges__inner img {
    max-width: 100%;
    width: min(100%, 320px);
    max-height: 120px;
  }

  .hotspot { width: 40px; height: 40px; }
  .hotspot__icon svg { width: 16px; height: 16px; }
  .hotspot::before { display: none; }

  .hotspot__tooltip {
    width: 290px;
    padding: 1rem 1.1rem;
    left: 50% !important;
    top: auto !important;
    bottom: -10px;
    transform: translate(-50%, 100%);
  }

  .hotspot__tooltip.is-open {
    transform: translate(-50%, 100%);
  }

  .slider__heading h2 {
    font-size: clamp(2.8rem, 11vw, 5.5rem);
    white-space: normal;
  }

  .slider__heading { padding: 0; }
  .slider__dots { padding: 0 3rem; }
  .slider__track-wrap { height: 380px; }
  .slider__slide img { width: 340px; max-width: 72vw; }

  .slider__slide[data-position="left"],
  .slider__slide[data-position="right"] {
    opacity: 0;
  }

  .slider__arrow { width: 38px; height: 38px; }
  .slider__arrow--prev { left: 0.5rem; }
  .slider__arrow--next { right: 0.5rem; }
  .slider__arrow svg { width: 20px; height: 20px; }

  .slider {
    min-height: 110vh;
    min-height: 110dvh;
    justify-content: center;
    background: #fff;
    border-radius: 12px 12px 0 0;
    padding-top: 3.5rem;
  }

  /* Badges strip: match features mobile badges look, always visible */
  .slider .badges-strip__inner {
    opacity: 1;
    transform: none;
    transition: none;
    gap: 1rem;
    padding: 1.2rem 0.7rem 1.8rem;
    border-top: none;
  }
  .slider .badges-strip__inner img {
    max-height: 62px;
    max-width: 32%;
  }

  /* Side slides hidden on phones – no peek to avoid overflow */
  .slider__slide[data-position="left"],
  .slider__slide[data-position="right"] {
    opacity: 0;
    pointer-events: none;
  }

  .slider {
    overflow: hidden;
  }

  .dealer {
    padding: 2.5rem 1rem 1rem;
    height: 114vh;
    height: 114dvh;
    border-radius: 12px 12px 0 0;
  }
  .dealer__map iframe { min-height: 0; }
}

/* ── Site Footer ── */
.site-footer {
  position: relative;
  z-index: 11;
  background: #111;
  color: rgba(255,255,255,.75);
  font-family: var(--font);
}

.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2.5rem 2.5rem;
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.site-footer__brand {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer__brand img {
  width: 120px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.site-footer__brand p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255,255,255,.55);
}

.site-footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.site-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: border-color 0.22s, color 0.22s, background 0.22s;
}

.site-footer__social a:hover {
  border-color: var(--red);
  color: var(--white);
  background: var(--red);
}

.site-footer__nav {
  flex: 1;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.site-footer__col {
  flex: 1 1 160px;
}

.site-footer__col h3 {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer__col ul li a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer__col ul li a:hover {
  color: var(--red);
}

.site-footer__bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.1rem 2.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,.3);
  font-weight: 500;
}

.site-footer__bottom a {
  color: rgba(255,255,255,.35);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer__bottom a:hover {
  color: var(--red);
}

.footer__mobile-br { display: none; }

@media (max-width: 680px) {
  .site-footer__inner {
    padding: 2.5rem 1.2rem 1.8rem;
    gap: 2rem;
  }

  .site-footer__brand {
    flex: 0 0 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.5rem;
  }

  .site-footer__brand img {
    width: 90px;
  }

  .site-footer__brand p {
    flex: 1 1 160px;
    font-size: 0.82rem;
  }

  .site-footer__social {
    flex: 0 0 100%;
    margin-top: 0;
  }

  .site-footer__nav {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
  }

  .site-footer__col h3 {
    font-size: 0.68rem;
    margin-bottom: 0.7rem;
  }

  .site-footer__col ul li a {
    font-size: 0.84rem;
  }

  .site-footer__bottom {
    padding: 1rem 1.2rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
    font-size: 0.72rem;
  }

  .footer__mobile-br { display: inline; }
}

/* ─────────────────────────────────────────
   FAQ section
───────────────────────────────────────── */
.faq {
  position: relative;
  background: var(--bg-dark);
  padding: 5rem 1.5rem;
  z-index: 20;
  min-height: 116vh;
  min-height: 116dvh;
  border-radius: 24px 24px 0 0;
  display: flex;
  align-items: center;
}

.faq__inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.faq__header {
  text-align: center;
  margin-bottom: 3.5rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-out);
}

.faq.is-visible .faq__header {
  opacity: 1;
  transform: translateY(0);
}

.faq__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.faq__header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

.faq__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out);
}

.faq.is-visible .faq__item { opacity: 1; transform: translateY(0); }
.faq.is-visible .faq__item:nth-child(1) { transition-delay: 0s; }
.faq.is-visible .faq__item:nth-child(2) { transition-delay: 0.07s; }
.faq.is-visible .faq__item:nth-child(3) { transition-delay: 0.14s; }
.faq.is-visible .faq__item:nth-child(4) { transition-delay: 0.21s; }
.faq.is-visible .faq__item:nth-child(5) { transition-delay: 0.28s; }
.faq.is-visible .faq__item:nth-child(6) { transition-delay: 0.35s; }

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  list-style: none;
  user-select: none;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--white);
  transition: transform 0.35s var(--ease-out), background 0.25s ease, border-color 0.25s ease;
}

.faq__icon::before {
  content: '+';
  font-weight: 300;
}

.faq__item[open] .faq__icon {
  transform: rotate(45deg);
  background: var(--red);
  border-color: var(--red);
}

.faq__answer {
  padding-bottom: 1.4rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
  max-width: 80ch;
}

/* Smooth open/close animation for <details> */
.faq__item::details-content {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: height 0.35s var(--ease-out),
              opacity 0.35s ease,
              content-visibility 0.35s allow-discrete;
}

.faq__item[open]::details-content {
  height: max-content;
  opacity: 1;
}

@starting-style {
  .faq__item[open]::details-content {
    height: 0;
    opacity: 0;
  }
}

.faq__answer p { margin: 0; }

.faq__answer a {
  color: var(--red);
  text-decoration: none;
}

.faq__answer a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .faq {
    padding: 4rem 1.25rem;
    min-height: 108vh;
    min-height: 108dvh;
    border-radius: 12px 12px 0 0;
  }
  .faq__question { font-size: 0.95rem; }
}

/* ─────────────────────────────────────────
   FAQ Group Toggle Accordion
───────────────────────────────────────── */
.faq__list {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq__group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faq__group-toggle {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font, "Archivo", sans-serif);
  outline-offset: 3px;
}

.faq__group-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--red);
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}

.faq__group-icon svg {
  width: 17px;
  height: 17px;
}

.faq__group.is-open .faq__group-icon {
  background: var(--red);
  color: #fff;
}

.faq__group-label {
  flex: 1;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s ease;
}

.faq__group.is-open .faq__group-label {
  color: #fff;
}

.faq__group-chevron {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
  transition: transform 0.38s var(--ease-out, cubic-bezier(0.25, 1, 0.5, 1)),
              color 0.25s ease;
}

.faq__group.is-open .faq__group-chevron {
  transform: rotate(180deg);
  color: var(--red);
}

.faq__group-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq__group.is-open .faq__group-body {
  grid-template-rows: 1fr;
}

.faq__group-inner {
  overflow: hidden;
  min-height: 0;
}

/* Remove double border at bottom of last item in group */
.faq__group-inner .faq__item:last-child {
  border-bottom: none;
}

/* ─────────────────────────────────────────
   Mobile CTA bar
───────────────────────────────────────── */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 900px) {
  .mobile-cta-bar {
    display: block;
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    z-index: 900;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease;
    white-space: nowrap;
  }

  .mobile-cta-bar.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }

  .mobile-cta-bar__btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    background: var(--red);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 100px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
    letter-spacing: 0.03em;
  }
}

/* ── Cookie Consent (zgodny z alko-garden.pl) ── */
#cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  overflow-y: auto;
}

#cookie-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

#cookie-banner {
  width: 100%;
  max-width: 640px;
}

.cookie-banner__inner {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 2.5rem;
  box-shadow: 0 8px 48px rgba(0,0,0,0.25);
}

.cookie-banner__title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: #181818;
  margin: 0 0 1rem;
}

.cookie-banner__text p {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: #444;
  line-height: 1.6;
}

.cookie-banner__text p:last-child {
  margin-bottom: 1.2rem;
}

.cookie-banner__text strong {
  font-weight: 700;
  color: #181818;
}

.cookie-banner__text a {
  color: var(--red, #E3001B);
  text-decoration: none;
}

.cookie-banner__text a:hover {
  text-decoration: underline;
}

.cookie-btn {
  font-family: var(--font, "Archivo", sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  padding: 0.7rem 1.5rem;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  border: 2px solid transparent;
}

.cookie-btn:hover {
  transform: scale(1.02);
}

.cookie-btn--accept {
  display: block;
  width: 100%;
  background: var(--red, #E3001B);
  color: #fff;
  border-color: var(--red, #E3001B);
  font-size: 0.95rem;
  padding: 0.85rem;
  text-align: center;
}

.cookie-btn--accept:hover {
  background: #c00510;
  border-color: #c00510;
}

.cookie-banner__links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.cookie-banner__links a {
  font-size: 0.75rem;
  color: #666;
  text-decoration: underline;
}

.cookie-banner__links a:hover {
  color: var(--red, #E3001B);
}

@media (max-width: 680px) {
  #cookie-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .cookie-banner__inner {
    border-radius: 16px 16px 0 0;
    padding: 1.5rem 1.2rem;
    max-height: 85dvh;
    overflow-y: auto;
  }
  .cookie-banner__title {
    font-size: 1.2rem;
  }
  .cookie-banner__links {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }
}

/* ── Accessibility: reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   tractors.css â€” AL-KO Traktory Ogrodowe (page-specific)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* ── Layer stacking on brand-badges (short bridge sections, natural flow) ── */
.brand-badges {
  position: relative;
  z-index: 2;
}

/* ── Dealer CTA – bigger button (matches kosiarka style) ── */
.dealer__cta {
  font-size: 1rem;
  padding: 0.75rem 2rem;
  align-self: center;
}

/* ── Badges strip (shared: hero + slider) ── */
/* ── Hero badges (below hero image) ── */
#hero-badges {
  position: relative;
  z-index: 2;
  background: #fff;
  height: 10vh;
  display: flex;
  align-items: center;
}

#hero-badges .badges-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 4rem;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

#hero-badges .badges-strip__inner img {
  display: block;
  max-height: min(8vh, 100px);
  width: auto;
  max-width: min(30%, 340px);
  object-fit: contain;
}

/* ── Slider badges (below slider section) ── */
.badges-strip {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 2rem 0;
}

.badges-strip .badges-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 4rem;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-out);
}

.badges-strip.is-visible .badges-strip__inner {
  opacity: 1;
  transform: translateY(0);
}

.badges-strip .badges-strip__inner img {
  display: block;
  max-height: 140px;
  width: auto;
  max-width: min(30%, 340px);
  object-fit: contain;
}

/* Keep slider badges compact inside sticky slider viewport. */
.slider .badges-strip .badges-strip__inner img {
  max-height: clamp(72px, 9.2vh, 122px);
  max-width: min(32%, 290px);
}

/* ── Hero ── */
.hero {
  position: sticky;
  top: 0;
  z-index: 1;
  width: 100%;
}

.hero__image-area {
  position: relative;
  z-index: 1;
  height: 90vh;
  overflow: hidden;
  background: #000;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/robot_baner_desktop.webp");
  background-size: cover;
  background-position: center;
  transform-origin: 50% 52%;
  animation: hero-bg-reveal 3s cubic-bezier(.16, 1, .3, 1) 0.15s both;
}

/* Cardboard sits beneath the tractor – visible before the burst, covered as clip-path expands */
.hero__cardboard {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/inne-robot.webp");
  background-size: cover;
  background-position: center;
}

@keyframes hero-bg-reveal {
  from {
    clip-path: polygon(
      50% 50%, 51% 49%, 50% 48%, 49% 49%,
      50% 50%, 51% 51%, 50% 52%, 49% 51%,
      50% 50%, 51% 50%, 50% 50%, 49% 50%
    );
    transform: scale(1.14);
  }
  20% {
    clip-path: polygon(
      42% 28%, 58% 22%, 72% 35%, 78% 52%,
      68% 70%, 52% 78%, 33% 70%, 22% 52%,
      28% 33%, 44% 24%, 56% 30%, 62% 48%
    );
    transform: scale(1.09);
  }
  to {
    clip-path: polygon(
      -12% -18%, 58% -28%, 118% -10%, 148% 44%,
      125% 112%, 65% 138%, -8% 122%, -38% 78%,
      -32% 28%, 12% -22%, 55% -5%, 105% 22%
    );
    transform: scale(1);
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.22) 40%, rgba(0,0,0,0.08) 100%);
  pointer-events: none;
  animation: hero-overlay-in 2s ease 0.1s both;
}

@keyframes hero-overlay-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero__content {
  position: absolute;
  z-index: 2;
  left: clamp(3rem, 8vw, 10rem);
  bottom: clamp(1.5rem, 8vh, 4.8rem);
  text-align: left;
  animation: hero-content-in 1s cubic-bezier(.22, 1, .36, 1) 1.1s both;
}

@keyframes hero-content-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__content h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 6vw, 4.6rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

/* â”€â”€ Engines â”€â”€ */
.engines {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #efefef;
  overflow: hidden;
  min-height: 126vh;
  display: flex;
  flex-direction: column;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -10px 50px rgba(0,0,0,0.10);
}

.engines__bg-text {
  position: absolute;
  /* Stretch wider than the section so text overflows the right edge.
     overflow:hidden on .engines does the clipping. */
  left: 0;
  top: 0;
  bottom: 0;
  width: 130%;
  font-size: clamp(4.6rem, 13.5vw, 11.5rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: rgba(0, 0, 0, 0.032);
  line-height: 0.95;
  white-space: pre-wrap;
  pointer-events: none;
  user-select: none;
  padding: 0.3em 0 0.3em 0.04em;
}

.engines__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  max-height: 100vh;
  width: 100%;
  margin: 0 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: 20% 50% 30%;
  align-items: center;
  padding: 3rem 0;
}

.engines__media {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.engines__media > img {
  width: 90%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
  transform-origin: bottom center;
  transform: translateY(-220px);
  clip-path: inset(20% 0 0 0);
  opacity: 0;
  transition: transform 1.5s var(--ease-out), clip-path 1.4s var(--ease-out), opacity 1s ease;
  will-change: transform;
}

.engines.is-visible .engines__media > img {
  transform: translateY(0);
  clip-path: inset(0%);
  opacity: 1;
}

.engines__badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(3rem, 7vh, 6rem);
  padding: 2rem 1.5rem;
}

.engines__badges img {
  display: block;
  max-height: 108px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
}

.engines__content {
  text-align: right;
  padding: 0 clamp(2rem, 4vw, 6rem) 2rem clamp(0.5rem, 1vw, 1.5rem);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease 0.4s, transform 0.7s var(--ease-out) 0.4s;
}

.engines.is-visible .engines__content {
  opacity: 1;
  transform: translateY(0);
}

.engines__content h2 {
  margin: 0;
  color: #4a4f53;
  font-size: clamp(2rem, 3.7vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
}

.engines__content h2 span {
  color: var(--red);
}

.engines__content p {
  margin: 1.3rem 0 0;
  color: #50565c;
  font-size: clamp(1rem, 1.45vw, 2rem);
  font-weight: 500;
  line-height: 1.45;
}

.engines__content p span {
  color: var(--red);
}

.engines__variants {
  margin: 1.4rem 0 0 auto;
  width: min(100%, 195px);
  height: auto;
  display: block;
}


/* Brand badges entrance animation — per-child stagger */
.brand-badges[data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

.brand-badges[data-reveal] .brand-badges__inner img {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-out);
}

.brand-badges[data-reveal].is-visible .brand-badges__inner img {
  opacity: 1;
  transform: translateY(0);
}

.brand-badges[data-reveal].is-visible .brand-badges__inner img:nth-child(1) { transition-delay: 0s; }
.brand-badges[data-reveal].is-visible .brand-badges__inner img:nth-child(2) { transition-delay: 0.12s; }
.brand-badges[data-reveal].is-visible .brand-badges__inner img:nth-child(3) { transition-delay: 0.24s; }

/* â”€â”€ Features / Hotspot â”€â”€ */
.features {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg-light);
  min-height: 126vh;
  display: flex;
  flex-direction: column;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -10px 50px rgba(0,0,0,0.08);
  overflow: hidden;
}

.features__stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 2.5rem 3.5rem;
  position: relative;
  overflow: hidden;
  max-height: 100vh; /* pin centering to viewport, not full sticky section */
}

.features__red-bg {
  position: absolute;
  width: min(78%, 640px);
  aspect-ratio: 1 / 1;
  background: var(--red);
  border-radius: 6px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  z-index: 0;
  transition: transform 0.9s var(--ease-out);
}

.features.is-visible .features__red-bg {
  transform: translate(-50%, -50%) scale(1);
}

.features__mobile-badges {
  display: none;
}

.features__image-wrap {
  position: relative;
  z-index: 1;
  width: min(100%, 820px);
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.7s ease 0.25s, transform 0.7s var(--ease-out) 0.25s;
}

.features__image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0,0,0,0.42);
  pointer-events: none;
  transition: opacity 0.6s ease;
  animation: overlay-breathe 4s ease-in-out infinite alternate;
  /* Mask follows device alpha — shadow lands only on the machine, not transparent bg */
  -webkit-mask-image: url('assets/robot_sekcja_hot_spot.webp');
  mask-image: url('assets/robot_sekcja_hot_spot.webp');
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

@keyframes overlay-breathe {
  0%   { background: rgba(0,0,0,0.32); }
  100% { background: rgba(0,0,0,0.38); }
}

.features__image-wrap.hotspot-discovered::after {
  opacity: 0;
}

.features.is-visible .features__image-wrap {
  opacity: 1;
  transform: scale(1);
}

.features__image-wrap > img {
  display: block;
  width: 100%;
  height: auto;
}

/* Tooltip positioning per hotspot (tractors-specific) */
/* Positions are absolute within .features__image-wrap (1200×894 image) */
[data-for="1"] { top: 48%; left: 11%; }   /* Kosz – opens above-right of rear catcher */
[data-for="2"] { top: 14%; left: 28%; }   /* Fotel – opens above seat */
[data-for="3"] { top: 8%;  left: 38%; }   /* Kierownica – opens above-left of wheel */
[data-for="4"] { top: 58%; left: 38%; }   /* Regulacja – opens above cutting deck */
[data-for="5"] { top: 38%; left: 48%; }   /* Napęd – opens above hydrostatic area */
[data-for="6"] { top: 10%; left: 52%; }   /* Silnik – opens above-left of hood */
[data-for="7"] { top:  2%; left: 58%; }   /* LED – opens left of front lights */

/* â”€â”€ Construction (red) â”€â”€ */
.construction {
  position: sticky;
  top: 0;
  z-index: 6;
  background: var(--red);
  min-height: 126vh;
  display: flex;
  flex-direction: column;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -10px 50px rgba(0,0,0,0.14);
  overflow: visible;
}

.construction__body {
  flex: 1;
  padding: 5rem 3rem 3rem;
  max-width: var(--section-max-w);
  margin: 0 auto;
  width: 100%;
}

.construction__heading {
  margin: 0 0 1.8rem;
  color: var(--white);
  font-size: clamp(2.6rem, 5.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-out);
}

.construction.is-visible .construction__heading {
  opacity: 1;
  transform: translateY(0);
}

.construction__heading span {
  color: var(--white);
  -webkit-text-stroke: 1.5px var(--white);
  paint-order: stroke fill;
}

.construction__heading .construction__lato {
  color: #111;
  -webkit-text-stroke: 0;
  paint-order: normal;
}

.construction__grid {
  display: flex;
  gap: 2rem;
  align-items: stretch;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.2s, transform 0.7s var(--ease-out) 0.2s;
}

.construction.is-visible .construction__grid {
  opacity: 1;
  transform: translateY(0);
}

.construction__media {
  flex: 1 1 55%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.construction__photo {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: clamp(300px, 44vh, 660px);
  border-radius: 8px;
  overflow: hidden;
}

.construction__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Last construction image has text – show full, no crop */
.construction__img[data-cimg="4"] {
  object-fit: contain;
  background: var(--red);
}

.construction__img.is-active {
  opacity: 1;
}

.construction__features {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  gap: 0;
}

.cfeature {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.2);
  padding: 1.2rem 1rem;
  cursor: pointer;
  transition: background 0.3s, opacity 0.3s;
}

.cfeature:first-child {
  border-top: 1px solid rgba(255,255,255,.2);
}

.cfeature:hover {
  background: rgba(255,255,255,.08);
}

.construction__features.has-active .cfeature:not(.is-active) {
  opacity: 0.35;
}

.cfeature.is-active {
  background: rgba(255,255,255,.15);
  opacity: 1;
}

.cfeature strong {
  display: block;
  color: var(--white);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 800;
  font-style: italic;
  line-height: 1.15;
  transition: color 0.3s;
}

.cfeature p {
  margin: 0.35rem 0 0;
  color: rgba(255,255,255,.72);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 500;
  line-height: 1.3;
  transition: color 0.3s;
}

.cfeature.is-active strong {
  color: var(--white);
}

.cfeature.is-active p {
  color: #111;
}

/* -- Construction cards (robots) -- */
.construction__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.ccard {
  background: rgba(255,255,255,.1);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background 0.3s;
}

.ccard:hover {
  background: rgba(255,255,255,.18);
}

.ccard__img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.ccard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease-out);
}

.ccard:hover .ccard__img img {
  transform: scale(1.04);
}

.ccard__title {
  display: block;
  color: var(--white);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.2;
  padding: 1rem 1rem 0.4rem;
}

.ccard__desc {
  color: rgba(255,255,255,.72);
  font-size: clamp(0.85rem, 1.15vw, 1.05rem);
  line-height: 1.45;
  padding: 0 1rem 1.1rem;
  margin: 0;
  flex: 1;
}

@media (max-width: 640px) {
  .construction__cards {
    grid-template-columns: 1fr;
  }
}

/* â”€â”€ Accessories (dark) â”€â”€ */
.accessories {
  position: sticky;
  top: 0;
  z-index: 7;
  background: var(--bg-dark);
  min-height: auto;
  padding-bottom: clamp(82vh, 98vh, 122vh);
  display: flex;
  flex-direction: column;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -10px 50px rgba(0,0,0,0.22);
  overflow: visible;
}

.accessories__body {
  flex: 1;
  padding: 5rem 3rem 3rem;
  max-width: var(--section-max-w);
  width: 100%;
  margin: 0 auto;
}

.accessories__heading {
  margin: 0 0 0.4rem;
  color: var(--white);
  font-size: clamp(2.6rem, 5.5vw, 5.2rem);
  line-height: 1.05;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-out);
}

.accessories.is-visible .accessories__heading {
  opacity: 1;
  transform: translateY(0);
}

.accessories__heading em {
  font-style: normal;
  font-weight: 900;
}

.accessories__heading strong {
  font-weight: 900;
  color: var(--red);
}

.accessories__desc {
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.12s, transform 0.6s var(--ease-out) 0.12s;
}

.accessories.is-visible .accessories__desc {
  opacity: 1;
  transform: translateY(0);
}

.accessories__desc p {
  margin: 0 0 0.3rem;
  color: rgba(255,255,255,.8);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  font-weight: 500;
  line-height: 1.4;
}

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

.accessories__desc li {
  color: rgba(255,255,255,.7);
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  font-weight: 500;
  line-height: 1.55;
}

.accessories__desc li span {
  color: var(--red);
  font-weight: 700;
}

.accessories__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  width: min(100%, 900px);
  margin: 0 auto;
  transition: opacity 0.32s linear, transform 0.42s var(--ease-out);
  transform-origin: top center;
}

.accessories__card {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out);
}

.accessories.is-visible .accessories__card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.accessories.is-visible .accessories__card:nth-child(1) { transition-delay: 0.25s; }
.accessories.is-visible .accessories__card:nth-child(2) { transition-delay: 0.35s; }
.accessories.is-visible .accessories__card:nth-child(3) { transition-delay: 0.45s; }
.accessories.is-visible .accessories__card:nth-child(4) { transition-delay: 0.55s; }

.accessories__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: transparent;
  transition: transform 0.4s;
}

.accessories__card:hover img {
  transform: scale(1.04);
}

.accessories__card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(227,6,19,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.35s;
}

.accessories__card:hover .accessories__card-overlay {
  opacity: 1;
}

.accessories__card-overlay span {
  color: var(--white);
  font-size: clamp(0.9rem, 1.4vw, 1.15rem);
  font-weight: 800;
  text-align: center;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-transform: uppercase;
  line-height: 1.2;
}

/* Sub-heading separating accessories from premium inside the merged section */
.accessories__sub-heading {
  margin: 3rem 0 1.5rem;
  color: var(--white);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease 0.3s, transform 0.5s var(--ease-out) 0.3s;
}

.accessories.is-visible .accessories__sub-heading {
  opacity: 1;
  transform: translateY(0);
}

.accessories__sub-heading span {
  color: var(--red);
}

.accessories__sub-heading br + * {
  color: var(--white);
}

.premium__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  transition: opacity 0.32s linear, transform 0.42s var(--ease-out);
  transform-origin: bottom center;
}

/* Scroll phase inside accessories:
   cards fade away, premium tiles slide into the same visual focus area. */
.accessories {
  --acc-phase: 0;
}

.accessories .accessories__gallery {
  opacity: calc(1 - var(--acc-phase));
  transform: translate3d(0, calc(var(--acc-phase) * -30px), 0);
  clip-path: inset(calc(var(--acc-phase) * 100%) 0 0 0 round 6px);
}

.accessories .accessories__sub-heading,
.accessories .premium__grid {
  opacity: var(--acc-phase);
  transform: translate3d(0, calc((1 - var(--acc-phase)) * 58px), 0);
}

.accessories .premium__grid {
  clip-path: inset(0 0 calc((1 - var(--acc-phase)) * 100%) 0);
}

.premium__card {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out);
}

.accessories.is-visible .premium__card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.accessories.is-visible .premium__card:nth-child(1) { transition-delay: 0.15s; }
.accessories.is-visible .premium__card:nth-child(2) { transition-delay: 0.25s; }
.accessories.is-visible .premium__card:nth-child(3) { transition-delay: 0.35s; }
.accessories.is-visible .premium__card:nth-child(4) { transition-delay: 0.45s; }
.accessories.is-visible .premium__card:nth-child(5) { transition-delay: 0.55s; }

.premium__card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.premium__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.premium__card:hover .premium__card-img img {
  transform: scale(1.05);
}

.premium__card-label {
  padding: 0.8rem 0.9rem;
  color: var(--white);
  font-size: clamp(0.68rem, 0.9vw, 0.82rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
  flex: 1;
}

/* ── Lineup / scroll-pinned crossfade (black background) ── */
.lineup {
  position: sticky;
  top: 0;
  z-index: 8;
  background: #000;
  margin-top: clamp(-56px, -5vh, -22px);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -10px 50px rgba(0,0,0,0.22);
  overflow: visible;
  /* tall enough for ~2 extra viewport-heights of scroll runway */
  padding-bottom: 200vh;
}

.lineup__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
}

.lineup__header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 3.5rem;
}

.lineup__heading {
  margin: 0 0 1.2rem;
  color: var(--white);
  font-size: clamp(1.8rem, 3.8vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-out);
}

.lineup.is-visible .lineup__heading {
  opacity: 1;
  transform: translateY(0);
}

.lineup__heading span {
  color: var(--red);
}

.lineup__lead {
  margin: 0;
  color: rgba(255,255,255,.65);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 500;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.15s, transform 0.6s var(--ease-out) 0.15s;
}

.lineup.is-visible .lineup__lead {
  opacity: 1;
  transform: translateY(0);
}

/* Stage: CSS grid overlap — all items share one cell, crossfade on scroll */
.lineup__stage {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.lineup__item {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}

.lineup__item.is-active {
  opacity: 1;
  pointer-events: auto;
}

.lineup__img-wrap {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.lineup__img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.lineup__item-title {
  margin: 0 0 0.25rem;
  color: var(--white);
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
}

.lineup__item-sub {
  display: block;
  margin-bottom: 1rem;
  color: var(--red);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lineup__item-desc {
  margin: 0;
  color: rgba(255,255,255,.65);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  font-weight: 500;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .lineup {
    padding-bottom: 160vh;
  }

  .lineup__item {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .lineup__inner {
    padding: 4rem 1.5rem 3rem;
  }
}

/* ══════════════════════════════
   Tractors Responsive — 1536px
   ══════════════════════════════ */
@media (max-width: 1536px) {
  .engines {
    min-height: 140vh;
  }

  .engines__inner {
    padding: 4rem 0 0;
  }

  .engines__media > img {
    max-height: 65vh;
  }

  .engines__content {
    max-width: 560px;
  }

  .engines__content h2 {
    font-size: clamp(1.8rem, 3.2vw, 3.4rem);
  }

  .engines__content h2 br,
  .engines__content p br {
    display: none;
  }

  .engines__content p {
    font-size: clamp(0.92rem, 1.25vw, 1.5rem);
  }

  .airflow {
    min-height: 260vh;
  }

  .airflow__monitor {
    padding: 4rem 2rem 2rem;
  }

  .airflow__screen {
    width: min(100%, 840px);
  }

  .airflow__text h2 {
    font-size: clamp(1.2rem, 2.8vw, 2.5rem);
  }

  .airflow__text p {
    font-size: clamp(0.85rem, 1.3vw, 1.08rem);
    max-width: 460px;
  }

  .features {
    min-height: 140vh;
  }

  .features__stage {
    padding: 1.5rem 2rem;
  }

  .features__red-bg {
    width: min(72%, 580px);
  }

  .features__image-wrap {
    width: min(100%, 720px);
  }

  .construction {
    min-height: 140vh;
  }

  .construction__body {
    padding: 4rem 2.4rem 2.5rem;
  }

  .construction__heading {
    font-size: clamp(2.2rem, 4.5vw, 4.2rem);
    margin-bottom: 1.4rem;
  }

  .construction__photo {
    min-height: clamp(260px, 38vh, 520px);
  }

  .cfeature {
    padding: 1rem 0.9rem;
  }

  .cfeature strong {
    font-size: clamp(1.1rem, 2vw, 1.7rem);
  }

  .cfeature p {
    font-size: clamp(0.88rem, 1.3vw, 1.1rem);
  }

  .accessories__body {
    padding: 4rem 2.4rem 2.5rem;
  }

  .accessories__heading {
    font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  }

  .accessories__desc p {
    font-size: clamp(0.85rem, 1.1vw, 0.98rem);
  }

  .accessories__desc li {
    font-size: clamp(0.82rem, 1vw, 0.92rem);
  }

  .accessories__desc ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 1.2rem;
  }

  .accessories__desc li {
    white-space: nowrap;
  }

  .accessories {
    padding-bottom: clamp(100vh, 120vh, 140vh);
  }

  .accessories__gallery {
    width: min(100%, 800px);
  }

  .premium__grid {
    gap: 0.8rem;
  }

  .premium__card-label {
    font-size: clamp(0.62rem, 0.82vw, 0.78rem);
    padding: 0.7rem 0.8rem;
  }
}

/* ══════════════════════════════
   Tractors Responsive — 1280px
   ══════════════════════════════ */
@media (max-width: 1280px) {
  .engines {
    min-height: 115vh;
  }

  .engines__inner {
    padding: 2rem 0 0;
  }

  .engines__bg-text {
    font-size: clamp(3.5rem, 10vw, 8rem);
  }

  .engines__media > img {
    max-height: 58vh;
  }

  .engines__content {
    max-width: 480px;
  }

  .engines__content h2 br,
  .engines__content p br {
    display: none;
  }

  .engines__content h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  }

  .engines__content p {
    font-size: clamp(0.88rem, 1.15vw, 1.15rem);
    line-height: 1.38;
  }

  .engines__variants {
    width: min(100%, 160px);
  }

  .airflow {
    min-height: 240vh;
  }

  .airflow__monitor {
    padding: 3.2rem 1.5rem 1.8rem;
  }

  .airflow__screen {
    width: min(100%, 720px);
    border-width: 8px;
  }

  .airflow__text h2 {
    font-size: clamp(1.1rem, 2.4vw, 2.1rem);
  }

  .airflow__text p {
    font-size: clamp(0.8rem, 1.15vw, 0.95rem);
    max-width: 400px;
  }

  .features {
    min-height: 130vh;
  }

  .features__stage {
    padding: 1rem 1.5rem;
  }

  .features__red-bg {
    width: min(68%, 520px);
  }

  .features__image-wrap {
    width: min(100%, 620px);
  }

  .construction {
    min-height: 130vh;
  }

  .construction__body {
    padding: 3.2rem 1.8rem 2rem;
  }

  .construction__heading {
    font-size: clamp(1.8rem, 3.8vw, 3.4rem);
    margin-bottom: 1.2rem;
  }

  .construction__grid {
    gap: 1.4rem;
  }

  .construction__photo {
    min-height: clamp(220px, 34vh, 420px);
  }

  .cfeature {
    padding: 0.85rem 0.8rem;
  }

  .cfeature strong {
    font-size: clamp(1rem, 1.7vw, 1.4rem);
  }

  .cfeature p {
    font-size: clamp(0.82rem, 1.15vw, 1rem);
  }

  .accessories {
    padding-bottom: clamp(90vh, 110vh, 130vh);
  }

  .accessories__body {
    padding: 2rem 1.8rem 1.5rem;
  }

  .accessories__desc {
    margin-bottom: 1rem;
  }

  .accessories__heading {
    font-size: clamp(1.8rem, 3.8vw, 3.4rem);
  }

  .accessories__desc p {
    font-size: clamp(0.82rem, 1vw, 0.92rem);
  }

  .accessories__desc li {
    font-size: clamp(0.78rem, 0.95vw, 0.88rem);
  }

  .accessories__desc ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 1rem;
  }

  .accessories__desc li {
    white-space: nowrap;
  }

  .accessories__gallery {
    width: min(90%, 560px);
    gap: 0.35rem;
  }

  .accessories__card-overlay span {
    font-size: clamp(0.78rem, 1.15vw, 1rem);
  }

  .premium__grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.65rem;
  }

  .premium__card-label {
    font-size: clamp(0.58rem, 0.72vw, 0.7rem);
    padding: 0.55rem 0.65rem;
  }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   Tractors Responsive â€” 900px
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 900px) {
  .engines { border-radius: 16px 16px 0 0; }
  .airflow  { border-radius: 16px 16px 0 0; }
  .features { border-radius: 16px 16px 0 0; }
  .construction { border-radius: 16px 16px 0 0; }
  .accessories  { border-radius: 16px 16px 0 0; }

  .engines__inner {
    min-height: unset;
    padding: 4rem 1rem 2.8rem;
    gap: 1.5rem;
    align-items: center;
  }

  .engines__content h2 { font-size: clamp(1.7rem, 3.9vw, 2.7rem); }
  .engines__content p  { font-size: clamp(0.95rem, 1.66vw, 1.25rem); }

  .airflow__monitor { padding: 4rem 1rem 1.5rem; }

  .features__stage { padding: 4rem 1.5rem 2rem; }

  .construction__body { padding: 4rem 1.5rem 2rem; }
  .construction__grid { gap: 1.2rem; }
  .cfeature strong { font-size: 1rem; }
  .cfeature p { font-size: 0.82rem; }

  .accessories__body { padding: 4rem 1.5rem 2rem; }
  /* ─── Accessories: mobile scroll-snap slider ─── */
  .accessories__gallery {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 1.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.6rem;
    padding: 0 1.5rem 1rem;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    width: calc(100% + 3rem);
    box-sizing: border-box;
    grid-template-columns: unset;
  }
  .accessories__gallery::-webkit-scrollbar { display: none; }
  .accessories__card {
    flex: 0 0 calc(100vw - 4rem);
    scroll-snap-align: start;
    aspect-ratio: 16 / 9;
  }
  .accessories__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
  }
  .accessories__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
  }
  .accessories__dot.is-active {
    background: #fff;
    transform: scale(1.3);
  }
  .slider {
    margin-top: clamp(-36px, -3.5vh, -14px);
    transform: translate3d(0, 12px, 0);
  }
  .faq {
    margin-top: clamp(-56px, -5vh, -24px);
    transform: translate3d(0, 20px, 0);
  }
  .dealer {
    margin-top: clamp(-44px, -4vh, -18px);
    transform: translate3d(0, 16px, 0);
  }
  .see-also {
    margin-top: clamp(-38px, -3.5vh, -16px);
    transform: translate3d(0, 14px, 0);
  }
  .premium__grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   Tractors Responsive â€” 680px
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 680px) {
  .hero__image-area {
    height: 78vh;
  }

  .hero__bg {
    background-image: url("assets/robot_baner_mobile.webp");
    background-position: center;
  }

  .hero__content {
    left: 1rem;
    right: 1rem;
    text-align: center;
    bottom: 6rem;
  }

  .hero__content h1 {
    font-size: clamp(1.85rem, 9vw, 2.8rem);
    line-height: 1.03;
  }

  #hero-badges .badges-strip__inner {
    padding: 0 1.2rem;
    gap: 0.5rem;
  }

  #hero-badges .badges-strip__inner img {
    max-height: min(8vh, 70px);
    max-width: 30%;
  }

  .badges-strip .badges-strip__inner {
    padding: 1rem 1.2rem 1.6rem;
    gap: 0.5rem;
  }

  .badges-strip .badges-strip__inner img {
    max-height: 80px;
    max-width: 30%;
  }

  .engines { border-radius: 12px 12px 0 0; }
  .airflow  { border-radius: 12px 12px 0 0; }
  .features { border-radius: 12px 12px 0 0; }
  .construction { border-radius: 12px 12px 0 0; }
  .accessories  { border-radius: 12px 12px 0 0; }

  .engines__bg-text {
    font-size: 5.5rem;
    letter-spacing: 0.03em;
  }

  .engines__inner {
    grid-template-columns: 1fr;
    align-items: center;
    padding: 3.5rem 1rem 2rem;
  }

  .engines__media {
    grid-row: 1;
    justify-content: center;
  }

  .engines__content {
    grid-row: 2;
  }

  .engines__badges {
    grid-row: 3;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1.5rem 1rem;
  }

  .engines__media > img { width: min(100%, 520px); max-height: 55vh; }

  .engines__content {
    grid-row: 2;
    text-align: center;
    padding: 1.5rem 1rem 0;
  }

  .engines__content h2 { font-size: clamp(1.55rem, 7.5vw, 2.1rem); }

  .engines__content p {
    margin-top: 1rem;
    font-size: 1.05rem;
    line-height: 1.45;
  }

  .engines__variants { margin: 1rem auto 0; }

  .airflow { min-height: 220vh; }
  .airflow__monitor { padding: 3.5rem 0.6rem 1rem; height: 100vh; }

  .airflow__screen {
    border-width: 6px;
    border-radius: 10px;
  }

  .airflow__text h2 { font-size: clamp(1.1rem, 5vw, 1.6rem); }
  .airflow__text p  { font-size: 0.82rem; line-height: 1.28; }
  .airflow__h2-br   { display: none; }
  .airflow__logo    { width: min(100%, 140px); }

  .features__stage {
    padding: 2rem 0.8rem 1.5rem;
    flex-direction: row;
    justify-content: center;
  }

  .features__mobile-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    position: absolute;
    top: 30%;
    transform: translateY(-190%);
    left: 0;
    right: 0;
    z-index: 3;
  }
  .features__mobile-badges img {
    max-height: 70px;
    width: auto;
    max-width: 28%;
  }

  .construction { min-height: auto; }
  .construction__body { padding: 3.5rem 1rem 2rem; }
  .construction__heading {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    margin-bottom: 1.2rem;
  }

  .construction__grid {
    flex-direction: column;
    gap: 1rem;
  }

  .construction__media { width: 100%; }
  .construction__photo { flex: none; min-height: 0; height: 38vh; }
  .construction__features { width: 100%; }
  .cfeature { padding: 0.9rem 0.4rem; }

  .accessories__gallery { gap: 0.4rem; }
  .slider {
    margin-top: clamp(-18px, -2.2vh, -8px);
    transform: translate3d(0, 8px, 0);
  }
  .faq {
    margin-top: clamp(-34px, -3.8vh, -14px);
    transform: translate3d(0, 14px, 0);
  }
  .dealer {
    margin-top: clamp(-26px, -3vh, -10px);
    transform: translate3d(0, 10px, 0);
  }
  .see-also {
    margin-top: clamp(-22px, -2.6vh, -9px);
    transform: translate3d(0, 9px, 0);
  }

  .premium__card--hide-mobile { display: none; }
  .slider__label-row { flex-direction: column; gap: 0.3rem; align-items: center; }
  .slide__cta { font-size: 0.82rem; padding: 0.65rem 1.6rem; }
  .spec-panel {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-height: 82%;
    border-radius: 16px 16px 0 0;
    transform: translateY(20px);
  }
  .spec-panel.is-open {
    transform: translateY(0);
  }
  .spec-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
  }
}

/* ═══════════════════════════════════════════════
   Very small phones – 390px
   ═══════════════════════════════════════════════ */
@media (max-width: 390px) {
  .engines__media > img { width: auto; max-width: 90%; max-height: 36vh; }

  .engines__content h2 { font-size: clamp(1.05rem, 5.8vw, 1.4rem); }

  .construction__heading {
    font-size: clamp(1.3rem, 7.5vw, 1.7rem);
  }

  .accessories { min-height: auto; }
  .accessories__body { padding: 3.5rem 1rem 1.8rem; }
  .accessories__heading {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    margin-bottom: 0.3rem;
  }

  .accessories__gallery { gap: 0.35rem; }

  .premium__grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .premium__card-label { font-size: 0.7rem; padding: 0.65rem 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .slider,
  .slider.is-visible,
  .faq,
  .faq.is-visible,
  .dealer,
  .dealer.is-visible,
  .see-also,
  .see-also.is-visible {
    transition: none;
    transform: none;
    opacity: 1;
    margin-top: 0;
  }
}

/* ═══════════════════════════════════════════════
   Spec Link (secondary text trigger)
   ═══════════════════════════════════════════════ */
.spec-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--red);
  font-family: var(--font, "Archivo", sans-serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(200,0,20,0.3);
  white-space: nowrap;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.spec-link:hover {
  color: #c00510;
  text-decoration-color: #c00510;
}

.spec-link.is-active {
  color: var(--red);
  text-decoration-color: var(--red);
}

.slider__label-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 0.25rem;
  opacity: 0;
  transition: opacity 0.4s;
}

[data-position="center"] .slider__label-row {
  opacity: 1;
}

.slide__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.8rem;
  padding: 0.75rem 2rem;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.4s 0.1s, background 0.2s;
  cursor: pointer;
}

.slide__cta:hover {
  background: #c00510;
}

[data-position="center"] .slide__cta {
  opacity: 1;
  pointer-events: auto;
}

/* ═══════════════════════════════════════════════
   Spec Panel (slide-in drawer)
   ═══════════════════════════════════════════════ */
.spec-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: fit-content;
  max-height: 100%;
  left: auto;
  width: min(100%, 340px);
  z-index: 10;
  background: #0c0c0c;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(20px);
  transition: opacity 0.25s, transform 0.28s cubic-bezier(0.22,1,0.36,1), visibility 0.25s;
}

.spec-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.spec-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: var(--red);
  flex-shrink: 0;
}

.spec-panel__header-text {
  min-width: 0;
}

.spec-panel__name {
  margin: 0 0 0.15rem;
  font-size: 0.58rem;
  font-weight: 700;
  color: rgba(255,255,255,0.72);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.spec-panel__model {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.spec-panel__close {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.45);
  background: transparent;
  color: rgba(255,255,255,0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  padding: 0;
  margin-top: 2px;
}

.spec-panel__close:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.7);
}

.spec-panel__body {
  overflow-y: auto;
  flex: 1;
  padding: 0.25rem 0 0.5rem;
}

.spec-panel__grid {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1rem;
  gap: 0;
  margin-bottom: 0;
}

.spec-panel__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.spec-panel__item:last-child { border-bottom: none; }

.spec-panel__item-icon {
  width: 16px;
  height: 16px;
  color: var(--red);
  flex-shrink: 0;
  opacity: 0.8;
}

.spec-panel__item-text {
  display: flex;
  flex-direction: column;
  gap: 0.06rem;
  min-width: 0;
}

.spec-panel__item-label {
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: left;
}

.spec-panel__item-val {
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  text-align: left;
}

.spec-panel__tags {
  display: none;
}

.spec-panel__tag {
  font-size: 0.58rem;
  font-weight: 700;
  color: #fff;
  background: var(--red);
  border: none;
  border-radius: 100px;
  padding: 0.2rem 0.6rem;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.spec-panel__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0 1rem 1rem;
  padding: 0.6rem 1rem;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.spec-panel__cta:hover {
  background: var(--red);
  border-color: var(--red);
}

/* Spec panel overlay (mobile backdrop) */
.spec-overlay {
  position: absolute;
  inset: 0;
  z-index: 9;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}


/* ════════════════════════════════════════════════════
   ZOBACZ TAKŻE
════════════════════════════════════════════════════ */

.see-also {
  position: sticky;
  top: 0;
  z-index: 12;
  background: #0c0c0c;
  padding: 5rem 4rem;
  overflow: hidden;
  margin-top: clamp(-80px, -6vh, -30px);
  transform: translate3d(0, 28px, 0);
  opacity: 0.98;
  transition: transform 0.65s var(--ease-out), opacity 0.45s ease;
  will-change: transform, opacity;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -10px 50px rgba(0,0,0,0.14);
}

.see-also.is-visible {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.see-also__content {
  flex: 1;
  min-width: 0;
}

.see-also__heading {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.see-also__heading span {
  color: var(--red);
}

/* ── Tiles grid ─────────────────────────────────── */
.see-also__tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.see-also__tile {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  text-decoration: none;
}

.see-also__tile-product,
.see-also__tile-cardboard {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Robot (center burst) – identical to hero-bg-reveal ── */
@keyframes see-also-tile-reveal {
  from {
    clip-path: polygon(
      50% 50%, 50% 50%, 50% 50%, 50% 50%,
      50% 50%, 50% 50%, 50% 50%, 50% 50%,
      50% 50%, 50% 50%, 50% 50%, 50% 50%
    );
    transform: scale(1.14);
  }
  20% {
    clip-path: polygon(
      42% 28%, 58% 22%, 72% 35%, 78% 52%,
      68% 70%, 52% 78%, 33% 70%, 22% 52%,
      28% 33%, 44% 24%, 56% 30%, 62% 48%
    );
    transform: scale(1.09);
  }
  to {
    clip-path: polygon(
      -12% -18%, 58% -28%, 118% -10%, 148% 44%,
      125% 112%, 65% 138%,  -8% 122%, -38%  78%,
      -32%  28%,  12% -22%,  55%  -5%, 105%  22%
    );
    transform: scale(1);
  }
}

/* ── Kosiarka (left-side burst) ── */
@keyframes see-also-tile-reveal-left {
  from {
    clip-path: polygon(
      25% 50%, 25% 50%, 25% 50%, 25% 50%,
      25% 50%, 25% 50%, 25% 50%, 25% 50%,
      25% 50%, 25% 50%, 25% 50%, 25% 50%
    );
    transform: scale(1.14);
  }
  20% {
    clip-path: polygon(
      17% 28%, 33% 22%, 47% 35%, 53% 52%,
      43% 70%, 27% 78%,  8% 70%, -3% 52%,
       3% 33%, 19% 24%, 31% 30%, 37% 48%
    );
    transform: scale(1.09);
  }
  to {
    clip-path: polygon(
      -12% -18%, 58% -28%, 118% -10%, 148% 44%,
      125% 112%, 65% 138%,  -8% 122%, -38%  78%,
      -32%  28%,  12% -22%,  55%  -5%, 105%  22%
    );
    transform: scale(1);
  }
}

/* Cardboard sits behind as a static background. */
.see-also__tile-cardboard {
  z-index: 1;
}

/* Product image: hidden at start, revealed permanently on first hover via JS */
.see-also__tile-product {
  z-index: 2;
  clip-path: polygon(
    50% 50%, 50% 50%, 50% 50%, 50% 50%,
    50% 50%, 50% 50%, 50% 50%, 50% 50%,
    50% 50%, 50% 50%, 50% 50%, 50% 50%
  );
  transform: scale(1.14);
}

/* Kosiarka (1st tile): burst starts from the left */
.see-also__tile:nth-child(1) .see-also__tile-product {
  clip-path: polygon(
    25% 50%, 25% 50%, 25% 50%, 25% 50%,
    25% 50%, 25% 50%, 25% 50%, 25% 50%,
    25% 50%, 25% 50%, 25% 50%, 25% 50%
  );
}

/* JS adds .is-revealed on first mouseenter – cardboard tears away, stays open */
.see-also__tile.is-revealed .see-also__tile-product {
  animation: see-also-tile-reveal 3s cubic-bezier(.16, 1, .3, 1) forwards;
}

.see-also__tile:nth-child(1).is-revealed .see-also__tile-product {
  animation-name: see-also-tile-reveal-left;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
  .see-also {
    padding: 3.5rem 1.5rem;
    border-radius: 16px 16px 0 0;
  }
  .see-also__tiles {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .see-also__heading {
    margin-bottom: 1.5rem;
  }
}

/* ╔══════════════════════════════════════════════════════════
   MOBILE PHONES ≤ 480 px — one section per screen
   ══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

  /* ─── All sticky sections: ensure each fills one full screen ─── */
  .engines,
  .features,
  .construction {
    min-height: 100dvh;
  }

  .airflow {
    min-height: 250dvh;
  }

  .airflow__monitor {
    height: 100dvh;
  }

  .accessories {
    min-height: 100dvh;
    padding-bottom: 25vh;
  }

  /* ─── Hero ─── */
  .hero__image-area {
    height: 90dvh;
  }

  .hero__content {
    left: 1.2rem;
    right: 1.2rem;
    bottom: 6.5rem;
    text-align: center;
  }

  .hero__content h1 {
    font-size: clamp(1.9rem, 10vw, 2.7rem);
  }

  /* ─── Badges strip ─── */
  #hero-badges .badges-strip__inner {
    padding: 0 1rem;
    gap: 0.6rem;
  }

  #hero-badges .badges-strip__inner img {
    max-height: min(8vh, 55px);
    max-width: 30%;
  }

  .badges-strip .badges-strip__inner {
    padding: 1rem 1rem 1.6rem;
    gap: 0.6rem;
  }

  .badges-strip .badges-strip__inner img {
    max-height: 70px;
    max-width: 30%;
  }

  /* ─── Engines ─── */
  .engines__inner {
    grid-template-columns: 1fr;
    padding: 4.5rem 1.2rem 2rem;
  }

  .engines__media {
    justify-content: center;
  }

  .engines__media > img {
    width: min(100%, 340px);
    max-height: 50vh;
  }

  .engines__content {
    text-align: center;
    padding: 1rem 0 0;
  }

  .engines__badges {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem 0 1.5rem;
  }

  .engines__content h2 {
    font-size: clamp(1.05rem, 5.8vw, 1.4rem);
  }

  .engines__content p br {
    display: none;
  }

  .engines__content p {
    font-size: 1rem;
    margin-top: 0.8rem;
  }

  .engines__variants {
    display: block;
    margin: 1rem auto 0;
    width: 50%;
  }

  /* ─── MaxAirflow: animation on top, text flows below ─── */
  .airflow__monitor {
    padding: 3.5rem 0.75rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
  }

  /* Screen becomes a flex column – border/bg/aspect-ratio moved to animation */
  .airflow__screen {
    aspect-ratio: unset;
    height: auto;
    display: flex;
    flex-direction: column;
    overflow: visible;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  /* Animation box: visible basket / tractor / grass scratch */
  .airflow__animation {
    position: relative;
    inset: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    border: 5px solid #2a2a2a;
    box-shadow: 0 0 40px rgba(0,0,0,0.55);
    flex-shrink: 0;
  }

  /* Text below the animation (no longer overlaid) */
  .airflow__text {
    position: relative;
    inset: auto;
    z-index: 4;
    padding: 1.4rem 0.5rem 1rem;
    background: transparent;
    justify-content: flex-start;
  }

  .airflow__text h2 {
    font-size: clamp(1.1rem, 6vw, 1.55rem);
  }

  .airflow__text p {
    font-size: 0.86rem;
    margin-top: 0.75rem;
    max-width: 100%;
  }

  .airflow__logo {
    width: min(100%, 130px);
    margin-top: 0.9rem;
  }

  /* Percent indicator in animation box */
  .airflow__percent {
    top: 0.6rem;
    right: 0.8rem;
  }

  .airflow__percent-num {
    font-size: 1rem;
  }

  .airflow__percent-label {
    font-size: 0.6rem;
  }

  /* ─── Features / Hotspot slider ─── */
  .features__stage {
    padding: 3.5rem 0.75rem 1.5rem;
    align-items: center;
  }

  /* Hotspot tooltips: keep readable on small screens */
  .hotspot__tooltip {
    width: min(220px, 80vw);
    font-size: 0.82rem;
  }

  /* ─── Construction ─── */
  .construction__body {
    padding: 3.5rem 1rem 2rem;
  }

  .construction__heading {
    font-size: clamp(1.6rem, 8vw, 2.4rem);
    margin-bottom: 1rem;
  }

  .construction__grid {
    flex-direction: column;
    gap: 0.8rem;
  }

  .construction__media {
    width: 100%;
  }

  .construction__photo { flex: none; min-height: 0; height: 34vh; }

  .construction__features {
    width: 100%;
  }

  .cfeature strong {
    font-size: 1.05rem;
  }

  .cfeature p {
    font-size: 0.83rem;
  }

  .accessories__body {
    padding: 3.5rem 1rem 2rem;
  }

  .accessories__heading {
    font-size: clamp(1.6rem, 8vw, 2.4rem);
  }

  /* Fix: body padding drops to 1rem per side — realign gallery bleed margins */
  .accessories__gallery {
    gap: 0.4rem;
    padding: 0 1rem 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    width: calc(100% + 2rem);
    scroll-padding-left: 1rem;
  }

  .accessories__card {
    flex: 0 0 calc(100vw - 3rem);
  }

  .premium__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }

  .premium__card-label {
    font-size: 0.65rem;
    padding: 0.55rem 0.6rem;
  }

  /* ─── Dealer ─── */
  .dealer__map iframe {
    min-height: 0;
  }

  /* ─── See also ─── */
  .see-also {
    padding: 3rem 1.2rem;
    border-radius: 12px 12px 0 0;
  }

  .see-also__tiles {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
}

/* === FAQ Section – Sticky with Overlap === */
.faq {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg-dark);
  margin-top: clamp(-72px, -6.5vh, -30px);
  transform: translate3d(0, 26px, 0);
  opacity: 0.98;
  transition: transform 0.65s var(--ease-out), opacity 0.45s ease;
  will-change: transform, opacity;
}

.faq.is-visible {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/* === Dealer Section – Sticky with Overlap === */
.dealer {
  position: sticky;
  top: 0;
  z-index: 11;
  background: var(--red);
  margin-top: clamp(-56px, -5vh, -22px);
  transform: translate3d(0, 20px, 0);
  opacity: 0.98;
  transition: transform 0.65s var(--ease-out), opacity 0.45s ease;
  will-change: transform, opacity;
}

.dealer.is-visible {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/* ═══════════════════════════════════════════════
   Series Filter Tabs
   ═══════════════════════════════════════════════ */
.slider__filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.6rem 2rem 0;
  flex-wrap: wrap;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: rgba(0,0,0,0.04);
  color: rgba(0,0,0,0.5);
  font-family: var(--font, "Archivo", sans-serif);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
  white-space: nowrap;
}

.filter-tab:hover {
  background: rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.3);
  color: #000;
  transform: translateY(-1px);
}

.filter-tab.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.filter-tab__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: rgba(0,0,0,0.10);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0;
}

.filter-tab.is-active .filter-tab__count {
  background: rgba(255,255,255,0.28);
}

/* ═══════════════════════════════════════════════
   Series UPS Panel
   ═══════════════════════════════════════════════ */
.series-ups {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.series-ups.has-content {
  max-height: 200px;
}

.series-ups__panel {
  display: none;
  padding: 1.1rem 2rem 0;
  text-align: center;
}

.series-ups__panel.is-active {
  display: block;
}

.series-ups__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.series-ups__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 1.4rem;
}

.series-ups__list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: rgba(0,0,0,0.62);
  line-height: 1.5;
}

.series-ups__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

/* Slider counter (shown when > 8 slides) */
.slider__counter {
  text-align: center;
  margin-top: 1.8rem;
  padding: 0;
  height: 10px;
  line-height: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(0,0,0,0.35);
  letter-spacing: 0.1em;
  pointer-events: none;
}

/* Hide default dots when counter active */
.slider__dots.use-counter {
  display: none;
}

@media (max-width: 768px) {
  .slider__filter { padding: 1rem 1rem 0; gap: 0.35rem; }
  .filter-tab { font-size: 0.65rem; padding: 0.45rem 0.9rem; }
  .series-ups__panel { padding: 0.8rem 1rem 0; }
  .series-ups__list { gap: 0.3rem 0.8rem; }
  .series-ups__list li { font-size: 0.82rem; }
}


