.hero {
  background: radial-gradient(circle at 78% 52%, #303238 0, #1d1f23 34%, #0b0c0e 72%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.hero-shade {
  background: linear-gradient(90deg, rgba(8, 9, 10, .98) 0%, rgba(8, 9, 10, .76) 42%, rgba(8, 9, 10, .08) 72%);
}

.hero-products {
  position: absolute;
  right: -4vw;
  top: 6%;
  width: min(63vw, 980px);
  height: 82%;
  z-index: 1;
}

.hero-products::before {
  content: "";
  position: absolute;
  left: 14%;
  right: 8%;
  bottom: 2%;
  height: 13%;
  background: #000;
  filter: blur(35px);
  opacity: .65;
  border-radius: 50%;
}

.hero-box {
  position: absolute;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 28px 28px rgba(0, 0, 0, .45));
}

.hero-box-open {
  width: 78%;
  right: 0;
  top: 0;
  transform: rotate(-2deg);
}

.hero-box-fason {
  width: 53%;
  left: 3%;
  bottom: -2%;
  transform: rotate(2deg);
}

.offer-card {
  min-height: 480px;
  overflow: hidden;
}

.product-pair {
  height: 205px;
  position: relative;
  margin: 0 -16px 10px;
}

.product-pair .product-zoom {
  position: absolute;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.product-pair .product-zoom img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 12px rgba(0, 0, 0, .32));
  transition: transform .25s ease;
}

.product-pair.klapowe .product-zoom:first-child {
  width: 66%;
  left: -2%;
  bottom: 2%;
}

.product-pair.klapowe .product-zoom:last-child {
  width: 69%;
  right: -5%;
  top: -2%;
}

.product-pair.fasonowe .product-zoom:first-child {
  width: 67%;
  left: -4%;
  bottom: 0;
}

.product-pair.fasonowe .product-zoom:last-child {
  width: 70%;
  right: -8%;
  top: -4%;
}

.cta {
  align-items: flex-end;
}

.cta-heading {
  max-width: 660px;
}

.contact-details {
  width: min(430px, 100%);
  border-top: 1px solid rgba(255, 255, 255, .26);
}

.contact-details a,
.contact-details address {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  text-decoration: none;
  font-style: normal;
}

.contact-details a:hover strong {
  color: var(--red);
}

.contact-details small {
  color: #8d8e92;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.contact-details strong {
  font-size: .9rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.footer-company p {
  margin: 2px 0;
}

.word-safe {
  white-space: nowrap;
  font-kerning: normal;
  letter-spacing: 0;
}

button.button {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.quote-dialog {
  width: min(680px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 44px;
  border: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .35);
}

.quote-dialog::backdrop {
  background: rgba(7, 8, 10, .78);
  backdrop-filter: blur(5px);
}

.quote-dialog h2 {
  margin: 16px 0 30px;
  font: 800 clamp(2.4rem, 5vw, 4rem)/.95 "Barlow Condensed", Arial, sans-serif;
  text-transform: uppercase;
}

.dialog-close {
  position: absolute;
  top: 15px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--black);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

.quote-dialog form,
.quote-dialog label {
  display: grid;
  gap: 8px;
}

.quote-dialog form { gap: 20px; }
.quote-dialog label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.quote-dialog input,
.quote-dialog textarea {
  width: 100%;
  border: 1px solid #cfcfcb;
  border-radius: 0;
  padding: 13px 14px;
  background: #f7f7f4;
  color: var(--ink);
  font: 1rem/1.4 Inter, Arial, sans-serif;
  text-transform: none;
  letter-spacing: 0;
}

.quote-dialog input:focus,
.quote-dialog textarea:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}

.quote-dialog .button { width: 100%; }
.form-note { margin: -8px 0 0; color: #777; font-size: .76rem; }
.form-privacy { margin: -8px 0 0; color: #666; font-size: .74rem; line-height: 1.55; }
.form-privacy a { color: var(--ink); font-weight: 700; }
.form-honey { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { min-height: 1.5em; margin: -10px 0 0; font-size: .82rem; font-weight: 700; text-transform: none; letter-spacing: 0; }
.form-status.success { color: #237a3b; }
.form-status.error { color: #b42318; }
.quote-dialog .button:disabled { cursor: wait; opacity: .68; transform: none; }

@media (max-width: 850px) {
  .hero-shade {
    background: linear-gradient(180deg, rgba(8, 9, 10, .22) 0%, rgba(8, 9, 10, .72) 43%, rgba(8, 9, 10, .98) 72%);
  }

  .hero-products {
    right: -25%;
    top: 2%;
    width: 125%;
    height: 52%;
    opacity: .9;
  }

  .hero-box-open { width: 74%; }
  .hero-box-fason { width: 49%; left: 9%; bottom: -4%; }
  .contact-details { width: 100%; }
  .quote-dialog { padding: 34px 20px 24px; }
  .form-row { grid-template-columns: 1fr; }
}

.print-zoom {
  display: block;
  width: calc(100% + 20px);
  height: 220px;
  margin: 0 -10px 5px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.print-product {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 14px 12px rgba(0, 0, 0, .32));
  transition: transform .25s ease;
}

.product-zoom:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

@media (hover: hover) {
  .offer-card:hover {
    background: #191a1d;
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
    z-index: 1;
  }

  .product-zoom:hover img,
  .offer-card:hover .product-zoom img {
    transform: scale(1.045);
  }
}

.image-lightbox {
  width: min(1000px, calc(100% - 32px));
  max-width: 1000px;
  padding: 54px 24px 22px;
  border: 1px solid #353638;
  background: #111214;
  color: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
}

.image-lightbox::backdrop {
  background: rgba(5, 6, 7, .88);
  backdrop-filter: blur(5px);
}

.image-lightbox img {
  display: block;
  width: 100%;
  height: min(70vh, 720px);
  object-fit: contain;
}

.image-lightbox p {
  margin: 12px 0 0;
  text-align: center;
  color: #ccc;
  font-size: .9rem;
}

.image-lightbox-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  background: var(--red);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 850px) {
  .print-zoom { height: 185px; }
  .image-lightbox { padding: 50px 12px 16px; }
  .image-lightbox img { height: 65vh; }
}
