* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 14px;
  margin: 0;
  font-family: Montserrat;
  line-height: 1.5;
}

.инфа {
  font-size: 20px;
}

.инфа2 {
  text-indent: 5em;
  margin-bottom: 5px;
  font-size: 20px;
}

a {
  color: black;
  text-decoration: none;
}

.страница {
  width: 100%;
  height: auto;
  background: rgba(240, 248, 255);
  position: relative;
  top: 0px;
  left: 0px;
  overflow: hidden;
}

.v8_28 {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.контент {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: black;
  background: rgb(255, 255, 255);
  padding: 0 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

}

.логотип {
  width: 35vw;
  height: auto;
  background: url("../images/logoDark.png") no-repeat center center;
  background-size: contain;
  min-width: 200px;
  min-height: 60px;
  margin-left: -10vw;
}

.логотип_и_шапка {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1vw;
  z-index: 10;
}

.шапка {
  display: flex;
  gap: 2vw;
  align-items: center;
}

.главная {
  font-size: 2vw;
  color: rgb(0, 0, 0);
}

.главная a {
  text-decoration: none;
  color: inherit;
}

.v18_386 {
  width: 100%;
  height: auto;
  background-repeat: no-repeat;
  background-size: contain;
  margin: 170px 100px 0px 0px;
  position: relative;
  overflow: hidden;
}

.v8_31 {
  width: 100%;
  position: absolute;
  font-family: Montserrat;
  font-weight: 300;
  text-align: center;
  font-size: 38px;
  overflow: hidden;
  margin-bottom: 150px;
}

.v10_38 {
  width: 100%;
  height: auto;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
  margin: 100px 5% 0px 1%;
}

.v10_37 {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: auto;
}

.text-container {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* притягивает к верхней границе */
}

.v10_32 {
  font-family: Montserrat;
  margin-bottom: 20px;
}

.line3 {
  font-size: 30px;
  font-weight: bold;
  transition: font-size 0.3s ease;
}

.line33 {
  font-size: 30px;
  overflow: hidden;
  transition: font-size 0.3s ease;
}

.line4 {
  font-size: 20px;
}

.v10_33 {
  font-family: Montserrat;
  font-weight: 300;
  font-size: 22px;
  text-align: justify;
}

.топогр {
  width: 30%;
  height: 300px;
  background: url("../images/topogr.png") no-repeat center center;
  background-size: cover;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  object-fit: cover;
  margin-left: 20px;
  margin-right: 20px;
}

.v10_47 {
  width: 100%;
  height: auto;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
  margin: 0px 5% 0px 0;
}

.исполнит {
  width: 30%;
  height: 300px;
  background: url("../images/ispolnit.png");
  background-size: cover;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  object-fit: cover;
  margin-left: 20px;
  margin-right: 20px;
}

.v10_40 {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: auto;
  margin: 50px 0;
}

.v10_41 {
  text-align: right;
  font-family: Montserrat;
  margin-bottom: 20px;
}

.v10_42 {
  font-family: Montserrat;
  font-weight: 300;
  font-size: 22px;
  text-align: justify;
}

.v10_71 {
  width: 100%;
  height: auto;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
  margin: 0px 5% 0px 1%;
}

.v10_59 {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: auto;
  /*margin: 50px 0;*/
}

.v10_60 {
  font-family: Montserrat;
  margin-bottom: 20px;
}

.v10_61 {
  font-family: Montserrat;
  font-weight: 300;
  font-size: 22px;
  text-align: justify;
}

.вынос {
  width: 30%;
  height: 300px;
  background: url("../images/vinos.png");
  background-size: cover;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  object-fit: cover;
  margin-left: 20px;
  margin-right: 20px;
}

.v18_385 {
  width: 100%;
  height: auto;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
  margin: 0px 5% 0px 0;
}

.Зд {
  width: 30%;
  height: 300px;
  background: url("../images/3D.png");
  background-size: cover;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  object-fit: cover;
  margin-left: 20px;
  margin-right: 20px;
}

.v10_74 {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: auto;
  margin: 50px 0;
}

.v10_75 {
  text-align: right;
  font-family: Montserrat;
  margin-bottom: 20px;
}

.v10_76 {
  font-family: Montserrat;
  font-weight: 300;
  font-size: 22px;
  text-align: justify;
}

.документы {
  width: 100%;
  height: auto;
  background-size: cover;
  position: relative;
  top: 0;
  left: 0;
  overflow: hidden;
  margin: 250px 0px 50px 0px;
}

.v16_97 {
  width: 100%;
  height: auto;
  background-size: cover;
  position: relative;
}

.фонДОК {
  width: 100%;
  height: auto;
  background: url("../images/dok.png") no-repeat center center;
  background-size: cover;
  position: relative;
}

.v16_190 {
  width: 100%;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

.АтСерЛиц {
  color: rgba(255, 255, 255, 1);
  font-family: Montserrat, sans-serif;
  font-weight: bold;
  font-size: 2rem;
  margin-bottom: 20px;
  margin: 50px 0px 20px 0px;
}

.фотоДок {
  display: flex;
  justify-content: space-evenly;
  /* распределяем блоки горизонтально */
  align-items: flex-start;
  /* притягиваем все к верхней границе */
  width: 100%;
  height: 590px;
  overflow-x: auto;
  position: relative;
}

.фотоДок>div {
  width: calc(100% / 2 - 20px);
  height: auto;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  aspect-ratio: 352 / 498;
}

.фотоДок::-webkit-scrollbar {
  display: none;
}

.док1,
.док2,
.док3,
.док4,
.док5,
.док6 {
  width: 252px;
  height: 398px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: absolute;
}

.док1 {
  background: url("../images/attest2025.png");
  left: 0;
}

.док2 {
  background: url("../images/svidetelstvo.png");
  left: calc(352px + 20px);
}

.док3 {
  background: url("../images/док3.png");
  left: calc(352px * 2 + 40px);
}

.док4 {
  background: url("../images/док4.png");
  left: calc(352px * 3 + 60px);
}

.док5 {
  background: url("../images/док5.png");
  left: calc(352px * 4 + 80px);
}

.док6 {
  background: url("../images/док6.png");
  left: calc(352px * 5 + 100px);
}

.v18_394 {
  width: auto;
  height: auto;
  background: url("../images/more_gorizont_minimalizm_127411_3840x2160.jpg") no-repeat center center;
  margin: 170px 0px 50px 0px;
  padding: 10px 0;
  position: relative;
}

.нам10 {
  color: white;
  flex-direction: column;
  justify-content: left;
  width: auto;
  height: auto;
  background-position: center center;
  background-size: cover;
  margin: 50px 50px 20px 50px;
  position: relative;
  top: auto;
  left: 0px;
  overflow: hidden;
  text-align: left;
}

.line5 {
  font-size: 30px;
}

.v8_8 {
  width: auto;
  font-family: Montserrat;
  font-weight: 300;
  font-size: 30px;
  text-align: justify;
  margin-bottom: 20px;
  gap: 200px;
}

.v8_7 {
  width: 100%;
  font-size: 48px;
  text-align: left;
  margin-bottom: 20px;
  line-height: 0.9;
}

.ОТСРОЧКА {
  color: white;
  flex-direction: column;
  justify-content: left;
  width: auto;
  height: auto;
  background-position: center center;
  background-size: cover;
  margin: 20px 50px 50px 50px;
  position: relative;
  top: auto;
  left: 0px;
  overflow: hidden;
  text-align: left;
}

.v16_96 {
  margin: 170px 50px 50px 50px;
  clear: both;
}

.рб {
  width: 300px;
  /* фиксированная ширина для десктопа */
  height: auto;
  float: left;
  background: url("../images/image.png") no-repeat center center;
  background-size: contain;
  border-radius: 20px;
  margin: 0px 10px 0px 0px;
}

.текст {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 20px;
  text-align: justify;
  margin: 0;
  width: 45%;
  clear: both;
}

.clear {
  clear: both;
}

.низ {
  width: 100%;
  height: auto;
  background: rgba(255, 255, 255);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
  left: 0;
  overflow: hidden;
  /* margin-top: 10vh; */
}

.первЧасть {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
  box-sizing: border-box;
}

.чпа,
.почта,
.унп {
  color: rgba(0, 0, 0, 0.5);
  font-family: Montserrat, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  text-align: center;
  margin-right: 10px;
  padding: 0 1rem;
}

.чпа a,
.почта a {
  color: rgba(0, 0, 0, 0.5);
  text-decoration: none;
}

.связь-юрадрес {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

.связь {
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.телефон {
  font-family: Montserrat, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
}

.иконки {
  display: flex;
  justify-content: flex-start;
}

.social-icon {
  color: rgba(0, 0, 0, 0.5);
  font-size: 2rem;
  text-decoration: none;
  margin-right: 1rem;
}

.social-icon:hover {
  color: rgba(0, 0, 0, 0.8);
}

.юрАдрес {
  width: 90%;
  font-family: Montserrat, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  text-align: justify;
  color: rgba(0, 0, 0, 0.5);
}

#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: rgba(30, 57, 99, 1);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#scrollTopBtn:hover {
  background-color: rgba(50, 77, 119, 1);
}

#scrollToTopLink {
  color: rgba(0, 0, 0, 0.5);
  text-decoration: none;
}

.container {
  position: relative;
  width: 70vw;
  height: 80vh;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.container::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(-45deg, rgba(85, 102, 143, 1), rgba(33, 54, 99, 1));
  z-index: 6;
  transform: translateX(100%);
  transition: 1s ease-in-out;
}

.social-icon {
  height: 45px;
  width: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  border-radius: 50px;
  margin: 0 5px;
}

a {
  text-decoration: none;
}

.btn {
  margin-top: 10px;
}

.v114_16 {
  width: 100%;
  height: auto;
  background-repeat: no-repeat;
  background-size: contain;
  margin: 100px 100px 0px -24px;
  position: relative;
}

.v114_166 {
  width: 100%;
  height: auto;
  background-repeat: no-repeat;
  background-size: contain;
  margin: 50px 100px 0px 0px;
  position: relative;
}

.v10_477 {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: auto;
  margin: 50px 50px 50px 50px;
}

.карта {
  background-repeat: no-repeat;
  background-size: cover;
  width: 63%;
  margin-right: 2%;
  padding: 2vw;
  top: 4vh;
  left: 5%;
  background-color: #fff;
  box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  border: 1px solid #1e3963;
}

.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background-color: #f0f0f0;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.v10_400 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 48%;
  padding: 1vw;
  background-size: cover;
  position: relative;
  box-sizing: border-box;
  height: auto;
}

.v10_411 {
  width: 100%;
  height: auto;
  position: relative;
  top: 0;
  left: -4%;
  text-align: left;
  font-family: Montserrat, sans-serif;
  margin-bottom: 2rem;
}

.line6 {
  font-size: 1.5rem;
  color: rgba(0, 0, 0, 0.5);
  margin-top: 2vh;
  display: inline-block;
}

.route-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background-color: #1e3963;
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
}

.route-link:hover {
  background-color: #2a4a7a;
}

.форма-обратной-связи {
  font-family: Montserrat;
  max-width: 500px;
  margin: 40px auto;
  padding: 20px;
  background: white;
  border-radius: 8px;
  border: 1px solid #1e3963;
}

.форма-обратной-связи input,
.форма-обратной-связи textarea {
  font-family: Montserrat;
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1em;
}

.форма-обратной-связи textarea {
  font-family: Montserrat;
  height: 100px;
  resize: vertical;
}

.buttons {
  font-family: Montserrat;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.форма-обратной-связи button {
  font-family: Montserrat;
  background: #1e3963;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
}

.форма-обратной-связи button:hover {
  font-family: Montserrat;
  background: #2a4a7a;
}

#errorMessage {
  font-family: Montserrat;
  color: red;
  font-size: 0.9em;
  margin-top: 10px;
  display: none;
}

#charCount {
  font-family: Montserrat;
  font-size: 0.9em;
  color: #555;
  margin: 5px 0 10px 0;
  text-align: right;
}