.main-block {
  display: flex;
  position: relative;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
  justify-content: space-between;
  align-items: center;
  background-image: url('/backMain.jpg'),
    linear-gradient(
      135deg,
      rgb(57, 37, 12) 0%,
      antiquewhite 100%
    );

  height: clamp(620px, calc(94vh - 50px), 1000px);
  min-height: 620px;
  background-position: center; /* центрирование */
  background-repeat: no-repeat; /* без повторения */
  background-size: cover;
  padding: 0 8px 24px 8px;
  margin-top: 0;
  max-width: 100vw;
  overflow-x: hidden;
}

.languages {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: absolute;
  left: 8px;
  bottom: 24px;
  z-index: 100;
  user-select: none;
}

.langLink {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.111);
  color: white;
  width: 44px;
  height: 32px;
  border-radius: 8px;
}

.title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 50%;
}

.title {
  margin: 0;
  font-size: clamp(
    48px,
    calc(234 / var(--max-width) * 100vw),
    150px
  );
  font-weight: 600;
  color: #fac96d;
  text-shadow: 0 4px 2px rgba(0, 0, 0, 0.16);
}

.call-info {
  width: clamp(
    320px,
    calc(1450 / var(--max-width) * 100vw),
    1450px
  );
  font-size: clamp(
    30px,
    calc(48 / var(--max-width) * 100vw),
    48px
  );
  max-width: 98vw;
  text-align: center;
  font-weight: 280;
  color: #fffcf5;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.16);
}

.call2 {
  width: 80vw;
  text-align: center;
  font-size: clamp(
    20px,
    calc(68 / var(--max-width) * 100vw),
    68px
  );
  font-weight: bold;
  color: white;
}

.btn-services {
  background-color: #fdf7bf;
  color: #461011;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  width: 62%;
}

.second-title {
  text-align: center;
  margin: 0;
  font-size: 24px;
  color: #461011;
}

.advantage-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 8px 24px 8px;
  background: linear-gradient(
    135deg,
    aliceblue 0%,
    white 50%,
    antiquewhite 100%
  );
}

.advantage-card-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: flex-start;
  align-items: center;
}

.comments-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background-color: #fffad2;
  padding: 24px 8px 24px 8px;
}

.comments-card-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: flex-start;
  align-items: center;
}

@media (min-width: 769px) {
  body {
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  .main-container {
    margin-top: 0;
    height: calc(100dvh - 64px);
    overflow-y: auto;
  }

  .main-block {
    background-size: contain;
    height: calc(100dvh - 64px);
    min-height: 620px;
    margin-top: 0;
    overflow-y: auto;
  }

  .languages {
    display: none;
  }

  .call-info {
    font-size: clamp(
      20px,
      calc(48 / var(--max-width) * 100vw),
      20px
    );

    color: #f5f806;

    font-weight: 300;
  }
  .call2 {
    width: 30vw;
    font-weight: 600;
  }
  .btn-services {
    width: 240px;
  }
  .advantage-block {
    padding: 48px;
  }
  .second-title {
    text-align: left;
    font-size: 56px;
  }
  .advantage-card-block {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 24px;
  }
  .comments-block {
    padding: 48px;
    gap: 36px;
  }
  .comments-card-block {
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
  }
}
