/* TUR FLY — лендинг «Китай осенью». Реализация макета Landing B.
   Токены совпадают со значениями макета: менять цвет здесь, а не по месту. */

:root {
  --bg: #fff8f0;
  --ink: #14100e;
  --ink-2: #3a302a;
  --muted: #5b4e45;
  --muted-2: #6b5b50;
  --muted-3: #8a7a6e;
  --muted-4: #a2938a;
  --accent: #c9481f;
  --accent-dark: #a03714;
  --sand: #f5e9da;
  --blush: #f7e2d6;
  --clay: #efe0ce;
  --clay-2: #e3d3c0;
  --line: rgba(20, 16, 14, 0.12);
  --line-soft: rgba(20, 16, 14, 0.1);
  --line-accent: rgba(201, 72, 31, 0.28);
  --err: #ba1a1a;
  --wrap: 1320px;
  --pad: 32px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Горизонтальную прокрутку режем на корне, а не на обёртке страницы:
   overflow-x на предке отменил бы position:sticky у шапки. */
html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* height:auto гасит presentational hint из атрибута height — иначе он
   перебивает aspect-ratio. Правила с классами задают высоту сами. */
img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-dark);
}

h1,
h2,
h3,
h4 {
  margin: 0;
}

p {
  margin: 0;
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.hidden {
  display: none !important;
}

/* Honeypot: уводим за экран, а не display:none — скрытые поля боты пропускают. */
.hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ------------------------------------------------------------------ *
 * Раскладка
 * ------------------------------------------------------------------ */

.page {
  max-width: 100%;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.section {
  padding-top: 104px;
}

/* Секция во всю ширину с собственным фоном. */
.band {
  margin-top: 104px;
}

.band__inner {
  padding-top: 96px;
  padding-bottom: 96px;
}

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

.band--clay {
  background: var(--clay);
}

.split {
  display: grid;
  gap: 56px;
}

.split--hero {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.split--head {
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
}

.split--head-end {
  align-items: end;
}

.split--faq {
  grid-template-columns: 0.7fr 1.3fr;
  align-items: start;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Плитка «в одну сетку»: зазор в 1px рисует фон-подложка. */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

/* ------------------------------------------------------------------ *
 * Типографика
 * ------------------------------------------------------------------ */

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.eyebrow--dark {
  color: var(--accent-dark);
}

.h1 {
  font-weight: 700;
  font-size: clamp(46px, 5.4vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 26px;
}

.h2 {
  font-weight: 700;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.028em;
}

.h2--sm {
  font-size: clamp(32px, 3.6vw, 50px);
  line-height: 1.04;
}

.serif {
  font-family: 'Noto Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.serif--dark {
  color: var(--accent-dark);
}

.lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 560px;
  text-wrap: pretty;
}

.lead--hero {
  font-size: 19.5px;
  line-height: 1.6;
  max-width: 540px;
}

.lead--tight {
  max-width: 540px;
}

/* ------------------------------------------------------------------ *
 * Кнопки и бейджи
 * ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 17px 30px;
  border: 0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s, color 0.18s;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn--soft {
  background: var(--sand);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}

.btn--soft:hover {
  background: var(--clay);
  color: var(--ink);
}

.btn--ghost {
  padding: 17px 26px;
  color: var(--muted-2);
  font-weight: 500;
}

.btn--ghost:hover {
  color: var(--ink);
}

.btn--ink {
  padding: 15px 28px;
  background: var(--ink);
  color: var(--bg);
  font-size: 15.5px;
}

.btn--ink:hover {
  background: var(--accent);
  color: #fff;
}

.btn--block {
  width: 100%;
  padding: 17px;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--blush);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 500;
}

.badge--light {
  background: var(--bg);
}

.badge__dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

/* ------------------------------------------------------------------ *
 * Шапка
 * ------------------------------------------------------------------ */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 248, 240, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s;
}

.header.is-scrolled {
  box-shadow: 0 10px 30px -24px rgba(20, 16, 14, 0.9);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  white-space: nowrap;
  flex: 0 0 auto;
}

.logo__mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
}

.logo__text {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
}

.nav a {
  color: var(--muted-2);
}

.nav a:hover {
  color: var(--ink);
}

.header__side {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header__phone {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.header__phone:hover {
  color: var(--accent);
}

.header__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.header__cta:hover {
  background: var(--accent-dark);
  color: #fff;
}

/* ------------------------------------------------------------------ *
 * Первый экран
 * ------------------------------------------------------------------ */

.hero {
  padding-top: 72px;
}

.hero__badge {
  margin-bottom: 28px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero__media {
  position: relative;
}

.hero__frame {
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  background: var(--clay);
}

/* Высота больше рамки — запас, который «съедает» параллакс при прокрутке. */
.hero__frame img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: 52% 50%;
  display: block;
}

.hero__inset {
  position: absolute;
  left: -26px;
  bottom: 34px;
  width: 190px;
  background: var(--bg);
  padding: 11px;
  border-radius: 16px;
  box-shadow: 0 24px 44px -22px rgba(20, 16, 14, 0.5);
}

.hero__inset img {
  width: 100%;
  aspect-ratio: 1 / 0.8;
  object-fit: cover;
  display: block;
  border-radius: 9px;
}

.hero__inset p {
  margin: 8px 3px 2px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-3);
}

.stats {
  margin-top: 64px;
}

.stat {
  background: var(--sand);
  padding: 30px 26px 34px;
}

.stat--accent {
  background: var(--blush);
}

.stat__value {
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat--accent .stat__value {
  color: var(--accent);
}

.stat__label {
  font-size: 14px;
  color: var(--muted-2);
  margin-top: 8px;
}

/* ------------------------------------------------------------------ *
 * Карточки «для кого»
 * ------------------------------------------------------------------ */

.cards {
  margin-top: 56px;
}

.card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--sand);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease);
}

.card__media {
  aspect-ratio: 4 / 3;
  background: var(--clay);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card__body {
  padding: 28px 26px 30px;
  flex: 1;
}

.card__tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.card__title {
  font-weight: 600;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

.card__text {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ------------------------------------------------------------------ *
 * Что входит
 * ------------------------------------------------------------------ */

.incl {
  background: var(--bg);
  padding: 32px 26px;
}

.incl--accent {
  background: var(--blush);
}

.incl__num {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 14px;
}

.incl__title {
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 8px;
}

.incl__text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted-2);
}

.incl--accent .incl__text {
  color: var(--muted);
}

/* ------------------------------------------------------------------ *
 * Сравнение
 * ------------------------------------------------------------------ */

.compare {
  margin-top: 48px;
}

.compare__col {
  border-radius: 20px;
  border: 1px solid rgba(20, 16, 14, 0.14);
  padding: 34px 30px 12px;
  background: var(--sand);
}

.compare__col--yes {
  border-color: rgba(201, 72, 31, 0.32);
  background: var(--blush);
}

.compare__title {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 24px;
  color: var(--muted-2);
}

.compare__col--yes .compare__title {
  color: var(--accent-dark);
}

.compare__row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
}

.compare__col--yes .compare__row {
  border-top-color: rgba(201, 72, 31, 0.2);
  color: var(--ink-2);
}

.compare__mark {
  flex: 0 0 auto;
  color: var(--muted-4);
}

.compare__col--yes .compare__mark {
  color: var(--accent);
}

/* ------------------------------------------------------------------ *
 * Сопровождающий
 * ------------------------------------------------------------------ */

.guide__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.guide__lead {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 520px;
  margin: 20px 0 30px;
}

.guide__points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 34px;
}

.guide__point {
  background: var(--bg);
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}

.guide__point--wide {
  grid-column: span 2;
}

.guide__media {
  position: relative;
}

.guide__frame {
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: var(--clay-2);
}

.guide__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.guide__card {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: rgba(255, 248, 240, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 18px 22px;
}

.guide__role {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3px;
}

.guide__name {
  font-size: 21px;
  font-weight: 600;
}

.guide__post {
  font-size: 13.5px;
  color: var(--muted-2);
  margin-top: 2px;
}

/* ------------------------------------------------------------------ *
 * Галерея
 * ------------------------------------------------------------------ */

.gallery__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 34px;
}

.gallery__note {
  font-size: 14px;
  color: var(--muted-3);
  max-width: 280px;
  margin-bottom: 8px;
}

.gallery__strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 0 var(--pad) 24px;
  scroll-snap-type: x mandatory;
}

.gallery__strip::-webkit-scrollbar {
  height: 6px;
}

.gallery__strip::-webkit-scrollbar-thumb {
  background: rgba(20, 16, 14, 0.22);
  border-radius: 99px;
}

.shot {
  flex: 0 0 380px;
  margin: 0;
  scroll-snap-align: center;
  transition: transform 0.3s var(--ease);
}

.shot--wide {
  flex-basis: 460px;
}

.shot--narrow {
  flex-basis: 300px;
}

.shot__frame {
  height: 320px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--clay);
}

.shot__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shot figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--muted-3);
}

/* ------------------------------------------------------------------ *
 * Шаги
 * ------------------------------------------------------------------ */

.steps {
  margin-top: 48px;
}

.step {
  border-radius: 20px;
  background: var(--sand);
  padding: 32px 28px 34px;
}

.step__num {
  display: flex;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 22px;
}

.step__title {
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.step__text {
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--muted);
}

/* ------------------------------------------------------------------ *
 * FAQ
 * ------------------------------------------------------------------ */

.faq__intro {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 20px;
}

.faq__item {
  background: var(--sand);
  border-radius: 16px;
  margin-bottom: 10px;
  padding: 0 26px;
}

.faq__item:last-child {
  margin-bottom: 0;
}

.faq__item > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0 14px;
  font-size: 18px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

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

.faq__sign {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}

.faq__item[open] .faq__sign {
  transform: rotate(45deg);
}

.faq__answer {
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.68;
  color: var(--muted);
}

/* ------------------------------------------------------------------ *
 * Заявка
 * ------------------------------------------------------------------ */

.lead-block {
  margin-top: 104px;
}

.lead-block__box {
  border-radius: 28px;
  background: var(--blush);
  border: 1px solid var(--line-accent);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.lead-block__title {
  font-weight: 700;
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.lead-block__text {
  font-size: 17.5px;
  line-height: 1.62;
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 34px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 12px 22px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 14.5px;
}

.chip:hover {
  background: #fff;
  color: var(--ink);
}

.form-card {
  background: var(--bg);
  padding: 34px;
  border-radius: 20px;
  border: 1px solid rgba(20, 16, 14, 0.08);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 7px;
}

.field__input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(20, 16, 14, 0.16);
  border-radius: 11px;
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
}

.field__input::placeholder {
  color: var(--muted-4);
}

.field__err {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--err);
}

.field-error {
  border-color: var(--err) !important;
}

.consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted-3);
  cursor: pointer;
}

.consent input {
  margin-top: 2px;
  accent-color: var(--accent);
}

.form-msg {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.6;
}

.form-msg--err {
  background: #fdeceb;
  border: 1px solid rgba(186, 26, 26, 0.28);
  color: #5f1412;
}

.form-msg--ok {
  background: var(--sand);
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.form-msg--ok h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-msg p + p {
  margin-top: 6px;
}

/* ------------------------------------------------------------------ *
 * Офисы
 * ------------------------------------------------------------------ */

.office {
  border-radius: 20px;
  background: var(--sand);
  padding: 30px 28px;
  transition: transform 0.3s var(--ease);
}

.office__title {
  font-weight: 600;
  font-size: 21px;
  margin-bottom: 8px;
}

.office__addr {
  font-size: 15.5px;
  color: var(--muted);
  margin-bottom: 16px;
}

.office__link {
  font-size: 15px;
  font-weight: 500;
}

.offices__lead {
  font-size: 17px;
  color: var(--muted);
  margin: 12px 0 40px;
}

/* ------------------------------------------------------------------ *
 * Подвал
 * ------------------------------------------------------------------ */

.footer {
  margin-top: 96px;
  background: var(--clay);
  color: var(--muted);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 56px;
  padding-top: 64px;
  padding-bottom: 32px;
}

.footer__about {
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 380px;
  margin: 0 0 20px;
}

.footer__legal {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted-3);
}

.footer__heading {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
  font-weight: 600;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14.5px;
}

.footer__links a {
  color: var(--muted);
}

.footer__links a:hover {
  color: var(--ink);
}

.footer__phone {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.footer__phone:hover {
  color: var(--accent);
}

.footer__mail {
  display: block;
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 18px;
}

.footer__mail:hover {
  color: var(--ink);
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.footer__social a {
  padding: 8px 16px;
  border-radius: 9px;
  border: 1px solid rgba(20, 16, 14, 0.16);
  font-size: 13.5px;
  color: var(--muted);
}

.footer__social a:hover {
  background: var(--bg);
  color: var(--ink);
}

.footer__hours {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted-3);
}

.footer__bottom {
  padding-top: 22px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted-3);
}

.credits {
  padding-bottom: 40px;
}

.credits__title {
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-4);
}

.credits__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted-3);
}

.credits__list a {
  color: var(--muted-2);
}

/* ------------------------------------------------------------------ *
 * Появление при прокрутке. Стартовое состояние ставит JS, чтобы без него
 * содержимое оставалось видимым.
 * ------------------------------------------------------------------ */

.reveal-armed {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal-armed.is-visible {
  opacity: 1;
  transform: none;
}

.is-lifted {
  transform: translateY(-6px);
}

/* ------------------------------------------------------------------ *
 * Адаптив. Точки повторяют макет.
 * ------------------------------------------------------------------ */

@media (max-width: 1180px) {
  .tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .split--hero,
  .split--head,
  .split--faq,
  .guide__grid {
    grid-template-columns: 1fr;
  }

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

  .nav,
  .hero__inset {
    display: none;
  }

  .lead-block__box {
    grid-template-columns: 1fr;
    padding: 40px;
    gap: 40px;
  }

  .guide__grid {
    gap: 40px;
  }
}

@media (max-width: 720px) {
  :root {
    --pad: 20px;
  }

  .grid-2,
  .grid-3,
  .tiles,
  .guide__points,
  .footer__top {
    grid-template-columns: 1fr;
  }

  .guide__point--wide {
    grid-column: auto;
  }

  .section {
    padding-top: 60px;
  }

  .band {
    margin-top: 60px;
  }

  .band__inner {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .lead-block {
    margin-top: 60px;
  }

  .lead-block__box {
    padding: 26px;
  }

  /* Три вложенных отступа (страница + блок + карточка) сжимали поля
     примерно до 230px — на телефоне карточке хватает 20px. */
  .form-card {
    padding: 20px;
  }

  .shot,
  .shot--wide,
  .shot--narrow {
    flex-basis: 80vw;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .footer__top {
    gap: 36px;
  }
}

@media (max-width: 560px) {
  .header__phone {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal-armed {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .badge__dot {
    animation: none;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}
