/* Контент main hero */

.header-main-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 300px;
  z-index: 5;
  position: relative;
}

.header-main-txt-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 710px;
  width: 100%;
  justify-self: flex-start;
}

.header-main-title {
  font-weight: 700;
  font-size: clamp(32px, 6cqi, 48px);
  line-height: 60px;
  color: #6b3e8c;
  text-align: left;
}

.header-main-txt {
  font-weight: 400;
  font-size: clamp(16px, 3cqi, 21px);
  line-height: 24px;
  color: #314158;
  text-align: left;
}

.header-main-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 48px;
}

.header-main-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: fit-content;
  padding: 0 24px;
  border-radius: 32px;
  font-size: clamp(14px,3cqi,17px);
  font-weight: 500;
  line-height: 20px;
  transition: all 0.3s ease;
  gap: 10px;
}

.header-main-content {
  overflow: hidden;
}

.header-main-content .content-img {
  position: absolute;
  right: -330px;
  object-fit: scale-down;
  width: 1100px;
  height: 900px;
  top: 0;
  z-index: -1;
}
.header-main-content .white {
  position: absolute;
  left: -150px;
  object-fit: scale-down;
  height: 192px;
  top: 50px;
  z-index: -2;
}

.header-main-content .content-img::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url("../img/Ellipse\ 3.webp") no-repeat center / cover;
  filter: blur(30px);
  clip-path: inset(0 0 0 0);
}

.header-main-blocks-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 136px 0 80px 0;
}

.header-main-blocks {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-main-blocks:first-child {
  align-self: flex-start;
}

.header-main-blocks:last-child {
  align-self: flex-end;
}

.header-main-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 88px 48px 48px 48px;
  border-radius: 32px;
  border: 1px solid #f8fafc;
  background-color: #e9eef4;
  min-height: 350px;
  width: 460px;
  position: relative;
  overflow: hidden;
}

.header-main-block img {
  object-fit: scale-down;
  width: 320px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}

.header-main-block:first-child {
  background-color: #392456;
}

.header-main-block:last-child::before {
  content: url("../img/Ellipse\ 7.webp");
  width: 400px;
  height: 400px;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 2;
}

.header-main-block-title {
  font-weight: 700;
  font-size: clamp(18px, 3cqi, 24px);
  line-height: 32px;
  color: #6b3e8c;
  text-align: left;
  z-index: 2;
}

.header-main-block-txt {
  font-weight: 400;
  font-size: clamp(16px, 3cqi, 18px);
  line-height: 24px;
  color: #314158;
  text-align: left;
  z-index: 2;
}

.header-main-block:first-child .header-main-block-title {
  color: #f08033;
}

.header-main-block:first-child .header-main-block-txt {
  color: #ffffff;
}

.header-main-blocks:first-child .header-main-block:last-child {
  overflow: visible;
}

.header-main-blocks:first-child .header-main-block:last-child img {
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  right: auto;
}

.header-main-link:first-child {
  background: linear-gradient(90deg, #f08033 0%, #fbecc3 100%);
  color: #2b1938;

  &:hover,
  &:active {

    transition: all 0.3s ease;
    filter:brightness(1.3);
  }
}

.header-main-link:last-child {
  background: transparent;
  border: 1px solid #6b3e8c;
  color: #6b3e8c;

  &:hover,
  &:active {
    color: #2b1938;
    transition: all 0.3s ease;
  }
}

@media screen and (max-width: 1500px) {
  .header-main-content .white {
    left: 0;
    height: 140px;
    top: 0;
  }
}

@media screen and (max-width: 1300px) {
  .header-main-wrapper {
    padding-top: 850px;
  }
  .header-main-content .content-img {
    right: -100px;
  }
}

@media screen and (max-width: 1010px) {
  .header-main-blocks {
    display: flex;
  }
  .header-main-block {
    width: 100%;
    padding: 160px 48px 48px 48px;
    min-height: 425px;
  }
  .header-main-blocks:last-child {
    flex-direction: row-reverse;
  }
}

@media screen and (max-width: 980px) {
  .header-main-block {
    padding: 175px 48px 48px 48px;
    min-height: 480px;
  }
}

@media screen and (max-width: 900px) {
  .header-main-blocks:first-child .header-main-block:last-child img {
    right: 50px;
  }

  .header-main-block {
    min-height: 545px;
  }

  .header-main-content .white {
    height: 120px;
  }
}

@media screen and (max-width: 767px) {
  .header-main-content .content-img {
    width: 100%;
    height: auto;
  }

  .header-main-wrapper {
    padding-top: 500px;
  }

  .header-main-content .white {
    height: 75px;
  }

  .header-main-txt-block {
    flex-direction: column-reverse;
  }

  .header-main-buttons {
    margin-top: unset;
    margin-bottom: 24px;
    order: 3;
    flex-direction: column;
  }
  .header-main-title {
    order: 2;
  }

  .header-main-link {
    width: 100%;
  }

  .header-main-blocks {
    display: flex;
    flex-direction: column;
  }

  .header-main-blocks:first-child {
    flex-direction: column-reverse;
  }

  .header-main-blocks:first-child .header-main-block:last-child img {
    right: 150px;
  }

  .header-main-block {
    min-height: 350px;
  }

  .header-main-blocks:last-child {
    flex-direction: column-reverse;
  }
}

@media screen and (max-width: 550px) {
  .header-main-content .content-img {
    width: 550px;
    height: 440px;
  }

  .header-main-content .content-img {
    right: -49px;
  }

  .header-main-content .white {
    height: 55px;
  }
}

@media screen and (max-width: 440px) {
  .header-main-content .content-img {
    width: 450px;
    height: 400px;
  }

  .header-main-content .content-img {
    right: -21px;
  }

  .header-main-title {
    line-height: 40px;
  }

  .header-main-blocks:first-child .header-main-block:last-child img {
    width: 250px;
    height: 250px;
    right: 70px;
  }

  .header-main-block {
    padding: 148px 24px 24px 24px;
  }
}

@media screen and (max-width: 359px) {
  .header-main-blocks:first-child .header-main-block:last-child img {
    right: 50px;
  }
}

/* Контент advantages */

.advantages-content {
  background-color: #392456;
}

.advantages-content .adv-blur {
  position: absolute;
  left: -330px;
  top: -50%;
  object-fit: scale-down;
  height: 1400px;
  filter: blur(20px);
}

.advantages-main-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  padding: 80px 0;
  position: relative;
}

.advantages-main-block {
  display: flex;
  flex-direction: column;
  padding: 32px;
  gap: 24px;
}

.advantages-main-img-block {
  background-color: #482c5c;
  border-radius: 32px;
  border: 1px solid #533966;
  height: 96px;
  width: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantages-main-block img {
  object-fit: scale-down;
  height: 44px;
  width: 44px;
}

.advantages-main-block-title {
  font-weight: 700;
  font-size: clamp(18px, 3cqi, 24px);
  line-height: 32px;
  color: #ffffff;
  text-align: left;
}

.advantages-main-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.advantages-main-block ul li {
  font-weight: 700;
  font-size: clamp(18px, 3cqi, 21px);
  line-height: 24px;
  color: #b9a0ca;
  text-align: left;
  list-style: disc;
  margin-left: 32px;
}

@media screen and (max-width: 999px) {
  .advantages-main-block {
    padding: unset;
  }
}

@media screen and (max-width: 767px) {
  .advantages-main-blocks {
    grid-template-columns: 1fr;
  }
}

/* Контент качества */

.quality-wrapper {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding-top: 80px;
  position: relative;
}

.quality-top-block {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  padding: 44px 64px;
  border-radius: 32px;
  background-color: #e9eef4;
  border: 1px solid #f8fafc;
}

.quality-top-block-title {
  font-weight: 700;
  font-size: clamp(18px, 3cqi, 24px);
  line-height: 32px;
  color: #314158;
  text-align: left;
  max-width: 1000px;
  width: 100%;
  margin-left: 250px;
}

.quality-top-block img {
  position: absolute;
  left: 64px;
  object-fit: scale-down;
  height: 256px;
  width: 256px;
}

.quality-main-blocks-wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-bottom: 220px;
}

.quality-main-blocks {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 24px;
}

.quality-main-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 32px;
  border: 1px solid #f8fafc;
  padding: 48px 24px;
  min-height: 712px;
  position: relative;
  background-color: #e9eef4;
  justify-content: flex-end;
  overflow: hidden;
}

.quality-main-block-title {
  font-weight: 700;
  font-size: 22px;
  line-height: 32px;
  color: #314158;
  text-align: left;
  z-index: 4;
}

.quality-main-block-txt {
  font-weight: 400;
  font-size: clamp(18px, 3cqi, 21px);
  line-height: 24px;
  color: #314158;
  text-align: left;
  z-index: 4;
  min-height: 75px;
}

.quality-main-block img {
  position: absolute;
  bottom: 0;
  object-fit: scale-down;
  height: 700px;
  left: -90px;
  z-index: 3;
  width: 500px;
}

.quality-main-block::before {
  content: "";
  display: block;
  background: url(../img/Vector\ 1.webp) no-repeat center / cover;
  width: 320px;
  height: 280px;
  position: absolute;
  top: 0;
  left: 0;
}

.quality-main-block::after {
  content: "";
  display: block;
  background: url(../img/ellips_q.webp) no-repeat center / cover;
  width: 400px;
  height: 400px;
  position: absolute;
  top: 140px;
  left: -30px;
  z-index: 1;
  filter: blur(50px);
}

.quality-main-block:nth-child(2n)::before {
  background: url(../img/Vector\ 2.webp) no-repeat center / contain;
  width: 416px;
  height: 560px;
  top: 0;
  left: -50px;
}

.quality-main-blocks-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: fit-content;
  padding: 0 24px;
  border-radius: 32px;
  font-size: 17px;
  font-weight: 500;
  line-height: 20px;
  transition: all 0.3s ease;
  background: linear-gradient(90deg, #f08033 0%, #fbecc3 100%);
  color: #2b1938;
  margin: 0 auto;

  &:hover,
  &:active {

    transition: all 0.3s ease;
    filter:brightness(1.3);
  }
}

.quality-footer-block {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 32px;
  border: 1px solid #ffffff;
  border-radius: 32px;
  background-color: #e9eef4;
  position: absolute;
  min-height: 310px;
  z-index: 4;
  bottom: -150px;
}

.quality-content {
  position: relative;
}

.quality-footer-block-title {
  font-weight: 700;
  font-size: clamp(28px, 5cqi, 40px);
  line-height: 52px;
  color: #6b3e8c;
  text-align: left;
}

.quality-footer-main-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.quality-footer-main-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quality-footer-main-title-block {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  justify-content: flex-start;
  min-height: 66px;
}

.quality-footer-main-block-title {
  font-weight: 700;
  font-size: clamp(18px, 3cqi, 24px);
  line-height: 32px;
  color: #314158;
  text-align: left;
}

.quality-footer-main-block-txt {
  font-weight: 400;
  font-size: clamp(18px, 3cqi, 21px);
  line-height: 24px;
  color: #314158;
  text-align: left;
}

@media screen and (max-width: 1100px) {
  .quality-main-blocks {
    grid-template-columns: 1fr 1fr;
  }

  .quality-main-block img {
    height: 790px;
    width: 100%;
    left: 0;
  }

  .quality-main-block {
    min-height: 800px;
  }

  .quality-footer-block {
    flex-direction: column;
  }
}

@media screen and (max-width: 780px) {
  .quality-main-block img {
    height: 700px;
    width: 100%;
    left: 0;
  }

  .quality-main-block {
    min-height: 700px;
  }
}

@media screen and (max-width: 600px) {
  .quality-top-block {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .quality-footer-block {
    bottom: -300px;
  }

  .quality-top-block-title {
    margin-left: unset;
  }

  .quality-top-block img {
    position: relative;
    left: 0;
  }

  .quality-main-blocks {
    grid-template-columns: 1fr;
  }

  .quality-main-block img {
    height: 700px;
    width: 560px;
    left: 0;
    object-fit: cover;
  }

  .quality-footer-main-blocks {
    grid-template-columns: 1fr;
  }

  .quality-top-block {
    padding: 18px;
  }
}

@media screen and (max-width: 500px) {
  .quality-main-block img {
    height: 560px;
    width: 100%;
  }
  .quality-main-block {
    min-height: 600px;
  }

  .quality-top-block img {
    height: 180px;
    width: 180px;
  }

  .quality-main-block-txt {
    font-size: 19px;
  }
}

@media screen and (max-width:470px) {


  .quality-footer-main-title-block {
    min-height: 35px;
  }
}

@media screen and (max-width:380px) {
  .quality-footer-block {
    bottom: -400px;
  }
}

@media screen and (max-width:340px) {
  .quality-footer-block {
    bottom: -440px;
  }
}

/* Контент start-work */

.start-work-content {
  background-color: #392456;
  overflow: hidden;
}

.start-work-wrapper {
  display: flex;
  flex-direction: column;
  gap: 80px;
  position: relative;
  padding: 245px 0 160px 0;
}

.start-work-wrapper .start-blur {
  position: absolute;
  right: -330px;
  top: -50%;
  object-fit: scale-down;
  height: 1400px;
  filter: blur(20px);
}

.start-work-title {
  font-weight: 700;
  font-size: clamp(28px, 5cqi, 40px);
  line-height: 52px;
  color: #ffffff;
  text-align: center;
}

.start-work-main-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.start-work-main-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  padding: 32px;
}

.start-work-main-block img {
  position: absolute;
  left: -30px;
  object-fit: scale-down;
  height: 180px;
  top: -24px;
}

.start-work-main-title {
  font-weight: 700;
  font-size: clamp(18px, 3cqi, 24px);
  line-height: 32px;
  color: #ffffff;
  text-align: left;
  z-index: 2;
}

.start-work-main-txt {
  font-weight: 400;
  font-size: clamp(16px, 3cqi, 21px);
  line-height: 24px;
  color: #ffffff;
  text-align: left;
  z-index: 2;
}

@media screen and (max-width: 1200px) {
  .start-work-main-block img {
    left: 0;
  }
}

@media screen and (max-width: 760px) {
  .start-work-main-blocks {
    grid-template-columns: 1fr;
    gap: 80px;
  }
}

@media screen and (max-width:600px) {
  .start-work-wrapper {
    padding: 330px 0 160px 0;
  }
}

@media screen and (max-width: 550px) {
  .start-work-main-blocks {
    margin-left: 35px;
  }
}

@media screen and (max-width:470px) {
  .start-work-wrapper {
    padding: 360px 0 160px 0;
  }
}

@media screen and (max-width:400px) {
  .start-work-wrapper {
    padding: 420px 0 80px 0;
  }
}

@media screen and (max-width:340px) {
  .start-work-wrapper {
    padding: 460px 0 80px 0;
  }
}

/* контент формы */

.form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 80px 0;
}

.form-title {
  font-weight: 700;
  font-size: clamp(28px, 5cqi, 40px);
  line-height: 52px;
  color: #6b3e8c;
  text-align: center;
}

.form-blocks {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  padding: 32px 64px;
  border-radius: 32px;
  background-color: #e9eef4;
  position: relative;
  margin: 135px 0;
  max-width: 1100px;
  align-self: center;
}

.form-blocks::after {
  content: "";
  background: url(../img/ellipse-form.webp);
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70%;
  height: 100%;
  z-index: 1;
  filter: blur(32px);
}

.form-blocks img {
  position: absolute;
  left: -100px;
  top: -100px;
  object-fit: scale-down;
  width: 660px;
  height: 660px;
  z-index: 2;
}

.zayavka-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 440px;
  z-index: 3;
}

.control-wrapp {
  width: 100%;
}

.control-wrapp input {
  width: 100%;
  background-color: #d8dee6;
  border-radius: 32px;
  height: 44px;
  padding: 0 24px;
  border: unset;
  outline: unset;
}

.checkbox-text {
  text-align: left;
  font-size: 14px;
  font-weight: 400;
}

.after-header__approve-btn {
  text-align: center;
  font-size: 17px;
  font-weight: 500;
  color: #ffffff;
  height: 48px;
  width: 100%;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #6b3e8c 0%, #ae7cd3 100%);
  gap: 8px;
  transition: all 0.3s ease;
  &:hover,
  &:active {

    transition: all 0.3s ease;
    filter:brightness(1.3);
  }
}

.control-wrapp input::placeholder {
  color: #a3b0c3;
  font-weight: 400;
  font-size: 17px;
}

@media screen and (max-width: 1300px) {
  .form-blocks img {
    width: 520px;
    height: 520px;
    top: -50px;
    left: 0;
  }
}

@media screen and (max-width: 1060px) {
  .form-blocks img {
    width: 460px;
    height: 460px;
    top: 0;
    left: 0;
  }

  .form-blocks {
    margin: unset;
  }

  .form-wrapper {
    padding: 135px 0;
  }
}

@media screen and (max-width: 999px) {
  .zayavka-form {
    max-width: 330px;
  }
}

@media screen and (max-width: 900px) {
  .form-blocks img {
    width: 400px;
    height: 400px;
    top: 0;
    left: 0;
  }

  .form-blocks {
    padding: 32px;
  }
}

@media screen and (max-width: 800px) {
  .form-blocks img {
    width: 360px;
    height: 360px;
    top: 0;
    left: 0;
  }
}

@media screen and (max-width: 764px) {
  .form-blocks img {
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
  }

  .form-title {
    line-height: 32px;
  }

  .form-blocks {
    flex-direction: column;
    padding: 300px 24px 24px 24px;
    margin-top: 130px;
  }

  .zayavka-form {
    max-width: 100%;
  }

  .form-blocks::after {
    top: 0;
    left: 0;
    background: url(../img/ellipse-form2.webp);
    background-repeat: no-repeat;
    width: 100%;
    background-size: cover;
    height: 75%;
  }
}

@media screen and (max-width: 410px) {
  .form-blocks {
    padding: 200px 16px 16px 16px;
    margin-top: 80px;
  }

  .form-blocks img {
    width: 280px;
    height: 280px;
  }

  .checkbox-text {
    font-size: 12px;
  }

  .form-wrapper {
    padding: 80px 0;
  }
}

/* контент работаем с.. */

.work-content {
  background-color: #392456;
}

.work-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 80px;
}

.img-block {
  position: relative;
  height: 750px;
}

.work-title {
  font-weight: 700;
  font-size: clamp(28px, 5cqi, 40px);
  line-height: 52px;
  color: #ffffff;
  text-align: center;
}

.work-wrapper .optical {
  object-fit: scale-down;
  border-radius: 32px;
  width: 950px;
  height: 715px;
  position: absolute;
  bottom: -80px;
  right: 0;
}

.work-wrapper .orange {
  position: absolute;
  height: 192px;
  left: 0;
  top: 0;
}

.work-wrapper .logo-group {
  position: absolute;
  height: 140px;
  width: 380px;
  right: -115px;
  bottom: 80px;
}

.video-block-wrapper {
  position: absolute;
  bottom: -250px;
  left: -20%;
  transform: translateX(80%);
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 460px;
}
.video-block {
  position: relative;
}

.video-block video {
  width: 100%;
  height: 352px;
  border-radius: 32px;
  object-fit: cover;
  position: relative;
}

.playbutton {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  transition: all 0.2s ease-in-out;
}

.playbutton.playing {
  transition: all 0.2s ease-in-out;
  opacity: 0;
}

.playbutton img {
  width: 96px;
  height: 96px;
  object-fit: scale-down;
}

.video-title {
  font-weight: 700;
  font-size: clamp(16px, 3cqi, 18px);
  line-height: 24px;
  color: #314158;
  text-align: left;
}

.video-descr {
  font-weight: 400;
  font-size: clamp(16px, 3cqi, 18px);
  line-height: 24px;
  color: #314158;
  text-align: left;
}

.video-txt {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 16px;
}

@media screen and (max-width: 1700px) {
  .work-wrapper .logo-group {
    right: -70px;
  }
}

@media screen and (max-width: 1600px) {
  .work-wrapper .orange {
    left: 100px;
  }

  .img-block {
    right: 100px;
  }
}

@media screen and (max-width: 1200px) {
  .work-wrapper .orange {
    height: 140px;
    top: 50px;
  }
}

@media screen and (max-width: 1100px) {
  .img-block {
    right: 0;
    padding-top: 100px;
    height: 100%;
  }

  .work-wrapper .orange {
    left: 0;
    top: 50px;
  }
  .work-wrapper .logo-group {
    right: 0;
  }

  .video-block-wrapper {
    left: 0;
    transform: unset;
  }

  .work-wrapper .optical {
    position: relative;
    bottom: 0;
    width: 790px;
    height: 600px;
  }

  .work-wrapper {
    padding: 80px 0;
  }
}

@media screen and (max-width: 960px) {
  .video-block-wrapper {
    position: relative;
    bottom: 0;
    max-width: 100%;
  }

  .img-block {
    display: flex;
    flex-direction: column;
    gap: 80px;
    width: 100%;
  }

  .work-wrapper .optical {
    height: 720px;
    width: 100%;
  }

  .work-wrapper .logo-group {
    top: 730px;
    bottom: auto;
  }

  .video-block video {
    height: 720px;
  }

  .video-txt {
    gap: 12px;
  }
  .video-title,
  .video-descr {
    color: #ffffff;
  }
}

@media screen and (max-width: 850px) {
  .work-wrapper .orange {
    height: 120px;
  }
  .img-block {
    padding-top: 60px;
  }

  .work-wrapper .logo-group {
    top: 620px;
  }
}

@media screen and (max-width: 740px) {
  .work-wrapper .optical {
    height: 430px;
    width: auto;
    object-fit: cover;
  }

  .video-block video {
    height: 430px;
  }

  .work-wrapper .logo-group {
    top: 400px;
  }

  .work-wrapper .orange {
    height: 100px;
    top: 25px;
  }
}

@media screen and (max-width: 620px) {
  .work-wrapper .orange {
    height: 70px;
    top: 25px;
  }

  .work-wrapper .logo-group {
    top: 450px;
    height: 80px;
    width: auto;
  }
}

@media screen and (max-width: 450px) {
  .work-wrapper .optical {
    height: 330px;
  }

  .video-block video {
    height: 330px;
  }

  .work-wrapper .logo-group {
    top: 350px;
  }

  .work-wrapper .orange {
    height: 50px;
    top: 25px;
  }
}

/* контент часто задаваемые вопросы */

.accordion__content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 20px;
  will-change: max-height;
  transition: all 0.3s ease-out;
  box-sizing: content-box;
  line-height: 1.314;
  font-size: 16px;
}
.accordion__list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1em;
  list-style: none;
  margin-bottom: 1.5em;
  max-width: 950px;
  margin: 0 auto;
}
.accordion__control {
  text-align: left;
  padding: 24px;
  background-color: transparent;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 32px;
}
.accordion__control::-webkit-details-marker {
  display: none;
}
.acc-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.accordion__content {
  padding: 20px;
}

.accordion[open] .accordion__icon {
  transform: rotate(0deg);
}
.accordion__content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 20px;
  will-change: max-height;
  transition: all 0.3s ease-out;
  box-sizing: content-box;
  line-height: 1.314;
  font-size: clamp(14px, 3cqi, 16px);
  color: #ffffff;
  background-color: transparent;
}

.accordion__control[aria-expanded="true"] {
  border-bottom: unset;
  background-color: transparent;
  transition: all 0.3s ease;
}
.accordion__control[aria-expanded="false"] {
  border-bottom: unset;
  transition: all 0.3s ease;
  background-color: #efefff;
}

.accordion__control::-webkit-details-marker {
  display: none;
}
.accordion {
  border: 1px solid transparent;
}
.accordion.open .accordion__content {
  opacity: 1;
  transition: all 0.3s ease;
  padding: 10px 20px;
}
.accordion.open {
  background-color: #e9eef4;
  border-radius: 32px;
  transition: all 0.3s ease;
  border: 1px solid;
  border-image-source: linear-gradient(135deg, #ffffff 5.32%, #e2e2e2 81.9%);
}
.accordion:not(.accordion.open) .accordion__control {
  background-color: #e9eef4;
  transition: all 0.3s ease;
  border: 1px solid;
  border-image-source: linear-gradient(135deg, #ffffff 5.32%, #e2e2e2 81.9%);
}
.accordion__title {
  line-height: 1.314;
  font-size: clamp(14px, 3cqi, 24px);
  color: #314158;
  text-align: left;
  font-weight: 700;
  width: 90%;
  word-break: break-word;
}

.accordion__icon {
  transition: transform 0.3s ease-out;
}

.open .accordion__icon {
  transform: rotate(0deg);
}
.tab-ceny-block-text {
  font-weight: 400;
  font-size: clamp(14px, 3cqi, 16px);
  color: #314158;
}
.accordion__control svg {
  transform: rotate(180deg);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.accordion.open .accordion__control svg {
  transform: rotate(0deg);
  transition: all 0.3s ease;
}

.faq-wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 300px 0 80px 0;
}
.faq-title {
  font-weight: 700;
  font-size: clamp(28px, 5cqi, 40px);
  line-height: 52px;
  color: #6b3e8c;
  text-align: center;
}

@media screen and (max-width: 1100px) {
  .accordion__list {
    max-width: 100%;
  }
}

@media screen and (max-width: 960px) {
  .faq-wrapper {
    padding: 80px 0;
  }
}

@media screen and (max-width:500px) {
  .accordion:not(.accordion.open) .accordion__control {
    padding: 16px;
  }
}

.questions-wrapper {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: 120px 0;
  align-items: center;
  justify-content: center;
}

.questions-txt-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 860px;
  width: 100%;
}
.questions-title {
  font-size: clamp(24px, 3cqi, 40px);
  font-weight: 700;
  line-height: 52px;
  color: #6b3e8c;
  text-align: center;
}

.questions-descr-block {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}
.questions-descr {
  font-size: 18px;

  line-height: 24px;
  color: #314158;
  text-align: center;
}

.questions-descr a {
  color: #ffe566;

  &:hover,
  &:active {
    text-decoration: underline;
  }
}

.questions-main-block-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  width: 100%;
}

.questions-main-block-title {
  font-size: clamp(20px, 3cqi, 24px);
  font-weight: 700;
  line-height: 44px;
  color: #314158;
  text-align: center;
  max-width: 530px;
  width: 100%;
}

.questions-main-block {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 32px;
  border-radius: 32px;
  border: 1px solid;
  border-image-source: linear-gradient(135deg, #ffffff 5.32%, #e2e2e2 81.9%);
  position: relative;
  background-color: #e9eef4;
  overflow: hidden;
  max-width: 860px;
  width: 100%;
}

.questions-main-block::after {
  content: "";
  background: linear-gradient(
          60.22deg,
          #57d3ff 15.81%,
          #cfa3ff 38.15%,
          #ff6891 75.51%
  );
  width: 50%;
  height: 100%;
  position: absolute;
  filter: blur(100px);
  left: 0;
  bottom: 0;
  opacity: 0.5;
  z-index: 1;
}

.questions-main-block img {
  object-fit: scale-down;
  width: 128px;
  height: 128px;
}

.questions-main-block-txt {
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 2;
  width: 100%;
}

.questions-main-block-subtitle {
  font-size: clamp(20px, 3cqi, 24px);
  font-weight: 700;
  line-height: 28px;
  color: #314158;
  text-align: center;
}

.questions-main-block-socials {
  display: flex;
  align-items: center;
  gap: 24px;
}

.questions-main-block-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #314158;
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  transition: all 0.3s ease;

  &:hover,
  &:active {
    transition: all 0.3s ease;
    color: #ffe566;
  }
}
.questions-main-block-txt .grand {
  display: none;
}

.questions-main-block-link img {
  object-fit: scale-down;
  width: 32px;
  height: 32px;
}

.questions-main-block-title-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 62px 40px;
  min-width: 560px;
}

.questions-main-block-title-block-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.questions-main-block-title-block-button {
  width: 100%;
  position: relative;
  height: 48px;
  border-radius: 16px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #27a7e7;
  overflow: hidden;
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
}

.questions-main-block-title-block-button:nth-child(2) {
  background-color: #8965a3;
  background: url("../img/451c2e6b625672ac1977c8a1b77f555fdbdf1b52.webp");
  background-repeat: no-repeat;
  background-position: right;
}

.questions-main-block-title-block-button img {
  position: absolute;
  right: 55px;
  height: 55px;
  width: 72px;
  object-fit: scale-down;
}

.questions-main-block-title-block-button svg {
  transform: translateX(0);
  transition: all 0.3s ease;
}

.questions-main-block-title-block-button:hover svg,
.questions-main-block-title-block-button:active svg {
  transition: all 0.3s ease;
  transform: translateX(5px);
}

.questions-main-block-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.questions-main-block-card {
  background: #936fad;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 108px;
  justify-content: flex-end;
}

.questions-main-block-card:first-child {
  background: url("../img/94061140fb859c5c3bfe814a59d0ca5b5909965d.webp");
  background-repeat: no-repeat;
  background-position-y: -30px;
  background-size: cover;
  background-color: #39245680;
  background-blend-mode: color;
}

.questions-main-block-card:last-child {
  overflow: hidden;
  position: relative;
  justify-content: flex-end;
  background:
          linear-gradient(90deg, #f08033 0%, #fbecc3 100%),
          url(../img/c7ba6fae7ffee84be626259546485b0991c594f8.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  background-blend-mode: hard-light;
}

.questions-main-block-card:last-child p {
  color: #2b1938;
}

.questions-main-block-card:last-child p svg path {
  stroke: #2b1938;
}

.questions-main-block-card:last-child img {
  height: 160px;
  width: 160px;
  position: absolute;
  right: -25px;
  top: 0;
}

.questions-main-block-card img {
  object-fit: scale-down;
  width: 80px;
  height: 80px;
}

.questions-main-block-card p {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  line-height: 16px;
  text-align: left;
  z-index: 4;
}
.questions-main-block-card p span {
  width: 90%;
}
.questions-main-block-card p svg {
  transform: translateX(0);
  transition: all 0.3s ease;
}

.questions-main-block-card:hover p svg,
.questions-main-block-card:active p svg {
  transition: all 0.3s ease;
  transform: translateX(5px);
}

.questions-advantages-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.questions-advantages-card {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.questions-advantages-card:last-child {
  justify-content: flex-end;
}

.questions-advantages-card img {
  object-fit: scale-down;
  height: 64px;
  width: 64px;
}

.questions-advantages-card-txt {
  font-weight: 700;
  font-size: 18px;
  color: #ffffff;
}

@media screen and (max-width: 1700px) {
  .questions-main-block {
    max-width: 100%;
    width: 100%;
  }

  .questions-main-block-title-block {
    width: 100%;
  }

  .questions-main-block-wrapper {
    gap: 24px;
  }
}

@media screen and (max-width: 1300px) {
  .questions-main-block-title-block {
    min-width: 420px;
  }
  .questions-main-block-title-block {
    padding: unset;
  }
  .questions-main-block-wrapper {
    align-items: flex-start;
  }
  .questions-main-block-cards {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 1050px) {
  .questions-main-block-txt .grand {
    display: block;
  }

  .questions-main-block
  img:not(.questions-main-block-card img, .questions-main-block-txt .grand) {
    display: none;
  }

  .questions-main-block-txt {
    align-items: center;
  }

  .questions-advantages-card:last-child {
    justify-content: center;
    grid-column: 1 / span 2;
  }

  .questions-advantages-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 850px) {
  .questions-main-block-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .questions-main-block-title-block {
    min-width: unset;
  }
}

@media screen and (max-width: 700px) {
  .questions-advantages-wrapper {
    display: flex;
    flex-direction: column;
  }
}

@media screen and (max-width: 650px) {
  .questions-descr-block {
    flex-direction: column;
  }
  .questions-main-block-wrapper {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 500px) {
  .questions-main-block-wrapper {
    gap: 24px;
  }

  .questions-wrapper {
    padding: 0 0 90px 0;
  }

  .offer-wrapper .main-hero-parralax-img {
    bottom: -100px;
  }

  .questions-main-block-cards {
    display: flex;
    flex-direction: column;
  }

  .questions-main-block-card, .questions-main-block-card:last-child {
    align-items: center;
    justify-content: center;
  }

  .questions-main-block-title-block {
    min-width: auto;
    width: 100%;
  }

  .questions-main-block-card p span {
    width: 100%;
  }

  .questions-main-block-card p {
    font-size: 18px;
    justify-content: space-between;
    width: 100%;
  }
}

@media screen and (max-width: 440px) {
  .questions-main-block-title-block-button img {
    display: none;
  }

  .questions-advantages-card-txt {
    text-align: left;
  }
}

@media screen and (max-width: 400px) {
  .questions-main-block {
    padding: 24px;
  }

  .questions-main-block-title {
    line-height: 32px;
  }

  .questions-main-block-title-block-button {
    text-align: left;
  }

  .questions-advantages-card img {
    height: 48px;
    width: 48px;
  }

  .questions-advantages-card-txt {
    font-size: 16px;
  }
}

.contacts-modal-block {
  display: flex;
  flex-direction: column;
  gap: 1em;
  padding: 24px;
}

.contacts-form-title {
  font-weight: 500;
  font-size: clamp(18px, 3cqi, 24px);
  color: #010613;
  text-align: center;
}

.hystmodal__window {
  border-radius: 24px;
}

.hystmodal__close {
  right: 16px;
  top: 16px;
  background-color: black;
  mix-blend-mode: exclusion;
  width: 16px;
  height: 16px;
}

.hystmodal__close:focus {
  outline: none;
}

.contacts-form-modal-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacts-form-descr {
  color: #010613;
  font-size: clamp(12px, 2cqi, 17px);
}

.header-main-title br {
  display: none;
}

@media screen and (max-width: 800px) {
  .hystmodal__window {
    max-width: 70%;
    margin: 0 auto;
  }

  .block-modal-contact {
    padding: 16px;
  }

  .block-modal-contact {
    max-width: 70%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 600px) {
  .block-modal-contact {
    max-width: 85%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 400px) {
  .hystmodal__window {
    max-width: 90%;
    margin: 0 auto;
  }
}


@media screen and (max-width:460px) {
  .quality-main-block {
    justify-content: space-between;
    padding: 24px;
    min-height: 650px;
  }

  .quality-main-block-title {
    font-size: 26px;
    text-transform: uppercase;
    text-align: center;
  }

  .quality-main-block-txt {
    font-size: 22px;
    text-align: center;
    font-weight: 500;
    white-space: break-spaces;
    width: 99%;
    margin: 0 auto;
  }

  .header-main-wrapper {
    padding-top: 400px;
  }
  .header-main-title {
    font-size: clamp(24px,6cqi,26px);
  }

  .header-main-link {
    justify-content: space-between;
  }

  .header-main-blocks:first-child .header-main-block:last-child img {
    width: 192px;
    height: 192px;
    left: 50%;
    transform: translateX(-50%);
    top: -120px;
  }

  .header-main-blocks-wrapper {
    padding: 100px 0;
  }

  .header-main-block {
    padding: 80px 24px 24px 24px;
  }

  .quality-footer-block {
    bottom: -340px;
  }

  .start-work-main-blocks {
    margin-left: 0;
  }

  .header-main-title br {
    display: block;
  }

}

@media screen and (max-width:400px) {
  .quality-main-block {
    min-height: 620px;
  }

  .header-main-title {
    font-size: 24px;
  }

  .quality-footer-block {
    bottom: -400px;
  }

}


@media screen and (max-width:350px) {
  .quality-main-block-title {
    font-size: 24px;
  }

  .quality-main-block {
    padding: 24px 16px;
  }
}

.cookie-notice {
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  padding: 15px;
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.cookie-button {
  background-color: #3B2557;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  transition: all .3s ease;
}

.cookie-button:hover {
  background-color: #633e95;
  transition: all .3s ease;
}
.cookie-wrap {
  display: flex;
  margin: 0 auto;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

@media screen and (max-width: 500px) {
  .cookie-wrap {
    flex-direction: column;
    gap: 1em;
  }
}


.contacts-modal-block {
  display: flex;
  flex-direction: column;
  gap: 1em;
  padding: 24px;
}

.contacts-form-title {
  font-weight: 500;
  font-size: clamp(18px, 3cqi, 24px);
  color: #010613;
  text-align: center;
}

.hystmodal__window {
  border-radius: 24px;
}

.hystmodal__close {
  right: 16px;
  top: 16px;
  background-color: black;
  mix-blend-mode: exclusion;
  width: 16px;
  height: 16px;
}
.hystmodal__close:focus {
  outline: none;
}

.contacts-form-modal-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacts-form-descr {
  color: #010613;
  font-size: clamp(12px, 2cqi, 17px);
}


@media screen and (max-width:800px) {
  .hystmodal__window {
    max-width: 70%;
    margin: 0 auto;
  }
  .block-modal-contact {
    padding: 16px;
  }
  .block-modal-contact {
    max-width: 70%;
    margin: 0 auto;
  }
}
@media screen and (max-width:600px) {
  .block-modal-contact {
    max-width: 100%;
    margin: 0 auto;
  }
}
@media screen and (max-width:400px)  {
  .hystmodal__window {
    max-width: 90%;
    margin: 0 auto;
  }
}