/* ============================================================
   UniBuilder — «Капитал» (capital-theme)
   Премиальная деловая тема для бухгалтерских/юридических/консалтинговых
   услуг. Палитра взята НАПРЯМУЮ из фирменного логотипа клиента
   «Бизнес налоги право»: глубокий тёмно-синий (--p, #14304F — квадраты
   знака и текст) + зелёный (--a, #34694E — левый нижний квадрат).
   Осознанно ДВУХЦВЕТНЫЙ бренд-градиент (var(--p),var(--a)), не моно.
   Серифные заголовки (Source Serif 4, self-hosted, кириллица) + Inter
   body. Сдержанные скругления (rounded, не pill — деловой, не игривый
   тон), мягкие премиальные тени (elevation, не flat-минимал).

   Level-A: ОДИН override :root токен-контракта (_base) — красит все
   base-блоки. Своих блоков нет (falls back на base-вёрстку).
   Грузится ПОСЛЕ templates/_base/global.css.

   Цвета --p/--a доставляются через manifest defaults{} (ColorPaletteService
   → --ub-primary/--ub-accent) — здесь var(--ub-*, fallback) зеркалом,
   owner-override «оставить свои цвета» сохранён.
   Контраст проверен (WCAG): белый текст на --p 13.41:1, на --a 6.41:1.
   ============================================================ */
:root{
  /* — Бренд: тёмно-синий логотипа (действия/якорь) + зелёный логотипа (акцент). — */
  --p:var(--ub-primary,#14304F);--ph:var(--ub-primary-hover,#0D2138);--pl:var(--ub-primary-light,#E3E9F0);--p50:#F3F6F9;
  --a:var(--ub-accent,#34694E);--ah:var(--ub-accent-hover,#27523C);--al:var(--ub-accent-light,#E2EFE8);

  /* — Бренд-градиент: ОСОЗНАННО двухцветный (синий знака → зелёный знака) — */
  --gp:linear-gradient(135deg,var(--p),var(--a));
  --gs:linear-gradient(135deg,var(--surface-3),var(--pl));

  /* — Тёмные секции: глубокий сине-чёрный, в тон бренд-синему логотипа. — */
  --dk:#081726;--dc:#0E2438;--ds:#14304F;
  --gd:linear-gradient(135deg,var(--dk),var(--dc),var(--ds));
  --gh:linear-gradient(160deg,var(--dk) 0%,var(--dc) 45%,var(--ds) 75%,#20456E 100%);

  /* — Поверхности: чистые, слегка холодные. — */
  --surface:#FFFEFC;--surface-2:#F6F8FA;--surface-3:#EDF1F5;

  /* — Нейтрали: холодная шкала с синим подтоном бренда. — */
  --n50:#F7F9FB;--n100:#F0F3F7;--n200:#E1E7EE;--n300:#C7D0DC;
  --n400:#94A1B3;--n500:#647287;--n600:#4A566A;--n700:#33404F;
  --n800:#1F2A38;--n900:#121B26;

  /* — Радиусы: сдержанные rounded (деловой тон, НЕ pill). — */
  --rs:6px;--rm:10px;--rl:14px;--rxl:20px;--rf:9999px;
  --r-btn:10px;--r-card:16px;--r-input:8px;--bw:1px;

  /* — Тени: мягкая премиальная elevation (не flat-минимал, не тяжёлая). — */
  --sh-sm:0 10px 30px color-mix(in srgb,var(--dk) 10%,transparent);
  --sh-brand:0 0 32px color-mix(in srgb,var(--p) 18%,transparent);
  --sh-modal:0 25px 55px -12px color-mix(in srgb,var(--dk) 30%,transparent);
  --sh-btn:0 8px 20px color-mix(in srgb,var(--p) 28%,transparent);
  --sh-btn-hover:0 10px 26px color-mix(in srgb,var(--p) 38%,transparent);

  /* — Шрифты: сериф-заголовки Source Serif 4 (в тон серифу логотипа) + Inter body. — */
  --fh:'Source Serif 4','PT Serif',Georgia,'Times New Roman',ui-serif,serif;
  --fb:'Inter',ui-sans-serif,system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;

  /* — Заголовки: сдержанный вес, плотный трекинг, сплошной тёмный (без градиент-текста). — */
  --h1:clamp(2.25rem,4.5vw,3.5rem);--h2:clamp(1.875rem,3.5vw,2.75rem);
  --h3:clamp(1.375rem,2.5vw,1.875rem);--h4:clamp(1.125rem,1.75vw,1.375rem);
  --heading-weight:600;--heading-tracking:-.01em;--lh-heading:1.25;--lh-body:1.65;
  --heading-gradient:var(--n900);

  /* — Featured-карта: тонкий зелёный бордер + двухцветная акцент-планка. — */
  --card-featured-border:1px solid var(--a);--card-featured-accent:var(--gp);

  /* — Эмфатика: числа/цены — сдержанный вес 600. — */
  --title-weight:600;--stat-value-size:clamp(2rem,4vw,3rem);--stat-value-size-sm:clamp(1.75rem,3.5vw,2.25rem);
  --price-size:clamp(1.75rem,3.25vw,2.25rem);

  /* — Вертикальный ритм: просторный, деловой (не тесный). — */
  --section-py:clamp(56px,7vw,96px);--section-py-lg:clamp(72px,9vw,128px);
  --section-py-md:clamp(48px,6vw,72px);--section-py-sm:56px;

  /* — [футер-хром] Глубокий синий премиальный подвал, зелёный hover ссылок. — */
  --footer-bg:#081726;--footer-text:#ffffff;--footer-muted:#9AA9BC;--footer-heading:#ffffff;
  --footer-link:#C7D2E0;--footer-link-hover:var(--a);--footer-border:#1B3049;
  /* Тёмный футер → светлые полупрозрачные соц-круги (дефолт base подходит, задаём явно). */
  --footer-social-bg:rgba(255,255,255,0.08);--footer-social-hover:rgba(255,255,255,0.16);
}

/* — [твик] Убрана демо-заглушка «Соцсети» в карточке контактов (страница «Контакты», блок #35): реальных соцсетей у клиента нет. — */
.bm-con-card-35 .bm-g{grid-template-columns:repeat(3,1fr)}
.bm-con-card-35 .bm-g .bm-c:nth-child(4){display:none}
@media(max-width:768px){.bm-con-card-35 .bm-g{grid-template-columns:1fr}}

/* — [твик] Меню в шапке по центру (запрос клиента). — */
.ub-header-nav{justify-content:center}

/* — [твик] Вместо карты на главной (блок #25) — фото офиса; санитайзер вырезает inline style у img, добираем через CSS. — */
.bm-con-map-right-25 .bm-map{align-items:stretch!important}
.bm-con-map-right-25 .bm-map img{width:100%;height:100%;min-height:420px;object-fit:cover;display:block}
@media(max-width:768px){.bm-con-map-right-25 .bm-map img{min-height:280px}}

/* — [твик] CTA-блоки на страницах услуг: белая кнопка на фирменном фоне, текст в цвет бренда. — */
.bm-cta-centered-40 .btn-p,.bm-cta-centered-43 .btn-p,.bm-cta-centered-47 .btn-p,.bm-cta-centered-50 .btn-p{background:#fff;color:#14304F;box-shadow:none}
.bm-cta-centered-40 .btn-p:hover,.bm-cta-centered-43 .btn-p:hover,.bm-cta-centered-47 .btn-p:hover,.bm-cta-centered-50 .btn-p:hover{background:#EDF1F5}
.bm-cta-centered-43 .ct{position:relative;z-index:1}
.bm-cta-centered-43 p{color:rgba(255,255,255,.85)!important}

/* — [твик] Карточки услуг: меньше зазор фото→заголовок, больше зазор текст→кнопка.
   section[...] в селекторе — чтобы перебить инлайновый .bm-bd .btn{margin-top:14px} из <style> блока. — */
section[class*="bm-srv-image-top-"] .bm-c{display:flex;flex-direction:column}
section[class*="bm-srv-image-top-"] .bm-bd{display:flex;flex-direction:column;flex:1 1 auto;padding:8px 24px 24px!important}
section[class*="bm-srv-image-top-"] .bm-bd > div:empty{display:none}
section[class*="bm-srv-image-top-"] .bm-bd h4{margin-top:0!important;margin-bottom:8px!important}
section[class*="bm-srv-image-top-"] .bm-bd > div{margin-bottom:14px}
section[class*="bm-srv-image-top-"] .bm-bd .btn{margin-top:auto!important;align-self:flex-start}
@media(max-width:768px){
  section[class*="bm-srv-image-top-"] .bm-bd{padding:20px 16px 20px!important}
  section[class*="bm-srv-image-top-"] .bm-bd h4{margin-top:0!important;margin-bottom:6px!important}
  section[class*="bm-srv-image-top-"] .bm-bd .btn{margin-top:auto!important}
}

/* — [твик] Отзывы (side-image): компактный силуэт вместо полноширинного 4:3. — */
section[class*="bm-tst-side-"] .bm-ph{background:none!important;flex:0 0 112px!important;width:112px!important;height:112px!important;aspect-ratio:1!important;max-width:112px;border-radius:50%!important}
section[class*="bm-tst-side-"] .bm-ph img{width:70%!important;height:70%!important;object-fit:contain}
section[class*="bm-tst-side-"] .bm-list{gap:28px!important}
section[class*="bm-tst-side-"] .bm-row,section[class*="bm-tst-side-"] .bm-row.rev{gap:20px!important}
@media(max-width:768px){
  section[class*="bm-tst-side-"]{padding-top:20px!important;padding-bottom:28px!important}
  section[class*="bm-tst-side-"] .bm-ph{flex:0 0 88px!important;width:88px!important;height:88px!important;max-width:88px;align-self:center}
  section[class*="bm-tst-side-"] .bm-row,section[class*="bm-tst-side-"] .bm-row.rev{gap:12px!important}
  section[class*="bm-tst-side-"] .bm-list{gap:24px!important}
}

/* — [твик] Главная: убрать избыточный зазор между «Наши услуги» и «Как мы работаем». — */
.bm-stp-standard-51 .sh{margin-bottom:32px}
.bm-stp-standard-51 .bm-s p{line-height:1.5}
/* — [твик] Налоговое консультирование: компактный блок «Как проходит консультирование». — */
.bm-stp-standard-55 .sh{margin-bottom:24px!important}
.bm-stp-standard-55 .bm-h{gap:20px!important}
.bm-stp-standard-55 .bm-n{width:48px!important;height:48px!important;margin-bottom:10px!important;font-size:1.1rem!important}
.bm-stp-standard-55 .bm-s h4{margin-bottom:4px!important}
.bm-stp-standard-55 .bm-s p{line-height:1.45}
@media(max-width:768px){
  .bm-stp-standard-55 .sh{margin-bottom:20px!important}
  .bm-stp-standard-55 .bm-h{gap:16px!important}
}

/* — [твик] FAQ: меньше внутренние отступы (заголовок→список и строки аккордеона). — */
[class*="bm-faq-accordion-"] .sh{margin-top:0!important;margin-bottom:6px!important}
[class*="bm-faq-accordion-"] .sh h2,[class*="bm-faq-accordion-"] .bm-t{margin-top:0!important;margin-bottom:0!important}
[class*="bm-faq-accordion-"] .bm-q{padding:10px 0!important;font-size:1.0625rem!important}
[class*="bm-faq-accordion-"] .bm-a-inner{padding:0 0 10px!important}
[class*="bm-faq-accordion-"] .bm-a{line-height:1.55!important;font-size:.9375rem}
@media(max-width:768px){
  [class*="bm-faq-accordion-"] .sh{margin-bottom:16px!important}
  [class*="bm-faq-accordion-"] .bm-q{padding:14px 0!important;font-size:1rem!important}
  [class*="bm-faq-accordion-"] .bm-a-inner{padding:0 0 12px!important}
}
.bm-srv-image-top-22 .bm-g{grid-template-columns:repeat(4,1fr)}
@media(max-width:1024px){.bm-srv-image-top-22 .bm-g{grid-template-columns:repeat(2,1fr)}}
@media(max-width:768px){.bm-srv-image-top-22 .bm-g{grid-template-columns:1fr!important}}
/* — [твик] Страница контактов: компактные отступы на мобильных. — */
@media(max-width:768px){
  .bm-hero-standard-34 h1,.bm-hero-standard-34 .bm-t{margin-bottom:12px}
  .bm-hero-standard-34 .bm-sub{margin-bottom:20px;font-size:1rem;line-height:1.6}
  .bm-frm-standard-36 .bm-sp,.bm-frm-standard-36 .bm-sp.has-img{gap:10px!important}
  .bm-frm-standard-36 .bm-box{padding:20px!important}
  .bm-frm-standard-36 .bm-intro h2{margin-top:0;margin-bottom:8px}
  .bm-frm-standard-36 .bm-intro p{font-size:1rem;margin-bottom:0}
}

/* Карточки услуг — «Подробнее» белым на заливке */
[class*="bm-srv-image-top-"] .bm-bd .btn-o{
  background:var(--p) !important;
  color:#fff !important;
  border-color:var(--p) !important;
}
[class*="bm-srv-image-top-"] .bm-bd .btn-o:hover{
  background:var(--gp,var(--p)) !important;
  color:#fff !important;
  border-color:var(--gp,var(--p)) !important;
}

/* — [твик] Главная: меньше зазор между «Почему обращаются к нам» и FAQ. — */
.bm-faq-accordion-53 .sh{margin-top:0!important;margin-bottom:12px!important}

/* — [твик] /services/: меньше зазор между hero и «Направления работы». — */
.bm-srv-image-top-30 .sh{margin-top:0!important;margin-bottom:28px!important}
.bm-srv-image-top-30 .sh h2,.bm-srv-image-top-30 .bm-t{margin-top:0!important;margin-bottom:0!important}
.bm-srv-image-top-30 .ss,.bm-srv-image-top-30 .sh p{margin-top:4px!important;margin-bottom:0!important}
@media(max-width:768px){
  .bm-srv-image-top-30 .sh{margin-bottom:28px!important}
}

/* — [твик] Страницы услуг: меньше зазор между баннером и текстом. — */
.bm-txt-standard-38 .bm-body>p:first-child,.bm-txt-standard-67 .bm-body>p:first-child,.bm-txt-standard-45 .bm-body>p:first-child,.bm-txt-standard-68 .bm-body>p:first-child{margin-top:0!important}

/* — [твик] Страницы услуг: компактные стыки текст → список → CTA → шаги → FAQ → похожие. — */
.bm-feat-list-39 .sh,.bm-feat-standard-42 .sh,.bm-feat-list-46 .sh,.bm-feat-standard-49 .sh{margin-top:0!important;margin-bottom:16px!important}
.bm-feat-list-39 .sh h2,.bm-feat-standard-42 .sh h2,.bm-feat-list-46 .sh h2,.bm-feat-standard-49 .sh h2{margin-top:0!important}
@media(max-width:768px){
  [class*="bm-feat-standard-"] .bm-g,
  [class*="bm-feat-photo-cards-"] .bm-g,
  [class*="bm-srv-image-top-"] .bm-g,
  [class*="bm-stp-standard-"] .bm-h,
  [class*="bm-con-card-"] .bm-g{
    grid-template-columns:1fr!important;
  }
  [class*="bm-feat-standard-"] .bm-c,
  [class*="bm-srv-image-top-"] .bm-c{
    min-width:0;
  }
}
.bm-faq-accordion-58 .sh,.bm-faq-accordion-59 .sh,.bm-faq-accordion-60 .sh,.bm-faq-accordion-61 .sh{margin-top:0!important;margin-bottom:6px!important}
.bm-srv-image-top-62 .sh,.bm-srv-image-top-63 .sh,.bm-srv-image-top-64 .sh,.bm-srv-image-top-65 .sh{margin-top:0!important;margin-bottom:12px!important}
.bm-srv-image-top-62 .sh h2,.bm-srv-image-top-63 .sh h2,.bm-srv-image-top-64 .sh h2,.bm-srv-image-top-65 .sh h2,
.bm-srv-image-top-62 .bm-t,.bm-srv-image-top-63 .bm-t,.bm-srv-image-top-64 .bm-t,.bm-srv-image-top-65 .bm-t{margin-top:0!important;margin-bottom:0!important}
[class*="bm-srv-image-top-"] .sh p:empty,[class*="bm-srv-image-top-"] .ss:empty{display:none!important;margin:0!important}
@media(max-width:768px){
  .bm-srv-image-top-62 .sh,.bm-srv-image-top-63 .sh,.bm-srv-image-top-64 .sh,.bm-srv-image-top-65 .sh{margin-bottom:12px!important}
}

/* — [твик] Карточки отзывов-слайдера: граница заметнее (была --n100, сливалась со светлым фоном). — */
section[class*="bm-tst-slider-"] .bm-c{border-color:var(--n200)!important}


/* — [твик] Прилипающий футер: при коротком контенте прижат к нижнему краю окна. — */
body{min-height:100vh;display:flex;flex-direction:column}
body > footer.ub-footer{margin-top:auto}

/* — [твик] Иконки контактов на тёмном блоке (contacts/map-right): плашка — фирменный зелёный, иконка — белая (были тёмные на тёмном, сливались). — */
[class*="bm-con-map-right-"] .bm-ci-i{background:var(--a)!important}
[class*="bm-con-map-right-"] .bm-ci-i svg rect,[class*="bm-con-map-right-"] .bm-ci-i svg path,[class*="bm-con-map-right-"] .bm-ci-i svg circle{stroke:#fff!important}
[class*="bm-con-map-right-"] .bm-ci{color:#fff}
[class*="bm-con-map-right-"] .bm-ci a{color:#fff}

/* — [твик] Мобильные отступы блоков: поджаты (десктопные 48/40 на узком экране давали слишком большой зазор). — */
@media(max-width:768px){
  section[class*="bm-txt-"],section[class*="bm-feat-"],section[class*="bm-srv-"],
  section[class*="bm-stp-"],section[class*="bm-faq-"],section[class*="bm-cta-"],
  section[class*="bm-prc-"],section[class*="bm-tst-"],section[class*="bm-con-"],
  section[class*="bm-frm-"]{padding-top:32px!important;padding-bottom:28px!important}
  section[class*="bm-hero-standard-"]{padding-bottom:28px!important}
}

/* — [твик] Мягкая тень под карточками отзывов (слайдер) — плашка приподнята над фоном. — */
section[class*="bm-tst-slider-"] .bm-c{box-shadow:0 6px 24px color-mix(in srgb,var(--dk) 14%,transparent)!important}

/* — [твик] Тарифы на мобиле: сравнительная таблица ужимается в ширину экрана — все тарифы видны без горизонтального скролла. — */
@media(max-width:640px){
  .bm-prc-comparison-52 .bm-tbl{overflow-x:visible!important;max-width:100%!important}
  .bm-prc-comparison-52 table{min-width:0!important;width:100%!important;table-layout:fixed}
  .bm-prc-comparison-52 th,.bm-prc-comparison-52 td{padding:7px 3px!important;font-size:.72rem;word-break:break-word;hyphens:auto;overflow-wrap:anywhere}
  .bm-prc-comparison-52 th.bm-fc,.bm-prc-comparison-52 td.bm-fc{width:34%;font-size:.72rem;padding-right:6px!important}
  .bm-prc-comparison-52 .bm-nm{font-size:.8rem;line-height:1.12;word-break:break-word}
  .bm-prc-comparison-52 .bm-pr{font-size:.62rem;margin-top:3px}
  .bm-prc-comparison-52 .bm-bg{font-size:.56rem;padding:2px 6px;margin-bottom:6px}
  .bm-prc-comparison-52 .bm-yes svg,.bm-prc-comparison-52 .bm-yes{width:16px;height:16px}
  .bm-prc-comparison-52 tfoot td{padding-top:14px}
  .bm-prc-comparison-52 tfoot .btn{max-width:none!important;width:100%;font-size:.56rem!important;padding:6px 2px!important;white-space:normal!important;line-height:1.1;word-break:break-word;hyphens:auto}
}

/* — [твик] Футер: контакты по центру; ниже — копирайт слева, справа ссылки и бейдж «Мой бизнес» в один ряд. — */
.ub-footer .ub-footer-contacts h3{display:none}
.ub-footer .ub-footer-contacts{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 28px;text-align:center}
.ub-footer .ub-footer-contacts > div{margin:0!important}
.ub-footer > .container > .grid{margin-bottom:18px!important}
.ub-footer .ub-footer-border{padding-top:18px!important;margin-top:0!important}
.ub-footer .ub-footer-border > .flex{display:flex!important;flex-direction:row;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px 24px}
.ub-footer .ub-footer-right-col{display:flex!important;flex-direction:row;align-items:center;gap:14px 26px;flex-wrap:wrap;justify-content:flex-end}
.ub-footer .ub-footer-legal{display:flex;gap:0 22px!important;flex-wrap:nowrap}
.ub-footer-dev-block{margin:0!important;display:flex;justify-content:flex-end}
.ub-footer-dev-block .ub-footer-dev{flex-direction:row-reverse;gap:8px;align-items:center}
.ub-footer-dev-block .ub-footer-dev span{font-size:.75rem;line-height:1.15;color:var(--footer-muted,#9AA9BC)}
.ub-footer-dev-block .ub-footer-dev img{height:28px}
@media(max-width:768px){
  .ub-footer .ub-footer-border > .flex{flex-direction:column;justify-content:center;text-align:center;gap:14px}
  .ub-footer .ub-footer-right-col{justify-content:center;flex-direction:column;gap:12px}
}

/* — [твик] Иконки в шапке: конверт перед email, трубка перед телефоном (фирменный цвет). — */
/* — [твик] Шапка: телефон и почта — иконки-кружки, плюс CTA-кнопка «Оставить заявку» (открывает модалку формы) — */
.ub-header-contacts{display:flex;align-items:center;gap:10px}
.ub-header-phones,.ub-header-email{margin-right:0!important;gap:0!important}
.ub-header-phones a.ub-header-phone,.ub-header-email a{font-size:0!important;line-height:0!important;width:40px;height:40px;border-radius:50%;display:inline-flex!important;align-items:center;justify-content:center;background:color-mix(in srgb,var(--p) 7%,transparent);border:1px solid color-mix(in srgb,var(--p) 16%,transparent);transition:background .15s,border-color .15s}
.ub-header-phones a.ub-header-phone:hover,.ub-header-email a:hover{background:color-mix(in srgb,var(--p) 14%,transparent);border-color:color-mix(in srgb,var(--p) 30%,transparent)}
.ub-header-email a::before,.ub-header-phone::before{content:"";display:block;width:18px;height:18px;margin:0;vertical-align:0;background-repeat:no-repeat;background-position:center;background-size:contain}
.ub-header-cta{display:inline-flex;align-items:center;justify-content:center;height:40px;padding:0 18px;margin-left:2px;border-radius:8px;background:var(--a);color:#fff!important;font-size:.875rem;font-weight:600;line-height:1;white-space:nowrap;border:0;cursor:pointer;text-decoration:none;transition:background .15s}
.ub-header-cta:hover{background:color-mix(in srgb,var(--a) 86%,#000)}
@media(max-width:768px){.ub-header-cta{display:none}}
.ub-header-email a::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2314304F%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%222%22%20y%3D%224%22%20width%3D%2220%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22m22%207-10%205L2%207%22%2F%3E%3C%2Fsvg%3E")}
.ub-header-phone::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2314304F%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%204h4l2%205l-2.5%201.5a11%2011%200%200%200%205%205l1.5%20-2.5l5%202v4a2%202%200%200%201%20-2%202a16%2016%200%200%201%20-15%20-15a2%202%200%200%201%202%20-2%22%2F%3E%3C%2Fsvg%3E")}

/* — [твик] Адрес строкой в блоке контактов главной (map-right не выводит address). — */
.bm-con-map-right-25 .bm-info{position:relative;display:flex;flex-direction:column}
.bm-con-map-right-25 .bm-info form,.bm-con-map-right-25 .bm-info .bm-fb{order:1}
.bm-con-map-right-25 .bm-info::after{content:"г. Краснодар, ул. Кубанская Набережная 4";display:flex;align-items:center;gap:12px;color:#c7d0dc;order:0;margin:0 0 16px;font-size:1rem;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Crect width='36' height='36' rx='10' fill='%2334694E'/%3E%3Cg transform='translate(9 9)' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 7c0 5-6 9-6 9s-6-4-6-9a6 6 0 0 1 12 0z'/%3E%3Ccircle cx='9' cy='7' r='2'/%3E%3C/g%3E%3C/svg%3E") no-repeat left center;padding-left:48px;min-height:36px}


/* — [твик] Блок контактов на странице «Контакты» (#69): скрыта заглушка «Соцсети», сетка 3 колонки. — */
.bm-con-card-69 .bm-g{grid-template-columns:repeat(3,1fr)!important}
.bm-con-card-69 .bm-g .bm-c:nth-child(4){display:none}
@media(max-width:768px){.bm-con-card-69 .bm-g{grid-template-columns:1fr!important;gap:16px}}

/* — [твик] Форма «Оставить заявку» (#36): интро сверху по центру, форма на всю ширину, поля Имя|Телефон в 2 колонки. — */
.bm-frm-standard-36 .bm-sp{grid-template-columns:1fr!important;gap:28px!important}
.bm-frm-standard-36 .bm-intro{text-align:center;max-width:760px;margin:0 auto}
.bm-frm-standard-36 form.bm-box{display:grid;grid-template-columns:1fr 1fr;gap:16px 20px;width:100%;max-width:none;align-content:start}
.bm-frm-standard-36 form.bm-box > .fg:nth-child(6),
.bm-frm-standard-36 form.bm-box > .fg:nth-child(7),
.bm-frm-standard-36 form.bm-box > .bm-consent,
.bm-frm-standard-36 form.bm-box > .btn{grid-column:1 / -1}
@media(max-width:768px){.bm-frm-standard-36 form.bm-box{grid-template-columns:1fr}.bm-frm-standard-36 form.bm-box>*{grid-column:1 / -1!important}}

/* — [фикс Safari] Иконки шапки как inline-SVG (data-URI не рендерился в Safari): скрываем ::before, показываем настоящий svg. — */
.ub-header-phone.has-ic::before,.ub-header-email a.has-ic::before{display:none!important}
.ub-header-phones a.ub-header-phone,.ub-header-email a{position:relative;text-decoration:none!important}
.ub-header-contacts svg.ub-ic{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:18px;height:18px;display:block}
.ub-header-phones a.ub-header-phone::after,.ub-header-email a::after{content:none!important}
