.site-project-hero{
  position: relative;
  min-height: 650px;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.site-project-hero__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.28) 100%);
}

.site-project-hero__container{
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 140px;
  padding-bottom: 60px;
}

.site-project-hero__title{
  margin: 0;
  max-width: 900px;
  font-family: Inter, Arial, sans-serif;
  font-weight: 600;
  font-size: 70px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

.site-project-meta{
  padding-top: 120px;
  background: #FDFDFD;
}

.site-project-meta__row{
  min-height: 90px;
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.site-project-meta__row:last-child{
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.site-project-meta__label,
.site-project-meta__value{
  font-family: Inter, Arial, sans-serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #1D201F;
}

.site-project-meta__value{
  text-align: right;
  margin-left: auto;
}

.site-project-description{
  padding-top: 120px;
  background: #FDFDFD;
}

.site-project-description__content{
  width: 100%;
  font-family: Inter, Arial, sans-serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: #1D201F;
}

.site-project-description__content > *:first-child{
  margin-top: 0;
}

.site-project-description__content > *:last-child{
  margin-bottom: 0;
}

.site-project-description__content p,
.site-project-description__content div,
.site-project-description__content span,
.site-project-description__content li,
.site-project-description__content ul,
.site-project-description__content ol,
.site-project-description__content strong,
.site-project-description__content b,
.site-project-description__content em{
  color: inherit;
  font: inherit;
}

.project-gallery-section{
  padding-top: 120px;
  background: #FDFDFD;
  overflow: hidden;
}

.project-gallery-section__top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.project-gallery-section__title{
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  font-weight: 600;
  font-size: 70px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #1D201F;
}

.project-gallery-section__nav{
  display: flex;
  gap: 12px;
}

.project-gallery-nav{
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  width: 46px;
  height: 46px;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-gallery-nav__icon{
  width: 46px;
  height: 46px;
  display: block;
  opacity: .95;
}

.project-gallery-nav__icon--prev{
  transform: rotate(180deg);
  opacity: .55;
}

.project-gallery-nav:hover .project-gallery-nav__icon{
  opacity: 1;
}

.project-gallery-nav.is-disabled{
  cursor: default;
  opacity: .35;
}

.project-gallery__right{
  margin-top: 60px;
  margin-right: calc(50% - 50vw);
  padding-right: calc(50vw - 50%);
  overflow: hidden;
  touch-action: pan-y;
}

.project-gallery__track{
  display: flex;
  gap: 15px;
  transform: translate3d(0,0,0);
  transition: transform .35s ease;
  will-change: transform;
}

.project-gallery__item{
  width: 653px;
  height: 400px;
  flex: 0 0 653px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
  background: #d9d9d9;
  cursor: pointer;
  user-select: none;
  -webkit-user-drag: none;
}

.project-gallery__item::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.04);
  border-radius: 10px;
  z-index: 2;
}

.project-gallery__img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1);
  transition: transform .6s ease;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

.project-gallery__item:hover .project-gallery__img{
  transform: scale(1.08);
}

.project-lightbox{
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 10, 10, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

.project-lightbox.is-open{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.project-lightbox__stage{
  max-width: min(1400px, calc(100vw - 180px));
  max-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-lightbox__img{
  max-width: 100%;
  max-height: calc(100vh - 120px);
  display: block;
  border-radius: 10px;
}

.project-lightbox__close{
  position: absolute;
  top: 20px;
  right: 24px;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.project-lightbox__arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.project-lightbox__arrow img{
  width: 46px;
  height: 46px;
  display: block;
}

.project-lightbox__arrow--prev{
  left: 24px;
}

.project-lightbox__arrow--prev img{
  transform: rotate(180deg);
}

.project-lightbox__arrow--next{
  right: 24px;
}

.project-not-found{
  padding: 80px 0;
  background: #FDFDFD;
}

.project-not-found__title{
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  font-weight: 600;
  font-size: 60px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #1D201F;
}

.project-not-found__text{
  margin-top: 20px;
  max-width: 760px;
  font-family: Inter, Arial, sans-serif;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: #1D201F;
}

.project-not-found__link{
  display: inline-block;
  margin-top: 24px;
  font-family: Inter, Arial, sans-serif;
  font-size: 20px;
  color: #1D201F;
  text-decoration: underline;
}

.consult{
  padding-top: 120px;
}
@media (max-width: 1366px){
  .project-gallery__item{
    width: 560px;
    flex: 0 0 560px;
  }
}

@media (max-width: 1100px){
  .site-project-hero{
    min-height: 560px;
  }

  .project-gallery__item{
    width: 480px;
    flex: 0 0 480px;
    height: 340px;
  }
}

@media (max-width: 980px){
  .site-project-hero{
    min-height: 520px;
  }

  .site-project-hero__container{
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .site-project-hero__title,
  .project-gallery-section__title{
    font-size: 44px;
  }

  .site-project-meta{
    padding-top: 40px;
  }

  .site-project-meta__row{
    min-height: 0;
    padding: 22px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: nowrap;
  }

  .site-project-meta__label,
  .site-project-meta__value{
    font-size: 22px;
    line-height: 1.2;
  }

  .site-project-meta__label{
    flex: 0 1 auto;
  }

  .site-project-meta__value{
    flex: 0 1 auto;
    text-align: right;
    margin-left: auto;
    white-space: nowrap;
  }

  .site-project-description{
    padding-top: 40px;
  }

  .site-project-description__content{
    font-size: 20px;
  }

  .project-gallery-section{
    padding-top: 40px;
  }

  .project-gallery__right{
    margin-top: 30px;
    margin-right: 0;
    padding-right: 0;
  }

  .project-gallery__item{
    width: 100%;
    max-width: none;
    height: 320px;
    flex: 0 0 100%;
  }

  .project-gallery__item:hover .project-gallery__img{
    transform: scale(1);
  }

  .project-lightbox{
    padding: 20px;
  }

  .project-lightbox__stage{
    max-width: calc(100vw - 40px);
  }

  .project-lightbox__arrow{
    width: 46px;
    height: 46px;
  }

  .project-lightbox__arrow img{
    width: 34px;
    height: 34px;
  }

  .project-lightbox__arrow--prev{
    left: 10px;
  }

  .project-lightbox__arrow--next{
    right: 10px;
  }

  .project-lightbox__close{
    top: 10px;
    right: 10px;
  }

  .consult{
    padding-top: 40px;
  }
}

@media (max-width: 767px){
  .site-project-hero__title{
    font-size: 32px;
  }

  .project-gallery-section__top{
    align-items: flex-start;
    gap: 18px;
  }

  .project-gallery-section__title{
    font-size: 32px;
  }

  .site-project-meta{
    padding-top: 40px;
  }

  .site-project-meta__row{
    padding: 18px 0;
    gap: 18px;
  }

  .site-project-meta__label,
  .site-project-meta__value{
    font-size: 16px;
    line-height: 1.2;
  }

  .site-project-description{
    padding-top: 40px;
  }

  .site-project-description__content{
    font-size: 18px;
  }

  .project-gallery-section{
    padding-top: 40px;
  }

  .project-gallery__item{
    height: 260px;
  }
}

@media (max-width: 480px){
  .site-project-hero{
    min-height: 420px;
  }

  .site-project-hero__container{
    padding-top: 90px;
    padding-bottom: 24px;
  }

  .site-project-hero__title{
    font-size: 28px;
    line-height: 1.05;
  }

  .site-project-meta{
    padding-top: 40px;
  }

  .site-project-meta__row{
    padding: 16px 0;
    gap: 14px;
  }

  .site-project-meta__label,
  .site-project-meta__value{
    font-size: 13px;
    line-height: 1.15;
  }

  .site-project-description{
    padding-top: 40px;
  }

  .site-project-description__content{
    font-size: 16px;
    line-height: 1.5;
  }

  .project-gallery-section{
    padding: 40px 0px;
  }

  .project-gallery-section__title{
    font-size: 28px;
  }

  .project-gallery__right{
    margin-top: 20px;
  }

  .project-gallery__item{
    height: 220px;
  }

  .consult{
    padding-top: 40px;
  }
}

@media (max-width: 360px){
  .site-project-meta__row{
    padding: 14px 0;
    gap: 12px;
  }

  .site-project-meta__label,
  .site-project-meta__value{
    font-size: 12px;
    line-height: 1.15;
  }

  .site-project-description__content{
    font-size: 16px;
  }
}