.home-showcase {
  padding-top: 64px;
  background: #fff;
}

.home-showcase .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.catalog-showcase__title span::before {
  content: " ";
}

.home-showcase__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  grid-template-rows: auto auto auto;
  gap: 24px;
  font-family: "sora";
  align-items: stretch;
}

/* Intro */
.home-showcase__intro {
  padding: 0px 8px 36px 8px;
}

.home-showcase__tag {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 24px;
  border-radius: 999px;
  background: #6cc04a;
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 6px;
  box-shadow: inset 0px 4px 4px 0px rgba(0, 0, 0, 0.3);
}

.home-showcase__title {
  margin: 0 0 20px;
  font-size: 42px;
  line-height: 1;
  font-weight: 700;
  color: #0033aa;
  max-width: 520px;
}

.home-showcase__description {
  margin: 0;
  max-width: 430px;
  font-size: 18px;
  line-height: 1.6;
  color: #666;
}

/* Cards base */
.home-showcase__main-card,
.home-showcase__secondary-card-monitor,
.home-showcase__secondary-card-mobile,
.home-showcase__video-card,
.home-showcase__catalog-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 28px;
  text-decoration: none;
}

/* Main card */
.home-showcase__main-card {
  min-height: 640px;
  padding: 40px;
  background: #0033aa;
  color: #fff;
  box-shadow: inset 0 0 15em 5em rgb(0 0 0 / 30%);
}

.home-showcase__main-content {
  position: relative;
  z-index: 2;
  max-width: 360px;
}

.home-showcase__main-kicker {
  display: block;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.home-showcase__main-title {
  margin: 0 0 16px;
  font-size: 56px;
  line-height: 1;
  font-weight: 800;
}

.home-showcase__main-text {
  margin: 0 0 24px;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 500;
}

.home-showcase__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 12px;
  background: #6cc04a;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.home-showcase__button-secondary {
  position: absolute;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 16px 20px;
  border-radius: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 8px 24px rgba(0, 0, 0, 0.12);
  background: rgba(60, 53, 46, 0.3);
  backdrop-filter: blur(2px);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: transform 0.7s ease;
}

.home-showcase__button-secondary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.18) 18%,
    rgba(255, 255, 255, 0.02) 42%,
    rgba(255, 255, 255, 0.02) 58%,
    rgba(255, 255, 255, 0.22) 82%,
    rgba(255, 255, 255, 0.45) 100%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.home-showcase__main-image {
  position: absolute;
  right: -30px;
  top: 160px;
  width: 320px;
  z-index: 1;
}

.home-showcase__main-image-bottom {
  position: absolute;
  left: 40px;
  bottom: 20px;
  width: 280px;
  z-index: 1;
}
.home-showcase__main-image-off {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 560px;
  z-index: 0;
}
.home-showcase__main-image-bottom img {
  display: block;
  width: 80%;
  height: auto;
}

.home-showcase__main-image-off img {
  display: block;
  width: 100%;
  height: auto;
}

.home-showcase__main-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* Secondary card */
.home-showcase__secondary-card-monitor {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 290px;
  padding: 24px 0;
  background: linear-gradient(135deg, #2f4d8c, #5fb857);
  color: #fff;
  box-shadow: inset 0px 5px 4px 0px rgba(0, 0, 0, 0.3);
}

.home-showcase__secondary-card-mobile {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 290px;
  padding: 32px;
  margin: 16px;
  background: linear-gradient(135deg, #2f4d8c, #5fb857);
  color: #fff;
  box-shadow: inset 0px 5px 4px 0px rgba(0, 0, 0, 0.3);
}

.home-showcase__secondary-image {
  flex: 0 0 42%;
  transition: transform 0.7s ease;
}

.home-showcase__secondary-image img {
  display: block;
  height: auto;

  position: relative;
  left: -35px;
}

.home-showcase__secondary-card-monitor:hover .home-showcase__secondary-image {
  transform: scale(1.25) rotate(-5deg) translateY(-16px);
}

.home-showcase__secondary-card-monitor:hover .home-showcase__button-secondary {
  transform: translateX(80px);
}

.home-showcase__secondary-content {
  flex: 1;
  width: 50%;
  position: relative;
  left: -35px;
}

.home-showcase__secondary-title {
  margin: 0 0 24px;
  font-size: 38px;
  line-height: 1.1;
  font-weight: 700;
}

/* Video card */
.home-showcase__video-card {
  min-height: 210px;
  background: #222;
  aspect-ratio: 16 / 7;
}

.home-showcase__video-thumb,
.home-showcase__video-thumb img {
  display: block;
  width: 100%;
  height: 100%;
}

.home-showcase-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.home-showcase__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.home-showcase__video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  display: none;
}

.home-showcase__video-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.home-showcase__video-thumb img {
  object-fit: cover;
  filter: blur(3px);
  transition: filter 0.3s ease;
}

.home-showcase__video-card:hover .home-showcase__video-thumb img {
  filter: blur(0px);
}

.home-showcase__video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-showcase__video-play span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 38px;
}

/* Catalog card */
.home-showcase__catalog-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 210px;
  padding: 32px;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: inset 0px 3px 2px 0px rgba(0, 0, 0, 0.3);
}

.home-showcase__catalog-content {
  max-width: 320px;
}

.home-showcase__catalog-title {
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 700;
  color: #0033aa;
}

.home-showcase__catalog-text {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: #666;
}

.home-showcase__catalog-arrow-content {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: end;
}

.home-showcase__catalog-arrow {
  font-size: 48px;
  line-height: 1;
  color: #333;
}

.home-showcase__catalog-arrow img {
  width: 50px;
}

.home-showcase__bottom-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* Mobile */
@media (max-width: 991px) {
  .home-showcase__grid {
    grid-template-columns: 1fr;
  }

  .home-showcase__title {
    font-size: 42px;
  }

  .home-showcase__main-card {
    min-height: 420px;
  }

  .home-showcase__main-image {
    position: static;
    width: 220px;
    margin: 32px 0 0 auto;
  }

  .home-showcase__secondary-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .home-showcase__bottom-row {
    display: none;
  }
  .home-showcase__secondary-card-monitor {
    display: none;
  }
  .home-showcase__secondary-card-mobile {
    display: flex;
  }

  .home-showcase__secondary-image {
    flex: none;
    width: 50%;
    max-width: 260px;
  }
}

@media (max-width: 575px) {
  .home-showcase {
    padding-top: 32px;
  }

  .home-showcase .container {
    padding: 0 16px;
  }

  .home-showcase__grid {
    gap: 16px;
  }

  .home-showcase__title {
    font-size: 34px;
  }

  .home-showcase__main-text {
    font-size: 16px;
  }

  .home-showcase__description {
    font-size: 16px;
  }

  .home-showcase__button {
    font-size: 16px;
  }

  .home-showcase__main-image {
    position: absolute;
    margin: 0;
    right: -15px;
    bottom: 0;
  }

  .home-showcase__main-image-bottom {
    position: absolute;
    margin: 0;
    left: 16px;
    bottom: 16px;
    width: 50%;
  }

  .home-showcase__main-card,
  .home-showcase__secondary-card-mobile,
  .home-showcase__catalog-card {
    padding: 24px;
    border-radius: 20px;
  }

  .home-showcase__main-card {
    position: relative;
    min-height: 450px;
  }

  .home-showcase__main-title {
    font-size: 32px;
  }

  .home-showcase__main-kicker {
    font-size: 24px;
  }

  .home-showcase__secondary-title,
  .home-showcase__catalog-title {
    font-size: 22px;
  }

  .home-showcase__video-card,
  .home-showcase__catalog-card {
    min-height: 180px;
  }

  .home-showcase__video-play span {
    width: 72px;
    height: 72px;
    font-size: 28px;
  }

  .home-showcase__main-image-off {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 355px;
    z-index: 0;
  }
}
