:root {
  --navy: #091f51;
  --red: #ae0f2d;
  --text: #212121;
  --white: #ffffff;
  --ice: #edf6fc;
  --mist: #eef5fa;
  --row-a: #f1f7fb;
  --row-b: #f9fbfd;
  --blue-soft: #dfebfa;
  --red-soft: rgba(174, 15, 45, 0.1);
  --line: rgba(9, 31, 81, 0.15);
  --line-strong: rgba(9, 31, 81, 0.25);
  --shadow-card: 2px 2px 4px rgba(9, 31, 81, 0.15);
  --shadow-soft: 2px 2px 4px rgba(9, 31, 81, 0.1);
  --shadow-btn: 0 2px 10px rgba(43, 45, 49, 0.25);
  --shadow-note: 0 2px 4px rgba(0, 0, 0, 0.15);
  --side: 60px;
  --container: 1320px;
  --header: 112px;
  --font: "Inter", sans-serif;
  --display: "Onest", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.49;
  background: var(--white);
}

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

button,
input {
  font: inherit;
}

[hidden] {
  display: none !important;
}

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

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

.container {
  width: min(var(--container), calc(100% - var(--side) * 2));
  margin-inline: auto;
}

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

h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.lead {
  font-size: 22px;
  line-height: 1.45;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 10px;
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-btn);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: #930d26;
}

.btn:focus-visible,
.icon-btn:focus-visible,
.faq__item:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.btn svg {
  flex: 0 0 auto;
}

.btn--lg {
  padding: 18px 44px;
  font-size: 26px;
  font-weight: 700;
}

.btn--md {
  padding: 18px 36px;
  font-size: 22px;
  font-weight: 700;
}

.btn--sm {
  width: 100%;
  max-width: 228px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  gap: 8px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header);
  padding-block: 16px;
}

.header__brand {
  flex: 0 0 auto;
}

.logo {
  width: 240px;
  max-width: 46vw;
  height: auto;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: clamp(24px, 6vw, 116px);
}

.phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  font-size: 22px;
  white-space: nowrap;
}

.phone img {
  width: 40px;
  height: 40px;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: #0d224f url("../assets/hero-bg-6219f5.png") center / cover no-repeat;
  padding: 28px 0 36px;
}

.hero__layout {
  position: relative;
  min-height: 720px;
}

.hero__visual {
  position: absolute;
  top: 0;
  right: 0;
  width: min(640px, 46%);
  max-width: 100%;
  max-height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero__visual img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: right center;
}

.hero__art {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(666px, 54%);
  padding-top: 28px;
}

.hero h1 {
  max-width: 620px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero h1 .accent {
  font-size: 1.1em;
}

.hero__text {
  max-width: 520px;
  margin-top: 32px;
  font-size: 22px;
}

.hero__text strong {
  font-weight: 700;
}

.hero__features {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 18px;
  width: 100%;
  margin-top: 32px;
}

.chip {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 12px 24px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.chip img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.chip span {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
}

.chip--accent {
  background: rgba(174, 15, 45, 0.8);
}

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

.hero__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 28px;
  padding: 28px 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
}

.stat {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat img {
  width: 50px;
  height: 50px;
}

.stat p {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
}

.section {
  padding: 80px 0;
}

.band {
  background-color: #f4f8fc;
  background-image: url("../assets/bg-mid-2e9749.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
}

.section--tight {
  padding-top: 24px;
}

.buy__lead {
  margin-top: 28px;
}

.section__head {
  display: grid;
  gap: 32px;
  max-width: 1192px;
}

.section__head--narrow {
  max-width: 1018px;
}

.flow {
  container-type: inline-size;
  position: relative;
  margin-top: 56px;
  padding-bottom: calc(537 / 1338 * 100% + 32px);
}

.flow__arrows {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  max-width: none;
  pointer-events: none;
  user-select: none;
}

.flow__card {
  position: absolute;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  align-items: start;
  width: calc(420 / 1338 * 100%);
}

.flow__card:nth-of-type(1) { left: 0; top: calc(65 / 1338 * 100cqi); }
.flow__card:nth-of-type(2) { left: calc(440 / 1338 * 100%); top: calc(65 / 1338 * 100cqi); }
.flow__card:nth-of-type(3) { left: calc(880 / 1338 * 100%); top: calc(65 / 1338 * 100cqi); }
.flow__card:nth-of-type(4) { left: 0; top: calc(371 / 1338 * 100cqi); }
.flow__card:nth-of-type(5) { left: calc(440 / 1338 * 100%); top: calc(371 / 1338 * 100cqi); }
.flow__card:nth-of-type(6) { left: calc(880 / 1338 * 100%); top: calc(371 / 1338 * 100cqi); }

.flow__icon {
  position: relative;
  width: 80px;
  height: 80px;
}

.flow__icon span,
.step__badge,
.legal-card__icon,
.gift__icon,
.perk__icon {
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.flow__icon span {
  width: 80px;
  height: 80px;
  background: var(--red-soft);
}

.flow__icon img,
.legal-card__icon img,
.gift__icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.flow__num {
  display: none;
  position: absolute;
  top: -8px;
  left: -8px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 22px;
}

.flow__card h3 {
  font-weight: 800;
  font-size: 22px;
  line-height: 1.3;
}

.flow__card ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}

.flow__card li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.49;
}

.flow__card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.section__action {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.packages {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 216px repeat(4, minmax(220px, 1fr));
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--mist);
  overflow: hidden;
}

.packages__labels,
.pack {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 10;
}

.packages__labels {
  border-right: 1px solid var(--line);
}

.pack + .pack {
  border-left: 1px solid var(--line);
}

.pack__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 18px 16px;
  text-align: center;
}

.pack__icon {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
}

.pack:nth-child(odd) .pack__icon {
  background: var(--red-soft);
}

.pack__icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.pack__head h3 {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}

.pack__head p {
  min-height: 72px;
  font-size: 16px;
  color: var(--navy);
}

.pack__price {
  color: var(--red);
  font-weight: 700;
  font-size: 16px;
}

.cell,
.label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 18px;
  min-height: 54px;
  text-align: center;
  font-size: 16px;
  color: var(--navy);
}

.label {
  justify-content: flex-start;
  padding-inline: 20px;
  font-weight: 500;
  text-align: left;
}

.cell:nth-child(even),
.label:nth-child(even) {
  background: var(--row-a);
}

.cell:nth-child(odd),
.label:nth-child(odd) {
  background: var(--row-b);
}

.cell--tall,
.label--tall {
  min-height: 84px;
}

.pack__btn {
  display: flex;
  justify-content: center;
  padding: 18px 16px 28px;
  background: var(--mist);
}

.buy {
  display: grid;
  grid-template-columns: minmax(0, 631px) minmax(280px, 510px);
  justify-content: space-between;
  gap: 40px;
  align-items: center;
}

.buy__copy {
  display: grid;
  gap: 32px;
}

.note {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px;
  border-radius: 15px;
  background: var(--white);
  box-shadow: var(--shadow-note);
}

.note img {
  width: 50px;
  height: 50px;
}

.note p {
  font-size: 20px;
  line-height: 1.45;
  color: var(--navy);
}

.steps {
  position: relative;
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 8px 0 8px 40px;
  list-style: none;
}

.steps::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 36px;
  bottom: 36px;
  width: 2px;
  background: rgba(9, 31, 81, 0.18);
}

.step {
  position: relative;
}

.step__dot {
  position: absolute;
  left: -36px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 4px rgba(9, 31, 81, 0.08);
}

.step:nth-child(even) .step__dot {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(174, 15, 45, 0.12);
}

.step__card {
  display: grid;
  grid-template-columns: 64px auto minmax(0, 1fr);
  align-items: center;
  gap: 14px 16px;
  min-height: 96px;
  padding: 16px 22px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(9, 31, 81, 0.08);
}

.step__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
}

.step:nth-child(even) .step__icon {
  background: var(--red-soft);
}

.step__icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.step__num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  color: var(--navy);
}

.step:nth-child(even) .step__num {
  color: var(--red);
}

.step p {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  color: var(--navy);
}

.legal {
  position: relative;
  display: grid;
  gap: 24px;
}

.legal__shield {
  position: absolute;
  top: -40px;
  right: -60px;
  width: min(936px, 70.91%);
  aspect-ratio: 936 / 258;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.legal__shield img {
  position: absolute;
  left: 0;
  width: 100%;
  max-width: none;
  height: calc(100% / 0.66387957);
  top: calc(100% * -0.18729097 / 0.66387957);
}

.legal__intro,
.legal-card,
.banner {
  position: relative;
  z-index: 1;
}

.legal__intro {
  display: grid;
  gap: 32px;
  margin-bottom: 8px;
}

.legal__intro .lead {
  max-width: 631px;
}

.legal-card {
  display: grid;
  grid-template-columns: minmax(280px, 565px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 0 0 0 24px;
  border-radius: 15px;
  background: var(--ice);
  box-shadow: var(--shadow-soft);
}

.legal-card__title {
  display: flex;
  gap: 24px;
  align-items: center;
  padding-block: 24px;
}

.legal-card__icon {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  background: var(--blue-soft);
}

.legal-card__title h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  color: var(--navy);
}

.legal-card__title p {
  margin-top: 8px;
  max-width: 414px;
  font-weight: 300;
  font-size: 18px;
  color: var(--navy);
}

.checks {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 24px;
  list-style: none;
  border-radius: 15px;
  background: var(--white);
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-size: 18px;
}

.checks li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.check {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-top: 1px;
}

.check circle {
  fill: var(--navy);
}

.check--red circle {
  fill: var(--red);
}

.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 128px;
  padding: 24px;
  border-radius: 15px;
  background: var(--ice);
  box-shadow: var(--shadow-card);
}

.banner__text {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 760px;
}

.banner__text img {
  width: 80px;
  height: 80px;
}

.banner__text p {
  font-weight: 300;
  font-size: 16px;
  color: var(--navy);
}

.start {
  position: relative;
  overflow: hidden;
  padding: 44px 0 0;
  background: #f4f8fc url("../assets/bg-start-dc6ba7.png") center / cover no-repeat;
}

.start__layout {
  position: relative;
  aspect-ratio: 1320 / 493;
}

.start__copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 44px;
  align-content: start;
  width: min(414px, 34%);
  padding-top: 60px;
}

.start__text {
  display: grid;
  gap: 32px;
  width: min(363px, 100%);
}

.start h2 {
  font-size: 44px;
  line-height: 1.1;
}

.start .lead {
  font-size: 22px;
  line-height: 1.45;
}

.start__btn {
  width: 100%;
  padding: 18px 40px;
  border-radius: 10px;
  white-space: nowrap;
  line-height: 1.2;
}

.start__visual {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 35.075%;
  width: 64.924%;
  height: calc(100% * 588 / 493);
}

.start__shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.start__visual img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  border-radius: 0;
}

.perks {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding: 32px 0;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--ice);
  backdrop-filter: blur(10.55px);
}

.perks__inner {
  display: grid;
  gap: 24px;
}

.perks__title {
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
}

.perks__list {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.6vw, 39px);
  max-width: 100%;
}

.perks__line {
  flex: 0 0 1px;
  width: 1px;
  height: 80px;
  background: rgba(9, 31, 81, 0.25);
}

.perk {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 24px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.49;
  white-space: nowrap;
}

.perk--wide {
  flex: 1 1 200px;
  width: auto;
  max-width: 270px;
  min-width: 180px;
}

.perk--format {
  flex: 1 1 210px;
  width: auto;
  max-width: 272px;
  min-width: 0;
  white-space: normal;
}

.perk--format span {
  max-width: 186px;
}

.perk img {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
}

.faq-wrap {
  background: #f7fbfe url("../assets/bg-faq-66e482.png") center / cover no-repeat;
}

.faq {
  display: grid;
  gap: 24px;
  margin-top: 44px;
}

.faq__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: start;
  width: 100%;
  padding: 28px;
  border: 0;
  border-radius: 15px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  text-align: left;
  cursor: pointer;
  color: inherit;
}

.faq__item.is-open {
  background: var(--ice);
}
.shieldBack{
  background-image: url("../assets/shield.png");
  background-repeat: no-repeat;
  background-position-x: right;
  background-position-y: -25px;
}
.faq__num {
  min-width: 58px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  color: var(--red);
}

.faq__item:nth-child(odd) .faq__num {
  color: var(--navy);
}

.faq__main {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  min-width: 0;
}

.faq__rule {
  width: 2px;
  align-self: stretch;
  min-height: 44px;
  background: var(--line);
}

.faq__main h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.25;
}

.faq__main p {
  margin-top: 24px;
  font-size: 22px;
}

.faq__item:not(.is-open) .faq__main p {
  display: none;
}

.faq__item.is-open .plus,
.faq__item:not(.is-open) .minus {
  display: none;
}

.faq__toggle {
  width: 46px;
  height: 46px;
  margin-top: 8px;
  color: var(--red);
}

.faq__item.is-open .faq__toggle {
  color: var(--navy);
}

.gift {
  position: relative;
  overflow: hidden;
  padding: 86px 0 44px;
  background: #f3f7fd url("../assets/bg-gift-223cea.png") center center / contain no-repeat;
}

.gift__copy {
  max-width: 640px;
  display: grid;
  gap: 32px;
}

.gift__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
  padding: 36px 44px;
  border-radius: 15px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.gift__step {
  display: flex;
  gap: 20px;
  align-items: center;
  color: var(--navy);
  font-size: 20px;
}

.gift__step + .gift__step {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.gift__icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
}

.footer {
  background: var(--navy);
  color: var(--white);
  padding: 44px 0 36px;
}

.footer__top {
  display: grid;
  grid-template-columns: 290px 1fr 1fr 303px;
  gap: 40px;
}

.footer__nav {
  display: grid;
  gap: 18px;
  align-content: start;
  padding-right: 40px;
  border-right: 1px solid rgba(216, 222, 229, 0.25);
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
}

.footer__nav a:hover,
.footer__legal a:hover {
  color: #ffd0d8;
}

.footer__contact {
  display: grid;
  gap: 16px;
  justify-items: start;
  text-align: left;
}

.footer__contact p {
  font-weight: 700;
  font-size: 24px;
}

.footer__phone {
  font-weight: 700;
  font-size: 32px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 14px;
}

.footer__company,
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}


.footer__company p {
  flex: 1 1 100%;
  margin: 0 0 4px;
  font-weight: 600;
}

.footer__legal {
  font-size: 12px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  padding: 24px;
  background: rgba(9, 31, 81, 0.55);
}

.lead-modal,
.exit-modal {
  position: relative;
  flex: 0 0 auto;
  margin: auto;
  border-radius: 15px;
  background: var(--white);
}

.lead-modal {
  display: grid;
  grid-template-columns: 489px minmax(0, 1fr);
  width: min(1231px, calc(100vw - 48px));
  height: 772px;
  overflow: hidden;
}

.lead-modal__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-height: 0;
  padding: 40px 22px 28px;
  background: #ebf6fe center / cover no-repeat;
}

.lead-modal__side--consult {
  background-image: url("../assets/consult.png");
  background-position: center -24px;
  background-size: 100% auto;
}

.lead-modal__side--bonus {
  padding-top: 48px;
  background-image: url("../assets/40sec.png");
  background-position: center -12px;
  background-size: 100% auto;
}

.lead-modal__title {
  max-width: 441px;
  margin: 0 auto;
  color: var(--text);
  font-family: var(--display);
  font-weight: 800;
  font-size: 50px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-align: center;
}

.lead-modal__title--bonus {
  margin: 0;
  font-size: 40px;
  line-height: 1.15;
  text-align: left;
}

.lead-modal__perks {
  display: grid;
  gap: 12px;
  max-width: 445px;
}

.lead-modal__perks p {
  font-weight: 600;
  font-size: 22px;
  line-height: 1.35;
}

.lead-modal__perks ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lead-modal__perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
}

.lead-modal__side--bonus .lead-modal__perks li {
  font-size: 16px;
  font-weight: 400;
}

.perk-check {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
}

.perk-check circle {
  fill: var(--navy);
}

.lead-modal__art {
  display: none;
}

.perk-check--line {
  flex-basis: 26px;
  width: 26px;
  height: 26px;
}

.lead-modal__form {
  min-height: 0;
  overflow: auto;
  padding: 60px 72px 36px 60px;
}

.modal__close {
  position: absolute;
  z-index: 2;
  top: 28px;
  right: 28px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.modal__close:hover {
  color: var(--red);
}

.exit-modal {
  width: min(1080px, calc(100vw - 48px));
  height: min(600px, calc(100vh - 48px));
  overflow: hidden;
  background: #ebf7fe url("../assets/tgPage.png") center / cover no-repeat;
}

.exit-modal__close {
  top: 20px;
  right: 20px;
  color: #243044;
}

.exit-modal__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  justify-items: start;
  max-width: 560px;
  padding: 91px 60px 48px;
}

.exit-modal h2 {
  max-width: 420px;
  color: var(--text);
  font-size: 55px;
  line-height: 1.05;
}

.exit-modal p {
  max-width: 420px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.49;
}

.exit-modal__btn {
  min-height: 72px;
  padding: 18px 36px;
  font-size: 28px;
}

.exit-modal__icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
}

.exit-modal__icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 16px rgba(42, 171, 238, 0.28));
}

.thanks {
  display: flex;
  align-items: center;
  min-height: 799px;
  background: #ecf7fd url("../assets/tnxPage.png") center / cover no-repeat;
}

.thanks__inner {
  display: grid;
  gap: 32px;
  justify-items: start;
  padding: 68px 0;
}

.thanks__check {
  width: 100px;
  height: 100px;
}

.thanks__copy {
  display: grid;
  gap: 24px;
  max-width: 640px;
}

.thanks__title {
  color: var(--text);
  font-family: var(--display);
  font-weight: 800;
  font-size: 55px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.thanks__text {
  max-width: 640px;
  color: var(--text);
  font-size: 32px;
  line-height: 1.49;
}

.thanks__phone {
  color: var(--red);
  font-family: var(--display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1.1;
}

.thanks__wait {
  display: grid;
  gap: 16px;
  max-width: 709px;
}

.thanks__wait p {
  color: var(--navy);
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
}

.thanks__tg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 1px solid rgba(9, 31, 81, 0.15);
  border-radius: 15px;
  background: #dfebfa;
  color: var(--navy);
  font-family: var(--display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.25;
}

.thanks__tg svg {
  flex: 0 0 66px;
  width: 66px;
  height: 66px;
}

.thanks__tg:hover {
  background: #d3e4f8;
}

.form {
  display: grid;
  gap: 28px;
}

.form .btn {
  width: 100%;
  min-height: 64px;
}

.btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.field {
  display: grid;
  gap: 8px;
}

.field span,
.choices legend {
  font-weight: 600;
  font-size: 20px;
}

.field input {
  height: 54px;
  padding: 0 24px;
  border: 1px solid rgba(9, 31, 81, 0.2);
  border-radius: 10px;
  color: var(--text);
  background: var(--white);
}

.field input::placeholder {
  color: rgba(33, 33, 33, 0.45);
}

.hint {
  font-weight: 300;
  font-size: 16px;
  color: var(--text);
}

.choices {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.choices__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
}

.radios {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.choices label,
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.consent {
  font-weight: 400;
}

.choices input,
.consent input {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  accent-color: var(--navy);
}

.form__error {
  margin-top: -12px;
  color: var(--red);
  font-size: 16px;
  font-weight: 600;
}

@media (max-width: 1180px) {
  .packages {
    grid-template-columns: 180px repeat(4, minmax(200px, 1fr));
    overflow-x: auto;
  }

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

  .footer__nav {
    border-right: 0;
  }

  .hero__visual {
    width: min(480px, 44%);
  }

  .hero__content {
    width: min(560px, 52%);
  }

  .flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 28px;
    height: auto;
    padding-bottom: 0;
  }

  .flow__arrows {
    display: none;
  }

  .flow__card {
    position: static;
    width: auto;
  }

  .flow__num {
    display: grid;
  }
}

@media (max-width: 980px) {
  :root {
    --side: 20px;
    --header: auto;
  }

  .header__inner {
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .header__actions {
    flex: 1 1 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .btn--lg,
  .btn--md {
    padding: 14px 18px;
    font-size: 16px;
  }

  .phone {
    font-size: 16px;
  }

  .phone img {
    width: 28px;
    height: 28px;
  }

  .hero {
    min-height: 0;
    background-image: none;
  }

  .hero__layout {
    min-height: 0;
  }

  .hero__visual {
    position: relative;
    top: auto;
    right: auto;
    width: min(100%, 420px);
    max-height: none;
    margin: 0 auto 20px;
  }

  .hero__content {
    width: 100%;
    padding-top: 0;
  }

  .legal__shield {
    display: none;
  }

  .hero h1 br {
    display: none;
  }

  .hero__features,
  .hero__stats,
  .flow,
  .buy,
  .legal-card,
  .start__layout,
  .gift__steps,
  .lead-modal,
  .footer__bottom {
    grid-template-columns: 1fr;
    display: grid;
  }

  .flow {
    aspect-ratio: auto;
    gap: 28px;
    padding-bottom: 0;
  }

  .flow__arrows {
    display: none;
  }

  .flow__card {
    position: static;
    width: auto;
  }

  .flow__num {
    display: grid;
  }

  .hero__stats,
  .perks,
  .gift__steps {
    display: grid;
  }

  .packages {
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  .packages__labels {
    display: none;
  }

  .pack {
    display: block;
    border-top: 1px solid var(--line);
  }

  .cell::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(9, 31, 81, 0.7);
  }

  .banner,
  .footer__bottom,
  .footer__company,
  .footer__legal {
    flex-direction: column;
    align-items: flex-start;
  }

  .gift__step + .gift__step {
    padding-left: 0;
    border-left: 0;
  }

  .start {
    padding-top: 32px;
  }

  .start__layout {
    aspect-ratio: auto;
    display: grid;
    gap: 28px;
  }

  .start__copy {
    width: auto;
    padding-top: 0;
    gap: 28px;
  }

  .start__text {
    width: auto;
  }

  .start h2 {
    font-size: 32px;
  }

  .start__btn {
    width: auto;
    padding: 14px 18px;
    font-size: 16px;
  }

  .start__visual {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 857 / 520;
  }

  .perks {
    padding: 24px 0;
  }

  .perks__list {
    display: grid;
    gap: 16px;
  }

  .perks__line {
    display: none;
  }

  .perk--wide,
  .perk--format {
    width: auto;
  }

  .perk--format span {
    max-width: none;
  }

  .faq__item,
  .faq__main {
    grid-template-columns: 1fr;
    display: grid;
    gap: 12px;
  }

  .faq__rule {
    display: none;
  }

  .note p,
  .faq__main p,
  .step p,
  .lead,
  .hero__text {
    font-size: 18px;
  }

  .step__card {
    grid-template-columns: 52px auto minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
  }

  .step__num {
    font-size: 32px;
  }

  .lead-modal {
    width: min(640px, 100%);
    height: auto;
  }

  .lead-modal__side,
  .lead-modal__side--consult,
  .lead-modal__side--bonus {
    min-height: 0;
    padding: 28px 20px 24px;
    background-image: none;
    background-color: #ebf6fe;
  }

  .lead-modal__art {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
    object-position: center 46%;
  }

  .lead-modal__title,
  .lead-modal__title--bonus {
    max-width: none;
    padding-right: 36px;
    font-size: 32px;
    text-align: left;
  }

  .lead-modal__perks p,
  .exit-modal p,
  .thanks__text,
  .thanks__wait p {
    font-size: 18px;
  }

  .lead-modal__form {
    padding: 56px 20px 24px;
  }

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

  .exit-modal {
    height: auto;
    min-height: 560px;
    background-position: 72% center;
  }

  .exit-modal__content {
    max-width: none;
    padding: 72px 20px 28px;
    gap: 20px;
  }

  .exit-modal h2,
  .thanks__title {
    font-size: 36px;
  }

  .exit-modal__btn {
    width: 100%;
    min-height: 58px;
    font-size: 20px;
  }

  .exit-modal__icon {
    position: static;
    width: 64px;
    height: 64px;
    margin: 0 20px 28px;
  }

  .thanks {
    min-height: 640px;
    background-position: 70% center;
  }

  .thanks__inner {
    padding: 40px 0 48px;
  }

  .thanks__check {
    width: 72px;
    height: 72px;
  }

  .thanks__phone {
    font-size: 32px;
  }

  .thanks__tg {
    align-items: flex-start;
    flex-direction: column;
    font-size: 22px;
  }
}

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

  .btn {
    transition: none;
  }
}
