.whatsapp-fixed {
  position: fixed;
  right: 50px;
  bottom: 50px;
  z-index: 9999;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: box-shadow 0.2s;
  width: 60px;
  height: 60px;
  overflow: hidden;
}
.whatsapp-fixed:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.whatsapp-fixed svg {
  width: 100%;
  height: 100%;
}
@media (max-width: 850px) {
  .whatsapp-fixed {
    right: 20px;
    bottom: 20px;
    width: 48px;
    height: 48px;
  }
}
/* Анимация появления why-us-right сбоку при скролле */
.why-us-right {
  opacity: 0;
  transform: translateX(500px);
  transition: opacity 1s, transform 1s;
  will-change: opacity, transform;
}
.why-us-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Why Us Section Styles */
.why-us-section {
  background: #fff;
  padding-top: 120px;
  padding-bottom: 60px;
}

.why-us-content {
  display: flex;
  width: 75%;
  max-width: 1080px;
  margin: 0 auto;
  justify-content: space-between;
}

.why-us-left {
  margin-right: 5.5%;
  position: relative;
  height: 510px;
}

.why-us-left img {
  width: 510px;
  height: 510px;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  position: relative;
}

.why-us-left::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.1);
  z-index: 2;
  pointer-events: none;
}

.why-us-right {
  flex: 1 1 510px;
  display: flex;
  flex-direction: column;
  justify-content: start;
}

.why-us-title {
  font-family: 'Montserrat', 'Poppins', Arial, sans-serif;
  font-size: 42px;
  font-weight: 700;
  /* margin-top: 0; */
  margin-bottom: 18px;
  color: #222;
  text-align: justify;
}

.why-us-desc {
  font-size: 18px;
  color: #222;
  line-height: 1.7;
  text-align: justify;
}

@media (max-width: 1100px) {
  .why-us-content {
    flex-direction: column;
    gap: 10px;
  }

  .why-us-left,
  .why-us-left img {
    width: 350px;
    height: 350px;
    min-width: unset;
  }

  .why-us-right {
    align-items: start;
    text-align: center;
    flex: 1 1 auto;
  }

  .why-us-title {
    margin-bottom: 6px;
  }
}

@media (max-width: 900px) {
  .why-us-content {
    width: 90vw;
  }
}

@media (max-width: 600px) {
  .carousel-container {
    height: 360px !important;
  }
  .carousel-btn.prev {
    left: 8px !important;
  }
  .carousel-btn.next {
    right: 8px !important;
  }
  .why-us-section {
    padding-top: 80px;
    padding-bottom: 40px;
  }
  .why-us-left {
    margin: 0;
  }
  .why-us-left,
  .why-us-left img {
    width: 90vw;
    height: 340px;
    max-width: 100%;
  }
  .why-us-right {
    align-items: center;
  }
  .why-us-title {
    font-size: 32px;
  }
  .why-us-desc {
    font-size: 17px;
    text-align: center;
  }
}
@media (max-width: 600px) {
  .carousel-btn.prev {
    left: 5px !important;
  }
  .carousel-btn.next {
    right: 5px !important;
  }
}

@keyframes bounce-in {
  0% {
    transform: translateY(80px);
  }

  50% {
    transform: translateY(-5px);
  }

  100% {
    transform: translateY(0);
  }
}

/* OUR SPECIALISTS SECTION */
.our-specialists-section {
    background: white;
    padding-top: 20px;
    padding-bottom: 100px;
}
.specialists-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}
.specialists-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 16px;
    color: #222;
}
.specialists-desc {
    font-size: 1.15rem;
    color: #222;
    margin-bottom: 40px;
}
.specialists-list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}
.specialist-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    padding: 32px 24px 24px 24px;
    max-width: 320px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s;
}
.specialist-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.specialist-img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 18px;
    border: 3px solid #e0e6ed;
    background: #e0e6ed;
}
.specialist-info {
    text-align: center;
}
.specialist-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a2a3a;
    margin-bottom: 6px;
}
.specialist-role {
    font-size: 1rem;
    color: #0161b7;
    margin-bottom: 10px;
    font-weight: 500;
}
.specialist-desc {
    font-size: 0.98rem;
    color: #1a2a3a;
}
@media (max-width: 900px) {
    .specialists-list {
        gap: 20px;
    }
    .specialist-card {
        max-width: 260px;
        padding: 24px 12px 18px 12px;
    }
}
@media (max-width: 600px) {
    .our-specialists-section {
      padding-top: 30px;
    }
    .specialists-title {
      margin-top: 0;
      font-size: 32px;
    }
    .specialists-list {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        flex-wrap: nowrap;
    }
    .specialist-card {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    .specialist-info {
      padding-left: 10px;
      padding-right: 10px;
    }
}

.mission-card {
  opacity: 0;
}

.mission-card.visible {
  animation: bounce-in 1.2s cubic-bezier(.22, 1.2, .36, 1) both;
  opacity: 1;
  transition: opacity 0.7s;
}

/* Анимация появления about-img и about-text сбоку при скролле */
.about-animate-left,
.about-animate-right {
  opacity: 0;
  transition: opacity 1s, transform 1s;
  will-change: opacity, transform;
}

.about-animate-left {
  transform: translateX(-260px);
}

.about-animate-right {
  transform: translateX(260px);
}

.about-animate-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.about-animate-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.mission-card-line {
  width: 50px;
  height: 0.5px;
  background: black;
  margin: 2px auto 10px auto;
  border-radius: 2px;
  opacity: 0.0;
}

/* Mission Section */
.mission-section {
  /* height: 470px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  position: relative;
  overflow: visible;
  background: #fff;
}

.mission-section .background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #212121;
  height: 470px;
}

.mission-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: start;
  width: 75%;
  max-width: 1080px;
  height: 100%;
  margin-top: 100px;
  margin-bottom: 60px;
  z-index: 1;
}

/* Mission Cards Row */
.mission-cards-row {
  display: flex;
  gap: 36px;
  width: 75%;
  max-width: 1080px;
  justify-content: space-between;
  pointer-events: none;
}

.mission-card {
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  width: 280px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px 24px 20px;
  position: relative;
  pointer-events: auto;
  transition: box-shadow 0.2s, transform 0.2s;
}

.mission-card img,
.mission-card svg {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 18px;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10); */
}

.mission-card-title {
  font-size: 18px;
  font-weight: 700;
  color: rgb(0, 0, 0);
  margin-bottom: 10px;
  text-align: center;
  font-weight: 400;
}

.mission-card-desc {
  font-size: 16px;
  color: rgb(0, 0, 0);
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .mission-cards-row {
    width: 98%;
    gap: 18px;
  }

  .mission-card {
    width: 200px;
    min-height: 220px;
    padding: 18px 10px 16px 10px;
  }
}

@media (max-width: 900px) {
  .mission-cards-row {
    position: static;
    transform: none;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
    margin-bottom: 0;
    width: 100%;
  }

  .mission-card {
    width: 85vw;
    min-width: 0;
    max-width: 340px;
  }
}

.mission-left {
  flex: 0 0 38%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}
.mission-right {
  flex: 0 0 57%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.mission-title {
  color: #fff;
  font-size: 35px;
  font-weight: 300;
  text-transform: uppercase;
  font-family: 'Montserrat', 'Poppins', Arial, sans-serif;
  line-height: 1.4em;
  text-align: left;
  padding-bottom: 20px;
}

.mission-desc {
  color: white;
  font-size: 18px;
  font-family: 'Montserrat', 'Poppins', Arial, sans-serif;
  line-height: 1.6;
  text-align: justify;
  margin: 0;
}

@media (max-width: 900px) {
  .mission-content {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 90%;
    margin-top: 80px;
    margin-bottom: 30px;
  }
  .mission-section .background {
    height: 570px;
  }
  .mission-left,
  .mission-right {
    justify-content: flex-start;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }
  .mission-title {
    font-size: 28px;
  }
  .mission-desc {
    font-size: 1.1rem;
  }
}
@media (max-width: 600px) {
  .mission-title,
  .mission-desc {
    text-align: center;
  }
}

/* Стили для карточек продуктов */
.products-section {
  width: 100vw;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 40px;
}

.products-content {
  max-width: 1100px;
  width: 90vw;
  margin: 0 auto;
}

.products-title {
  font-size: 40px;
  margin-bottom: 70px;
}

.products-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* Стили для product-card как ссылки */
.product-card {
  width: 300px;
  height: 450px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 24px 0 0 0;
  margin: 0 16px 32px 16px;
  transition: transform 0.2s, box-shadow 0.35s cubic-bezier(.4, 1.3, .5, 1);
  /* cursor: pointer; */
  text-decoration: none;
  color: inherit;
}

.product-card:hover,
.product-card:focus {
  box-shadow: 0 12px 36px 0 rgba(0, 0, 0, 0.1), 0 2px 8px 0 rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: inherit;
}

.product-card:active {
  transform: scale(0.98);
}

/* Анимация появления product-card масштабированием */
.product-card {
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 1s, transform 1s;
}

.product-card.visible {
  opacity: 1;
  transform: scale(1);
}

.product-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  z-index: 0;
  margin: 0;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img {
  transform: scale(1.01);
}

.product-card h3,
.product-card p {
  background: none;
  position: relative;
  z-index: 2;
  color: #fff;
  margin-left: 24px;
  margin-right: 24px;
  text-align: center;
  white-space: normal;
}

.product-card h3 {
  margin-top: 35px;
  margin-bottom: 8px;
  font-size: 24px;
}

.product-card p {
  margin-top: 15px;
  font-size: 18px;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
  transition: background 0.3s ease;
}

.product-card:hover::before {
  /* background: rgba(0, 0, 0, 0.33); */
}

/* Волна под about-section */
.about-wave {
  width: 100vw;
  line-height: 0;
  margin-top: -1px;
  position: relative;
  z-index: 1;
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 110px; /* равен высоте фиксированного меню */
}

@media (max-width: 900px) {
  body {
    overscroll-behavior: none !important;
    width: 100vw !important;
  }
}

/* О нас */
.about-section {
  width: 100vw;
  background: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0 40px 0;
}

.about-content {
  display: flex;
  align-items: center;
  max-width: 1100px;
  width: 90vw;
  gap: 40px;
}

.about-img img {
  width: 510px;
  object-fit: cover;
  /* Тень: сдвиг вправо 8px, вниз 12px, размытие 24px, прозрачность 0.18 */
  box-shadow: 10px 12px 0px 0 rgba(0, 0, 0, 0.35);
  filter: brightness(0.9);
}

.about-text {
  flex: 1;
  text-align: left;
}

.about-text .title-1 {
  font-size: 25px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #222;
  color: #0161b7;
}

.about-text .title-2 {
  font-size: 30px;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: #206fdc;
  color: #222;
  /* font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif; */
}

.about-text .description {
  font-size: 16px;
  line-height: 1.6;
  color: #000;
}

@media (max-width: 900px) {
  .about-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  .about-img img {
    width: 90%;
  }
  .about-text .title-1 {
    font-size: 22px;
  }
  .about-text .title-2 {
    font-size: 24px;
  }
  .about-text .description {
    line-height: 28px;
  }
  .about-section {
    padding-top: 70px;
    padding-bottom: 0;
  }
  .products-title {
    font-size: 28px;
  }
  .product-card {
    width: 100%;
    height: 220px;
    border-radius: 8px;
    margin: 0 0 20px 0;
    justify-content: center;
    padding-top: 0;
  }
  .product-img {
    border-radius: 8px;
  }
  .product-card h3 {
    margin-top: 20px;
    font-size: 22px;
  }
  .product-card::before {
    background: rgba(0, 0, 0, 0.7);
  }
  .product-card p {
    line-height: 25px;
    margin-top: 10px;
  }
}

/* Анимация увеличения для изображений в карусели */
.carousel-img {
  transition: transform 25s linear;
  transform: scale(1.3);
}

.carousel-slide.active .carousel-img {
  transform: scale(1);
}

/* Глобальный стиль nav-links должен идти выше медиазапросов */
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

/* Карусель */
.carousel-container {
  position: relative;
  width: 100vw;
  height: calc(100vh - 110px - 50px);
  /* 110px header, 50px top-bar */
  overflow: hidden;
  background: #000;
  margin: 0;
  padding: 0;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.7s linear;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
  transition: opacity 0.7s linear;
}

.carousel-slide::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.32);
  z-index: 1;
  pointer-events: none;
}

.carousel-img {
  width: 100vw;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 0;
  opacity: 0.8;
}

.carousel-caption {
  position: absolute;
  left: 10vw;
  top: 50%;
  transform: translateY(40px);
  /* старт ниже */
  opacity: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  font-size: 3em;
  text-align: left;
  padding: 18px 32px;
  letter-spacing: 1px;
  font-weight: 600;
  border-radius: 8px;
  z-index: 2;
  transition: opacity 2s 1s, transform 1s 1s;
  pointer-events: none;
  max-width: 40vw;
}

.carousel-slide.active .carousel-caption {
  opacity: 1;
  transform: translateY(-50%);
  transition: opacity 2s 1s, transform 1s 1s;
  pointer-events: auto;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: white;
  /* border: 1.5px solid white; */
  font-size: 1.5em;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
  box-shadow: none;
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s, transform 0.2s;
  outline: none;
}

.carousel-btn:hover,
.carousel-btn:focus {
  background: rgba(6, 134, 119, 0.08);
  color: white;
  border-color: white;
  box-shadow: 0 2px 12px rgba(6, 134, 119, 0.18);
  transform: translateY(-50%) scale(1.08);
}

.carousel-btn.prev {
  left: 18px;
}
.carousel-btn.next {
  right: 18px;
}

body[data-lang='en'] {
  font-family: 'Poppins', Arial, sans-serif;
}

body[data-lang='ru'] {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* Top bar socials styles */
.top-bar {
  background: #0161b8;
  width: 100%;
  position: relative;
  padding: 10px 0;
  height: 30px;
}
.top-bar-socials {
  display: flex;
  gap: 12px;
  width: 90%;
  max-width: 1250px;
  margin: 0 auto;
  justify-content: end;
}
.top-bar-social svg {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  transition: opacity 0.2s;
}
.top-bar-social.instagram svg {
  width: 15px;
  height: 15px;
}
.top-bar-icon-bg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: background 0.2s;
}
.top-bar-social:hover .top-bar-icon-bg {
  background: #eaeaea;
}
.top-bar-social:hover svg {
  opacity: 1;
}

/* Хедер */
header {
  background: #fff;
  color: #222;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
  height: 110px;
}

.logo-link {
  text-decoration: none;
}
.logo {
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  width: 110px;
  height: 110px;
  background: url('../images/GorGazStroi_orig_logo.png') no-repeat center center;
  background-size: 110px;
}
/* .logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  pointer-events: none;
  border-radius: 100%;
  height: 100px;
  top: 5px;
} */
.logo-text {
  color: #fff;
  text-align: center;
  z-index: 5;
  font-size: 20px;
  line-height: 25px;
  font-weight: 600;
  width: auto;
  letter-spacing: 2px;
  text-shadow:
    0 2px 8px rgba(0,0,0,0.35),
    0 0 2px #fff;
  -webkit-text-stroke: 1px #fff;
  text-stroke: 1px #fff;
  /* background: linear-gradient(90deg, #fff 60%, #76d55d 100%); */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  text-transform: uppercase;
  margin-top: -5px;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

/* .dropdown {
    position: relative;
    display: flex;
    align-items: center;
} */
.dropdown-toggle {
  color: #222;
  cursor: default;
  padding: 0;
  user-select: none;
  transition: color 0.2s;
}

.arrow {
  display: inline-block;
  margin-left: 1px;
  margin-top: -3px;
  width: 5px;
  height: 5px;
  border-left: 1.4px solid black;
  border-bottom: 1.4px solid black;
  transform: rotate(-45deg);
  vertical-align: middle;
  transition: transform 0.2s;
}

.dropdown-toggle:hover {
  color: #0161b8;
  cursor: pointer;
}

.dropdown-toggle:hover .arrow {
  border-left-color: #0161b8;
  border-bottom-color: #0161b8;
}

.dropdown-menu {
  display: none;
  position: fixed;
  top: 160px;
  margin: 0 auto;
  background: #000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-radius: 0 0 6px 6px;
  min-width: 180px;
  max-width: 300px;
  z-index: 100;
  flex-direction: column;
  padding: 10px 0;
  justify-content: center;
  border-top: 2px solid #0161b8;
}

.dropdown-menu.floated {
  top: 110px;
}

.dropdown-menu a {
  color: rgba(255, 255, 255, .9) !important;
  text-decoration: none;
  padding: 10px 20px;
  display: block;
  font-size: 1em;
  transition: background 0.2s, color 0.2s;
}

.dropdown-menu a:hover {
  color: rgba(255, 255, 255, .7) !important;
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

.mainLink {
  padding-bottom: 45px;
  margin-bottom: -45px;
  font-size: 15px;
  font-weight: 600;
}

.dropdown-toggle.mainLink {
  padding-bottom: 47px;
  margin-bottom: -47px;
}

.nav-links a {
  color: #222;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a.active {
  color: #0161b8;
  position: relative;
}

.nav-links .mainLink.active::after,
.mainLink:hover::after {
  content: '';
  display: block;
  height: 2px;
  background: #0161b8;
  border-radius: 2px;
  position: relative;
  bottom: -15px;
}

.nav-links a:hover {
  color: #0161b8;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f4f4;
  color: #222;
}

header {
  background: #fff;
  color: #222;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

header.floated {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

main {
  text-align: center;
}

main.withMarginTop {
  margin-top: 110px;
  /* Отступ для контента под фиксированным хедером */
}

button {
  padding: 10px 20px;
  font-size: 16px;
  background: #0077cc;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

@media (max-width: 900px) {

  /* Мобильное выпадающее меню для dropdown */
  .dropdown-menu {
    display: none !important;
    position: relative !important;
    top: auto !important;
    left: 0 !important;
    background: white !important;
    color: #222 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0 0 0 16px !important;
    border-top: none !important;
    margin: 0 !important;
    z-index: 1;
  }

  .dropdown.open .dropdown-menu {
    display: flex !important;
    flex-direction: column;
    margin-top: 10px !important;
  }

  .dropdown-menu a {
    color: #222 !important;
    background: none !important;
    padding: 10px 0 !important;
    font-size: 1em;
  }

  .dropdown-menu a:last-child {
    padding-bottom: 0 !important;
  }

  .dropdown-toggle .arrow {
    transition: transform 0.2s;
  }

  .dropdown.open .dropdown-toggle .arrow {
    transform: rotate(135deg);
  }
}

@media (max-width: 900px) {
  .top-bar {
    display: none;
  }
  .header-container {
    flex-wrap: wrap;
    position: relative;
  }

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 14px;
    cursor: pointer;
    margin-left: auto;
    z-index: 102;
  }
  .burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #222;
    border-radius: 2px;
    transition: 0.3s;
  }

  .nav-links {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0 8px 0;
    z-index: 101;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
  }

  .nav-links.open {
    display: flex !important;
    align-items: start;
  }

  .nav-links>a,
  .nav-links>.dropdown,
  .nav-links>.lang-switcher {
    margin: 8px 24px;
  }

  .nav-links>.dropdown {
    margin-bottom: 0;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: none;
    padding: 0;
  }

  .dropdown-menu a {
    padding-left: 16px;
  }

  /* Ровный крестик для активного бургера */
  .burger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .burger.active span:nth-child(2) {
    opacity: 0;
  }

  .burger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-links {
    padding-top: 0 !important;
    gap: 15px !important;
    width: 90% !important;
    left: 50% !important;
    transform: translateX(-50%);
  }

  /* Убрать нижний прочерк и padding-bottom для активной ссылки и mainLink */
  .nav-links a.active,
  .nav-links .mainLink.active::after,
  .mainLink,
  .dropdown-toggle.mainLink {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .nav-links .mainLink.active::after,
  .mainLink:hover::after {
    display: none !important;
  }

  .carousel-container {
    height: calc(100vh - 110px);
  }

  .carousel-caption {
    font-size: 26px;
    left: 10vw;
    max-width: 60vw;
  }
}

@media (min-width: 901px) {
  .burger {
    display: none;
  }

  .nav-links {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    background: none;
    box-shadow: none;
    width: auto;
    padding: 0;
  }
}