* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  font-family: "Raleway";
  font-weight: 700;
}

/* .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        } */

/* Header */
header {
  position: relative;
  height: 100vh;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* padding: 20px; */
  z-index: 40;
  /*сделано для кружочков*/
}

.intro {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.intro::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;

}

.background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.header-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 40px 30px;
  z-index: 3;
}

.menu-toggle {
  /* width: 30px;
            height: 5px; */
  width: 40px;
  height: 8px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  margin-left: 30px;
  margin-top: 20px;




}

.logo {
  max-width: 213px;
  /* Максимальная ширина */
  height: auto;
  /* Автоматическая высота для сохранения пропорций */
  /* margin-top: 40px;
            margin-right: 30px; */
}


.hero-content {
  text-align: center;
  padding: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  color: white;
}

.hero-title {
  font-family: Raleway;
  font-weight: 700;
  font-style: Bold;
  font-size: 80px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;




  margin: 0;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-weight: 500;
  font-style: Medium;
  font-size: 28px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;


  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -351px;
  width: 351px;
  height: 100vh;
  /* height: 55vh;*/
  background-color: #404040;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 30px 30px 20px;
  overflow-y: auto;
}

.mobile-menu.active {
  left: 0;
}



.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  /* отступ от меню */
  width: 100%;
}




.close-btn {
  /* position: absolute; */
  /* top: 20px;
            left: 30px; left: 20px; */
  font-size: 3.5rem;
  line-height: 1;
  color: #fff;
  cursor: pointer;
}

.image-menu {
  height: 50px;
  /* или как в макете */
  width: auto;
  display: block;
  transform: rotate(-139.37deg);
  margin-right: -24px;
  margin-top: -10px;

  /* Если нужно ограничить max-width — добавьте */
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu li {
  margin-bottom: 20px;
  /*15 px */
}

.mobile-menu a {
  font-family: "Raleway", sans-serif;
  /* font-optical-sizing: auto; */
  font-size: 20px;
  font-weight: 700;
  font-style: normal;


  color: #fff;
  text-decoration: none;


  display: flex;
  align-items: center;
  padding: 10px;
  transition: all 0.3s ease;
}

.mobile-menu a:hover {
  color: #3498db;
  padding-left: 15px;
}

.mobile-menu a::before {
  content: "►►";
  margin-right: 10px;
  font-size: 20px;
}






.fone {
  background-image: url('../img/pattern.png');
  background-repeat: repeat;
  /* узор будет повторяться по всей странице */
  background-size: auto;
  /* не масштабировать, если это бесшовный паттерн */
  background-position: top left;
  background-attachment: fixed;
  /* ← ЭТО КЛЮЧЕВОЕ СВОЙСТВО */
  margin: 0;
  padding: 0;
}


/* Общий стиль для любого раздела */
.section-addres-and-map {
  position: relative;
  /* min-height: 100vh;  */
  display: flex;
  justify-content: center;
  align-items: center;
  /* padding: 20px; */
  box-sizing: border-box;
  /* overflow: hidden; */
}

/* Контент-блок — белый/светлый прямоугольник поверх фона */
.content-wrapper {
  /* max-width: 1720px; */
  max-width: 92%;
  width: 100%;
  background-color: rgb(237, 242, 242);
  box-sizing: border-box;
  z-index: 1;
}


.addres-and-map {
  position: relative;
  padding: 60px 0px 160px;
  display: flex;
  /* ❌ Убираем justify-content: space-between */
  justify-content: center;
  /* или center, если нужно */
  align-items: center;
  gap: 50px;
  /* ← расстояние между блоками */
}




/* Стили текста, кнопки, логотипа — оставьте как есть */
.text-block {
  flex: 1;
  max-width: 520px;
  text-align: left;



}

.text-block h2 {
  font-family: Raleway;
  font-weight: 700;
  font-style: Bold;
  font-size: 1.25rem;

  line-height: 1.875rem;
  letter-spacing: 0%;
  text-align: center;


}

.text-block p {
  font-family: Exo 2;
  font-weight: 300;
  font-style: Light;
  font-size: 1.25rem;
  line-height: 1.875rem;
  letter-spacing: 0%;
  text-align: center;

}


.map-block {
  flex: 0 0 auto;
  text-align: center;
}

.map-image {
  max-width: auto;
  height: auto;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));

}

/* Флаг сверху справа */
.addres-and-map::before {
  content: "";
  position: absolute;
  top: 15px;
  right: 20px;
  transform: rotate(0deg);
  width: 138px;
  height: 192px;

  background-image: url('../img/contacts-page/flag.png');
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}

/* Кружочки снизу слева */
.addres-and-map::after {
  content: "";
  position: absolute;
  bottom: -250px;
  left: -80px;
  transform: rotate(0deg);
  width: 802.5px;
  height: 529.5px;

  background-image: url('../img/contacts-page/rounds.svg');
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}



/* === Блок контактов и соцсетей === */

.section-contacts-social {
  position: relative;
  /* min-height: 100vh;  */
  display: flex;
  justify-content: center;
  align-items: center;
  /* padding: 20px; */
  box-sizing: border-box;
  /* overflow: hidden; */
}

.content-wrapper-social {
  /* max-width: 1720px; */
  max-width: 100%;
  width: 100%;
  background-color: rgba(239, 239, 239, 1);
  box-sizing: border-box;
  z-index: 1;
}



.contact-info {
  text-align: center;
  padding: 150px;
  background-color: rgba(239, 239, 239, 1);
  
}


.contact-info p {
  font-family: Raleway;
  font-weight: 500;
  font-style: Medium;
  font-size: 50px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  color: rgba(0, 0, 0, 1);

}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.social-btn {
  display: inline-block;
  width: 50px;
  height: 50px;
  transition: transform 0.2s ease;
}

.social-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-btn:hover {
  transform: scale(1.1);
}



/* FOOTER */

.site-footer {
  position: relative;
  background-color: #404040;
  /* тёмно-серый фон */
  padding: 100px 0px;
  text-align: center;
  color: white;
  font-family: Raleway, sans-serif;
  z-index: 40;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  max-width: 213px;
  width: 100%;
  height: auto;
  /* если логотип не белый — можно сделать ярче */
}

.footer-copyright {
  font-family: Raleway;
  font-weight: 500;
  font-style: Medium;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;

  margin: 0;
}



/* Для скрытия флага */
@media (max-width: 1440px) {

  /* Флаг сверху справа */
  .addres-and-map::before {
    display: none;

  }
}



@media (max-width: 1024px) and (min-width: 769px) {
  .addres-and-map {
    padding: 100px 40px;
    gap: 40px;
  }

  .text-block {
    max-width: 450px;
  }

  .text-block h2 {
    font-size: 20px;
  }

  .text-block p {
    font-size: 18px;
  }

  .map-image {
    max-width: 300px;
  }

  /* Флаг сверху справа */
  .addres-and-map::before {
    display: none;

  }

  /* Кружочки снизу слева */
  .addres-and-map::after {

    bottom: -160px;
    left: -50px;
    transform: rotate(0deg);
    width: 535px;
    height: 353px;
  }

    .contact-info {
      padding: 90px;
  }




}





/* Адаптивность — мобильные устройства */
@media (max-width: 768px) {



  /* header */
  .hero-title {
    font-size: 4rem;
  }

  .hero-subtitle {
    font-size: 1.8rem;
  }

  .mobile-menu {
    width: 100%;
    left: -100%;
  }

  /* .header-top {
                padding: 10px 0;
            } */

  /* .logo {
                height: 40px;
            } */

  .section-title {
    font-size: 2rem;
  }

  .menu-toggle {
    margin-left: 30px;
    margin-top: 20px;
  }

  .logo {
    max-width: 170px;
    /* min-width: 140px;
    min-height: 50px; */
    margin-top: 15px;
  }


  .background-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .content-wrapper {
    flex-direction: column;
    gap: 30px;
    padding: 20px 0;
    max-width: 95%;
  }


  .addres-and-map {
    flex-direction: column;
    padding: 80px 30px;
    gap: 30px;
  }

  .text-block,
  .map-block {
    margin: 0 !important;
    text-align: center;
  }

  .map-image {
    max-width: 100%;
  }


  .addres-and-map::before,
  .addres-and-map::after {
    display: none;
    /* скрываем декорации на мобильных */
  }


  .contact-info {
    padding: 90px;

  }

   .contact-info p {
    font-size: 2rem;
  }

  .social-buttons {
    gap: 15px;
  }

  .fone {
    background-image: none;
    background-color: rgb(237, 242, 242);
  }




}


/* маленькие экраны */
@media (max-width: 480px) {
  .hero-content {
    width: 100%;
    max-width: none;
    /* сбрасываем возможные ограничения */
    padding: 20px;
    /* если нужно — оставляем отступы */
    box-sizing: border-box;
    /* чтобы padding не увеличивал ширину */
  }

  .hero-title {
    position: relative;
    font-size: 2.8rem;

  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-content p {
    font-size: 1rem;
  }

  .addres-and-map {
    padding: 20px 20px;
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .text-block {
    max-width: 100%;
    text-align: center;
  }

  .text-block h2 {
    font-size: 1.4rem;
    line-height: 1.4;
  }

  .text-block p {
    font-size: 1.2rem;
    line-height: 1.5;
  }

  .map-image {
    max-width: 100%;
    height: auto;
  }



  .fone {
    background-image: none;
    background-color: rgb(237, 242, 242);
  }

  .addres-and-map-us::before {
    display: none;
  }

  .addres-and-map-us::after {
    display: none;
  }

  .contact-info {
    width: 100%;
    max-width: none;
    /* сбрасываем возможные ограничения */
    padding: 20px;
    /* если нужно — оставляем отступы */
    box-sizing: border-box;
    /* чтобы padding не увеличивал ширину */
  }

   .contact-info p {
    font-size: 1.8rem;
  }








  .site-footer {
    padding: 50px 0px;
  }

  .footer-logo {
    max-width: 180px;
  }

  .footer-copyright {
    font-size: 16px;
  }

}