/* Oferta — katalogowy hub handlowy */
.offer-page {
  --offer-ink: #18382f;
  --offer-forest: #244b3e;
  --offer-moss: #667c65;
  --offer-sand: #ead8aa;
  --offer-paper: #fbfaf6;
  --offer-line: #d9dfd7;
}

.offer-page .offer-hero {
  overflow: hidden;
  padding: clamp(48px, 7vw, 86px) 0 0;
  color: #f7f5ed;
  background:
    radial-gradient(circle at 88% 3%, rgba(226, 202, 148, .19), transparent 28%),
    linear-gradient(135deg, #18372f, #285043 64%, #214238);
  border: 0;
}

.offer-page .offer-hero .shop-hero-layout {
  display: block;
}

.offer-page .offer-hero .shop-hero-copy > .eyebrow {
  margin-bottom: 15px;
  color: #ddcba3;
  letter-spacing: .14em;
}

.offer-page .offer-hero h1 {
  max-width: 930px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.55rem, 5.5vw, 5rem);
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.offer-page .offer-hero .lead {
  max-width: 780px;
  margin: 22px 0 32px;
  color: rgba(255, 255, 255, .8);
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  line-height: 1.55;
}

.offer-page .offer-paths {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 18px;
  margin-top: 0;
}

.offer-page .offer-path {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(250px, 1.1fr);
  min-height: 290px;
  overflow: hidden;
  color: #243f36;
  background: #f8f7f2;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 22px 5px 22px 5px;
  box-shadow: 0 22px 55px rgba(7, 27, 21, .24);
  transition: transform .25s ease, box-shadow .25s ease;
}

.offer-page .offer-path:last-child {
  grid-template-columns: minmax(210px, .86fr) minmax(220px, 1.14fr);
}

.offer-page .offer-path:hover {
  transform: translateY(-5px);
  color: #18382f;
  background: #fff;
  border-color: rgba(255, 255, 255, .52);
  box-shadow: 0 30px 68px rgba(7, 27, 21, .3);
}

.offer-page .offer-path > img,
.offer-page .offer-path > .shop-choice-images {
  width: 100%;
  height: 100%;
  min-height: 290px;
  background: #e6e1d6;
}

.offer-page .offer-path > img {
  object-fit: cover;
  object-position: 52% center;
  filter: saturate(.87) contrast(1.04);
}

.offer-page .offer-path .shop-choice-images {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
}

.offer-page .offer-path .shop-choice-images img {
  width: 100%;
  height: 145px;
  padding: 5px;
  object-fit: contain;
  background: linear-gradient(135deg, #f1ede3, #e4ddd0);
  mix-blend-mode: multiply;
}

.offer-page .offer-path .shop-choice-body {
  align-content: center;
  gap: 14px;
  padding: clamp(24px, 3vw, 38px);
}

.offer-page .offer-path .shop-choice-body strong {
  color: var(--offer-ink);
  font-size: clamp(1.38rem, 2.3vw, 2rem);
  line-height: 1.12;
}

.offer-page .offer-path .shop-choice-body > span:not(.shop-choice-action) {
  color: #52615b;
  font-size: .94rem;
  line-height: 1.65;
}

.offer-page .offer-path .shop-choice-action {
  width: max-content;
  max-width: 100%;
  margin-top: 5px;
  padding-bottom: 5px;
  color: #285443;
  border-bottom: 1px solid #91a293;
}

.offer-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(36px, 5vw, 58px);
  border-top: 1px solid rgba(255, 255, 255, .14);
}

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

.offer-facts > div {
  display: grid;
  gap: 3px;
  padding: 22px 22px 25px;
  border-right: 1px solid rgba(255, 255, 255, .14);
}

.offer-facts > div:last-child {
  border-right: 0;
}

.offer-facts strong {
  color: #f0dfb4;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.1;
}

.offer-facts span {
  color: rgba(255, 255, 255, .68);
  font-size: .75rem;
  letter-spacing: .035em;
}

.offer-page .offer-timber,
.offer-page .offer-products {
  padding-top: clamp(72px, 8vw, 112px);
  padding-bottom: clamp(72px, 8vw, 112px);
}

.offer-page .offer-timber {
  background: linear-gradient(180deg, #faf9f5, #fff 480px);
}

.offer-page .offer-section-heading {
  align-items: end;
  gap: 35px 70px;
  margin-bottom: 34px;
}

.offer-page .offer-section-heading h2 {
  max-width: 720px;
  color: var(--offer-ink);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.offer-page .offer-section-heading > p {
  max-width: 610px;
  margin: 0;
  color: #53645d;
  line-height: 1.72;
}

.offer-species-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.offer-species-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--offer-line);
  border-radius: 18px 4px 18px 4px;
  box-shadow: 0 10px 30px rgba(26, 53, 43, .07);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.offer-species-card:hover {
  transform: translateY(-5px);
  border-color: #b8c5ba;
  box-shadow: 0 20px 42px rgba(26, 53, 43, .13);
}

.offer-species-image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e6e2d8;
}

.offer-species-image::after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent, rgba(14, 37, 29, .27));
}

.offer-species-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85) contrast(1.04);
  transition: transform .5s ease;
}

.offer-species-card:hover .offer-species-image img {
  transform: scale(1.04);
}

.offer-species-image-portrait img {
  object-position: center 38%;
}

.offer-species-image > span {
  position: absolute;
  z-index: 1;
  right: 13px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  color: #1c4134;
  background: #efddaf;
  border-radius: 12px 3px 12px 3px;
  font-size: .71rem;
  font-weight: 850;
}

.offer-species-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.offer-species-latin {
  margin: 0 0 7px;
  color: #718075;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.offer-species-body h3 {
  margin: 0 0 12px;
  color: var(--offer-ink);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.15;
}

.offer-species-body > p:not(.offer-species-latin) {
  margin: 0;
  color: #53625c;
  font-size: .9rem;
  line-height: 1.65;
}

.offer-species-body dl {
  margin: 19px 0 20px;
  border-top: 1px solid #e0e4dd;
}

.offer-species-body dl > div {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e0e4dd;
}

.offer-species-body dt {
  color: #79857d;
  font-size: .69rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.offer-species-body dd {
  margin: 0;
  color: #27463a;
  font-size: .81rem;
  font-weight: 800;
}

.offer-species-body .text-link {
  align-self: flex-start;
  margin-top: auto;
  color: #285745;
  font-weight: 800;
  line-height: 1.45;
}

.offer-section-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 30px;
  padding: 22px 24px;
  background: #f0f3ec;
  border-left: 4px solid #70866f;
  border-radius: 4px 14px 14px 4px;
}

.offer-section-action p {
  max-width: 760px;
  margin: 0;
  color: #485b53;
  line-height: 1.65;
}

.offer-section-action .button {
  flex: 0 0 auto;
}

.offer-page .offer-order {
  padding-top: clamp(72px, 8vw, 104px);
  padding-bottom: clamp(72px, 8vw, 104px);
  background:
    radial-gradient(circle at 8% 15%, rgba(214, 190, 138, .2), transparent 29%),
    #edf1ea;
}

.offer-order-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 36px 0 26px;
  padding: 0;
  list-style: none;
}

.offer-order-steps::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 37px;
  right: 10%;
  left: 10%;
  height: 2px;
  background: linear-gradient(90deg, #789077, #c6ae76);
}

.offer-order-steps li {
  position: relative;
  z-index: 1;
  min-height: 230px;
  padding: 22px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid #d9e0d7;
  border-radius: 16px 4px 16px 4px;
  box-shadow: 0 8px 26px rgba(27, 56, 45, .06);
}

.offer-order-steps li > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 42px;
  color: #fff;
  background: var(--offer-forest);
  border-radius: 50%;
  font-size: .68rem;
  font-weight: 850;
  box-shadow: 0 0 0 6px #fff;
}

.offer-order-steps strong {
  display: block;
  margin-bottom: 10px;
  color: var(--offer-ink);
  font-size: 1.12rem;
}

.offer-order-steps p {
  margin: 0;
  color: #56665f;
  font-size: .9rem;
  line-height: 1.62;
}

.offer-order-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 25px 28px;
  color: #f7f5ee;
  background: var(--offer-ink);
  border-radius: 5px 16px 5px 16px;
}

.offer-order-action p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  line-height: 1.6;
}

.offer-order-action strong {
  color: #fff;
}

.offer-order-action .button {
  flex: 0 0 auto;
  color: #17382e;
  background: var(--offer-sand);
  border-color: var(--offer-sand);
}

.offer-page .offer-products {
  background: #fff;
}

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

.offer-product-card {
  overflow: hidden;
  background: var(--offer-paper);
  border: 1px solid var(--offer-line);
  border-radius: 18px 4px 18px 4px;
  box-shadow: 0 10px 30px rgba(26, 53, 43, .065);
  transition: transform .24s ease, box-shadow .24s ease;
}

.offer-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 43px rgba(26, 53, 43, .12);
}

.offer-product-image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #f2efe6, #e7e1d5);
}

.offer-product-image img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 12px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .45s ease;
}

.offer-product-card:hover .offer-product-image img {
  transform: scale(1.035);
}

.offer-product-image span {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(28, 65, 52, .9);
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.offer-product-card > div {
  padding: 24px;
}

.offer-product-card p.offer-product-unit {
  margin: 0 0 10px;
  color: #65756e;
  font-size: .76rem;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.offer-product-card .offer-product-unit strong {
  color: var(--offer-ink);
}

.offer-product-card h3 {
  margin: 0 0 11px;
  color: var(--offer-ink);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.offer-product-card p {
  margin: 0 0 20px;
  color: #56655f;
  line-height: 1.65;
}

.offer-product-card .text-link {
  color: #285745;
  font-weight: 800;
}

.offer-products-action {
  display: flex;
  justify-content: center;
  margin: 28px 0 0;
}

.offer-confirm {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(530px, 1.4fr);
  gap: 42px;
  padding: clamp(30px, 5vw, 54px);
  color: #f7f5ef;
  background:
    radial-gradient(circle at 90% 10%, rgba(221, 197, 143, .18), transparent 27%),
    linear-gradient(135deg, #193b31, #285044);
  border-radius: 24px 6px 24px 6px;
  box-shadow: 0 18px 52px rgba(23, 53, 42, .15);
}

.offer-confirm-heading .eyebrow {
  color: #dccba3;
}

.offer-confirm-heading h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.offer-confirm-heading > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  line-height: 1.65;
}

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

.offer-confirm-grid > div {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 4px 12px;
  padding: 18px;
  background: rgba(255, 255, 255, .075);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px 3px 12px 3px;
}

.offer-confirm-grid span {
  grid-row: 1 / 3;
  color: #decba0;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
}

.offer-confirm-grid strong {
  color: #fff;
}

.offer-confirm-grid small {
  color: rgba(255, 255, 255, .67);
  line-height: 1.45;
}

.offer-knowledge {
  margin: 24px 0 0;
  padding: 20px 22px;
  color: #4d5e57;
  background: #f1f3ed;
  border-left: 4px solid #718670;
  border-radius: 4px 13px 13px 4px;
  line-height: 1.65;
}

.offer-knowledge a {
  color: #285846;
  font-weight: 750;
}

.offer-contact {
  padding: clamp(62px, 8vw, 94px) 0;
  color: #f7f4ea;
  background:
    linear-gradient(90deg, rgba(21, 51, 41, .95), rgba(25, 61, 49, .87)),
    url("/images/banery/magazyn.webp") center 56% / cover no-repeat;
}

.offer-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 50px;
  align-items: center;
}

.offer-contact .eyebrow {
  color: #dfcda3;
}

.offer-contact h2 {
  max-width: 820px;
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.offer-contact p:last-child {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .76);
  line-height: 1.7;
}

.offer-contact-actions {
  display: grid;
  gap: 11px;
  justify-items: start;
}

.offer-contact-actions .button {
  margin-bottom: 7px;
  color: #17382e;
  background: #eddbac;
  border-color: #eddbac;
}

.offer-contact-actions > a:not(.button) {
  color: #fff;
  font-weight: 750;
  text-decoration-color: rgba(255, 255, 255, .45);
  text-underline-offset: 4px;
}

@media (max-width: 1120px) {
  .offer-page .offer-path,
  .offer-page .offer-path:last-child {
    grid-template-columns: 1fr;
  }

  .offer-page .offer-path > img,
  .offer-page .offer-path > .shop-choice-images {
    height: 220px;
    min-height: 220px;
  }

  .offer-page .offer-path .shop-choice-images {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
  }

  .offer-page .offer-path .shop-choice-images img {
    height: 220px;
  }

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

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

  .offer-order-steps::before {
    display: none;
  }

  .offer-confirm {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .offer-page .offer-hero {
    padding-top: 40px;
  }

  .offer-page .offer-hero h1 {
    font-size: clamp(2.3rem, 11vw, 3.55rem);
  }

  .offer-page .offer-paths,
  .offer-products-grid {
    grid-template-columns: 1fr;
  }

  .offer-page .offer-section-heading {
    display: block;
  }

  .offer-page .offer-section-heading h2 {
    margin-bottom: 15px;
  }

  .offer-section-action,
  .offer-order-action {
    align-items: flex-start;
    flex-direction: column;
  }

  .offer-products-action {
    justify-content: flex-start;
    margin-bottom: 50px;
  }

  .offer-contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 560px) {
  .offer-page .offer-path > img,
  .offer-page .offer-path > .shop-choice-images,
  .offer-page .offer-path .shop-choice-images img {
    height: 175px;
    min-height: 175px;
  }

  .offer-page .offer-path .shop-choice-body {
    padding: 23px;
  }

  .offer-species-grid,
  .offer-order-steps,
  .offer-confirm-grid {
    grid-template-columns: 1fr;
  }

  .offer-order-steps li {
    min-height: auto;
  }

  .offer-order-steps li > span {
    margin-bottom: 25px;
  }

  .offer-confirm {
    padding: 26px 20px;
    border-radius: 17px 4px 17px 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer-page .offer-path,
  .offer-species-card,
  .offer-species-image img,
  .offer-product-card,
  .offer-product-image img {
    transition: none;
  }
}
