/* ============ Феникс Авто — ярко-красный × чёрный ============ */
:root {
  --red: #ff1f1f;
  --red-soft: #ff4b36;
  --red-dark: #d40f0f;
  --red-glow: rgba(255, 31, 31, .5);
  --black: #0a0a0b;
  --dark: #101012;
  --panel: #151518;
  --panel-2: #1b1b1f;
  --line: #2a2a30;
  --text-dim: #9b9ba3;
  --ink: #1c1c1c;
  --font: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* якорные переходы (в т.ч. быстрые ссылки из Яндекс.Директа:
   /#services, /#estimate, /#order, /#contacts) — чтобы заголовок
   раздела не уходил под липкую шапку */
section[id], footer[id] { scroll-margin-top: 110px; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* оранжево-красный скроллбар */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #0c0c0e; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--red), var(--red-dark)); border: 3px solid #0c0c0e; border-radius: 8px; }
html { scrollbar-color: var(--red) #0c0c0e; scrollbar-width: thin; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 40px);
  margin: 0 auto;
  padding: 0 20px;
}

.accent { color: var(--red); }

.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--red);
  padding: 6px 14px 6px 12px;
  border: 1px solid rgba(255, 31, 31, .4);
  border-radius: 999px;
  background: rgba(255, 31, 31, .07);
}

/* ============ buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border: 0;
  border-radius: 6px;
  padding: 15px 26px;
  cursor: pointer;
  transition: box-shadow .25s ease, transform .15s ease, filter .25s ease;
  line-height: 1.2;
  box-shadow: 0 8px 24px rgba(255, 31, 31, .28);
}
.btn svg { width: 20px; height: 20px; flex: 0 0 auto; }
.btn:hover { filter: brightness(1.08); box-shadow: 0 10px 34px rgba(255, 31, 31, .45); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }

.btn--lg { font-size: 20px; padding: 20px 44px; }
.btn--sm { font-size: 14px; padding: 10px 22px; font-weight: 600; border-radius: 999px; }
.btn--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: none;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 4px;
}
.btn--outline svg { width: 15px; height: 15px; }
.btn--outline:hover { background: var(--red); border-color: var(--red); box-shadow: 0 6px 20px rgba(255, 31, 31, .4); filter: none; transform: none; }

/* ============ scroll progress ============ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, rgba(255, 31, 31, .3), var(--red) 60%, #ff7a45);
  z-index: 1000;
  pointer-events: none;
}

/* ============ header ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(8, 8, 9, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 44px;
  min-height: 96px;
}

.logo { display: flex; align-items: center; }
.logo__img { height: 78px; width: auto; display: block; border-radius: 0; background: transparent; transition: transform .25s ease; filter: drop-shadow(0 0 0 transparent); }
.logo:hover .logo__img { transform: scale(1.04); }

.header__info { display: flex; align-items: center; gap: 46px; }
.header__item { display: flex; align-items: center; gap: 11px; }
.header__icon { width: 24px; height: 24px; flex: 0 0 auto; }
.header__item p {
  color: #fff;
  font-size: 13.5px;
  line-height: 1.4;
  white-space: nowrap;
}
.header__item p strong { font-weight: 700; }

.header__contacts {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.header__phone {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .3px;
  transition: color .2s;
}
.header__phone:hover { color: var(--red); }

/* ============ hero ============ */
.hero {
  position: relative;
  background: var(--black);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 31, 31, .5), transparent);
}
.hero__content,
.hero__title,
.hero__subtitle,
.hero__features,
.hero__actions {
  background: transparent !important;
  background-color: transparent !important;
}
.hero__inner {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 640px;
  padding-top: 40px;
  padding-bottom: 40px;
  position: relative;
  z-index: 2;
}
.hero__content { flex: 0 1 640px; }
.hero__title {
  font-size: clamp(36px, 4.7vw, 61px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  line-height: 1.1;
}
.hero__title .accent {
  background: linear-gradient(100deg, var(--red), #ff6a3d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subtitle {
  margin-top: 22px;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 600;
  color: #9a9aa2;
}
.hero__features { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.hero__features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  font-weight: 600;
  max-width: 480px;
}
.hero__features svg { width: 24px; height: 24px; flex: 0 0 auto; margin-top: 1px; }
.hero__actions { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: stretch; justify-content: flex-start; }
.hero__actions .btn { margin-top: 0; white-space: nowrap; border-radius: 10px; }
.hero__actions .btn--lg { padding: 19px 38px; }

/* кнопка ВКонтакте — прозрачная, синий оттенок, аккуратная рамка */
.btn--vk {
  background: rgba(0, 119, 255, .08);
  color: #8ec1ff;
  border: 1.5px solid rgba(0, 119, 255, .45);
  box-shadow: inset 0 0 0 0 transparent;
  font-size: 17px;
  font-weight: 600;
  padding: 19px 30px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease, transform .15s ease;
}
.btn--vk svg { width: 22px; height: 22px; opacity: .9; transition: transform .25s ease; }
.btn--vk:hover {
  background: rgba(0, 119, 255, .18);
  border-color: #3d9bff;
  color: #fff;
  box-shadow: 0 8px 26px rgba(0, 119, 255, .25);
  filter: none;
  transform: translateY(-1px);
}
.btn--vk:hover svg { transform: scale(1.08); }

.hero__image { flex: 1 1 auto; min-width: 0; }
.hero__image .ba {
  aspect-ratio: 3 / 2;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .07), 0 0 60px rgba(255, 31, 31, .12);
}

/* ============ before / after slider ============ */
.ba {
  position: relative;
  overflow: hidden;
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
  aspect-ratio: 3 / 2;
  --pos: 50%;
  background: #0a0a0b;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.img-missing { opacity: 0 !important; }
.ba__before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  transform: translateX(-1.5px);
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 31, 31, .8), 0 0 4px rgba(0, 0, 0, .8);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.ba__arrow {
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-right: 13px solid var(--red);
  filter: drop-shadow(0 0 6px rgba(255, 31, 31, .8));
}

/* ============ section titles ============ */
.section-title {
  text-align: center;
  font-size: clamp(28px, 3.1vw, 44px);
  font-weight: 800;
  letter-spacing: .4px;
}

/* ============ services (новый вид: чёрные карточки) ============ */
.services {
  background: var(--dark);
  padding: 70px 0 90px;
  position: relative;
}
.services__head { text-align: center; margin-bottom: 46px; }
.services__head .kicker { margin-bottom: 16px; }
.services__lead {
  margin: 14px auto 0;
  max-width: 640px;
  color: var(--text-dim);
  font-size: 15.5px;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: srv;
}
.service {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  counter-increment: srv;
}
.service:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 31, 31, .65);
  box-shadow: 0 22px 44px rgba(0, 0, 0, .55), 0 0 34px rgba(255, 31, 31, .14);
}
.service__media {
  position: relative;
  aspect-ratio: 16 / 9.4;
  overflow: hidden;
  background: #232327;
}
.service__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease, filter .4s ease;
  filter: saturate(.85) contrast(1.03);
}
.service:hover .service__bg { transform: scale(1.07); filter: saturate(1.05) contrast(1.05); }
.service__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 11, .1), rgba(10, 10, 11, .55));
}
.service__num {
  position: absolute;
  top: 12px;
  left: 14px;
  z-index: 2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #fff;
  background: rgba(10, 10, 11, .65);
  border: 1px solid rgba(255, 31, 31, .55);
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.service__num::before { content: '0' counter(srv); }
.service__body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  flex: 1 1 auto;
}
.service__title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .4px;
  line-height: 1.3;
}
.service__divider {
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red), #ff7a45);
  margin: 14px 0 14px;
}
.service .btn--sm {
  margin-top: auto;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: none;
  color: #fff;
}
.service:hover .btn--sm,
.service .btn--sm:hover {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(255, 31, 31, .35);
}

/* ============ estimate — новая секция: шаги + чат ============ */
.estimate {
  position: relative;
  background: linear-gradient(160deg, #131316 0 55%, #0d0d0f 100%);
  overflow: hidden;
}
.estimate__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: transparent;
  opacity: 0;
}
.estimate__glow::before,
.estimate__glow::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.estimate__glow::before {
  width: 420px; height: 420px;
  left: -140px; bottom: -180px;
  background: rgba(255, 31, 31, .18);
}
.estimate__glow::after {
  width: 300px; height: 300px;
  right: 6%; top: -120px;
  background: rgba(255, 31, 31, .12);
}
.estimate__inner {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 60px;
  align-items: center;
  padding-top: 90px;
  padding-bottom: 90px;
  position: relative;
  z-index: 2;
}
.estimate__content .kicker { margin-bottom: 18px; }
.estimate__title {
  font-size: clamp(28px, 2.9vw, 42px);
  font-weight: 800;
  line-height: 1.16;
}
.estimate__lead {
  margin-top: 20px;
  font-size: 17px;
  color: #d6d6dc;
  max-width: 540px;
}
.estimate__lead strong { color: var(--red); font-weight: 800; }

.steps { margin: 34px 0 40px; display: flex; flex-direction: column; gap: 16px; }
.step {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 22px;
  transition: border-color .25s, background .25s, transform .25s;
}
.step:hover { border-color: rgba(255, 31, 31, .6); background: rgba(255, 31, 31, .05); transform: translateX(6px); }
.step__num {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 6px 20px rgba(255, 31, 31, .4);
}
.step__text strong { display: block; font-size: 16px; color: #fff; }
.step__text small { color: var(--text-dim); font-size: 13.5px; }
.estimate__hint { margin-top: 16px; font-size: 13px; color: #77777f; }

/* чат-мокап */
.estimate__visual { display: flex; justify-content: center; }
.chat {
  width: min(400px, 100%);
  background: #141418;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .65), 0 0 50px rgba(255, 31, 31, .12);
  transform: rotate(1.5deg);
}
.chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--red-dark), var(--red));
}
.chat__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .35);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
}
.chat__who { line-height: 1.25; }
.chat__who strong { display: block; font-size: 14.5px; color: #fff; }
.chat__who small { font-size: 11.5px; color: rgba(255, 255, 255, .8); }
.chat__wa {
  margin-left: auto;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .3);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background .2s;
}
.chat__wa:hover { background: rgba(0, 0, 0, .5); }
.chat__wa svg { width: 17px; height: 17px; }
.chat__body {
  padding: 18px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  background:
    radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, .05) 50%, transparent 51%) 0 0 / 18px 18px,
    #101013;
  min-height: 380px;
}
.msg {
  max-width: 84%;
  font-size: 13px;
  line-height: 1.45;
  padding: 9px 13px;
  border-radius: 12px;
  color: #e8e8ec;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease;
}
.chat.is-visible .msg { opacity: 1; transform: none; }
.chat.is-visible .msg:nth-child(1) { transition-delay: .1s; }
.chat.is-visible .msg:nth-child(2) { transition-delay: .45s; }
.chat.is-visible .msg:nth-child(3) { transition-delay: .8s; }
.chat.is-visible .msg:nth-child(4) { transition-delay: 1.15s; }
.chat.is-visible .msg:nth-child(5) { transition-delay: 1.5s; }
.msg--in { align-self: flex-start; background: #1d1d22; border-bottom-left-radius: 4px; }
.msg--out { align-self: flex-end; background: linear-gradient(135deg, rgba(255, 31, 31, .28), rgba(212, 15, 15, .35)); border: 1px solid rgba(255, 31, 31, .35); border-bottom-right-radius: 4px; }
.msg--photo { padding: 7px; }
.msg--photo img { border-radius: 8px; max-height: 150px; width: 100%; object-fit: cover; }
.msg__meta { display: block; font-size: 10.5px; color: #9a9aa2; margin-top: 5px; }
.msg--quote { width: 92%; max-width: none; align-self: flex-start; background: #17171b; border: 1px solid var(--line); padding: 13px 15px; }
.quote__title {
  font-weight: 800;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #fff;
  margin-bottom: 8px;
}
.msg--quote p { padding: 4px 0 4px 16px; position: relative; color: #c9c9d0; }
.msg--quote p::before { content: ''; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.quote__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px dashed #444;
  margin-top: 9px;
  padding-top: 9px;
  font-size: 13px;
  color: #c9c9d0;
}
.quote__total b { font-size: 19px; font-weight: 800; color: #fff; }
.quote__term { margin-top: 7px; font-size: 11.5px; color: var(--red); font-weight: 700; }
.chat__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  background: #141418;
}
.chat__input {
  flex: 1;
  font-size: 12.5px;
  color: #6f6f78;
  background: #1d1d22;
  border-radius: 999px;
  padding: 9px 16px;
}
.chat__send {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(255, 31, 31, .45);
}
.chat__send svg { width: 15px; height: 15px; }

/* ============ order form ============ */
.order {
  position: relative;
  background: #0a0a0b;
  color: #fff;
  padding: 92px 0;
  overflow: hidden;
}
.order::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 300px at 50% 0%, rgba(255,31,31,.15), transparent 70%), #0a0a0b;
  opacity: 1;
}
.order::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
}
.order__inner { position: relative; z-index: 2; text-align: center; }
.order__title {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  max-width: 820px;
  margin: 0 auto 14px;
  line-height: 1.3;
}
.order__bars {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 44px;
}
.order__bars span {
  width: 8px;
  height: 20px;
  border-radius: 3px;
  background: var(--red);
  box-shadow: 0 0 14px rgba(255, 31, 31, .6);
  transform: skewX(-14deg);
}
.order__bars span:last-child { background: rgba(255, 255, 255, .35); box-shadow: none; }
.order__form {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 14px;
  flex-wrap: wrap;
}
.order__input {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-radius: 6px;
  padding: 17px 18px;
  width: 268px;
  outline: none;
}
.order__input::placeholder { color: #8a8a8a; }
.order__input:focus { box-shadow: 0 0 0 3px rgba(255, 31, 31, .65); }
.btn--form { font-size: 19px; padding: 15px 38px; }
.order__policy { margin-top: 18px; font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.order .form-ok { display: inline-block; margin-top: 18px; color: #7bed9f; font-weight: 700; }

/* ============ footer ============ */
.footer { background: #0a0a0b; border-top: 1px solid var(--line); }
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 70px;
}
.footer__contacts { display: flex; flex-direction: column; gap: 26px; padding-left: 12%; }
.footer__item { display: flex; align-items: center; gap: 16px; }
.footer__item svg { width: 30px; height: 30px; flex: 0 0 auto; }
.footer__item p { font-size: 15.5px; line-height: 1.45; color: #d6d6dc; }
.footer__item p strong { font-weight: 700; color: #fff; }
.footer__phone {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .3px;
  transition: color .2s;
}
.footer__phone:hover { color: var(--red); }
.footer__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
  color: #fff;
  background: rgba(255,31,31,.15);
  border: 1px solid rgba(255,31,31,.4);
  padding: 6px 12px;
  border-radius: 999px;
}

.footer__map {
  position: relative;
  height: 420px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  background: #17171b;
}
.footer__map #feniksMap { width: 100%; height: 100%; display: block; }
.footer__map-links {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 2;
}
.footer__map-link {
  background: var(--black);
  color: #fff;
  border: 1px solid rgba(255, 31, 31, .5);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .5);
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background .2s, border-color .2s;
  text-decoration: none;
}
.footer__map-link:hover { background: #1a1a1e; border-color: var(--red); }
.footer__map-link--2gis { background: #111; border-color: #ff1f1f; }
.footer__map-link--2gis::before {
  content: '';
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C7.6 0 4 3.6 4 8c0 5.3 6.9 14.5 7.5 15.2a.7.7 0 0 0 1 0C13.1 22.5 20 13.3 20 8c0-4.4-3.6-8-8-8zm0 11a3 3 0 1 1 0-6 3 3 0 0 1 0 6z' fill='%23ff1f1f'/%3E%3C/svg%3E") no-repeat center / contain;
}
.footer__map-link--yandex::before {
  content: '';
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.3 7 13 7 13s7-7.7 7-13c0-3.9-3.1-7-7-7zm0 9.5c-1.4 0-2.5-1.1-2.5-2.5S10.6 6.5 12 6.5s2.5 1.1 2.5 2.5S13.4 11.5 12 11.5z' fill='%23ff1f1f'/%3E%3C/svg%3E") no-repeat center / contain;
}
.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 16px 0;
  font-size: 13px;
  color: #77777f;
}

/* ============ reveal ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .msg { opacity: 1; transform: none; }
}

/* ============ responsive ============ */
@media (max-width: 1220px) {
  .header__inner { gap: 24px; }
}
@media (max-width: 1080px) {
  .header__info { display: none; }
  .header { background: rgba(8,8,9,.98); backdrop-filter: none; }
  .hero { background: #0a0a0b !important; }
  .hero::after { display: none !important; }
  .hero__inner { flex-direction: column !important; align-items: flex-start; padding-top: 40px; gap: 28px; min-height: auto !important; }
  .hero__content { flex: none; width: 100%; background: transparent !important; }
  .hero__title, .hero__subtitle, .hero__features, .hero__actions { background: transparent !important; }
  /* планшет: две кнопки в ряд одинаковой ширины, по центру */
  .hero__actions { margin-top: 28px; justify-content: flex-start; gap: 12px; }
  .hero__actions .btn { flex: 1 1 260px; max-width: 360px; text-align: center; white-space: normal; font-size: 17px; padding: 16px 20px; }
  .hero__image { width: 100%; }
  .hero__image .ba { aspect-ratio: 16/10; background: #0a0a0b; box-shadow: none; }
  .services { background: #101012 !important; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .estimate { background: #131316 !important; }
  .estimate__glow { display: none !important; }
  .estimate__glow::before, .estimate__glow::after { display: none !important; }
  .estimate__inner { grid-template-columns: 1fr; gap: 40px; padding-top: 60px; padding-bottom: 60px; }
  .order { background: #0a0a0b !important; }
  .order::before { display: none !important; }
  .order::after { background: #0a0a0b !important; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__contacts { padding-left: 0; }
  .footer__map { height: 360px; }
}
@media (max-width: 680px) {
  html, body { background: #0a0a0b; overflow-x: hidden; }
  .header { background: #080809; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid #1e1e24; }
  .header__inner { min-height: 64px; gap: 12px; }
  .logo__img { height: 48px; border-radius: 0; }
  .header__phone { font-size: 16px; font-weight: 800; }
  .header .btn--outline { display: inline-flex; font-size: 12px; padding: 7px 12px; background: var(--red); border-color: var(--red); }

  /* HERO — убираем странные радиальные градиенты на мобиле, делаем чистый черный */
  .hero { background: #0a0a0b !important; background-color: #0a0a0b !important; background-image: none !important; }
  .hero::after { display: none !important; }
  .hero__inner { min-height: auto !important; padding-top: 28px; padding-bottom: 28px; gap: 22px; flex-direction: column !important; background: transparent !important; }
  .hero__content, .hero__title, .hero__subtitle, .hero__features, .hero__actions { background: transparent !important; background-color: transparent !important; background-image: none !important; }
  .hero__title { font-size: 30px; line-height: 1.05; }
  .hero__subtitle { font-size: 15px; margin-top: 12px; color: #b8b8c0; }
  .hero__features { margin-top: 18px; gap: 12px; }
  .hero__features li { font-size: 14px; }
  .hero__image { background: transparent !important; }
  .hero__image .ba { border-radius: 10px; box-shadow: none !important; background: #0a0a0b !important; }

  .services { background: #101012 !important; background-image: none !important; padding: 40px 0 50px; }
  .services__grid { grid-template-columns: 1fr; gap: 16px; }
  .service { border-radius: 12px; }
  .service__media { aspect-ratio: 16/10; }

  /* ESTIMATE — убираем glow и полосатый фон который дает странный задний фон */
  .estimate { background: #131316 !important; background-image: none !important; }
  .estimate__glow { display: none !important; }
  .estimate__glow::before, .estimate__glow::after { display: none !important; content: none !important; }
  .estimate__inner { padding-top: 40px; padding-bottom: 40px; gap: 32px; }
  .steps { margin: 20px 0 24px; gap: 12px; }
  .step { padding: 12px 14px; border-radius: 10px; background: #1a1a1e; }

  /* ORDER — главная проблема: cta-bg.jpg с фильтрами дает грязный фон на мобиле */
  .order { padding: 40px 0; background: #0a0a0b !important; background-image: none !important; }
  .order::before { display: none !important; content: none !important; } /* убираем фото cta-bg.jpg на мобиле */
  .order::after { background: #0a0a0b !important; background-image: none !important; display: block !important; }
  .order__inner { background: transparent !important; }
  .order__title { font-size: 20px; line-height: 1.3; max-width: 100%; }
  .order__bars { margin-bottom: 24px; }
  .order__input { width: 100%; padding: 15px 16px; font-size: 16px; } /* 16px чтобы iOS не зумил */
  .btn--lg { font-size: 16px; padding: 15px 20px; }
  .btn--form { width: 100%; }

  /* SEO блок */
  .seo { background: #0f0f11; padding: 32px 0; }

  /* FOOTER */
  .footer { background: #080809; }
  .footer__inner { gap: 32px; padding-top: 40px; padding-bottom: 40px; }
  .footer__map { height: 300px; border-radius: 10px; }
  #feniksMap { filter: none; } /* на мобиле без фильтра, чтобы карта была читаема */
  .footer__map-links { left: 8px; right: 8px; bottom: 8px; flex-direction: column; }
  .footer__map-link { font-size: 12px; padding: 7px 10px; width: 100%; justify-content: center; }
  .footer__contacts { gap: 18px; }
  .footer__phone { font-size: 22px; }

  /* Чат — убираем поворот */
  .chat { transform: none; width: 100%; max-width: 360px; border-radius: 18px; }

  /* Кнопки — во всю ширину */
  .hero__actions { margin-top: 22px; flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__actions .btn { flex: none; width: 100%; max-width: 100%; font-size: 16px; padding: 14px 18px; white-space: normal; text-align: center; line-height: 1.3; }
  .hero__actions .btn--vk { font-size: 14px; padding: 12px 16px; }
}



/* ============ SEO текст ============ */
.seo { background: #0f0f11; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 60px 0; }
.seo__inner { max-width: 900px; }
.seo__title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; color: #fff; margin-bottom: 18px; line-height: 1.25; }
.seo__content p { color: #b8b8c0; font-size: 15px; line-height: 1.7; margin-bottom: 16px; }
.seo__content strong { color: #fff; font-weight: 700; }
.seo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; margin: 24px 0; }
.seo__col h3 { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .3px; }
.seo__col p { font-size: 14px; }
.seo__keywords { margin-top: 20px; font-size: 13px !important; color: #77777f !important; line-height: 1.6 !important; }
.seo__keywords em { font-style: normal; color: #9a9aa2; }
@media (max-width: 720px) { .seo__grid { grid-template-columns: 1fr; } .seo { padding: 40px 0; } }

/* ============ скрытый вход в админку ============ */
/* двойной тап больше не зумит страницу (пинч-зум пальцами работает),
   чтобы быстрые тапы по копирайту не трогали масштаб */
body { touch-action: manipulation; }

/* строка копирайта — зона скрытого входа (4 тапа).
   Это обычный текст, не ссылка: iOS не показывает предпросмотр,
   а запреты ниже отключают выделение текста */
.footer__bottom p {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

/* ============ ссылка «админ» — максимально незаметная ============ */
.footer__bottom .admin-link {
  display: block;
  margin-top: 4px;
  font-size: 13px;          /* как текст копирайта */
  line-height: inherit;
  color: #77777f;           /* как текст копирайта */
  opacity: .1;              /* максимальная прозрачность */
  text-decoration: none;
}
.footer__bottom .admin-link:hover { opacity: .45; }

/* ============ honeypot против ботов (невидимое поле) ============ */
.order__form .hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0; overflow: hidden;
}
