:root {
  --color-bg: #efedee;
  --color-text: #000000;
  --color-text-light: #999999;
  --color-text-lighter: #D9D9D9;
  --color-brand: #D12126;
  --color-surface: #FFFFFF;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-brand: 0 10px 16px rgba(209, 33, 38, 0.08);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.05);

  --font-display: "Exo 2", sans-serif;
  --font-body: "Geologica", sans-serif;

  --duration-badge: 0.35s;
  --ease-badge: ease-in-out;

  --container: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
a {
  font: inherit;
  color: inherit;
}

.hero {
  position: relative;
  display: flow-root;
  height: min-content;
  overflow-x: clip;
  background-color: var(--color-bg);
}

.hero__bg {
  position: absolute;
  top: -80px;
  left: 0;
  width: 100%;
  height: calc(100vh + 80px);
  z-index: 0;
  background-color: var(--color-bg);
  pointer-events: none;
}

.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/pictures/hs-pattern.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  opacity: 0.16;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 3;
  max-width: var(--container);
  margin-inline: auto;
  height: min-content;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header {
  position: sticky;
  top: 24px;
  z-index: 100;
  width: 100%;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 80px;
  width: min-content;
  margin: 0 auto;
  padding: 12px;
  background-color: hsl(0deg 0% 100% / 80%);
  backdrop-filter: blur(6px);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  overflow: visible;
}

.header__brand {
  display: flex;
  align-items: center;
  min-width: max-content;
  flex-shrink: 0;
  height: 56px;
  padding: 0 12px;
  background-color: var(--color-bg);
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
}

.header__logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.header__lang {
  position: relative;
  min-width: max-content;
  flex-shrink: 0;
}

.header__lang-toggle,
.header__action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background-color: var(--color-bg);
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease-out;
}

.header__action {
  min-width: 56px;
  flex-shrink: 0;
  transition:
    background-color 350ms ease-in-out,
    transform 160ms ease-out;
}

.header__action[data-site-contact="telegram"] {
  background-color: rgb(175 228 255);
  color: rgb(0 136 204);
}

.header__action[data-site-contact="phone"] {
  background-color: rgb(254 186 188);
  color: var(--color-brand);
}

@media (hover: hover) and (pointer: fine) {
  .header__action[data-site-contact="telegram"]:hover {
    background-color: rgb(158 219 250);
  }

  .header__action[data-site-contact="phone"]:hover {
    background-color: rgb(249 171 173);
  }
}

.header__lang-toggle {
  gap: 4px;
  width: auto;
  min-width: 56px;
  padding-inline: 14px;
}

.header__lang-toggle:active,
.header__action:active {
  transform: scale(0.97);
}

.header__lang-code {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.header__lang-icon {
  width: 12px;
  height: 12px;
  transition: transform 160ms ease-out;
}

.header__lang--open .header__lang-icon {
  transform: rotate(180deg);
}

.header__lang-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 3;
  min-width: 100%;
  margin: 0;
  padding: 6px;
  list-style: none;
  background-color: var(--color-surface);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transform: scale(0.95);
  transform-origin: top center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 160ms ease-out,
    opacity 160ms ease-out,
    visibility 160ms ease-out;
}

.header__lang--open .header__lang-list {
  transform: scale(1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header__lang-option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--color-text-light);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 160ms ease;
}

.header__lang-option:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: -2px;
}

.header__lang-option--current {
  color: var(--color-text);
  background-color: var(--color-bg);
}

.header__action-icon {
  display: block;
  width: 22px;
  height: 22px;
}

.hero__stage {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1004px;
  margin-top: 58px;
}

.hero__lead {
  margin: 0;
  padding: 8px 18px;
  background-color: var(--color-surface);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  color: var(--color-text-light);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.hero__title {
  margin: 48px 0 0;
  font-family: var(--font-display);
  font-size: 68px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  text-align: center;
  text-transform: uppercase;
}

.hero__subtitle {
  margin: 20px 0 0;
  max-width: 840px;
  color: var(--color-text-light);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}

.rotator {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min-content;
  height: 90px;
  margin-top: 44px;
  padding: 16px;
  background-color: var(--color-surface);
  border-radius: 20px;
  box-shadow: var(--shadow-brand);
  font-family: var(--font-display);
  font-size: 32px;
}

.rotator__copy {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 0;
  height: 100%;
  pointer-events: none;
}

.rotator__prefix {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin: 0;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
}

.rotator__phrase {
  color: var(--color-text-lighter);
  font-weight: 400;
}

.rotator__for {
  color: var(--color-text);
  font-weight: 600;
}

.rotator__viewport {
  position: relative;
  height: calc(100% + 24px);
  margin-block: -12px;
  padding-left: 0.25em;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 40px;
  pointer-events: none;
}

.rotator__column {
  position: relative;
  top: calc(50% - 0.5lh - 1px);
  text-align: left;
  pointer-events: none;
  transform: translateY(0);
}

.rotator__slide {
  display: flex;
  align-items: center;
  gap: 0.25em;
  height: 1lh;
  color: var(--color-text-lighter);
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.rotator__slide--current {
  color: var(--color-text);
}

.rotator__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  opacity: 0.15;
  transition: opacity 0.2s ease;
}

.rotator__slide--current .rotator__icon {
  opacity: 1;
}

.rotator__word {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.rotator__mask {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  height: 0.6lh;
  pointer-events: none;
}

.rotator__mask--top {
  top: 0;
  background: linear-gradient(
    to bottom,
    var(--color-surface) 20%,
    transparent
  );
}

.rotator__mask--bottom {
  bottom: 0;
  background: linear-gradient(
    to top,
    var(--color-surface) 20%,
    transparent
  );
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  text-decoration: none;
  cursor: pointer;
}

.btn--brand {
  position: relative;
  flex-shrink: 0;
  width: 230px;
  padding: 16px 12px;
  background-color: var(--color-brand);
  color: var(--color-surface);
  border-radius: 16px;
  box-shadow: var(--shadow-brand);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
  transition: transform 160ms ease-out;
}

.btn--brand:active {
  transform: scale(0.97);
}

.hero__features {
  display: flex;
  gap: 48px;
  width: 100%;
  margin: 96px 0 0;
  padding: 0;
  list-style: none;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  padding: 8px;
  background-color: var(--color-surface);
  border-radius: 20px;
}

.feature__image {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  object-fit: contain;
}

.feature__body {
  min-width: 0;
}

.feature__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.feature__caption {
  margin: 4px 0 0;
  color: var(--color-text-light);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.3;
}

.feature--space {
  display: block;
  width: 100%;
  height: auto;
  padding: 60px 20px;
  background-color: var(--color-bg);
}

.feature--space .feature__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

.feature--space .feature__layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 330px));
  align-items: stretch;
  justify-content: center;
  gap: 32px;
}

.feature--space .feature__column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.feature--space .feature__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.feature--space .feature__card--title {
  justify-content: center;
  min-height: 88px;
  padding: 24px;
  background-color: var(--color-surface);
}

.feature--space .feature__card--copy {
  flex: 1;
  padding: 24px;
  background-color: var(--color-surface);
}

.feature--space .feature__card--center {
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  background-color: var(--color-brand);
  color: var(--color-surface);
  box-shadow: var(--shadow-brand);
  text-align: center;
}

.feature--space .feature__card--right {
  align-items: center;
  min-height: 240px;
  padding: 40px 24px 24px;
  background-color: var(--color-surface);
  gap: 16px;
  text-align: center;
}

.feature--space .feature__card--right .feature__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.feature--space .feature__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.feature--space .feature__caption {
  margin: 0;
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.2;
}

.feature--space .feature__counter {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-display);
  line-height: 0.9;
}

.feature--space .feature__counter-prefix {
  font-size: 28px;
  font-weight: 500;
}

.feature--space .feature__counter-value {
  font-size: 68px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.feature--space .feature__counter-unit {
  font-size: 40px;
  font-weight: 700;
}

.feature--space .feature__space-title {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
}

.feature--space .feature__space-note {
  margin: 24px 0 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.35;
}

.feature--space .feature__card--right .feature__caption {
  font-size: 20px;
  line-height: 1;
}

.feature--space .feature__button {
  width: 100%;
  margin-top: auto;
}

.rack {
  position: relative;
  top: 0;
  z-index: 0;
  width: min(100%, var(--container));
  margin-inline: auto;
  pointer-events: none;
}

.rack__image {
  position: relative;
  z-index: 0;
  width: 100%;
  height: auto;
}

.rack__shelf {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: min(100%, var(--container));
  height: auto;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.hero__items {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.item {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  will-change: transform;
}

.item__image {
  width: 100%;
  height: auto;
}

.badge {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  padding: 8px 16px;
  border-radius: 20px;
  background-color: #258E00;
  color: var(--color-surface);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--duration-badge) var(--ease-badge);
}

.item--tormoznye-disks,
.item--boxes-filters,
.item--accumylator {
  z-index: 2;
}

.item--boxes-1,
.item--nabor-klychei,
.item--tec-box {
  z-index: 3;
}

.item--damkrat,
.item--shlang {
  z-index: 4;
}

.item--tormoznye-disks {
  width: calc(136 / 1920 * 100vw);
  transform: translate3d(
    calc(237 / 1920 * 100vw),
    calc(49 / 997 * 100vh),
    0
  ) scale(1) rotate(346deg);
}

.item--boxes-filters {
  width: calc(161 / 1920 * 100vw);
  transform: translate3d(
    calc(95 / 1920 * 100vw),
    calc(214 / 997 * 100vh),
    0
  ) scale(1) rotate(358deg);
}

.item--boxes-1 {
  width: calc(207 / 1920 * 100vw);
  transform: translate3d(
    calc(38 / 1920 * 100vw),
    calc(405 / 997 * 100vh),
    0
  ) scale(1) rotate(5deg);
}

.item--damkrat {
  width: calc(329 / 1920 * 100vw);
  transform: translate3d(
    calc(25 / 1920 * 100vw),
    calc(564 / 997 * 100vh),
    0
  ) scale(1) rotate(358deg);
}

.item--accumylator {
  width: calc(150 / 1920 * 100vw);
  transform: translate3d(
    calc(1472 / 1920 * 100vw),
    calc(51 / 997 * 100vh),
    0
  ) scale(1) rotate(6deg);
}

.item--nabor-klychei {
  width: calc(161 / 1920 * 100vw);
  transform: translate3d(
    calc(1687 / 1920 * 100vw),
    calc(186 / 997 * 100vh),
    0
  ) scale(1) rotate(358deg);
}

.item--tec-box {
  width: calc(189 / 1920 * 100vw);
  transform: translate3d(
    calc(1695 / 1920 * 100vw),
    calc(388 / 997 * 100vh),
    0
  ) scale(1) rotate(6deg);
}

.item--shlang {
  width: calc(197 / 1920 * 100vw);
  transform: translate3d(
    calc(1601 / 1920 * 100vw),
    calc(600 / 997 * 100vh),
    0
  ) scale(1) rotate(1deg);
}

.item--settled .badge {
  opacity: 1;
}

#gallery {
  padding: 120px 20px;
  background-color: var(--color-bg);
}

#gallery > div {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

#gallery h2 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

#gallery-viewport {
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}

#gallery-viewport:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 4px;
}

#gallery-viewport[data-gallery-dragging="true"] {
  cursor: grabbing;
  user-select: none;
}

#gallery ul {
  display: flex;
  align-items: stretch;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.item--gallery {
  position: relative;
  top: auto;
  left: auto;
  display: flex;
  align-items: flex-end;
  flex: 0 0 calc((100% - 4 * 32px) / 5);
  width: auto;
  height: 425px;
  min-width: 0;
  min-height: 0;
  padding: 24px;
  overflow: hidden;
  border-radius: 20px;
  color: var(--color-surface);
  transform: none;
  isolation: isolate;
  will-change: auto;
}

.item--gallery .item__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.item--gallery::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 26, 0.2),
    rgba(26, 26, 26, 0.8)
  );
  content: "";
}

.item--gallery .item__body {
  position: relative;
  z-index: 2;
  width: 100%;
}

.item--gallery .item__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
}

.item--gallery .item__caption-wrap {
  display: flex;
  align-items: flex-end;
  min-height: calc(2 * 16px * 1.3 + 8px);
}

.item--gallery .item__caption {
  margin: 0;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
}

@media (max-width: 1440px) {
  .item--gallery {
    flex-basis: calc((100% - 3 * 32px) / 4);
  }
}

@media (max-width: 991px) {
  .item--gallery {
    flex-basis: calc((100% - 2 * 32px) / 3);
  }
}

@media (max-width: 767px) {
  #gallery {
    padding: 80px 20px;
  }

  .item--gallery {
    flex-basis: calc((100% - 32px) / 2);
  }
}

@media (max-width: 478px) {
  .item--gallery {
    flex-basis: 80%;
    max-width: 80%;
  }
}

@media (hover: hover) and (pointer: fine) {
  .btn--brand:hover {
    transform: scale(1.02);
  }

  .btn--brand:hover:active {
    transform: scale(0.97);
  }

  .header__lang-option:hover {
    color: var(--color-text);
  }

  .quiz-field__option:hover:not(.quiz-field__option--disabled) {
    background-color: var(--color-bg);
  }

  .quiz__prev:hover {
    transform: scale(1.02);
  }

  .quiz__prev:hover:active {
    transform: scale(0.97);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn--brand {
    transition: none;
  }

  .btn--brand:hover {
    transform: none;
  }

  .header__lang-toggle,
  .header__action,
  .header__lang-icon,
  .header__lang-list,
  .header__lang-option {
    transition: none;
  }

  .header__lang-list {
    transform: none;
  }

  .quiz-field__control::after {
    transition: none;
  }

  .quiz__card--form .quiz-form,
  .quiz__card--success .quiz-success {
    transition: none;
  }

  .quiz__prev,
  .quiz__prev:hover {
    transform: none;
  }

  .badge {
    transition: none;
  }
}

@media (max-width: 1279px) {
  .hero__inner {
    padding-inline: 16px;
  }

  .hero__stage {
    max-width: min(920px, calc(100% - 2 * max(72px, 8vw)));
  }
}

@media (max-width: 1024px) {
  .hero {
    height: min-content;
  }

  .hero__bg {
    top: -68px;
    height: calc(100vh + 68px);
  }

  .hero__inner {
    padding: 32px 20px 16px;
  }

  .header__inner {
    height: 68px;
    gap: 6px;
    max-width: calc(100% - 24px);
    padding: 8px;
    border-radius: 28px;
  }

  .header__brand {
    height: 48px;
    padding: 0 10px;
    border-radius: 14px;
  }

  .header__logo {
    height: 30px;
  }

  .header__lang-toggle,
  .header__action {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .header__action {
    min-width: 48px;
  }

  .header__lang-toggle {
    min-width: 48px;
    padding-inline: 12px;
  }

  .hero__stage {
    max-width: 100%;
    margin-top: 24px;
  }

  .hero__lead {
    font-size: 13px;
    padding: 6px 14px;
    max-width: 70%;
  }

  .hero__title {
    margin-top: 24px;
    font-size: 44px;
  }

  .hero__subtitle {
    margin-top: 14px;
    font-size: 15px;
  }

  .rotator {
    gap: 16px;
    height: 64px;
    margin-top: 28px;
    padding: 8px 12px 8px 20px;
    border-radius: 16px;
    font-size: 22px;
  }

  .rotator__prefix {
    gap: 8px;
    font-size: 22px;
  }

  .rotator__viewport {
    height: calc(100% + 10px);
    font-size: 22px;
    line-height: 28px;
  }

  .rotator__icon {
    width: 24px;
    height: 24px;
  }

  .rotator__word {
    font-size: 22px;
  }

  .btn--brand {
    width: 168px;
    border-radius: 12px;
    padding: 0;
    font-size: 16px;
    height: 3em;
  }

  .hero__features {
    gap: 12px;
    margin-top: 36px;
  }

  .feature {
    position: relative;
    z-index: 1;
    height: auto;
    min-height: 76px;
    padding: 8px;
    border-radius: 16px;
  }

  .feature__image {
    width: 52px;
    height: 52px;
  }

  .feature__title {
    font-size: 12px;
  }

  .feature__caption {
    font-size: 13px;
  }

  .rack {
    width: min(calc(100% - 24px), var(--container));
    height: auto;
    aspect-ratio: 1817 / 1442;
    margin: 100px auto;
  }

  .rack__image {
    height: auto;
    object-fit: contain;
  }

  .badge {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 16px;
  }

  .feature--space .feature__layout {
    grid-template-columns: minmax(0, 330px);
    justify-content: center;
  }

}

@media (max-width: 767px) {
  .hero__bg {
    top: -60px;
    height: calc(100vh + 60px);
  }

  .header__inner {
    height: 60px;
    width: min-content;
    max-width: calc(100% - 16px);
    border-radius: 24px;
  }

  .header__brand {
    min-width: 0;
    flex-shrink: 1;
    height: 44px;
    border-radius: 12px;
  }

  .header__logo {
    height: 26px;
    min-width: 110px;
  }

  .header__lang-toggle,
  .header__action {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .header__action {
    min-width: 44px;
  }

  .header__lang-toggle {
    min-width: 54px;
    padding-inline: 10px;
  }

  .header__action-icon {
    width: 18px;
    height: 18px;
  }

  .hero__stage {
    max-width: 100%;
    margin-top: 16px;
  }

  .hero__title {
    margin-top: 16px;
    font-size: 28px;
    letter-spacing: -0.02em;
  }

  .hero__subtitle {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.35;
  }

  .hero__subtitle br {
    display: none;
  }

  .rotator {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    height: auto;
    gap: 12px;
    margin-top: 16px;
    padding: 12px;
  }

  .rotator__copy {
    width: 100%;
    height: 36px;
    min-height: 0;
    overflow: hidden;
  }

  .rotator__prefix {
    gap: 6px;
    font-size: 20px;
  }

  .rotator__viewport {
    height: calc(100% + 16px);
    margin-block: -8px;
    font-size: 15px;
    line-height: 22px;
    overflow: hidden;
  }

  .rotator__word {
    font-size: 20px;
  }

  .rotator__icon {
    width: 18px;
    height: 18px;
  }

  .btn--brand {
    width: 100%;
  }

  .hero__features {
    flex-direction: column;
    gap: 8px;
    margin-top: 42px;
  }

  .feature {
    min-height: 0;
  }

  .feature__caption {
    font-size: 12px;
  }

  .rack {
    width: calc(100% - 8px);
    max-width: none;
    margin: 48px auto 0px;
  }

  .badge {
    padding: 5px 10px;
    font-size: 11px;
  }

  .feature--space {
    padding: 40px 20px;
  }

  .feature--space .feature__layout {
    gap: 16px;
  }

  .feature--space .feature__card--title,
  .feature--space .feature__card--copy,
  .feature--space .feature__card--center,
  .feature--space .feature__card--right {
    padding-inline: 20px;
  }

  .feature--space .feature__title {
    font-size: 24px;
  }

  .feature--space .feature__counter-value {
    font-size: 58px;
  }

  .feature--space .feature__counter-unit {
    font-size: 34px;
  }

  .feature--space .feature__space-title {
    font-size: 22px;
  }

}

@media (max-width: 420px) {
  .rotator__copy {
    flex-direction: column;
    gap: 12px;
    height: 64px;
  }

  .rotator__viewport {
    height: calc(100%);
  }
}

.quiz {
  position: relative;
  z-index: 2;
  overflow-x: clip;
  scroll-margin-top: 24px;
  padding: 48px 32px 80px;
  background-color: var(--color-bg);
}

.quiz__inner {
  width: 100%;
  max-width: var(--container);
  min-width: 0;
  margin-inline: auto;
}

.quiz__card {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  grid-template-rows: auto auto 1fr;
  grid-template-areas:
    "title preview"
    "lead preview"
    "fields preview";
  min-width: 0;
  max-width: 100%;
  background-color: var(--color-surface);
  border-radius: 32px;
  box-shadow: var(--shadow-md);
}

.quiz__title {
  grid-area: title;
  min-width: 0;
  margin: 0;
  padding: 24px 48px 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.quiz__lead {
  grid-area: lead;
  min-width: 0;
  margin: 0;
  padding: 16px 48px 0;
  color: var(--color-text-light);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

.quiz__fields {
  grid-area: fields;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 16px 48px 24px;
}

.quiz__stack,
.quiz__step {
  display: contents;
}

.quiz__nav {
  display: none;
}

.quiz__clear {
  align-self: flex-start;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-brand);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: underline;
  cursor: pointer;
}

.quiz-field {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quiz-field--open {
  z-index: 4;
}

.quiz-field--filled .quiz-field__value {
  color: var(--color-text);
}

.quiz-field__label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}

.quiz-field__control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 12px 16px;
  border: 2px solid var(--color-text-lighter);
  border-radius: 12px;
  background-color: #fcfcfc;
  cursor: pointer;
  text-align: left;
}

.quiz-field__control::after {
  content: "";
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-image: url("/icos/caret-down-solid-full.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 160ms ease-out;
}

.quiz-field--open .quiz-field__control::after {
  transform: rotate(180deg);
}

.quiz-field__value {
  min-width: 0;
  color: var(--color-text-light);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.quiz-field__dropdown {
  position: absolute;
  top: 97%;
  left: 0;
  right: 0;
  z-index: 2;
  display: none;
  flex-direction: column;
  max-height: 150px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background-color: var(--color-surface);
  border: 2px solid var(--color-text-lighter);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.quiz-field--open .quiz-field__dropdown {
  display: flex;
}

.quiz-field__option {
  display: block;
  width: 100%;
  margin: 0;
  padding: 6px 12px;
  border: 0;
  border-bottom: 2px solid var(--color-text-lighter);
  border-radius: 0;
  background: none;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
}

.quiz-field__option:last-child {
  border-bottom: 0;
}

.quiz-field__option--disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.quiz__submit {
  width: 100%;
  height: auto;
  min-height: 56px;
  margin-top: 8px;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  opacity: 0.5;
}

.quiz__submit--ready {
  opacity: 1;
}

.quiz__error {
  margin: 0;
  color: var(--color-brand);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-badge) var(--ease-badge);
}

.quiz__error[aria-hidden="true"] {
  display: none;
}

.quiz__error--visible {
  opacity: 1;
}

.quiz__preview {
  grid-area: preview;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 24px;
  overflow: hidden;
  background-color: var(--color-bg);
  background-image: url("/pictures/quiz-fon.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-top-right-radius: 32px;
  border-bottom-right-radius: 32px;
  box-shadow: inset 2px 0 24px 0 rgba(153, 151, 151, 0.32);
}

.quiz-preview__stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: min(100%, calc(725px * 1220 / 1184));
  aspect-ratio: 1220 / 1184;
}

.quiz-preview__rack {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.quiz-preview__dim {
  position: absolute;
  z-index: 2;
  width: 80px;
  padding: 8px 16px;
  border-radius: 12px;
  background-color: var(--color-brand);
  color: var(--color-surface);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-badge) var(--ease-badge);
}

.quiz-preview__dim:not(:empty) {
  opacity: 1;
}

.quiz-preview__dim--height {
  top: 45%;
  left: 4%;
  transform: translateY(-50%);
}

.quiz-preview__dim--width {
  top: 4.8%;
  left: 51%;
  transform: translate(-50%, -50%) rotate(-4deg);
}

.quiz-preview__dim--depth {
  top: 94.6%;
  left: 93.1%;
  transform: translate(-50%, -50%) rotate(-35deg) translateY(-110%);
}

.quiz-preview__load {
  position: absolute;
  top: 5%;
  right: 5%;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
  align-items: center;
  min-width: 100px;
  padding: 6px 12px;
  border-radius: 12px;
  background-color: var(--color-bg);
  color: var(--color-text);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-badge) var(--ease-badge);
}

.quiz-preview__load--on {
  opacity: 1;
}

.quiz-preview__load img {
  grid-row: 1 / 3;
  width: 32px;
  height: 32px;
}

.quiz-preview__load span:nth-of-type(1) {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.quiz-preview__load span:nth-of-type(2) {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}

.quiz-form {
  display: none;
  grid-area: form;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  min-width: 0;
  padding: 24px 48px;
  opacity: 0;
}

.quiz__card--form {
  grid-template-areas: "form preview";
  grid-template-rows: auto;
}

.quiz__card--form .quiz__title,
.quiz__card--form .quiz__lead,
.quiz__card--form .quiz__fields,
.quiz__card--success .quiz__title,
.quiz__card--success .quiz__lead,
.quiz__card--success .quiz__fields {
  display: none;
}

.quiz__card--form .quiz-form {
  display: flex;
  opacity: 1;
  transition: opacity var(--duration-badge) var(--ease-badge);
}

.quiz-form__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.quiz-form__lead {
  margin: 0;
  color: var(--color-text-light);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

.quiz-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quiz-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.quiz-form__phone {
  width: 100%;
  margin: 0;
  padding: 12px 16px;
  border: 2px solid var(--color-text-lighter);
  border-radius: 12px;
  background-color: #fcfcfc;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  appearance: none;
}

.quiz-form__submit {
  width: 100%;
  height: auto;
  min-height: 56px;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
}

.quiz-form__error {
  margin: 0;
  color: var(--color-brand);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-badge) var(--ease-badge);
}

.quiz-form__error--visible {
  opacity: 1;
  pointer-events: auto;
}

.quiz-form__points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  background-color: #fcfcfc;
  border: 2px solid var(--color-text-lighter);
  border-radius: 12px;
}

.quiz-form__point {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
}

.quiz-form__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  grid-row: 1 / 3;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.quiz-form__points .quiz-form__icon {
  width: 44px;
  height: 44px;
  padding: 8px;
  background-color: hsla(357, 98%, 63%, 0.04);
  border: 2px solid #f0dddd;
  border-radius: 8px;
}

.quiz-form__icon img {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.quiz-form__icon::after {
  content: "";
  width: 24px;
  height: 24px;
  pointer-events: none;
  background-color: var(--color-brand);
  -webkit-mask: url("/icos/link-chain.svg") center / contain no-repeat;
  mask: url("/icos/link-chain.svg") center / contain no-repeat;
}

.quiz-form__points .quiz-form__icon::after {
  background-color: #FD444D;
}

.quiz-form__point:nth-child(2) .quiz-form__icon::after {
  -webkit-mask: url("/icos/calculator.svg") center / contain no-repeat;
  mask: url("/icos/calculator.svg") center / contain no-repeat;
}

.quiz-form__point:nth-child(3) .quiz-form__icon::after {
  -webkit-mask: url("/icos/chat-question.svg") center / contain no-repeat;
  mask: url("/icos/chat-question.svg") center / contain no-repeat;
}

.quiz-form__point:nth-child(4) .quiz-form__icon::after {
  -webkit-mask: url("/icos/shipping-box-v2.svg") center / contain no-repeat;
  mask: url("/icos/shipping-box-v2.svg") center / contain no-repeat;
}

.quiz-form__back .quiz-form__icon::after {
  -webkit-mask: url("/icos/arrow-shuffle.svg") center / contain no-repeat;
  mask: url("/icos/arrow-shuffle.svg") center / contain no-repeat;
}

.quiz-form__point > span:nth-of-type(1) {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.quiz-form__point > span:nth-of-type(2) {
  color: var(--color-text-light);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}

.quiz-form__hint {
  margin: 8px 0 0;
  color: var(--color-text-light);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.quiz-form__back {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-brand);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
}

.quiz-form__back span:last-child {
  text-decoration: underline;
}

.quiz-success {
  display: none;
  grid-area: success;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  min-width: 0;
  padding: 24px 48px;
  opacity: 0;
}

.quiz__card--success {
  grid-template-areas: "success preview";
  grid-template-rows: auto;
}

.quiz__card--success .quiz-form {
  display: none;
}

.quiz__card--success .quiz-success {
  display: flex;
  opacity: 1;
  transition: opacity var(--duration-badge) var(--ease-badge);
}

.quiz-success__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.quiz-success__lead {
  margin: 0;
  color: var(--color-text-light);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

.quiz-success__status,
.quiz-success__contact {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border: 2px solid var(--color-text-lighter);
  border-radius: 12px;
}

.quiz-success__contact {
  gap: 16px;
}

.quiz-success__step {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 12px;
  align-items: start;
}

.quiz-success__step:not(:last-child) {
  padding-bottom: 16px;
}

.quiz-success__step::before {
  content: "";
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  grid-row: 1 / 3;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.quiz-success__step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 10px;
  top: 11px;
  bottom: -11px;
  width: 2px;
  background-color: var(--color-text-lighter);
}

.quiz-success__step--done::before {
  background-color: var(--color-brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M2.5 6.2l2.4 2.4 4.6-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

.quiz-success__step--current::before {
  border: 2px solid var(--color-brand);
  background-color: var(--color-surface);
  background-image: radial-gradient(
    circle,
    var(--color-brand) 3px,
    transparent 3.5px
  );
}

.quiz-success__step--todo::before {
  border: 2px solid var(--color-text-lighter);
  background-color: var(--color-surface);
}

.quiz-success__step span:nth-of-type(1) {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.quiz-success__step span:nth-of-type(2) {
  color: var(--color-text-light);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}

.quiz-success__contact > span:first-child {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.quiz-success__note {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
}

.quiz-success__note::before {
  content: "";
  grid-row: 1 / 3;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: color-mix(
    in srgb,
    var(--color-brand) 8%,
    var(--color-surface)
  );
}

.quiz-success__note::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 24px;
  height: 24px;
  margin-block: auto;
  pointer-events: none;
  background-color: var(--color-brand);
  -webkit-mask: url("/icos/clock.svg") center / contain no-repeat;
  mask: url("/icos/clock.svg") center / contain no-repeat;
}

.quiz-success__note:last-child::after {
  -webkit-mask: url("/icos/quiz-phone.svg") center / contain no-repeat;
  mask: url("/icos/quiz-phone.svg") center / contain no-repeat;
}

.quiz-success__note img {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.quiz-success__note span:nth-of-type(1) {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.quiz-success__note span:nth-of-type(2) {
  color: var(--color-text-light);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}

@media (max-width: 1024px) {
  .quiz {
    padding: 24px 12px 48px;
  }

  .quiz__card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas:
      "title"
      "lead"
      "preview"
      "fields";
  }

  .quiz__title {
    padding: 24px 16px 0;
    font-size: 24px;
  }

  .quiz__lead {
    padding: 16px;
  }

  .quiz__preview {
    min-height: 260px;
    padding: 24px;
    border-radius: 0;
    box-shadow: none;
    max-height: 385px;
  }

  .quiz-preview__stage {
    max-height: 385px;
  }

  .quiz__fields {
    padding: 16px 16px 20px;
  }

  .quiz__stack {
    display: grid;
    position: relative;
    z-index: 1;
    overflow: hidden;
  }

  .quiz__stack:has(.quiz-field--open) {
    overflow: visible;
  }

  .quiz__step {
    display: flex;
    flex-direction: column;
    gap: 16px;
    grid-area: 1 / 1;
    z-index: 0;
    box-sizing: border-box;
    min-width: 0;
    background-color: var(--color-surface);
    transform: translateY(110px);
    opacity: 0;
    pointer-events: none;
    transition:
      transform var(--duration-badge) var(--ease-badge),
      opacity var(--duration-badge) var(--ease-badge);
  }

  .quiz__step--active {
    z-index: 2;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .quiz__step--front {
    z-index: 3;
  }

  .quiz__submit {
    margin-top: 0;
  }

  .quiz__nav {
    display: flex;
    gap: 12px;
  }

  .quiz__prev,
  .quiz__next {
    flex: 1;
    min-width: 0;
    min-height: 56px;
    padding: 16px 24px;
    border-radius: 12px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 160ms ease-out;
  }

  .quiz__prev {
    border: 2px solid var(--color-brand);
    background: none;
    color: var(--color-brand);
  }

  .quiz__next {
    width: auto;
    height: auto;
  }

  .quiz__prev:active,
  .quiz__next:active {
    transform: scale(0.97);
  }

  .quiz__prev[hidden],
  .quiz__next[hidden] {
    display: none;
  }

  .quiz-preview__rack {
    max-height: 385px;
  }

  .quiz__card--form {
    grid-template-areas:
      "preview"
      "form";
  }

  .quiz-form {
    padding: 16px 16px 20px;
  }

  .quiz__card--form .quiz-form__title {
    display: none;
  }

  .quiz-form__lead {
    text-align: center;
  }

  .quiz__card--success {
    grid-template-areas: "success";
  }

  .quiz__card--success .quiz__preview {
    display: none;
  }

  .quiz-success {
    padding: 16px 16px 20px;
  }

  .quiz-success__step--done:not(:last-child)::after {
    background-color: var(--color-brand);
  }
}

@media (max-width: 1024px) and (prefers-reduced-motion: reduce) {
  .quiz__step {
    transform: none;
    opacity: 0;
    transition: opacity var(--duration-badge) var(--ease-badge);
  }

  .quiz__step--active {
    opacity: 1;
  }

  .quiz__prev,
  .quiz__next {
    transition: none;
  }

  .quiz__card--form .quiz-form,
  .quiz__card--success .quiz-success {
    transition: none;
  }
}

.faq {
  position: relative;
  z-index: 2;
  overflow-x: clip;
  scroll-margin-top: 24px;
  padding: 48px 32px 80px;
  background-color: var(--color-bg);
}

.faq__inner {
  width: 100%;
  max-width: var(--container);
  min-width: 0;
  margin-inline: auto;
}

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

.faq__column {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.faq__list > .faq__item {
  width: 100%;
}

.faq__item {
  min-width: 0;
}

.faq__question {
  min-width: 0;
  margin: 0;
  padding: 16px 20px;
  border: 0;
  border-radius: 20px;
  background-color: #fcfcfc;
  color: var(--color-text);
}

.faq__question button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  min-height: 2.4em;
  min-height: 2lh;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.faq__icon {
  align-items: center;
  justify-content: center;
  display: flex;
  flex: 0 0 42px;
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  box-shadow: inset 0 0 1px 0 #fd444d;
  background-color: #ff737a;
  border-radius: 10px;
  color: #fcfcfc;
  font-size: 28px;
  line-height: 1;
}

.faq__icon-image {
  display: block;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  transform-origin: center;
  transition: transform var(--duration-badge) var(--ease-badge);
}

.faq__question button[aria-expanded="true"] .faq__icon-image {
  transform: rotate(180deg);
}

.faq__question:has(button[aria-expanded="true"]) {
  color: var(--color-brand);
}

.faq__question button:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 4px;
  border-radius: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .faq__question:hover {
    color: var(--color-brand);
  }
}

.faq__content-wrapper {
  min-width: 0;
  margin-top: 8px;
  padding: 0 20px;
  border: 0;
  border-radius: 20px;
  background-color: #fcfcfc;
  color: var(--color-text);
  font-size: 16px;
  line-height: 140%;
  overflow: hidden;
  height: 0;
  transition: height var(--duration-badge) var(--ease-badge);
}

.faq__content {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding-block: 20px;
}

.faq__content p {
  min-width: 0;
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 140%;
  overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
  .faq {
    padding: 24px 12px 48px;
  }

  .faq__list {
    display: block;
  }

  .faq__column {
    width: 100%;
  }

  .faq__column + .faq__column {
    display: none;
  }

  .faq__list > .faq__item,
  .faq__item {
    width: 100%;
  }

  .faq__question {
    padding: 16px 20px;
  }

  .faq__question button {
    font-size: 18px;
  }

  .faq__content-wrapper {
    padding: 0 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq__content-wrapper {
    transition: none;
  }

  .faq__icon-image {
    transition: none;
  }
}

.footer {
  background-color: var(--color-text);
  color: var(--color-surface);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  max-width: var(--container);
  min-width: 0;
  min-height: 84px;
  margin-inline: auto;
  padding: 24px 20px;
}

.footer__brand {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.footer__logo-link {
  display: block;
  flex: 0 1 180px;
  width: 180px;
  min-width: 0;
  text-decoration: none;
}

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

.footer__description,
.footer__copyright {
  margin: 0;
  color: var(--color-surface);
}

.footer__description {
  flex: 0 1 240px;
  max-width: 240px;
  padding-left: 12px;
  border-left: 1px solid var(--color-text-lighter);
  font-size: 14px;
  line-height: 1.3;
}

.footer__copyright {
  flex: 0 0 auto;
  font-size: 15px;
  line-height: 1.3;
  text-align: right;
}

@media (max-width: 1024px) {
  .footer__inner {
    padding-inline: 20px;
  }
}

@media (max-width: 767px) {
  .footer__inner {
    justify-content: center;
    padding-inline: 20px;
  }

  .footer__brand {
    flex: 1 1 100%;
    width: 100%;
  }

  .footer__copyright {
    margin-inline: auto;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .footer__logo-link {
    flex: 0 1 47%;
    width: 47%;
  }

  .footer__description {
    flex: 1 1 0;
    width: 0;
  }
}
