/* ===== 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;
}
.custom-select {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 400px;
    float: right;
}

.custom-select select {
  appearance: none; /* убираем дефолтный вид */
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 100%;
  padding: 14px 40px 14px 16px;
  background: #0c0c0c; /* чёрный фон */
  border: 1px solid #ffffff; /* голубая рамка */
  color: #80BAC5; /* голубой текст */
  font-size: 20px; /* подгони размер под макет */
  cursor: pointer;
  transition: border-color 0.3s;
  position: relative;
  font-weight: 300;
}

.custom-select select:hover,
.custom-select select:focus {
  border-color: #ffffff; /* подсветка при ховере/фокусе */
  outline: none;
}

.custom-select::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 45%;
  width: 12px;
  height: 12px;
  pointer-events: none;
  transform: translateY(-50%) rotate(45deg);
  border-right: 2px solid #80BAC5;
  border-bottom: 2px solid #80BAC5;
  transition: transform 0.3s;
}

.blog-container{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 40px 20px;
}
.project-cart {
    display: flex;
    flex-direction: column;
}

.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: #80BAC5;
    text-transform: uppercase;
    font-weight: 500;
}

.project-info p {
    font-size: clamp(16px, 2vw, 20px);
    color: #ffffff;
}
.button-block {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    margin-bottom: 110px;
}
.no-desk {
    display: none;
}
#projects-list .project-cart {
    opacity: 1;
    transform: none;
    transition: none;
}
.about-company-section{
	padding-bottom:100px;
}

@media(max-width:1380px){
    h2 br{
        display: none;
    }
}
@media(max-width:1150px){
    .project-image {
        min-height: 400px;
    }
    .project-info h3 {
        font-size: clamp(20px, 3vw, 22px);
    }
    .project-info p {
        font-size: clamp(16px, 2vw, 17px);
    }
}

@media(max-width:980px){
.blog-container{
    grid-template-columns: repeat(2,1fr);
}
.header-project__container {
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-between;
    gap: 0;
    margin-bottom: 40px;
}    
}
@media (max-width: 680px) {
.about-company-section{
	padding-bottom:60px;
}
}

@media(max-width:580px){
 .blog-container{
    grid-template-columns: repeat(1,1fr);
    gap: 40px;
} 
.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);
        }
    }
}