#panel {
  position: absolute;
  left: 0;
  right: 0;
}

.mortgage__nav {
  margin: 0 0 2rem;
}
.mortgage_slider {
  overflow: hidden;
  max-width: 70rem;
}
.mortgage_slider .mortgage__item{
  max-width: unset;
}
.mortgage__item.whiteBg img{
  mix-blend-mode: darken;
}
.mortgage__item.whiteBg {
  background: #EDEDED;
}
.mortgage__item.whiteBg p{
  color: #1f2229;
}
.mortgage__item.whiteBg .mortgage__item-logo:after{
  background: #1f2229;
}
.mortgage_btn {
  margin-left: auto;
  max-width: 126rem;
}
.why_we_btn,.mortgage_btn {
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: start;
  margin-top: 4rem;
}
.why_we_btn .btn,.mortgage_btn .btn {
  font-weight: 600;
  height: 5.6rem;
  max-width: 28.7rem;
  width: 100%;
}
.mortgage__item-text p b {
  display: block;
  font-weight: 700;
}
.openAgreement {
  color: #0057b2;
  display: block;
  text-decoration: underline;
}
.modal-form-cnt.modal_text_style {
  padding: 4rem;
  max-width: 120rem;
}
.modal-form-cnt.modal_text_style hr {
  width: 80%;
  max-width: 61rem;
  margin: 2rem auto 2rem;
}
.modal-form-cnt.modal_text_style .h2 {
  font-size: 3rem;
}
.modal_text_style .modal_wrapper {
  margin: 0 auto;
  max-width: 90rem;
}
.modal_text_style .modal_text_inner {
  font-size: 1.6rem;
  text-align: left;
  margin: 0 auto;
  height: 100%;
  max-height: 70vh;
  overflow-y: scroll;
  padding-right: 4rem;
  margin-right: -4rem;
}
#ac-panel-2 .house-kit__item-photo img {
  object-fit: contain;
  object-position: left;
}
.modal-form .error {
  color: red;
}
.modal-form .mf-ok-text {
  color: #00e400;
}

.technology__body p,
.house-kit__header p {
  opacity: 1;
}

.why-we__text p,
.how-working__text p,
.welcome__body-text p {
  color: inherit;
  font-weight: 400;
}

main {
  background: #fff;
}

.social-block {
  gap: 2.8rem;
}

p.modal-big {
  font-size: 1.9rem;
  font-weight: 600;
}

@media (max-width: 767px) {
  p.modal-big {
    font-size: 16px;
  }
  p.modal-big a {
    display: block;
  }
}

.modal-project__item-header span {
  display: inline-block;
}

.hero__text-top,
.hero__text-1,
.hero__text-3,
.hero__text p {
  color: #1f2229;
}

.header__burger svg,
.social-block .icon {
  fill: #1f2229;
}

.hero__sound {
  background: url(../img/sound-off-black.svg) 50% / contain no-repeat;
  background: url(../img/sound-on-black.svg) 50% / contain no-repeat;
}

.hero__sound.active {
  background: url(../img/sound-off-black.svg) 50% / contain no-repeat;
}

.hero__text-2:after {
  background: url(../img/hero-3-new.svg) 50% / contain no-repeat;
}

.header.active .header__content {
  background: #ece9ec;
}

.tablebodytext {
  display: none;
}

@media (max-width: 767px) {
  .modal-form-cnt.modal_text_style {
    padding: 2rem 1.5rem;
  }
  .modal_text_style .modal_text_inner {
    font-size: 1.4rem;
    max-height: 80vh;
    padding-right: 0;
    margin-right: -1rem;
  }
  .modal-form-cnt.modal_text_style .h2 {
    font-size: 2rem;
  }
  .hero__sound {
    background: url(../img/sound-on.svg) 50% / contain no-repeat;
    background: url(../img/sound-off.svg) 50% / contain no-repeat;
  }
  .hero__sound.active {
    background: url(../img/sound-on.svg) 50% / contain no-repeat;
  }
}
.thx_page_vr.technology__text {
  max-width: 100%;
  margin-top: 20rem;
  text-align: center;
}
.thx_page_vr .btnBlack {
  margin: 0 auto;
  text-align: center;
  max-width: 38rem;
  width: 100%;
  height: 7.7rem;
  background: #ffca07;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  text-decoration: none;
  transition: 0.3s;
  color: #1e1e20;
  border: 0.1rem solid transparent;
  border-radius: 0.5rem;
  font-weight: 600;
}
.thx_page_vr .technology__body p:first-of-type {
  padding-right: 0;
}
@media (max-width: 767px) {
  .thx_page_vr .btnBlack {
    max-width: 28rem;
  }
}

.header__right {
  display: flex;
  align-items: center;
  gap: 14.1rem;
}

@media (max-width: 767px) {
  .header__right {
    gap: 30px;
  }
}

.header__phone {
  font-size: 2rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

@media (max-width: 767px) {
  .header__phone {
    font-size: 15px;
  }
}

.header__phone::before {
  content: '';
  background: url('../img/header-phone-icon.svg') center/contain no-repeat;
  width: 1rem;
  height: 2.5rem;
  display: inline-block;
}

@media (max-width: 767px) {
  .header__phone::before {
    position: relative;
    top: -2px;
  }
}

/* БЛОК КОНСТРУКЦИИ И МАТЕРИАЛЫ */

.materials__header {
  margin-bottom: 3.7rem;
  max-width: 92.6rem;
}

.materials__header .before-h2 {
  margin-bottom: 0.9rem;
}

.materials__header .h2 {
  font-size: 4.5rem;
  line-height: 1.2;
}

.materials__header p {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.6875;
  max-width: 53.8rem;
}

.materials__wrap {
  background: url(../img/materials/materials-bg.jpg) 50% / cover no-repeat;
  padding-bottom: 13.3rem;
  padding-top: 12rem;
}

.materials__area {
  padding-right: 10.7rem;
}

.materials__body {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 4rem;
  justify-content: space-between;
}

.materials__text {
  max-width: 61.2rem;
  width: 100%;
}

.materials__text ul {
  counter-reset: list;
  list-style: none;
  margin: 0;
  padding: 0;
}

.materials__text ul li {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.6875;
  margin-bottom: 2.3rem;
  padding-left: 7.3rem;
  position: relative;
}

.materials__text ul li:last-of-type {
  margin-bottom: 0;
}

.materials__text ul li:before {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: #efa71a;
  border-radius: 50%;
  content: counter(list) '';
  counter-increment: list 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 3rem;
  font-weight: 700;
  height: 4.4rem;
  justify-content: center;
  left: 0;
  line-height: 0.9;
  position: absolute;
  top: 0;
  width: 4.4rem;
}

.materials__text ul li:first-of-type:before {
  top: -1rem;
}

.materials__text ul li:nth-of-type(2):before {
  top: 1rem;
}

.materials__text ul li:nth-of-type(3):before {
  top: 0.5rem;
}

.materials__video {
  max-width: 66rem;
  width: 100%;
}

.materials__video:hover .materials__video-btn {
  -webkit-transform: translate(-50%, -50%) scale(1.05);
  -ms-transform: translate(-50%, -50%) scale(1.05);
  transform: translate(-50%, -50%) scale(1.05);
}

.materials__video .custom-fancy-video {
  display: block;
  width: 100%;
}

.materials__video-item {
  max-width: 66rem;
  position: relative;
  width: 100%;
}

.materials__video-item img {
  border-radius: 0.6rem;
  width: 100%;
}

.materials__video-btn {
  height: 6.9rem;
  left: 47%;
  position: absolute;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.35s cubic-bezier(0.39, 0.575, 0.565, 1);
  transition: all 0.35s cubic-bezier(0.39, 0.575, 0.565, 1);
  width: 6.9rem;
}

@media (max-width: 1200px) {
  .materials__area {
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  .materials {
    padding-bottom: 40px;
  }

  .materials__header {
    margin-bottom: 30px;
  }

  .materials__header .before-h2 {
    margin-bottom: 5px;
  }

  .materials__header .h2 {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .materials__header p {
    line-height: 1.5;
    max-width: 100%;
  }

  .materials__wrap {
    background: #f5f5f5;
    margin-left: -12px;
    margin-right: -12px;
    padding: 40px 0;
  }

  .materials__body {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 0;
  }

  .materials__text {
    margin-bottom: 30px;
    max-width: 100%;
  }

  .materials__text ul li {
    line-height: 1.5;
    margin-bottom: 20px;
    padding-left: 50px;
  }

  .materials__text ul li:before {
    font-size: 20px;
    height: 36px;
    width: 36px;
  }

  .materials__text ul li:first-of-type:before {
    top: -6px;
  }

  .materials__text ul li:nth-of-type(2):before {
    top: 0;
  }

  .materials__text ul li:nth-of-type(3):before {
    top: 0;
  }

  .materials__video-btn {
    height: 56px;
    left: 50%;
    width: 56px;
  }
}

/* // БЛОК КОНСТРУКЦИИ И МАТЕРИАЛЫ */

.hero__play-fade {
  display: none;
}

.hero__play {
  bottom: 6.9rem;
  left: 72.4%;
}

@media (max-width: 1600px) {
  .hero__play {
    bottom: 6.9rem;
    left: auto;
    right: 7%;
  }
}

@media (max-width: 767px) {
  .hero__play {
    /*left: 0;
    bottom: 10rem;
    display: none;*/
    bottom: 67px;
    right: 5px;
    left: auto;
  }
  .hero__play-icon, .hero__play__text, .hero__play-close {
    display: none;
  }
  .hero__play__muted-on {
    font-size: 12px;
  }
  .hero__play-wrap {
    padding: 2px 10px;
    margin: 0px;
    width: auto;
    box-shadow: 0px 0px 3px #a9a9a9;
    display: block !important;
    transform: none !important;
    opacity: 1 !important;
    scale: none !important;
    rotate: none !important;
  }
}

.messengers-icon{
  bottom:5rem;
  cursor:pointer;
  position:fixed;
  right:2.2rem;
  -webkit-transition:all .45s cubic-bezier(.39, .575, .565, 1);
  transition:all .45s cubic-bezier(.39, .575, .565, 1);
  z-index: 60;
}
@media (max-width:1700px){
  .messengers-icon{
    bottom:5rem;
    right:2rem;
  }
}
@media (max-width:1300px){
  .messengers-icon {
    bottom: 7rem;
    right: 3rem;
  }
}
@media (max-width:767px){
  .messengers-icon{
    bottom:250px;
    right:15px;
  }
}
.messengers-icon #svgContainer{
  height:5rem;
  -o-object-fit:contain;
  object-fit:contain;
  width:5rem;
}
@media (max-width:1700px){
  .messengers-icon #svgContainer{
    height:6rem;
    width:6rem;
  }
}
@media (max-width:767px){
  .messengers-icon #svgContainer{
    height:50px;
    width:50px;
  }
}
.messengers-icon:hover{
  opacity:.85;
  -webkit-transform:translateY(1rem);
  -ms-transform:translateY(1rem);
  transform:translateY(1rem);
}

.messengers-icon.hidden{
  opacity:0;
  pointer-events:none;
  -webkit-transform:translateY(5rem);
  -ms-transform:translateY(5rem);
  transform:translateY(5rem);
  visibility:hidden;
}

.modal-messengers__items{
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  font-size:1.5rem;
  gap:13rem;
  -webkit-box-pack:center;
  -ms-flex-pack:center;
  justify-content:center;
  margin-top:4.5rem;
}
@media (max-width:767px){
  .modal-messengers__items{
    gap:3rem;
    margin-top:30px;
  }
}

.modal-messengers__item-tg,.modal-messengers__item-whatsapp{
  -webkit-transition:all .45s cubic-bezier(.39, .575, .565, 1);
  transition:all .45s cubic-bezier(.39, .575, .565, 1);
}
.modal-messengers__item-tg:hover,.modal-messengers__item-whatsapp:hover{
  opacity:.84;
}

.modal-messengers__item-tg,.modal-messengers__item-whatsapp{
  max-width:15.8rem;
  width:100%;
}
.modal-messengers__item-tg img,.modal-messengers__item-whatsapp img{
  margin-bottom:3rem;
  width:100%;
}

.modal-messengers__item-tg-icon{
  -webkit-box-align:center;
  -ms-flex-align:center;
  align-items:center;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-orient:vertical;
  -webkit-box-direction:normal;
  -ms-flex-direction:column;
  flex-direction:column;
}
.modal-messengers__item-tg-icon img{
  margin-bottom:1.5rem;
  width:6.7rem;
}
@media (max-width:767px){
  .modal-messengers__item-tg-icon img{
    margin-bottom:10px;
    width:60px;
  }
}

.modal-messengers__item-whatsapp-icon{
  -webkit-box-align:center;
  -ms-flex-align:center;
  align-items:center;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-orient:vertical;
  -webkit-box-direction:normal;
  -ms-flex-direction:column;
  flex-direction:column;
}
.modal-messengers__item-whatsapp-icon img{
  margin-bottom:1.5rem;
  width:6.7rem;
}
@media (max-width:767px){
  .modal-messengers__item-whatsapp-icon img{
    margin-bottom:10px;
    width:60px;
  }
}

.modal-messengers .h2, .modal-messengers__items span{
  color:#fff;
}
.projects-item__more:hover{
  color:#efa71a;
}
.projects-item__photo:before{
  display: none;
}
/* Карта товара */

.header.doppage .header__content{
  padding:0.9rem 0 ;
}
.header.doppage:not(.active) .header__phone {
  color: white;
}
.header.doppage:not(.active) .header__burger svg {
  fill: white;
}

.topImg .img{
  background-size: cover;
  margin: 0 auto;
  height: 9.3rem;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
}
.header.doppage .header__logo img {
  height: 7.2rem;
}

.cardpage .container {
  max-width: 146rem;
}

.breadcrumbs ul li:after {
  content: '/';
  display: block;
  width: 0.6rem;
  height: 1.6rem;
  font-size: 1.6rem;
}
.breadcrumbs ul li:last-child:after{
  display: none;
}
.breadcrumbs ul li {
  position: relative;
  display: flex;
  gap: 1.4rem;
  align-items: center;
}
.breadcrumbs {
  margin: 3.4rem auto;
}
.breadcrumbs ul a {
  text-decoration: underline;
  color: #1f2229;
  text-underline-position: from-font;
}
.breadcrumbs ul a:hover{
  color:var(--main);
}
.breadcrumbs ul li span{
  color: var(--main-dark);
}
.breadcrumbs ul {
  display: flex;
  font-weight: 400;
  font-size: 1.4rem;
  gap: 1.4rem;
  color: #1f2229;
  padding: 0;
  margin-top: 10px;
}

section.cardTopBl {
  gap: 1rem;
  display: grid;
  grid-template-columns: 69.2rem 1fr;
  margin: 0 auto 6rem;
}
.bigImg {
  max-height: 44.4rem;
  overflow: hidden;
}
.cardTopInfo {
  padding-left: 3rem;
  padding-top: 3rem;
  max-width: 60rem;
  display: flex;
  flex-direction: column;
  gap: 5.2rem;
}
.cardpage .pagetitle {
  font-weight: 800;
  font-size: 3rem;
  margin-bottom: 1rem;
}
.cardTopParams {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1.5rem;
}
.cardTopParams .item {
  background: #e5e6e9;
  padding: 1.5rem 2rem;
  min-height: 7.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  justify-content: space-between;
}
.cardTopParams .item > div{
  align-items: center;
  display: flex;
  gap:1rem;
}
.cardTopParams .item .icon {
  height: 5.2rem;
  width: 5.2rem;
}
.cardTopParams .item .icon img {
  height: 100%;
  width: 100%;
  object-fit: scale-down;
  object-position: center;
}
.cardTopParams .item p {
  margin: 0;
  max-width: 12rem;
}
.cardBtns {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cardBtns .price p {
  margin: 0;
}
.cardBtns .price {
  font-size: 1.4rem;
}
.cardBtns .price b {
  font-weight: 700;
  font-size: 3rem;
}
.cardBtns .price span {
  font-size: 2rem;
}
.cardBtns .btn {
  font-weight: 400;
  height: 6.1rem;
  max-width: 27.6rem;
  width: 100%;
  color: #1f2229;
  font-size: 1.8rem;
  background: #ffcb07;
}
.cardpage .modal-project__item{
  border-bottom: 0;
}

.cardpage .modal-project__item .cardBtns p {
  font-size: 3rem;
}

.galItem {
  border-radius: 2rem;
  overflow: hidden;
  display: block;
  height: 44.4rem;
}
.galItem img {
  margin: 0 auto;
  border-radius: 2rem;
  width:100%;
  height: 100%;
  object-fit: cover;
}
.slick-next:before,.slick-prev:before{
  display: none;
}
.slider-nav .slick-next{
  right: 0;
}
.slider-nav .slick-prev{
  left: 0;
}
.slider-nav {
  margin-top: 0.4rem;padding: 0 6rem;
}
.slider-nav .slick-arrow svg {
  width: 100%;
  height: 100%;
}
.slider-nav .slick-arrow {
  width: 2.5rem;
  height: 2.5rem;
}
.slider-nav img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider-nav .slick-slide {
  height: 10rem;
  display: flex;
  align-items: center;
  border-radius: 1.6rem;
  overflow: hidden;
  margin: 0 0.4rem;
  cursor:pointer;
  box-shadow: 0 0 0.6rem -2px #7d7d7d;
  transition:.3s;
}
.slider-nav .slick-slide:hover{
  box-shadow: 0 0 0.6rem 0px #7d7d7d;
}
.slider-nav .slick-track {
  padding: 0.4rem 0;
}

.catalog .projects__wrap {
  padding-top: 0.1rem;
}

@media(max-width: 767px){
  .cardpage .pagetitle {
    font-size: 2.4rem;
  }
  .topImg {
    padding: 0;
  }
  .cardTopParams .item {
    padding: 1rem;
    min-height: 7rem;
  }
  .breadcrumbs ul {
    gap: 0.4rem 1.4rem;
    flex-wrap: wrap;
  }
  .breadcrumbs {
    margin: 1.4rem auto;
  }
  .slider-nav .slick-slide {
    height: 8rem;
  }
  .topImg .img {
    height: 7rem;
  }
  .header.doppage .header__content {
    padding: 0;
  }
  section.cardTopBl{
    gap:3rem;
    display: flex;
    flex-direction: column;
  }
  .galItem {
    height: 35rem;
  }
  .cardTopInfo {
    gap: 3rem;
  }
  .cardBtns {
    flex-direction: column;
    gap: 2rem;
  }
  .cardpage .modal-project__item:first-child{
    border-bottom: 1px solid rgba(31, 34, 41, 0.3);
  }
}
@media(max-width: 640px){
  .cardTopParams {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .cardTopInfo{
    padding: 0;
  }
  .galItem {
    height: 25rem;
  }
  .slider-nav {
    padding: 0 3rem;
  }
}
@media(max-width: 490px){
  .galItem {
    height: 20rem;
  }
}