/* Заглушка baertaxi.ru на время переезда с Битрикс24.
   Фирстиль БАЭР (гайд «Логотип», ноябрь 2026): янтарный #FFA300, чёрный #1C1C1C, белый, серый фон #F4F2F2;
   шрифт Roboto Flex — заголовки широкие и жирные, текст обычной ширины. */
/* Roboto Flex (OFL, fonts/OFL.txt) — свои файлы, без Google Fonts: только оси wght 400–800 и wdth 100–140, ~50 КБ */
@font-face { font-family: 'Roboto Flex'; font-style: normal; font-display: swap; font-weight: 400 800; font-stretch: 100% 140%;
  src: url(/fonts/roboto-flex-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Roboto Flex'; font-style: normal; font-display: swap; font-weight: 400 800; font-stretch: 100% 140%;
  src: url(/fonts/roboto-flex-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Roboto Flex'; font-style: normal; font-display: swap; font-weight: 400 800; font-stretch: 100% 140%;
  src: url(/fonts/roboto-flex-rub.woff2) format('woff2'); unicode-range: U+20BD; }
:root {
  --bg: #ffffff; --bg-alt: #f4f2f2; --text: #1c1c1c; --muted: #5e5a5a; --border: #e3dfdf;
  --dark: #1c1c1c; --dark-text: #ffffff; --dark-muted: #bdb8b8; --accent: #ffa300; --accent-text: #1c1c1c;
  --radius: 14px; --wrap: 1080px;
  --logo-h: 28px; /* высота логотипа = высота знака = охранное поле */
  font-family: 'Roboto Flex', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-stretch: 100%; font-weight: 400;
  color: var(--text); background: var(--bg); line-height: 1.4; -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
/* Заголовки: ширина 140, жирность 720, интерлиньяж 106%, межбуквенное +1% */
h1, h2, h3 { font-stretch: 140%; font-weight: 720; letter-spacing: 0.01em; overflow-wrap: break-word; }
h1 { font-size: clamp(28px, 6vw, 48px); line-height: 1.06; margin: 0 0 16px; }
h2 { font-size: clamp(22px, 4vw, 32px); line-height: 1.06; margin: 0 0 20px; }
h3 { font-size: 18px; line-height: 1.2; margin: 0 0 8px; font-stretch: 120%; } /* длинные заголовки карточек — чуть уже, чтобы читались */
p { margin: 0 0 12px; }
ul { margin: 0 0 12px; padding-left: 20px; }
/* поля страницы = охранное поле логотипа, чтобы логотип не прижимался к краю */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--logo-h); }
.muted { color: var(--muted); }
.section { padding: 48px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: var(--dark-text); }
.section--dark .muted { color: var(--dark-muted); }

/* Шапка: вокруг логотипа свободное поле в высоту знака (--logo-h) — до краёв и до текста */
.header { border-bottom: 1px solid var(--border); background: #fff; }
.header__row { display: flex; align-items: center; gap: var(--logo-h); flex-wrap: wrap; padding-top: var(--logo-h); padding-bottom: var(--logo-h); }
.header__logo { display: block; flex: none; }
.header__logo img { height: var(--logo-h); width: auto; }
.header__badge { font-size: 13px; color: var(--muted); }
.header__phone { margin-left: auto; font-weight: 800; font-size: 18px; text-decoration: none; white-space: nowrap; }

/* Кнопки: янтарная плашка, текст чёрный (янтарный на белом для текста не годится) */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 2px solid var(--accent); background: var(--accent); color: var(--accent-text);
  font-weight: 700; font-size: 16px; text-decoration: none; }
.btn--ghost { background: transparent; border-color: currentColor; color: inherit; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.card { background: #fff; color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card__body .btn { margin-top: auto; align-self: flex-start; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.num { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-text);
  font-weight: 800; align-items: center; justify-content: center; margin-bottom: 10px; }
.big { font-size: 34px; font-stretch: 140%; font-weight: 800; line-height: 1.06; margin-bottom: 6px; }
.steps { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.steps img { border-radius: 12px; border: 1px solid var(--border); margin-top: 10px; }
.links { display: flex; gap: 10px; flex-wrap: wrap; }
.faq details { border-bottom: 1px solid var(--border); padding: 14px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin-top: 8px; }
.cert { max-width: 320px; margin: 0 auto; }
.doc { max-width: 820px; }
.doc h1 { font-size: clamp(24px, 5vw, 34px); }
.doc h2 { font-size: 20px; line-height: 1.2; margin-top: 28px; margin-bottom: 10px; }
.doc p { overflow-wrap: anywhere; }

.footer { padding: 32px 0; border-top: 1px solid var(--border); font-size: 15px; }
.footer__row { display: flex; gap: 12px 24px; flex-wrap: wrap; }

/* Мобильный: логотип 20 px (минимум для знака в логотипе — 16 px), поле и поля страницы тоже 20 px */
@media (max-width: 480px) {
  :root { --logo-h: 20px; }
  /* логотип — своей строкой с полем снизу, бейдж и телефон под ним плотнее */
  .header__row { row-gap: 8px; }
  .header__logo { flex-basis: 100%; margin-bottom: calc(var(--logo-h) - 8px); }
  .header__phone { margin-left: 0; }
}
