/* ==========================================================================
   Главная и контакты нового сайта (docs/site/briefs/home.md, kontakty.md).
   Подключается после styles.css из site/index.html и site/landings/kontakty.html.
   Свои классы — с приставкой hm-. Снаряжение «Трос», кнопки, форма и подвал — из styles.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Тон разделов: тёмные разделы чередуются по светлоте и переходят друг в друга
   градиентом, без шва (DESIGN.md → бесшовность)
   -------------------------------------------------------------------------- */

.rope .hm-tone {
  background: linear-gradient(180deg, var(--bg) 0, var(--surface) 140px, var(--surface) calc(100% - 140px), var(--bg) 100%);
}
.rope .section { position: relative; }
.rope .hm-sub { max-width: 62ch; margin-top: 18px; }
.rope p { color: var(--lead); }

/* Иконка 40 px на коротком отрезке верёвки (DESIGN.md → Иконки) */
.hm-ico { color: var(--text); }
.rope .hm-ico svg { width: 40px; height: 40px; }

/* Конец верёвки: восьмёрка в колонке троса у последнего раздела */
.rope .hm-rope-end {
  left: calc(var(--rope-x) + 1px);
  top: auto; bottom: calc(var(--section-y) - var(--knot-h) / 2);
}

/* --------------------------------------------------------------------------
   Первый экран главной: карточка «Что нужно сделать», заказчики под фактами
   -------------------------------------------------------------------------- */

.hm-pick { padding: 28px 28px 24px; }
.hm-pick .lhero__label { margin-bottom: 10px; }
.hm-pick__list { list-style: none; }
.hm-pick__list li + li { border-top: 1px solid var(--line-soft); }
.hm-pick__list a {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 16px;
  min-height: 80px; padding: 14px 0; color: var(--text);
}
.hm-pick__list .ico-s { width: 28px; height: 28px; color: var(--sky); }
.hm-pick__list b { display: block; font-size: 18px; font-weight: 500; line-height: 1.3; }
.hm-pick__list small { display: block; margin-top: 2px; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hm-arrow { font-size: 22px; color: var(--text); transition: transform .15s var(--ease); }
.hm-pick__list a:hover b, .hm-pick__list a:focus-visible b { color: var(--sky); }
.hm-pick__list a:hover .hm-arrow { transform: translateX(4px); color: var(--sky); }
.hm-pick__other { margin: 14px 0 0; font-size: 15px; color: var(--lead); }
.hm-pick__other a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }

.hm-clients { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 28px; }
.hm-clients--hero { margin-top: auto; padding-top: 28px; border-top: 1px solid var(--line-soft); }
.hm-clients__label { font-size: 14px; color: var(--muted); }
.hm-clients ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.hm-clients li {
  font-family: var(--f-display); font-weight: 400; font-size: 22px; letter-spacing: .02em;
  text-transform: uppercase; color: var(--rope);
}
.hm-clients--m { display: none; margin-top: 32px; }
.landing--home .lhero__copy { min-height: 100%; }

@media (max-width: 600px) {
  .hm-hide-m { display: none; }
  .hm-clients--hero { display: none; }
  .hm-clients--m { display: flex; }
  .hm-pick__list a { min-height: 72px; gap: 12px; }
  .hm-pick__list b { font-size: 17px; }
}

/* --------------------------------------------------------------------------
   Направления: три плитки с фото сверху, цена и кнопки прижаты к низу
   -------------------------------------------------------------------------- */

.hm-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.rope .hm-tile { display: flex; flex-direction: column; padding: 0; gap: 0; background: var(--surface); border: 0; }
.hm-tile picture img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hm-tile__body { position: relative; display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 0 28px 28px; }
/* Иконка висит на отрезке верёвки, который выходит из-под фото */
.hm-tile .hm-ico { position: relative; margin-top: -20px; padding-top: 28px; align-self: flex-start; }
.hm-tile .hm-ico::before {
  content: ''; position: absolute; left: calc(50% - var(--tros-card) / 2); top: 0;
  width: var(--tros-card); height: 28px; background: var(--tros-rope-v);
}
.hm-tile .hm-ico svg { position: relative; display: block; padding: 6px; box-sizing: content-box; background: var(--surface); border: 1px solid var(--line-soft); }
.hm-tile h3 a { color: var(--text); }
.hm-tile h3 a:hover { color: var(--sky); }
.hm-tile p { font-size: 16px; }
.rope .hm-tile .hm-tile__tag { font-size: 14px; color: var(--muted); margin-top: -6px; }
.rope .hm-tile .hm-tile__price {
  margin-top: auto; padding-top: 8px; font-family: var(--f-display); font-weight: 500;
  font-size: 22px; line-height: 1.25; color: var(--sky); font-variant-numeric: tabular-nums;
}
.hm-tile .btn { align-self: stretch; }
.hm-tile__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hm-tile__actions .btn { min-width: 0; padding-inline: 12px; }
.hm-nw { white-space: nowrap; }
@media (max-width: 360px) { .hm-nw { white-space: normal; } }

.hm-more {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  margin-top: 24px; padding: 20px 24px; background: var(--surface); font-size: 16px;
}
.hm-more span { flex: 1 1 420px; }
.hm-more .ico-s { color: var(--rope); }
.hm-more a { color: var(--sky); font-weight: 500; white-space: nowrap; }

@media (max-width: 1000px) {
  .hm-tiles { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
  .hm-tile__body { padding: 0 18px 22px; }
  .hm-more { padding: 18px; }
}

/* --------------------------------------------------------------------------
   Цифры: четыре ячейки, разделены тоном фона, без рамок
   -------------------------------------------------------------------------- */

.rope .hm-knot { position: absolute; margin: 0; top: 50%; }
.rope .hm-knot::before { top: calc(var(--knot-h) / -2); }
.hm-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
.hm-stats div { padding: 28px; background: var(--bg); }
.hm-stats dt {
  font-family: var(--f-display); font-weight: 500; font-size: clamp(32px, 3.3vw, 48px); line-height: 1;
  color: var(--text); font-variant-numeric: tabular-nums;
}
.hm-stats dd { margin-top: 10px; font-size: 16px; color: var(--muted); }
@media (max-width: 900px) { .hm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hm-stats div { padding: 20px 16px; } }

/* --------------------------------------------------------------------------
   О компании: текст и фото одной высоты
   -------------------------------------------------------------------------- */

.hm-about { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: stretch; }
.hm-about__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hm-points { list-style: none; display: grid; gap: 20px; }
.hm-points li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 18px; align-items: start; }
.hm-points p { font-size: 17px; }
.hm-points b { color: var(--text); font-weight: 500; }
.hm-about__photo { display: block; min-height: 420px; }
.hm-about__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .hm-about { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hm-about__photo { min-height: 0; }
  .hm-about__photo img { aspect-ratio: 4 / 5; height: auto; max-height: 520px; }
}

/* --------------------------------------------------------------------------
   Объекты: большая карточка и четыре малые, ниже исторический фасад и «Также работали»
   -------------------------------------------------------------------------- */

.rope .hm-objects {
  display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  grid-auto-rows: auto; gap: 32px 20px; margin-top: 48px;
}
.hm-object picture { display: block; overflow: hidden; }
.hm-object img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .3s var(--ease); }
.hm-object:hover img { transform: scale(1.03); }
.hm-object h3 { margin-top: 14px; font-size: 22px; }
.rope .hm-object p { margin-top: 4px; font-size: 15px; color: var(--muted); }
.rope .hm-object--big { grid-row: span 2; display: flex; flex-direction: column; }
.hm-object--big picture { flex: 1; }
.hm-object--big img { height: 100%; aspect-ratio: auto; min-height: 520px; }
.hm-object--big h3 { font-size: clamp(22px, 1.8vw, 26px); }
.hm-object--row img { aspect-ratio: 1 / 1; }
.rope .hm-also { grid-column: span 2; display: flex; flex-direction: column; justify-content: center; padding: 36px; background: var(--surface); }
.hm-also h3 { margin-bottom: 22px; }
.hm-also ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.hm-also li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--lead); }
@media (max-width: 1000px) {
  .rope .hm-objects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rope .hm-object--big { grid-row: auto; grid-column: 1 / -1; }
  .hm-object--big img { aspect-ratio: 16 / 10; min-height: 0; }
  .rope .hm-object--row { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 0 20px; align-items: end; }
  .hm-object--row picture { grid-row: span 2; }
  .rope .hm-also { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  /* Телефон: три объекта сразу, остальные по кнопке (app.js initObjectsMore) */
  .rope .hm-objects { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hm-object--big img { aspect-ratio: 4 / 5; }
  .rope .hm-object--row { grid-template-columns: minmax(0, 1fr); }
  .hm-object--row picture { grid-row: auto; }
  .hm-object--row img { aspect-ratio: 4 / 5; }
  .hm-objects:not(.is-open) .hm-object:nth-child(n+4) { display: none; }
  .hm-also ul { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   Команда: три фото, под ними текст и видеоблог
   -------------------------------------------------------------------------- */

.hm-team__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.hm-team__photos img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hm-team { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: 40px; align-items: start; }
.hm-team__text { display: grid; gap: 18px; }
.hm-vlog { display: grid; gap: 14px; padding: 32px; background: var(--bg); }
.rope .hm-vlog p { font-size: 16px; }
.hm-vlog__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.hm-vlog__foot span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
  .hm-team { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 600px) {
  /* Три фото листаются по горизонтали не нужны: показываем два, третье скрыто */
  .hm-team__photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hm-team__photos picture:nth-child(3) { display: none; }
  .hm-vlog { padding: 22px 18px; }
}

/* --------------------------------------------------------------------------
   Как работаем: четыре шага на горизонтальной верёвке
   -------------------------------------------------------------------------- */

.hm-steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.hm-steps::before {
  content: ''; position: absolute; left: 20px; right: 0; top: 20px; height: var(--tros-card);
  margin-top: calc(var(--tros-card) / -2); background: var(--tros-rope-h);
}
.hm-steps li { position: relative; display: grid; gap: 10px; align-content: start; }
.hm-steps .hm-ico svg { position: relative; padding: 0; background: var(--bg); }
.hm-steps__num { font-family: var(--f-display); font-weight: 500; font-size: 20px; color: var(--sky); font-variant-numeric: tabular-nums; }
.rope .hm-steps p { font-size: 16px; }
.rope .hm-steps .hm-steps__doc { display: flex; gap: 10px; align-items: flex-start; margin-top: 4px; font-size: 15px; color: var(--muted); }
.hm-steps__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 48px; }
.rope .hm-steps__cta span { color: var(--muted); }
@media (max-width: 900px) {
  .hm-steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hm-steps::before { left: 20px; right: auto; top: 20px; bottom: 0; width: var(--tros-card); height: auto; margin: 0 0 0 calc(var(--tros-card) / -2); background: var(--tros-rope-v); }
  .hm-steps li { grid-template-columns: 40px minmax(0, 1fr); column-gap: 18px; }
  .hm-steps li > :not(.hm-ico) { grid-column: 2; }
  .hm-steps .hm-ico { grid-row: span 4; }
}

/* --------------------------------------------------------------------------
   Другие направления: сварка на тросах, строки демонтажа и «Не нашли»
   -------------------------------------------------------------------------- */

.rope .hm-weld { --cable-h: 72px; }
.rope .hm-row .hm-weld { margin-top: var(--cable-h); }
.hm-weld__body { min-width: 0; }
.rope .hm-weld .welding__lead { margin-bottom: 24px; }
.hm-cols__title { margin-bottom: 8px; font-size: 15px; font-weight: 500; color: var(--muted); }
.rope .hm-weld .welding__cols li { color: var(--lead); }
.rope .hm-note { margin-bottom: 24px; font-size: 15px; color: var(--muted); }
.rope .hm-weld .welding__media video { width: 100%; }
@media (max-width: 1000px) {
  /* Телефон и планшет: ролик сразу под заголовком (visual-audit № 24) */
  .hm-weld__body { display: contents; }
  .hm-weld .welding__title { order: 1; }
  .rope .hm-weld .welding__media { order: 2; max-width: 360px; }
  .hm-weld .welding__lead, .hm-weld .welding__cols, .hm-weld .hm-note, .hm-weld .welding__foot { order: 3; }
  .rope .hm-weld { gap: 20px; }
  .rope .hm-weld .welding__lead, .rope .hm-weld .welding__cols, .rope .hm-note { margin-bottom: 0; }
}

.hm-line {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; align-items: center; gap: 12px 24px;
  margin-top: 24px; padding: 24px 28px; background: var(--bg);
}
.hm-line + .hm-line { margin-top: 2px; }
.rope .hm-line p { font-size: 16px; }
.hm-line h3 { margin-bottom: 4px; }
.hm-line > .btn { min-width: 190px; }
@media (max-width: 360px) { .hm-line > .btn { min-width: 0; } }
.hm-line > :last-child:nth-child(3) { grid-column: 3 / -1; justify-self: end; }
.rope .hm-line .hm-line__price {
  font-family: var(--f-display); font-weight: 500; font-size: 20px; color: var(--sky);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
@media (max-width: 900px) {
  .hm-line { grid-template-columns: 40px minmax(0, 1fr); padding: 22px 18px; }
  .hm-line > :nth-child(n+3) { grid-column: 2; justify-self: start; }
  .hm-line > :last-child:nth-child(3) { grid-column: 2; justify-self: start; }
  .rope .hm-line .hm-line__price { white-space: normal; }
}

/* --------------------------------------------------------------------------
   Для бизнеса: текст и условия слева, фото и годовой договор на тросах справа
   -------------------------------------------------------------------------- */

.hm-biz { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: start; }
.hm-biz__text { display: grid; gap: 22px; justify-items: start; }
.hm-terms { list-style: none; display: grid; gap: 4px; }
.hm-terms li { display: flex; gap: 14px; align-items: flex-start; padding: 8px 0; font-size: 16px; color: var(--lead); }
.hm-terms .ico-s { color: var(--sky); }
.hm-one { display: grid; gap: 10px; padding: 24px; background: var(--surface); }
.rope .hm-one p { font-size: 16px; }
.hm-one a { color: var(--sky); font-weight: 500; }
.hm-biz__photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rope .hm-pack { --cable-h: 64px; display: grid; gap: 14px; }
.hm-pack .h3 { margin: 0; }
.rope .hm-pack p { font-size: 16px; }
.rope .hm-pack .hm-pack__spring { padding: 12px 16px; background: rgba(87, 161, 255, .07); color: var(--lead); }
.hm-pack__spring b { color: var(--text); font-weight: 500; }
.hm-pack .tros-card__list { margin: 0; }
@media (max-width: 900px) {
  /* Телефон: текст, условия, фото, карточка, кнопка (visual-audit № 30) */
  .hm-biz { display: flex; flex-direction: column; gap: 28px; }
  .hm-biz__text, .hm-biz__side { display: contents; }
  .hm-biz__text > * { order: 1; }
  .hm-biz__photo { order: 2; width: 100%; }
  .hm-pack { order: 3; width: 100%; }
  .hm-biz__kp { order: 4; }
}

/* --------------------------------------------------------------------------
   Документы и реквизиты (site/_requisites.html)
   -------------------------------------------------------------------------- */

.hm-docs { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; margin-top: 48px; align-items: start; }
.hm-docs > div:first-child { display: grid; gap: 22px; justify-items: start; }
.hm-contract { display: grid; gap: 16px; justify-items: start; padding: 28px; background: var(--bg); }
.hm-contract .h3 { margin: 0; }
.rope .hm-contract p { color: var(--lead); }
.rope .hm-sro { display: flex; gap: 14px; align-items: flex-start; margin-top: 8px; font-size: 16px; color: var(--lead); }
.hm-sro b { color: var(--text); font-weight: 500; }
.hm-sro .ico-s { color: var(--rope); }

.hm-req { max-width: 720px; margin-top: 40px; }
.hm-req__co { padding: 28px; background: var(--bg); }
.hm-req__co .h3 { margin: 0 0 18px; }
.hm-req dl { font-size: 16px; font-variant-numeric: tabular-nums; }
.hm-req dl div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 8px 12px; }
.hm-req dl div:nth-child(odd) { background: var(--surface); }
.hm-req dt { color: var(--muted); }
.hm-req dd { color: var(--text); overflow-wrap: anywhere; }
.hm-req dd a { color: var(--sky); }
.hm-req__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (max-width: 1000px) {
  .hm-docs { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 600px) {
  .hm-req__co { padding: 22px 16px; }
  /* Подпись над значением (visual-audit № 27) */
  .hm-req dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .hm-req dt { font-size: 14px; }
  .hm-req__actions .btn { flex: 1 1 100%; }
}

/* --------------------------------------------------------------------------
   Вопросы: заголовок и специалист слева, аккордеон справа
   -------------------------------------------------------------------------- */

.hm-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 64px; align-items: start; }
.hm-faq__side { display: grid; gap: 20px; justify-items: start; }
.hm-faq__photo img { display: block; width: 100%; max-width: 320px; aspect-ratio: 4 / 5; object-fit: cover; }
.hm-faq__tel { font-family: var(--f-display); font-weight: 500; font-size: 28px; color: var(--text); font-variant-numeric: tabular-nums; }
.hm-faq__tel:hover { color: var(--sky); }
.rope .hm-faq .faq { border-top: 1px solid var(--line-soft); }
.rope .hm-faq .faq__item { border-bottom: 1px solid var(--line-soft); }
.rope .hm-faq .faq__item:first-child .faq__q { padding-top: 22px; }
.rope .hm-faq .faq__a p { color: var(--lead); font-size: 16px; }
.rope .hm-faq .faq__a a { color: var(--sky); }
@media (max-width: 900px) {
  .hm-faq { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hm-faq__photo { display: none; }
}

/* --------------------------------------------------------------------------
   Заявка и короткие контакты
   -------------------------------------------------------------------------- */

.rope .hm-msgr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 16px; color: var(--muted); }
.hm-msgr a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text); }
.hm-msgr a:hover { color: var(--sky); }
.hm-msgr .ico-s { color: var(--sky); }

.rope .hm-contacts { padding-top: 24px; }
.hm-contacts__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 36px; margin-top: 24px; }
.hm-contacts__list a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 18px; color: var(--text); }
.hm-contacts__list a:hover { color: var(--sky); }
.hm-contacts__list .ico-s { color: var(--sky); }
.hm-contacts__all { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; color: var(--sky); font-weight: 500; }
@media (max-width: 600px) {
  .hm-contacts__list { display: grid; gap: 4px; }
}

/* ==========================================================================
   Контакты /kontakty/
   ========================================================================== */

.landing--kontakty .lhero__inner { min-height: 0; padding-block: 64px 72px; }
.landing--kontakty .lhero__inner { position: relative; }
/* Ответвление на высоте 36px от верха первого экрана: margin-top = 36px + трос − отступ сверху */
.landing--kontakty .lhero__card { --cable-h: 100px; margin-top: calc(36px + var(--cable-h) - 64px); }
.hm-crumbs { display: flex; gap: 8px; font-size: 15px; color: var(--muted); }
.hm-crumbs a { color: var(--lead); }
.hm-crumbs a:hover { color: var(--sky); }
.hm-call { display: grid; gap: 16px; justify-items: start; }
.hm-call__tel { gap: 12px; height: auto; min-height: 72px; padding: 18px 32px; font-family: var(--f-display); font-weight: 500; font-size: 28px; font-variant-numeric: tabular-nums; }
.hm-call__tel .ico-s { width: 26px; height: 26px; color: currentColor; }
.hm-call__mail { margin: 0; font-size: 17px; color: var(--lead); }
.hm-call__mail a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.hm-reqcard { display: grid; gap: 8px; }
.rope .hm-reqcard p, .hm-reqcard p { margin: 0; font-size: 17px; color: var(--text); font-variant-numeric: tabular-nums; }
.hm-reqcard a { margin-top: 8px; color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) { .landing--kontakty .hm-hang, .landing--kontakty .hm-turn-d { display: none; } }
@media (max-width: 600px) {
  .landing--kontakty .lhero__inner { padding-block: 32px 40px; }
  .hm-call, .hm-call__tel { width: 100%; }
  .hm-call__tel { justify-content: center; font-size: 24px; min-height: 64px; padding: 14px 16px; }
}

/* Как связаться: строки 44 px и выше, подпись над значением на телефоне */
.hm-ways { list-style: none; display: grid; gap: 2px; max-width: 880px; margin-top: 40px; }
.hm-ways a, .hm-ways li > div {
  display: grid; grid-template-columns: 40px 180px minmax(0, 1fr); align-items: center; gap: 4px 20px;
  min-height: 72px; padding: 14px 20px; background: var(--surface); color: var(--text);
}
.hm-ways a:hover .hm-ways__value { color: var(--sky); }
.hm-ways__label { font-size: 15px; color: var(--muted); }
.hm-ways__value { font-family: var(--f-display); font-weight: 500; font-size: 22px; line-height: 1.2; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
  .hm-ways a, .hm-ways li > div { grid-template-columns: 40px minmax(0, 1fr); padding: 12px 14px; }
  .hm-ways .hm-ico { grid-row: span 2; }
  .hm-ways__value { font-size: 19px; }
}

/* Адрес и карта: колонки одной высоты, карта 4:3, на телефоне 1:1 */
.hm-map { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: stretch; }
.hm-map__text { display: grid; gap: 24px; align-content: start; justify-items: start; }
.rope .hm-map__addr { display: flex; align-items: center; gap: 14px; font-family: var(--f-display); font-weight: 500; font-size: 24px; color: var(--text); }
.hm-map__addr .ico-s { color: var(--sky); }
.rope .hm-map__box { aspect-ratio: 4 / 3; border-color: var(--line-soft); }
@media (max-width: 900px) {
  .hm-map { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .rope .hm-map__box { aspect-ratio: 1 / 1; }
}

/* Документы для закупки: подвешенная карточка */
.rope .hm-tender { --cable-h: 72px; margin-top: var(--cable-h); max-width: 640px; display: grid; gap: 14px; justify-items: start; }
.hm-tender .tros-card__list { width: 100%; margin: 0 0 6px; }
.rope .hm-tender p { font-size: 17px; }

/* --------------------------------------------------------------------------
   Ответвления верёвки для подвешенных карточек (DESIGN.md: карточка висит на горизонтали,
   в которую плавно поворачивает основная верёвка; site/tros/_turn.html)
   -------------------------------------------------------------------------- */

/* Раздел: горизонталь на высоте 40px от верха .hm-row, карточка с тросами под ней (как .zima-row) */
.hm-row { position: relative; margin-top: 32px; }
.hm-row > .container { position: relative; z-index: 2; padding-top: 40px; }

/* Первый экран: на компьютере у контактов горизонталь над экраном (.hm-turn-d), на телефоне —
   своя прямо над карточкой (.hm-turn-m, как .lform__turn--m) */
.hm-hang { position: relative; }
.hm-turn-d { position: absolute; inset: 0; pointer-events: none; }
.hm-turn-m { display: none; }
@media (max-width: 900px) {
  .hm-turn-d { display: none; }
  .hm-turn-m { display: block; }
  .hm-turn-m .tros-turn__h { right: calc(-1 * var(--pad)); }
  .hm-hang > .lhero__card { margin-top: var(--cable-h); }
}
