/* Final readability adjustment for small screens: copy remains legible over product artwork. */
.hero-copy { z-index: 2; }

/* Tone down the catalog artwork for a more realistic industrial presentation. */
.hero-product img {
  filter: saturate(.72) brightness(.90) contrast(1.08) drop-shadow(24px 28px 24px rgba(0, 0, 0, .42));
}

.product-card img {
  filter: saturate(.70) brightness(.91) contrast(1.09) drop-shadow(0 15px 13px rgba(7, 29, 54, .16));
}

.product-card {
  background: #f0f2f2;
}

.product-card.featured {
  background: #dfe6eb;
}

.detail-crumbs {
  padding: 34px clamp(20px, 7vw, 110px) 0;
  margin: 0;
  color: #7c8994;
}

.detail-crumbs a {
  color: #071d36;
  text-decoration: none;
}

.hero-cover {
  position: absolute;
  z-index: 1;
  right: clamp(18px, 4vw, 70px);
  bottom: 72px;
  width: min(48vw, 690px);
  height: min(31vw, 440px);
  min-height: 340px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 28px 55px rgba(0, 0, 0, .32);
}

.hero-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 29, 54, .55), transparent 34%);
  pointer-events: none;
}

.hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
  filter: saturate(.78) brightness(.78) contrast(1.08);
}

.hero {
  background-color: #071d36;
  background-image:
    linear-gradient(90deg, rgba(7, 29, 54, .94) 0%, rgba(7, 29, 54, .82) 34%, rgba(7, 29, 54, .48) 62%, rgba(7, 29, 54, .20) 100%),
    url("assets/homepage-main-background.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-grid,
.orange-orbit {
  display: none;
}

.hero-copy {
  text-shadow: 0 3px 22px rgba(0, 0, 0, .28);
  max-width: min(630px, 100%);
  min-width: 0;
}

.hero-copy h1 {
  max-width: 100%;
}

/* Stronger company signature in the homepage header. */
body:not(.internal-page) > .site-header {
  height: 98px;
}

body:not(.internal-page) > .site-header .logo {
  gap: 14px;
  font-size: 13px;
  line-height: 1.08;
  letter-spacing: 1.6px;
}

body:not(.internal-page) > .site-header .logo b {
  font-size: 20px;
  letter-spacing: 2.6px;
}

body:not(.internal-page) > .site-header .logo-mark {
  width: 53px;
  height: 53px;
  border-width: 3px;
  font-size: 16px;
}

@media (max-width: 850px) {
  body:not(.internal-page) > .site-header {
    height: 76px;
  }

  body:not(.internal-page) > .site-header .logo {
    gap: 10px;
    font-size: 10px;
  }

  body:not(.internal-page) > .site-header .logo b {
    font-size: 16px;
  }

  body:not(.internal-page) > .site-header .logo-mark {
    width: 44px;
    height: 44px;
    border-width: 2px;
    font-size: 13px;
  }

  .hero {
    background-image:
      linear-gradient(180deg, rgba(7, 29, 54, .88) 0%, rgba(7, 29, 54, .66) 60%, rgba(7, 29, 54, .38) 100%),
      url("assets/homepage-main-background.png");
    background-position: center center;
  }

  .hero-cover {
    right: 18px;
    bottom: 58px;
    width: calc(100% - 36px);
    height: 225px;
    min-height: 0;
    opacity: .86;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
  }
}

@media (max-width: 520px) {
  h1,
  h2 {
    overflow-wrap: anywhere;
  }

  .hero-copy h1 {
    font-size: 52px;
    line-height: .94;
  }

  html[lang="ru"] .hero-copy h1 {
    font-size: 44px;
  }
}

/* A catalog-authentic brand plate for products whose source image has no clear wordmark. */
.catalog-image .product-brand,
.detail-visual .product-brand,
.product-card .product-brand {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  left: auto;
  display: flex;
  width: 94px;
  height: 34px;
  padding: 6px 9px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .90);
  border: 1px solid rgba(7, 29, 54, .11);
  box-shadow: 0 7px 18px rgba(7, 29, 54, .09);
  pointer-events: none;
}

.catalog-image .product-brand img,
.detail-visual .product-brand img,
.product-card .product-brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none !important;
  transform: none !important;
  max-width: none;
  margin: 0;
}

.product-card .product-brand {
  width: 88px;
  height: 32px;
}

.detail-visual .product-brand {
  width: 116px;
  height: 42px;
  top: 22px;
  right: 22px;
}

@media (max-width: 600px) {
  .catalog-image .product-brand {
    top: 12px;
    right: 12px;
    width: 82px;
    height: 30px;
    padding: 5px 7px;
  }

  .detail-visual .product-brand {
    top: 16px;
    right: 16px;
    width: 96px;
    height: 36px;
  }
}

/* Preserve the supplied 16:9 factory footage without stretching or cropping. */
.video-stack figure,
.media-frame {
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(7, 29, 54, .18);
}

.video-stack video.factory-video,
.media-frame video.factory-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #020b13;
  filter: contrast(1.045) saturate(.92) brightness(1.015);
}

.video-stack figcaption {
  display: flex;
  align-items: center;
  gap: 4px;
}

.video-stack figcaption small {
  margin-left: auto;
  color: #8fa2b4;
  font-size: 8px;
  letter-spacing: 1.2px;
}

.all-products-action {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid #d9dddd;
}

.all-products-action .button {
  min-width: 245px;
}

.all-products-action p {
  margin: 0;
  color: #627080;
  font-size: 12px;
}

@media (max-width: 850px) {
  .section-heading {
    flex-direction: column;
    gap: 14px;
  }

  .section-heading .text-link {
    display: inline-flex;
    margin-top: 8px;
  }

  .all-products-action {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
  }

  .all-products-action .button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .video-stack figcaption small {
    display: none;
  }
}
