/* Общие стили, которые раньше давала Тильда */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Open Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}
:root {
  /* Цвета: 60% белый/tint, 30% ink/brand, 10% accent. Один цвет — одно значение. */
  --ink: #0B2A6F;     /* заголовки, тёмные секции */
  --brand: #1E5BFF;   /* основное действие */
  --accent: #FF7A1A;  /* цены и микро-акценты */
  --accent-text: #C2410C; /* тот же оранжевый, затемнённый: --accent на белом даёт контраст 2.6:1, для текста нужно 4.5:1 */
  --neon: #00E5FF;    /* только декор на тёмном фоне */
  --tint: #EEF4FF;
  --text: #1A1A1A;
  --muted: #5A6472;
  --bg: #FFFFFF;
  --t-text-font: 'Inter', 'Open Sans', sans-serif;
  --t-headline-font: 'Montserrat', sans-serif;
}
h1, h2, h3 { letter-spacing: -0.02em; }

/* Кнопки: все основные одинаковые, вторичная — прозрачная с рамкой */
.t-btnflex {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: var(--h);
  box-sizing: border-box;
  border: 1.5px solid transparent;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  text-align: center;
  font-family: var(--t-headline-font);
  font-weight: 600;
  line-height: 1.3;
  transition: opacity .2s, transform .2s;
}
.t-btnflex__text { color: inherit; }
.t-btnflex:hover { opacity: .9; }
.t-btnflex:active { transform: scale(.98); }
.t-btnflex_ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.vb-m9k-hero .t-btnflex_ghost,
.vb-m9k-buyback .t-btnflex_ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.t-btnflex_lg { --h: 56px; font-size: 1.125rem; padding: 0 36px; }
.t-btnflex_sm { --h: 44px; font-size: 0.875rem; padding: 0 24px; }
@media (max-width: 640px) {
  .t-btnflex { white-space: normal; }
  .t-btnflex_lg { font-size: 1rem; padding: 10px 24px; }
  .t-btnflex_sm { padding: 0 20px; }
}

.t-input-error:empty { display: none; }

/* Сообщение после отправки формы */
.t-form__successbox {
  padding: 16px 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: #E8F5E9;
  color: #1B5E20;
  font-size: 15px;
  line-height: 1.5;
}

/* Закреплённая кнопка «Позвонить» на телефонах */
.vb-m9k-callbar { display: none; }
@media (max-width: 640px) {
  .vb-m9k-callbar {
    display: flex;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 90;
    --h: 52px;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(11,42,111,.35);
  }
  /* место под кнопку, чтобы она не перекрывала подвал */
  #footer.vb-m9k-footer { padding-bottom: 96px; }
}
