/* М2Комстрой «Квартиры у Дона» — дизайн по рекламному макету:
   тёмно-зелёный / тёплый оранжевый / молочный / белый. Шрифт — Golos Text. */
@font-face { font-family: 'Golos Text'; src: url('/fonts/golos-text-cyrillic-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Golos Text'; src: url('/fonts/golos-text-cyrillic-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Golos Text'; src: url('/fonts/golos-text-cyrillic-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --green: #1d3a2a;
  --green-2: #142a1e;
  --green-3: #2a5240;
  --green-soft: #e3ece6;
  --orange: #e07b39;
  --orange-2: #c9641f;
  --orange-soft: #fbe9db;
  --milk: #f6f2ea;
  --ink: #1c2420;
  --muted: #5a665e;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(20, 42, 30, .12);
  --shadow-lg: 0 20px 60px rgba(20, 42, 30, .22);
  --font: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --top-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--milk);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--green); color: var(--white); padding: 10px 16px; border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: .04em; text-transform: uppercase;
  padding: 16px 30px; text-decoration: none; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn--primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-2) 100%);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(224, 123, 57, .38);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(224, 123, 57, .5); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: transparent; color: var(--green);
  border: 2px solid var(--green);
}
.btn--ghost:hover { background: var(--green); color: var(--white); }
.btn--block { width: 100%; }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }
.btn .spin {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- шапка ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--top-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 clamp(16px, 4vw, 48px);
  color: var(--white);
  transition: background .25s ease, box-shadow .25s ease, color .25s ease;
}
.top.is-solid {
  background: rgba(20, 42, 30, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .18);
}
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.15; }
.brand__mark { font-weight: 600; font-size: 19px; letter-spacing: .1em; }
.brand__line { font-size: 11px; opacity: .75; max-width: 340px; }
.top__contacts { display: flex; align-items: center; gap: 14px; }
.top__phone, .top__wa {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 8px 12px; border-radius: 999px;
  transition: background .18s ease;
}
.top__phone { background: rgba(255, 255, 255, .12); }
.top__phone:hover, .top__wa:hover { background: rgba(255, 255, 255, .22); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--top-h) + 32px) clamp(16px, 5vw, 64px) 56px;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}
.hero__img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(16, 34, 24, .9) 0%, rgba(16, 34, 24, .62) 42%, rgba(16, 34, 24, .18) 75%, rgba(224, 123, 57, .22) 100%),
    linear-gradient(to top, rgba(16, 34, 24, .85) 0%, transparent 35%);
}
.hero__inner { max-width: 1080px; }
.hero__eyebrow {
  display: inline-block;
  font-size: 14px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange-soft);
  border-left: 3px solid var(--orange);
  padding-left: 12px;
  margin-bottom: 18px;
}
.hero__h1 {
  font-size: clamp(34px, 6.2vw, 76px);
  font-weight: 600; line-height: 1.02; letter-spacing: .01em;
  text-wrap: balance;
  max-width: 15ch;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}
.hero__sub {
  margin-top: 18px;
  font-size: clamp(16px, 2vw, 21px);
  max-width: 46ch;
  color: rgba(255, 255, 255, .92);
}
.hero__offers {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 28px;
}
.offer-chip {
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 16px 20px;
  min-width: 260px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.offer-chip--mortgage { background: var(--green); color: var(--white); }
.offer-chip__badge {
  display: inline-block;
  font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  background: var(--orange); color: var(--white);
  margin-bottom: 10px;
}
.offer-chip--mortgage .offer-chip__badge { background: var(--orange); }
.offer-chip__lines li {
  font-size: 17px; font-weight: 600;
  padding: 2px 0;
}
.offer-chip__lines li b { color: var(--orange-2); font-weight: 600; }
.offer-chip--mortgage .offer-chip__lines li b { color: var(--orange); }
.hero__note {
  margin-top: 22px;
  font-size: 12px; line-height: 1.5;
  color: rgba(255, 255, 255, .62);
  max-width: 72ch;
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: 28px; height: 44px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 999px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 9px;
  margin-left: -2px; border-radius: 4px; background: var(--orange);
  animation: scrollhint 1.8s ease-in-out infinite;
}
@keyframes scrollhint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- формы ---------- */
.lead { margin-top: 26px; max-width: 860px; }
.lead__caption { font-size: 14px; color: rgba(255, 255, 255, .85); margin-bottom: 10px; }
.lead__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.lead__row .field { flex: 1 1 200px; }
.lead__btn { flex: 0 0 auto; }
.field__label {
  display: block;
  font-size: 12.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
  margin-bottom: 6px;
}
.input {
  width: 100%;
  font: inherit; font-size: 16px;
  color: var(--ink);
  background: var(--white);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.input::placeholder { color: #9aa49d; }
.input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(224, 123, 57, .2); }
.input[aria-invalid="true"] { border-color: #cf3f3f; }
.field__error { font-size: 12.5px; color: #ffb4a8; margin-top: 5px; min-height: 1em; }
.lead__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead__consent { font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, .62); margin-top: 12px; max-width: 72ch; }
.lead__consent a { color: rgba(255, 255, 255, .9); }
.lead__alert {
  margin-top: 12px; padding: 12px 16px; border-radius: var(--radius-sm);
  background: rgba(207, 63, 63, .18); border: 1px solid rgba(255, 180, 168, .5);
  font-size: 14px; color: #ffd9d2;
}
.lead__alert a { color: #fff; font-weight: 600; }
.lead__explain { font-size: 13px; color: rgba(255, 255, 255, .7); margin-top: 12px; }

/* ---------- секции ---------- */
.section { padding: clamp(56px, 8vw, 110px) clamp(16px, 5vw, 64px); }
.section--dark { background: var(--green); color: var(--white); }
.section__head { max-width: 780px; margin: 0 auto 40px; text-align: center; }
.section__title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 600; line-height: 1.08; letter-spacing: .02em;
}
.section__sub { margin-top: 14px; font-size: clamp(15px, 1.6vw, 18px); color: var(--muted); }
.section--dark .section__sub { color: rgba(255, 255, 255, .75); }
.section__cta { text-align: center; margin-top: 34px; }

/* ---------- экран 2: способы покупки ---------- */
.ways { background: var(--white); }
.ways__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px; max-width: 1060px; margin: 0 auto;
}
.way {
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease;
}
.way:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.way--installment { background: var(--milk); border-color: var(--green-soft); }
.way--mortgage { background: var(--green); color: var(--white); }
.way__badge {
  align-self: flex-start;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  background: var(--orange); color: var(--white);
}
.way__title { font-size: clamp(21px, 2.4vw, 27px); font-weight: 600; }
.way__lines li {
  font-size: clamp(17px, 2vw, 21px); font-weight: 600;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(90, 102, 94, .3);
}
.way--mortgage .way__lines li { border-color: rgba(255, 255, 255, .25); }
.way__lines li b { color: var(--orange-2); font-weight: 600; }
.way--mortgage .way__lines li b { color: var(--orange); }
.way__benefit { font-size: 14.5px; color: var(--muted); flex-grow: 1; }
.way--mortgage .way__benefit { color: rgba(255, 255, 255, .78); }
.btn--way { align-self: flex-start; }
.way--installment .btn--way { background: var(--green); color: var(--white); }
.way--installment .btn--way:hover { background: var(--green-3); }
.way--mortgage .btn--way { background: var(--orange); color: var(--white); }
.way--mortgage .btn--way:hover { background: var(--orange-2); }
.way.is-accent { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- экран 3: преимущества ---------- */
.adv { background: var(--milk); }
.adv__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px; max-width: 1160px; margin: 0 auto;
}
.adv {
  background: var(--milk);
}
.adv__grid .adv {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 4px 16px rgba(20, 42, 30, .06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.adv__grid .adv:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.adv__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--green-soft); color: var(--green);
  margin-bottom: 14px;
}
.adv__icon svg { width: 26px; height: 26px; }
.adv h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 6px; }
.adv p { font-size: 14px; color: var(--muted); }

/* ---------- экран 4: планировки ---------- */
.plans { background: var(--white); }
.plans__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px; max-width: 1160px; margin: 0 auto;
}
.plan {
  background: var(--milk);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.plan:hover { transform: translateY(-4px); border-color: var(--orange); box-shadow: var(--shadow); }
.plan__scheme {
  height: 170px; border-radius: var(--radius-sm);
  background: var(--white);
  border: 1.5px solid var(--green-soft);
  margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 10px;
}
.plan__scheme img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  transition: transform .25s ease;
}
.plan:hover .plan__scheme img { transform: scale(1.06); }
.plan h3 { font-size: 17px; font-weight: 600; }
.plan__area { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.plan__price { font-size: 20px; font-weight: 600; color: var(--green); margin-top: 8px; }
.plan__pay { font-size: 13.5px; color: var(--orange-2); font-weight: 500; margin-top: 2px; }
.plans__note {
  text-align: center; font-size: 12.5px; color: var(--muted);
  max-width: 70ch; margin: 22px auto 0;
}

/* генплан-баннер в преимуществах */
.genplan {
  position: relative;
  max-width: 1160px; margin: 26px auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.genplan img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.genplan figcaption {
  position: absolute; left: 16px; bottom: 14px;
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(20, 42, 30, .72); color: var(--white);
  padding: 10px 16px; border-radius: var(--radius-sm);
  backdrop-filter: blur(6px);
}
.genplan figcaption span { font-weight: 600; font-size: 15px; }
.genplan figcaption small { font-size: 11px; opacity: .7; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- экран 5: семейный образ жизни ---------- */
.family { background: var(--milk); }
.family__grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  max-width: 1160px; margin: 0 auto;
}
.family__media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.family__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 8 / 9; }
.family__tag {
  position: absolute; left: 12px; bottom: 12px;
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(20, 42, 30, .72); color: var(--white);
  padding: 5px 10px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.family__text .section__title, .family__text .section__sub { text-align: left; margin-left: 0; }
.family__points { margin: 24px 0 28px; display: grid; gap: 12px; }
.family__points li {
  position: relative; padding-left: 32px;
  font-size: 15.5px;
}
.family__points li::before {
  content: '';
  position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23e07b39'/%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M6.5 12.4l3.6 3.6L17.5 8'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- экран 6: как купить ---------- */
.steps__list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px; max-width: 1160px; margin: 0 auto;
  counter-reset: step;
}
.step {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 22px;
}
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  font-weight: 600; font-size: 17px;
  margin-bottom: 14px;
}
.step h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: rgba(255, 255, 255, .72); }

/* ---------- экран 7: FAQ ---------- */
.faq { background: var(--white); }
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item {
  background: var(--milk);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid transparent;
  transition: border-color .18s ease;
}
.faq__item.is-open { border-color: var(--green-soft); }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; text-align: left;
  font: inherit; font-size: 16px; font-weight: 600; color: var(--ink);
  padding: 18px 20px;
}
.faq__chev {
  flex: 0 0 auto;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  position: relative;
  transition: transform .2s ease, background .2s ease;
}
.faq__chev::before, .faq__chev::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 10px; height: 2px; border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq__chev::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.faq__item.is-open .faq__chev { background: var(--orange); color: var(--white); transform: rotate(180deg); }
.faq__item.is-open .faq__chev::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { padding: 0 20px; }
.faq__a p { font-size: 14.5px; color: var(--muted); padding-bottom: 18px; max-width: 68ch; }

/* ---------- экран 8: финальная заявка ---------- */
.lead-final { background: linear-gradient(160deg, var(--green) 0%, var(--green-2) 100%); }
.lead-final__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.lead-final .section__title, .lead-final .section__sub { text-align: center; }
.lead-final .lead { margin: 34px auto 0; max-width: 560px; text-align: left; }
.lead-final .field__label { color: rgba(255, 255, 255, .75); }
.lead__row--final { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead__interest { border: 0; padding: 0; margin: 18px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1.5px solid rgba(255, 255, 255, .25);
  color: var(--white); font-size: 14px; font-weight: 500;
  transition: background .18s ease, border-color .18s ease;
  cursor: pointer;
}
.chip:hover span { border-color: rgba(255, 255, 255, .5); }
.chip input:checked + span { background: var(--orange); border-color: var(--orange); }
.chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.lead-final .lead__btn { margin-top: 22px; }
.lead__success {
  margin: 34px auto 0; max-width: 560px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}
.lead__success-title {
  font-size: 22px; font-weight: 600; color: var(--white);
  display: inline-flex; align-items: center; gap: 10px;
}
.lead__success-title::before {
  content: ''; width: 26px; height: 26px; flex: 0 0 auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23e07b39'/%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M6.5 12.4l3.6 3.6L17.5 8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lead__success-text { margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, .8); }
.lead__success-id { margin-top: 12px; font-size: 12.5px; color: rgba(255, 255, 255, .55); }

/* ---------- подвал ---------- */
.foot {
  background: var(--green-2); color: var(--white);
  padding: 44px clamp(16px, 5vw, 64px) 90px;
  display: grid; grid-template-columns: 1.2fr 1fr 1.4fr;
  gap: 28px;
}
.brand__mark--foot { font-size: 22px; }
.foot__muted { font-size: 12.5px; color: rgba(255, 255, 255, .55); margin-top: 8px; max-width: 52ch; }
.foot__phone { font-size: 20px; font-weight: 600; text-decoration: none; }
.foot__links { margin-top: 10px; }
.foot__link { color: rgba(255, 255, 255, .8); font-size: 14px; }
.foot__legal p { margin-top: 8px; }

/* ---------- липкая кнопка (мобильные) ---------- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(20, 42, 30, .95) 40%, transparent);
  transform: translateY(110%);
  transition: transform .25s ease;
}
.sticky.is-visible { transform: translateY(0); }
.sticky .btn { padding: 15px 24px; font-size: 14px; }

/* ---------- появление блоков ---------- */
/* без JS контент виден сразу; анимацию включает добавленный app.js класс js */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- адаптив ---------- */
@media (max-width: 1024px) {
  .brand__line { display: none; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot__legal { grid-column: 1 / -1; }
}
@media (max-width: 719px) {
  :root { --top-h: 56px; }
  body { font-size: 15px; }
  .top__phone span { display: none; }
  .top__phone { padding: 9px; border-radius: 50%; }
  .hero { padding-bottom: 72px; }
  .hero__offers { flex-direction: column; }
  .offer-chip { min-width: 0; }
  .lead__row { flex-direction: column; }
  .lead__row .field, .lead__btn { width: 100%; flex: 1 1 auto; }
  .lead__row--final { grid-template-columns: 1fr; }
  .family__grid { grid-template-columns: 1fr; }
  .family__media { order: -1; }
  .family__media img { aspect-ratio: 4 / 3; }
  .ways__grid { grid-template-columns: 1fr; }
  .btn { padding: 15px 22px; font-size: 14px; }
  .section__head { text-align: left; margin-bottom: 28px; }
  .section__cta { text-align: left; }
  .lead-final__inner, .lead-final .section__title, .lead-final .section__sub { text-align: left; }
  .hero__scroll { display: none; }
}
@media (max-width: 719px) {
  .sticky { display: block; }
}
@media (min-width: 720px) {
  .sticky { display: none; }
}

/* ---------- доступность и предпочтения ---------- */
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
