.site-header {
    transition: transform 0.3s ease;
}
.site-header.hide {
    transform: translateY(-100%);
}
        
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f9f9f9;
    font-family: 'Montserrat', sans-serif;
    color: #2c2c2c;
    overflow-x: hidden;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

/* ---------- УНИВЕРСАЛЬНЫЕ ТИПОГРАФИЧЕСКИЕ КЛАССЫ ---------- */
.hero-title {
    font-family: 'Montserrat', serif;
    font-weight: 100;
    font-size: clamp(15px, 3.5vw, 35px);
    line-height: 1;
    letter-spacing: -1px;
    color: #272727;
}

.block-title {
    font-family: 'Montserrat', serif;
    font-weight: 100;
    font-size: clamp(13px, 2.7vw, 30px);
    line-height: 1;
    letter-spacing: -1px;
    color: #272727;
}

.block-subtitle {
    font-family: 'Montserrat', serif;
    font-weight: 300;
    font-size: clamp(12px, 1.5vw, 18px);
    line-height: 1.1;
    letter-spacing: 0px;
    color: #111;
}

.body-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: clamp(8px, 1.16vw, 15px) ;
    line-height: 1.5;
    color: #4a4a4a;
}
.with-line {
    border-bottom: 1px solid #ebebeb;
    padding-bottom: 1%;
}
.with-line2 {
    border-bottom: 1px solid #dcdcdc;
    padding-bottom: 1%;
}

.meta-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: clamp(13px, 1.96vw, 17px) ;
    line-height: 1.5;
    color: #555;
}
    .faq-item {
        border-bottom: 1px solid #ebebeb; 
        padding: 3% 0;
    }
    .faq-title {
        font-weight: 500; margin-bottom: 8px;
    }
/* ---------- УНИВЕРСАЛЬНЫЕ КЛАССЫ ДЛЯ ИЗОБРАЖЕНИЙ ---------- */
.autoplayvideo {
    touch-action: auto; 
    -webkit-touch-callout: none; 
    -webkit-user-select: none; 
    user-select: none; 
    pointer-events: none;
}

.image-wrapper {
    overflow: hidden;
    max-height: 95vh;

    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    background-color: #f4f4f4;
}

.image-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    display: block;
}

.image-wrapper:hover .image-cover {
    transform: scale(1.01);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    touch-action: auto;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    touch-action: auto;
    -webkit-touch-callout: none;
    background: transparent;
}

/* ---------- КОНТЕЙНЕРЫ СТРАНИЦ ---------- */
.portfolio-container {
    width: 100%;
    position: relative;
}

.portfolio-page {
    width: 100%;
    position: relative;
    opacity: 0;
    transition: opacity 0.7s ease, transform 1.2s ease;
    margin-bottom: 3%;
    padding: 2%;
    background-color: #ffffff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
    border-radius: 8px;
}

.portfolio-page.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Анимация появления элементов */
.portfolio-page.visible .stagger-item {
    animation: fadeInUp 1s ease forwards;
}

.portfolio-page.visible .stagger-item:nth-child(1) { animation-delay: 0.15s; }
.portfolio-page.visible .stagger-item:nth-child(2) { animation-delay: 0.3s; }
.portfolio-page.visible .stagger-item:nth-child(3) { animation-delay: 0.45s; }
.portfolio-page.visible .stagger-item:nth-child(4) { animation-delay: 0.6s; }
.portfolio-page.visible .stagger-item:nth-child(5) { animation-delay: 0.75s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ---------- ФИКСИРОВАННАЯ ШАПКА ---------- */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 1280px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1500;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.header-container {
    width: 100%;
    margin: 0 auto;
    padding: 1% 2%;
    
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
     margin: 2% 10% 0% 2%;
}
.logo600 {
    display: none;
}
.hide600{
    display: block;
}

.social-icons {
    display: flex;
    gap: 1vw;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f0f0f0;
    border-radius: 50%;
    color: #1e1e1e;
    font-size: 20px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: #1e1e1e;
    color: #ffffff;
}


.collapsible-social {


  position: relative;        /* anchor for absolute positioning */
  display: none;     /* fits the toggle button */
}

.social-toggle {
    cursor: pointer;
    font-size: 22px;        /* match surrounding text size */
    padding: 0;

    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f0f0f0;
    border-radius: 50%;
    color: #1e1e1e;
    font-size: 20px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-icons-wrapper {
  position: absolute;
  top: -20%;
  left: 100%;
  margin-bottom: 4px;
  z-index: 1000;
  background: white;
  padding: 8px;
  border-radius: 13px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  white-space: nowrap;

  /* скрытое состояние + анимация */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  transform: translateY(-10px); /* небольшой сдвиг для плавности */
}

.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.social-icons-wrapper[style*="display: block"] {
  display: block;            /* shown when expanded */
}


/* optional: remove default button focus outline if you want custom styling */
.social-toggle:focus-visible {
  outline: 2px solid blue;
}


.nav-links {
    display: flex;
    gap: 2vw;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size:16px;
    letter-spacing: 0.5px;
    color: #1e1e1e;
    text-decoration: none;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.nav-link:not(:last-child)::after {
    content: "•";          /* символ-разделитель */
    margin-left: 2vw;        /* отступ слева от разделителя */
    display: inline-block;
    pointer-events: none;    /* чтобы разделитель не реагировал на клики и hover */
}
.nav-link:hover {
    opacity: 0.6;
}

/* Отступ для контента, чтобы не перекрывался шапкой */
.portfolio-container {
    margin-top: 80px; /* подстройте под высоту шапки */
}

/* ---------- ПОДВАЛ ---------- */


.site-footer {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    background-color: #ffffff;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 2% 0;
    margin-top: 40px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.02);
}

.footer-container {
    display: grid;
    grid-template-columns: minmax(5px, auto) repeat(4, 1fr);
    gap: 5px;
    align-items: center;
    text-align: center;
    padding: 0;
}

.footer-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: clamp(12px, 1.2vw, 16px);
    margin-bottom: 2%;
    color: #1e1e1e;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}



.footer-links a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: clamp(11px, 1.1vw, 14px);
    color: #4a4a4a;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* Карта сайта — две колонки */
.footer-sitemap .footer-links {
    display: grid;
    /* justify-self: center; удаляем */
    width: 12vw;
    grid-template-columns: 1fr 1fr;
    justify-content: center; /* оставляем для выравнивания колонок внутри блока */
    gap: 0.1% 1px;
    margin-left: auto;    /* центрируем блок по горизонтали */
    margin-right: auto;
}

/* Партнёры — ОДНА колонка (ссылки друг под другом) */
.footer-partners .footer-links {
    display: block; 
}
.footer-logo {
    align-self: center;
    width: 15vw;
}


.footer-contacts {
          
     align-self: center;
}

.footer-info {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: clamp(10px, 2vw, 15px);
    color: #4a4a4a;
    letter-spacing: 0.3px;
}



.page1-wrapper {
    width: 100%;
    height: auto;

    background-color: #fcfcfc;
    padding: 0vw 6vw;
    display: flex;
    flex-direction: column;
}



.page1-header {
    margin-bottom: 50px;
}

.page1-title {
    text-align: center;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 25px;
}

.page1-meta-info {
    display: grid;
    margin: 3% 8% 1% 8%;
    grid-template-columns: repeat(4, 1fr);
}

.page1-meta-info div:last-child { text-align: right; }
.page1-meta-info div:nth-child(2),
.page1-meta-info div:nth-child(3) { text-align: center; }

.page1-hero-image-container {
    height: 65vh;
}

.page-aboutus4-canvas {
    width: 100%;
    height: auto;
    
    background-color: #fcfcfc;
    padding: 0vh 0vw;
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 0% 1.2%;
}

.item-page-aboutus4-1 { grid-column: 1 ; grid-row: 1; }
.item-page-aboutus4-text1 { grid-column: 2; grid-row:1; }

.aboutus4-main-title {
    position: relative;
    margin: 0vh 1.5vw 3vh 1.5vw;
    pointer-events: none;
}

.aboutus4-description-block {
    position: relative;
    margin: 2vh 1.5vw;

}

.page-aboutus5-canvas {
    width: 100%;
    height: auto;
    max-height: 550px;
    min-height: 180px;
    aspect-ratio: 16 / 9;
    background-color: #fcfcfc;
    padding: 2vh 2vw;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 0% 1.2%;
}

.item-page-aboutus5-1 { grid-column: 2 ; grid-row: 1; max-height: 530px; aspect-ratio: 4 / 3}
.item-page-aboutus5-text1 { grid-column: 1; grid-row:1; }

.aboutus5-main-title {
    position: relative;
    margin: 2vh 2vw 2vh 0vw ;
    pointer-events: none;
}

.aboutus5-description-block {
    position: relative;
    margin: 2vh 2vw 2vh 0vw ;
}


.aboutus5-items {
    display: flex;
    flex-direction: column;
}

.aboutus5-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 2vh 0;
    border-bottom: 1px solid #efefef;
}

.aboutus5-item-title {
    font-family: 'Montserrat', serif;
    font-size:  clamp(7px, 1.6vw, 20px);
    font-weight: 400;
    color: #111;
    margin-bottom: 1vh;
}

.aboutus5-item-text {
    font-size: clamp(7px, 2vw, 28px);
    font-weight: 300;
    line-height: 1.8;
    color: #555;
}

.page-bsn-canvas {
    width: 100%;
    height: auto;
    background-color: #fcfcfc;
    padding: 2vh 3vw;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0% 7.2vw;
}

.item-page-bsn-1 { grid-column: 2 ; grid-row: 1;}
.item-page-bsn-text1 { grid-column: 1; grid-row:1; }

.bsn-main-title {
    position: relative;
    pointer-events: none;
}

.bsn-description-block {
    position: relative;
}

.bsn-items {
    display: flex;
    flex-direction: column;
}

.bsn-item {
    display: grid;
    grid-template-columns: 1fr;
    border-bottom: 1px solid #efefef;
    padding-bottom: 1%;
}

.bsn-item-title {
    margin: 5% 1% 4% 0%
}

.page-aboutus6-canvas {
    width: 100%;
    height: auto;
    max-height: 620px;
    aspect-ratio: 16 / 9;
    background-color: #fcfcfc;
    padding: 2vh 2vw;
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 0% 1.2%;
}

.item-page-aboutus6-1 { grid-column: 2 ; grid-row: 1; max-height: 570px;}
.item-page-aboutus6-text1 { grid-column: 1; grid-row:1; }


.page-aboutus7-canvas {
    width: 100%;
    height: auto;
    background-color: #fcfcfc;
    padding: 2vh 2vw;
    display: grid;
    grid-template-columns: 1.7fr 0.9fr;
    gap: 0% 1.2%;
}

.item-page-aboutus7-1 { grid-column: 1 ; grid-row: 1; max-height: 510px; }
.item-page-aboutus7-text1 { grid-column: 2; grid-row:1; }

.section-title {
    font-family: 'Montserrat', serif;
    font-weight: 400;
    font-size: clamp(15px, 2.03vw, 26px); 
    line-height: 1.3;
    letter-spacing: -0.3px;
    padding-bottom: 2%;
    color: #1e1e1e;
}

.page-video-item {
    width: 100%;
    overflow: hidden;
    max-height: 95vh;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    flex-grow: 1;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    background-color: #f4f4f4;
}


.page-photo-item {
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    flex-grow: 1;
    width: 100%;
}

.page-photo-item:hover {
    transform: scale(1.01);
    z-index: 10;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.page-bigimage-canvas {
    width: 100%;
    height: auto;
    background-color: #fcfcfc;
    padding: 2vw 6vw;
    display: flex;
    flex-direction: column;
}

.page-bigimage-header {
    text-align: center;
}

.page-manyphotos-canvas {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background-color: #fcfcfc;
    padding: 2vh 2vw;
    display: grid;
    grid-template-columns: 0.8fr 1.4fr 0.6fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 0% 1.2%;
}

.item-manyphotos-left-1 { grid-column: 1; grid-row: 1; }
.item-manyphotos-left-2 { grid-column: 1; grid-row: 2; }
.item-manyphotos-left-3 { grid-column: 1; grid-row: 3; }
.item-manyphotos-center { grid-column: 2; grid-row: 1 / span 3; }
.item-manyphotos-right-1 { grid-column: 3; grid-row: 1; }
.item-manyphotos-right-2 { grid-column: 3; grid-row: 2; }
.item-manyphotos-right-3 { grid-column: 3; grid-row: 3; }



.page-photos3-canvas {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background-color: #fcfcfc;
    padding: 2vh 2vw;
    display: grid;
    grid-template-columns: 0.7fr 0.7fr 1fr;
    grid-template-rows: 0.7fr 1fr 1.2fr;
    gap: 0% 1.2%;
}

.i1-item-1 { grid-column: 1/ span 2; grid-row: 1/ span 2; }
.i1-item-2 { grid-column: 1; grid-row: 3; }
.i1-item-3 { grid-column: 2; grid-row: 3; }
.i1-item-4 { grid-column: 3; grid-row: 1/ span 2; }
.i1-item-5 { grid-column: 3; grid-row: 3; }

.page-photos4-canvas {
    width: 100%;
    height: auto;
    background-color: #fcfcfc;
    padding: 2vh 2vw;
    display: grid;
    max-height: 95vh;
    grid-template-columns: 0.5fr 1.4fr;
    grid-template-rows: 1.2fr 1fr;
    gap: 1.2vw 1.2%;
}

.item-page-photos4-1 { grid-column: 1; grid-row: 1; }
.item-page-photos4-2 { grid-column: 1; grid-row: 2; }
.item-page-photos4-big-3 { grid-column: 2; grid-row: 1/ span 2; }

.page-photos5-canvas {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background-color: #fcfcfc;
    padding: 2vh 2vw;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 0.65fr 1fr;
    gap: 0% 1.2%;
}

.item-page-photos5-1 { grid-column: 1; grid-row: 2; }
.item-page-photos5-2 { grid-column: 2; grid-row: 1 / span 2; }
.item-page-photos5-3 { grid-column: 3; grid-row: 1/ span 2; }
.item-page-photos5-text { grid-column: 1; grid-row: 1; }

.page-3photoslong-canvas {
    width: 100%;
    height: auto;
    background-color: #fcfcfc;
    padding: 2vh 2vw;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0% 1.2%;
}

.item-page-3photoslong-1 { grid-column: 1; grid-row: 1; }
.item-page-3photoslong-2 { grid-column: 2; grid-row: 1;}
.item-page-3photoslong-3 { grid-column: 3; grid-row: 1; }

.page-3photosshort-canvas {
    width: 100%;
    height: auto;
    background-color: #fcfcfc;
    padding: 2vh 2vw;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0% 1.2%;
}

.item-page-3photosshort-1 { grid-column: 1; grid-row: 1; aspect-ratio: 5 / 7;}
.item-page-3photosshort-2 { grid-column: 2; grid-row: 1 ; aspect-ratio: 5 / 7;}
.item-page-3photosshort-3 { grid-column: 3; grid-row: 1; aspect-ratio: 5 / 7;}


.page-3photosdif-canvas {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background-color: #fcfcfc;
    padding: 2vh 2vw;
    display: grid;
    grid-template-columns: 0.9fr  1fr;
    grid-template-rows: 1fr 0.9fr;
    gap: 1.2vw 1.2%;
}

.page-3photosdif-main-photo { grid-column: 1; grid-row: 1/ span 2; }
.page-3photosdif-top-photo { grid-column: 2; grid-row: 1; }
.page-3photosdif-middle-photo { grid-column: 2; grid-row: 2; }


.page-2photosrow-canvas {
    width: 100%;
    height: auto;
    background-color: #fcfcfc;
    padding: 2vh 6vw;
    display: grid;
    grid-template-columns: 1fr 1fr ;
    gap: 0vh 5vw;
}

.item-page-2photosrow-1 { grid-column: 1; grid-row: 1; }
.item-page-2photosrow-2 { grid-column: 2; grid-row: 1; }


.page-2photos-canvas {
    width: 100%;
    height: auto;
    background-color: #fcfcfc;
    padding: 2vh 2vw;
    display: grid;
    grid-template-columns: 1fr 1fr ;
    gap: 0% 1.2%;
}

.item-page-2photos-1 { grid-column: 1; grid-row: 1; }
.item-page-2photos-2 { grid-column: 2; grid-row: 1; }

.page1-hero-image-container {
    width: 100%;
    height: 65vh;
}

.simple-just-text-block {
     position: relative;
    pointer-events: none;
}


/* Дополнительные стили для FAQ */
.faq-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ebebeb;
    padding-bottom: 2%;
    margin-bottom: 2%;
    transition: opacity 0.2s;
}
.faq-header:hover {
    opacity: 0.7;
}
.faq-toggle-icon {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    color: #272727;
}
.faq-content {
    display: none;
    margin-top: 20px;
}
.faq-item {
    border-bottom: 1px solid #ebebeb;
    padding: 3% 0;
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-title {
    font-weight: 500;
    margin-bottom: 8px;
    font-size: clamp(12px, 1.6vw, 18px);
}

@media (max-width: 600px) {
    body {
        font-size: 14px; /* Slightly smaller base font */
    }
    .logo {
        display: none;
    }
    .hide600 {
        display: none;
    }
    .collapsible-social {
        margin-left: 1vw;
      position: relative;        /* anchor for absolute positioning */
      display: inline-block;     /* fits the toggle button */
    }
    .logo600 {
        display: block;
        align-self: center;
        width: 40px;
        margin-left: 2vw;
        padding-right: 1vw;
        height:auto;
    }
    .site-header {
        padding: 5px 0px;
    }
    .header-container {
        flex-wrap: wrap;
        gap: 0px;
        padding: 1% 3%;
    }
    .social-icons {
        margin-left: 0;
        gap: 1.5vw;
    }
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
    .nav-links {
        gap: 1vw;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-link {
            font-size: clamp(15px, 1.5vw, 16px);
    }
    .nav-link:not(:last-child)::after {
        margin-left: 1vw;        /* отступ слева от разделителя */
    }
    .portfolio-container {
        margin-top: 12vh; /* Adjust for taller header */
    }

    .portfolio-page {
        padding: 5%;
        margin-bottom: 5%;
    }

    /* Stack all grids vertically */
    .page-aboutus4-canvas,
    .page-aboutus5-canvas,
    .page-aboutus6-canvas,
    .page-aboutus7-canvas,
    .page-bsn-canvas,
    .page-manyphotos-canvas,
    .page-3photosdif-canvas,
    .page-photos3-canvas,
    .page-photos4-canvas,
    .page-photos5-canvas,
    .page-3photoslong-canvas,
    .page-3photosshort-canvas,
    .page-2photosrow-canvas,
    .page-2photos-canvas,
    .page-bigimage-canvas {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 2vh 2vw;
        min-height: none;
        max-height: none;
        aspect-ratio: auto;
        height: auto;
    }

    /* Make images full width */
    .page-photo-item,
    .page-video-item,
    .image-wrapper {
        width: 100%;
        height: auto;
        min-height: none;
        max-height: none;
    }

    /* Adjust titles and texts */
    .hero-title {
        font-size: 24px;
    }

    .block-title {
        font-size: 20px;
    }

    .body-text {
        font-size: 14px;
    }

    .block-subtitle {
        font-size: 14px;
    }

    .body-text {
        font-size: 12px;

    }

    .faq-item {
        padding: 5% 0;
    }


     .page1-meta-info {
        margin: 3% 0% 1% 0%;
    }
    /* Футер */
    .footer-logo {
        margin-left: 1vw;
        width: 15vw;
    }

.footer-container {
    grid-template-columns: minmax(5px, auto) repeat(3, 1fr);
}
    /* Specific adjustments */
    .page1-hero-image-container {
        height: 40vh;
    }

    .aboutus4-description-block,
    .aboutus5-description-block,
    .bsn-items {
        margin: 20px 0;
    }

    .simple-just-text-block {
        padding: 10px;
    }

    /* Hide or adjust videos if needed */
    .video-wrapper video {
        width: 100%;
    }
}
.lang-switcher {
    margin-left: 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(12px, 1.5vw, 14px);
    font-weight: 500;
    display: flex;
    flex-direction: column;  /* меняем направление на вертикальное */
    align-items: flex-start; /* выравнивание по левому краю (можно изменить на center) */
    gap: 1%;
}

.lang-switcher a {
    text-decoration: none;
    color: #888;
    transition: color 0.3s;
}

.lang-switcher a.active {
    color: #1e1e1e;
    font-weight: 600;
    pointer-events: none;
}