.heroBlock {
  position: relative;
  color: #fff;
  background-color: #1c1c1c;
  background-size: cover;
  background-position: center;
  padding: 270px 0 80px 0; /* big hero */
}

/* Background video layer (optional) */
.heroBlock__video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.heroBlock__videoEl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heroBlock__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 6.342%, #1c1c1c 100%);
  pointer-events: none;
}

.heroBlock__container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  width: 90%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.heroBlock__titleGroup {
  display: grid;
  gap: 12px;
  justify-items: center;
}
.heroBlock__title {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 66px;
  line-height: 1.2;
  font-weight: 400;
  color: #cecece;
}
.heroBlock__title .heroBlock__main.heroBlock__main--noAccent {
  color: #ffffff;
  font-weight: 400;
}
.heroBlock__pre {
  color: #cecece;
  font-weight: 400;
}
.heroBlock__main {
  color: #ffffff;
  font-weight: 700;
}
.heroBlock__sub {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 66px;
  line-height: 1.2;
  font-weight: 400;
  color: #cecece;
}

.heroBlock__text {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  line-height: 1.7;
  max-width: 572px;
  margin: 0 auto 24px auto;
  color: #ffffff;
}

.heroBlock__badges {
  display: inline-flex;
  gap: 24px;
  margin: 8px 0 24px 0;
}
.heroBlock__badge {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 30px;
  border: 0;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 20px;
  gap: 5px;
}
.heroBlock__badge svg {
  width: 15px;
  height: 12px;
}

.heroBlock__actions {
  display: inline-flex;
  gap: 16px;
}

.heroBlock__gradient {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 6.342%, #1c1c1c 73.423%);
  pointer-events: none;
}

/* Tablet (keep desktop styles intact; only downscale progressively) */
@media (max-width: 1200px) {
  .heroBlock__container {
    width: 92%;
    gap: 20px;
  }
  .heroBlock__title {
    font-size: 54px;
    line-height: 1.15;
  }
  .heroBlock__sub {
    font-size: 44px;
    line-height: 1.15;
  }
  .heroBlock__text {
    font-size: 18px;
    line-height: 1.6;
  }
}

@media (max-width: 900px) {
  .heroBlock {
    padding: 120px 0 64px 0;
  }
  .heroBlock__title {
    font-size: 42px;
    line-height: 1.15;
  }
  .heroBlock__sub {
    font-size: 32px;
    line-height: 1.15;
  }
  .heroBlock__text {
    font-size: 18px;
    max-width: 520px;
  }
  .heroBlock__badges {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }
  .heroBlock__badge {
    height: 28px;
    padding: 0 10px;
    font-size: 16px;
  }
  .heroBlock__actions {
    gap: 12px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .heroBlock {
    padding: 96px 0 48px 0;
  }
  .heroBlock__container {
    gap: 16px;
  }
  .heroBlock__title {
    font-size: 32px;
    line-height: 1.2;
  }
  .heroBlock__sub {
    font-size: 24px;
    line-height: 1.2;
  }
  .heroBlock__text {
    font-size: 16px;
    line-height: 1.6;
    max-width: 92%;
  }
  .heroBlock__badge {
    font-size: 14px;
    height: 26px;
    padding: 0 10px;
  }
  .heroBlock__badge svg {
    width: 13px;
    height: 10px;
  }
  .heroBlock__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .heroBlock__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Smallest screens */
@media (max-width: 400px) {
  .heroBlock__title {
    font-size: 28px;
  }
  .heroBlock__sub {
    font-size: 22px;
  }
}
