.reveal,
.reveal--left,
.reveal--right,
.reveal--scale {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal--left { transform: translateX(-40px); }

.reveal--right { transform: translateX(40px); }

.reveal--scale { opacity: 0; transform: scale(0.95); }

.reveal.is-visible,
.reveal--left.is-visible,
.reveal--right.is-visible,
.reveal--scale.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.word-reveal .wr-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.word-reveal.is-visible .wr-word {
  opacity: 1;
  transform: translateY(0);
}

.card-spotlight {
  --spot-x: 50%;
  --spot-y: 50%;
}

.card-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(450px circle at var(--spot-x) var(--spot-y), rgba(46, 107, 138, 0.09) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.card-spotlight:hover::before {
  opacity: 1;
}

.glow-card {
  position: relative;
  --glow-start: 0;
  --glow-spread: 40;
  --glow-active: 0;
  --glow-border-width: 3px;
  --glow-gradient:
    radial-gradient(circle, #F6D307 10%, #F6D30700 20%),
    radial-gradient(circle at 40% 40%, #E5C306 5%, #E5C30600 15%),
    radial-gradient(circle at 60% 60%, #C8A90A 10%, #C8A90A00 20%),
    radial-gradient(circle at 40% 60%, #2E6B8A 10%, #2E6B8A00 20%),
    repeating-conic-gradient(from 236.84deg at 50% 50%, #F6D307 0%, #E5C306 5%, #C8A90A 10%, #2E6B8A 15%, #F6D307 20%);
}

.glow-card__border,
.glow-card__glow,
.glow-card__glow .glow-inner {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.glow-card__border {
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: opacity 0.3s ease;
  z-index: 0;
}

.glow-card__glow {
  z-index: 0;
}

.glow-card__glow .glow-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: var(--glow-border-width) solid transparent;
  background: var(--glow-gradient);
  background-attachment: fixed;
  opacity: var(--glow-active);
  transition: opacity 0.3s ease;
  -webkit-mask-clip: padding-box, border-box;
  mask-clip: padding-box, border-box;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  -webkit-mask-image: linear-gradient(#0000, #0000), conic-gradient(from calc((var(--glow-start) - var(--glow-spread)) * 1deg), #00000000 0deg, #fff, #00000000 calc(var(--glow-spread) * 2deg));
  mask-image: linear-gradient(#0000, #0000), conic-gradient(from calc((var(--glow-start) - var(--glow-spread)) * 1deg), #00000000 0deg, #fff, #00000000 calc(var(--glow-spread) * 2deg));
}

.glow-card > *:not(.glow-card__border):not(.glow-card__glow) {
  position: relative;
  z-index: 1;
}

.glow-card.is-glowing {
  box-shadow: 0 0 24px -6px rgba(246, 211, 7, 0.16), 0 0 24px -6px rgba(46, 107, 138, 0.14);
}

.hero {
      background:
        linear-gradient(115deg, rgba(10,10,11,0.9), rgba(10,10,11,0.42)),
        url("../../images/nowe/agregat-profil-boczny.png") center/cover no-repeat;
      overflow: hidden;
    }

.hero__grid {
      min-height: 66vh;
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 2rem;
      align-items: end;
    }

.hero__eyebrow,
.hero__headline,
.hero__lead,
.hero__actions,
.hero__card {
  opacity: 0;
  transform: translateY(28px);
  animation: heroEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__eyebrow { animation-delay: 0.15s; }
.hero__headline { animation-delay: 0.35s; }
.hero__lead { animation-delay: 0.6s; }
.hero__actions { animation-delay: 0.85s; }
.hero__card { animation-delay: 1.05s; }

@keyframes heroEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__actions {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      margin-top: 2rem;
    }

.hero__card {
      align-self: end;
      padding: 1.5rem;
      background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

.hero__stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
      margin-top: 1.2rem;
    }

.hero__stat {
      padding-top: 1rem;
      border-top: 1px solid rgba(255,255,255,0.12);
    }

.hero__stat strong {
      display: block;
      font-size: 1.35rem;
      color: var(--white);
    }

.grid-2 {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 3rem;
      align-items: start;
    }

.section--product-philosophy {
      overflow: hidden;
    }

.grid-2--product-philosophy {
      grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
      gap: clamp(2rem, 2vw, 3rem);
      align-items: stretch;
    }

.card {
      background: var(--bg-soft);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 2rem;
      transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }

.card:hover,
.usage-card:hover,
.range-card:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 211, 7, 0.2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.feature-list {
      display: grid;
      gap: 1.25rem;
      margin-top: 2rem;
    }

.product-philosophy {
      display: grid;
      gap: 2rem;
      align-content: start;
      padding-top: 0.5rem;
    }

.product-philosophy__intro {
      max-width: 58ch;
    }

.product-philosophy__intro p {
      margin-bottom: 0;
    }

.feature-list--product-philosophy {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1.5rem;
      margin-top: 0;
    }

.feature-list--product-philosophy .card {
      min-height: 100%;
      padding: 1.75rem;
    }

.product-philosophy__media {
      position: relative;
      display: flex;
      align-items: center;
      min-height: 100%;
      padding: 2rem 0;
    }

.product-philosophy__media::before {
      content: "";
      position: absolute;
      inset: 8% -10% -10% 20%;
      background: radial-gradient(circle, rgba(46, 107, 138, 0.16), transparent 68%);
      pointer-events: none;
      z-index: 0;
      filter: blur(10px);
    }

.product-philosophy__media .media {
      position: sticky;
      top: calc(var(--nav-height-offset) + 1.25rem);
      width: 100%;
      aspect-ratio: 1 / 1;
      max-height: 460px;
      z-index: 1;
    }

.feature-list--construction {
      margin-top: 0;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      align-content: start;
      gap: 1.5rem;
    }

.feature-list .card h3, .range-card h3, .usage-card h3, .detail h3 { margin-bottom: 0.5rem; }

.media {
      position: relative;
      display: grid;
      place-items: center;
      overflow: hidden;
      border-radius: var(--radius);
      border: 1px solid var(--line);
      aspect-ratio: 4 / 3;
      background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
      max-height: 450px;
      width: 100%;
      transition: transform 0.45s cubic-bezier(0.03, 0.98, 0.52, 0.99), box-shadow 0.35s ease;
      transform-style: preserve-3d;
      box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
    }

.media img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      transition: transform 0.45s cubic-bezier(0.03, 0.98, 0.52, 0.99);
      image-rendering: -webkit-optimize-contrast;
      image-rendering: crisp-edges;
}

.media--product {
      padding: 0;
      background:
        radial-gradient(circle at top, rgba(255,255,255,0.08), transparent 48%),
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
    }

.media--product img {
      object-fit: cover;
      object-position: center center;
      filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
      width: 100%;
      height: 100%;
    }

.media--photo img {
      object-fit: cover;
      width: 100%;
      height: 100%;
    }

.media--focus-center img { object-position: center center; }

.media--focus-right img {
      object-position: center center;
      object-fit: cover;
    }

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

.media--product:hover img {
  transform: scale(1.08);
}

.usage-grid, .range-grid, .detail-grid {
      display: grid;
      gap: 1.5rem;
    }

.usage-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.range-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

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

.section--technical.section--technical-intro {
      padding-bottom: clamp(1.5rem, 1rem + 2vw, 3rem);
    }

.section--technical.section--technical-followup {
      padding-top: clamp(1.5rem, 1rem + 2vw, 3rem);
    }

.section--technical.section--technical-middle {
      padding-top: clamp(1.5rem, 1rem + 2vw, 3rem);
      padding-bottom: clamp(1.5rem, 1rem + 2vw, 3rem);
    }

.section--technical.section--technical-outro {
      padding-top: clamp(1.5rem, 1rem + 2vw, 3rem);
    }

.section--technical .card {
      padding: clamp(1.75rem, 1.4rem + 0.9vw, 2.4rem);
    }

.section--technical .card h2,
.section--technical .card h3 {
      margin-bottom: 0.75rem;
    }

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

.detail-grid--construction > .media {
      aspect-ratio: 3 / 2;
      max-height: none;
      min-height: 0;
    }

.detail-grid--construction > .media img {
      object-fit: cover;
      object-position: center center;
    }

.detail-grid--construction > .feature-list {
      gap: 1.25rem;
    }

.usage-card, .range-card {
      padding: 2rem;
      border-radius: var(--radius);
      border: 1px solid var(--line);
      background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
      transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }

.range-card .power {
      display: inline-block;
      margin-bottom: 1rem;
      color: var(--accent);
      font-weight: 800;
      font-size: 1.35rem;
    }

.table-wrap {
      overflow-x: auto;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--bg-soft);
      position: relative;
    }

table {
      width: 100%;
      border-collapse: collapse;
      min-width: 760px;
    }

th, td {
      text-align: left;
      padding: 1rem 1.1rem;
      border-bottom: 1px solid var(--line);
      font-size: 0.96rem;
      transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
    }

th {
      color: var(--white);
      background: rgba(255,255,255,0.03);
    }

tbody tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

tbody tr:hover td:first-child {
  color: var(--accent);
}

.closing {
      padding: 2rem;
      border: 1px solid rgba(246,211,7,0.24);
      border-radius: var(--radius);
      background: linear-gradient(135deg, rgba(246,211,7,0.12), rgba(131,167,187,0.06));
    }

.closing__inner {
  position: relative;
  border-radius: inherit;
}

@media (max-width: 980px) {
.hero__grid, .grid-2, .detail-grid, .usage-grid, .range-grid { grid-template-columns: 1fr; gap: 1.5rem; }

.hero__stats { grid-template-columns: 1fr; }

.grid-2--product-philosophy {
    grid-template-columns: 1fr;
  }

.feature-list--product-philosophy {
    grid-template-columns: 1fr;
  }

.product-philosophy {
    gap: 1.5rem;
    padding-top: 0;
  }

.product-philosophy__intro {
    max-width: none;
  }

.product-philosophy__media {
    min-height: 0;
  }

.product-philosophy__media::before {
    inset: 6% -8% auto 8%;
    height: 60%;
  }

.product-philosophy__media .media {
    position: relative;
    top: auto;
    aspect-ratio: 16 / 10;
    max-height: none;
  }

.media {
    aspect-ratio: 4 / 3;
    max-height: none;
    min-height: 280px;
  }

.media--product {
    padding: 0;
  }

.media--product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

.feature-list--construction {
    grid-template-columns: 1fr;
  }

.detail-grid--construction > .media {
    aspect-ratio: 16 / 9;
  }

}

@media (max-width: 1024px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .grid-2--product-philosophy {
    grid-template-columns: 1fr;
  }

  .product-philosophy__media .media {
    position: relative;
    top: auto;
  }
}

@media (max-width: 768px) {
  .products__image {
    min-height: 240px;
    max-height: 340px;
  }

  .media {
    min-height: 220px;
    max-height: none;
  }

  .product-philosophy__media .media {
    max-height: none;
  }

  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table {
    min-width: 600px;
  }

  .usage-grid,
  .range-grid {
    gap: var(--space-md);
  }

  .feature-list--construction {
    gap: var(--space-md);
  }
}

@media (max-width: 640px) {
  .hero__grid { min-height: auto; }

  .card { padding: 1.5rem; }

  .usage-card, .range-card { padding: 1.5rem; }

  .range-card .power { font-size: 1.15rem; }

  .media { min-height: 200px; }

  .feature-list--product-philosophy { gap: 1rem; }

  .feature-list--product-philosophy .card { padding: 1.25rem; }

  .closing { padding: 1.5rem; }

  table { min-width: 560px; }
}

@media (max-width: 480px) {
  /* Card layout dla tabel */
  .table-wrap {
    border: none;
    background: transparent;
  }

  table, thead, tbody, th, td, tr {
    display: block;
  }

  thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  tr {
    margin-bottom: var(--space-md);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-soft);
    padding: var(--space-md);
  }

  td {
    border: none;
    position: relative;
    padding-left: 50%;
    text-align: right;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  td:before {
    content: attr(data-label);
    position: absolute;
    left: var(--space-md);
    width: 45%;
    padding-right: var(--space-sm);
    white-space: nowrap;
    font-weight: 600;
    color: var(--white);
    text-align: left;
  }

  td:first-child {
    padding-top: var(--space-md);
  }

  td:last-child {
    padding-bottom: var(--space-md);
  }

  .products__image {
    min-height: 200px;
    max-height: 280px;
  }

  .media {
    min-height: 180px;
  }

  .usage-grid,
  .range-grid,
  .detail-grid {
    gap: var(--space-sm);
  }
}

@media (max-width: 375px) {
  .card { padding: 1.25rem; }

  .usage-card, .range-card { padding: 1.25rem; }

  .range-card .power { font-size: 1rem; }

  .media { min-height: 150px; }

  .closing { padding: 1rem; }

  .hero__stat strong { font-size: 1.1rem; }

  .feature-list .card h3, .range-card h3, .usage-card h3, .detail h3 {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__eyebrow,
  .hero__headline,
  .hero__lead,
  .hero__actions,
  .hero__card,
  .reveal,
  .reveal--left,
  .reveal--right,
  .reveal--scale,
  .word-reveal .wr-word {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}
