:root {
  --bg: #1b1b1d;
  --bg-alt: #282828;
  --line: #49494a;
  --accent: #d34a20;
  --accent-light: #ff8a4a;
  --gold: #f6b21b;
  --ink: #fff;
  --ink-60: rgba(255, 255, 255, .6);
  --ink-70: rgba(255, 255, 255, .7);
  --ink-85: rgba(255, 255, 255, .85);
  --content: 1820px;
  --content-narrow: 1620px;
  --pad-x: clamp(16px, 2.6vw, 50px);
  --gap: clamp(14px, 1.5vw, 29px);
  --sec-y: clamp(56px, 6vw, 120px);
  --header-h: clamp(64px, 5.7vw, 110px);
  --display: "Dance", Montserrat, "Helvetica Neue", Arial, sans-serif;
  --script: "Miama Nueva", "Pinyon Script", "Apple Chancery", cursive;
  --text: Inter, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.35 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-wrap: pretty;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s, background .2s, box-shadow .2s;
}

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

button {
  font: inherit;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--accent);
  color: #fff;
}

:where(a, button, input, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
}

.container,
.container-fluid {
  width: 100%;
  max-width: calc(var(--content) + 2 * var(--pad-x));
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.container--narrow {
  max-width: calc(var(--content-narrow) + 2 * var(--pad-x));
}

.container--flush {
  padding-inline: 0;
}

.section {
  padding: var(--sec-y) 0;
}

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

.section--flush {
  padding-top: 0;
}

.section--pad {
  padding-top: clamp(48px, 5.21vw, 100px);
  padding-bottom: clamp(48px, 5.21vw, 100px);
}

.cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media {
  position: relative;
  overflow: hidden;
  background-color: #303030;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(13px, .85vw, 16px);
  margin: 0 0 22px;
}

.eyebrow::before {
  content: "";
  width: clamp(8px, .68vw, 13px);
  height: clamp(8px, .68vw, 13px);
  background: #fff;
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.h1,
.h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.097;
}

.h1 {
  font-size: clamp(30px, 3.75vw, 72px);
  line-height: 1.097;
  max-width: 20ch;
}

.h2 {
  font-size: clamp(28px, 4.4vw, 64px);
  line-height: 1.097;
}

.h2--lg {
  font-size: clamp(26px, 3.75vw, 72px);
}

.h2--md {
  font-size: clamp(24px, 3vw, 58px);
}

.h2--cta {
  font-size: clamp(24px, 3.44vw, 66px);
}

.h2--gap {
  margin-top: 0;
}

.h2--gap-sm {
  margin-top: 0;
}

.h2--stack {
  margin: 0 0 2rem;
}

.indent {
  margin-left: clamp(20px, 11.72vw, 225px);
}

.lead--indent {
  margin-left: clamp(20px, 17.45vw, 335px);
}

.script {
  font-family: var(--script);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.34;
  font-size: clamp(32px, 4vw, 76px);
}

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

.script--block {
  display: block;
  margin-left: clamp(10px, 2.4vw, 48px);
}

.lead {
  margin: clamp(14px, 1.4vw, 26px) 0 0;
  font-size: clamp(14px, .95vw, 18px);
  color: var(--ink-85);
  line-height: 1.5;
  max-width: 48ch;
}

.lead--wide {
  max-width: 60ch;
}

.lead--form {
  max-width: min(484px, 25.2vw);
}

.lead--flat {
  margin: 0;
}

.lead--right {
  text-align: right;
  margin: 0;
}

.lead--gap {
  margin-top: clamp(28px, 2.71vw, 52px);
  margin-bottom: clamp(28px, 2.71vw, 52px);
}

.lead--sm {
  max-width: 65ch;
  font-size: clamp(12px, .78vw, 14px);
  line-height: 1.6;
  margin-top: auto;
}

.muted {
  color: var(--ink-70);
  font-weight: 300;
}

.note {
  margin: 18px 0 0;
  font-size: clamp(12px, .78vw, 14px);
}

.head-box {
  max-width: 60ch;
}

.title-amp {
  display: block;
}

.title-amp__first {
  display: block;
  white-space: nowrap;
}

.title-amp__row {
  display: flex;
  align-items: flex-start;
  margin: min(19px, 1.31vw) 0 0 min(227px, 9.66vw);
}

.title-amp__sign {
  flex: 0 0 auto;
  width: min(133px, 6.93vw);
  height: min(79px, 4.11vw);
  margin-top: max(-85px, -4.43vw);
  overflow: visible;
  font-family: "League Script", var(--script), cursive;
  font-size: min(200px, 10.42vw);
  line-height: normal;
  color: #fff;
}

.title-amp__second {
  white-space: nowrap;
}

.title-amp__lead {
  margin: min(13px, .68vw) 0 0 min(308px, 16.04vw);
  padding-left: min(36px, 1.88vw);
  text-indent: max(-36px, -1.88vw);
  max-width: none;
  font-size: clamp(13px, .9375vw, 18px);
  line-height: min(28px, 1.46vw);
  color: #fff;
}

.section__head--amp {
  display: block;
  position: relative;
}

.section__head--amp .head-box {
  max-width: none;
}

.title-amp__aside {
  position: absolute;
  right: 0;
  top: min(105px, 5.47vw);
  margin: 0;
  max-width: none;
  text-align: right;
  font-size: clamp(13px, .9375vw, 18px);
  line-height: min(28px, 1.46vw);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(16px, 1.6vw, 25px) clamp(22px, 2.2vw, 34px);
  font-size: clamp(15px, .95vw, 18px);
  border: none;
  cursor: pointer;
  min-height: 48px;
}

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

.btn--accent:hover {
  filter: brightness(1.1);
  color: #fff;
}

.btn--hero {
  background: radial-gradient(266px 70px at 50% 0%, #ff5e00 0%, #ff5e00 79.81%, #c94a00 100%);
  color: #fff;
}

.btn--hero:hover {
  filter: brightness(1.08);
  color: #fff;
}

.btn--light {
  background: #fff;
  color: #000;
}

.btn--light:hover {
  background: #e7e7e7;
  color: #000;
}

.btn--ghost {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
}

.btn--ghost:hover {
  box-shadow: inset 0 0 0 1px #fff;
  color: #fff;
}

.btn--outline {
  border: 1px solid #fff;
  padding: 15px clamp(18px, 1.8vw, 34px);
  font-size: clamp(14px, .95vw, 18px);
  white-space: nowrap;
}

.btn--outline:hover {
  background: #fff;
  color: #000;
}

.btn--wide {
  width: 100%;
}

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(27, 27, 29, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.header--overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: min(30px, 1.56vw);
  background: none;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.header__bar {
  height: min(110px, 5.73vw);
  min-height: 64px;
  padding-block: 0;
  display: flex;
  align-items: center;
  gap: 0;
}

.logo {
  width: min(245px, 12.76vw);
  height: min(70px, 3.65vw);
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.logo--empty {
  background: rgba(255, 255, 255, .2);
}

.nav {
  display: flex;
  align-items: center;
  gap: min(51px, 2.66vw);
  flex: 1 1 auto;
  margin-left: min(161px, 8.39vw);
}

.nav a {
  position: relative;
  font-size: clamp(14px, .9375vw, 18px);
  line-height: 1.2;
  opacity: .5;
}

.nav a:hover {
  opacity: 1;
  color: #fff;
}

.nav a[aria-current] {
  opacity: 1;
}

.nav a[aria-current]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: max(-43px, -2.24vw);
  height: 1px;
  background: #fff;
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: min(24px, 1.25vw);
  margin-left: auto;
}

.socials {
  display: flex;
  align-items: center;
  gap: min(12px, .625vw);
}

.social {
  width: min(36px, 1.875vw);
  height: min(36px, 1.875vw);
  min-width: 26px;
  min-height: 26px;
  flex: 0 0 auto;
  display: block;
}

.social img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.phone {
  font-weight: 600;
  font-size: clamp(15px, 1.25vw, 24px);
  line-height: 1.2;
  white-space: nowrap;
}

.header .btn--outline {
  margin-left: min(42px, 2.19vw);
  min-width: min(160px, 8.33vw);
  min-height: min(52px, 2.71vw);
  padding: 0 min(34px, 1.77vw);
  font-size: clamp(14px, .9375vw, 18px);
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  padding: 13px 11px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, .4);
  background: none;
  cursor: pointer;
  flex: 0 0 auto;
  margin-left: auto;
}

.burger span {
  display: block;
  height: 1px;
  background: #fff;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 18px;
  padding: 18px var(--pad-x) 26px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  background: rgba(27, 27, 29, .96);
}

.mobile-menu a {
  font-size: 18px;
}

.mobile-menu.is-open {
  display: flex;
}

.hero {
  position: relative;
  height: min(1000px, 52.08vw);
  min-height: 560px;
  background-color: var(--bg);
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  animation: smoothZoom 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s 1 both;
  transform-origin: center center;
  will-change: transform;
}

@keyframes smoothZoom {
  0% {
    transform: scale(1.25);
    opacity: 0.6;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.reviews-section .divider::after {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg {
    animation: none;
    transform: scale(1);
    opacity: 1;
  }
}

.hero__deco {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__line {
  position: absolute;
  background: rgba(255, 255, 255, .2);
}

.hero__line--v-left {
  left: 0;
  top: 14%;
  bottom: 0;
  width: 1px;
}

.hero__line--v-mid {
  left: 26.04%;
  top: 0;
  height: 50%;
  width: 1px;
}

.hero__line--h-mid {
  left: 0;
  top: 50%;
  width: 97.4%;
  height: 1px;
}

.hero__mark {
  position: absolute;
  width: min(23px, 1.2vw);
  height: min(23px, 1.2vw);
  background: #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}

.hero__mark--mid {
  left: 52.94%;
  top: 50%;
}

.hero__mark--bottom {
  left: 78.98%;
  top: 100%;
}

.hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
}

.hero .eyebrow {
  position: absolute;
  left: var(--pad-x);
  top: min(320px, 16.67vw);
  margin: 0;
  font-size: clamp(13px, .833vw, 16px);
}

.hero .h1 {
  position: absolute;
  left: var(--pad-x);
  top: min(362px, 18.84vw);
  width: auto;
  max-width: none;
  white-space: nowrap;
  font-size: clamp(30px, 3.75vw, 72px);
}

.hero__sub {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero__sub-word,
.hero__sub-script {
  position: absolute;
  font-family: var(--script);
  font-weight: 500;
  font-size: clamp(34px, 4.17vw, 80px);
  line-height: normal;
  color: #ff5e00;
  white-space: nowrap;
}

.hero__sub-word {
  left: calc(var(--pad-x) + min(397px, 20.68vw));
  top: min(457px, 23.79vw);
}

.hero__sub-script {
  left: calc(var(--pad-x) + min(509px, 26.51vw));
  top: min(525px, 27.33vw);
}

.is-writing {
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 45%, transparent 55%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 45%, transparent 55%, transparent 100%);
  -webkit-mask-size: 250% 400%;
  mask-size: 250% 400%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  animation: reveal-script var(--write-duration, 1.2s) ease-in-out var(--write-delay, 0s) both;
}

.hero__sub-word {
  --write-duration: 1.1s;
  --write-delay: .2s;
}

.hero__sub-script {
  --write-duration: 1.4s;
  --write-delay: 1.2s;
}

.title-amp__sign {
  --write-duration: 1.2s;
  --write-delay: .15s;
}

.script--block {
  --write-duration: 1.4s;
  --write-delay: .15s;
}

.cta__script {
  --write-duration: 1.4s;
  --write-delay: .15s;
}

@keyframes reveal-script {
  from {
    -webkit-mask-position: 100% 50%;
    mask-position: 100% 50%;
  }

  to {
    -webkit-mask-position: 0% 50%;
    mask-position: 0% 50%;
  }
}

.hero__text {
  position: absolute;
  left: var(--pad-x);
  top: min(548px, 28.54vw);
  width: min(362px, 18.85vw);
  max-width: none;
  margin: 0;
  font-size: clamp(12px, .729vw, 14px);
  line-height: 1.2;
  color: #fff;
}

.hero__actions {
  position: absolute;
  left: var(--pad-x);
  top: min(642px, 33.44vw);
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: min(33px, 1.72vw);
  margin-top: 1.5rem;
}

.hero__actions .btn {
  min-height: min(72px, 3.75vw);
  padding-block: 0;
  font-size: clamp(14px, .9375vw, 18px);
}

.hero__actions .btn--light {
  min-width: min(236px, 12.29vw);
}

.hero__actions .btn--hero {
  min-width: min(256px, 13.33vw);
}

.hero__rail {
  position: absolute;
  z-index: 2;
  right: min(32px, 1.69vw);
  top: min(359px, 18.7vw);
  width: min(17px, .9vw);
  min-width: 10px;
}

.hero__rail-label {
  position: absolute;
  right: calc(100% + min(31px, 1.61vw));
  top: 0;
  font-weight: 300;
  font-size: 12px;
  line-height: 1.25;
  color: #fff;
  white-space: nowrap;
}

.hero__rail-marks {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: min(282px, 14.72vw);
  min-height: 180px;
}

.hero__rail-marks::before {
  content: "";
  position: absolute;
  left: 50%;
  top: min(9px, .45vw);
  bottom: min(9px, .45vw);
  width: 1px;
  background: #fff;
  opacity: .2;
  transform: translateX(-50%);
}

.hero__rail-marks i {
  width: min(12px, .64vw);
  height: min(12px, .64vw);
  min-width: 8px;
  min-height: 8px;
  background: #fff;
  transform: rotate(45deg);
}

.grid {
  display: grid;
  gap: var(--gap);
}

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

.row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.56vw, 30px);
}

.row__empty {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .row {
    grid-template-columns: 1fr;
  }
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 3vw, 56px);
}

.section__head--gap {
  margin-top: 0;
}

.card {
  background: var(--bg-alt);
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex;
  flex-direction: column;
  border: 1px solid 1px solid rgba(255, 255, 255, .1);
}

.card__media {
  position: relative;
  aspect-ratio: 587 / 440;
  overflow: hidden;
  background-color: #303030;
}

.card__media--static {
  cursor: default;
}

.card__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .35s ease;
}

.card__slide.is-active {
  opacity: 1;
}

.card__open {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.card__arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(26px, 4vw, 32px);
  height: clamp(26px, 4vw, 32px);
  display: grid;
  place-items: center;
  border: none;
  background: rgba(0, 0, 0, .45);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s, background .2s;
  padding: 0;
}

.card__arrow--prev {
  left: 14px;
}

.card__arrow--next {
  right: 14px;
  background: var(--accent);
}

.card__media:hover .card__arrow,
.card__arrow:focus-visible {
  opacity: 1;
}

.card__arrow:hover {
  background: var(--accent);
}

@media (hover: none) {
  .card__arrow {
    opacity: 1;
  }
}

.dots {
  position: absolute;
  z-index: 2;
  left: 30px;
  right: 28px;
  bottom: 30px;
  display: flex;
  gap: 15px;
}

.dots .dot {
  flex: 1 1 0;
  height: 3px;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, .3);
  cursor: pointer;
  transition: background .2s;
}

.dots .dot.is-active {
  background: #fff;
}

.dots .dot:hover {
  background: rgba(255, 255, 255, .7);
}

.card__body {
  padding: clamp(22px, 2vw, 32px) clamp(18px, 2vw, 30px) 0;
  text-align: center;
  margin-bottom: clamp(22px, 2.3vw, 35px);

}

.card__title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(18px, 1.2vw, 22px);
}

.card__sub {
  margin: 12px 0 0;
  font-weight: 300;
  font-size: clamp(13px, .85vw, 16px);
  color: rgba(255, 255, 255, .8);
}

.specs {
  margin-top: auto;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: clamp(20px, 2.1vw, 32px) clamp(16px, 2.7vw, 52px);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

.specs__label {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-60);
}

.specs__value {
  margin-top: 8px;
  font-size: clamp(15px, .9375vw, 18px);
  font-weight: 400;
  text-align: center;
}

.card__cta {
  background: #393939;
  display: flex;
  border: 1px solid rgba(255, 255, 255, .1);
  border-top: none;
  align-items: center;
  justify-content: center;
  min-height: clamp(52px, 3.65vw, 70px);
  padding: 8px 10px;
  text-align: center;
  font-size: clamp(15px, .9375vw, 18px);
}

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

.card__cta--accent {
  background: var(--accent);
}

.card__cta--accent:hover {
  filter: brightness(1.1);
}

.video {
  display: grid;
  grid-template-columns: min(647px, 33.7vw) min(895px, 46.61vw) minmax(0, 1fr);
  column-gap: min(124px, 6.46vw);
  align-items: stretch;
}

.video__col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.video__col--text {
  padding-top: min(37px, 1.93vw);
}

.video .h2 {
  white-space: nowrap;
}

.video .indent {
  margin-left: min(70px, 3.65vw);
}

.video .lead {
  max-width: none;
  font-size: clamp(12px, .729vw, 14px);
  line-height: 1.4;
  color: #fff;
  opacity: 0.8;

}

.video__frame {
  position: relative;
  aspect-ratio: 895 / 434;
  height: auto;
  overflow: hidden;
  background-color: #303030;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  cursor: pointer;
}

.video .note {
  margin: min(28px, 1.46vw) 0 0;
  font-size: clamp(12px, .729vw, 14px);
  line-height: 1.3;
  opacity: 0.8;
  color: #fff;

}

.video_icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

section#finishes {
  padding-top: 2rem;
}

.video__more {
  grid-column: 3;
  justify-self: end;
  width: min(39px, 2.03vw);
  padding: min(37px, 1.93vw) 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: min(22px, 1.15vw);
  border: none;
  background: none;
  color: #fff;
  cursor: pointer;
  transition: color .2s;
}

.video__more-text {
  writing-mode: vertical-rl;
  font-weight: 100;
  text-transform: uppercase;
  font-size: clamp(14px, 1.67vw, 32px);
  line-height: 1;
  white-space: nowrap;
}

.video__more-line {
  position: relative;
  flex: 0 0 auto;
  width: 1px;
  height: min(71px, 3.7vw);
  background: currentColor;
}

.video__more-line::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 10px;
  height: 10px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateX(-50%) rotate(45deg);
}

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

.grid--thumbs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: min(29px, 1.51vw);
  margin-top: min(92px, 4.79vw);
}

.thumb {
  aspect-ratio: 433 / 210;
}

.video__embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(28px, 2.71vw, 52px);
}

.tab {
  padding: 12px 24px;
  font-size: 15px;
  background: rgba(255, 255, 255, .1);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.tab:hover {
  background: rgba(255, 255, 255, .2);
}

.tab.is-active {
  background: #fff;
  border-color: #fff;
  color: #000;
}

.tab.is-active:hover {
  background: #fff;
}

.scenario {
  position: relative;
  height: clamp(360px, 31.25vw, 600px);
  padding: clamp(20px, 2.71vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid #49494A;
  cursor: pointer;
  background-color: #303030;
}

.scenario[hidden] {
  display: none;
}

.scenario::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .15) 40%, rgba(0, 0, 0, .72) 100%);
}

.scenario:hover::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .25) 40%, rgba(0, 0, 0, .8) 100%);
}

.badge {
  position: absolute;
  z-index: 2;
  left: 20px;
  top: 20px;
  background: rgba(0, 0, 0, .54);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  font-size: clamp(14px, 1.04vw, 20px);
  color: #fff;
}

.badge__icon {
  flex: 0 0 auto;
  width: clamp(18px, 1.25vw, 24px);
  height: auto;
  color: #fff;
}

.badge__mark {
  color: var(--accent-light);
}

.scenario__body {
  position: relative;
  z-index: 2;
  max-width: min(397px, 100%);
}

.scenario__title {
  margin: 0;
  font-weight: 600;
  font-size: clamp(22px, 1.77vw, 34px);
  line-height: 1.206;
  color: #fff;
}

.scenario__meta {
  margin: 12px 0 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  color: #fff;
}

.scenario .btn {
  margin-top: clamp(20px, 2.1vw, 31px);
  padding: 15px clamp(24px, 2.6vw, 40px);
}

.row__empty {
  flex: 1 1 100%;
  padding: clamp(28px, 3vw, 56px);
  text-align: center;
  color: var(--ink-70);
  box-shadow: inset 0 0 0 1px var(--line);
}

.scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(min(90%, 587px), 1fr);
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scroller>* {
  scroll-snap-align: start;
}

.scroller::-webkit-scrollbar {
  display: none;
}

.arrows {
  display: flex;
  gap: 25px;
}

.arrow {
  width: 50px;
  height: 50px;
  border: none;
  background: rgba(255, 255, 255, .1);
  cursor: pointer;
  font-size: 18px;
}

.arrow:hover {
  background: rgba(255, 255, 255, .2);
}

.arrow[disabled] {
  opacity: .35;
  cursor: default;
}

.arrow[disabled]:hover {
  background: rgba(255, 255, 255, .1);
}

.arrow--accent[disabled]:hover {
  background: var(--accent);
}

.arrows[hidden] {
  display: none;
}

.arrow--accent {
  background: var(--accent);
}

.arrow--accent:hover {
  filter: brightness(1.1);
}

.quality {
  background: var(--bg-alt);
}

.steps {
  display: grid;
  grid-template-columns: min(293px, 17.48vw) min(691px, 35.99vw) min(741px, 38.59vw);
  justify-content: space-between;
  column-gap: min(50px, 2.6vw);
  align-items: start;
}

.quality .script--block {
  margin-top: max(-53px, -2.76vw);
  margin-left: min(369px, 19.22vw);
  font-size: clamp(34px, 5.75vw, 72px);
  line-height: 2.19;
}

.steps__lead {
  margin-left: min(254px, 13.23vw);
  margin-top: max(-43px, -2.24vw);
  font-size: clamp(13px, .9375vw, 18px);
  line-height: 1.22;
  color: #fff;
}

.steps__intro {
  max-width: min(290px, 15.1vw);
  margin: 0 0 min(51px, 2.66vw);
  font-weight: 400;
  font-size: clamp(13px, .833vw, 16px);
  line-height: 1.19;
  color: #fff;
}

.steps__col {
  min-width: 0;
}

.steps__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: min(15px, .78vw) min(40px, 2.08vw);
  font-weight: 300;
  font-size: clamp(11px, .625vw, 12px);
  line-height: 1.2;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: none;
  cursor: pointer;
}

.step-btn:hover {
  background: rgba(255, 255, 255, .16);
}

.step-btn.is-active {
  background: var(--accent);
}

.step-btn.is-active::after {
  content: "";
  position: absolute;
  left: calc(100% + min(12px, .63vw));
  top: 50%;
  width: min(32px, 1.66vw);
  height: min(54px, 2.81vw);
  transform: translateY(-60%);
  background: url("../i/steps-arrow.svg") center / contain no-repeat;
  pointer-events: none;
}

.steps__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
}

.steps__visual::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(373px, 19.43vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #D34A20;
  filter: blur(clamp(60px, 7.81vw, 150px));
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.steps__image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 691 / 440;
  max-height: 440px;
  background: none;
}

.steps__image .cover {
  object-fit: contain;
}

.steps__text {
  min-width: 0;
}

.steps__title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(20px, 1.77vw, 34px);
  line-height: 1.2;
}

.steps__desc {
  margin: min(32px, 1.67vw) 0 0;
  font-weight: 300;
  font-size: clamp(14px, .833vw, 16px);
  line-height: 1.4;
  color: #fff;
}

.steps__text .bullets {
  margin-top: min(32px, 1.67vw);
}

.steps__panel[hidden] {
  display: none;
}

.steps__title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(20px, 2.3vw, 34px);
  line-height: 1.15;
}

.steps__desc {
  margin: clamp(18px, 2vw, 32px) 0 0;
  font-weight: 300;
  font-size: clamp(13px, .9vw, 16px);
  color: rgba(255, 255, 255, .8);
  line-height: 1.55;
}

.bullets {
  margin-top: clamp(20px, 2.2vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bullets--flat {
  margin-top: 0;
}

.bullets li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: clamp(14px, .9375vw, 18px);
}

.bullets li::before {
  content: "";
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19 19'%3E%3Crect x='9.19238' width='13' height='13' transform='rotate(45 9.19238 0)' fill='white'/%3E%3C/svg%3E") center / contain no-repeat;
}

.about-section {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.about {
  position: relative;
  max-width: calc(var(--content) + 2 * var(--pad-x));
  margin-inline: auto;
  min-height: min(1064px, 55.42vw);
  padding: min(160px, 8.33vw) var(--pad-x) min(116px, 6.04vw);
  border-bottom: 1px solid hsl(0deg 0% 100% / 20%);
}

.about__photo {
  position: absolute;
  left: var(--pad-x);
  bottom: 0;
  width: min(822px, 42.81vw);
  aspect-ratio: 822 / 904;
}

.about__photo::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 17.6%;
  width: 60.5%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #D34A20;
  filter: blur(min(150px, 7.81vw));
  transform: translateX(-50%);
  pointer-events: none;
}

.about__photo img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
}

.about__content {
  position: relative;
  z-index: 2;
  margin-left: min(770px, 40.1vw);
  max-width: min(1023px, 53.3vw);
}

.about__content .h2 {
  margin-top: min(10px, .52vw);
  font-size: clamp(26px, 3.75vw, 72px);
  line-height: 1.097;
}

.about__content .script--block {
  margin-top: max(-53px, -2.76vw);
  margin-left: min(330px, 17.19vw);
  font-size: clamp(30px, 3.75vw, 72px);
  line-height: 2.19;
}

.about__content .lead {
  margin: max(-43px, -2.24vw) 0 0 min(254px, 13.23vw);
  max-width: min(533px, 27.76vw);
  font-size: clamp(13px, .9375vw, 18px);
  line-height: 1.22;
  color: #fff;
}

.stats {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: min(62px, 3.23vw);
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 0;
}

.stats__item:last-child {
  align-items: flex-start;
}

.stats__item:last-child .stats__num {
  margin-left: min(10px, .52vw);
}

.stats__num {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, 7.81vw, 150px);
  line-height: 1.1;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #1b1b1d 63.94%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats__label {
  margin-top: max(-59px, -3.07vw);
  font-size: clamp(12px, .9375vw, 18px);
  line-height: 1.22;
  color: #fff;
}

.quote {
  margin: min(83px, 4.32vw) 0 0;
  display: flex;
  gap: min(54px, 2.81vw);
  align-items: flex-start;
}

.quote__mark {
  flex: 0 0 auto;
  width: min(141px, 7.34vw);
}

.quote__body {
  min-width: 0;
  max-width: min(730px, 38vw);
}

.quote p {
  margin: 0;
  font-weight: 300;
  font-size: clamp(14px, 1.15vw, 22px);
  line-height: 1.318;
  color: #fff;
}

.quote__name {
  margin-top: min(52px, 2.71vw);
  font-weight: 900;
  font-size: clamp(20px, 1.77vw, 34px);
  line-height: 1.206;
}

.quote__role {
  margin-top: min(11px, .57vw);
  font-size: clamp(12px, .9375vw, 18px);
  line-height: 1.22;
  color: #fff;
}

.reviews-section {
  position: relative;
  padding-top: min(100px, 5.21vw);
  padding-bottom: min(150px, 7.81vw);
  background: #000;
}

.reviews-section>.container {
  position: relative;
  z-index: 1;
}

p.lead.muted.lead--indent {
  margin-left: min(225px, 11.43vw);
}

.divider {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 78%;
  width: 1px;
  background: rgba(255, 255, 255, .16);
  pointer-events: none;
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  left: 50%;
  width: clamp(11px, 1.2vw, 23px);
  height: clamp(11px, 1.2vw, 23px);
  background: #fff;
}

.divider::before {
  top: 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

.divider::after {
  bottom: 0;
  transform: translate(-50%, 50%) rotate(45deg);
}

@media (max-width: 900px) {

  .divider {
    display: none;
  }
}

.review {
  background: var(--bg-alt);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: clamp(18px, 1.6vw, 30px);
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.2vw, 22px);
}

.review__head {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 1.1vw, 20px);
}

.avatar {
  width: clamp(52px, 4.4vw, 84px);
  height: clamp(52px, 4.4vw, 84px);
  background: rgba(255, 255, 255, .1);
  flex: 0 0 auto;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review__who {
  flex: 1 1 auto;
  min-width: 0;
}

.review__name {
  display: block;
  font-weight: 700;
  font-size: clamp(15px, 1.05vw, 20px);
}

.review__object {
  display: block;
  margin-top: 5px;
  font-weight: 300;
  font-size: clamp(12px, .729vw, 14px);
  line-height: 1;
  color: rgba(255, 255, 255, .6);
}

.stars {
  display: block;
  margin-top: 10px;
  color: var(--gold);
  letter-spacing: 4px;
  font-size: clamp(13px, 1vw, 19px);
  white-space: nowrap;
}

.review__when {
  flex: 0 0 auto;
  display: flex;
  gap: clamp(8px, .8vw, 14px);
  font-weight: 300;
  font-size: clamp(11px, .625vw, 12px);
  line-height: 1;
  color: rgba(255, 255, 255, .45);
  white-space: nowrap;
}

.review__body {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: clamp(14px, 1.2vw, 22px);
  display: flex;
  gap: clamp(12px, 1.1vw, 20px);
  align-items: flex-start;
}

.review__mark {
  width: min(53px, 2.76vw);
  flex: 0 0 auto;
}

.review__text {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 300;
  font-size: clamp(11px, .625vw, 12px);
  line-height: 1.4;
  color: var(--ink-70);
}

.scroller--reviews {
  grid-auto-columns: calc((100% - 2 * var(--gap)) / 3);
}

@media (max-width: 1200px) {

  .form-head,
  .form__title {
    font-size: 1.3rem !important;
  }
}

@media (max-width: 760px) {
  .scroller--reviews {
    grid-auto-columns: min(88%, 420px);
  }

  .scroller--reviews {
    grid-auto-columns: calc((100% - var(--gap)) / 2);
  }
}

.cta {
  position: relative;
  overflow: visible;
  min-height: min(672px, 35vw);
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.cta::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 66.5%;
  top: 44%;
  width: min(1049px, 54.6vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: url("../i/cta-glow.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}

.cta__photo {
  position: absolute;
  z-index: 2;
  left: 64.45%;
  bottom: 0;
  height: 82.74%;
  transform: translateX(-50%);
  pointer-events: none;
}

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

.cta__inner {
  position: relative;
  z-index: 1;
  padding: min(149px, 7.76vw) 0 min(116px, 6.04vw) min(125px, 6.51vw);
  display: grid;
  grid-template-columns: min(1312px, 68.33vw) min(350px, 18.23vw);
  align-items: start;
  gap: 0;
}

.cta__text {
  min-width: 0;
}

.cta .eyebrow+.h2 {
  margin-top: min(10px, .52vw);
}

.cta .h2--cta {
  font-size: clamp(26px, 3.44vw, 66px);
  line-height: 1.258;
}

.cta .indent {
  margin-left: min(225px, 11.72vw);
}

.cta__script {
  display: block;
  margin: max(-70px, -3.65vw) 0 0 min(43px, 2.24vw);
  font-size: clamp(34px, 5.21vw, 100px);
  line-height: 2.19;
}

.cta .lead--indent {
  margin: max(-40px, -2.08vw) 0 0 min(335px, 17.45vw);
  max-width: min(484px, 25.21vw);
  font-size: clamp(14px, .9375vw, 18px);
  line-height: 1.22;
  color: #fff;
}

.cta__mark--top {
  top: 0;
  bottom: auto;
  left: 78.14%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.cta__mark {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  width: clamp(11px, 1.2vw, 23px);
  height: clamp(11px, 1.2vw, 23px);
  background: #fff;
  transform: translate(-50%, 50%) rotate(45deg);
  pointer-events: none;
}

.cta__form {
  position: relative;
}

.cta__form::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px;
  background: linear-gradient(135deg, #000000 0%, #D34A20 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
  transform: rotate(180deg);
}

.cta__form::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: unset;
  height: min(359px, 18.7vw);
  background: var(--bg);
  clip-path: polygon(4.6% 0, 95.4% 0, 100% 96%, 95.4% 100%, 4.6% 100%, 0 96%);
  bottom: -1rem;
}

.form {
  position: relative;
  background: var(--bg);
  border: 3px solid #000;
  padding: min(50px, 2.6vw);
  display: flex;
  flex-direction: column;
  gap: min(10px, .52vw);
}

.form-header {
  margin: 0;
}

.form-head,
.form__title {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: clamp(16px, 1.25vw, 24px);
  text-align: center;
  line-height: 1.3;
  color: #fff;
}

.form_block {
  display: flex;
  flex-direction: column;
  gap: min(22px, 1.15vw);
}

.form-groups {
  display: flex;
  flex-direction: column;
  gap: min(10px, .52vw);
}

.form-group {
  position: relative;
  display: flex;
  align-items: center;
  gap: min(10px, .52vw);
  background: #fff;
  padding: 1rem;
  min-height: 3rem;
}

.form-group__icon {
  flex: 0 0 auto;
  width: min(14px, .73vw);
  min-width: 12px;
  height: auto;
  color: #000;
  opacity: .35;
}

.form-group .form-control {
  background: transparent;
  color: #000;
  border: none;
  padding: 0;
  font-size: clamp(13px, .833vw, 16px);
  line-height: 1.2;
  width: 100%;
  min-width: 0;
  font-family: inherit;
}

.form-group .form-control::placeholder {
  color: #000;
  opacity: 1;
}

.form-group .form-control:focus {
  outline: none;
}

.form-group:focus-within {
  box-shadow: 0 0 0 2px var(--accent);
}

.form .button {
  margin: 0;
}

.form-group-area {
  align-items: flex-start;
}

.form-group-area textarea {
  resize: vertical;
}

.form .hidden {
  position: absolute;
  left: -9999px;
}

.form .btn.golden-box {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  min-height: min(52px, 2.71vw);
  padding: 1rem 1.5rem;
  font-size: clamp(14px, .9375vw, 18px);
  white-space: nowrap;
  font-family: inherit;
  line-height: 1.2;
  cursor: pointer;
}

.form .btn.golden-box:hover {
  filter: brightness(1.1);
}

.agreement-check {
  margin-top: 0;
  display: flex;
  gap: .625rem;
  align-items: flex-start;
  font-size: clamp(11px, .625vw, 12px);
  line-height: 120%;
  color: #fff;
  cursor: pointer;
}

.quiz .q-intro__glow {
  z-index: -2;
  background: #D34A20;
  filter: blur(9.375rem);
  top: 51%;
  width: 44%;
  height: 55%;
  left: 41%;
}

.agreement-check .agreement {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: min(20px, 1.04vw);
  height: min(20px, 1.04vw);
  min-width: 16px;
  min-height: 16px;
  margin: 0;
  border: none;
  border-radius: 25%;
  background: #fff;
  cursor: pointer;
}

.agreement-check .agreement:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M16.32 5.17a.83.83 0 0 0-1.18 0L8.63 12.05 5.98 9.41a.83.83 0 1 0-1.18 1.18l3.05 3.05a.83.83 0 0 0 1.18 0l7.29-7.29a.83.83 0 0 0 0-1.18Z' fill='%23D34A20'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}

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

.agreement-label a {
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .4);
}

.agreement-label a:hover {
  text-decoration: underline;
}

.box {
  margin-top: 4px;
}

.box label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: clamp(11px, .8vw, 13px);
  color: var(--ink-70);
}

.inputfile {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form small {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  color: var(--ink-60);
}

@media (max-width: 1200px) {

  .cta__photo {
    display: none;
  }

  .cta__inner {
    grid-template-columns: minmax(0, 1fr) clamp(240px, 32vw, 340px);
    align-items: center;
    gap: 24px;
    padding: 48px var(--pad-x);
  }

  .cta .indent {
    margin-left: clamp(16px, 6vw, 80px);
  }

  .cta__script {
    margin: 0 0 0 8px;
    font-size: clamp(34px, 6vw, 64px);
    line-height: 1.2;
  }

  .cta .lead--indent {
    margin: 16px 0 0;
    max-width: 46ch;
    font-size: 15px;
  }

  .agreement-check {
    margin-top: 0;
  }

  .cta__form::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .cta__inner {
    grid-template-columns: 1fr;
    gap: clamp(24px, 5vw, 40px);
  }

  .cta::before {
    left: 50%;
    width: 150vw;
  }
}

.footer {
  background: #000;
}

.footer__inner {
  padding-block: min(100px, 5.21vw) min(50px, 2.6vw);
}

.footer__cols {
  display: grid;
  grid-template-columns: min(619px, 32.24vw) min(652px, 33.96vw) minmax(0, 1fr);
  column-gap: 0;
  align-items: start;
}

.footer__brand {
  max-width: min(278px, 14.48vw);
  display: flex;
  flex-direction: column;
  gap: min(29px, 1.51vw);
}

.footer__logo {
  width: 100%;
  height: min(92px, 4.79vw);
  display: flex;
  align-items: center;
}

.footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.footer__logo--empty {
  background: rgba(217, 217, 217, .1);
}

.footer__about {
  margin: 0;
  font-size: 12px;
  line-height: 15px;
  color: #fff;
}

.footer__col {
  min-width: 0;
}

.footer__title {
  white-space: nowrap;
  margin: 0 0 min(29px, 1.51vw);
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(24px, 2.6vw, 50px);
  line-height: 1.1;
}

.footer__contacts {
  display: grid;
  grid-template-columns: min(351px, 18.28vw) auto;
  align-items: start;
  justify-content: start;
}

.footer__lines {
  min-width: 0;
}

.footer__contacts .socials {
  padding-top: min(2px, .1vw);
}

.footer__phone {
  white-space: nowrap;
  display: block;
  font-weight: 700;
  font-size: clamp(20px, 1.77vw, 34px);
  line-height: 1.206;
}

.footer__mail {
  white-space: nowrap;
  display: block;
  margin-top: min(5px, .26vw);
  font-weight: 600;
  font-size: clamp(16px, 1.35vw, 26px);
  line-height: 1.19;
  color: var(--accent);
  text-decoration: underline;
}

.footer__address {
  margin-top: 1.25rem
}

.footer__label {
  font-size: 12px;
  line-height: 15px;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 12px;
}

.footer__addr {
  margin: 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  max-width: min(437px, 22.76vw);
}

.footer__legal {
  display: flex;
  flex-direction: column;
  gap: min(16px, .833vw);
  font-size: clamp(14px, .9375vw, 18px);
  line-height: 1.22;
  max-width: min(484px, 25.2vw);
}

.footer__legal p {
  margin: 0;
  white-space: nowrap;
}

.footer__legal strong {
  font-weight: 700;
}

.footer__bottom {
  margin-top: max(-21px, -1.09vw);
  display: grid;
  grid-template-columns: min(1204px, 62.71vw) min(397px, 20.68vw) minmax(0, 1fr);
  align-items: center;
  gap: 0;
  font-size: 16px;
  line-height: 19px;
}

.footer__copy {
  color: #fff;
  white-space: nowrap;
}

.footer__policy {
  font-weight: 300;
  white-space: nowrap;
}

.footer__author {
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 300;
  font-size: 12px;
}

.footer__author img {
  width: min(122px, 6.35vw);
  height: auto;
}

@media (max-width: 1024px) {
  .footer__inner {
    padding-block: 48px 32px;
  }

  .footer__title {
    font-size: 1.9rem;
  }

  .form_block {
    gap: 1.25rem;
  }

  .footer__cols {
    grid-template-columns: 1fr;
    row-gap: 36px;
  }

  .footer__brand {
    max-width: min(278px, 70vw);
    gap: 20px;
  }

  .footer__logo {
    height: 64px;
  }

  .footer__title {
    font-size: clamp(26px, 6vw, 40px);
    margin-bottom: 20px;
    white-space: normal;
  }

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

  .footer__phone {
    font-size: clamp(22px, 5vw, 30px);
  }

  .footer__mail {
    font-size: clamp(16px, 4vw, 22px);
  }

  .footer__addr,
  .footer__legal {
    max-width: 46ch;
  }

  .footer__legal {
    font-size: 15px;
    gap: 10px;
  }

  .footer__legal p,
  .footer__copy,
  .footer__policy {
    white-space: normal;
  }

  .footer__bottom {
    margin-top: 36px;
    grid-template-columns: 1fr;
    row-gap: 14px;
    font-size: 14px;
  }

  .footer__author img {
    width: 110px;
  }
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 60px);
  overflow-y: auto;
}

.modal[hidden] {
  display: none;
}

.modal__box {
  position: relative;
  width: 100%;
  background: var(--bg-alt);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6);
}

.modal__box--project {
  max-width: min(1512px, 78.75vw);
  padding: min(50px, 2.6vw);
}

.modal__box--scenario {
  max-width: min(1512px, 78.75vw);
  padding: min(50px, 2.6vw);
}

.modal__box--form {
  max-width: min(520px, 90vw);
  padding: 0;
  background: none;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6);
}

.modal__box--form .form {
  padding-top: clamp(32px, 3.44vw, 66px);
}

.modal__box--form .modal__close {
  color: #fff;
}

.modal__close {
  position: absolute;
  right: min(26px, 1.35vw);
  top: min(26px, 1.35vw);
  z-index: 3;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: none;
  color: #fff;
  opacity: .5;
  cursor: pointer;
  transition: opacity .2s;
}

.modal__close svg {
  width: 100%;
  height: 100%;
  display: block;
}

.modal__close:hover,
.modal__close:focus-visible {
  opacity: 1;
}

.modal__media {
  position: relative;
  flex: 1 1 440px;
  min-width: 0;
  min-height: clamp(240px, 32vw, 520px);
  overflow: hidden;
  background-color: #1f1f21;
}

.modal__body {
  flex: 1 1 420px;
  min-width: 0;
  padding: clamp(24px, 2.6vw, 52px);
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 1.8vw, 28px);
}

.modal__kicker {
  font-size: clamp(12px, .8vw, 14px);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}

.modal__title {
  margin: 14px 0 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(22px, 2.2vw, 38px);
  line-height: 1.15;
}

.modal__sub {
  margin: 12px 0 0;
  font-weight: 300;
  font-size: clamp(13px, .9vw, 16px);
  color: var(--ink-70);
}

.modal__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  padding: clamp(18px, 1.8vw, 26px) 0;
}

.modal__text {
  margin: 0;
  font-weight: 300;
  font-size: clamp(13px, .9vw, 16px);
  line-height: 1.6;
  color: var(--ink-85);
}

.modal__actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.modal__actions .btn {
  flex: 1 1 220px;
}

.modal__actions .btn--ghost {
  flex: 0 1 auto;
  font-weight: 700;
  white-space: nowrap;
}

.modal__hero {
  position: relative;
  min-height: clamp(240px, 30vw, 460px);
  overflow: hidden;
  background-color: #1f1f21;
}

.modal__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .2) 45%, rgba(27, 27, 29, .95) 100%);
}

.modal__hero-body {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 3vw, 52px);
  right: clamp(20px, 3vw, 52px);
  bottom: clamp(20px, 2.4vw, 40px);
}

.modal__hero-title {
  margin: 12px 0 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(26px, 2.8vw, 48px);
  line-height: 1.1;
}

.modal__cols {
  padding: clamp(22px, 2.6vw, 52px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 2.6vw, 52px);
}

.modal__lead {
  flex: 1 1 300px;
  min-width: 0;
}

.modal__lead p {
  margin: 0;
  font-weight: 300;
  font-size: clamp(14px, 1vw, 18px);
  line-height: 1.6;
  color: var(--ink-85);
}

.modal__cols .form {
  flex: 1 1 auto;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

.pricebox {
  flex: 0 1 320px;
  min-width: 0;
  background: var(--bg-alt);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: clamp(20px, 2vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pricebox__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: clamp(13px, .9vw, 16px);
}

.pricebox__row span:first-child {
  color: var(--ink-60);
}

.pricebox__row span:last-child {
  font-weight: 700;
}

.pricebox__total {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 20px;
}

.pricebox__sum {
  margin-top: 10px;
  font-size: clamp(20px, 1.6vw, 28px);
  font-weight: 700;
  color: var(--accent-light);
}

.accent-num {
  color: var(--accent-light);
}

body.is-locked {
  overflow: hidden;
}

.pop {
  display: flex;
  gap: min(78px, 4.06vw);
  align-items: flex-start;
}

.pop__left {
  flex: 0 0 auto;
  width: min(817px, 42.55vw);
}

.pop__right {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: min(548px, 28.54vw);
}

.pop__info {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
}

.pop__media {
  position: relative;
  aspect-ratio: 817 / 548;
  overflow: hidden;
  background-color: #303030;
  box-shadow: inset 0 0 0 1px rgb(73, 73, 74);
}

.pop__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pop__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, .35);
  pointer-events: none;
}

.pop__media--dim::before {
  background: rgba(0, 0, 0, .4);
}

.pop__media .card__arrow {
  opacity: 1;
  width: min(32px, 1.67vw);
  height: min(32px, 1.67vw);
  min-width: 26px;
  min-height: 26px;
  background: rgba(255, 255, 255, .3);
}

.pop__media .card__arrow--prev {
  left: min(30px, 1.56vw);
}

.pop__media .card__arrow--next {
  right: min(30px, 1.56vw);
  background: var(--accent);
}

.pop__media .card__arrow:hover {
  background: #e2582d;
}

.pop__media .card__arrow--prev .arrow__icon {
  transform: rotate(180deg);
}

.arrow__icon {
  width: 16px;
  height: 8px;
}

.pop__media .dots {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: min(529px, 27.55vw);
  bottom: min(30px, 1.56vw);
  gap: min(15px, .78vw);
}

.pop__media .dots .dot {
  border-radius: 10px;
}

.pop__thumbs {
  display: flex;
  gap: min(15px, .78vw);
  margin-top: min(40px, 2.08vw);
}

.pop__thumb {
  position: relative;
  flex: 0 0 auto;
  width: min(146px, 7.6vw);
  aspect-ratio: 146 / 110;
  padding: 0;
  border: none;
  background: none;
  overflow: hidden;
  opacity: .7;
  cursor: pointer;
  transition: opacity .2s, box-shadow .2s;
}

.pop__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pop__thumb:hover {
  opacity: 1;
}

.pop__thumb.is-active {
  opacity: 1;
  box-shadow: inset 0 0 0 1px #fff;
}

.pop__title {
  margin: 0;
  font-weight: 600;
  font-size: clamp(20px, 1.77vw, 34px);
  line-height: 1.1;
  color: #fff;
}

.pop--gallery .pop__title {
  font-weight: 400;
}

.pop__meta {
  margin: min(20px, 1.04vw) 0 0;
  font-size: clamp(14px, 1.04vw, 20px);
  line-height: 1.1;
  color: #fff;
}

.pop__facts {
  margin: min(22px, 1.15vw) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: min(54px, 2.81vw);
}

.pop__fact {
  display: flex;
  flex-direction: column;
  gap: min(9px, .47vw);
  min-width: min(121px, 6.3vw);
}

.pop__fact-label {
  font-size: clamp(12px, .729vw, 14px);
  line-height: 1.1;
  color: #fff;
  opacity: .5;
}

.pop__fact-value {
  font-size: clamp(14px, .9375vw, 18px);
  line-height: 1.1;
  color: #fff;
}

.pop__text {
  margin-top: min(22px, 1.15vw);
}

.pop--gallery .pop__text {
  margin-top: min(52px, 2.71vw);
}

.pop__text p {
  margin: 0 0 1em;
  font-size: clamp(13px, .729vw, 14px);
  line-height: 1.6;
  color: rgba(255, 255, 255, .8);
}

.pop__text p:last-child {
  margin-bottom: 0;
}

.pop__info .bullets {
  margin-top: min(22px, 1.15vw);
}

.pop__btn {
  flex: 0 0 auto;
  margin-top: min(24px, 1.25vw);
  width: min(278px, 14.48vw);
  min-width: 200px;
  height: min(52px, 2.71vw);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-size: clamp(14px, .9375vw, 18px);
  line-height: 1;
  text-decoration: none;
  transition: background .2s;
}

.pop__btn:hover {
  background: #e2582d;
  color: #fff;
}

.cookie {
  position: fixed;
  z-index: 200;
  right: clamp(12px, 2vw, 40px);
  bottom: clamp(12px, 2vw, 40px);
  width: min(513px, calc(100vw - 24px));
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line), 0 24px 60px rgba(0, 0, 0, .6);
}

.cookie[hidden] {
  display: none;
}

.cookie::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: -10%;
  top: 50%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(70px);
  opacity: .55;
  transform: translateY(-50%);
  pointer-events: none;
}

.cookie__text {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(14px, .9375vw, 18px);
  line-height: 1.4;
  text-align: center;
  color: #fff;
}

.cookie__btn {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: min(238px, 100%);
  min-height: 72px;
  padding: 25px 34px;
}

.quiz {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 2vw, 40px);
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(6px);
  overflow-y: auto;
}

.quiz[hidden] {
  display: none;
}

.quiz__stage {
  position: relative;
  width: 100%;
  max-width: 1620px;
  min-height: min(870px, 72vw);
  background: #161616;
  overflow: hidden;
}

.q-screen {
  position: relative;
  min-height: min(870px, 72vw);
}

.q-screen[hidden] {
  display: none;
}

.q-display {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: .02em;
}

.q-close {
  position: absolute;
  z-index: 5;
  right: min(40px, 2.47vw);
  top: min(40px, 2.47vw);
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: none;
  color: #fff;
  opacity: .7;
  cursor: pointer;
}

.q-close svg {
  width: 100%;
  height: 100%;
  display: block;
}

.q-close:hover {
  opacity: 1;
}

.q-intro {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.q-intro__photo {
  position: absolute;
  z-index: 2;
  left: 6.85%;
  top: 2.87%;
  width: 120.99%;
  height: 168.97%;
  pointer-events: none;
}

.q-intro__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left top;
}

.q-intro__glow {
  position: absolute;
  z-index: 1;
  left: 46.9%;
  top: 37.6%;
  width: min(524px, 32.35vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(min(90px, 5.56vw));
  opacity: .85;
}

.q-intro__rule {
  position: absolute;
  z-index: 3;
  background: #fff;
  opacity: .2;
}

.q-intro__rule--h {
  left: 0;
  right: 0;
  top: 41.5%;
  height: 1px;
}

.q-intro__rule--v {
  left: 6.73%;
  top: 0;
  bottom: 0;
  width: 1px;
}

.q-intro__mark {
  position: absolute;
  z-index: 3;
  left: 59.5%;
  top: 41.5%;
  width: min(23px, 1.42vw);
  aspect-ratio: 1;
  background: #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}

.q-intro__body {
  position: relative;
  z-index: 4;
  padding: 0 min(50px, 3.09vw) 0 min(153px, 9.44vw);
}

.q-intro .eyebrow {
  margin-bottom: min(20px, 1.23vw);
}

.q-intro__line {
  font-size: clamp(28px, 4.44vw, 72px);
  color: #fff;
}

.q-intro__line--2 {
  margin-left: min(255px, 15.74vw);
}

.q-intro__cta {
  margin-top: min(45px, 2.78vw);
  min-width: min(318px, 19.63vw);
  min-height: min(67px, 4.14vw);
}

.q-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(381px, 23.52vw);
  grid-template-rows: minmax(0, 1fr) auto;
}

.q-main {
  grid-column: 1;
  padding: min(50px, 3.09vw);
  min-width: 0;
}

.q-steps__title {
  font-size: clamp(22px, 2.47vw, 40px);
  color: #fff;
}

.q-steps__sub {
  margin: min(20px, 1.23vw) 0 0;
  font-weight: 500;
  font-size: clamp(14px, 1.48vw, 24px);
  line-height: 1.2;
  color: #fff;
}

.q-options {
  list-style: none;
  margin: min(47px, 2.9vw) 0 0;
  padding: 0;
  display: grid;
  gap: min(37px, 2.28vw);
}

.q-options[hidden] {
  display: none;
}

.q-options--cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.q-options--cards.is-dense {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: min(28px, 1.73vw);
}

.q-options--rows {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: min(22px, 1.36vw) min(37px, 2.28vw);
}

.q-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: min(22px, 1.36vw);
  align-items: stretch;
  padding: 0;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
}

.q-card__media {
  position: relative;
  height: min(160px, 9.88vw);
  overflow: hidden;
  background: rgba(217, 217, 217, .12);
  transition: box-shadow .15s;
}

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

.q-card:hover .q-card__media {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}

.q-card[aria-pressed="true"] .q-card__media {
  box-shadow: inset 0 0 0 2px var(--accent);
}

.q-card__title {
  display: block;
  font-weight: 700;
  font-size: clamp(14px, .99vw, 16px);
  line-height: 1.2;
  color: #fff;
}

.q-card__desc {
  display: block;
  margin-top: min(12px, .74vw);
  font-size: 12px;
  line-height: 1.2;
  color: rgba(255, 255, 255, .8);
}

.q-row {
  display: flex;
  gap: min(14px, .86vw);
  align-items: flex-start;
  min-height: min(81px, 5vw);
  padding: min(20px, 1.23vw) min(30px, 1.85vw);
  border: none;
  background: none;
  text-align: left;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
  cursor: pointer;
  transition: box-shadow .15s;
}

.q-row:hover {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
}

.q-row[aria-pressed="true"] {
  box-shadow: inset 0 0 0 1px var(--accent);
}

.q-mark {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 2px;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px #878787;
}

.q-row[aria-pressed="true"] .q-mark {
  background: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.q-mark svg {
  display: none;
}

.q-row[aria-pressed="true"] .q-mark svg {
  display: block;
}

.q-row__title {
  display: block;
  font-weight: 700;
  font-size: clamp(15px, 1.11vw, 18px);
  line-height: 1.44;
  color: #fff;
}

.q-row__desc {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.2;
  color: rgba(255, 255, 255, .8);
}

.q-lead {
  position: relative;
  margin-top: min(43px, 2.65vw);
}

.q-lead[hidden] {
  display: none;
}

.q-lead__photo {
  position: absolute;
  z-index: 1;
  left: min(628px, 38.77vw);
  bottom: 0;
  width: min(552px, 34.07vw);
  pointer-events: none;
}

.q-lead__photo img {
  width: 100%;
  height: auto;
  display: block;
}

.q-lead__glow {
  position: absolute;
  left: min(711px, 43.89vw);
  top: 0;
  width: min(449px, 27.72vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(min(120px, 7.41vw));
  opacity: .7;
}

.q-form {
  position: relative;
  z-index: 2;
  width: min(720px, 44.44vw);
  padding: min(50px, 3.09vw);
  display: flex;
  flex-direction: column;
  gap: min(22px, 1.36vw);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.q-form__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: min(22px, 1.36vw);
  align-items: start;
}

.q-form__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.q-form .form-group {
  min-height: min(49px, 3.02vw);
}

.q-form .form-group--select::after {
  content: "";
  position: absolute;
  right: 15px;
  width: 8px;
  height: 8px;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  transform: translateY(-2px) rotate(45deg);
  pointer-events: none;
}

.q-form select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  color: #000;
  font-family: inherit;
  font-size: clamp(13px, .99vw, 16px);
  width: 100%;
  cursor: pointer;
}

.q-form__submit {
  min-height: min(52px, 3.21vw);
  font-weight: 400;
}

.q-form .agreement-check {
  max-width: min(293px, 18.09vw);
}

.q-side {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  gap: 2rem;
  flex-direction: column;
  padding: min(30px, 1.85vw);
  background: #101010;
}

.q-side__head {
  display: flex;
  gap: min(20px, 1.23vw);
  align-items: flex-start;
}

.q-side__ava {
  position: relative;
  flex: 0 0 auto;
  width: min(80px, 4.94vw);
  aspect-ratio: 1;
  border-radius: 50%;
}

.q-side__ava img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.q-side__ava--empty {
  background: #343434;
}

.q-side__dot {
  position: absolute;
  /* Точка стоит на окружности, а не в углу квадрата: у круга угол пустой. */
  right: 5%;
  top: 5%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #25d265;
}

.q-side__who {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.q-side__name {
  font-weight: 900;
  font-size: clamp(14px, .99vw, 16px);
  line-height: 1.3;
}

.q-side__hours {
  font-size: clamp(12px, .86vw, 14px);
  line-height: 1.3;
  color: rgba(255, 255, 255, .7);
}

.q-side__about {
  font-size: 12px;
  line-height: 1.33;
  color: #fff;
}

.q-side__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: min(32px, 1.98vw);
}

.q-side__btn {
  min-height: min(67px, 4.14vw);
}

.q-side__phone {
  display: block;
  font-weight: 700;
  font-size: clamp(20px, 1.98vw, 32px);
  line-height: 1;
  text-align: center;
}

.q-foot {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  gap: min(45px, 2.78vw);
  align-items: flex-end;
  padding: min(20px, 1.23vw) min(50px, 3.09vw);
  padding-bottom: min(50px, 3.09vw);
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.q-foot__progress {
  flex: 1 1 auto;
  min-width: 0;
}

.q-foot__hint {
  margin: 0 0 min(24px, 1.48vw);
  font-size: clamp(13px, .99vw, 16px);
  line-height: 1.2;
  color: #fff;
}

.q-foot__track {
  position: relative;
  display: block;
  height: 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .2);
  overflow: hidden;
}

.q-foot__bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: 5px;
  background: var(--accent);
  transition: width .25s;
}

.q-foot__back {
  flex: 0 0 auto;
  width: min(67px, 4.14vw);
  height: min(67px, 4.14vw);
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border: none;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  cursor: pointer;
}

.q-foot__back:hover {
  background: rgba(255, 255, 255, .18);
}

.q-foot__next {
  flex: 0 0 auto;
  width: min(250px, 15.43vw);
  min-width: 180px;
  min-height: min(67px, 4.14vw);
  padding: 0;
  background: none;
  border: 1px solid #fff;
  color: #fff;
}

.q-foot__next:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.q-foot__next[hidden] {
  display: none;
}

.q-alert {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: min(16px, .99vw) 0 0;
  padding: 8px 12px;
  background: rgba(211, 74, 32, .16);
  box-shadow: inset 0 0 0 1px var(--accent);
  font-size: clamp(12px, .8vw, 13px);
  line-height: 1.2;
  color: #fff;
  animation: q-shake .3s ease;
}

.q-alert[hidden] {
  display: none;
}

.q-alert__mark {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  background: var(--accent);
  transform: rotate(45deg);
}

@keyframes q-shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

.page {
  padding: 0;
}

.page__title {
  margin: 0 0 clamp(24px, 2.6vw, 48px);
  font-family: var(--display);
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: clamp(26px, 3.4vw, 56px);
  line-height: 1.1;
}

.prose {
  max-width: 80ch;
  font-size: clamp(14px, .95vw, 17px);
  line-height: 1.7;
  color: var(--ink-85);
}

.prose h2 {
  margin: clamp(28px, 3vw, 48px) 0 16px;
  font-family: var(--display);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: clamp(20px, 1.8vw, 30px);
}

.prose h3 {
  margin: clamp(22px, 2.4vw, 36px) 0 12px;
  font-weight: 600;
  font-size: clamp(17px, 1.2vw, 22px);
}

.prose p {
  margin: 0 0 16px;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
}

.prose ul,
.prose ol {
  margin: 0 0 16px;
  padding-left: 22px;
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 8px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: clamp(12px, .8vw, 14px);
  color: var(--ink-60);
  margin-bottom: clamp(20px, 2vw, 36px);
}

.crumbs a {
  color: var(--ink-70);
}

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

.product {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 3vw, 56px);
  align-items: flex-start;
  margin-bottom: clamp(32px, 3.4vw, 64px);
}

.product__media {
  flex: 1 1 420px;
  min-width: 0;
  aspect-ratio: 587 / 440;
}

.product__info {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.8vw, 28px);
}

.product__info .page__title {
  margin: 0;
}

.product__info .modal__specs {
  margin: 0;
}

.product__text {
  margin-bottom: clamp(32px, 3.4vw, 64px);
}

.product__gallery {
  margin-bottom: clamp(32px, 3.4vw, 64px);
}

.tabs--links .tab {
  display: inline-flex;
  align-items: center;
}

.tabs--links .tab.is-active {
  color: #000;
}

.pagination,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(28px, 3vw, 56px);
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
}

.page-numbers:hover {
  background: rgba(255, 255, 255, .14);
}

.page-numbers.current {
  background: var(--accent);
  border-color: var(--accent);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 1439px) {
  .footer__bottom {
    margin-top: 2rem;
    font-size: 0.875rem;
    line-height: 120%;
    display: flex;
    justify-content: space-between;
  }

  .hero__text {
    width: min(362px, 21.85vw)
  }

  .hero__sub-word {
    left: calc(var(--pad-x) + min(397px, 25.68vw));
  }

  .hero__sub-script {
    left: calc(var(--pad-x) + min(509px, 31.51vw));
  }

  .footer__copy {
    white-space: unset;
  }

  .footer__brand {
    max-width: 16rem;
  }

  .footer__legal,
  .footer__addr {
    font-size: 0.875rem;
    line-height: 120%;
  }

  .video_icon svg,
  .video_icon {
    width: 3rem;
    height: 3rem;
  }

  .burger {
    margin-left: 1rem;
  }

  .video__col .video_icon svg,
  .video__col .video_icon {
    width: 4rem;
    height: 4rem;
  }
}

@media (max-width: 1200px) {
  .grid--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta__photo {
    display: none;
  }

  .cta__inner {
    grid-template-columns: minmax(0, 1fr) clamp(260px, 34vw, 350px);
  }
}

@media (max-width: 1024px) {
  .footer__phone {
    font-size: 1.5rem;
  }

  .footer__mail {
    font-size: 1.05rem;
  }

  .nav,
  .header .btn--outline {
    display: none;
  }

  .burger {
    display: flex;
  }

  .header__bar {
    gap: 14px;
    height: auto;
    padding-block: 12px;
  }

  .header--overlay {
    position: absolute;
    top: 0;
    border-left: none;
    border-right: none;
    border-top: none;
  }

  .indent {
    margin-left: clamp(16px, 5vw, 60px);
  }

  .lead--indent {
    margin-left: clamp(16px, 6vw, 80px);
  }

  .hero {
    height: auto;
    min-height: 0;
  }

  .hero__inner {
    height: auto;
    padding-block: clamp(96px, 18vw, 160px) clamp(56px, 10vw, 90px);
  }

  .hero__deco,
  .hero__rail {
    display: none;
  }

  .hero .eyebrow,
  .hero .h1,
  .hero__text,
  .hero__actions {
    position: static;
    width: auto;
  }

  .hero .eyebrow {
    margin-bottom: 18px;
  }

  .hero .h1 {
    font-size: clamp(30px, 5.6vw, 56px);
    white-space: normal;
  }

  .hero__sub {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 8px;
  }

  .hero__sub-word,
  .hero__sub-script {
    position: static;
    font-size: clamp(34px, 6.4vw, 64px);
    line-height: 1.1;
  }

  .hero__sub-script {
    margin-left: clamp(12px, 4vw, 40px);
  }

  .hero__text {
    margin-top: 20px;
    max-width: 42ch;
    font-size: clamp(13px, 1.6vw, 16px);
  }

  .hero__actions {
    margin-top: 28px;
  }

  .hero__actions .btn {
    min-width: 0;
    min-height: 52px;
  }

  .video {
    grid-template-columns: 1fr;
    row-gap: clamp(20px, 3vw, 32px);
  }

  .video__col--text {
    padding-top: 0;
  }

  .video .h2 {
    white-space: normal;
  }

  .video .lead {
    font-size: clamp(13px, 1.6vw, 15px);
  }

  .video__more {
    grid-column: auto;
    justify-self: end;
    width: auto;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .video__more-text {
    writing-mode: horizontal-tb;
    font-size: 16px;
    font-weight: 300;
  }

  .video__more-line {
    width: clamp(32px, 8vw, 71px);
    height: 1px;
  }

  .video__more-line::after {
    left: auto;
    right: 0;
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
  }

  .grid--thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: clamp(24px, 4vw, 48px);
  }

  .steps {
    grid-template-columns: 1fr;
    row-gap: clamp(24px, 4vw, 40px);
  }

  .steps__intro {
    max-width: none;
    margin-bottom: 20px;
    font-size: 15px;
  }

  .steps__lead {
    margin: 12px 0 0;
  }

  .quality .script--block {
    margin: 0 0 0 clamp(12px, 5vw, 48px);
    line-height: 1.2;
  }

  .step-btn {
    font-size: 14px;
    padding: 14px 20px;
    flex: 1 1 200px;
  }

  .steps__nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .steps__visual {
    width: 100%;
  }

  .about {
    min-height: 0;
    padding: clamp(40px, 6vw, 64px) var(--pad-x);
  }

  .about__photo {
    position: relative;
    left: auto;
    width: 100%;
    max-width: 460px;
    margin-inline: auto;
  }

  .about__content {
    margin: clamp(24px, 4vw, 40px) 0 0;
    max-width: none;
  }

  .about__content .script--block {
    margin: 0 0 0 clamp(12px, 5vw, 48px);
    line-height: 1.2;
  }

  .about__content .lead {
    margin: 16px 0 0;
    max-width: none;
  }

  .stats {
    margin-top: clamp(24px, 4vw, 32px);
  }

  .stats__num {
    font-size: clamp(44px, 9vw, 84px);
  }

  .stats__label {
    margin-top: 0;
  }

  .quote {
    margin-top: clamp(32px, 5vw, 48px);
  }

  .quote__name {
    margin-top: 24px;
  }

  .quote__body {
    max-width: none;
  }

  .footer__cols {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }

  .footer__bottom {
    grid-template-columns: 1fr;
    row-gap: 14px;
    margin-top: 36px;
  }

  #projects {
    padding-top: clamp(48px, 8vw, 96px);
  }

  .reviews-section {
    padding-top: clamp(48px, 7vw, 80px);
    padding-bottom: clamp(56px, 9vw, 110px);
  }

  .divider {
    display: none;
  }
}

.wrapper {
  overflow: hidden;
}

@media (max-width: 900px) {
  .row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .footer__bottom {
    display: grid;
  }

  .scenario {
    height: clamp(320px, 62vw, 460px);
    padding: clamp(18px, 4vw, 32px);
  }

  .scenario__body {
    max-width: none;
  }

  .badge {
    left: 14px;
    top: 14px;
    padding: 9px 14px;
    font-size: clamp(13px, 1.8vw, 16px);
  }

  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: clamp(24px, 4vw, 36px);
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .tab {
    flex: 0 0 auto;
  }

  .section__head {
    gap: 16px;
  }

  .lead--right {
    text-align: left;
  }

  .title-amp__first,
  .title-amp__second {
    white-space: normal;
  }

  .title-amp__row {
    margin-left: clamp(16px, 8vw, 120px);
  }

  .title-amp__sign {
    width: clamp(52px, 9vw, 133px);
    height: auto;
    margin-top: 0;
    font-size: clamp(56px, 12vw, 160px);
    line-height: .6;
  }

  .title-amp__lead {
    margin: 16px 0 0 clamp(16px, 8vw, 120px);
    padding-left: 0;
    text-indent: 0;
    font-size: 15px;
    line-height: 1.5;
  }

  .title-amp__aside {
    position: static;
    margin: 16px 0 0;
    text-align: left;
    font-size: 15px;
    line-height: 1.5;
  }
}

@media (max-width: 760px) {
  :root {
    --sec-y: clamp(40px, 9vw, 64px);
  }

  .form-head,
  .form__title {
    margin-bottom: 1rem;
  }

  .phone {
    font-size: 15px;
  }

  .dots {
    left: 16px;
    right: 16px;
    bottom: 16px;
    gap: 8px;
  }

  .specs {
    padding: 20px 16px;
  }

  .arrows {
    width: 100%;
    justify-content: flex-end;
  }

  .lead--right {
    text-align: left;
  }

  .modal {
    padding: 0;
  }

  .modal__box {
    min-height: 100%;
  }

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

  .grid--thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .h1 {
    font-size: clamp(28px, 8vw, 44px);
  }

  .h2,
  .h2--lg,
  .h2--md,
  .h2--cta {
    font-size: clamp(24px, 6.4vw, 36px);
  }

  .script {
    font-size: clamp(30px, 8vw, 48px);
  }

  .indent,
  .lead--indent,
  .title-amp__row {
    margin-left: clamp(12px, 4vw, 32px);
  }

  .title-amp__lead {
    margin-left: clamp(12px, 4vw, 32px);
  }

  .hero__inner {
    padding-block: 90px 56px;
  }

  .hero__actions {
    gap: 12px;
  }

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

  .specs {
    padding: 16px;
    gap: 12px;
  }

  .specs__label {
    font-size: 12px;
  }

  .steps__nav {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .steps__nav::-webkit-scrollbar {
    display: none;
  }

  .step-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .stats {
    flex-direction: column;
    gap: 16px;
  }

  .stats__item,
  .stats__item:last-child {
    align-items: flex-start;
  }

  .stats__item:last-child .stats__num {
    margin-left: 0;
  }

  .stats__num {
    font-size: clamp(48px, 16vw, 84px);
  }

  .stats__label {
    margin-top: 0;
  }

  .quote {
    flex-direction: column;
    gap: 12px;
  }

  .quote__mark {
    width: 64px;
  }

  .cta__inner {
    grid-template-columns: 1fr;
    padding: 48px var(--pad-x);
    gap: 28px;
  }

  .cta__form {
    max-width: 420px;
  }

  .cta__form::before {
    display: none;
  }

  .product {
    flex-direction: column;
  }

  .product__media,
  .product__info {
    flex: 1 1 auto;
    width: 100%;
  }
}

@media (max-width: 499px) {
  .logo {
    width: 96px;
    height: 34px;
  }

  .stats__num {
    font-size: 5rem;
  }

  .stats__label {
    margin-top: -1rem;
  }

  .h2 {
    font-size: 2.5rem !important;
  }

  .cta__form {
    max-width: 300px;
    margin: 0 auto;
  }

  .scroller--reviews {
    grid-auto-columns: calc((100% - var(--gap)) / 1.5);
  }

  .thumb {
    aspect-ratio: unset;
    flex: 0 0 16rem;
    height: 9rem;
  }

  .scenario {
    flex: 0 0 21rem;
  }

  #scenarios .row,
  .grid--thumbs {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    overflow-x: scroll;
  }

  .header__contacts .socials {
    display: none;
  }

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

  .review__head {
    flex-wrap: wrap;
  }

  .review__when {
    width: 100%;
    order: 3;
  }

  .footer__contacts .socials {
    gap: 10px;
  }

  .modal__close {
    width: 44px;
    height: 44px;
  }

  .page-numbers {
    min-width: 40px;
    height: 40px;
  }
}

@media (max-width: 1024px) {

  .about__content .script--block,
  .cta__script {
    margin-top: 0;
  }

  .cta .lead--indent {
    margin-top: 16px;
  }
}

@media (max-width: 760px) {

  .footer__legal p,
  .footer__copy,
  .footer__policy,
  .footer__phone,
  .footer__mail {
    white-space: normal;
  }

  .arrows {
    gap: 1rem;
  }

  .step-btn.is-active::after {
    display: none;
  }

  .footer__bottom {
    row-gap: 12px;
  }
}

@media (max-width: 700px) {
  .footer__cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .cookie {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
  }

  .cookie__btn {
    width: 100%;
    min-height: 56px;
    padding: 16px 24px;
  }

  .quiz {
    padding: 0;
    align-items: flex-start;
  }

  .quiz__stage {
    max-width: none;
    min-height: 100%;
  }

  .q-screen {
    min-height: 0;
  }

  .q-intro {
    min-height: 70vh;
  }

  .q-intro__body {
    padding: clamp(24px, 6vw, 64px);
  }

  .q-intro__line {
    font-size: clamp(28px, 7vw, 56px);
  }

  .q-intro__line--2 {
    margin-left: clamp(16px, 8vw, 80px);
  }

  .q-intro__cta {
    width: 100%;
    max-width: 320px;
    min-height: 52px;
  }

  .q-intro__photo {
    left: 0;
    top: auto;
    bottom: -6%;
    width: 150%;
    height: 55%;
    opacity: .45;
  }

  .q-intro__rule,
  .q-intro__mark {
    display: none;
  }

  .q-steps {
    grid-template-columns: 1fr;
  }

  .q-main {
    padding: clamp(20px, 4vw, 40px);
  }

  .q-options--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 28px);
  }

  .q-options--cards.is-dense {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .q-options--rows {
    grid-template-columns: 1fr;
  }

  .q-card__media {
    height: clamp(110px, 24vw, 160px);
  }

  .q-lead__photo,
  .q-lead__glow {
    display: none;
  }

  .q-form {
    width: 100%;
    padding: clamp(20px, 4vw, 40px);
  }

  .q-form__cols {
    grid-template-columns: 1fr;
  }

  .q-form .agreement-check {
    max-width: none;
  }

  .q-side {
    grid-column: 1;
    grid-row: auto;
    padding: clamp(20px, 4vw, 30px);
  }

  .q-side__phone {
    text-align: left;
  }

  .q-side__btn {
    min-height: 52px;
  }

  .q-foot {
    grid-column: 1;
    grid-row: auto;
    flex-wrap: wrap;
    gap: 16px;
    padding: clamp(16px, 3vw, 24px);
  }

  .q-foot__progress {
    flex: 1 1 100%;
  }

  .q-foot__back,
  .q-foot__next {
    min-height: 52px;
  }

  .q-foot__next {
    flex: 0 0 auto;
    width: auto;
    min-width: 150px;
    padding: 0 20px;
  }
}

@media (max-width: 1024px) {
  .modal {
    align-items: flex-start;
  }

  .modal__box--project,
  .modal__box--scenario {
    max-width: 100%;
    padding: clamp(16px, 3vw, 32px);
  }

  .modal__close {
    right: 12px;
    top: 12px;
  }

  .pop {
    flex-direction: column;
    gap: clamp(20px, 3vw, 32px);
  }

  .pop__left {
    width: 100%;
  }

  .pop__right {
    height: auto;
    width: 100%;
  }

  .pop__info {
    overflow: visible;
  }

  .pop__media .card__arrow {
    width: 32px;
    height: 32px;
  }

  .pop__thumbs {
    margin-top: 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .pop__thumbs::-webkit-scrollbar {
    display: none;
  }

  .pop__thumb {
    width: clamp(86px, 22vw, 146px);
  }

  .pop--gallery .pop__text {
    margin-top: 20px;
  }

  .pop__btn {
    width: 100%;
    max-width: 320px;
    height: 52px;
  }
}

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

  * {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  .is-writing {
    animation: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.quiz__stage:has(.q-intro:not([hidden])) {
  min-height: 0;
}

.q-intro {
  display: block;
  container-type: inline-size;
  isolation: isolate;
  min-height: 0;
  aspect-ratio: 1620 / 870;
  background: #161616;
}

.q-intro__body {
  padding: 7.96% 3.09% 0 9.444%;
}

.q-intro .eyebrow {
  margin: 0 0 1.23cqw;
  font-size: clamp(13px, 1.111cqw, 18px);
  line-height: 1.4;
}

.q-intro__line {
  font-size: 4.444cqw;
  line-height: 1.1;
  letter-spacing: .02em;
  white-space: nowrap;
}

.q-intro__line--2 {
  margin-left: 15.741cqw;
}

.q-intro__cta {
  margin-top: 6cqw;
  width: 19.63cqw;
  min-width: 0;
  min-height: 44px;
  height: 4.136cqw;
  padding: 0 16px;
  font-size: clamp(14px, 1.111cqw, 18px);
  font-weight: 700;
}

.q-intro__photo {
  left: 23%;
  top: unset;
  bottom: -52%;
  right: unset;
  width: 100%;
  width: 106.99%;
  height: 121.97%;
  opacity: 1;
}

.q-intro__glow {
  left: 35%;
  top: 20%;
  width: 65%;
  height: 90%;
  border-radius: 0;
  aspect-ratio: auto;
  background: radial-gradient(ellipse at center, rgba(207, 70, 25, .78) 0%, rgba(185, 58, 19, .38) 30%, rgba(185, 58, 19, 0) 68%);
  filter: none;
  opacity: 1;
  pointer-events: none;
}

.q-intro__rule--h {
  top: 41.38%;
}

.q-intro__mark {
  left: 60.25%;
  top: 41.38%;
  width: 1.42cqw;
}

.q-intro .eyebrow {
  animation: quiz-intro-rise .65s ease-out both;
}

.q-intro__line {
  animation: quiz-intro-reveal 1s cubic-bezier(.22, 1, .36, 1) .12s both;
}

.q-intro__line--2 {
  animation-delay: .3s;
}

.q-intro__photo {
  animation: quiz-intro-catalog 1.2s cubic-bezier(.22, 1, .36, 1) .1s both;
}

.q-intro__cta {
  animation: quiz-intro-rise .7s ease-out .45s both;
}

.q-intro__glow {
  animation: quiz-intro-glow 1.3s ease-out both;
}

@keyframes quiz-intro-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes quiz-intro-reveal {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    clip-path: inset(0);
    transform: none;
  }
}

@keyframes quiz-intro-catalog {
  from {
    opacity: 0;
    transform: translate(3%, 5%);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes quiz-intro-glow {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 1024px) {
  .q-intro {
    aspect-ratio: auto;
    min-height: max(680px, 100svh);
  }

  .q-intro__body {
    padding: 90px 24px 0;
  }

  .q-intro .eyebrow {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .q-intro__line {
    font-size: clamp(27px, 6.2cqw, 47px);
    white-space: normal;
  }

  .q-intro__line--2 {
    margin: 12px 0 0;
    max-width: 100%;
  }

  .q-intro__cta {
    margin-top: 36px;
    width: min(318px, 100%);
    height: 56px;
    font-size: 16px;
  }

  .q-intro__photo {
    left: -37%;
    top: 295px;
    bottom: auto;
    width: 220%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .q-intro__glow {
    left: -10%;
    top: 32%;
    width: 125%;
    height: 65%;
  }

  .q-intro__rule,
  .q-intro__mark {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  .q-intro .eyebrow,
  .q-intro__line,
  .q-intro__photo,
  .q-intro__cta,
  .q-intro__glow {
    animation: none;
    clip-path: none;
    transform: none;
    opacity: 1;
  }
}

.card { border: 1px solid rgba(255,255,255,.1); box-shadow: none; }
.form_block > .hidden { display: none; }
.form-group input, .form-group select { min-width: 0; }
.pop__thumbs { max-width: 100%; overflow-x: auto; }
.q-intro__photo { z-index: 2; mix-blend-mode: normal; }
.q-intro__glow { z-index: 1; }
.q-form__submit { padding: 0 16px; min-height: 52px; }
.q-form .form-group { padding: 14px 20px; }
.q-steps:has(.q-lead:not([hidden])) .q-steps__sub { max-width: 644px; }
.q-close, .modal__close { width: 44px; height: 44px; display: grid; place-items: center; }
.q-close svg, .modal__close svg { width: 24px; height: 24px; }
.q-steps__title:focus { outline: none; }
.pop__title { line-height: 1.2; }
.pop__meta { font-size: clamp(14px,.9375vw,18px); margin-top: 12px; }
.modal__box--form { max-width: 350px; }
.modal__box--form .form { padding: 50px; }
.modal__box--form .modal__close { right: 0; top: 0; }
.form { border: 0; }
.form-head { line-height: 1.083; letter-spacing: 0; }
.form .btn.golden-box { padding: 12px 16px; min-height: 52px; }
.form-group { padding: 14px 20px; min-height: 49px; }
.review__body { border-top: 0; }
.stars { color: #ffe500; }
@media (min-width: 1025px) {
  .hero__actions { margin-top: 0; }
  #projects { padding-top: min(150px,7.8125vw); }
  #projects .title-amp__row { margin-top: 6px; margin-left: min(243px,12.65625vw); }
  #projects .section__head { margin-bottom: 49px; }
  #scenarios .indent { margin-left: min(304px,15.8333vw); }
  #scenarios .h2--stack { line-height: 1.30556; }
  #finishes .title-amp__row { margin-left: min(196px,10.2083vw); margin-top: 15px; }
  .quality .h2 { font-size: clamp(28px,3.75vw,72px); }
  .quality .script--block { margin-left: min(319px,16.6146vw); }
  .steps { grid-template-columns: min(278px,14.4792vw) min(691px,35.9896vw) minmax(0,1fr); }
  .quality > .container { padding-top: min(108px,5.625vw); padding-bottom: min(34px,1.7708vw); }
  .about__photo { left: min(68px,3.5417vw); }
  .about { min-height: min(1054px,54.8958vw); }
  .about__content .script--block { margin-left: min(320px,16.6667vw); }
  .quote { margin-top: min(118px,6.1458vw); }
  .stats { padding-right: min(24px,1.25vw); }
  .reviews-section .indent { margin-left: min(255px,13.28125vw); }
  .reviews-section .h2 { line-height: 1.30556; }
  .reviews-section .section__head { margin-bottom: 36px; }
  .stars { font-size: 22px; }
  .cta__inner { padding-bottom: min(90px,4.6875vw); }
  .cta__photo { height: min(556px,28.9583vw); }
  .cta__form .form { padding: 50px; }
}
@media (max-width: 1024px) {
  .modal, .quiz { overscroll-behavior: contain; }
  .modal__box--form .form { padding: 48px 28px 28px; }
  .pop__right { height: auto; }
  .pop__btn { margin-top: 24px; min-height: 52px; }
  .pop__thumb { min-width: 86px; }
  .q-close, .modal__close { right: 6px; top: 6px; }
  .q-main { padding-top: 64px; }
  .q-form { max-width: 100%; }
  .q-form .form-group .form-control, .form .form-control { font-size: 16px; }
  .q-side__phone { overflow-wrap: anywhere; }
  .card__arrow { opacity: 1; }
}
@media (max-width: 760px) {
  .scroller--reviews { grid-auto-columns: min(88%,420px); }
  .review__when { flex-wrap: wrap; justify-content: flex-end; white-space: normal; }
  .review__head { gap: 12px; }
  .review .avatar { width: 44px; height: 44px; }
  .review__name { font-size: 14px; }
  .review__when { font-size: 10px; max-width: 68px; }
  .q-form__cols { grid-template-columns: 1fr; }
  .q-form { padding: 24px; }
  .q-form .agreement-check { max-width: 100%; }
  .q-foot__next { min-width: 0; flex: 1; }
  .pop__facts { gap: 20px; }
  .pop__fact { flex: 1 1 90px; }
}
@media (prefers-reduced-motion: reduce) {
  .wow { visibility: visible !important; animation: none !important; }
}

.form-popup { position: relative; min-height: 559px; padding: 36px 0 36px 272px; isolation: isolate; }
.form-popup::before { content: ''; position: absolute; z-index: -1; width: 449px; height: 449px; right: -14px; top: -42px; background: radial-gradient(circle,rgba(211,74,32,.65),transparent 70%); pointer-events: none; }
.form-popup__photo { position: absolute; z-index: 0; left: 583px; bottom: 0; width: 523px; height: 542px; pointer-events: none; }
.form-popup__photo img { height: 100%; width: 100%; object-fit: contain; object-position: bottom; }
.modal__box--form { max-width: min(1055px,94vw); background: #161616; }
.form-popup > .form { width: 350px; z-index: 1; }
@media (min-width: 1025px) {
  .card .specs { padding-block: 26px; }
  #projects { padding-bottom: min(134px,6.9792vw); }
  #scenarios .h2--stack { margin-bottom: 15px; }
  section#finishes { padding-top: 43px; padding-bottom: min(147px,7.65625vw); }
  .reviews-section { padding-top: 105px; padding-bottom: 132px; }
  .modal:has(.modal__box--project), .modal:has(.modal__box--scenario) { align-items: flex-start; padding-top: min(216px,20vh); }
  .pop__thumbs { margin-top: 20px; }
}
@media (max-width: 1024px) {
  .modal__box--form { max-width: 400px; }
  .form-popup { min-height: 0; padding: 0; }
  .form-popup > .form { width: 100%; }
  .form-popup__photo, .form-popup::before { display: none; }
}
.q-lead__photo img { position: relative; inset: auto; object-fit: contain; }
.q-lead__photo { bottom: auto; top: -20px; }
@media (min-width: 1025px) { .q-form { gap: 13px; } }
@media (max-width: 380px) {
  .header__bar { gap: 10px; }
  .header .logo { width: 70px; flex: 0 0 70px; }
  .header .phone { font-size: 13px; }
  .header__contacts { min-width: 0; }
  .burger { flex: 0 0 44px; width: 44px; }
  .section__head--amp .head-box { min-width: 0; width: 100%; }
  .title-amp__second { font-size: 28px; }
  .title-amp__row { margin-left: 0; }
}
.video__unavailable { position: absolute; inset: auto 12px 12px; padding: 12px; background: rgba(0,0,0,.85); color: white; font: 14px/1.4 var(--text); }
@media (min-width: 1025px) {
  .section--tight:has(.video) { padding-top: 16px; padding-bottom: calc(var(--sec-y) + 14px); }
  .footer__inner { padding-top: 94px; }
}

.q-close { top: 10px; right: 10px; width: 24px; height: 24px; opacity: 1; }
.q-close::before { content: ""; position: absolute; inset: -10px; }

.error-page { position:relative; isolation:isolate; min-height:860px; height:calc(52.08333vw - 140px); max-height:860px; }
.error-page__copy { position:relative; z-index:2; width:calc(100% - 15.625%); max-width:1620px; margin:auto; padding-top:125px; }
.error-page h1 { font:400 clamp(36px,3.75vw,72px)/1.08 var(--display); margin:0 0 65px; }
.error-page h1 span { display:inline-block; margin-left:50px; }
.error-page .btn { min-height:72px; padding:20px 34px; }
.error-page__art { position:absolute; z-index:1; width:61.3542%; max-width:1178px; right:2%; top:120px; height:auto; }
.error-page__glow { position:absolute; z-index:-1; inset:-140px 0 0 30%; background:radial-gradient(ellipse,rgba(190,58,13,.5),transparent 69%); }
.error-page__rule { position:absolute; top:360px; left:0; right:0; height:1px; background:var(--line); }
.error-page__rule::before { content:''; position:absolute; width:1px; height:500px; bottom:0; left:26.04%; background:var(--line); }
.error-page__bottom { position:absolute; bottom:0; width:100%; height:1px; background:var(--line); }
.error-page__bottom span { position:absolute; width:23px; height:23px; left:78.125%; top:-11px; background:#fff; transform:rotate(45deg); }
.modal:has(.modal__box--form) { background:#000; backdrop-filter:none; overflow-x:hidden; }
.modal__box--form { background:transparent; box-shadow:none; }
.form-popup::before { width:850px; height:850px; right:-210px; top:-250px; background:radial-gradient(ellipse,rgba(190,60,15,.72),transparent 67%); }
.form-popup > .form { position:relative; border:2px solid transparent; background:linear-gradient(#1b1b1d,#1b1b1d) padding-box,linear-gradient(125deg,#d34a20,#4b1c10 65%,#000) border-box; }
.form-popup > .form::after { content:''; position:absolute; height:14px; top:100%; left:-2px; right:-2px; background:#282828; clip-path:polygon(0 0,100% 0,96% 100%,4% 100%); }
@media(min-width:1025px) {
 .has-form-modal .header { position:fixed; top:30px; left:0; width:100%; z-index:201; }
 .modal__box--form { transform:translateY(5px); }
 .modal__box--form .modal__close { right:44px; top:50px; opacity:1; }
 .form-popup::after { content:''; position:absolute; left:calc(527.5px - 50vw); width:100vw; height:1px; bottom:0; background:var(--line); pointer-events:none; }
}
@media(max-width:1400px) {
 .error-page { min-height:680px; }
 .error-page__copy { padding-top:90px; }
 .error-page__art { top:170px; }
}
@media(max-width:1024px) {
 .error-page { min-height:0; height:auto; max-height:none; padding:55px 0 35px; }
 .error-page__copy { width:auto; padding:0 24px; }
 .error-page h1 { margin-bottom:30px; }
 .error-page h1 span { margin-left:20px; }
 .error-page__art { position:relative; top:auto; right:auto; width:100%; margin-top:25px; }
 .error-page__rule { display:none; }
 .error-page__glow { inset:0; }
 .modal__box--form .modal__close { top:6px; right:6px; }
 .modal:has(.modal__box--form) { background:rgba(0,0,0,.94); }
}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
 .card__slide img,.scenario > img { transition:transform .6s ease; }
 .card:hover .card__slide img,.scenario:hover > img { transform:scale(1.025); }
}
@media(prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto; }
 *,*::before,*::after { animation:none!important; transition:none!important; }
}

.divider::before,.divider::after,.error-page__bottom span { opacity:var(--diamond-opacity,1); }

.btn.accent { background:var(--accent); color:#fff; }
.btn.accent:hover { background:#e5572c; }
.card__cta:focus-visible { background:var(--accent); color:#fff; }
.about__photo::before { filter:none; width:105%; top:8%; background:radial-gradient(ellipse,rgba(211,74,32,.6),rgba(211,74,32,.12) 42%,transparent 70%); }
.modal:has(.modal__box--form),.modal:has(.modal__box--thanks) { background:#000; backdrop-filter:none; padding:0; overflow-x:hidden; }
.modal__box--form,.modal__box--thanks { max-width:none; width:100%; min-height:100svh; background:transparent; box-shadow:none; transform:none; }
.modal__box--form .form-popup,.modal__box--thanks .form-popup { min-height:100svh; padding: min(27.87vh,301px) 0 0; }
.modal__box--form .form-popup > .form,.modal__box--thanks .form-popup > .form { position:relative; margin-left:calc(50% - 255px); width:350px; }
.modal__box--form .form-popup__photo,.modal__box--thanks .form-popup__photo { left:calc(50% + 56px); top:min(26.3vh,284px); bottom:auto; width:523px; height:542px; }
.modal__box--thanks .form-popup__photo { top:min(34.3vh,370px); width:500px; height:450px; }
.modal__box--form .form-popup::before,.modal__box--thanks .form-popup::before { position:absolute; width:1000px; height:1000px; left:calc(50% - 250px); right:auto; top:-10px; background:radial-gradient(ellipse,rgba(190,60,15,.7),transparent 67%); }
.modal__box--form .form-popup::after,.modal__box--thanks .form-popup::after { content:''; position:absolute; width:100%; left:0; top:min(76.3vh,824px); bottom:auto; height:1px; background:var(--line); }
.modal__box--form .modal__close,.modal__box--thanks .modal__close { top:min(29.5vh,319px); right:auto; left:calc(50% + 442px); opacity:1; }
.form-popup--thanks > .thanks-panel { min-height:332px; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:40px; text-align:center; }
.thanks-panel .form-head { margin:0 0 14px; font-size:24px; }
.thanks-panel p { color:#bdbdbd; font-size:14px; margin:0; }
.form-status { font-size:14px; color:#fff; margin:12px 0 0; }
.form-status:empty { display:none; }
.form_block [type=submit]:disabled { opacity:.65; cursor:wait; }
@media(max-width:1024px) {
 .modal__box--form .form-popup,.modal__box--thanks .form-popup { display:flex; align-items:center; justify-content:center; padding:80px 20px 40px; }
 .modal__box--form .form-popup > .form,.modal__box--thanks .form-popup > .form { margin:0; width:min(350px,100%); }
 .modal__box--form .form-popup::after,.modal__box--thanks .form-popup::after { display:none; }
 .modal__box--form .modal__close,.modal__box--thanks .modal__close { position:fixed; top:14px; right:14px; left:auto; }
 .modal__box--form .form-popup__photo,.modal__box--thanks .form-popup__photo { display:none; }
 .modal__box--form .form-popup::before,.modal__box--thanks .form-popup::before { display:block; width:100%; height:100%; left:0; top:0; opacity:.55; }
}
@media(min-width:1025px) {
 .form-popup__decoration { position:absolute; top:140px; left:calc(50% + 540px); height:calc(min(76.3vh,824px) - 140px); width:1px; background:var(--line); }
 .form-popup__decoration::after { content:''; position:fixed; left:calc(50% - 11.5px); top:calc(min(76.3vh,824px) - 11.5px); height:23px; width:23px; background:#fff; transform:rotate(45deg); }
}

.has-form-modal .cookie { display:none; }
.form-popup--thanks > .thanks-panel::after { display:none; }

@media (min-width:1025px) {
 .modal__box--form,.modal__box--thanks {
   --scene-baseline:clamp(680px,76.3svh,824px);
   --engineer-height:clamp(460px,50.1852svh,542px);
   min-height:max(720px,100svh);
 }
 .modal__box--form .form-popup,.modal__box--thanks .form-popup { min-height:max(720px,100svh); }
 .modal__box--form .form-popup__photo {
   top:calc(var(--scene-baseline) - var(--engineer-height));
   height:var(--engineer-height);
   width:calc(var(--engineer-height) * 523 / 542);
   overflow:hidden;
 }
 .modal__box--form .form-popup::after,.modal__box--thanks .form-popup::after { top:var(--scene-baseline); }
 .modal__box--form .form-popup__decoration,.modal__box--thanks .form-popup__decoration { height:calc(var(--scene-baseline) - 140px); }
 .form-popup__decoration::after { position:absolute; left:calc(-540px - 11.5px); top:auto; bottom:-11.5px; }
 .modal:has(.modal__box--form),.modal:has(.modal__box--thanks) { align-items:flex-start; }
 .modal__box--form .form-popup > .form { padding:48px; }
}

.modal__box--form .form-groups { display:grid; gap:10px; }
.modal__box--form .form-groups .form-group { margin:0; }

.section__tools {
  display: flex;
  justify-content: flex-end;
  margin-bottom: clamp(18px, 1.6vw, 30px);
}

.scroller--cards {
  grid-auto-columns: calc((100% - var(--gap) * 2) / 3);
}

@media (max-width: 1200px) {
  .scroller--cards {
    grid-auto-columns: calc((100% - var(--gap)) / 2);
  }
}

@media (max-width: 760px) {
  .scroller--cards {
    grid-auto-columns: min(86%, 420px);
  }

  .section__tools {
    display: none;
  }
}

@media (max-width: 900px) {
  .tabs {
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    margin-bottom: clamp(20px, 3.4vw, 32px);
  }

  .tab {
    margin: 0 26px -1px 0;
    padding: 0 0 12px;
    background: none;
    border-bottom: 2px solid transparent;
    color: var(--ink-60);
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .tab:last-child {
    margin-right: 0;
  }

  .tab:hover {
    background: none;
  }

  .tab.is-active,
  .tab.is-active:hover,
  .tabs--links .tab.is-active {
    background: none;
    border-bottom-color: var(--accent);
    color: var(--accent);
  }
}

.mobile-menu__contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.mobile-menu__contacts .phone {
  font-size: 20px;
}

.mobile-menu__contacts .socials {
  display: flex;
  gap: 14px;
}

@media (max-width: 499px) {
  .header__contacts .socials {
    display: flex;
    gap: 10px;
  }

  .header__contacts {
    display: flex;
    align-items: center;
  }

  .header__contacts .phone {
    display: none;
  }

  .header__bar {
    gap: 10px;
  }

  .header__bar .social {
    width: 30px;
    height: 30px;
  }
}

.hero__text {
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6), 0 2px 14px rgba(0, 0, 0, .5);
}

.hero .eyebrow,
.hero .h1,
.hero__sub {
  text-shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 2px 16px rgba(0, 0, 0, .35);
}

@media (max-width: 760px) {
  .hero__text {
    text-shadow: 0 1px 2px rgba(0, 0, 0, .75), 0 2px 16px rgba(0, 0, 0, .6);
  }
}

@media (max-width: 760px) {
  .has-form-modal .modal {
    padding: 0;
  }

  .modal__box--form,
  .modal__box--thanks {
    max-width: 100%;
  }

  .modal__box--form .form-popup,
  .modal__box--thanks .form-popup {
    padding: 68px 8px 24px;
  }

  .form {
    padding: 2rem;
  }

  .modal__box--form .form-popup > .form,
  .modal__box--thanks .form-popup > .form {
    width: 100%;
    max-width: none;
  }

  .modal__box--form .form-head,
  .modal__box--thanks .form-head {
    font-size: clamp(20px, 6vw, 28px);
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .5) 34%, rgba(0, 0, 0, 0) 62%),
    linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 26%);
}

@media (max-width: 760px) {
  .hero::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, .55) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .15) 70%);
  }
}

.agreement-check {
  position: relative;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.form-tip {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 320px;
  padding: 9px 13px;
  background: rgba(20, 20, 20, .95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  color: #fff;
  font-family: var(--text);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  pointer-events: none;
}

.form-tip::before {
  content: "!";
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.form-tip::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 18px;
  border: 6px solid transparent;
  border-bottom-color: rgba(20, 20, 20, .95);
}

.is-invalid > .form-tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.form-group.is-invalid {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

/* Отступы квиза на планшете и телефоне.
   В основной вёрстке они заданы как min(Npx, Xvw) и на узком экране
   сжимаются до трёх-четырёх пикселей: текст, полоса и кнопки слипаются.
   Здесь — единая шкала в пикселях. */
@media (max-width: 1024px) {
  .q-intro .eyebrow {
    margin-bottom: 16px;
  }

  .q-intro__cta {
    margin-top: 28px;
  }

  .q-steps__sub {
    margin-top: 16px;
  }

  .q-alert {
    margin-top: 14px;
  }

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

  .q-options--cards.is-dense {
    gap: 16px;
  }

  .q-options--rows {
    gap: 12px 16px;
  }

  .q-card {
    gap: 14px;
  }

  .q-card__desc {
    margin-top: 8px;
  }

  .q-row {
    /* Кнопка не растягивается по ячейке сетки сама, в отличие от блока:
       поэтому строки получались разной ширины, по длине текста. */
    width: 100%;
    gap: 12px;
    padding: 14px 18px;
  }

  .q-lead {
    margin-top: 24px;
  }

  .q-form,
  .q-form__cols {
    gap: 16px;
  }

  .q-side__ava {
    width: 60px;
  }

  .q-side__head {
    gap: 14px;
  }

  .q-side__foot {
    gap: 18px;
  }

  .q-foot {
    gap: 20px;
  }

  .q-foot__hint {
    margin-bottom: 16px;
  }
}

/* На узких экранах колонки выстраиваются в столбец. Подвал с прогрессом
   и кнопкой «Далее» должен идти сразу за вопросом, а карточка эксперта —
   после него: иначе до кнопки приходится пролистывать всю карточку. */
@media (max-width: 1024px) {
  .q-foot {
    order: 1;
  }

  .q-side {
    order: 2;
    /* Своя подложка нужна была колонке справа. В столбце она читается
       как перепад фона, поэтому оставляем фон сцены и одну линию. */
    background: none;
    border-top: 1px solid rgba(255, 255, 255, .2);
  }
}

.form-group--select.has-custom-select .select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.select-toggle {
  width: 100%;
  padding: 0;
  padding-right: 24px;
  background: none;
  border: none;
  color: #000;
  font-family: inherit;
  font-size: clamp(13px, .99vw, 16px);
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}

.select-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  margin: 0;
  padding: 0;
  max-height: 260px;
  overflow-y: auto;
  list-style: none;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
}

.select-list[hidden] {
  display: none;
}

.select-option {
  padding: 13px 16px;
  color: #000;
  font-family: var(--text);
  font-size: clamp(13px, .99vw, 16px);
  line-height: 1.2;
  cursor: pointer;
}

.select-option:hover,
.select-option[aria-selected="true"] {
  background: var(--accent);
  color: #fff;
}

.form-group--select.is-open::after {
  transform: translateY(2px) rotate(-135deg);
}

@media (max-width: 1024px) {
  .q-form {
    padding: 2rem;
  }
}

@media (max-width: 1024px) {
  .about {
    display: flex;
    flex-direction: column;
  }

  .about__content {
    order: 1;
    margin-top: 0;
  }

  /* Фото директора — после текста: сначала о компании, потом лицо. */
  .about__photo {
    order: 2;
    margin-top: clamp(24px, 4vw, 40px);
  }
}

@media (max-width: 760px) {
  .quote {
    position: relative;
    display: block;
  }

  /* Кавычка не занимает свою строку, а лежит подложкой под текстом. */
  .quote__mark {
    position: absolute;
    left: -2px;
    top: -10px;
    width: 46px;
    opacity: .5;
    pointer-events: none;
  }

  .quote__body {
    position: relative;
  }
}

.legal {
  padding-block: clamp(90px, 9vw, 150px) clamp(56px, 6vw, 110px);
}

.legal .container {
  max-width: 900px;
}

.legal__title {
  margin: 0 0 clamp(24px, 3vw, 44px);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 3.4vw, 52px);
  line-height: 1.15;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
}

.legal h2 {
  margin: 0 0 14px;
  font-weight: 600;
  font-size: clamp(17px, 1.6vw, 24px);
  line-height: 1.25;
  color: #fff;
}

.legal p {
  margin: 0 0 16px;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.6;
  color: var(--ink-85);
}

.legal a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.legal a:hover {
  color: #fff;
}

/* Нумерация «1.» и «1.1.» собирается счётчиками: в разметке голые <ol>. */
.legal > .container > ol,
.legal ol {
  counter-reset: item;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal li {
  position: relative;
  counter-increment: item;
  margin: 0 0 14px;
  padding-left: 42px;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.6;
  color: var(--ink-85);
}

.legal li::before {
  content: counters(item, ".") ".";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-light);
  font-variant-numeric: tabular-nums;
}

.legal > .container > ol > li {
  margin-bottom: clamp(28px, 3vw, 44px);
}

.legal > .container > ol > li > ol {
  margin-top: 16px;
}

.legal li > ol {
  margin-top: 12px;
}

.legal strong {
  color: #fff;
  font-weight: 600;
}

@media (max-width: 760px) {
  .legal li {
    padding-left: 34px;
  }
}

@media (max-width: 760px) {
  /* Фото стоит на самом низу секции: нижнего поля у блока нет. */
  .about {
    padding-bottom: 0;
  }

  .about__photo {
    width: min(300px, 74%);
    max-width: none;
    margin-top: 24px;
    margin-bottom: 0;
  }
}

.burger {
  position: relative;
}

.burger span {
  transition: transform .2s ease, opacity .2s ease;
}

/* Крестик собирается из тех же полосок: обе кладём в центр кнопки
   абсолютно, иначе при повороте они расходятся и X выходит кривым. */
.burger.is-open span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 1px;
  margin: 0 0 0 -11px;
}

.burger.is-open span:nth-child(1) {
  transform: rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: rotate(-45deg);
}

/* На главной у шапки фона нет — она лежит поверх фотографии. Пока меню
   открыто, шапка и меню становятся одним сплошным блоком одного цвета. */
.header.is-menu-open,
.header--overlay.is-menu-open {
  background: var(--bg);
  backdrop-filter: blur(16px);
}

.mobile-menu {
  background: none;
}

@media (max-width: 760px) {
  .lead br {
    display: none;
  }

  .h1 {
    font-size: clamp(24px, 6.8vw, 38px);
  }

  .h2 {
    font-size: clamp(22px, 6vw, 34px);
  }

  .h2--cta {
    font-size: clamp(21px, 5.6vw, 32px);
  }

  .script {
    font-size: clamp(26px, 6.8vw, 40px);
  }

  .cta__script {
    font-size: clamp(28px, 7vw, 44px);
  }
}

@media (max-width: 499px) {
  .h2 {
    font-size: 2rem !important;
  }
}

.card__slide.is-loading {
  background: rgba(255, 255, 255, .04);
}

.card__slide.is-loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 2px solid rgba(255, 255, 255, .25);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: ksk-spin .7s linear infinite;
}

@keyframes ksk-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .card__slide.is-loading::after {
    animation-duration: 2.4s;
  }
}

/* Вариант ответа — кнопка: по ячейке сетки она сама не растягивается,
   поэтому строки выходили разной ширины и высоты. */
.q-row {
  width: 100%;
  height: 100%;
}
