.branch-addresses {
  /* width: 1200px; */
  /* height: 700px; */
  /* margin: 0 auto; */
  /* padding: 150px 20px 0; */
  /* color: #E8E6D4; */
  /* font-family: 'Inter', sans-serif; */
  /* user-select: none; */
  /* display: flex; */
  /* flex-direction: column; */
  /* box-sizing: border-box; */
}

.branch-addresses__title {
  width: 352px;
  height: 48px;
  margin: 0 0 29px 0;
  font-weight: 500;
  font-size: 40px;
  line-height: 100%;
  color: #E8E6D4;
}

.branch-addresses__buttons {
  height: 50px;
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
  box-sizing: border-box;
}

.branch-addresses__button {
  width: 224px;
  height: 50px;
  padding: 0;
  border-radius: 6px;
  background-color: rgba(132, 168, 172, 0.1);
  color: #E8E6D4;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  user-select: none;
  border: 1px solid #76824A;
}

.branch-addresses__button:hover,
.branch-addresses__button.active {
  background-color: var(--color-orange);
  color: var(--color-white);
  border-color: var(--color-white);
}




.branch-addresses__content {
  display: flex;
  gap: 10px;
  flex-grow: 1;
  box-sizing: border-box;
}

.branch-addresses__addresses {
  width: 380px;
  /* height: 406px; */
  border-radius: 8px;
  background-color: #E8E6D4;
  display: flex;
  flex-direction: column;
  gap: 40px;
  box-sizing: border-box;
}

.branch-address-card {
  display: flex;
  flex-direction: column;
  padding: 40px 20px;
}

.branch-address-label,
.branch-schedule-label,
.branch-hotline-label {
  margin: 0 0 10px 0;
  font-weight: 500;
  font-size: 10px;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--color-text-green);
  height: 12px;
}

.branch-address-text {
  margin: 0 0 40px 0;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  color: #18383C;
  line-height: 1.4;
}

.branch-schedule-text,
.branch-schedule-text1 {
  font-size: 16px;
  line-height: 100%;
  color: #18383C;
  height: 19px;
}

.branch-schedule-text {
  margin: 0 0 5px 0;
}

.branch-schedule-text1 {
  margin: 0 0 40px 0;
}

.branch-schedule-text strong,
.branch-schedule-text1 strong {
  font-weight: 500;
  color: #18383C;
}

.branch-hotline-text {
  margin: 0 0 40px 0;
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  color: #18383C;
  height: 19px;
}

.branch-addresses__map {
  width: 770px;
  /* height: 406px; */
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
}

.branch-addresses__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

.branch-addresses__map.khimki-layout {
  width: 770px;
}

.branch-addresses__map.khimki-layout iframe {
  height: 100%;
}

.branch-appointment-button.khimki-button {
  width: 340px;
}
.bottom-text{
  font-size: 14px;
  font-weight: 400;
}
.bottom-text a{
  color: inherit;
  text-decoration: underline;
}
.bottom-text h1,
.bottom-text h2,
.bottom-text h3{
  font-size: 36px;
  margin: 20px 0 10px;
}

@media (max-width: 768px) {
  .branch-addresses {
    margin-top: 80px;
  }

  .branch-addresses__title {
    width: 100%;
    height: auto;
    font-size: 24px;
    font-weight: 500;
    line-height: 100%;
    color: #E8E6D4;
    margin: 0 0 20px 0;
  }

  .branch-addresses__buttons {
    width: 100%;
    height: auto;
    gap: 10px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
  }

  .branch-addresses__button {
    width: 145px;
    height: 50px;
    padding: 0 8px;
    font-size: 14px;
    border-radius: 6px;
  }

  .branch-addresses__content {
    flex-direction: column;
    height: auto;
    gap: 10px;
  }

  .branch-addresses__addresses {
    width: 100%;
    height: auto;
    padding: 40px 20px;
    gap: 30px;
    border-radius: 8px;
    background-color: #E8E6D4;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
  }

  .branch-address-card {
    padding: 0;
  }

  .branch-address-label,
  .branch-schedule-label,
  .branch-hotline-label {
    font-size: 10px;
    height: auto;
    margin: 0 0 5px 0;
  }

  .branch-address-text,
  .branch-schedule-text,
  .branch-schedule-text1,
  .branch-hotline-text {
    font-size: 16px;
    line-height: 100%;
    color: #18383C;
    height: auto;
    margin-bottom: 20px;
  }

  .branch-appointment-button {
    width: 100%;
    ;
    border-radius: 30px;
    font-size: 14px;
  }

  .branch-addresses__map {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
  }

  .branch-addresses__map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
  }

  /* Модификация для Химок (мобилка) */
  .branch-addresses.khimki-active {
    height: auto;
  }

  .branch-addresses__addresses.khimki-layout {
    height: auto;
  }

  .branch-addresses__map.khimki-layout {
    width: 100%;
    height: 500px;
  }

  .branch-address-card.khimki-layout {
    height: auto;
  }

  .branch-addresses__addresses.khimki-layout {
    padding-left: 20px;
    padding-right: 10px;
  }

  .branch-appointment-button.khimki-button {
    width: 100%;
    ;
  }
}

@media (max-width: 480px) {
  .branch-addresses {
    padding: 0;
    box-sizing: border-box;
    margin-top: 80px;
  }

  .branch-addresses__title {
    height: auto;
    font-size: 24px;
    font-weight: 500;
    line-height: 100%;
    color: #E8E6D4;
    margin: 0 0 20px 0;
  }

  .branch-addresses__buttons {
    height: auto;
    flex-wrap: wrap;
    gap: 10px;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
  }

  .branch-addresses__button {
    width: 145px;
    height: 50px;
    padding: 0;
    font-size: 14px;
    border-radius: 6px;
  }

  .branch-addresses__content {
    flex-direction: column;
    height: auto;
    gap: 10px;
  }

  .branch-addresses__addresses {
    height: auto;
    padding: 40px 20px;
    gap: 30px;
    border-radius: 8px;
    background-color: #E8E6D4;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
  }

  .branch-address-card {
    padding: 0;
  }

  .branch-address-label,
  .branch-schedule-label,
  .branch-hotline-label {
    font-size: 10px;
    height: auto;
    margin: 0 0 5px 0;
  }

  .branch-address-text,
  .branch-schedule-text,
  .branch-schedule-text1,
  .branch-hotline-text {
    font-size: 16px;
    line-height: 100%;
    color: #18383C;
    height: auto;
    margin-bottom: 20px;
  }

  .branch-appointment-button {
    width: 100%;
    ;
    border-radius: 30px;
    font-size: 14px;
  }

  .branch-addresses__map {
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
  }

  .branch-addresses__map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
  }

  /* Модификация для Химок (мобилка) */
  .branch-addresses.khimki-active {
    height: auto;
  }

  .branch-addresses__addresses.khimki-layout {
    height: auto;
  }

  .branch-addresses__map.khimki-layout {
    height: 500px;
  }

  .branch-address-card.khimki-layout {
    height: auto;
  }

  .branch-addresses__addresses.khimki-layout {
    padding-left: 20px;
    padding-right: 10px;
  }

  .branch-appointment-button.khimki-button {
    width: 100%;
    ;
  }
}