/* ===== Новый подвал сайта (Бухгалтерия Просто, 10.2026) ===== */
.bp-footer {
  --bp-bg: #fbf4f0;
  --bp-text: #333333;
  --bp-muted: #7a7a7a;
  --bp-accent: #ffa585;
  --bp-line: rgba(0, 0, 0, 0.08);
  background: var(--bp-bg);
  color: var(--bp-text);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  padding: 48px 0 24px;
}
.bp-footer a { color: var(--bp-text); text-decoration: none; transition: color .2s; }
.bp-footer a:hover { color: var(--bp-accent); }

.bp-footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr 1.2fr;
  gap: 32px;
}
.bp-footer__logo img { width: 190px; height: auto; display: block; }
.bp-footer__about { color: var(--bp-muted); margin: 16px 0 20px; max-width: 300px; }
.bp-footer__title { font-weight: 600; font-size: 17px; color: #222; margin-bottom: 14px; }
.bp-footer__list { list-style: none; padding: 0; margin: 0; }
.bp-footer__list li { margin-bottom: 9px; }
.bp-footer__contact { margin-bottom: 10px; }
.bp-footer__contact span { display: block; color: var(--bp-muted); font-size: 13px; }

.bp-footer__btn {
  display: inline-block;
  background: var(--bp-accent);
  color: #fff !important;
  font-weight: 600;
  border-radius: 30px;
  padding: 12px 28px;
}
.bp-footer__btn:hover { background: #ff8f66; }

.bp-footer__middle {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--bp-line);
  align-items: start;
}
.bp-footer__pills { display: flex; flex-wrap: wrap; gap: 10px; }
.bp-footer__pill {
  background: #ffffff;
  border: 1px solid rgba(255, 165, 133, 0.45);
  border-radius: 20px;
  padding: 5px 16px;
  font-weight: 600;
  font-size: 14px;
}
.bp-footer__trust { min-height: 50px; }
.bp-footer { border-top: 3px solid var(--bp-accent); }

.bp-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--bp-line);
  color: var(--bp-muted);
  font-size: 13px;
}
.bp-footer__bottom a { color: var(--bp-muted); }
.bp-footer__dev { margin-left: auto; }

@media (max-width: 991px) {
  .bp-footer__top { grid-template-columns: 1fr 1fr; }
  .bp-footer__middle { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
  .bp-footer { padding-top: 36px; }
  .bp-footer__top, .bp-footer__middle { grid-template-columns: 1fr; gap: 24px; }
  .bp-footer__bottom { flex-direction: column; }
  .bp-footer__dev { margin-left: 0; }
}

/* ===== Галочка согласия в формах ===== */
.consent { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 13px; line-height: 1.45; text-align: left; margin: 4px 0 0; }
.consent input { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; accent-color: #ffa585; cursor: pointer; }
.consent a { color: #ff8f66; text-decoration: underline; }
.error_consent { display: block; color: #dc3545; font-size: 12px; margin-top: 4px; }
.form-consent { margin: 4px 0 18px; }

/* ===== Иконка MAX в шапке (вместо WhatsApp) ===== */
.header-messenger-link.max {
  width: 22px;
  height: 22px;
  background: url("../img/icon-max.svg") no-repeat center / contain;
}

/* ===== Текстовые страницы (политика, согласие) ===== */
.text-page { padding-top: 50px; padding-bottom: 70px; }
.text-page h1 { margin-bottom: 28px; }
.text-page__content { max-width: 860px; font-size: 16px; line-height: 1.65; color: #333; }
.text-page__content h2 { font-size: 22px; font-weight: 600; margin: 32px 0 12px; }
.text-page__content h3 { font-size: 18px; font-weight: 600; margin: 22px 0 10px; }
.text-page__content p { margin: 0 0 12px; }
.text-page__content ul { padding-left: 22px; margin: 0 0 14px; }
.text-page__content li { margin-bottom: 6px; }
.text-page__content a { color: #ff8f66; text-decoration: underline; word-break: break-word; }

/* ===== Уведомление о cookie ===== */
.cookie-note {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000;
  max-width: 560px; margin: 0 auto;
  display: none; align-items: center; gap: 16px;
  background: #fff; color: #333; border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
  padding: 14px 18px; font-size: 13px; line-height: 1.45;
}
.cookie-note.is-visible { display: flex; }
.cookie-note a { color: #ff8f66; text-decoration: underline; }
.cookie-note button {
  flex-shrink: 0; border: 0; border-radius: 20px; padding: 8px 20px;
  background: #ffa585; color: #fff; font-weight: 600; cursor: pointer;
}
.cookie-note button:hover { background: #ff8f66; }
@media (max-width: 575px) { .cookie-note { flex-direction: column; align-items: stretch; text-align: left; } }

.captcha-note { font-size: 11px; color: #9a9a9a; margin-top: 6px; line-height: 1.4; }
.captcha-note a { color: #9a9a9a; text-decoration: underline; }

/* Иконка ВК в шапке — SVG (перекрывает vk-icon.png из style.css) */
.header-messenger-link.vk { background-image: url("/assets/images/vk-icon.svg"); }
