/* ЭМИНЕССА — контакты: блок с картой на главной и страница /contacts/.

   Оба места собраны как справка: подпись слева, значение справа, строки на волосяных
   линейках — тот же приём, что в реквизитах на странице «О компании».
   Серые квадраты со значками из шаблона убраны: на четыре строки четыре иконки
   ничего не добавляли, а взгляд растаскивали.

   На главной панель лежит поверх правой половины блока — карта занимает левую.
   Карту рисует Яндекс, скрипт подгружается при подходе к блоку. */

/* --------------------------------------------------------- блок на главной */
.front-contacts .fc-panel {
  width: 50%;
  margin-left: 50%;
  box-sizing: border-box;
  padding: 52px 0 56px 70px;
}

.fc-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8A94A0;
}

.front-contacts h2.fc-title {
  margin: 12px 0 26px;
  font-size: 30px;
  line-height: 36px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #1E232A;
}

.fc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #DFE4E9;
}
.fc-list li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 4px 18px;
  padding: 13px 0;
  border-bottom: 1px solid #DFE4E9;
  font-size: 15px;
  line-height: 22px;
  color: #1E232A;
}
.fc-list li > span {
  grid-row: span 2;
  font-size: 13px;
  line-height: 22px;
  color: #8A94A0;
}
.fc-list li em {
  grid-column: 2;
  font-style: normal;
  font-size: 13px;
  line-height: 19px;
  color: #8A94A0;
}
.fc-list a { color: #1E232A; text-decoration: none; }
.fc-list a:hover { color: #B8321C; }
.fc-list a.fc-phone { font-size: 21px; font-weight: 800; letter-spacing: -.01em; }

.fc-all {
  display: inline-flex;
  align-items: center;
  height: 46px;
  margin-top: 26px;
  padding: 0 26px;
  border-radius: 8px;
  background: #B8321C;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .15s ease;
}
.fc-all:hover { background: #96280F; color: #fff; text-decoration: none; }
.fc-all:focus-visible { outline: 2px solid #B8321C; outline-offset: 3px; }

/* ------------------------------------------------------- страница /contacts/ */
.contacts-page .ct-list {
  max-width: 900px;
  margin: 0 0 46px;
  padding: 0;
  list-style: none;
  border-top: 1px solid #E4E8ED;
}
.contacts-page .ct-list li {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 6px 26px;
  padding: 18px 0;
  border-bottom: 1px solid #E4E8ED;
  font-size: 15.5px;
  line-height: 24px;
  color: #1E232A;
}
.contacts-page .ct-list li > span {
  grid-row: span 3;
  font-size: 13.5px;
  line-height: 24px;
  color: #8A94A0;
}
.contacts-page .ct-list li em {
  grid-column: 2;
  font-style: normal;
  font-size: 14px;
  line-height: 21px;
  color: #5C6773;
}
.contacts-page .ct-list a { color: #1E232A; text-decoration: none; }
.contacts-page .ct-list a:hover { color: #B8321C; }
.contacts-page .ct-list a.ct-phone {
  font-size: 26px;
  line-height: 30px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.contact-page-map { border-top: 1px solid #E4E8ED; }

/* реквизиты внизу страницы */
.contact-page-requisites { padding: 40px 0 10px; }
.contact-page-requisites .requisites-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.015em;
  color: #1E232A;
  padding-bottom: 14px;
}
.contact-page-requisites ul { margin: 0; padding: 0; list-style: none; max-width: 900px; }
.contact-page-requisites li {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 26px;
  padding: 10px 0;
  border-bottom: 1px solid #EEF1F4;
  font-size: 15px;
  color: #1E232A;
}
.contact-page-requisites li span { color: #8A94A0; }

@media only screen and (max-width: 767px) {
  /* на узком экране карта уходит наверх, панель встаёт под ней обычным потоком */
  .front-contacts .container { position: relative; }
  .front-contacts .fc-panel { width: 100%; margin: 0; padding: 26px 15px 32px; }
  .front-contacts h2.fc-title { margin: 10px 0 18px; font-size: 23px; line-height: 29px; }
  .fc-list li { grid-template-columns: 1fr; gap: 2px; }
  .fc-list li > span { grid-row: auto; }
  .fc-list li em { grid-column: 1; }
  .fc-all { width: 100%; justify-content: center; }

  .contacts-page .ct-list { padding: 0 15px; margin-bottom: 30px; }
  .contacts-page .ct-list li { grid-template-columns: 1fr; gap: 2px; padding: 14px 0; }
  .contacts-page .ct-list li > span { grid-row: auto; }
  .contacts-page .ct-list li em { grid-column: 1; }
  .contacts-page .ct-list a.ct-phone { font-size: 22px; }
  .contact-page-requisites { padding: 26px 15px 10px; }
  .contact-page-requisites li { grid-template-columns: 1fr; gap: 2px; }
}
