/* ===== Hero section ===== */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 654px;
    height: 80vh;
    max-height: 100vh;
    overflow: hidden;
    color: #fff;
    font-family: "Futura", sans-serif;
}

.hero-banner__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-banner__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.6s ease;
    z-index: 0;
    position: relative;
}

.hero-banner:hover .hero-banner__video {
    filter: grayscale(0%);
}

.hero-banner__bg::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 60%);
    pointer-events: none;
    z-index: 1;
}

.hero-banner__overlay {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 100%;
    padding-left: 20px;
}

.hero-banner__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: filter 0.6s ease;
    z-index: -1;
}

.hero-banner:hover .hero-banner__image {
    filter: grayscale(0%);
}

.hero-banner__content {
    text-align: right;
}


.hero-banner__title {
    font-size: clamp(27px, 5.5vw, 77px);
    font-weight: 300;
    text-transform: uppercase;
    font-family: var(--font-jost);
    text-align: left;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    display: block;
}

.hero-banner__title img{
    width: 13%;
}

.hero-banner__subtitle {
    font-size: clamp(18px, 2vw, 36px);
    margin: 0;
    padding-bottom: 40px;
    text-align: left;
    text-transform: uppercase;
}

.header-project__container {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 50px;
}

.single-project__container{
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 50px;
}
 .mySwiper {
      width: 100%;
      max-width: 100%;
      padding-bottom: 50px;
    }

.mySwiper .swiper-slide {
  width: 100% !important;
  aspect-ratio: 16/9;
}
    .mySwiper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      cursor: zoom-in;
    }

.single-project__container_content{
    display: flex;
    flex-direction: column;
    gap: 110px;
}
.single-project__container_content .content-block{
    display: flex;
    flex-direction: column;
    gap: 35px;
}
.single-project__container_content .content-block h2{
    margin-bottom: 5px;
}

.floor-block {
  display: flex;
  align-items: stretch;
  color: #fff;
  gap: 40px;
}

/* левая колонка с картинкой */
.floor-block__image {
  flex: 1 1 60%;
  position: relative;
}
.floor-block__image::before {
  content: "";
  display: block;
  padding-top: 66.66%;
}
.floor-block__image a,
.floor-block__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

/* правая колонка */
.floor-block__info {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
}
.floor-block__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.room-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1; /* растягиваем список на высоту картинки */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* равномерное распределение пунктов */
}
.room-list li {
    display: flex;
    justify-content: space-between;
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 300;
}

.projects-slider {
    margin: 0 auto;
    position: relative;
}

.projects-swiper {
    padding-bottom: 50px;
}

.project-slide {
    display: flex;
    flex-direction: column;
    background: #fff;
}

.project-image {
    width: 100%;
    height: 50vh; 
    min-height: 600px; 
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.project-image img:hover {
    filter: grayscale(0%);
}

.project-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.project-info h3 {
    margin-top: 10px;
    font-size: clamp(20px, 3vw, 28px);
    color: #000;
    text-transform: uppercase;
    font-weight: 500;
}

.project-info p {
    font-size: clamp(16px, 2vw, 20px);
    color: #111;
}
.parametrs-container {
  position: sticky; 
  top: 100px;
  align-self: start;
}
.parametrs-list{
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 300;
}
.parametrs-list li{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
}
.parametrs-container .header-button{
    margin-top: 40px;
    width: 100%;
}
.no-desk {
    display: none;
}
@media(max-width:1350px){
.floor-block__image {
    flex: 1 1 40%;
}
.floor-block {
    gap: 20px;
}
.single-project__container {
    grid-template-columns: 9fr 3fr;
    gap: 30px;
}
.parametrs-container h2{
    font-size: clamp(28px, 2vw, 40px);
}
.parametrs-list {
    font-size: clamp(16px, 2vw, 19px);
}
}
@media(max-width:980px){
    .single-project__container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .single-project__container_content {
        gap: 60px;
    }   
}
@media(max-width:680px){
    .floor-block {
        flex-direction: column-reverse;
    }
.room-list li {
    display: flex;
    font-size: clamp(16px, 3vw, 22px);
    gap: 10px;
}
.room-list{
    gap: 10px;
}
    .parametrs-list {
        font-size: clamp(16px, 3vw, 19px);
    }
}
@media(max-width:580px){
.hero-banner__title {
        display: flex;
        flex-direction: row;
        justify-content: center;
        margin: 0;
    }
    .hero-banner__subtitle {
        line-height: 1.2;
        text-align: center;
        font-size: 20px;
        font-weight: 200;
        margin-top: 5px;
    }
    .hero-banner__bg {
        max-height: 100%;
    }
    .hero-banner__overlay {
        max-height: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        padding-bottom: 50px;
    }
    .hero-banner {
        min-height: calc(100vh - 78px);
    }
    .no-desk {
        display: block;
        margin-left: -46px;
    }
    .bottom-btn {
        display: block;
        max-width: 45px;
        margin: 0 auto;
        animation: floatY 2s ease-in-out infinite;
        position: absolute;
        bottom: 25px;
    }
        @keyframes floatY {
        0% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(10px);
        }
        100% {
            transform: translateY(0);
        }
    }
    .project-image {
        height: 350px;
        min-height: 350px;
    }
}