.gridgallery {
  margin-top: 80px;
}

.gridgallery:last-child {
  margin-bottom: -30px;
}

.secttitle {
  font-size: 32px;
  line-height: 1.33;
  font-weight: 400;
  margin-bottom: 20px;
}

.gridgallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.gridgallery__picwrap {
  display: block;
  width: 100%;
  height: auto;
}

.gridgallery__piclink {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease;
  will-change: transform;
}

.gridgallery__pic {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 5px;
  object-fit: cover;
}

.gridgallery__piclink:hover {
  transform: scale(1.01);
}

.gridgallery__caption {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: #fd214a;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 0.5px;
  text-decoration-style: dotted;
  text-align: center;
  margin-bottom: 20px;
}

.gridgallery__picwrap:hover .gridgallery__caption {
  text-decoration-style: solid;
}



.projecttabs {
  margin-top: 30px;
}

.projecttabs__select {
  display: none;
  width: 100%;
  height: 40px;
  border-radius: 6px;
  border: 1px solid #28282c;
  appearance: none;
  font-family: inherit;
  outline: none;
  font-size: 15px;
  background-color: transparent;
  padding: 0 15px;
  color: #28282c;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2328282c' stroke-dasharray='12' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 16l-7 -7M12 16l7 -7'%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' dur='0.4s' values='12;0'/%3E%3C/path%3E%3C/svg%3E");
  background-position: calc(100% - 10px) 50%;
  background-size: 20px;
  background-repeat: no-repeat;
}

.projecttabs__links {
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-start;
  justify-content: flex-start;
}

.projecttabs__link {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  height: 58px;
  border: 1px solid #28282c;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  border-left: none;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 50%;
  cursor: pointer;
  cursor: pointer;
  outline: none;
  appearance: none;
  background: none;
  font-family: inherit;
}

.projecttabs__link:first-child {
  border-left: 1px solid #28282c;
  border-radius: 10px 0 0 10px;
}

.projecttabs__link:last-child {
  border-radius: 0 10px 10px 0;
}

.projecttabs__link:last-child:first-child{
  border-radius: 10px;
}

.projecttabs__link:hover {
  background-color: #ededed;
}

.projecttabs__link.is-active {
  background: #28282c;
  color: #fff;
}

.projecttabs__tabswrap {
  margin-top: 30px;
  position: relative;
}

.projecttabs__tab {
  display: none;
}

.projecttabs__tab.is-active {
  display: block;
}

.projecttabs__tabgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.projecttabs__tabsempty {
  min-height: 400px;
  border: 1px solid #d0d0d0;
  color: #aaa;
  border-radius: 10px;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #f7f7f7;
}

.accordcss {
  position: relative;
}

.accordcss>input[type="checkbox"] {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
}

.accordcss__content {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease-in-out;
}

input:checked~.accordcss__content {
  grid-template-rows: 1fr;
}

.accordcss__hider {
  min-height: 0;
  overflow: hidden;
}




.projectfaq {
  margin-top: 80px;
  margin-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;

}

.faqitem {}

.faqitem__quest {
  display: block;
  border-top: 2px solid #dcdce0;
  padding: 25px 50px 25px 0;
  font-size: 25px;
  line-height: 30px;
  color: #28282c;
  font-weight: 400;
  cursor: pointer;
}

.faqitem__quest::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  top: 18px;
  width: 40px;
  height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239b9ba5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'%3E%3C/line%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 30px;
  background-position: 50% 50%;
  border-radius: 100px;
  transition: transform 0.3s ease, background-color 0.3s ease, background-image 0.3s ease;
}

.faqitem__quest:hover::after {
  background-color: #dcdce0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'%3E%3C/line%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
}

input:checked+.faqitem__quest::after {
  transform: rotate(45deg);
}

.faqitem__content .textcontent {
  color: #9b9ba5;
  padding-bottom: 30px;
}

.projectfaq__list li:before {
  background-color: #9b9ba5 !important;
}




.filtersearform {
  margin-left: auto;
  display: flex;
  flex-flow: row nowrap;
  align-items: stretch;
  justify-content: flex-start;
  height: 40px;
  gap: 6px;
}

.filtersearform .themed {
  height: 40px;
  background-color: #fff;
  border-radius: 10px;
  border: none;
  color: #333;
  font-size: 16px;
  padding: 0 18px;
  width: 300px;
}

.filtersearform button {
  height: 40px;
  background-image: linear-gradient(to top, #605ba3, #6862bb);
  border-color: #605ba3;
  border-radius: 10px;
  cursor: pointer;
  color: #fff;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 400;
  padding: 0 20px;
}




.newprogrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}

.newprogrid.is-loading {
  min-height: 500px;
  border-radius: 25px;
}

.newprogrid.is-loading::after,
.searchModal__frame.is-loading::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 10;
  background: url(../img/loader.svg) #fff center 350px no-repeat;
  background-size: 100px;
  border-radius: 25px;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  opacity: 0.5;
}

.tidaproj {
  min-width: 0;
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--rad);
  transform: translate3d(0, 0, 0);
  --rad: 18px;
}

.tidaproj__badges{
  position: absolute;
  z-index: 10;
  top: 18px;
  right: 18px;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.tidaproj__badge{
  font-size: 14px;
  font-weight: 500;
  line-height: 30px;
  padding: 0 8px;
  border-radius: 5px;
  color: #000;
  background: rgba(255, 255, 255, 0.95);
  display: block;
  white-space: nowrap;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
}

.tidaproj__badge.isblur{
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(4px);
  color:#fff;
}

.tidaproj__badge img{
  flex-shrink: 0;
  width: 14px;
  height: auto;
  display: block;
}

.tidaproj__pic {
  display: block;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  will-change: tranform;
  border-radius: var(--rad);
}

.tidaproj:hover .tidaproj__pic {
  transform: scale(1.01);
}

.tidaproj__over {
  position: absolute;
  inset: 0;
  z-index: 5;
  transition: background-color 0.4s ease;
  border-radius: var(--rad);
}

.tidaproj:hover:hover .tidaproj__over {
  background-color: rgba(0, 0, 0, 0.2);
}

.tidaproj__title {
  position: absolute;
  z-index: 6;
  color: #fff;
  font-size: 22px;
  font-weight: 400;
  left: 0;
  bottom: 24px;
  width: 100%;
  text-align: center;
  display: block;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  transform: translateY(10px);
}

.tidaproj__title small {
  margin-top: 0px;
  display: block;
  text-align: center;
  color: #fff;
  font-size: 14px;
}

.tidaproj:hover:hover .tidaproj__title {
  transform: translateY(0);
  opacity: 1;
}






.searchModal {
  width: 760px;
  min-height: calc(100dvh - 100px);
  padding: 35px 50px 50px;
  display: flex;
  flex-flow: column nowrap;
  align-items: stretch;
  justify-content: flex-start;
}

.searchModal .hystmodal__close {
  filter: invert(1);
}

.searchModal__title {
  font-size: 24px;
  flex-shrink: 0;
}

.searchModal__title span {
  font-weight: 500;
}

.searchModal__frame {
  width: 100%;
  margin-top: 40px;
  position: relative;
  background: #fff;
  flex-grow: 1;
}

.searchModal__frame.is-loading {
  background-color: #ccc;
  border-radius: 15px;
}

.searchModal__frame .catgrid__empty {
  color: #000;
  font-size: 16px;
}


.serchedproj {
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.serchedproj:hover {
  opacity: 0.9;
}

.serchedproj__picwrap {
  width: 100px;
  height: auto;
  aspect-ratio: 1 / 1;
  position: relative;
  flex-shrink: 0;
}

.serchedproj__pic {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
}

.serchedproj__right {
  flex-grow: 1;
}

.serchedproj__title {
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
  margin-bottom: 5px;
}

.serchedproj__teaser {
  font-size: 16px;
  line-height: 1.4;
  opacity: 0.6;
}

.searchModal__pagwrap {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
}

.searchModal__pagwrap .prev,
.searchModal__pagwrap .next {
  width: 35px;
  height: 35px;
}

.searchModal__pagwrap .prev {
  margin-right: 15px;
}

.searchModal__pagwrap .next {
  margin-left: 15px;
}

.searchModal__pagwrap .page-numbers {
  margin: 0 5px;
}

.toptglink {
  display: flex;
  height: 56px;
  background: #f2f2f2;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  line-height: 1.2;
  color: #444;
  transition: color 0.4s ease, background-color 0.4s ease;
  padding: 0 15px;
}

.toptglink:hover {
  background: #fff;
  color: #222;
}

.toptglink__iconwrap {
  width: 30px;
  height: 30px;
  border-radius: 100px;
  background-color: rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  display: contents;
}

.toptglink img {
  display: block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.toptglink__txt {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: flex-start;
}

.toptglink__txt::after {
  flex-shrink: 0;
  content: "";
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M10 6L8.59 7.41L13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E");
  width: 18px;
  height: 18px;
  align-items: center;
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  opacity: 0.7;
  transition: transform 0.4s ease;
}

.toptglink:hover .toptglink__txt::after {
  transform: translateX(3px);
}

.f-html {
  --f-html-bg: #000000;
  --f-html-padding: 0;
  width: auto !important;
  aspect-ratio: 9 / 16 !important;
  border-radius: 12px;
  height: calc(100% - 100px) !important;
}

.fancy-horizontal-frame .f-html {
  aspect-ratio: 16 / 9 !important;
  width: calc(100% - 200px) !important;
  height: auto !important;
  max-width: 1000px !important;
}






/* MARK: VIDEO PAGE */
/* #region VIDEO PAGE */
.videohero {
  background-image: url("../img/building/b3-bg.jpg");
  background-position: 57% 0;
  min-height: 460px;
}

.tubesect {
  overflow: hidden;
  padding-bottom: 60px;
  margin-bottom: 60px;
  border-bottom: 1px solid #f0f0f0;
}

.tubesect:last-child {
  border: none;
  margin-bottom: 120px;
}

.tubesect__title {
  font-size: 45px;
  font-weight: 500;
  line-height: 1.2;
}

.tubesect__title--mb {
  margin-bottom: 30px;
}

.tubesect__tablist {
  margin-top: 38px;
  gap: 10px;
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 30px;
}

.tubesect__talink {
  background: none;
  border-radius: 10px;
  border: 1.2px solid #555;
  color: #000;
  height: 40px;
  font-size: 16px;
  padding: 0 18px;
  cursor: pointer;
  appearance: none;
  font-weight: 500;
  margin: 0;
  display: block;
}

.tubesect__talink:hover {
  border-color: #6862bb;
  color: #6862bb;
}

.tubesect__talink.is-active {
  border-color: #6862bb;
  background-color: #6862bb;
  color: #fff;
}

.tubesect .swiper-button-disabled {
  opacity: 0 !important;
}

.tubesect__verticalslider {
  margin-top: 0;
  margin-bottom: 30px;
}

.tubesect__verticalslider:not(:has(.swiper-slide)) {
  margin: 0;
}

.tubesect__horizontal {
  margin: 0;
}

/* #endregion VIDEO PAGE */







/* MARK: Планировки и реализации проекта */
.bigplans{
  overflow: hidden;
  background: #fff;
  margin-top: 80px;
  padding: 60px 15px;
}
.bigplans__wrap{
  margin: 0 auto;
  width: 100%;
  max-width: 1170px;
}
.bigplans__wrap .secttitle{
  text-align: center;
}
.bigplans__wrap .secttitle span{
  font-size: 130%;
  display: block;
}
.bigplans__content{
  margin-top: 40px;
}
.bigplans__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 20px;
}

.realized{
  margin-top: 80px;
  margin-bottom: 100px;
}
.realized .swiper-button-disabled{
  opacity: 0;
}
.realized .title{
  margin-bottom: 40px;
}
.realized__block{
  margin-bottom: 60px;
}
.realized__block:last-child{
  margin-bottom: 0;
}
/* #region Планировки и реализации проекта */
/* #endregion Планировки и реализации проекта */






/* MARK: MEDIA 1199 */
/* #region MEDIA 1199 */
@media (max-width: 1199px) {
  .gridgallery {
    margin-top: 60px;
  }

  .gridgallery:last-child {
    margin-bottom: 0;
  }

  .secttitle {
    font-size: 28px;
  }

  .tidaproj__over {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.2);
  }

  .tidaproj__title {
    transform: none;
    opacity: 1;
    font-size: 18px;
    bottom: 20px;
  }
  .bigplans{
    margin-top: 40px;
    padding: 40px 15px;
  }
}

/* #endregion MEDIA 1199 */





/* MARK: MEDIA 992px */
/* #region MEDIA 992px */
@media (max-width: 992px) {
  .projecttabs__links {
    display: none;
  }

  .projecttabs__select {
    display: block;
  }

  .gridgallery {
    margin-top: 45px;
  }

  .gridgallery__grid {
    gap: 10px;
    grid-template-columns: 1fr 1fr;
  }

  .secttitle {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .gridgallery__caption {
    font-size: 12px;
    margin-top: 0px;
    margin-bottom: 10px;
  }

  .projectfaq {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 20px;
    margin-bottom: 30px;
  }

  .faqitem__quest {
    padding: 15px 40px 15px 0;
    font-size: 18px;
    border-width: 1px;
  }

  .faqitem__quest::after {
    width: 25px;
    height: 25px;
  }

  .faqitem__content .textcontent {
    font-size: 15px;
    padding-bottom: 10px;
  }

  .faqitem__content .textcontent ul li:before {
    top: 9px;
  }

  .newprogrid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .filtersearform {
    width: 100%;
    flex-shrink: 0;
    margin-top: 15px;
    margin-bottom: 5px;
  }

  .filtersearform .themed {
    flex-grow: 1;
    border-radius: 5px;
    font-size: 13px;
  }

  .filtersearform button {
    border-radius: 5px;
    font-size: 13px;
  }

  .videohero {
    min-height: auto;
  }

  .videohero .contacthero__h1 {
    margin-bottom: 0;
  }
}

/* #endregion MEDIA 992px */




/* MARK: MEDIA 767px */
/* #region MEDIA 767px */
@media (max-width: 767px) {
  .projectsummary {
    overflow: hidden;
  }

  .projecttabs {
    margin-top: 20px;
  }

  .projecttabs__tabswrap {
    margin-top: 20px;
  }

  .projecttabs__tabsempty {
    min-height: 150px;
    font-size: 14px;
  }

  .projarticle {
    margin-left: -15px;
    margin-right: -15px;
    padding: 20px 15px;
  }

  .projarticle__feats {
    font-size: 13px;
    line-height: 1.25;
  }

  .projarticle__feat {
    align-items: flex-start;
  }

  .projarticle__button {
    width: 100%;
    font-size: 14px;
    height: 70px;
    line-height: 1.4;
  }

  .projarticle__gallery .swiper {
    overflow: visible;
  }

  .tidaproj {
    --rad: 10px;
  }

  .tidaproj__title {
    bottom: 15px;
  }

  .tidaproj__title small {
    line-height: 1.2;
    font-size: 11px;
  }

  .searchModal {
    padding: 30px 15px 30px;
  }

  .searchModal__title {
    font-size: 18px;
  }

  .searchModal__frame {
    margin-top: 20px;
  }

  .serchedproj__picwrap {
    width: 90px;
  }

  .serchedproj__title {
    font-size: 16px;
  }

  .serchedproj__teaser {
    font-size: 13px;
  }

  .toptglink {
    gap: 12px;
    font-size: 13.5px;
    line-height: 1.35;
    justify-content: flex-start;
  }

  .toptglink__iconwrap {
    display: flex;
    padding-right: 2px;
  }

  .toptglink__iconwrap img {
    width: 19px;
  }

  .toptglink__txt {
    align-items: flex-end;
    gap: 0;
  }

  .toptglink__txt span {
    max-width: 260px;
  }

  .toptglink__txt::after {
    width: 16px;
    height: 18px;
    transform: translate(-8px, 0px);
  }

  .f-html {
    --f-html-bg: #000000;
    --f-html-padding: 0;
    aspect-ratio: 9 / 16 !important;
    border-radius: 12px;
    width: calc(100% - 40px) !important;
    height: auto !important;
  }

  .fancy-horizontal-frame .f-html {
    aspect-ratio: 16 / 9 !important;
    width: calc(100% - 20px) !important;
    height: auto !important;
  }

  .tubesect {
    padding-bottom: 50px;
    margin-bottom: 40px;
  }

  .tubesect__title {
    font-size: 28px;
  }

  .tubesect__tablist {
    gap: 5px;
    margin-top: 30px;
  }

  .tubesect__talink {
    border-width: 1px;
    height: 36px;
    padding: 0 10px;
    font-size: 13px;
    flex-grow: 1;
  }

  .tubesect__talink span {
    display: none;
  }

  .tubesect__verticalslider {
    margin-bottom: 18px;
  }

  .tubesect__verticalslider:not(:has(.swiper-slide)) {
    margin: 0;
  }

  .tubesect__horizontal .swiper-slide {
    width: 300px;
  }
  .bigplans{
    padding: 20px 15px;
    margin-top: 20px;
  }
  .bigplans__content{
    margin-top: 20px;
  }
  .bigplans__grid{
    gap: 15px 8px;
  }

  .realized{
    margin-top: 50px;
    margin-bottom: 50px;
  }
  .realized .title{
    margin-bottom: 20px;
  }
  .realized__block{
    margin-bottom: 30px;
  }
  .realized__block:last-child{
    margin-bottom: 0;
  }
}

/* #endregion MEDIA 767px */
