/* main page */

/* main banner */

.main-banner-sec{
  position: relative;
}

.main-banner-bg{
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  overflow: hidden;
  background: var(--beige);
}

.main-banner-bg-foto{
  flex: 0 0 calc(200%/3);
  max-width: calc(200%/3);
  height: 100%;
  position: relative;
  overflow: hidden;
  min-width: 819px;
}

.main-banner-bg-foto img{
  position: absolute;
  height: 100%;
  object-fit: cover;
}

.main-banner-ai-icon{
  flex-grow: 1;
  height: 100%;
  position: relative;
}

.main-banner-ai-icon svg{
  position: absolute;
  z-index: 1;
  top: 42px;
  right: 0;
}

.main-banner-cont{
  position: relative;
  z-index: 2;
  padding: 134px 0 122px;
}

.main-banner-content{
  position: relative;
  max-width: 847px;
  width: 100%;
}

.main-banner-content:after{
  content: "";
  position: absolute;
  z-index: 2;
  inset: 4px;
  background: var(--header-bg);
  backdrop-filter: blur(4px);
}

.main-banner-content:before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    padding: 4px;
    background: linear-gradient(112.07deg, #E6D5C9 1.31%, #9A8472 20.76%, #C2AE9F 37.05%, #EAD9CD 67.26%, #988076 82.44%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.main-banner-info{
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 3;
  padding: 58px 16px;
  gap: 16px;
  text-align: center;
}


.main-banner-title{
  font-family: var(--family2);
  font-weight: 700;
  font-size: 52px;
  line-height: 100%;
  text-align: center;
  text-transform: uppercase;
  color: var(--forest);
  margin: 0;
}

.main-banner-title span{
  color: var(--coffe);
}

.main-banner-group{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-banner-group-title{
  color: var(--coffe);
  font-family: var(--family3);
  font-weight: 400;
  font-size: 48px;
  line-height: 120%;
}

.main-banner-group-text{
  color: var(--forest);
  font-weight: 500;
  font-size: 22px;
  line-height: 120%;
}

.main-banner-group-info{
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-banner-group-item{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-banner-group-item-bg{
  position: relative;
}

.mb-line{
  position: relative;
  z-index: 2;
}

.mb-elipse{
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
}

.main-banner-group-item span{
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 3;
  color: var(--forest);
  font-weight: 300;
  font-size: 18px;
  line-height: 120%;
  text-align: center;
  margin-bottom: -4px;
}

.main-banner-btns-block{
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-banner-btn{
  flex: 0 0 calc(50% - 20px);
  max-width: calc(50% - 20px);
  position: relative;
  background: linear-gradient(112.07deg, #9A8472 6.85%, #EAD9CD 67.26%, #988076 82.44%, #EFE4DC 100%);
  height: 50px;
}

.main-banner-btn span{
  position: absolute;
  z-index: 2;
  inset: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  text-align: center;
  color: var(--linen);
  background: var(--coffe);
}

.main-banner-btn-white{
  background: linear-gradient(112.07deg, #9A8472 6.85%, #EAD9CD 67.26%, #988076 82.44%, #EFE4DC 100%);
}

.main-banner-btn-white span{
  background: var(--linen);
  color: var(--coffe);
}

.main-banner-bg-mob{
  display: none;
}

@media(max-width: 1320px){
  .main-banner-ai-icon svg{
    width: 612px;
    height: 560px;
    top: -205px;
    right: -272px;
  }

  .main-banner-content{
    max-width: 396px;
    margin-left: 177px;
  }

  .main-banner-cont{
    padding: 103px 0 80px;
  }

  .main-banner-group-title, .main-banner-group-text{
    display: none;
  }

  .main-banner-group-info{
    flex-direction: column;
  }

  .main-banner-title{
    font-weight: 700;
    font-size: 30px;
    line-height: 100%;
    text-align: center;
    text-transform: none;
  }

  .main-banner-btns-block{
    flex-direction: column;
    gap: 10px;
  }

  .main-banner-btn{
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }

  .main-banner-info{
    padding: 20px 16px;
  }

  .main-banner-ai-icon{
    min-width: 141px;
  }

  .main-banner-group-item span{
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    text-align: center;
  }
}

@media(max-width: 960px){
  .main-banner-ai-icon{
    min-width: 165px;
  }

  .main-banner-ai-icon svg{
    top: -160px;
  }

  .main-banner-content{
    max-width: 397px;
    margin: 0 auto;
  }
}

@media(max-width: 768px){
  .main-banner-content{
    max-width: 264px;
    margin: 0;
  }

  .main-banner-cont{
    padding: 19px 0 23px;
  }

  .main-banner-bg{
    flex-direction: column;
  }

  .main-banner-ai-icon{
    min-width: 100%;
    width: 100%;
    min-height: 230px;
    height: auto;
  }

  .main-banner-bg-foto{
    flex: 0 0 auto;
    max-width: 100%;
    min-width: 100%;
    flex-grow: 1;
    height: auto;
  }

  .main-banner-info{
    padding: 20px 6px;
  }

  .main-banner-ai-icon svg{
    width: 350px;
    height: 320px;
    top: -65px;
    right: -135px;
  }

  .main-banner-bg-mob{
    display: inline-block;
  }

  .main-banner-bg-foto img:not(.main-banner-bg-mob){
    display: none;
  }

  .main-banner-bg-foto img {
    position: absolute;
    width: 100%;
    object-fit: cover;
    height: 100%;
}
}

/* counter-sec */

.counter-sec{
  padding: 64px 0;
}

.counter-cont{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.counter-wrap{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 64px;
}

.counter-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.counter-item-count{
  border: 4px solid var(--desert);
  padding: 14px 42px 4px;
  color: var(--coffe);
  font-family: var(--family2);
  font-weight: 700;
  font-size: 52px;
  line-height: 100%;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
}

.counter-item-name{
  font-family: var(--family3);
  font-weight: 400;
  font-size: 32px;
  line-height: 120%;
  text-align: center;
  padding: 2px 24px 4px 16px;
  margin-top: -12px;
  background: var(--coffe);
  color: var(--linen);
  z-index: 2;
}

.counter-sec .wrap{
  padding: 0;
}

.counter-item-count .counter-value{
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
}

.counter-item-count .counter-ghost{
  visibility: hidden;
}

@media(max-width: 1320px){
  .counter-wrap{
    padding: 32px 42px;
  }

  .counter-item-count{
    font-size: 36px;
    text-align: center;
  }

  .counter-sec{
    padding: 32px 0;
  }
}

@media(max-width: 960px){
  .counter-wrap{
    padding: 32px 20px;
  }
}

@media(max-width: 768px){
  .counter-wrap{
    padding: 32px 20px;
  }

  .counter-cont{
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

/* what-sec */

.what-sec{
  padding: 119px 0 64px;
  position: relative;
}

.what-bg{
  position: absolute;
  overflow: hidden;
  left: 0;
  top: 0;
  right: 0;
  height: 751px;
  /*aspect-ratio: 1920 / 751;*/
}

.what-bg img{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: unset;
}

.what-cont{
  padding: 83px 108px 83px 160px;
  background: var(--beige);
  display: flex;
  flex-direction: column;
  position: relative;
}

.what-img-block{
  position: absolute;
  z-index: 1;
  left: 108px;
  top: 63px;
  display: flex;
  flex-direction: column;
}

.what-info-content{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  gap: 24px;
}

.what-info-text-block{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  padding: 51px 39px 134px 39px;
  background: var(--linen);
  gap: 40px;
}

.what-info-title{
  max-width: 603px;
  width: 100%;
  color: var(--coffe);
  font-family: var(--family3);
  font-weight: 400;
  font-size: 48px;
  line-height: 120%;
  position: relative;
  z-index: 2;
}

.what-info-text-title{
  color: var(--forest);
  font-family: var(--family2);
  font-weight: 600;
  font-size: 40px;
  line-height: 120%;
  text-transform: uppercase;
  max-width: 593px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.what-info-text{
  max-width: 355px;
  width: 100%;
  color: var(--forest);
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  text-align: justify;
  position: relative;
  z-index: 2;
}

.what-info-steps{
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
}

.what-info-step-block{
  display: flex;
  align-items: flex-start;
  gap: 38px;
}

.what-info-step-counter{
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 70px;
  text-align: center;
  width: 70px;
  height: 70px;
  position: relative;
  color: var(--white);
  font-family: var(--family2);
  font-weight: 600;
  font-size: 40px;
  line-height: 120%;
  text-align: center;
  text-transform: uppercase;
}

.what-info-step-counter:before{
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  rotate: 45deg;
  background: var(--coffe);
  z-index: -1;
  top: 11px;
  left: 11px;
}

.what-info-step-counter-text{
  color: var(--coffe);
  position: absolute;
  bottom: -5px;
  right: -6px;
  display: flex;
}

.what-info-step-info{
  flex-direction: column;
  display: flex;
  flex-grow: 1;
}

.what-info-step-title{
  color: var(--forest);
  font-weight: 700;
  font-size: 18px;
  line-height: 140%;
}

.what-info-step-text{
  color: var(--coffe);
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
}

.what-img-item1{
  position: relative;
}

.what-img-item1:before{
    content: "";
    position: absolute;
    z-index: 1;
    border: 6px solid var(--coffe);
    width: 406px;
    height: 332px;
    left: -60px;
    top: 60px;
}

.what-img-item2{
  margin-left: 106px;
  position: relative;
  z-index: 3;
  margin-top: -40px;
  display: flex;
  align-items: center;
}

.what-sec2 .what-img-item2{
  aspect-ratio: 380 / 396;
  width: 380px;
  position: relative;
  overflow: hidden;
}

.what-sec2 .what-img-item2 img{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.what-img-item1-cont{
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.what-sec2 .what-info-text-block{
  padding: 20px 18px 21px 58px;
}

.what-sec2 .what-info-text-title{
  max-width: 620px;
}

.what-sec2 .what-info-title{
  max-width: 625px;
}

.what-sec2 .what-info-text{
  max-width: 504px;
}

@media(max-width: 1320px){
  .what-sec{
    padding: 80px 0 0;
  }

  .what-bg{
    height: 540px;
  }

  .what-cont{
    padding: 50px 24px 66px 68px;
  }

  .what-info-content{
    gap: 10px;
  }

  .what-info-text-block{
    gap: 24px;
    padding: 25px 26px 53px;
  }

  .what-info-title, .what-sec2 .what-info-title{
    max-width: 543px;
    font-family: Caveat;
    font-weight: 400;
    font-size: 40px;
    line-height: 120%;
  }


  .what-info-text-title, .what-sec2 .what-info-text-title{
     max-width: 463px;
      font-size: 28px;
      line-height: 120%;

  }

  .what-info-text{
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
  }

  .what-img-block{
    top: 50px;
    left: 45px;
  }

  .what-img-item1-cont{
    width: 241px;
  }

  .what-img-item1:before{
    width: 265px;
    height: 195px;
    top: 31px;
    left: -24px;
  }

  .what-img-item2{
    width: 369px;
    margin-left: 45px;
    margin-top: -23px;
  }

  .what-sec2 .what-img-item2{
    width: 280px;
  }
}

@media(max-width: 960px){
  .what-cont{
    padding: 50px 11px 66px 56px;
  }

  .what-info-title{
    max-width: 481px;
  }

  .what-info-text-block{
    padding: 22px 15px 61px 15px;
    gap: 19px;
  }

  .what-info-text-title, .what-sec2 .what-info-title{
    max-width: 441px;
  }

  .what-info-text, .what-sec2 .what-info-text{
    max-width: 350px;
  }

  .what-img-block{
    top: 81px;
    left: 23px;
  }

  .what-img-item1-cont{
    width: 194px;
  }

  .what-img-item2{
    width: 297px;
    margin-left: 21px;
    margin-top: -24px;
  }

  .what-img-item1:before{
    width: 210px;
    height: 157px;
    left: -16px;
    top: 25px;
  }
}

@media(max-width: 768px){
  .what-sec{
    padding: 79px 0 0;
  }

  .what-sec .wrap{
    padding: 0;
  }

  .what-bg{
    height: 1004px;
  }

  .what-cont{
    padding: 59px 0;
    gap: 8px;
    display: flex;
    flex-direction: column-reverse;
  }

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

  .what-info-content{
    background: var(--linen);
    gap: 39px;
    padding: 32px 20px;
  }

  .what-info-text-block, .what-sec2 .what-info-text-block{
    gap: 32px;
    padding: 0;
  }

  .what-img-item1 {
    display: flex;
    align-self: flex-end;
  }

  .what-img-item1-cont{
    width: 246px;
  }

  .what-img-item2{
    width: 340px;
    margin-left: 0;
    margin-top: -32px;
  }

  .what-img-item1:before{
    width: 265px;
    height: 172px;
    top: -21px;
    left: -19px;
  }

  .what-sec2 .what-img-item2{
    width: 250px;
  }

}

/* whatdo-sec */

.whatdo-sec{
  padding: 64px 0;
}

.whatdo-cont{
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.whatdo-title{
  text-align: center;
  font-family: var(--family2);
  font-weight: 600;
  font-size: 40px;
  line-height: 120%;
  text-transform: uppercase;
  color: var(--forest);
}

.whatdo-list{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-bottom: 28px;
}

.whatdo-list-line{
  flex: 0 0 100%;
  max-width: 100%;
  position: relative;
  background: var(--desert);
  height: 1px;
}

.whatdo-list-line:before{
  content: "";
  position: absolute;
  top: 0;
  right: 100%;
  width: calc(50vw - 640px);
  height: 1px;
  background: var(--desert);
}

.whatdo-list-line:after{
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  width: calc(50vw - 640px);
  height: 1px;
  background: var(--desert);
}

.whatdo-item{
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px;
  border: 1px solid transparent;
  transition: .3s all ease-in-out;
  color: var(--coffe);
}

.whatdo-item:hover{
  border-color: var(--desert);
  color: var(--forest);
}


.whatdo-item-title-cont{
  display: flex;
  align-items: center;
  gap: 16px;
}

.whatdo-item-icon{
  flex: 0 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
}

.whatdo-item-title{
  color: var(--forest);
  font-weight: 500;
  font-size: 22px;
  line-height: 120%;
}

.whatdo-text{
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
}

.whatdo-list-item{
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.whatdo-list-item.item1{
  max-width: 314px;
  padding-bottom: 117px;
}

.whatdo-list-item.item2{
  max-width: 356px;
  padding-bottom: 45px;
}

.whatdo-list-item.item3{
  max-width: 308px;
  padding-bottom: 93px;
}

.whatdo-list-item.item4{
  max-width: 416px;
  padding-top: 63px;
}

.whatdo-list-item.item5{
  max-width: 414px;
  padding-top: 84px;
}

.whatdo-list-group{
  display: flex;
  justify-content: space-around;
  width: 100%;
}

.whatdo-list-item.item1, .whatdo-list-item.item2, .whatdo-list-item.item3{
  justify-content: flex-end;
}

.whatdo-list-item.item4, .whatdo-list-item.item5{
  justify-content: flex-start;
}

.whatdo-list-item-pointer{
  position: absolute;
  left: 0;
  width: 1px;
  height: 2px;
  background: var(--desert);
  transition: .7s all ease-in-out;
}

.whatdo-list-item.item1 .whatdo-list-item-pointer, .whatdo-list-item.item2 .whatdo-list-item-pointer, .whatdo-list-item.item3 .whatdo-list-item-pointer{
  bottom: 3px;
}

.whatdo-list-item.item4 .whatdo-list-item-pointer, .whatdo-list-item.item5 .whatdo-list-item-pointer{
  top: 3px;
}

.item-pointer1.animated{
  height: 240px;
}

.item-pointer2.animated{
  height: 140px;
}

.item-pointer3.animated{
  height: 190px;
}

.item-pointer4.animated{
  height: 145px;
}

.item-pointer5.animated{
  height: 165px;
}

.whatdo-list-item-pointer:before{
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--desert);
  rotate: -45deg;
  top: -5px;
  left: -2px;
}

.whatdo-list-item-pointer:after{
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--desert);
  rotate: 45deg;
  left: -2px;
  bottom: -5px;
}


@media(max-width: 1320px){
  .whatdo-list-item.item1{
    max-width: 296px;
    padding-bottom: 182px;
  }

  .whatdo-list-item.item2{
    max-width: 280px;
    padding-bottom: 64px;
  }

  .whatdo-list-item.item3{
    max-width: 296px;
    padding-bottom: 155px;
  }

  .whatdo-list-item.item4{
    max-width: 396px;
    padding-top: 59px;
  }

  .whatdo-list-item.item5{
    max-width: 396px;
    padding-top: 61px;
  }

  .whatdo-list-line:before{
    width: calc(50vw - 460px);
  }

  .whatdo-list-line:after{
    width: calc(50vw - 460px);
  }

  .whatdo-item-title{
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;
  }

  .whatdo-item-icon{
    height: auto;
  }

  .whatdo-text{
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
  }

  .whatdo-list{
    padding-bottom: 33px;
  }

  .whatdo-title{
    font-weight: 700;
    font-size: 28px;
    line-height: 120%;
    text-transform: uppercase;
  }

  .item-pointer1.animated{
    height: 285px;
  }

  .item-pointer2.animated{
    height: 170px;
  }

  .item-pointer3.animated{
    height: 240px;
  }

  .item-pointer4.animated{
    height: 85px;
  }

  .item-pointer5.animated{
    height: 90px;
  }
}

@media(max-width: 960px){
  .whatdo-list-item.item1{
    max-width: 229px;
    padding-bottom: 160px;
  }

  .whatdo-list-item.item2{
    max-width: 229px;
    padding-bottom: 64px;
  }

  .whatdo-list-item.item3{
    max-width: 229px;
    padding-bottom: 117px;
  }

  .whatdo-list-item.item4{
    max-width: 321px;
    padding-top: 68px;
  }

  .whatdo-list-item.item5{
    max-width: 321px;
    padding-top: 59px;
  }

  .whatdo-list{
    padding-bottom: 12px;
  }

  .whatdo-list-line:before{
    width: calc(50vw - 364px);
  }

  .whatdo-list-line:after{
    width: calc(50vw - 364px);
  }
}

@media(max-width: 768px){
  .whatdo-sec{
    padding: 42px 0 64px;
  }

  .whatdo-sec .wrap{
    padding: 0;
  }

  .whatdo-list{
    flex-direction: column;
    gap: 23px;
    padding: 0 20px 20px 0;
    margin-left: 10px;
    border-left: 1px solid var(--coffe);
  }

  .whatdo-list-item.item1, .whatdo-list-item.item2, .whatdo-list-item.item3, .whatdo-list-item.item4, .whatdo-list-item.item5{
    max-width: 100%;
    padding: 0;
  }

  .whatdo-item{
    padding-left: 13px;
  }

  .whatdo-list-group{
    display: contents;
  }

  .whatdo-list-line{
    display: none;
  }

  .whatdo-list-item-pointer{
    width: 2px ;
    height: 1px;
    left: 2px;
  }

  .whatdo-list-item.item1 .whatdo-list-item-pointer, .whatdo-list-item.item2 .whatdo-list-item-pointer, .whatdo-list-item.item3 .whatdo-list-item-pointer, .whatdo-list-item.item4 .whatdo-list-item-pointer, .whatdo-list-item.item5 .whatdo-list-item-pointer{
    bottom: unset;
    top: 0;
  }

  .whatdo-list-item-pointer:after{
    left: unset;
    right: -5px;
    top: -2px;
  }

  .whatdo-list-item-pointer:before{
    left: -5px;
    top: -2px; 
  }

  .item-pointer1.animated, .item-pointer2.animated, .item-pointer3.animated, .item-pointer4.animated, .item-pointer5.animated{
      height: 1px;
      width: 150px;
    }

}

/* speak-sec */

.speak-sec{
  padding: 105px 0 64px;
}

.speak-cont{
  background: var(--beige);
}

.speak-block{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  padding: 35px 0;
}

.spaek-img{
  position: absolute;
  left: 0;
  bottom: 0;
}

.speak-info{
  width: 100%;
  max-width: 847px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.speak-info-title{
  color: var(--forest);
  font-family: var(--family2);
  font-weight: 600;
  font-size: 32px;
  line-height: 120%;
}

.speak-info-group{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.speak-info-text{
  color: var(--forest);
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
}

.speak-info-btn{
  display: flex;
  align-items: center;
}

.speak-info-btn .mind-btn:not(:hover):not(:active){
  color: var(--forest);
  border-color: var(--beige);
  background: var(--linen);
}

@media(max-width: 1320px){
  .speak-sec{
    padding: 0;
  }

  .speak-block{
    padding: 42px 0;
  }

  .speak-info{
    max-width: 712px;
    gap: 16px;
  }

  .spaek-img{
    max-width: 192px;
  }

  .speak-info-title{
    font-weight: 600;
    font-size: 30px;
    line-height: 120%;
  }

  .speak-info-text{
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
  }
}

@media(max-width: 960px){
  .speak-block{
    padding: 32px 0;
  }

  .speak-info{
    max-width: 100%;
    align-items: flex-end;
  }

  .speak-info-title{
    width: 100%;
  }

  .speak-info-group{
    max-width: 564px;
    width: 100%;
  }

  .spaek-img{
    max-width: 166px;
  }
}

@media(max-width: 768px){
  .speak-block{
    flex-direction: column-reverse;
    gap: 0;
    padding: 64px 0 0;
  }

  .spaek-img{
    max-width: unset;
  }

  .speak-info{
    gap: 32px;
  }

  .speak-info-btn .mind-btn{
    padding: 0;
    width: 100%;
  }

  .spaek-img{
    position: relative;
  }

  .speak-sec{
    padding-bottom: 64px;
  }
}

/* worker-sec */

.worker-sec{
  padding: 64px 0;
}

.worker-cont{
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.worker-top-block{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.worker-text-block{
  font-weight: 400;
  font-size: 18px;
  line-height: 120%;
  max-width: 611px;
}

.worker-title-cont{
  display: flex;
  flex-direction: column;
}

.worker-title-block{
  display: flex;
  align-items: center;
  gap: 26px;
}

.worker-title{
  color: var(--forest);
  font-family: var(--family2);
  font-weight: 600;
  font-size: 40px;
  line-height: 120%;
  text-transform: uppercase;
}

.worker-semititle{
  color: var(--desert);
  font-family: var(--family3);
  font-weight: 400;
  font-size: 32px;
  line-height: 120%;
}

.worker-list{
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px;
  gap: 16px 0;
  justify-content: center;
}

.worker-list-item{
  padding: 0 8px;
  flex: 0 0 25%;
  max-width: 25%;
}

.worker-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.worker-item:hover{
  text-shadow: none;
}

.worker-item:hover .worker-item-img:before{
  opacity: 0;
}

.worker-item-img{
  width: 100%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 308 / 400;
  box-shadow: 0px 4px 4px 0px #00000040;
}

.worker-item-img:before{
  content: "";
  inset: 0;
  position: absolute;
  z-index: 2;
  background: #98807682;
  transition: .3s all ease-in-out;
}

.worker-item-img img{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.worker-item-info{
  max-width: 276px;
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: var(--linen);
  z-index: 3;
  margin-top: -41px;
}

.worker-item-name{
  font-weight: 700;
  font-size: 18px;
  line-height: 140%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--black);
}

.worker-item-desc{
  color: var(--black);
  font-weight: 400;
  font-size: 12px;
  line-height: 120%;
}

.worker-list-see-all{
  display: none;
}

.worker-item-new{
  width: 100%;
  aspect-ratio: 308 / 414;
  background: var(--coffe);
  box-shadow: 0px 4px 4px 0px #00000040;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 63px 21px 0;
}

.worker-item-new-title{
  color: var(--linen);
  font-weight: 700;
  font-size: 18px;
  line-height: 140%;
  text-align: center;
}

.worker-item-new-text-block{
  position: relative;
}

.worker-item-new-text{
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--family3);
  font-weight: 400;
  font-size: 24px;
  line-height: 120%;
  text-align: center;
  color: var(--linen);
  max-width: 244px;
  width: 100%;
}

.worker-item-btn{
  margin-top: -41px;
}

.worker-item-btn .mind-btn{
  height: 57px;
}

.worker-item-btn .mind-btn:not(:hover):not(:active){
  color: var(--black);
  border-color: var(--desert);
  background: var(--linen);
  height: 57px;
}

@media(max-width: 1320px){
  .worker-top-block{
    flex-direction: column-reverse;
    gap: 16px;
  }

  .worker-title-cont{
    width: 100%;
  }

  .worker-text-block{
    max-width: 100%;
    width: 100%;
  }

  .worker-title-block{
    justify-content: space-between;
  }

  .worker-title{
    font-size: 28px;
    line-height: 120%;
  }

  .worker-semititle{
    font-size: 28px;
    line-height: 120%;
  }

  .worker-list-item{
    flex: 0 0 calc(100% / 3);
    max-width: calc(100% / 3);
  }

  .worker-list-see-all{
    padding-top: 8px;
  }

  .worker-list:not(.opened) .worker-list-item:nth-child(n + 4){
    display: none;
  }

  .worker-list:not(.opened) .worker-list-see-all{
    display: flex;
    align-items: center;
    justify-content: center;
  }
} 

@media(max-width: 960px){
  .worker-item-info{
    max-width: 200px;
  }
}

@media(max-width: 768px){
  .worker-list-item{
    flex: 0 0 100%;
    max-width: 100%;
  }

  .worker-list:not(.opened) .worker-list-item:nth-child(n + 4){
    display: block;
  }

  .worker-list:not(.opened) .worker-list-item:nth-child(n + 5){
    display: none;
  }

  .worker-item-info{
    max-width: 288px;
  }

  .worker-list{
    gap: 47px 0;
  }

  .worker-list-see-all{
    padding-top: 0;
  }
}
