.hero {
  position: relative;
  overflow: hidden;
  color: #eef0ed;
  background:
    radial-gradient(circle at 25% 92%, rgba(112, 135, 101, 0.9) 0 20%, rgba(112, 135, 101, 0.2) 37%, transparent 58%),
    radial-gradient(circle at 88% 0%, rgba(91, 111, 78, 0.5) 0 16%, transparent 45%),
    linear-gradient(142deg, #071204 8%, #1a2c16 55%, #061004 100%);
}

.hero__content {
  min-height: clamp(780px, calc(100svh - var(--header-height) - 10px), 1010px);
  display: grid;
  grid-template-columns: minmax(580px, 1.08fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: clamp(14px, 3vw, 58px);
  padding-block: 84px 72px;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: #d7dad6;
  font-family: var(--font-display);
  font-size: clamp(3rem, 3.15vw, 60px);
  font-weight: 400;
  line-height: 1.42;
}

.hero h1 span {
  display: block;
}

.hero strong {
  color: #f3f4f1;
  font-weight: 700;
}

.hero p {
  margin: 48px 0 0;
  color: #f2f2ef;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 1.45vw, 28px);
  font-weight: 600;
  line-height: 1.35;
}

.hero__media {
  width: min(48vw, 810px);
  justify-self: end;
  aspect-ratio: 1 / 0.84;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 28px 30px rgba(0, 0, 0, 0.26));
}

.partners {
  padding-block: 24px 28px;
  background: linear-gradient(90deg, #e9ede7, #f1f3ef);
  text-align: center;
}

.partners h2,
.about-preview h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.partners__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  align-items: center;
  gap: 18px;
}

.partners__grid img {
  width: 100%;
  height: 104px;
  object-fit: contain;
}

.about-preview__panel,
.cta__panel {
  border-radius: 35px;
  box-shadow: var(--shadow-panel);
}

.about-preview__panel {
  min-height: 669px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 8.45%;
  background: var(--color-panel);
}

.about-preview__panel p {
  max-width: 900px;
  margin: 0 0 34px;
  font-size: clamp(1.2rem, 1.31vw, 25px);
  line-height: 36.3px;
}

.about-preview__panel .btn {
  align-self: flex-start;
  min-width: 180px;
}

.solutions {
  text-align: center;
}

.solutions h2 {
  margin: 38px 0 60px;
  color: var(--color-moss);
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 4.17vw, 80px);
  font-weight: 600;
  line-height: 1.15;
}

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

.product-card {
  position: relative;
  min-width: 0;
  height: 549px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--color-panel);
  text-align: left;
}

.product-card__header {
  min-height: 94px;
  display: flex;
  align-items: center;
  padding: 0 130px 0 36px;
}

.product-card h3 {
  margin: 0;
  color: var(--color-moss);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.56vw, 30px);
  font-weight: 600;
  line-height: 1.25;
}

.product-card__link {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  padding: 14px;
  border-radius: 0 0 0 28px;
  background: var(--color-paper);
  color: var(--color-moss);
  transition: transform 180ms ease;
}

.product-card__link::before,
.product-card__link::after {
  position: absolute;
  width: 28px;
  height: 28px;
  content: "";
  pointer-events: none;
}

.product-card__link::before {
  top: 0;
  left: -28px;
  background: radial-gradient(circle at 0 100%, transparent 28px, var(--color-paper) 28.5px);
}

.product-card__link::after {
  right: 0;
  bottom: -28px;
  background: radial-gradient(circle at 0 100%, transparent 28px, var(--color-paper) 28.5px);
}

.product-card__link svg {
  width: 68px;
  height: 68px;
  padding: 13px;
  border-radius: 19px;
  background: #d1d1d1;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.5;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.product-card__link:hover svg,
.product-card__link:focus-visible svg {
  background: #c6c6c4;
  box-shadow: 0 10px 18px rgba(35, 44, 28, 0.18);
  transform: scale(1.08) translate(2px, -2px);
}

.product-card__link:active svg {
  transform: scale(1.01) translate(1px, -1px);
}

.product-card img {
  width: 100%;
  height: 455px;
  padding: 8px 12px 20px;
  object-fit: contain;
}

.solutions__button {
  min-width: 260px;
  margin-top: 40px;
}

.cta__panel {
  min-height: 708px;
  display: grid;
  place-items: center;
  padding: 80px 8%;
  background:
    linear-gradient(
      180deg,
      rgba(59, 65, 38, 0.055) 0%,
      rgba(105, 116, 68, 0.045) 50%,
      rgba(247, 247, 245, 0.95) 100%
    ),
    var(--color-paper);
  text-align: center;
}

.cta h2 {
  max-width: 1230px;
  margin: 0;
  background: linear-gradient(180deg, #3b4126 0%, #434c27 58%, #49522d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(3rem, 4.43vw, 85px);
  font-weight: 500;
  line-height: 1.45;
}

.cta h2 strong {
  display: block;
  font-weight: 850;
}

.cta p {
  max-width: 1500px;
  margin: 42px 0 56px;
  color: var(--color-moss);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.82vw, 35px);
  font-weight: 500;
  line-height: 1.45;
}

@media (max-width: 1120px) {
  .hero__content {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__media {
    width: min(100%, 620px);
    justify-self: center;
  }

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

@media (max-width: 920px) {
  .hero__content {
    padding-block: 58px 46px;
  }

  .hero h1 {
    font-size: 2.7rem;
    line-height: 1.25;
  }

  .hero p {
    margin-top: 36px;
    font-size: 1.7rem;
  }

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

  .about-preview__panel,
  .cta__panel {
    min-height: 0;
    padding: 42px 26px;
    border-radius: 22px;
  }

  .section-line--left {
    margin-left: 0;
  }

  .solutions h2,
  .cta h2 {
    font-size: 2.6rem;
    line-height: 1.18;
  }

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

  .product-card {
    height: auto;
  }

  .product-card__header {
    min-height: 78px;
    padding: 0 104px 0 24px;
  }

  .product-card__link {
    padding: 10px;
    border-radius: 0 0 0 22px;
  }

  .product-card__link::before,
  .product-card__link::after {
    width: 22px;
    height: 22px;
  }

  .product-card__link::before {
    left: -22px;
    background: radial-gradient(circle at 0 100%, transparent 22px, var(--color-paper) 22.5px);
  }

  .product-card__link::after {
    bottom: -22px;
    background: radial-gradient(circle at 0 100%, transparent 22px, var(--color-paper) 22.5px);
  }

  .product-card__link svg {
    width: 58px;
    height: 58px;
    padding: 11px;
  }

  .product-card img {
    height: 260px;
  }

  .solutions__button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .hero h1,
  .solutions h2,
  .cta h2 {
    font-size: 2.15rem;
  }

  .btn {
    width: 100%;
    min-height: 58px;
    padding-inline: 18px;
    font-size: 0.92rem;
  }

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