* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 15px;
}
main {
  max-width: 2000px;
  margin: 0 auto;
  height: 100%;
  background-color: #ffffff;
  padding: 10px;
  padding-top: 150px;
  width: 100%;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  z-index: 99;
  display: flex;
  justify-content: center;
  padding: 10px;
}
br {
  display: none;
}
.header_container {
  width: 100%;
  max-width: 2000px; /* Ограничим ширину для лучшего вида на больших экранах */
  margin: 0 auto;
  height: 120px; /* Немного увеличим высоту для комфорта */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  box-sizing: border-box;
}

/* Левая часть */
.header_container_logo {
  flex: 1; /* Занимает 1 часть пространства */
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
}

.header_container_logo_img {
  height: 80%;
  object-fit: contain;
  border-radius: 20px;
}

/* Центральная часть */
.header_info {
  flex: 2; /* Занимает больше места, чтобы текст не сжимался */
  display: flex;
  flex-direction: column;
  align-items: center; /* Центрирует текст внутри блока */
  text-align: center;
}

.header_info_city {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 40px;
  margin: 0 0 5px 0;
  color: #000000;
}

/* Правая часть (Кнопка) */
.header_container_contact {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Прижимает кнопку к правому краю */
}

.header_contact_button {
  background-color: #e31e24; /* Красный цвет под ваш логотип */
  color: #ffffff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  /* gap: 5px; */
  align-items: center;
  padding: 10px 20px;
  border-radius: 20px;
  transition:
    transform 0.2s,
    background-color 0.2s;
  box-shadow: 0 4px 15px rgba(227, 30, 36, 0.2);
}

.header_contact_button:hover {
  background-color: #c4191f;
  transform: translateY(-2px);
}

.btn_call_text {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 25px;
  /* text-transform: uppercase; */
  letter-spacing: 1px;
}
.btn_call_number {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 30px;
}
.img_and_services {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.img_and_services_container {
  width: 100%;
  height: 100%;
}
.img_and_services_container_grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: start;
  width: 100%;
}
.img_container {
  grid-area: 1 / 1;
  z-index: 1;
  width: 100%;
}

.img_and_services_img {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50px;
  filter: brightness(0.6);
  min-height: 850px;
}

.services_wrapper {
  grid-area: 1 / 1;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 950px;
  width: 100%;
  padding-left: 5%;
  padding-right: 5%;
}

.glass_card {
  background: rgba(25, 15, 15, 0.6);
  backdrop-filter: blur(15px) saturate(160%);
  -webkit-backdrop-filter: blur(15px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  max-width: 700px;
  width: 100%;
}

.service_text_title {
  font-family: "Inter", sans-serif;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0;
  color: #ffffff;
}

.service_text_list_title {
  font-family: "Inter", sans-serif;
  font-size: 25px;
  color: #ff9800;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.service_text_list {
  font-family: "Inter", sans-serif;
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.service_text_list:last-child {
  margin-bottom: 0;
}

.img_and_services_icon {
  margin-right: 15px;
  font-size: 22px !important;
  color: #ff9800;
  background: rgba(255, 152, 0, 0.1);
  padding: 8px;
  border-radius: 10px;
  flex-shrink: 0;
}
.service_text_list_bold {
  font-weight: 700;
  color: #ffffff;
}
.malfunction_container {
  display: flex;
  width: 80%;
  justify-content: center;
  flex-direction: column;
  margin: 0 auto;
  gap: 100px;
  padding-top: 50px;
}
.malfunction_container_TV {
  display: flex;
  width: 100%;
  flex-direction: column;
}
.malfunction_TV_title {
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  color: #000000;
  text-align: center;
  text-transform: uppercase;
}
.malfunction_TV_list {
  border-bottom: 1px solid #d4d4d4;
  list-style: none;
  padding: 10px 0 10px 0;
}
.malfunction_TV_list_container_text {
  overflow: hidden;
  opacity: 0;
  max-height: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease,
    padding 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;

  width: 100%;
  padding-left: 24px;
}
.malfunction_TV_list_container_text.is_open {
  max-height: 450px;
  opacity: 1;
  padding-top: 8px;
  padding-bottom: 4px;
}
.malfunction_TV_header_text {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  color: #000000;
  display: flex;
  flex-direction: row;
  cursor: pointer;
  align-items: center;
  transition: all 0.3s ease;
}
.malfunction_TV_header_text:hover {
  color: #ff0000;
  transform: translateY(-1px);
}
.arrow_down {
  display: flex;
}
.arrow_down.active {
  display: none;
}
.arrow_up {
  display: none;
}
.arrow_up.active {
  display: block;
}
.malfunction_TV_list_container_text > p {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  color: #000000;
}
.malfunction_TV_list_text {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  color: #000000;
  list-style: none;
  padding-left: 20px;
}
.malfunction_TV_list_text::before {
  content: "—";
  color: #000;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -20px;
}
.malfunction_TV_list_baisec_text {
  padding-top: 20px;
}
.malfunction_container_button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.malfunction_call_button {
  display: flex;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
  color: #ffffff;
  background-color: #ff0000;
  padding: 10px 20px 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  transition: all 0.3s ease;
  text-decoration: none;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.malfunction_call_button:hover {
  background-color: #ad0000;
  color: #ffffff;
  transform: translateY(-1px);
}
.review_container {
  width: 82%;
  padding: 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  align-items: center;
}
.review_container_Yandex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  align-items: center;
  width: 60%;
}
.review_container_avito {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  align-items: center;
  width: 60%;
}
.review_button_link {
  display: flex;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
  color: #ffffff;
  background-color: #ff0000;
  padding: 10px 20px 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  transition: all 0.3s ease;
  text-decoration: none;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.review_button_link:hover {
  background-color: #ad0000;
  color: #ffffff;
  transform: translateY(-1px);
}
.contacts_container {
  width: 82%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  margin: 0 auto;
  align-items: center;
}

.contacts_title_text {
  font-family: "Inter", sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  color: #000000;
  text-align: center;
}

.contacts_container_place {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  align-items: center;
}

.contacts_container_map {
  max-width: 40%;
  width: 100%;
  height: 550px;
  border-radius: 20px;
  overflow: hidden;
}

.contacts_container_addres {
  max-width: 40%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}

.contacts_our_addres,
.contacts_our_number,
.contacts_our_email {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  color: #000000;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.contacts_addres,
.contacts_time_work,
.contacts_number,
.contacts_email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  color: #333;
  text-decoration: none;
  line-height: 1.4;
  width: fit-content;
  transition: transform 0.3s ease;
}
.contacts_number:hover {
  transform: scale(1.1);
}
.contacts_email:hover {
  transform: scale(1.1);
}

.contacts_icon {
  color: #ff9800;
  background: rgba(255, 152, 0, 0.1);
  padding: 8px;
  border-radius: 12px;
  font-size: 24px !important;
}

.messengers_row {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-direction: row;
}

.messengers img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}
.messengers img:hover {
  transform: scale(1.1);
}
.location_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  align-items: center;
  width: 82%;
  margin: 0 auto;
}
.location_container_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.location_container_grid_item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  align-items: center;
  width: 100%;
}
.location_container_item img {
  width: 100%;
  height: 500px;
  border-radius: 12px;
}
.location_container_video {
  display: grid;
  /* grid-template-columns: max-content; */
}
.location_video {
  width: 100%;
  height: 500px;
  border-radius: 12px;
  object-fit: cover;
}
.footer {
  background: rgba(25, 25, 25, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0 20px;
  color: #ffffff;
  margin: 0 auto;
}

.footer_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 2000px;
  width: 50%;
  margin: 0 auto;
}
.footer_text {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 400;
  margin: 0;
  color: #ffffff;
}
@media (max-width: 1650px) {
  .header_info_city {
    font-size: 30px;
  }
  br {
    display: flex;
  }
  .service_text_title {
    font-size: 30px;
  }
  .service_text_list_title {
    font-size: 20px;
  }
  .service_text_list {
    font-size: 15px;
  }
  .review_container {
    align-items: baseline;
  }
  .contacts_container_map {
    max-width: 50%;
  }
  .contacts_container_addres {
    max-width: 50%;
  }
  .location_container_item img {
    height: 400px;
  }
  .location_video {
    height: 400px;
  }
  .footer_container {
    width: 78%;
  }
}
@media (max-width: 1250px) {
  .header_container_contact {
    align-items: center;
  }
  .header_contact_label {
    font-size: 15px;
  }
  .header_contact_button {
    padding: 10px 15px;
  }
  .btn_call_text {
    font-size: 22px;
  }
  .btn_call_number {
    font-size: 25px;
  }
  .review_container {
    flex-direction: column-reverse;
    align-items: center;
  }
  .review_container_Yandex,
  .review_container_avito,
  .contacts_container,
  .location_container {
    width: 100%;
  }
  .contacts_container,
  .location_container {
    padding: 0;
  }
  .location_container {
    padding-top: 20px;
  }
  .contacts_container_place {
    flex-direction: column;
    align-items: center;
  }
  .contacts_container_map {
    max-width: 60%;
  }
  .contacts_container_addres {
    max-width: 100%;
  }
  .location_container_grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .location_container_item img {
    max-width: 640px;
  }
  .header_container {
    height: 100px;
  }
}
@media (max-width: 1050px) {
  .header_info {
    display: none;
  }
  .header_container_logo_img {
    height: 70%;
  }
  .header_container_contact {
    align-items: flex-end;
  }
}
@media (max-width: 750px) {
  .header_contact_text_call_our_quetions {
    display: none;
  }
  /* .header_contact_button{
    padding: 10px 15px;
  } */
  .btn_call_text {
    font-size: clamp(15px, 0.82vw + 0.82rem, 22px);
  }
  .btn_call_number {
    font-size: clamp(17px, 0.82vw + 0.82rem, 25px);
  }
  .header_container_logo_img {
    height: 50%;
  }
  .header_contact_text_call {
    display: flex;
    font-size: 28px;
  }
  .header_contact_text_number {
    display: flex;
    font-size: 35px;
  }
  .service_text_title {
    font-size: 25px;
  }
  .service_text_list_title {
    font-size: 18px;
  }
  .service_text_list {
    font-size: 13px;
  }
  .malfunction_container {
    gap: 50px;
  }
  .malfunction_TV_list_container_text > p {
    font-size: 17px;
  }
  .malfunction_TV_list_text {
    font-size: 17px;
  }
  .malfunction_container,
  .review_container {
    width: 100%;
  }
  .review_container {
    width: 100%;
    padding: 0;
  }
  .review_yandex,
  .review_avito {
    max-width: 600px;
    width: 100%;
  }
  .contacts_container_map {
    max-width: 100%;
    height: 400px;
  }
  .location_container_item img {
    height: auto;
  }
  .location_video {
    height: auto;
    max-height: 300px;
  }
  .footer_container {
    width: 100%;
    padding: 10px;
  }
  .footer_text {
    font-size: 10px;
  }
}
@media (max-width: 500px) {
  .header_container {
    height: 50px;
  }
  .header_container_logo_img {
    height: 75%;
    border-radius: 10px;
  }
  .header_contact_button {
    padding: 5px 10px;
    border-radius: 10px;
  }
  .btn_call_text {
    font-size: clamp(5px, 0.82vw + 0.82rem, 15px);
  }
  .btn_call_number {
    font-size: clamp(8px, 0.82vw + 0.82rem, 17px);
  }
  .header_contact_text_call {
    font-size: 20px;
  }
  .header_contact_text_number {
    font-size: 25px;
  }
  .contacts_our_addres,
  .contacts_our_number,
  .contacts_our_email {
    font-size: 17px;
  }
  .contacts_addres,
  .contacts_time_work,
  .contacts_number,
  .contacts_email {
    font-size: 16px;
  }
}
@media (max-width: 375px) {
  header {
    padding: 5px;
  }
  .header_container {
    height: 50px;
  }
  .header_container_logo_img {
    height: 62%;
    border-radius: 10px;
  }
  .header_contact_button {
    padding: 2px 5px;
  }
  .btn_call_text {
    font-size: 12px;
  }
  .btn_call_number {
    font-size: 12px;
  }
  .header_contact_text_call {
    font-size: 19px;
  }
  .header_contact_text_number {
    font-size: 23px;
  }
  .img_and_services_img {
    display: none;
  }
  .service_text_title {
    font-size: 25px;
  }
  .service_text_list_title {
    font-size: 20px;
  }
  .service_text_list {
    font-size: 15px;
  }
  .malfunction_TV_title {
    font-size: 20px;
  }
  .malfunction_TV_header_text {
    font-size: 18px;
  }
  .malfunction_TV_list_container_text.is_open {
    max-height: 520px;
  }
  .malfunction_TV_list_container_text > p {
    font-size: 15px;
  }
  .malfunction_TV_list_text {
    font-size: 15px;
  }
  .malfunction_call_button {
    font-size: 17px;
  }
  .review_button_link {
    font-size: 17px;
  }
  .footer_container {
    width: 100%;
    padding: 5px;
  }
  .footer_text {
    font-size: 8px;
  }
}
