/* ===== Фирменные цвета и основа ===== */
:root {
  --blue: #011C75;      /* тёмно-синий из логотипа */
  --blue-dark: #00114a;
  --orange: #FF3102;    /* оранжево-красный из логотипа */
  --orange-dark: #d92800;
  --text: #1a1f36;
  --muted: #5b6275;
  --gray: #f3f5fa;
  --white: #fff;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.accent { color: var(--orange); }

/* ===== Кнопки ===== */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--orange); color: var(--white); }
.btn--accent:hover { background: var(--orange-dark); }
.btn--light { background: var(--white); color: var(--blue); }
.btn--light:hover { background: #e6e9f3; }

/* ===== Шапка ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e6e9f0;
}
.header__inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__text { font-size: 27px; font-weight: 800; color: var(--blue); line-height: 1; letter-spacing: -.5px; }
.logo__sub { display: block; font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; color: var(--blue); }
.nav a:hover { color: var(--orange); }
.header__contacts { text-align: right; position: relative; }
.header__phone { display: block; font-weight: 800; color: var(--blue); text-decoration: none; font-size: 18px; }
.header__hours { font-size: 12px; color: var(--muted); }
/* Карточка «где мы находимся» под телефоном в шапке */
.place-card {
  position: absolute; top: 100%; right: -12px; width: 270px; margin-top: 10px;
  background: var(--white); border-radius: 14px; overflow: hidden; text-align: left;
  box-shadow: 0 16px 40px rgba(1, 28, 117, .18);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.place-card::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; } /* мостик, чтобы карточка не пропадала по пути мыши */
.header__contacts:hover .place-card, .header__contacts:focus-within .place-card { opacity: 1; visibility: visible; transform: none; }
.place-card__photo { display: block; width: 100%; height: 120px; object-fit: cover; }
.place-card__body { padding: 14px 16px 16px; display: grid; gap: 8px; }
.place-card__name { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.place-card__phone { font-size: 18px; font-weight: 800; color: var(--blue); text-decoration: none; }
.place-card__address { margin: 0; font-size: 14px; line-height: 1.4; color: var(--text); }
.place-card__open { margin: 0; font-size: 14px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.place-card__open::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22a55a; flex: none; }
.place-card__open.is-closed::before { background: var(--orange); }
.place-card__note { margin: -4px 0 0; font-size: 12px; line-height: 1.4; color: var(--muted); }
.place-card__route { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--orange); text-decoration: none; }
.place-card__route:hover { text-decoration: underline; }
.place-card__social { display: flex; gap: 10px; margin-top: 4px; }
.place-card__social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #eef1f8; color: var(--blue); transition: .2s; }
.place-card__social a:hover { background: var(--blue); color: var(--white); }
@media (max-width: 1240px) { .nav { gap: 16px; } .nav a { font-size: 15px; } }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.burger span { display: block; width: 24px; height: 2px; background: var(--blue); margin: 5px 0; transition: .2s; }

/* ===== Главный экран ===== */
.hero {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(1,28,117,.92) 0%, rgba(1,28,117,.82) 32%, rgba(1,28,117,.4) 55%, rgba(1,28,117,0) 75%),
    url("../images/lot-1.webp") center / cover no-repeat;
  padding: 90px 0 60px;
}
.hero__inner, .lot__overlay { text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.hero__inner .btn, .lot__overlay .btn { text-shadow: none; }
.hero__place { font-weight: 600; opacity: .85; margin-bottom: 12px; }
.hero h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.08; font-weight: 800; letter-spacing: -1px; }
.hero__lead { max-width: 560px; font-size: 18px; margin: 20px 0 32px; opacity: .92; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.stats {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 64px;
}
.stats li {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.stats b { display: block; font-size: 30px; font-weight: 800; }
.stats span { font-size: 14px; opacity: .85; }

/* ===== Секции ===== */
.section { padding: 80px 0; }
.section--gray { background: var(--gray); }
.section--dark { background: var(--blue); color: var(--white); }
.section__title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--blue); letter-spacing: -.5px; margin-bottom: 12px; }
.section--dark .section__title { color: var(--white); }
.section__lead { color: var(--muted); font-size: 17px; margin-bottom: 40px; }

/* Услуги */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--white);
  border: 1px solid #e6e9f0;
  border-radius: var(--radius);
  padding: 24px;
  display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 12px 30px rgba(1,28,117,.1); transform: translateY(-3px); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; background: #eef1f8; color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card--accent .card__icon { background: rgba(255, 255, 255, .12); color: var(--white); }
.card h3 { font-size: 18px; color: var(--blue); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; flex: 1; }
.card__link { margin-top: 16px; font-weight: 700; color: var(--orange); text-decoration: none; }
.card--accent { background: var(--blue); border-color: var(--blue); }
.card--accent h3, .card--accent p { color: var(--white); }
.card--accent p { opacity: .85; }

/* Почему мы */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.why__photo img { border-radius: var(--radius); box-shadow: 0 20px 40px rgba(0,0,0,.12); }
.checks { list-style: none; display: grid; gap: 16px; margin-top: 20px; }
.checks li { position: relative; padding-left: 36px; color: var(--muted); }
.checks li b { color: var(--blue); }
.checks li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  font-size: 13px; font-weight: 800;
  display: grid; place-items: center;
}

/* Шаги */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.steps li { position: relative; padding-top: 8px; }
.steps span {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  font-size: 20px; font-weight: 800;
  margin-bottom: 16px;
}
.steps h3 { color: var(--blue); margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15px; }

/* Площадка */
.lot { position: relative; height: 440px; overflow: hidden; }
.lot > img { width: 100%; height: 100%; object-fit: cover; }
.lot__overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  background: linear-gradient(90deg, rgba(1,28,117,.92) 0%, rgba(1,28,117,.82) 32%, rgba(1,28,117,.4) 55%, rgba(1,28,117,0) 75%);
  color: var(--white);
}
.lot h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.lot p { margin: 8px 0 24px; opacity: .9; }
.lot__links { display: flex; flex-wrap: wrap; gap: 12px; }

/* Отзывы */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--gray); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; margin: 0; }
.review__photo { display: block; width: 100%; height: 220px; object-fit: cover; }
.review__body { padding: 22px 28px 28px; }
.review__stars { color: #ffb400; font-size: 20px; letter-spacing: 2px; }
.review blockquote { margin: 12px 0 16px; font-size: 16px; }
.review figcaption { font-size: 14px; color: var(--muted); }
.review figcaption b { color: var(--blue); }
.reviews__more { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 28px; }
.reviews__more a { color: var(--orange); font-weight: 700; }

/* Заявка */
.order { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.order__text p { opacity: .9; margin-bottom: 12px; font-size: 17px; }
.order__text a { color: var(--white); font-weight: 800; }
.form {
  background: var(--white); color: var(--text);
  border-radius: var(--radius); padding: 28px;
  display: grid; gap: 16px;
}
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 16px; color: var(--text);
  padding: 12px 14px;
  border: 1px solid #d5d9e4; border-radius: 10px;
  background: var(--white);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--orange); border-color: transparent; }
.form__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.form .btn--light { border: 1px solid var(--blue); }

/* Контакты */
.contacts { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
.contacts dl { display: grid; gap: 4px; margin: 20px 0 24px; }
.contacts dt { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-top: 12px; }
.contacts dd { font-size: 17px; font-weight: 600; }
.contacts dd a { color: var(--blue); }
.contacts__social { display: flex; gap: 16px; }
.contacts__photo { border-radius: var(--radius); }
.contacts__map { min-height: 420px; border-radius: var(--radius); overflow: hidden; }
.contacts__map iframe { width: 100% !important; height: 100% !important; min-height: 420px; border: 0; }
.contacts__map .dg-widget-link { display: none; }

/* Подвал */
.footer { background: var(--blue-dark); color: rgba(255,255,255,.75); padding: 32px 0; font-size: 14px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer img { display: block; width: 74px; height: auto; }
.footer__contact { margin: 12px 0 0; color: rgba(255,255,255,.75); }
.footer__contact a { color: var(--white); font-weight: 700; text-decoration: none; }
.footer__links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--white); }

/* ===== Адаптив ===== */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .header__contacts { display: none; }
}

@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    display: none;
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--white);
    border-bottom: 1px solid #e6e9f0;
    box-shadow: 0 10px 20px rgba(0,0,0,.06);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 16px; border-top: 1px solid #f0f2f7; }

  .hero { padding: 60px 0 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
  .why, .order, .contacts { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}

@media (max-width: 520px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .logo__sub { display: none; }
  .logo__text { font-size: 23px; }
  .logo img { width: 62px; height: auto; }
  .hero__buttons .btn, .form__buttons .btn { width: 100%; text-align: center; }
  .stats b { font-size: 24px; }
}

/* Галочка согласия в форме */
.form .form__agree { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; font-size: 13px; line-height: 1.4; }
.form .form__agree input { width: 18px; height: 18px; flex: none; margin-top: 1px; padding: 0; accent-color: var(--orange); }
.form__agree a { color: var(--blue); }

/* Реквизиты в подвале */
.footer__legal { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; line-height: 1.6; color: rgba(255,255,255,.55); display: grid; gap: 6px; }
.footer__legal a { color: rgba(255,255,255,.75); }

/* Страницы документов (политика, согласие) */
.doc { padding: 48px 0 72px; }
.doc .container { max-width: 820px; }
.doc h1 { font-size: clamp(26px, 4vw, 36px); color: var(--blue); line-height: 1.2; margin-bottom: 8px; }
.doc h2 { font-size: 20px; color: var(--blue); margin: 28px 0 10px; }
.doc p, .doc li { margin-bottom: 10px; line-height: 1.65; }
.doc ul { padding-left: 22px; }
.doc__date { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.doc__back { display: inline-block; margin-bottom: 24px; color: var(--blue); font-weight: 600; }

/* Онлайн-оценка: два поля в строку и светлый фон */
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.section--gray .order__text p { opacity: 1; color: var(--muted); }
.section--gray .order__text .checks { margin: 8px 0 20px; }
.section--gray .form { box-shadow: 0 10px 30px rgba(1, 28, 117, .08); }
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
}

/* Фото на телефоне показываем целиком, без обрезки */
.hero__photo { display: none; }
@media (max-width: 860px) {
  .hero { background: var(--blue); padding-top: 0; }
  .hero__photo { display: block; width: 100%; height: auto; margin-bottom: 28px; }

  .lot { height: auto; background: var(--blue); }
  .lot > img { height: auto; object-fit: initial; display: block; }
  .lot__overlay { position: static; background: none; padding: 28px 0 40px; }

  /* Фото видно сверху целиком, книзу плавно уходит в синий фон под текстом */
  .hero__photo, .lot > img {
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  }
  .hero__photo { margin-bottom: 0; }
  .lot__overlay { margin-top: -24px; position: relative; }
}

/* Карта 2ГИС не должна растягивать страницу на телефоне */
.contacts > * { min-width: 0; }
.contacts__map, .contacts__map > div { width: 100% !important; max-width: 100%; }

/* ===== Слайдер с предложениями ===== */
.promo { padding: 40px 0 0; }
.slider { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--blue); }
.slider__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slide {
  position: relative;
  flex: 0 0 100%;
  min-height: 420px;
  scroll-snap-align: start;
  display: flex; align-items: center;
  color: var(--white);
}
.slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* синий слева, к середине растворяется — справа фото видно полностью */
.slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(1,28,117,.92) 0%, rgba(1,28,117,.8) 30%, rgba(1,28,117,.35) 55%, rgba(1,28,117,0) 75%);
}
.slide__content { position: relative; z-index: 2; padding: 48px 80px 56px; max-width: 800px; }
.slide__title { display: grid; justify-items: start; gap: 10px; font-size: clamp(26px, 3.8vw, 44px); line-height: 1.15; font-weight: 800; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.slide__title span:first-child { background: var(--orange); padding: 4px 16px; border-radius: 8px; text-shadow: none; }
.slide__features { list-style: none; display: flex; flex-wrap: wrap; margin: 22px 0 28px; padding: 0; }
.slide__features li { display: flex; align-items: center; gap: 12px; max-width: 250px; font-size: 15px; line-height: 1.35; }
.slide__features li + li { margin-left: 18px; padding-left: 18px; border-left: 1px solid rgba(255,255,255,.3); }
.slide__features i {
  flex: 0 0 44px; height: 44px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
}
.slide__features svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.slide .btn--accent { padding: 16px 30px; box-shadow: 0 8px 24px rgba(255,49,2,.35); }

.slider__arrow {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.85); color: var(--blue);
  font-size: 28px; line-height: 1;
}
.slider__arrow:hover { background: var(--white); }
.slider__arrow--prev { left: 14px; }
.slider__arrow--next { right: 14px; }
.slider__dots { position: absolute; bottom: 16px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.slider__dots button {
  width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.5); transition: width .3s, background .3s;
}
.slider__dots button.is-active { width: 28px; background: var(--white); }

@media (max-width: 860px) {
  .promo { padding-top: 24px; }
  .slider__arrow { display: none; }
  .slide { min-height: 480px; align-items: flex-end; }
  .slide::before { background: linear-gradient(0deg, rgba(1,28,117,.97) 0%, rgba(1,28,117,.85) 50%, rgba(1,28,117,.1) 85%); }
  .slide__content { padding: 24px 20px 48px; }
  .slide__features { flex-direction: column; gap: 10px; margin: 16px 0 20px; }
  .slide__features li { max-width: none; font-size: 14px; }
  .slide__features li + li { margin-left: 0; padding-left: 0; border-left: 0; }
  .slide__features i { flex-basis: 38px; height: 38px; }
}

/* Отзывы на телефоне листаются пальцем */
@media (max-width: 860px) {
  .reviews {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none;
  }
  .reviews::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 85%; scroll-snap-align: center; }
}

/* ===== Кнопки связи в правом нижнем углу ===== */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; align-items: flex-end; gap: 12px;
  transition: bottom .3s;
}
.fab__btn {
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--blue); color: var(--white); text-decoration: none;
  box-shadow: 0 8px 20px rgba(1,28,117,.35);
  transition: transform .2s, background .2s;
}
.fab__btn:hover { transform: scale(1.06); }
.fab__btn--chat { position: relative; background: var(--orange); box-shadow: 0 8px 20px rgba(255,49,2,.4); }
/* Расходящиеся круги, чтобы кнопку заметили */
.fab__btn--chat::before, .fab__btn--chat::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--orange); opacity: 0;
  animation: fab-ring 2.4s ease-out infinite;
}
.fab__btn--chat::after { animation-delay: 1.2s; }
@keyframes fab-ring {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.7); opacity: 0; }
}
.fab__menu {
  position: absolute; right: 0; bottom: 72px;
  width: 260px; padding: 16px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(1,28,117,.2);
  display: grid; gap: 6px;
}
.fab__menu[hidden] { display: none; }
.fab__title { font-weight: 800; color: var(--blue); margin-bottom: 4px; }
.fab__menu a {
  padding: 10px 12px; border-radius: 10px;
  background: var(--gray); text-decoration: none; font-weight: 600; color: var(--text);
}
.fab__menu a:hover { background: #e6e9f3; color: var(--orange); }
@media (prefers-reduced-motion: reduce) {
  .fab__btn--chat::before, .fab__btn--chat::after { animation: none; }
}

/* ===== Уведомление о cookie ===== */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 70;
  width: min(460px, calc(100% - 40px));
  display: flex; align-items: center; gap: 18px;
  padding: 18px 20px;
  background: #1f2433; color: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
}
.cookie[hidden] { display: none; }
.cookie__text { display: grid; gap: 4px; font-size: 14px; line-height: 1.35; }
.cookie__text b { font-size: 17px; }
.cookie__text span { opacity: .8; }
.cookie__buttons { display: grid; gap: 8px; flex: none; }
.cookie__ok, .cookie__more {
  padding: 10px 22px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 700; font-size: 14px; text-align: center; text-decoration: none; cursor: pointer;
}
.cookie__ok { background: var(--white); color: var(--blue); }
.cookie__more { background: rgba(255,255,255,.12); color: var(--white); }
.cookie__more:hover { background: rgba(255,255,255,.2); }
@media (max-width: 860px) {
  .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; }
  /* Пока висит уведомление, кнопки связи поднимаем над ним */
  body.has-cookie .fab { bottom: 150px; }
  .fab { right: 14px; bottom: 14px; }
  /* Место внизу подвала, чтобы круглые кнопки связи не закрывали ссылки */
  .footer { padding-bottom: 96px; }
}
@media (max-width: 420px) {
  .cookie { flex-direction: column; align-items: stretch; }
  .cookie__buttons { grid-template-columns: 1fr 1fr; }
  body.has-cookie .fab { bottom: 200px; }
}

/* ===== Окошко с номером (на компьютере) ===== */
.phone-box {
  margin: auto; border: 0; border-radius: var(--radius);
  padding: 0; width: min(360px, calc(100% - 32px));
  text-align: center; color: var(--text);
  box-shadow: 0 20px 50px rgba(1,28,117,.3);
}
.phone-box__inner { padding: 28px; }
.phone-box::backdrop { background: rgba(0,17,74,.45); }
.phone-box__label { color: var(--muted); font-weight: 600; }
.phone-box__number { font-size: 28px; font-weight: 800; color: var(--blue); margin: 6px 0 4px; white-space: nowrap; }
.phone-box__hours { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.phone-box__buttons { display: grid; gap: 10px; }
.phone-box .btn--light { border: 1px solid #d5d9e4; }

.contacts__note { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--muted); line-height: 1.45; }

/* ===== Ответ после отправки формы ===== */
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { margin: 0; padding: 12px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; background: #e8f6ec; color: #17693a; }
.form__status.is-error { background: #fff0ec; color: #b42400; }
.form button[disabled] { opacity: .7; cursor: wait; }

/* Обязательные поля и строка под согласием */
.req { color: var(--orange); font-weight: 700; }
.form__note { margin: -4px 0 0; font-size: 12px; line-height: 1.4; color: var(--muted); }
.form__note a { color: var(--blue); }

/* «Что будет после заявки» — слева от формы на синем фоне */
.next-steps__title { margin: 36px 0 16px; font-size: 20px; color: var(--white); }
.next-steps { list-style: none; counter-reset: step; display: grid; gap: 16px; padding: 0; margin: 0; }
.next-steps li { counter-increment: step; position: relative; padding-left: 48px; color: rgba(255, 255, 255, .85); line-height: 1.5; }
.next-steps li b { color: var(--white); }
.next-steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: var(--white); font-weight: 800; font-size: 15px;
}

/* Мелочи после проверки 15.10 */
.fab__btn { border: 2px solid rgba(255, 255, 255, .9); }          /* синяя кнопка не сливается с синим фоном */
.fab__menu a { display: flex; align-items: center; gap: 10px; }   /* значок + текст в меню кнопки связи */
.fab__menu a svg { flex: none; color: var(--blue); }
input[name="vin"]::placeholder { text-transform: none; }          /* подсказка VIN обычными буквами */
