/* ==========================================================================
   Главная brook-drive.rent — новый дизайн (templates/template-home-v2.php, includes/home-page.php).
   Подключается только на главной. Токены и шрифты — как в блоге: Archivo (заголовки, интерфейс, цифры),
   Source Serif 4 (тексты). Разметка главной — под .bh, шапка — .bh-hd, футер — .bh-ft:
   остальные страницы сайта не затрагиваются. Форма — blog-form.css, окна — modals.css, SEO-текст — blog-single.css.
   ========================================================================== */
:root { --bd-ground: #F1F0EF; }
.bh {
  --ink: #231F20; --red: #E32320; --red-d: #C41D1A; --mut: #6F686A; --mut2: #8b8385;
  --line: #E5E1E1; --tint: #F6F4F3; --ground: #F1F0EF; --wa: #1FA855;
  --sans: "Archivo", "Proxima Nova", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --gut: clamp(16px, 5vw, 64px); --max: 1280px;
  background: var(--ground); color: var(--ink); font-family: var(--sans);
  font-size: 16px; line-height: 1.5;
}
.bh *, .bh *::before, .bh *::after { box-sizing: border-box; }
.bh a:focus-visible, .bh button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.bh .bh-search__input:focus, .bh .bh-search__input:focus-visible { outline: none; }
.bh-wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gut); }
.bh img { max-width: 100%; }
.bh ul { list-style: none; margin: 0; padding: 0; }
.bh p { margin: 0; }

.bh-h2 {
  margin: 0; font-family: var(--sans); font-weight: 800; font-variation-settings: "wdth" 115;
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.06; letter-spacing: -.01em; text-transform: none; color: inherit; text-wrap: balance;
}
.bh-h2--sm { font-size: clamp(22px, 2.2vw, 28px); }
.bh-h3 { margin: 0; font: 700 22px/1.25 var(--sans); text-wrap: balance; }
.bh-sec { padding-block: 80px; }
.bh-sec--white { background: #fff; }
.bh-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.bh-link { color: var(--ink); font-weight: 700; font-size: 16px; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.bh-link:hover { color: var(--red); }

/* --------------------------------------------------------------------------
   Обложка и поиск
   -------------------------------------------------------------------------- */
.bh-hero { position: relative; display: flex; align-items: center; min-height: clamp(580px, 78vh, 780px); padding-block: 72px 140px; color: #fff; background: var(--ink); }
.bh-hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.bh-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 62%; display: block; }
.bh-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(35,31,32,.92) 0%, rgba(35,31,32,.78) 30%, rgba(35,31,32,.28) 56%, rgba(35,31,32,0) 72%),
    linear-gradient(0deg, rgba(35,31,32,.5) 0%, rgba(35,31,32,0) 34%);
}
.bh-hero__in { position: relative; z-index: 6; width: 100%; } /* выше листа с типами — чтобы подсказки поиска были поверх него */
.bh-hero__title {
  max-width: 720px; margin: 0 0 18px; color: #fff; text-transform: none;
  font-family: var(--sans); font-weight: 800; font-variation-settings: "wdth" 120;
  font-size: clamp(40px, 5.8vw, 80px); line-height: 1; letter-spacing: -.015em; text-wrap: balance;
}
.bh-stars { color: #F5B400; letter-spacing: 1px; font-size: 15px; }


.bh-chips { display: flex; flex-wrap: wrap; gap: 8px; max-width: 720px; }
.bh-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 19px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); color: #fff;
  font: 600 14px var(--sans); text-decoration: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.bh-chip:hover { background: rgba(255,255,255,.22); color: #fff; }
.bh-chip span { color: rgba(255,255,255,.7); font-weight: 500; }

/* --------------------------------------------------------------------------
   Типы машин — белый лист, наезжает на обложку
   -------------------------------------------------------------------------- */
.bh-types { position: relative; z-index: 5; margin-top: -84px; }
.bh-sheet { background: #fff; border-radius: 12px; padding: 26px 28px 20px; box-shadow: 0 18px 50px rgba(35,31,32,.08); }
.bh-types__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.bh-types__grid { display: grid; grid-template-columns: repeat(11, minmax(0,1fr)); gap: 6px; }
.bh-type { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; text-align: center; }
.bh-type:hover { background: var(--tint); }
.bh-type img { width: 76px; height: 38px; object-fit: contain; }
.bh-type b { font-size: 15px; font-weight: 700; line-height: 1.2; }
.bh-type span { font-size: 13px; color: var(--mut); font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   Предложения: промо-баннеры и машины со скидкой
   -------------------------------------------------------------------------- */
.bh-promos { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-bottom: 28px; }
.bh-promo { display: block; border-radius: 12px; overflow: hidden; background: var(--ink); aspect-ratio: 1162 / 724; }
.bh-promo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.bh-promo:hover img { transform: scale(1.03); }
.bh-grid { display: grid; gap: 20px; }
.bh-grid--5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
.bh-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }

/* --------------------------------------------------------------------------
   Карточка машины
   -------------------------------------------------------------------------- */
.bh-car { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.bh-sec--white .bh-car { border-color: #ebe7e7; }
.bh-car:hover { border-color: #d6cfd0; box-shadow: 0 14px 34px rgba(35,31,32,.1); }
.bh-car__media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--tint); }
.bh-car__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
.bh-car__media img + img { opacity: 0; }
.bh-car:hover .bh-car__media img + img { opacity: 1; }
.bh-car__badge { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 5px 9px; border-radius: 6px; background: var(--red); color: #fff; font: 800 13px var(--sans); }
.bh-car__body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 16px 18px 18px; }
.bh-car__cat { font-size: 13px; color: var(--mut); }
.bh-car__title { margin: 0; font: 700 19px/1.22 var(--sans); text-transform: none; }
.bh-car__title a { color: var(--ink); text-decoration: none; }
.bh-car__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.bh-car:hover .bh-car__title a { color: var(--red); }
.bh-car__specs { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 4px 0 8px; font-size: 14px; color: #4a4345; font-variant-numeric: tabular-nums; }
.bh-car__specs li { display: inline-flex; align-items: center; gap: 6px; }
.bh-car__specs svg { width: 16px; height: 16px; color: var(--mut2); flex: none; }
.bh-car__price { margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-variant-numeric: tabular-nums; }
.bh-car__price b { font-size: 24px; font-weight: 800; font-variation-settings: "wdth" 108; }
.bh-car__price span { font-size: 14px; color: var(--mut); }
.bh-car__price s { font-size: 14px; color: var(--mut2); }
.bh-car__from { font-size: 13px; color: var(--mut); font-variant-numeric: tabular-nums; }
.bh-car__actions { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1fr) 46px 46px; gap: 8px; margin-top: 14px; }
.bh-grid--5 .bh-car__actions { grid-template-columns: 1fr 1fr; gap: 6px; }
.bh-grid--5 .bh-car__actions .bh-btn--red { grid-column: 1 / -1; }   /* узкая карточка: «Арендовать», «Reservieren» — на всю ширину */
.bh-grid--5 .bh-car__actions .bh-btn--wa { width: auto; }

/* --------------------------------------------------------------------------
   Бренды
   -------------------------------------------------------------------------- */
.bh-brands__grid { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 12px; }
.bh-brand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 136px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.bh-brand:hover { border-color: #cfc7c8; box-shadow: 0 10px 26px rgba(35,31,32,.08); }
.bh-brand img { max-width: 78%; max-height: 46px; object-fit: contain; }
.bh-brand b { margin-top: 2px; font-size: 14px; font-weight: 700; line-height: 1.2; text-align: center; }
.bh-brand span { margin-top: -6px; font-size: 13px; color: var(--mut); font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   Преимущества на обложке
   -------------------------------------------------------------------------- */
.bh-perks { display: grid; grid-template-columns: repeat(3, max-content); gap: 14px 34px; margin: 6px 0 0; }
.bh-perks li { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; line-height: 1.25; color: #fff; }
.bh-perks svg { flex: none; width: 22px; height: 22px; }
.bh-perks a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.45); text-underline-offset: 4px; }
.bh-perks a:hover { text-decoration-color: #fff; }
.bh-perks .bh-star { color: #F5B400; text-decoration: none; }
@media (max-width: 700px) {
  .bh-perks { grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-top: 2px; }
  .bh-perks li { font-size: 14px; gap: 8px; }
  .bh-perks svg { width: 18px; height: 18px; }
}

/* --------------------------------------------------------------------------
   Бренды: два ряда и «Show all»
   -------------------------------------------------------------------------- */
.bh-brands__grid:not(.is-open) > li:nth-child(n+15) { display: none; }
@media (max-width: 1200px) { .bh-brands__grid:not(.is-open) > li:nth-child(n+11) { display: none; } }
@media (max-width: 700px) { .bh-brands__grid:not(.is-open) > li:nth-child(n+9) { display: none; } }
.bh-more { display: flex; justify-content: center; margin-top: 24px; }
.bh-morebtn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border: 1.5px solid var(--ink); border-radius: 8px; background: none; color: var(--ink); font: 700 15px var(--sans); cursor: pointer; }
.bh-morebtn:hover { background: var(--ink); color: #fff; }
.bh-morebtn svg { width: 16px; height: 16px; transition: transform .2s; }
.bh-morebtn[aria-expanded="true"] svg { transform: rotate(180deg); }

/* --------------------------------------------------------------------------
   Разделы по типам: машины на всю ширину, текст — под ними
   -------------------------------------------------------------------------- */
.bh-catsec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 28px; }
.bh-catsec__meta { margin-top: 10px; font-size: 17px; color: var(--mut); font-variant-numeric: tabular-nums; }
.bh-catsec__meta b { color: var(--ink); }
.bh-catsec__about { max-width: 880px; margin-top: 36px; }
.bh-catsec__text { font-family: var(--serif); font-size: 16px; line-height: 1.65; color: #4a4345; }
.bh-catsec__text p + p { margin-top: 10px; }
.bh-catsec__text:not(.is-open) p:nth-child(n+2) { display: none; }
.bh-catsec__toggle { margin-top: 10px; padding: 0; border: 0; background: none; color: var(--ink); font: 700 15px var(--sans); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }
.bh-catsec__foot { display: none; }
@media (max-width: 700px) {
  .bh-catsec__head { margin-bottom: 18px; }
  .bh-catsec__head .bh-btn { display: none; }
  .bh-catsec__meta { font-size: 15px; margin-top: 6px; }
  .bh-catsec__foot { display: block; margin-top: 16px; }
  .bh-catsec__foot .bh-btn { width: 100%; }
  .bh-catsec__about { margin-top: 24px; }
  .bh-catsec__text { font-size: 15px; }
}

/* --------------------------------------------------------------------------
   О компании (светлый блок)
   -------------------------------------------------------------------------- */
/* большое фото на всю ширину + белая карточка поверх справа + вставка «детейлинг-центр» */
.bh-story { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 0; row-gap: 20px; align-items: stretch; }
/* фото слева целиком (машина с «мордой» и Бурдж-Халифа), карточка справа заходит на фото чуть-чуть */
.bh-story__media { position: relative; grid-column: 1 / 8; grid-row: 1; min-height: 560px; border-radius: 16px; overflow: hidden; }
.bh-story__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 97% 62%; display: block; }
.bh-story__card { position: relative; z-index: 2; grid-column: 8 / 13; grid-row: 1; align-self: center; margin: 40px 0 40px -40px; padding: 40px 40px 36px; border-radius: 16px; background: #fff; box-shadow: 0 24px 60px rgba(35,31,32,.14); }
.bh .bh-story__kicker { margin-bottom: 12px; font-size: 14px; font-weight: 700; color: var(--red); }
.bh .bh-story__card .bh-h2 { font-size: clamp(28px, 2.6vw, 36px); }
.bh .bh-story__p { margin-top: 14px; font-family: var(--serif); font-size: 17px; line-height: 1.6; color: #3d3637; }
.bh .bh-story__card .bh-btn { margin-top: 24px; }
/* 4 факта — полоса под блоком */
.bh .bh-kf--strip { grid-column: 1 / 13; grid-row: 2; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin: 0; padding: 0; border: 0; border-radius: 16px; background: #fff; overflow: hidden; }
.bh .bh-kf--strip li { padding: 22px 24px; border: 0; font-size: 14px; line-height: 1.4; color: var(--mut); }
.bh .bh-kf--strip li + li { border-left: 1px solid var(--line); }
.bh .bh-kf--strip b { display: block; margin-bottom: 4px; font-size: 28px; font-weight: 800; font-variation-settings: "wdth" 112; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) {   /* планшет и телефон: фото сверху, карточка наезжает снизу, факты 2×2 */
  .bh-story { display: flex; flex-direction: column; row-gap: 16px; }
  .bh-story__media { min-height: 0; aspect-ratio: 16 / 9; }
  .bh-story__media > img { object-position: 60% 60%; }
  .bh-story__card { margin: -96px 40px 0; }
  .bh .bh-kf--strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bh .bh-kf--strip li:nth-child(3) { border-left: 0; }
  .bh .bh-kf--strip li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 800px) {
  .bh-story__media { aspect-ratio: 4 / 3; }
  .bh-story__card { margin: -56px 12px 0; padding: 26px 22px 24px; }
  .bh .bh-story__p { font-size: 16px; }
  .bh .bh-kf--strip li { padding: 16px; }
  .bh .bh-kf--strip b { font-size: 22px; }
  .bh-story__card .bh-btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   Why Choose Brook Drive Rent — дизайн блока «Why Brook Drive» со страницы /about-us/ (about.css .ba-why)
   -------------------------------------------------------------------------- */
.bh-why-sec { background: var(--ink); color: #fff; padding-block: 88px; }
.bh .bh-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 36px 0 0; padding: 0; list-style: none; }
.bh .bh-why li { padding: 28px 28px 30px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.04); }
.bh-why__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 14px; background: var(--red); color: #fff; }
.bh-why__icon svg { width: 26px; height: 26px; }
.bh .bh-why b { display: block; margin-bottom: 8px; font-size: 21px; line-height: 1.25; }
.bh .bh-why p { font-family: var(--serif); font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.74); }
@media (max-width: 1100px) { .bh .bh-why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .bh-why-sec { padding-block: 52px; }
  .bh .bh-why { grid-template-columns: 1fr; gap: 10px; }
  .bh .bh-why li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding: 20px; }
  .bh-why__icon { grid-row: 1 / span 2; width: 44px; height: 44px; margin: 0; }
  .bh .bh-why b { font-size: 18px; margin-bottom: 4px; }
  .bh .bh-why p { font-size: 15px; }
}

/* --------------------------------------------------------------------------
   Три шага
   -------------------------------------------------------------------------- */
.bh-steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; counter-reset: step; }
.bh-step { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.bh-step__img { aspect-ratio: 16 / 10; overflow: hidden; }
.bh-step__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bh-step__body { padding: 22px 24px 26px; }
.bh-step__num { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 12px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; font-size: 16px; }
.bh-step__body p { margin-top: 8px; font-family: var(--serif); font-size: 16px; line-height: 1.55; color: #3d3637; }

/* --------------------------------------------------------------------------
   Отзывы Google — один ряд
   -------------------------------------------------------------------------- */
.bh-g { font-family: Roboto, "Helvetica Neue", Arial, sans-serif; }
.bh-gstars { color: #FBBC04; font-size: 17px; letter-spacing: 1px; line-height: 1; }
.bh-nav { display: flex; gap: 8px; }
.bh-nav button { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid #d9d3d4; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.bh-nav button:hover:not(:disabled) { border-color: var(--ink); }
.bh-nav button:disabled { opacity: .35; cursor: default; }
.bh-nav svg { width: 18px; height: 18px; }
.bh-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; margin: -6px -4px 0; padding: 6px 4px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.bh-row::-webkit-scrollbar { display: none; }
.bh-row > * { scroll-snap-align: start; min-width: 0; }

/* сводка Google слева, карточки с фото справа */
.bh-grv { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.bh-grv__sum { display: flex; flex-direction: column; align-items: flex-start; padding: 30px 28px; border-radius: 16px; background: var(--tint); }
.bh-grv__sum .bh-h2 { font-family: var(--sans); }
.bh-grv__score { display: flex; align-items: center; gap: 14px; margin: 26px 0 6px; }
.bh-grv__logo { width: 44px; height: 44px; flex: none; }
.bh-grv__num { display: block; font-family: var(--sans); font-size: 52px; font-weight: 800; line-height: .95; letter-spacing: -.02em; color: #202124; font-variant-numeric: tabular-nums; }
.bh-gstars--lg { display: block; margin-top: 6px; font-size: 20px; letter-spacing: 2px; }
.bh .bh-grv__count { margin: 8px 0 24px; font-size: 16px; color: #5f6368; }
.bh-grv__all { margin-bottom: auto; }
.bh-grv__sum .bh-nav { margin-top: 26px; }
.bh-grv__rail { position: relative; min-width: 0; }
.bh-grv__row { grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; margin: 0; padding: 0 0 4px; align-items: stretch; }
.bh-rc { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e6e2e2; border-radius: 16px; background: #fff; color: #202124; }
.bh-rc__photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.bh-rc__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.bh-rc:hover .bh-rc__photo img { transform: scale(1.04); }
.bh-rc__body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 18px 20px 20px; }
.bh-rc__head { display: grid; grid-template-columns: 36px minmax(0,1fr) 18px; gap: 10px; align-items: center; }
.bh-rc__av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 16px; font-weight: 500; }
.bh-rc__who b { display: block; font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bh-rc__who span { font-size: 13px; color: #5f6368; }
.bh-rc__g { width: 18px; height: 18px; }
.bh-rc__text { flex: 1; font-size: 15px; line-height: 1.55; color: #3c4043; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.bh-rc--text .bh-rc__text { -webkit-line-clamp: 12; }
.bh-rc__more { align-self: flex-start; font-size: 14px; font-weight: 500; color: #1a73e8; text-decoration: none; }
.bh-rc__more:hover { text-decoration: underline; }
@media (max-width: 1200px) { .bh-grv__row { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 900px) {
  .bh-grv { grid-template-columns: 1fr; gap: 18px; }
  .bh-grv__sum { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 18px; padding: 20px; }
  .bh-grv__sum .bh-h2 { grid-column: 1 / -1; margin-bottom: 14px; }
  .bh-grv__score { margin: 0; }
  .bh .bh-grv__count { margin: 0; }
  .bh-grv__all { grid-column: 1 / -1; margin: 16px 0 0; }
  .bh-grv__sum .bh-nav { display: none; }
}
@media (max-width: 700px) {
  .bh-grv__num { font-size: 40px; }
  .bh-gstars--lg { font-size: 17px; }
  .bh-grv__count { font-size: 14px; }
  .bh-grv__all { width: 100%; }
  .bh-grv__row { grid-auto-columns: 80%; gap: 12px; margin-right: calc(-1 * var(--gut)); padding-right: var(--gut); }
  .bh-rc__photo { aspect-ratio: 16 / 10; }
}

/* видео клиентов — запуск только по клику */
.bh-vh { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 64px 0 20px; }
.bh-row--vids { grid-auto-columns: calc((100% - 64px) / 5); gap: 16px; }
.bh-vcard { position: relative; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: var(--ink); }
.bh-vcard video { width: 100%; height: 100%; object-fit: cover; display: block; }
.bh-vcard__play { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; padding: 0; border: 0; cursor: pointer; background: linear-gradient(0deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 45%); }
.bh-vcard__play span { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 6px 20px rgba(0,0,0,.3); transition: transform .2s; }
.bh-vcard__play:hover span { transform: scale(1.07); }
.bh-vcard__play svg { width: 22px; height: 22px; margin-left: 4px; color: var(--ink); }
.bh-vcard__cap { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.25; text-decoration: none; }
.bh-vcard__cap:hover { text-decoration: underline; }
.bh-vcard.is-playing .bh-vcard__play, .bh-vcard.is-playing .bh-vcard__cap { display: none; }
@media (max-width: 1024px) {
  .bh-row { grid-auto-columns: calc((100% - 20px) / 2); }
  .bh-row--vids { grid-auto-columns: calc((100% - 32px) / 3); }
}
@media (max-width: 700px) {
  .bh-row { grid-auto-columns: 84%; gap: 12px; margin-right: calc(-1 * var(--gut)); padding-right: var(--gut); }
  .bh-row--vids { grid-auto-columns: 58%; }
  .bh-nav { display: none; }
  .bh-vh { margin-top: 44px; }
}

/* --------------------------------------------------------------------------
   FAQ — прежний формат (аккордеон темы), новая типографика
   -------------------------------------------------------------------------- */
.bh .faq-block.home-faq { margin: 0; padding: 88px 0; background: #fff; color: var(--ink); }
.bh .faq-block .home-faq__container { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 24px 64px; align-items: start; max-width: var(--max); width: auto; margin: 0 auto; padding-inline: var(--gut); }
.bh .faq-block .home-faq__container > h2 { position: sticky; top: 132px; margin: 0; font-family: var(--sans); font-weight: 800; font-variation-settings: "wdth" 115; font-size: clamp(28px, 3.4vw, 44px) !important; line-height: 1.06 !important; letter-spacing: -.01em; text-align: left; text-transform: none; color: var(--ink); }
.bh .faq-block__list { margin: 0; padding: 0; border-top: 1px solid var(--line); }
.bh .faq-block__list-item { margin: 0 !important; padding: 22px 0 !important; border-bottom: 1px solid var(--line) !important; }
.bh .faq-block__list-item-name { padding-right: 56px; cursor: pointer; }
.bh .faq-block__list-item-name > h3 { margin: 0; font-family: var(--sans); font-size: 19px !important; font-weight: 700; line-height: 1.35 !important; color: var(--ink); text-transform: none; }
.bh .faq-block__list-item.active .faq-block__list-item-name > h3 { color: var(--red); }
.bh .faq-block__list-item::after { top: 18px; right: 0; }
.bh .faq-block__text { max-width: 780px; font-family: var(--serif); font-size: 17px !important; line-height: 1.65 !important; color: #3d3637; }
.bh .faq-block__text p { margin: 0 0 10px; }
.bh .faq-block__text ul { list-style: disc; margin: 0 0 10px; padding-left: 20px; }
.bh .faq-block__text strong { color: var(--ink); }
@media (max-width: 900px) {
  .bh .faq-block .home-faq__container { grid-template-columns: 1fr; }
  .bh .faq-block .home-faq__container > h2 { position: static; }
}
@media (max-width: 700px) {
  .bh .faq-block.home-faq { padding: 52px 0; }
  .bh .faq-block__list-item { padding: 18px 0 !important; }
  .bh .faq-block__list-item-name { padding-right: 44px; }
  .bh .faq-block__list-item-name > h3 { font-size: 17px !important; }
  .bh .faq-block__text { font-size: 16px !important; }
}

/* --------------------------------------------------------------------------
   Адаптив
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .bh-types__grid { grid-template-columns: repeat(6, minmax(0,1fr)); row-gap: 4px; }
  .bh-grid--5 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bh-grid--5 > .bh-car:first-child { grid-column: 1 / -1; }
  .bh-grid--5 > .bh-car:first-child .bh-car__media { aspect-ratio: 16 / 9; }
  .bh-brands__grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .bh-grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bh-steps { grid-template-columns: 1fr; }
  .bh-promos { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 700px) {
  .bh-sec { padding-block: 52px; }
  .bh-hero { align-items: flex-start; min-height: 0; padding-block: 28px 300px; }
  .bh-hero__bg img { object-position: 50% 100%; }
  .bh-hero::after { background: linear-gradient(180deg, rgba(35,31,32,.9) 0%, rgba(35,31,32,.72) 44%, rgba(35,31,32,.1) 70%, rgba(35,31,32,0) 100%); }
  .bh-hero__title { font-size: 40px; font-variation-settings: "wdth" 112; margin-bottom: 12px; }
  .bh-search { margin: 20px 0 14px; }
  .bh-search__box { height: 56px; padding-left: 16px; }
  .bh-search__input { font-size: 16px; }
  .bh-search__btn { display: none; }
  .bh-chips { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(-1 * var(--gut)); padding-right: var(--gut); scrollbar-width: none; }
  .bh-chips::-webkit-scrollbar { display: none; }
  .bh-chip { flex: none; }
  .bh-types { margin-top: -64px; }
  .bh-sheet { padding: 18px 12px 12px; }
  .bh-types__grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .bh-type { padding: 10px 2px 8px; }
  .bh-type img { width: 58px; height: 30px; }
  .bh-type b { font-size: 13px; }
  .bh-type span { font-size: 12px; }
  .bh-grid, .bh-grid--3 { gap: 12px; }
  .bh-car__body { padding: 12px 12px 14px; gap: 4px; }
  .bh-car__title { font-size: 15px; }
  .bh-car__cat { font-size: 12px; }
  .bh-car__specs { font-size: 12px; gap: 2px 10px; margin: 2px 0 6px; }
  .bh-car__specs li:nth-child(3) { display: none; }
  .bh-car__specs svg { width: 13px; height: 13px; }
  .bh-car__price b { font-size: 18px; }
  .bh-car__price span, .bh-car__price s { font-size: 12px; }
  .bh-car__from { font-size: 12px; }
  .bh-car__actions { grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
  .bh-car__actions .bh-btn { height: 40px; font-size: 14px; padding: 0 8px; }
  .bh-car__actions .bh-btn--red { grid-column: 1 / -1; }
  .bh-car__actions .bh-btn--wa { width: auto; }
  .bh-grid--5 > .bh-car:first-child .bh-car__title { font-size: 18px; }
  .bh-grid--5 > .bh-car:first-child .bh-car__price b { font-size: 22px; }
  .bh-cat-cars > .bh-car:nth-child(n+5) { display: none; }
  .bh-brands__grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
  .bh-brand { height: 104px; gap: 6px; padding: 8px; }
  .bh-brand b { font-size: 12px; }
  .bh-brand span { margin-top: -4px; font-size: 11px; }
  .bh-brand img { max-height: 32px; }
  .bh-brand span { font-size: 12px; }

}
@media (prefers-reduced-motion: reduce) {
  .bh-car__media img, .bh-promo img { transition: none; }
}

/* --------------------------------------------------------------------------
   Разделы по типам: плитки моделей (ссылки на страницы /brand/<бренд>/<модель>/), без слайдера
   Видно 2 ряда, остальные — по «Show all N models» (в HTML все, для SEO)
   -------------------------------------------------------------------------- */
.bh-mgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 18px; margin: 0; padding: 0; list-style: none; }
.bh-mgrid:not(.is-open) > li:nth-child(n+13) { display: none; }
.bh-more--models { margin-top: 28px; }
.bh-more--models[data-count="7"], .bh-more--models[data-count="8"], .bh-more--models[data-count="9"],
.bh-more--models[data-count="10"], .bh-more--models[data-count="11"], .bh-more--models[data-count="12"] { display: none; }
.bh-mt__link { display: flex; flex-direction: column; gap: 4px; color: var(--ink); text-decoration: none; }
.bh-mt__media { position: relative; display: block; aspect-ratio: 4 / 3; margin-bottom: 8px; border-radius: 12px; overflow: hidden; background: var(--tint); }
/* --z, --fx, --fy — приближение из «Фото на главной» в настройках модели */
.bh-mt__media img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(var(--z, 1)); transform-origin: var(--fx, 50%) var(--fy, 50%); transition: transform .5s ease; }
.bh-mt__link:hover .bh-mt__media img { transform: scale(calc(var(--z, 1) * 1.05)); }
.bh-mt__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 42%); pointer-events: none; }
.bh-mt__count { position: absolute; left: 12px; bottom: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 4px; color: #fff; font-size: 14px; font-weight: 700; }
.bh-mt__count svg { width: 14px; height: 14px; }
.bh-mt__name { font-size: 17px; font-weight: 700; line-height: 1.25; }
.bh-mt__link:hover .bh-mt__name { color: var(--red); }
.bh-mt__price { font-size: 14px; font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums; }
.bh-mt__price small { font-size: 13px; font-weight: 500; color: var(--mut); }
@media (max-width: 1200px) {
  .bh-mgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bh-mgrid:not(.is-open) > li:nth-child(n+9) { display: none; }
  .bh-more--models[data-count="9"], .bh-more--models[data-count="10"], .bh-more--models[data-count="11"], .bh-more--models[data-count="12"] { display: flex; }
}
@media (max-width: 700px) {
  .bh-mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .bh-mgrid:not(.is-open) > li:nth-child(n+7) { display: none; }
  .bh-more--models { display: flex !important; margin-top: 20px; }
  .bh-more--models .bh-morebtn { width: 100%; justify-content: center; }
  .bh-mt__name { font-size: 15px; }
  .bh-mt__price { font-size: 13px; }
  .bh-mt__price small { display: none; }
  .bh-mt__count { font-size: 13px; left: 10px; bottom: 8px; }
}

/* --------------------------------------------------------------------------
   Отзывы: фото клиента на всю карточку, текст поверх (как фото-отзывы Google)
   -------------------------------------------------------------------------- */
.bh-rv2__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 24px; margin-bottom: 28px; }
.bh-rv2__acts { display: flex; align-items: center; gap: 12px; }
.bh-gsum { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; color: #202124; text-decoration: none; }
.bh-gsum__g { width: 26px; height: 26px; }
.bh-gsum__num { font-family: var(--sans); font-size: 26px; font-weight: 800; line-height: 1; }
.bh-gsum .bh-gstars { font-size: 18px; }
.bh-gsum__count { font-size: 15px; color: #5f6368; }
.bh-gsum:hover .bh-gsum__count { color: #1a73e8; text-decoration: underline; }
.bh-prow { grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; margin: 0; padding: 0 0 6px; }
.bh-pr { position: relative; min-width: 0; }
.bh-pr__link { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 16px; background: #2b2627; color: #fff; text-decoration: none; }
.bh-pr__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.bh-pr__link:hover .bh-pr__img { transform: scale(1.04); }
.bh-pr__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 18%, rgba(0,0,0,.05) 30%, rgba(0,0,0,.72) 55%, rgba(0,0,0,.92) 100%); }
.bh-pr__body { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; padding: 16px 18px 18px; }
.bh-pr__stars { margin-top: auto; margin-bottom: 8px; font-size: 17px; letter-spacing: 2px; }
.bh-pr__name { flex: 1; min-width: 0; }
.bh-pr__g { flex: none; width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: #fff; }
.bh-pr__text { font-family: var(--serif); font-size: 16px; line-height: 1.5; text-shadow: 0 1px 8px rgba(0,0,0,.4); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.bh-pr__who { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.2); }
.bh-pr__av { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 600; color: #fff; }
.bh-pr__who b { display: block; font-size: 14px; font-weight: 600; line-height: 1.2; }
.bh-pr__who small { display: block; font-size: 12px; color: rgba(255,255,255,.7); }
.bh-pr--noimg .bh-pr__link { background: var(--ink); }
@media (max-width: 1100px) { .bh-prow { grid-auto-columns: calc((100% - 2 * 18px) / 3); } }
@media (max-width: 700px) {
  .bh-rv2__acts .bh-nav { display: none; }
  .bh-rv2__acts, .bh-rv2__acts .bh-btn { width: 100%; }
  .bh-prow { grid-auto-columns: 72%; gap: 12px; margin-right: calc(-1 * var(--gut)); padding-right: var(--gut); }
  .bh-gsum__num { font-size: 22px; }
}

/* --------------------------------------------------------------------------
   SEO-текст главной — лист как у статьи блога (стили blog-single.css) и доработки для главной
   -------------------------------------------------------------------------- */
/* блок SEO-текста на главной: лист без наезда на обложку, первый абзац — лид */
.bh-guide-sec { padding: 80px 0 72px; background: var(--ground); }
.bh-guide-sec .bd-single { background: none; }
.bh-guide-sec .bd-sheet { margin: 0 auto; }
.bh-guide-sec .bd-post [itemprop="articleBody"] > h2.bh-guide-title { margin-top: 8px; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; font-variation-settings: "wdth" 115; }
.bh-guide-sec .bd-post [itemprop="articleBody"] > p.bd-lead { font-size: 22px; line-height: 1.55; margin: 0 0 30px; }
.bh-guide-sec .bd-post ul { list-style: disc; }
.bh-guide-sec .bd-post .catalog-info__items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bh-guide-sec .bd-post .catalog-info__items--two-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* разделы отделены линией и воздухом — текст не слипается */
.bh-guide-sec .bd-post [itemprop="articleBody"] > h2:not(.bh-guide-title) { margin-top: 84px; padding-top: 44px !important; border-top: 1px solid var(--bd-line) !important; }
.bh-guide-sec .bd-post [itemprop="articleBody"] > h2 + p { margin-top: 0; }
.bh-guide-sec .bd-post [itemprop="articleBody"] > .catalog-info__items { margin: 22px 0 36px; }
.bh-guide-sec .bd-post [itemprop="articleBody"] > blockquote { margin: 36px 0 40px; }
/* строка автора под заголовком — как в статьях блога, но на белом */
.bh-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin: 18px 0 8px; font-family: var(--bd-sans); }
.bh-byline .bd-person { color: var(--bd-ink); text-decoration: none; }
.bh-byline .bd-person b { display: block; font-size: 16px; }
.bh-byline .bd-person small { display: block; font-size: 14px; color: var(--bd-mut); }
.bh-byline .bd-person:hover b { color: var(--bd-red); }
.bh-byline__date { font-size: 14px; color: var(--bd-mut); }
.bh-guide-sec .bd-post [itemprop="articleBody"] > blockquote.bd-quote { margin: 36px 0 40px; }
.bh-guide-sec .bd-post .bd-quote p + p { margin-top: 10px; }
.bh-guide-sec .bd-post .bd-quote__cite b { display: block; color: var(--bd-ink); font-weight: 700; }
.bh-guide-sec .bd-post .bd-quote__cite span { display: block; margin-top: 2px; }
/* карточки: крупнее заголовок, текст с засечками, «Top models» отдельной строкой */
.bh-guide-sec .bd-post .catalog-info__card { padding: 24px 24px 22px; }
.bh-guide-sec .bd-post .catalog-info__card-title { font-size: 20px; margin-bottom: 10px; }
.bh-guide-sec .bd-post .catalog-info__card p { font-family: var(--bd-serif); font-size: 16px; line-height: 1.6; color: #3d3637; }
.bh-guide-sec .bd-post .catalog-info__items--black .catalog-info__card p { color: rgba(255,255,255,.82); }
.bh-topm { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--bd-line); font-family: var(--bd-sans); font-size: 14px; line-height: 1.55; }
.bh-guide-sec .bd-post .catalog-info__card p + .bh-topm { margin-top: 16px; }
.bh-topm__label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700; color: var(--bd-mut); }
.bh-guide-sec .bd-post .bh-topm a { font-weight: 600; }
/* «Rolls-Royce Ghost vs Bentley Continental GT» */
.bh-guide-sec .bd-post .bh-vs-title { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.bh-vs { display: inline-block; padding: 2px 8px; border-radius: 4px; background: var(--bd-red); color: #fff; font-style: normal; font-size: 12px; font-weight: 800; line-height: 1.4; }
/* список с жирными подзаголовками — карточки в две колонки */
.bh-guide-sec .bd-post ul.bh-points { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin: 22px 0 36px; padding: 0; list-style: none; grid-column: full; }
.bh-guide-sec .bd-post ul.bh-points li { margin: 0; padding: 22px 24px; border-radius: 10px; background: var(--bd-tint); font-size: 17px; line-height: 1.6; }
.bh-guide-sec .bd-post ul.bh-points li strong:first-child { display: block; margin-bottom: 6px; font-family: var(--bd-sans); font-size: 18px; font-weight: 700; }
/* ключевые факты — плитками */
.bh-guide-sec .bd-post dl.bh-kfacts { grid-column: full; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin: 22px 0 36px; }
.bh-kfacts > div { padding: 18px 20px; border: 1px solid var(--bd-line); border-radius: 10px; background: #fff; }
.bh-kfacts dt { margin-bottom: 6px; font-family: var(--bd-sans); font-size: 13px; font-weight: 600; color: var(--bd-mut); }
.bh-kfacts dd { margin: 0; font-family: var(--bd-sans); font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--bd-ink); }
@media (max-width: 1024px) { .bh-guide-sec .bd-post dl.bh-kfacts { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 700px) {
  .bh-guide-sec { padding: 40px 0 0; }
  .bh-guide-sec .bd-sheet { margin: 0; }
  .bh-guide-sec .bd-post [itemprop="articleBody"] > p.bd-lead { font-size: 19px; }
  .bh-guide-sec .bd-post .catalog-info__items, .bh-guide-sec .bd-post .catalog-info__items--two-cols { grid-template-columns: 1fr; }
  .bh-guide-sec .bd-post [itemprop="articleBody"] > h2:not(.bh-guide-title) { margin-top: 56px; padding-top: 32px !important; }
  .bh-guide-sec .bd-post ul.bh-points { grid-template-columns: 1fr; }
  /* таблица «параметр — значение» остаётся таблицей и на телефоне */
  .bh-guide-sec .bd-post .bh-table--kv table { display: table; }
  .bh-guide-sec .bd-post .bh-table--kv tbody { display: table-row-group; }
  .bh-guide-sec .bd-post .bh-table--kv tr { display: table-row; margin: 0; padding: 0; border: 0; border-radius: 0; }
  .bh-guide-sec .bd-post .bh-table--kv tbody td { display: table-cell; padding: 12px 10px !important; text-align: left; vertical-align: top; border-bottom: 1px solid var(--bd-line) !important; font-size: 15px !important; }
  .bh-guide-sec .bd-post .bh-table--kv tbody td { width: auto !important; }
  .bh-guide-sec .bd-post .bh-table--kv tbody td:first-child { width: 40% !important; padding-top: 12px !important; font-size: 15px !important; }
  .bh-guide-sec .bd-post .bh-table--kv tbody tr:nth-child(even) td { background: var(--bd-tint); }
  .bh-guide-sec .bd-post .bh-table--kv tbody td::before { content: none; }
}

/* --------------------------------------------------------------------------
   Контакты и карта (template-parts/contacts/new.php): колонка контактов и карта на всю ширину
   -------------------------------------------------------------------------- */
html body .contact-block.home-contact-block-new{background:#fff!important;padding:0!important;color:#231F20;font-family:"Archivo",Arial,sans-serif}
html body .contact-block__inner{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);max-width:none;margin:0;background:#fff!important;background-image:none!important;border-radius:0;overflow:hidden;min-height:540px}
html body .contact-block__content{order:1;padding:80px clamp(24px,5vw,72px) 80px max(clamp(16px,6vw,80px),calc((100vw - 1200px)/2 + clamp(16px,6vw,80px)))!important;max-width:none!important;width:auto!important;margin:0!important;display:flex!important;flex-direction:column;justify-content:center}
html body .contact-block__title{font-family:"Archivo",Arial,sans-serif!important;font-variation-settings:"wdth" 115;font-size:clamp(30px,3.6vw,46px)!important;line-height:1.05!important;font-weight:800!important;text-transform:none!important;color:#231F20!important;align-self:flex-start!important;text-align:left!important;margin:0 0 28px!important}
html body .contact-block__list{display:grid!important;grid-template-columns:1fr;gap:20px;margin:0 0 28px!important;padding:0!important}
html body .contact-block__box{display:grid!important;grid-template-columns:28px 1fr;column-gap:12px;align-items:start;margin:0!important;padding:0!important;width:auto!important}
html body .contact-block__box:first-child{grid-column:1/-1}
html body .contact-block__box-img{grid-row:1/span 2;width:28px;display:flex;justify-content:center;padding-top:2px}
html body .contact-block__box-img img{width:22px!important;height:auto!important}
html body .contact-block__box-suptitle{font-size:14px!important;line-height:1.3!important;color:#6F686A!important;margin:0 0 4px!important}
html body .contact-block__box-title{font-size:19px!important;line-height:1.35!important;font-weight:600!important;margin:0!important;color:#231F20}
html body .contact-block__box-link{color:#231F20!important;text-decoration:none;font-variant-numeric:tabular-nums}
html body .contact-block__box-link:hover{color:#E32320!important}
html body .contact-block .socials{display:flex!important;gap:10px!important;margin:0!important;padding:0!important}
html body .contact-block .socials__link{flex:none!important;min-width:44px;padding:0!important;width:44px!important;height:44px!important;border-radius:50%!important;display:grid!important;place-items:center;border:1px solid #E5E1E1!important;background:none!important;transition:border-color .2s,background .2s}
html body .contact-block .socials__link img{width:20px!important;height:20px!important;filter:brightness(0)}
html body .contact-block .socials__link:hover{border-color:#231F20!important}
html body .contact-block__map{order:2;height:auto!important;min-height:540px;position:relative}
html body .contact-block__map iframe{position:absolute;inset:0;width:100%!important;height:100%!important;filter:grayscale(.35) contrast(1.02)}
@media(max-width:900px){
  html body .contact-block.home-contact-block-new{padding:0!important}
  html body .contact-block__inner{grid-template-columns:1fr;border-radius:0}
  html body .contact-block__content{padding:40px 16px!important}
  html body .contact-block__list{grid-template-columns:1fr}
  html body .contact-block__map{min-height:320px;margin:0!important;width:100%!important;border-radius:0!important}}

/* тема сдвигает контент под свою шапку — у новой шапки отступ не нужен */
html body main.main.bh { margin-top: 0 !important; }
.bh .bh-steps { list-style: none; margin: 0; padding: 0; }
