/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   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) ── */
.badges-strip {
  position: relative;
  z-index: 2;
  background: #fff;
}

/* Hero badges: absolute on bottom of hero, slides up after delay */
#hero-badges {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  transform: translateY(100%);
  transition: transform 0.75s var(--ease-out);
}

#hero-badges.is-visible {
  transform: translateY(0);
}

#hero-badges .badges-strip__inner {
  opacity: 1;
  transform: none;
  transition: none;
}

.badges-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.5rem 4rem 2rem;
  border-top: 1.5px solid rgba(0,0,0,0.07);
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s var(--ease-out) 0.2s;
}

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

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

/* ── Hero ── */
.hero {
  position: sticky;
  top: 0;
  z-index: 1;
  width: 100%;
  background: #000;
  /* scroll budget: hero image stays pinned while the user scrolls 35vh
     before badges start entering the viewport from below */
  padding-bottom: 35vh;
}

.hero__image-area {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/baner.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/Karton_traktor.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;
  right: clamp(3rem, 12vw, 14rem);
  bottom: clamp(1.5rem, 8vh, 4.8rem);
  text-align: right;
  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: 100vh;
  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-width: var(--section-max-w);
  width: 100%;
  margin: 0 auto;
  min-height: 660px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 5rem 3rem 2.4rem;
}

.engines__media {
  flex: 1 1 56%;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  overflow: visible;
}

.engines__media img {
  width: min(100%, 760px);
  height: auto;
  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;
}

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



.engines__content {
  flex: 1 1 44%;
  max-width: 560px;
  text-align: right;
  padding-bottom: 1.1rem;
  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.22;
}

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

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

/* â”€â”€ MaxAirflow â”€â”€ */
.airflow {
  position: sticky;
  top: 0;
  z-index: 4;
  background: var(--bg-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -10px 50px rgba(0,0,0,0.20);
  overflow: hidden;
}

.airflow__monitor {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem 2.5rem;
}

.airflow__screen {
  position: relative;
  width: min(100%, 960px);
  aspect-ratio: 16 / 10;
  background: #111;
  border-radius: 14px;
  border: 10px solid #2a2a2a;
  box-shadow: 0 0 50px rgba(0,0,0,.6);
  overflow: hidden;
}

.airflow__percent {
  position: absolute;
  top: 0.9rem;
  right: 1.3rem;
  z-index: 5;
  color: #7dc87d;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0,0,0,.7);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
  gap: 0.05em;
}

.airflow__percent-num {
  font-size: clamp(0.95rem, 1.6vw, 1.3rem);
  font-weight: 800;
}

.airflow__percent-label {
  font-size: clamp(0.55rem, 0.85vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}

.airflow__basket {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.airflow__tractor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
}

.airflow__grass {
  position: absolute;
  inset: 0;
  z-index: 3;
  transform: translateY(100%);
  transition: transform 3.5s var(--ease-out);
}

.airflow__grass img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.airflow__grass canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  cursor: none;
}

/* Animation wrapper – on desktop fills the whole screen (absolute),
   on mobile becomes a regular block with aspect-ratio (see 480px media) */
.airflow__animation {
  position: absolute;
  inset: 0;
}

.airflow.is-visible .airflow__grass {
  transform: translateY(0);
}

.airflow__text {
  position: absolute;
  inset: 0;
  z-index: 4;
  padding: clamp(1.2rem, 4vw, 3.5rem) clamp(1.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.airflow__text h2 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.5s, transform 0.6s var(--ease-out) 0.5s;
}

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

.airflow__text p {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.7s, transform 0.6s var(--ease-out) 0.7s;
}

.airflow.is-visible .airflow__text p {
  opacity: 1;
  transform: translateY(0);
}

.airflow__logo {
  opacity: 0;
  transition: opacity 0.6s ease 0.9s;
}

.airflow.is-visible .airflow__logo {
  opacity: 1;
}

.airflow__text h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.3rem, 3.4vw, 3.075rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,.7), 0 0 2px rgba(0,0,0,.9);
}

.airflow__al-ko {
  color: var(--red);
}

.airflow__text p {
  margin: 1.1rem 0 0;
  max-width: 520px;
  color: rgba(255,255,255,.95);
  font-size: clamp(0.92rem, 1.55vw, 1.25rem);
  font-weight: 500;
  line-height: 1.45;
  text-shadow: 0 1px 6px rgba(0,0,0,.8), 0 0 2px rgba(0,0,0,.9);
}

.airflow__text p em {
  font-style: normal;
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-shadow: 0 1px 4px rgba(0,0,0,.9);
}

.airflow__logo {
  margin-top: auto;
  align-self: flex-end;
  margin-left: auto;
  width: min(100%, 210px);
  height: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.6));
}

/* 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: 100vh;
  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;
}

.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__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.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: 100vh;
  display: flex;
  flex-direction: column;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -10px 50px rgba(0,0,0,0.14);
  overflow: hidden;
}

.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: flex-start;
  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;
}

.construction__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
}

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

.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;
}

/* â”€â”€ Accessories (dark) â”€â”€ */
.accessories {
  position: relative;
  z-index: 7;
  background: var(--bg-dark);
  min-height: auto;
  display: flex;
  flex-direction: column;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -10px 50px rgba(0,0,0,0.22);
  overflow: hidden;
}

.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: italic;
  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(0.9rem, 1.2vw, 1.05rem);
  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.85rem, 1.1vw, 0.95rem);
  font-weight: 500;
  line-height: 1.55;
}

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

.accessories__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.accessories__card {
  position: relative;
  border-radius: 6px;
  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;
  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;
  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;
}

.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;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   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 1.5rem 2.8rem;
    gap: 0;
    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__gallery { gap: 0.4rem; }
  .premium__grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
}

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

  .hero__bg {
    background-image: url("assets/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;
  }

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

  .badges-strip__inner img {
    max-height: 70px;
    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 {
    flex-direction: column;
    padding: 3.5rem 1rem 2rem;
    gap: 0.2rem;
  }

  .engines__media {
    width: 100%;
    justify-content: center;
  }

  .engines__media img { width: min(100%, 520px); }

  .engines__content {
    max-width: 100%;
    text-align: left;
    padding-bottom: 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.3;
  }

  .engines__variants { margin: 1rem auto 0; }

  .airflow { min-height: auto; }
  .airflow__monitor { padding: 3.5rem 0.6rem 1rem; }

  .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: 3.5rem 0.8rem 1.5rem; }

  .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__features { width: 100%; }
  .cfeature { padding: 0.9rem 0.4rem; }
}

/* ═══════════════════════════════════════════════
   Very small phones – 390px
   ═══════════════════════════════════════════════ */
@media (max-width: 390px) {
  .engines__media img { width: min(100%, 320px); }

  .engines__content h2 { font-size: clamp(1.35rem, 8vw, 1.7rem); }

  .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 {
    grid-template-columns: 1fr 1fr;
    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; }
  .premium__card--hide-mobile { display: none; }
}

/* ═══════════════════════════════════════════════
   Spec Button (slider loupe hotspot)
   ═══════════════════════════════════════════════ */
.spec-btn {
  position: absolute;
  right: 18%;
  bottom: 32%;
  z-index: 5;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: var(--red);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s 0.15s, transform 0.2s;
  box-shadow: 0 4px 18px rgba(227,6,19,0.45);
}

.spec-btn::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(227,6,19,0.5);
  animation: hotspot-pulse 2s ease-out infinite;
}

.spec-btn:hover {
  transform: scale(1.12);
  background: #c00510;
}

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

/* ═══════════════════════════════════════════════
   Spec Panel (inline overlay on slide, hotspot-style)
   ═══════════════════════════════════════════════ */
.spec-panel {
  position: absolute;
  top: 50%;
  right: 0;
  bottom: auto;
  left: auto;
  width: min(100%, 270px);
  z-index: 10;
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow-y: auto;
  max-height: 90%;
  padding: 1.2rem 1.2rem 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%) translateX(10px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}

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

.spec-panel__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  padding: 0;
}

.spec-panel__close:hover { color: #fff; }

.spec-panel__name {
  margin: 0 0 0.12rem;
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.spec-panel__model {
  margin: 0 0 0.9rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.15;
  padding-right: 1.6rem;
}

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

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

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

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

.spec-panel__item-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.spec-panel__item-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: left;
}

.spec-panel__item-val {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  line-height: 1.2;
  text-align: left;
}

.spec-panel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 0.8rem;
}

.spec-panel__tag {
  font-size: 0.58rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 0.16rem 0.55rem;
  white-space: nowrap;
}

.spec-panel__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.55rem 1rem;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

.spec-panel__cta:hover { background: #c00510; }


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

.see-also {
  --sidebar-w: 3rem;
  position: relative;
  z-index: 11;
  background: #0c0c0c;
  padding: 5rem 4rem 5rem calc(var(--sidebar-w) + 3rem);
  overflow: hidden;
}

.see-also__sidebar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 2.2rem;
  z-index: 2;
}

.see-also__sidebar-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.see-also__sidebar-line {
  flex: 1;
  width: 1px;
  background: rgba(255,255,255,0.15);
  min-height: 40px;
  margin-top: 0.75rem;
}

.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 3.5rem calc(var(--sidebar-w) + 1.5rem);
  }
  .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 and accessories had min-height:auto at 680px — restore here */
  .airflow {
    min-height: 100dvh;
  }

  .accessories {
    min-height: 100dvh;
  }

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

  .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 ─── */
  .badges-strip__inner {
    padding: 1.2rem 1rem 1.4rem;
    gap: 0.6rem;
  }

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

  /* ─── Engines ─── */
  .engines__inner {
    min-height: unset;
    flex-direction: column;
    padding: 4.5rem 1.2rem 2rem;
    justify-content: center;
    gap: 0.8rem;
  }

  .engines__media {
    width: 100%;
    flex: 0 0 auto;
    justify-content: center;
  }

  .engines__media img {
    width: min(100%, 380px);
  }

  .engines__content {
    text-align: justify;
    text-align-last: center;
    max-width: 100%;
    flex: 0 0 auto;
    padding-bottom: 0;
  }

  .engines__content h2 {
    /* font-size: clamp(1.6rem, 8.5vw, 2.4rem); */
    font-size: clamp(1.35rem, 8vw, 1.7rem);
  }

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

  .engines__variants {
    margin: 1rem auto 0;
    width: min(100%, 160px);
  }

  /* ─── 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__features {
    width: 100%;
  }

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

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

  /* ─── Accessories ─── */
  .accessories__body {
    padding: 3.5rem 1rem 2rem;
  }

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

  .accessories__gallery {
    grid-template-columns: 1fr 1fr;
    gap: 0.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 1rem 3rem calc(var(--sidebar-w) + 1rem);
  }

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