/* =========================================================
   Бухгалтерская контора — основные стили
   Сетка макета: контейнер 1112px (1pt макета = 4px)
   ========================================================= */

/* ---------- Переменные ---------- */
:root {
  /* Цвета */
  --navy: #0b2b57;
  --blue: #cce5f4;
  --blue-soft: #e6f2fa;
  --beige: #f2e2ca;
  --sand: #e9cea5;
  --schedule-bg: #f4e7d2;
  --lunch-text: #746752;
  --ink: #2b2a29;
  --ink-2: #1a1a1a;
  --grey-band: #e6e6e6;
  --field: #f4f4f5;
  --placeholder: #b8b8b8;
  --muted: #808080;
  --footer: #666666;
  --white: #ffffff;

  /* Типографика: размеры плавно меняются от 375px до 1200px */
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
  --fs-xs: clamp(12px, 10.18px + 0.485vw, 16px);
  --fs-s: clamp(14px, 11.27px + 0.727vw, 20px);
  --fs-band: clamp(15px, 11.59px + 0.909vw, 22.5px);
  --fs-body: clamp(16px, 12.36px + 0.970vw, 24px);
  --fs-m: clamp(17px, 12px + 1.333vw, 28px);
  --fs-l: clamp(18px, 12.55px + 1.455vw, 30px);
  --fs-xl: clamp(18px, 11.64px + 1.697vw, 32px);
  --fs-contact: clamp(19px, 12.18px + 1.818vw, 34px);
  --fs-banner: clamp(19px, 11.27px + 2.061vw, 36px);
  --fs-h2: clamp(26px, 19.64px + 1.697vw, 40px);
  --fs-time: clamp(20px, 10px + 2.667vw, 42px);
  --fs-day: clamp(22px, 11.55px + 2.788vw, 45px);
  --fs-h2l: clamp(28px, 18.91px + 2.424vw, 48px);
  --fs-h2xl: clamp(30px, 20.91px + 2.424vw, 50px);
  --fs-phone: clamp(28px, 15.27px + 3.394vw, 56px);
  --fs-display: clamp(44px, 25.82px + 4.848vw, 84px);

  /* Сетка */
  --container: 1112px;
  --gutter: 24px;

  /* Пунктир «Порядка сотрудничества» (штрих со скруглёнными концами) */
  --dash-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='6'%3E%3Cline x1='3' y1='3' x2='14' y2='3' stroke='%230b2b57' stroke-width='5.7' stroke-linecap='round'/%3E%3C/svg%3E");
  --dash-y: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='28'%3E%3Cline x1='3' y1='3' x2='3' y2='14' stroke='%230b2b57' stroke-width='5.7' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- Сброс и база ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.15;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, address {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

address {
  font-style: normal;
}

b, strong {
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid var(--sand);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Якоря не прячутся под шапку и не прилипают к краю */
[id] {
  scroll-margin-top: 24px;
}

/* ---------- Контейнер ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Общие элементы ---------- */
.section-title {
  font-size: var(--fs-h2);
  font-weight: 900;
  line-height: 0.97;
  text-transform: uppercase;
  text-align: center;
  color: var(--navy);
}

.section-title--left {
  text-align: left;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-family: inherit;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: #14407c;
  box-shadow: 0 8px 24px rgba(11, 43, 87, 0.25);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn--hero {
  width: 100%;
  min-height: 58px;
  padding: 10px 24px;
  font-size: var(--fs-s);
}

.btn--large {
  min-width: min(630px, 100%);
  min-height: 96px;
  padding: 16px 40px;
  font-size: var(--fs-l);
}

.btn--submit {
  width: min(538px, 100%);
  min-height: 69px;
  padding: 10px 24px;
  font-size: var(--fs-h2);
}

/* Подпись о согласии под кнопками */
.consent {
  margin-top: 8px;
  font-size: var(--fs-xs);
  line-height: 1.25;
  color: var(--muted);
  text-align: center;
}

.consent a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent a:hover {
  color: var(--navy);
}

/* «Плашки» на всю ширину до края экрана */
.pill {
  position: relative;
  z-index: 0;
  width: fit-content;
  max-width: 100%;
}

.pill::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  background: var(--blue);
}

.pill--left {
  padding: 4px 32px 4px 0;
}

.pill--left::before {
  left: -100vw;
  right: 0;
  border-radius: 0 999px 999px 0;
}

.pill--right {
  width: auto;
}

.pill--right::before {
  left: 0;
  right: -100vw;
  border-radius: 999px 0 0 999px;
}

/* Переносы строк, которые нужны только на широком экране */
@media (max-width: 1199px) {
  .br-lg {
    display: none;
  }
}

/* =========================================================
   Шапка
   ========================================================= */
.header {
  background: var(--navy);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
}

.logo {
  flex: none;
}

.logo img {
  width: 228px;
}

.social {
  display: flex;
  align-items: center;
  gap: 36px;
}

.social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 44px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social__link:hover {
  opacity: 0.75;
  transform: translateY(-2px);
}

/* ---------- Выбор города ---------- */
.city {
  position: relative;
  z-index: 20;
  margin-left: 16px;
  margin-right: auto;
}

.city__toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 20px 8px 16px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: var(--white);
  font-size: var(--fs-s);
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.city__toggle::-webkit-details-marker {
  display: none;
}

/* Стрелка */
.city__toggle::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-left: 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease;
}

.city__toggle:hover,
.city[open] .city__toggle {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.city[open] .city__toggle::after {
  transform: translateY(2px) rotate(-135deg);
}

.city__pin {
  flex: none;
  width: 14px;
  height: 18px;
  color: var(--sand);
}

.city__list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 100%;
  width: max-content;
  padding: 8px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(11, 43, 87, 0.28);
  animation: city-in 0.16s ease-out;
}

@keyframes city-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.city__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--navy);
  font-size: var(--fs-s);
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 0.2s ease;
}

.city__link:hover {
  background: var(--blue-soft);
}

.city__link[aria-current="page"] {
  background: var(--blue);
}

/* Галочка у текущего города */
.city__link[aria-current="page"]::after {
  content: "";
  flex: none;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: translateY(-2px) rotate(-45deg);
}

/* =========================================================
   Первый экран
   ========================================================= */
.hero {
  padding-top: 33px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 473fr 614fr;
  align-items: center;
  column-gap: 25px;
}

.hero__media img {
  width: 100%;
}

.hero__content {
  text-align: center;
}

.hero__title {
  font-size: var(--fs-h2);
  font-weight: 900;
  line-height: 0.97;
  text-transform: uppercase;
}

.hero__text {
  max-width: 580px;
  margin: 24px auto 0;
  line-height: 0.97;
}

.hero__text + .hero__text {
  margin-top: 19px;
}

.hero .btn {
  margin-top: 30px;
}

/* =========================================================
   О компании
   ========================================================= */
.about {
  padding-top: 51px;
  overflow: hidden;
}

.about__banner {
  margin-top: 15px;
  background: var(--navy);
  color: var(--white);
}

.about__banner-inner {
  display: flex;
  align-items: center;
  gap: 54px;
  min-height: 148px;
  padding-block: 20px;
  padding-left: calc(var(--gutter) + 36px);
}

.about__mark {
  flex: none;
  width: 94px;
}

.about__slogan {
  padding-block: 5px;
  border-block: 3px solid var(--white);
  font-size: var(--fs-banner);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}

.about__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 428px);
  column-gap: 4px;
  padding-top: 18px;
}

.about__lead {
  font-size: var(--fs-l);
  font-weight: 900;
  line-height: 0.96;
}

.about__content .pill {
  margin-top: 18px;
  font-weight: 700;
  line-height: 0.97;
}

.about__content .pill:last-child {
  max-width: 572px;
}

.about__text {
  max-width: 560px;
  margin-top: 10px;
  line-height: 0.97;
}

.about__content .about__text + .pill {
  margin-top: 18px;
}

.about__media {
  align-self: start;
  margin-top: 12px;
  padding-right: 80px;
}

.about__media img {
  width: 100%;
}

/* =========================================================
   Направления бухгалтерского сопровождения
   ========================================================= */
.services {
  padding-top: 87px;
}

.services__inner {
  display: grid;
  grid-template-columns: 433fr 659fr;
  column-gap: 20px;
  align-items: start;
}

.services__media img {
  width: 100%;
}

.services__content {
  text-align: center;
}

.services__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 102px;
  margin-top: 20px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--blue);
  font-size: var(--fs-h2);
  font-weight: 900;
  line-height: 0.96;
}

.services__text {
  max-width: 560px;
  margin: 24px auto 0;
  color: var(--ink-2);
  line-height: 0.97;
}

.services__note {
  max-width: 575px;
  margin: 30px auto 0;
  padding: 12px 8px 16px;
  border-block: 3px solid var(--navy);
  font-weight: 700;
  line-height: 0.97;
}

/* Список направлений с чередующимися полосами */
.features {
  margin-top: 66px;
}

.features__item:nth-child(odd) {
  background: var(--beige);
}

.features__inner {
  display: grid;
  grid-template-columns: 120px 1fr;
  column-gap: 20px;
  align-items: center;
  min-height: 132px;
  padding-block: 16px;
}

.features__icon {
  justify-self: center;
}

.features__title,
.features__text {
  font-size: var(--fs-m);
  line-height: 0.97;
  color: var(--ink);
}

.features__title {
  font-weight: 700;
}

.features__text {
  margin-top: 6px;
}

/* =========================================================
   Регистрационные и корпоративные процедуры
   ========================================================= */
.registration {
  padding-top: 28px;
  overflow: hidden;
}

.registration__inner {
  display: grid;
  grid-template-columns: 406fr 610fr;
  column-gap: 96px;
}

.registration__media {
  min-width: 0;
}

.registration__media img {
  width: 118.5%;
  max-width: none;
  margin-left: -3.9%;
}

.registration__content {
  padding-top: 55px;
}

.registration__badge {
  margin-top: 22px;
  margin-left: -62px;
  padding: 20px 0 20px 62px;
  font-size: var(--fs-xl);
  font-weight: 900;
  line-height: 0.97;
}

.registration__text {
  max-width: 560px;
  margin-top: 24px;
  color: var(--ink);
  line-height: 0.97;
}

.registration__note {
  margin: 30px -10px 0;
  padding: 14px 16px 20px;
  border-block: 3px solid var(--navy);
  text-align: center;
  line-height: 0.97;
}

/* =========================================================
   Дополнительные сервисы через партнёрскую сеть
   ========================================================= */
.partners {
  padding-top: 89px;
}

.partners__title {
  color: var(--ink-2);
}

.partners__band {
  display: flex;
  align-items: center;
  min-height: 112px;
  margin-top: 27px;
  padding-block: 14px;
  background: var(--beige);
  color: var(--ink-2);
  text-align: center;
}

.partners__band p {
  font-size: calc(var(--fs-h2) * 0.96);
  font-weight: 700;
  line-height: 0.97;
}

.partners__text {
  margin: 37px auto 0;
  color: var(--ink-2);
  font-size: var(--fs-xl);
  line-height: 0.97;
  text-align: center;
}

.partners__icons {
  display: flex;
  justify-content: center;
  gap: 101px;
  margin-top: 53px;
}

.partners__icons li {
  position: relative;
  flex: 0 1 154px;
}

/* Точки между иконками */
.partners__icons li + li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -66px;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: var(--beige);
  transform: translateY(-50%);
}

.extras {
  margin-top: 115px;
}

.extras__item:nth-child(odd) {
  background: var(--grey-band);
}

.extras__inner {
  display: grid;
  grid-template-columns: 152px 1fr;
  column-gap: 43px;
  align-items: center;
  min-height: 178px;
  padding-block: 20px;
}

.extras__item:nth-child(even) .extras__inner {
  min-height: 220px;
}

.extras__icon {
  display: flex;
  justify-content: center;
}

.extras__title {
  font-size: var(--fs-h2);
  font-weight: 900;
  line-height: 0.97;
  text-transform: uppercase;
  color: var(--ink);
}

.extras__text {
  margin-top: 16px;
  color: var(--ink);
  font-size: var(--fs-xl);
  line-height: 0.97;
}

/* =========================================================
   Подбор решений (облачко)
   ========================================================= */
.advisor {
  padding-top: 104px;
  overflow: hidden;
}

.advisor__inner {
  display: grid;
  grid-template-columns: 457fr 635fr;
  column-gap: 20px;
  align-items: end;
}

.advisor__media {
  padding-bottom: 13px;
}

.advisor__media img {
  width: 100%;
}

.bubble {
  position: relative;
  padding: 17px 12px 30px 22px;
  border: 6px solid var(--navy);
  border-radius: 22px;
  background: var(--white);
  font-size: calc(var(--fs-h2) * 0.95);
  font-weight: 900;
  line-height: 0.97;
  text-transform: uppercase;
}

.bubble p + p {
  margin-top: 0.97em;
}

/* Хвостик облачка */
.bubble::before {
  content: "";
  position: absolute;
  top: 88px;
  left: -83px;
  width: 88px;
  height: 100px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 25'%3E%3Cpath d='M18.9 2.3h2.4v18.7h-2.4z' fill='%23fff'/%3E%3Cpath d='M19.9 0.6V1.5L2.15 17.35Q1.2 18.4 1.5 19.6Q2 21.6 3.7 21.6H17.5Q19.9 21.6 19.9 24.2' fill='%23fff' stroke='%230b2b57' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.advisor__badge {
  margin-top: 47px;
  margin-left: -22px;
  padding: 8px 0 8px 50px;
  font-size: var(--fs-m);
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

/* =========================================================
   Ключевые преимущества
   ========================================================= */
.advantages {
  padding-top: 96px;
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 50px;
  margin-top: 34px;
}

.card {
  --card-band-top: 51px;
  --card-band-left: 113px;
  --card-band-h: 74px;
  --card-hand-w: 149px;

  position: relative;
  min-height: 236px;
  padding: var(--card-band-top) 0 24px;
  border-radius: 24px;
  overflow: hidden;
}

.card--blue {
  background: var(--blue);
}

.card--sand {
  background: var(--sand);
}

/* Иконка-рука поверх тёмной ленты */
.card::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: calc(var(--card-band-top) - var(--card-hand-w) * 0.228);
  left: calc(var(--card-hand-w) * 0.087);
  width: var(--card-hand-w);
  aspect-ratio: 149 / 109;
  background: url("../img/adv-hand.svg") no-repeat center / contain;
}

.card__title {
  display: flex;
  align-items: center;
  min-height: var(--card-band-h);
  margin-left: var(--card-band-left);
  padding: 6px 16px 6px calc(var(--card-hand-w) * 0.42);
  background: var(--navy);
  color: var(--white);
  font-size: var(--fs-band);
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
}

.card__text {
  padding: 20px 24px 0;
  text-align: center;
  line-height: 0.97;
}

/* =========================================================
   Порядок сотрудничества
   ========================================================= */
.process {
  padding-top: 67px;
}

.process__head {
  display: grid;
  grid-template-columns: minmax(0, 792px) 1fr;
  align-items: start;
}

.process__heading {
  padding-top: 32px;
}

.process__title {
  padding-bottom: 16px;
  border-bottom: 3px solid var(--navy);
  font-size: var(--fs-h2xl);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Подпись «3 этапа…» с пунктирной выноской к первому шагу */
.process__subtitle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
  font-size: var(--fs-xl);
  line-height: 1.2;
  white-space: nowrap;
}

.process__subtitle::before {
  content: "";
  flex: 1 0 40px;
  height: 6px;
  margin-left: 35px;
  background: var(--dash-x) repeat-x left center;
}

.process__subtitle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 35px;
  width: 6px;
  height: 120px;
  margin-top: -3px;
  background: var(--dash-y) repeat-y center top;
}

.process__media {
  justify-self: end;
  width: 237px;
  margin-right: 9px;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: 350fr 444fr 318fr;
  margin-top: -26px;
  counter-reset: step;
}

.steps__item {
  position: relative;
  padding-top: 132px;
  padding-right: 12px;
  font-size: var(--fs-m);
  line-height: 1.03;
  counter-increment: step;
}

.steps__item:last-child {
  padding-right: 0;
}

/* Кружок с номером шага */
.steps__item::before {
  content: counter(step);
  position: absolute;
  z-index: 2;
  top: 0;
  left: -16px;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  padding: 8px;
  border: 6px solid var(--navy);
  border-radius: 50%;
  background: var(--navy) content-box;
  color: var(--white);
  font-size: var(--fs-banner);
  font-weight: 700;
  box-shadow: inset 0 0 0 8px var(--white);
}

/* Пунктир между кружками */
.steps__item:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 51px;
  left: 38px;
  width: 100%;
  height: 6px;
  background: var(--dash-x) repeat-x left center;
}

.process__action {
  margin-top: 47px;
  text-align: center;
}

/* =========================================================
   Контакты
   ========================================================= */
.contacts {
  padding-top: 88px;
  text-align: center;
}

.contacts__title {
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.contacts__icons {
  display: flex;
  justify-content: center;
  gap: 33px;
  margin-top: 32px;
}

.contacts__icons img {
  width: 135px;
}

.contacts__phone,
.contacts__email,
.contacts__address {
  display: block;
  width: fit-content;
  margin-inline: auto;
  font-weight: 700;
}

.contacts__phone {
  margin-top: 24px;
  font-size: var(--fs-phone);
  line-height: 1.1;
}

.contacts__email {
  font-size: var(--fs-contact);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.contacts__address {
  font-size: var(--fs-contact);
  line-height: 1;
}

/* Бежевые разделители */
.contacts__email::before,
.contacts__address::before {
  content: "";
  display: block;
  width: 362px;
  max-width: 80vw;
  height: 3px;
  margin: 28px auto 24px;
  background: var(--sand);
}

.contacts__email::before {
  margin-top: 30px;
}

.contacts__phone:hover,
.contacts__email:hover {
  color: #1d4e93;
}

/* =========================================================
   Режим работы
   ========================================================= */
.schedule {
  padding-top: 184px;
}

.schedule__title {
  font-size: var(--fs-h2l);
}

.schedule__band {
  margin-top: 29px;
  padding: 34px 0 46px;
  background: var(--schedule-bg);
}

.schedule__table {
  max-width: 1090px;
  margin-inline: auto;
}

.schedule__days {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, 1.95fr);
  column-gap: 43px;
  text-align: center;
}

.schedule__day dt {
  min-height: 73px;
  padding-top: 8px;
  font-size: var(--fs-day);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.schedule__day dd {
  margin-top: 10px;
  font-size: var(--fs-time);
  font-weight: 700;
  line-height: 1.2;
}

.schedule__day dd time {
  display: block;
}

.schedule__day--off {
  justify-self: end;
  width: min(246px, 100%);
}

.schedule__day--off dt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9em;
  padding-top: 0;
  border-radius: 14px;
  background: var(--navy);
  color: var(--white);
}

.schedule__day--off dd {
  margin-top: 37px;
  font-size: var(--fs-banner);
  text-transform: uppercase;
}

.schedule__lunch {
  margin-top: 34px;
  padding: 4px 16px;
  background: var(--sand);
  color: var(--lunch-text);
  font-size: var(--fs-contact);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

/* =========================================================
   Форма обратной связи
   ========================================================= */
.feedback {
  padding-top: 163px;
}

.form {
  width: min(780px, 100%);
  margin-inline: auto;
  padding: 15px 27px 18px;
  border: 6px solid var(--navy);
  border-radius: 12px;
  text-align: center;
}

.form__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.form__subtitle {
  margin-bottom: 15px;
  font-size: var(--fs-body);
  line-height: 1.15;
}

.form__field {
  display: block;
  width: 100%;
  min-height: 64px;
  margin-bottom: 18px;
  padding: 12px 21px;
  border: 2px solid transparent;
  border-radius: 0;
  background: var(--field);
  color: var(--ink);
  font-family: inherit;
  font-size: var(--fs-m);
  line-height: 1.2;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form__field::placeholder {
  color: var(--placeholder);
  opacity: 1;
}

.form__field:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
}

.form__field--area {
  min-height: 176px;
  resize: vertical;
}

.form .btn--submit {
  margin-top: 2px;
}

.consent--form {
  color: var(--placeholder);
}

/* Ловушка для спам-ботов */
.form__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Сообщения после отправки */
.form__notice {
  display: none;
  max-width: 538px;
  margin: 16px auto 0;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: var(--fs-s);
  line-height: 1.3;
}

.form__notice:target,
.form__notice.is-visible {
  display: block;
}

.form__notice--ok {
  background: var(--blue);
  color: var(--navy);
}

.form__notice--error {
  background: #fbe3e1;
  color: #9b2c22;
}

.form__notice a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.btn--submit[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
  box-shadow: none;
}

/* =========================================================
   Подвал
   ========================================================= */
.footer {
  margin-top: 39px;
  background: var(--footer);
  color: var(--white);
}

.footer__inner {
  display: grid;
  grid-template-columns: 399px 1fr;
  column-gap: 62px;
  padding-top: 56px;
  padding-bottom: 56px;
  padding-left: calc(var(--gutter) + 18px);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer__logo img {
  width: 399px;
}

.footer__phone {
  margin-top: 46px;
  font-size: var(--fs-time);
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.footer .social {
  gap: 22px;
  margin-top: 30px;
  margin-right: 10px;
}

.footer .social__link {
  min-width: 36px;
  min-height: 36px;
}

.footer .social__link img {
  height: 35px;
  width: auto;
}

.footer .social li:last-child img {
  height: 26px;
}

/* Логотип Max сплошной — чуть меньше соседних контурных иконок */
.footer .social__link--max img {
  height: 31px;
}

.footer__nav {
  display: grid;
  grid-template-columns: 226px 308px auto;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 14px 0;
  font-size: var(--fs-s);
  line-height: 0.96;
}

.footer__nav li {
  padding-right: 16px;
}

.footer__nav a,
.footer__contacts a {
  transition: opacity 0.2s ease;
}

.footer__nav a:hover,
.footer__contacts a:hover {
  opacity: 0.7;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__contacts {
  margin-top: 28px;
  font-size: var(--fs-s);
  line-height: 1.55;
}

/* =========================================================
   Блоки с сокращённым текстом (страница Москвы)
   ========================================================= */
@media (min-width: 992px) {
  .about--compact .about__body {
    align-items: center;
  }

  .about--compact .about__media {
    align-self: center;
    margin-top: 0;
  }

  .services--compact .services__inner {
    grid-template-columns: 380fr 712fr;
    column-gap: 40px;
    align-items: center;
  }

  .registration--compact .registration__inner {
    align-items: center;
  }

  .registration--compact .registration__content {
    padding-top: 0;
  }
}

@media (min-width: 768px) {
  .features--compact .features__inner {
    min-height: 112px;
    padding-block: 12px;
  }
}

/* =========================================================
   Адаптив
   ========================================================= */

/* --- Ноутбуки и небольшие десктопы --- */
@media (max-width: 1199px) {
  .about__media {
    padding-right: 0;
  }

  .process__title,
  .process__subtitle {
    white-space: normal;
  }

  .process__subtitle span {
    flex: 0 1 auto;
  }

  .process__media {
    width: min(237px, 100%);
  }

  .footer__inner {
    grid-template-columns: minmax(260px, 340px) 1fr;
    column-gap: 40px;
    padding-left: var(--gutter);
  }

  .footer__logo img {
    width: 100%;
  }

  .footer__nav {
    grid-template-columns: 1fr 1.3fr auto;
  }
}

/* --- Планшеты --- */
@media (max-width: 991px) {
  .logo img {
    width: 180px;
  }

  .header .social {
    gap: 20px;
  }

  .city {
    margin-left: 0;
  }

  .city__toggle {
    gap: 8px;
    padding: 6px 16px 6px 12px;
    font-size: 15px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .hero__media {
    width: min(420px, 80%);
    margin-inline: auto;
  }

  .about__banner-inner {
    gap: 32px;
    padding-left: var(--gutter);
  }

  .about__mark {
    width: 72px;
  }

  .about__body {
    grid-template-columns: 1fr 260px;
  }

  .services {
    padding-top: 72px;
  }

  .services__inner {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .services__media {
    order: 2;
    width: min(380px, 80%);
    margin-inline: auto;
  }

  .registration__inner {
    grid-template-columns: 1fr;
  }

  .registration__media {
    width: min(420px, 85%);
    margin-inline: auto;
  }

  .registration__media img {
    width: 100%;
    margin-left: 0;
  }

  .registration__content {
    padding-top: 32px;
  }

  .registration__badge {
    margin-left: 0;
    padding-left: 32px;
  }

  .advisor {
    padding-top: 80px;
  }

  .advisor__inner {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .advisor__media {
    order: 2;
    width: min(360px, 75%);
    margin-inline: auto;
    padding-bottom: 0;
  }

  .bubble::before {
    display: none;
  }

  .advisor__badge {
    margin-left: 0;
    padding-left: 32px;
  }

  .advantages__grid {
    gap: 24px;
  }

  .card {
    --card-band-top: 40px;
    --card-band-left: 72px;
    --card-band-h: 64px;
    --card-hand-w: 110px;
    min-height: 200px;
  }

  .process__head {
    grid-template-columns: 1fr 180px;
    column-gap: 24px;
  }

  .steps {
    margin-top: 32px;
  }

  .process__subtitle::before,
  .process__subtitle::after {
    display: none;
  }

  .schedule {
    padding-top: 110px;
  }

  .schedule__days {
    column-gap: 16px;
  }

  .feedback {
    padding-top: 110px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  .footer__brand {
    align-items: flex-start;
  }

  .footer__logo img {
    width: 320px;
  }

  .footer__phone {
    margin-top: 28px;
  }

  .footer .social {
    margin-top: 20px;
    margin-right: 0;
  }
}

/* --- Большие телефоны --- */
@media (max-width: 767px) {
  :root {
    --gutter: 16px;
  }

  .header__inner {
    flex-wrap: wrap;
    row-gap: 0;
    min-height: 72px;
  }

  .logo,
  .header .social {
    min-height: 72px;
    display: flex;
    align-items: center;
  }

  .city {
    order: 3;
    width: 100%;
    margin: -4px 0 14px;
  }

  .city__toggle {
    width: fit-content;
    min-height: 40px;
    padding: 6px 16px 6px 14px;
    font-size: 15px;
  }

  .city__link {
    font-size: 15px;
  }

  .logo img {
    width: 170px;
  }

  .social {
    gap: 18px;
  }

  .header .social__link img {
    height: 28px;
    width: auto;
  }

  .header .social li:nth-child(2) img {
    height: 20px;
  }

  .header .social__link--max img {
    height: 25px;
  }

  .about__banner-inner {
    min-height: 0;
    gap: 20px;
  }

  .about__mark {
    width: 56px;
  }

  .about__slogan br,
  .about__lead br,
  .pill--left br {
    display: none;
  }

  .about__body {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .about__media {
    width: min(260px, 70%);
    margin: 0 auto;
  }

  .pill--left {
    padding-right: 24px;
  }

  .features {
    margin-top: 48px;
  }

  .features__inner {
    grid-template-columns: 56px 1fr;
    column-gap: 16px;
    min-height: 0;
    padding-block: 20px;
  }

  .features__icon {
    width: 48px;
  }

  .registration__note {
    margin-inline: 0;
    padding-inline: 0;
  }

  .partners {
    padding-top: 72px;
  }

  .partners__band br {
    display: none;
  }

  .partners__icons {
    gap: 28px;
    margin-top: 36px;
  }

  .partners__icons li + li::before {
    left: -20px;
    width: 12px;
    height: 12px;
  }

  .extras {
    margin-top: 56px;
  }

  .extras__inner,
  .extras__item:nth-child(even) .extras__inner {
    grid-template-columns: 64px 1fr;
    column-gap: 16px;
    min-height: 0;
    padding-block: 24px;
  }

  .extras__icon img {
    width: 64px;
  }

  .extras__text {
    margin-top: 8px;
  }

  .bubble {
    padding: 16px 16px 20px;
    border-width: 4px;
    border-radius: 18px;
  }

  .advisor__badge br {
    display: none;
  }

  .advantages {
    padding-top: 72px;
  }

  .advantages__grid {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .card {
    min-height: 0;
  }

  .card__text br {
    display: none;
  }

  .process {
    padding-top: 72px;
  }

  .process__head {
    grid-template-columns: 1fr 96px;
    column-gap: 16px;
  }

  .process__heading {
    padding-top: 0;
  }

  .process__title {
    padding-bottom: 10px;
  }

  /* Шаги — вертикальный список */
  .steps {
    grid-template-columns: 1fr;
    row-gap: 28px;
    margin-top: 32px;
  }

  .steps__item {
    display: flex;
    align-items: center;
    min-height: 72px;
    padding: 0 0 0 92px;
  }

  .steps__item br {
    display: none;
  }

  .steps__item::before {
    top: 50%;
    left: 0;
    width: 72px;
    height: 72px;
    padding: 5px;
    border-width: 4px;
    font-size: 26px;
    box-shadow: inset 0 0 0 5px var(--white);
    transform: translateY(-50%);
  }

  .steps__item:not(:last-child)::after {
    top: 50%;
    left: 33px;
    width: 6px;
    height: calc(100% + 28px);
    background: var(--dash-y) repeat-y center top;
  }

  .btn--large {
    min-height: 72px;
    padding-inline: 24px;
  }

  .contacts {
    padding-top: 72px;
  }

  .contacts__icons {
    gap: 16px;
    margin-top: 24px;
  }

  .contacts__icons img {
    width: 84px;
  }

  .schedule {
    padding-top: 80px;
  }

  .schedule__band {
    padding: 24px 0;
  }

  /* Будни — по три в ряд, выходные — отдельной строкой */
  .schedule__days {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 12px;
  }

  .schedule__day dt {
    min-height: 0;
    padding-top: 0;
  }

  .schedule__day dd {
    margin-top: 6px;
  }

  .schedule__day--off {
    grid-column: 2 / -1;
    justify-self: stretch;
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }

  .schedule__day--off dt {
    min-height: 48px;
    border-radius: 10px;
  }

  .schedule__day--off dd {
    margin-top: 0;
  }

  .schedule__lunch {
    margin-top: 24px;
  }

  .feedback {
    padding-top: 80px;
  }

  .form {
    padding: 16px 16px 14px;
    border-width: 4px;
  }

  .form__field {
    min-height: 52px;
    margin-bottom: 12px;
    padding: 10px 14px;
  }

  .form__field--area {
    min-height: 130px;
  }

  .btn--submit {
    min-height: 56px;
  }

  .footer__inner {
    padding-block: 40px;
  }

  .footer__logo img {
    width: 260px;
  }

  .footer__nav {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
    gap: 16px 20px;
  }

  .footer__nav li {
    padding-right: 0;
  }

  .footer__nav br {
    display: none;
  }
}

/* --- Небольшие телефоны --- */
@media (max-width: 479px) {
  .header .social {
    gap: 12px;
  }

  .logo img {
    width: 140px;
  }

  .header .social__link {
    min-width: 32px;
  }

  .header .social__link img {
    height: 24px;
  }

  .header .social li:nth-child(2) img {
    height: 17px;
  }

  .header .social__link--max img {
    height: 21px;
  }

  .about__banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .card {
    --card-band-top: 32px;
    --card-band-left: 54px;
    --card-band-h: 56px;
    --card-hand-w: 88px;
  }

  .partners__icons {
    gap: 16px;
  }

  .partners__icons li + li::before {
    display: none;
  }

  .process__media {
    display: none;
  }

  .process__head {
    grid-template-columns: 1fr;
  }

  .schedule__days {
    grid-template-columns: repeat(3, 1fr);
  }

  .schedule__day--off {
    grid-column: 1 / -1;
  }

  .footer__nav {
    grid-template-columns: 1fr;
  }
}

/* --- Уважение к настройкам «уменьшить движение» --- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* =========================================================
   Москва: новые блоки
   ========================================================= */

/* ---------- Направления в два столбца ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  margin-top: 48px;
}

.features-grid__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  column-gap: 20px;
  align-items: center;
  min-height: 108px;
  padding: 14px 24px;
  border-radius: 20px;
  background: var(--beige);
}

.features-grid__icon {
  justify-self: center;
}

.features-grid .features__title {
  line-height: 1.05;
}

/* ---------- Выберите подходящее обслуживание ---------- */
.plans {
  padding-top: 88px;
}

.plans__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 34px;
}

.card--link {
  --card-band-top: 40px;
  --card-band-left: 72px;
  --card-band-h: 68px;
  --card-hand-w: 110px;

  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-bottom: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card--link:hover,
.card--link:focus-within {
  box-shadow: 0 14px 32px rgba(11, 43, 87, 0.22);
  transform: translateY(-4px);
}

.card--link .card__title {
  font-size: 19px;
}

/* Вся карточка — ссылка */
.card--link .card__title a::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
}

.card--link .card__title a:focus-visible {
  outline: none;
}

.card--link:focus-within {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.card--link .card__text {
  padding: 22px 22px 0;
  font-size: 18px;
  line-height: 1.25;
}

.card__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.card__more::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2.5px solid currentColor;
  border-right: 2.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.card--link:hover .card__more::after {
  transform: translateX(4px) rotate(45deg);
}

/* ---------- Контакты + форма ---------- */
.reach {
  padding-top: 96px;
}

.reach__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: 48px;
  align-items: center;
}

.contacts--side {
  padding-top: 0;
}

.contacts--side .contacts__title {
  font-size: clamp(40px, 5vw, 60px);
}

.contacts--side .contacts__icons {
  gap: 20px;
  margin-top: 24px;
}

.contacts--side .contacts__icons img {
  width: 96px;
}

.contacts--side .contacts__phone {
  font-size: clamp(26px, 3.2vw, 40px);
}

.contacts--side .contacts__email,
.contacts--side .contacts__address {
  font-size: clamp(18px, 2vw, 24px);
}

.contacts--side .contacts__address {
  line-height: 1.15;
}

.contacts--side .contacts__email::before,
.contacts--side .contacts__address::before {
  width: 280px;
  margin: 20px auto 18px;
}

.lead {
  width: 100%;
  padding: 22px 28px 20px;
}

.lead .form__subtitle {
  margin-bottom: 6px;
  font-weight: 700;
}

.lead__hint {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.3;
  color: var(--ink);
}

.lead__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}

.lead__label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
}

.lead .form__field {
  min-height: 50px;
  margin: 6px 0 0;
  padding: 10px 14px;
  font-size: 17px;
}

.lead select.form__field {
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230b2b57' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.lead .form__field--area {
  min-height: 92px;
}

.lead__extra {
  margin: 14px 0;
  border: 2px solid var(--blue);
  border-radius: 12px;
}

.lead__extra summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  list-style: none;
  cursor: pointer;
}

.lead__extra summary::-webkit-details-marker {
  display: none;
}

.lead__extra summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease;
}

.lead__extra[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.lead__extra .lead__grid {
  padding: 4px 16px 16px;
}

.lead__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin-top: 18px;
}

.lead__btn {
  min-height: 56px;
  padding: 10px 16px;
  font-size: 17px;
}

.lead__btn[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
  box-shadow: none;
}

.btn--ghost {
  border: 3px solid var(--navy);
  background: transparent;
  color: var(--navy);
}

.btn--ghost:hover {
  background: var(--blue-soft);
}

.lead .form__notice {
  max-width: none;
  text-align: center;
}

.lead .consent--form {
  color: var(--muted);
}

/* ---------- Страницы услуг ---------- */
.hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero__back::before {
  content: "";
  width: 8px;
  height: 8px;
  border-left: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(45deg);
}

.hero--page .hero__inner {
  grid-template-columns: 380fr 692fr;
  column-gap: 40px;
}

.hero--page .hero__text {
  max-width: 620px;
  line-height: 1.25;
}

.info {
  padding-top: 72px;
}

.info__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.info__item {
  padding: 32px 34px 34px;
  border-radius: 24px;
  background: var(--blue);
}

.info__item:nth-child(even) {
  background: var(--beige);
}

.info__title {
  font-size: var(--fs-l);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.info__text {
  margin-top: 16px;
  color: var(--ink);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.35;
}

.info__link {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 700;
}

.info__link a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Адаптив новых блоков ---------- */
@media (max-width: 991px) {
  .plans__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
    gap: 20px;
  }

  .reach__inner {
    grid-template-columns: 1fr;
    row-gap: 48px;
  }

  .hero--page .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero--page .hero__media {
    width: min(300px, 60%);
  }
}

@media (max-width: 767px) {
  .features-grid {
    gap: 12px;
    margin-top: 32px;
  }

  .features-grid__item {
    grid-template-columns: 1fr;
    row-gap: 10px;
    justify-items: center;
    min-height: 0;
    padding: 16px 10px;
    border-radius: 16px;
    text-align: center;
  }

  .features-grid__icon {
    width: 44px;
  }

  .features-grid .features__title {
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .plans,
  .reach {
    padding-top: 64px;
  }

  .info {
    padding-top: 48px;
  }

  .info__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .info__item {
    padding: 24px 20px;
  }

  .lead {
    padding: 16px 16px 14px;
  }
}

@media (max-width: 479px) {
  .lead__grid,
  .lead__actions {
    grid-template-columns: 1fr;
  }
}

/* ---------- Две кнопки на первом экране ---------- */
.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}

.hero .hero__actions .btn {
  flex: 1 1 0;
  margin-top: 0;
  padding-inline: 18px;
  font-size: clamp(14px, 1.4vw, 17px);
}

.hero .hero__actions .btn--ghost {
  flex: 0 0 auto;
  width: auto;
  white-space: nowrap;
}

/* ---------- Человек с лампочкой рядом с формой (страницы услуг) ---------- */
.reach__advisor {
  text-align: center;
}

.bubble--down {
  padding: 18px 20px 22px;
  font-size: clamp(20px, 2.3vw, 27px);
  text-align: left;
}

.bubble--down::before {
  display: none;
}

/* Хвостик облачка — вниз, к человеку */
.bubble--down::after {
  content: "";
  position: absolute;
  bottom: -18px;
  left: calc(50% - 14px);
  width: 28px;
  height: 28px;
  border-right: 6px solid var(--navy);
  border-bottom: 6px solid var(--navy);
  background: var(--white);
  transform: rotate(45deg);
}

.reach__man {
  width: min(290px, 68%);
  margin: 30px auto 0;
}

.reach__phone {
  display: inline-block;
  margin-top: 18px;
  padding: 6px 4px;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.reach__phone:hover {
  color: #1d4e93;
}

@media (max-width: 767px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero .hero__actions .btn,
  .hero .hero__actions .btn--ghost {
    flex: none;
    width: 100%;
  }

  .bubble--down {
    padding: 16px 16px 20px;
  }

  .bubble--down::after {
    border-width: 4px;
  }
}

/* Удобная зона нажатия для телефона в контактах */
.contacts--side .contacts__phone {
  padding-block: 8px;
}

/* Очень узкие экраны: длинные слова в заголовках переносятся, а не обрезаются */
@media (max-width: 379px) {
  .extras__title,
  .hero__title,
  .section-title {
    overflow-wrap: anywhere;
  }
}
