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

.main-hero-content {
    position: relative;
}

.main-hero-vector {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -30%);
    max-width: 1850px;
    max-height: 312px;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.main-hero-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex-direction: column;
    gap: 80px;
    max-width: 700px;
    width: 100%;
    justify-self: end;
    padding: 112px 0 180px 0;
    position: relative;
    z-index: 2;
    margin-left: auto;
}

.main-hero-title {
    font-size: clamp(32px,5cqi,48px);
    font-weight: 700;
    text-align: left;
    color: #ffffff;
    line-height: clamp(44px,7cqi,60px);

}


.main-hero-txt {
    font-size: 24px;
    font-weight: 700;
    text-align: left;
    color: #ffffff;
    line-height: 32px;
}

.main-hero-txt-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.main-hero-link {
    display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-radius: 32px;
  background: linear-gradient(90deg, #F08033 0%, #FBECC3 100%);
  color: #2B1938;
  font-size: 18px;
  line-height: 24px;
  height: 48px;
  width: 270px;
  font-weight: 600;
  transition: all .3s ease;

  &:hover, &:active {
    transition: all .3s ease;
    filter: brightness(1.2);
  }
}

.main-hero-wrapper .main-hero-img {
    object-fit: scale-down;
    width: 700px;
    height: 700px;
    position: absolute;
    bottom: 0;
    left: 0;
        transform: translateX(-120%);
    top: 80px;
}

.main-hero-link.scroll {
    display: none;
}

.header-scroll-wrapper {
    gap: 12px;
    background-color: #2B193880;
    backdrop-filter: blur(10px);
    border: 1px solid;
    border-image-source: linear-gradient(135deg, #7D4FBC 5.32%, #603580 81.9%);
    border-radius: 32px;
    padding: 24px;
    display: none;
    align-items: center;
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 1440px;
    margin: 0 auto;
    z-index: 999999999999999999999999999999999999999999999999999999999999999999;
}

.header-scroll-wrapper .header-phone-btn {
    justify-self: flex-end;
    height: 48px;
    font-size: 18px;
    width: 270px;
}

.header-scroll-wrapper .header-phone-link {
    font-size: 24px;
}

@media screen and (max-width:1400px) {
  .main-hero-wrapper {
    max-width: 470px;
  }
}

@media screen and (max-width:1200px) {
  .main-hero-wrapper .main-hero-img {
    width: 560px;
    height: 560px;
  }

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

  .main-hero-vector {
    max-width: 100%;
    height: 180px;
  }
}

@media screen and (max-width:1000px) {
    .main-hero-wrapper .main-hero-img {
        filter: opacity(0.5);
    }
}

@media screen and (max-width:860px) {
    .main-hero-wrapper .main-hero-img {
        bottom: -100px;
        transform: translateX(-70%);
        top: 0;
    }

    .main-hero-vector {
        object-fit: contain;
    }

    .main-hero-link, .main-hero-txt-block {
        z-index: 6;
    }

}

@media screen and (max-width:660px) {
    .main-hero-wrapper .main-hero-img {
        bottom: -100px;
        left: 38%;
        transform: translateX(-50%);
    }

}

@media screen and (max-width:500px) {
    .main-hero-wrapper {
        padding: 40px 0 40px 0;
        align-items: center;
        gap: 32px;
    }
    .main-hero-txt-block {
        gap: 12px;
        background-color: #2B193880;
        backdrop-filter: blur(10px);
        border: 1px solid;
        border-image-source: linear-gradient(135deg, #7D4FBC 5.32%, #603580 81.9%);
        border-radius: 32px;
        padding: 24px;
    }

    .main-hero-img.mob {
        width: 700px;
        height: 780px;
        left: 50%;
        top: unset;
        bottom: 0;
        filter: opacity(1);
        display: none;
    }

    .main-hero-vector {
        top: -20px;
    }

    .main-hero-title {
        font-size: clamp(24px,7cqi,40px);
        line-height: clamp(32px,7cqi,52px);
    }

    .main-hero-link {
        width: 100%;
        align-items: center;
        justify-content: center;
        gap: 24px;
    }

    .main-hero-txt {
        font-size: clamp(15px,5cqi,18px);
        line-height: clamp(20px,5cqi,32px);
    }

    .main-hero-link.scroll {
        position: fixed;
        top: 10px;
        left: 16px;
        z-index: 100;
        width: calc(100% - 32px);
    }

    /*.main-hero-link.scroll {*/
    /*    display: none;*/
    /*}*/

}

@media screen and (max-width:470px) {
    .main-hero-wrapper .main-hero-img {
        bottom: -80px;
        left: 50%;
        transform: translateX(-50%);
        width: 480px;
        height: 480px;
    }

    .main-hero-vector {
        top: 10px;
    }

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

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

    .main-hero-wrapper {
        gap: 48px;
    }


    .main-hero-wrapper {
        padding: 60px 0;
    }

}

@media screen and (max-width: 430px) {
    .main-hero-wrapper .main-hero-img {
        bottom: 0;
        top: auto;
    }
}


/* контент about */

.about-content {
    position: relative;
    overflow: hidden;
}

.about-wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 100px;
    padding: 160px 0;
    position: relative;
}

.about-top-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.about-txt-block {
    padding: 40px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
}

.about-txt-title {
    font-size: clamp(32px,5cqi,40px);
    font-weight: 700;
    text-align: left;
    color: #6B3E8C;
    line-height: 52px;
}


.about-txt-subtitle {
    font-size: 18px;
    font-weight: 700;
    text-align: left;
    color: #314158;
    line-height: 24px;
}

.about-txt {
    font-size: 18px;
    font-weight: 400;
    text-align: left;
    color: #314158;
    line-height: 24px;
    padding-top: 40px;
}


.about-top-main-blocks {
    display: flex;
    flex-direction: column;
    gap: 48px;
  
}

.about-top-main-title {
    max-width: 342px;
    width: 100%;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    color: #314158;
    line-height: 24px;

}

.about-top-main-blocks-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 12px;
    z-index: 2;
}

.about-top-main-block {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 24px;
    background-color: #E9EEF4;
    border: 1px solid #f8fafc;
    border-image-source: linear-gradient(135deg, #FFFFFF 5.32%, #E2E2E2 81.9%);
    border-radius: 32px;
    max-height: 150px;
    height: 100%;
}

.about-top-main-block-title {
    font-size: 15px;
    font-weight: 400;
    text-align: left;
    color: #314158;
    line-height: 20px;
    max-width: 230px;
}

.about-top-main-block img {
    object-fit: scale-down;
    height: 48px;
    width: 48px;
    position: absolute;
    bottom: 24px;
    right: 24px;
}

.about-top-main-block:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}

.about-top-main-block:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

.about-top-main-block:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
}

.about-img {
    position: absolute;
    width: 1250px;
    height: 1100px;
    object-fit: scale-down;
    right: -100px;
    top: 0;
    z-index: -1;
}

.about-bottom-block {
    display: flex;
    align-self: flex-end;
}

.about-bottom-block .about-img {
    display: none;
}

.about-bottom-txt-block {
    display: flex;
    flex-direction: column;
    padding: 40px;
    gap: 48px;
    max-width: 630px;
    width: 100%;
}

.about-bottom-title {
    font-size: clamp(32px,5cqi,40px);
    font-weight: 700;
    text-align: left;
    color: #6B3E8C;
    line-height: 52px;
}

.about-bottom-txt {
    font-size: 18px;
    font-weight: 700;
    text-align: left;
    color: #314158;
    line-height: 24px;
}

.about-bottom-img {
    position: absolute;
    left: -78px;
    bottom: 0;
    width: 1050px;
    height: 590px;
    object-fit: scale-down;
}

.about-bottom-block .about-bottom-img {
  display: none;
}

@media screen and (max-width:1450px) {
  .about-bottom-img {
    width: 550px;
    height: 320px;
  }

    

  .about-bottom-block .about-bottom-img {
    display: block;
    position: relative;
  left: 0;
  bottom: 0;
}
.about-bottom-block {
  flex-direction: row-reverse;
}

.about-bottom-img:not(.about-bottom-block .about-bottom-img) {
  display: none;

}
}

@media screen and (max-width:1300px) {
  .about-img {
    display: none;
  }

  .about-top-main-blocks-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .about-top-main-title {
    max-width: 100%;
  }

  .about-txt-block {
    padding: unset;
  }
}

@media screen and (max-width:1100px) {
    .about-bottom-block  {
        position: relative;
    }
    .about-bottom-block .about-bottom-img {
        position: absolute;
        left: 0;
        top: -250px;
        width: 600px;
        height: 400px;
    }
    .about-bottom-txt-block {
        padding: unset;
        width: 100%;
        max-width: 100%;
    }

    .about-bottom-title {
        text-align: right;
    }
    .about-bottom-txt-block {
        z-index: 2;
    }
}

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

    .about-bottom-block .about-bottom-img {
        left: -100px;
    }
}

@media screen and (max-width:740px) {
    .about-top-block {
        grid-template-columns: 1fr;
    }

    .about-bottom-block {
        flex-direction: column-reverse;
        align-items: center;
    }

    .about-bottom-block .about-bottom-img {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-wrapper {
        gap: 180px;
    }
    .about-bottom-title {
        text-align: left;
    }

    .about-bottom-txt-block {
        padding-top: 60px;
    }
}


@media screen and (max-width:470px) {
    .about-txt {
        padding-top: 24px;
    }

    .about-top-main-blocks {
        gap: 24px;
    }

    .about-top-main-block-title {
        max-width: 180px;
    }

    .about-top-main-block {
        max-height: fit-content;
    }
}


/* контент lenses */
.lenses-content {
  overflow: hidden;
}

.lenses-wrapper {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding-bottom: 160px;
}

.lenses-main-wrapper {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.lenses-main-title {
    font-size: clamp(32px,5cqi,40px);
    font-weight: 700;
    text-align: left;
    color: #6B3E8C;
    line-height: 52px;
}

.lenses-main-blocks {
    display: flex;
    flex-direction: column;
    gap: 48px;
    position: relative;
}

.lenses-main-subtitle {
    font-size: clamp(24px,5cqi,32px);
    font-weight: 700;
    text-align: left;
    color: #314158;
    line-height: 44px;
}

.lensen-main-blocks-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;

}


.lenses-main-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    border-radius: 32px;
    background: #E9EEF499;
    border: 1px solid #f8fafc;
    backdrop-filter: blur(32px);

}

.lenses-main-block-index {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: left;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #6B3E8C;
    height: 36px;
    width: fit-content;
    padding: 0 16px;
    background-color: #D9E3EE;
    border-radius: 32px;
}

.lenses-main-block-index img {
    object-fit: scale-down;
    height: 16px;
    width: 16px;
}

.lenses-main-block-title {
    font-size: 20px;
    font-weight: 700;
    text-align: left;
    color: #314158;
    line-height: 28px;
}

.lenses-main-block-descr {
    font-size: 16px;
    font-weight: 400;
    text-align: left;
    color: #314158;
    line-height: 24px;
}

.lenses-main-block-features {
    display: flex;
    flex-direction: column;
    
}

.lenses-main-block-feature-title {
    font-size: 18px;
    font-weight: 700;
    text-align: left;
    color: #314158;
    line-height: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #A3B0C3;
}

.lenses-main-block-feature-txt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    text-align: left;
    padding: 8px 4px;
    border-bottom: 1px solid #A3B0C3;
    font-size: 16px;
    font-weight: 400;
    color: #314158;
    line-height: 24px;
    
}

.lenses-main-block-feature-txt span {
    white-space: wrap;
    text-align: right;
}

.lenses-main-block-subtitle {
    font-size: 18px;
    font-weight: 400;
    text-align: left;
    color: #314158;
    line-height: 24px;
}

.lenses-main-block-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lenses-main-block-list li {
    list-style-type: disc;
    text-align: left;
    font-size: 16px;
    font-weight: 400;
    color: #314158;
    line-height: 24px;
    margin-left: 24px;
}

.lenses-main-block-small-txt {
    font-size: 12px;
    font-weight: 400;
    text-align: left;
    color: #314158;
    line-height: 16px;
}
.lenses-main-title-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lenses-main-blocks-img {
    position: absolute;
    right: -500px;
    top: -200px;
    object-fit: scale-down;
    width: 1400px;
    height: 1350px;
    z-index: -1;
}

.lensen-multiple-blocks {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    position: relative;
}

.lenses-main-blocks.right .lenses-main-block {
    grid-column: 3;
}

.lenses-main-blocks.right {
 align-items: flex-end;
}

.lenses-main-blocks.right .lenses-main-blocks-img {
    left: -500px;
    top: -200px;
    right: auto;
}

.double-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column: 2 / span 3;
}


.double-block .lenses-main-title-blocks-wrap {
    grid-column: 1;
}
.double-block .lenses-main-block-list {
    grid-column: 2;
}
.double-block .lenses-main-block-list {
    padding-top: 24px;
}
.lenses-main-title-blocks-wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.grid {
    justify-self: flex-end;
}


.grid.right .lenses-main-block {
grid-column: 2;
}
.grid.right .lenses-main-block:last-child {
grid-column:3;
}
.grid.title .lenses-main-blocks-img{
    top: 100px;
}

.lenses-wrapper .main-hero-link {
    font-weight: 500;
    font-size: 17px;
    width: 315px;
    height: 48px;
    margin: 0 auto;
}


@media screen and (max-width:1400px) {
  .lensen-main-blocks-wrapper:not(.lensen-main-blocks-wrapper:has(.lenses-main-block.double-block)) {
    grid-template-columns: 1fr 1fr;
  }

    /*.lensen-main-blocks-wrapper:has(.lenses-main-block.double-block) {*/
    /*    grid-template-columns: 1fr 1fr 1fr 1fr;*/
    /*}*/
    /*.lensen-main-blocks-wrapper:has(.lenses-main-block.double-block) .lenses-main-block:first-child {*/
    /*    grid-column: 1 / span 2;*/
    /*}*/

    /*.lensen-main-blocks-wrapper:has(.lenses-main-block.double-block) .lenses-main-block:last-child {*/
    /*    grid-column: 3 / span 4;*/
    /*}*/

    /*.lensen-main-blocks-wrapper:has(.lenses-main-block.double-block) .lenses-main-block-index {*/
    /*    grid-column: 1 / span 3;*/
    /*}*/



  .lenses-main-blocks-img {
    width: 1000px;
    height: 800px;
    right: 0;
    top: 0;
  }

  .lenses-main-blocks.right .lenses-main-block {
    grid-column: 2;
  }

  .lenses-main-blocks.right .lenses-main-blocks-img {
    left: 0;
    top: 0;
  }

  .grid .lenses-main-blocks-img {
    top: -400px;
  }

  .grid.right .lenses-main-block:last-child {
    grid-column: 1;
  }

  .lenses-main-block {
backdrop-filter: blur(2px);    
  }
}

@media screen and (max-width:930px) {
    .lensen-main-blocks-wrapper {
        overflow-x: scroll;
        display: flex;

        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .lensen-main-blocks-wrapper::-webkit-scrollbar {
        display: none;
    }
    .lenses-main-block {
        min-width: 320px;
    }

    .lenses-main-blocks.right {
        align-items: flex-start;
    }


    .lenses-main-wrapper {
        gap: 48px;
    }

    .lenses-wrapper {
        padding-bottom: 80px;
    }
    .lenses-main-blocks-img {
        width: 600px;
        height: 600px;
        top: -100px;
    }

    .lenses-main-blocks.right .lenses-main-blocks-img {
        top: -100px;
    }

    .lenses-main-blocks:has(.lenses-main-blocks-img) {
        padding-top: 300px;
    }

    .grid .lenses-main-blocks-img {
        top: -100px;
    }

    .lenses-main-block.double-block {
        min-width: 100%;
        grid-template-columns: 1fr 1fr;
    }

    .lenses-main-block.double-block .lenses-main-block-index {
        grid-column: 1 / span 2;
    }


}

@media screen and (max-width:650px) {
    .double-block {
        width: 650px;
        max-width: 650px;
        min-width: 650px;
        flex-shrink: 0;
    }

    .double-block .lenses-main-title-blocks-wrap {
        width: 300px;
    }

    .double-block .lenses-main-block-features {
        width: 250px;
    }

    .lensen-main-blocks-wrapper {
        width: auto;
    }

    .lenses-main-scroll-wrapper:has(.double-block) .lenses-main-block-index {
        width: fit-content;

    }
}


@media screen and (max-width:500px) {
    .lenses-main-block {
        padding: 16px;
    }



    .lenses-wrapper {
        gap: 24px;
    }

    .lenses-main-blocks {
        gap: 24px;
    }

    .lenses-main-wrapper {
        gap: 24px;
    }

    .lenses-main-blocks-img {
        left: 50%;
        transform: translateX(-50%) !important;
    }

    .lenses-main-blocks.right .lenses-main-blocks-img {
        left: 50%;
    }
    .lenses-main-blocks-img {
        width: 400px;
        height: 400px;
        top: -50px;
    }
    .lenses-main-blocks:has(.lenses-main-blocks-img) {
        padding-top: 200px;
    }

    .lenses-wrapper {
        padding-bottom: 40px;
    }

    .lenses-main-block-index {
        width: 100%;
        justify-content: flex-start;
    }
}

@media screen and (max-width:400px) {
    .lenses-main-block {
        min-width: 270px;
    }

    .lensen-main-blocks-wrapper {
        gap: 16px;
    }

    .lenses-wrapper .main-hero-link {
        width: 100%;
    }

    .lenses-main-block-index {
        font-size: 14px;
    }

}

/* контент quality */
.quality-footer-wrapper {
    padding-bottom: 48px;
}

.quality-footer-block {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 32px;
  border: 1px solid #ffffff;
  border-radius: 32px;
  background: linear-gradient(90deg, #392456 0%, #7D4FBC 100%);

 
  min-height: 310px;
  z-index: 4;

}

.quality-content {
  position: relative;
}

.quality-footer-block-title {
  font-weight: 700;
    font-size: clamp(32px, 5cqi, 40px);
    line-height: clamp(44px, 7cqi, 55px);
    background: linear-gradient(90deg, #F08033 0%, #FBECC3 100%);

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  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-title-block img {
    object-fit: scale-down;
    height: 32px;
    width: 32px;
}

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

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

@media screen and (max-width: 1100px) {
  .quality-footer-block {
    flex-direction: column;
  }
}

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

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

}


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


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

    .quality-footer-wrapper {
        padding-bottom: 40px;
    }
}

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

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

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

.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(20px, 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: 80px 0;
}
.faq-title {
  font-weight: 700;
    font-size: clamp(32px, 5cqi, 40px);
    line-height: clamp(44px, 7cqi, 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;
  }
    .faq-wrapper {
        padding: 40px 0;
        gap: 24px;
    }

    .accordion__title {
        width: 80%;
    }
}

/* контент филиалы */

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

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

.map-main-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    z-index: 123;
}

.map-sidebar {
  background: #402554;
  max-width: 320px;
  width: 100%;
  border-radius: 32px;
  padding: 48px 0;
  border: 1px solid #563270;
  position: relative;
  overflow: hidden;
}

.map-sidebar::after {
    content: '';
    background: linear-gradient(60.22deg, rgba(87, 211, 255, 0.5) 24.81%, rgba(207, 163, 255, 0.5) 57.15%, rgba(255, 104, 145, 0.5) 86.51%);
    filter: blur(80px);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100px;
    height: 250px;
    z-index: 0;
}

.map-sidebar::-webkit-scrollbar { width: 4px; }
.map-sidebar::-webkit-scrollbar-thumb { background: #6a4a8a; border-radius: 10px; }

.map-sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  color: #cbb8e0;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  z-index: 4;
  position: relative;
}

.map-sidebar-link img {
  opacity: 0;
  width: 16px;
  height: 16px;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}

.map-sidebar-link:hover {
  background: #6D418C33;
  color: #fff;
}

.map-sidebar-link.active {
  color: #fff;
  background: #6D418C33;
  padding-left: 40px;

}

.map-sidebar-link.active img {
  opacity: 1;
}

.map-pin-svg {
  cursor: pointer;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.map-pin-svg:hover {
  filter: brightness(1.3) drop-shadow(0 0 6px #f0a050);
}

.map-pin-svg.active {
  filter: brightness(1.5) drop-shadow(0 0 10px #f0a050);
  transform: scale(1.12);
}

.map {
  position: relative;
}

.map-bg  {
    position: absolute;
    object-fit: scale-down;
    width: 1400px;
    height: 1400px;
    left: -1000px;
    top: -430px;
    z-index: 0;
}


@media screen and (max-width:1450px) {
    .map-sidebar {
        position: absolute;
        right: 0;
    }
}


@media screen and (max-width:1100px) {
    .map svg {
        width: 900px;
    }
}

@media screen and (max-width:999px) {
    .map-content {
        display: none;
    }
}

/* контент contacts */

.contacts-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 80px 0;
}

.contacts-info-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 320px;
  width: 100%;
}

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

.contacts-info-subblock {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.contacts-info-subtitle {
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  color: #314158;
  text-align: left;
}

.contacts-info-descr {
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #314158;
  text-align: left;
}

.contacts-info-small {
  font-weight: 400;
  font-size: 12px;
  line-height: 24px;
  color: #314158;
  text-align: left;
}

.contacts-tel {
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: #314158;
  text-align: left;

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

}

.contacts-mail {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #0066CC;
  text-align: left;

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

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

.contacts-main-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.contacts-main-block img {
  object-fit: cover;
  border-radius: 24px;
  height: 324px;
  width: 100%;
}
.contacts-main-block:nth-child(4) {
  grid-column: 1;
  grid-row: 2;
}
.contacts-main-block:last-child {
  grid-column: 2 / span 3;
}

.contacts-map-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contacts-map-title {
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: #314158;
  text-align: left;
}

.contacts-map-block {
  width: 100%;
  height: 360px;
  border-radius: 24px;
}

.contacts-map-block iframe {
  border-radius: 24px;
}

.contacts-socials {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

    .contacts-main-block:last-child {
        grid-column: 1 / span 2;
    }

    .contacts-main-block img {
        height: 222px;
    }

    .contacts-wrapper {
        justify-content: center;
    }

}

@media screen and (max-width:1000px) {
    .contacts-map-block, .contacts-map-block iframe  {
        height: 560px;
    }
}

@media screen and (max-width:790px) {
    .contacts-main-block img {
        height: 160px;
    }
}

@media screen and (max-width:680px) {
    .contacts-wrapper {
        flex-direction: column;
    }

    .contacts-info-block {
        width: 100%;
        max-width: 100%;
    }
}

@media screen and (max-width:500px) {
    .contacts-main-block:last-child img {
        height: 230px;
    }
    .contacts-wrapper {
        padding: 40px 0;
    }
}

@media screen and (max-width:400px)  {
    .contacts-main-block {
        position: relative;
    }
    .contacts-main-block:nth-child(2) img{
        position: absolute;
        left: -50px;
    }

    .contacts-main-block:nth-child(3) img{
        position: absolute;
        left: -50px;
    }

    .contacts-main-block img {
        height: 210px;
    }

    .contacts-main-block img:not(.contacts-main-block:last-child img ) {
        width: 210px;
    }

    .contacts-wrapper {
        overflow: hidden;
    }
}


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

.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;
  }
}


.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;
    }

    .cookie-wrap p {
        font-size: 12px;
    }

    .cookie-button {
        padding: 5px 10px;
    }
}


.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);
}

.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: 320px;
        margin: 0 auto;
        width: 100%;
    }
}
@media screen and (max-width:400px)  {
    .hystmodal__window {
        max-width: 90%;
        margin: 0 auto;
    }
}

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

@media screen and (max-width: 400px) {
    .questions-main-block-title-block-button {
        text-align: left;
    }

}


.index-news-content {
    padding: 80px 0;
}
.hit-title {
    font-weight: 700;
    font-size: clamp(28px, 5cqi, 40px);
    line-height: 52px;
    color: #6b3e8c;
    text-align: center;
    padding-bottom: 40px;
}
.index-news-slider-block {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
}
.index-news-slider-block img {
    object-fit: cover;
    height: 238px;
    width: 100%;
    border-radius: 32px 32px 0 0;
    border: 1px solid #F8FAFC;
    border-bottom: unset;
}
.index-news-slider-txts-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    background-color: #E9EEF4;
    border-radius: 0 0 32px 32px;
    border: 1px solid #F8FAFC;
    border-top: unset;
    min-height: 220px;
    justify-content: space-between;
}
.index-news-slider-date {
    font-size: 14px;
    color: #314158;
    line-height: 120%;
    text-align: left;
}
.index-news-slider-title {
    font-size: clamp(18px,3cqi,22px);
    text-align: left;
    font-weight: 700;
    line-height: clamp(24px,5cqi,32px);
    color: #314158;
    min-height: 150px;
}
.index-news-slider-descr {
    font-size: 16px;
    line-height: 120%;
    text-align: left;
    color: #161616;
    min-height: 115px;
}
.index-news-slider-more {
    display: flex;
    align-items: center;
    width: 144px;
    height: 42px;
    justify-content: space-between;
    padding: 0 16px;
    background: linear-gradient(90deg, #6B3E8C 0%, #7D4FBC 100%);
    gap: 8px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 150%;
    border-radius: 32px;
    transition: all .3s ease;
}
.index-news-slider-more span {
    transition: all .3s ease;
}
.index-news-slider-block:hover span{
    transform: translateX(5px);
    transition: all .3s ease;
}
.index-news-slider-block {
    text-decoration: unset;
}

.index-news-slider-block:hover .index-news-slider-more ,
.index-news-slider-block:active .index-news-slider-more {
    transition: all .3s ease;
    filter: brightness(1.2);
}


@media screen and (max-width:500px) {
    .index-news-slider-title {
        min-height: 180px;
    }

    .index-news-slider-more {
        width: fit-content;
    }


    .index-news-content {
        padding: 40px 0;
    }
}

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

    .index-news-slider-more {
        width: fit-content;
        font-size: 14px;
        padding: 0 12px;
    }

    .index-news-slider-more svg {
        height: 14px;
        width: 14px;
    }
}




.hit-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    border-radius: 32px;
    background: transparent;
    border: 2px solid #6B3E8C;
    color: #6B3E8C;
    font-size: 17px;
    line-height: 20px;
    height: 48px;
    width: 190px;
    font-weight: 500;
    transition: all .3s ease;
    margin: 0 auto;

    &:hover, &:active {
        transition: all .3s ease;
        filter: brightness(1.2);
    }
}

.swiper-index-news {
    margin-bottom: 40px;
    overflow: hidden;
}


.hystmodal {
    z-index: 9999999999999999999999999999999999999;
}
.scroll-hint {
    display: none;
}
@media screen and (max-width:480px) {
    .lenses-main-scroll-wrapper {
        position: relative;
    }
    .scroll-hint {
        position: absolute;
        z-index: 2;
        right: -16px;
        bottom: 0;
        width: 55px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        pointer-events: none;
        background: linear-gradient(
                to right,
                transparent,
                rgba(238, 243, 249, 0.95) 65%
        );
        height: 100%;

    }

    .scroll-hint span {
        width: 30px;
        height: 30px;
        margin-right: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        font-size: 18px;
        color: #555;
    }
}

.sbmt-individual {
    position: fixed;
    /* transform: translate(-50%, -50%); */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 7656754754675467546754675467;
}
.sbmt-individual_wrap {
    width: 600px;
    margin: 0 auto;
    /* width: 100%; */
    /* transform: translate(0%, 45%); */
    top: 40%;
    position: relative;
    text-align: center;
    color: #161616;
    font-size: 32px;
    display: flex;
    gap: 1em;
    flex-direction: column;
    background: #ffffff;
    padding: 48px 24px;
    border-radius: 0.5em;
    line-height: 43px;

}
.sbmt-individual.show {
    background: rgba(32, 29, 29, 0.64);
}

.sbmt-individual_wrap button {
    height: 24px;
    position: absolute;
    right: 16px;
    top: 16px;
}
.sbmt-individual_wrap button svg {
    height: 100%;
    width: 100%;
}


@media screen and (max-width:650px) {
    .sbmt-individual_wrap {
        width: 300px;
        margin: unset;
        padding: 16px;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
    }

    .sbmt-individual_wrap-text {
        font-size: 16px;
        font-weight: 600;
        line-height: 24px;
    }

    .sbmt-individual_wrap button  {
        height: 24px;
        width: 24px;
    }
}

.control-wrapp {
    position: relative;

}

.control-wrapp input {
    transition: all .3s ease;
}

.control-wrapp .just-validate-error-label {
    position: absolute;
    top: 3px;
    font-size: 12px;
    left: 24px;
}

 .control-wrapp:has(.just-validate-error-label) input {
    transition: all .3s ease;
    height: 50px;
    padding-top: 14px;
}


 @media screen and (max-width:550px) {
     .hystmodal__window {
         max-width: 90%;
     }

     .hystmodal__close {
         background-color: unset;
         mix-blend-mode: unset;
     }
 }

@media screen and (max-width:400px) {
    .contacts-form-title {
        font-size: 15px;
    }
}

@media screen and (max-width:359px) {
    .hystmodal__close {
        right: 12px;
        top: 12px;
    }

    .contacts-form-title {
        width: 90%;
        margin: 0 auto;
    }
}