/* === Base === */
* {
  box-sizing: border-box;
}

:root {
  --lavender: #bdb1fb;
  --violet: #9080d4;
  --violet-dark: #6f5aff;
  --text: #1f1535;
  --text-light: #ffffff;
  --card-border: #9080d4;
  --card-shadow: rgba(104, 86, 187, 0.12);
  --form-width: min(calc(100% - 2px), 400px);
  --app-max-width: 393px;
  --hero-height: 178px;
  --case-summary-width: 333px;
}

html, body {
  overflow-x: hidden;
}


html {
  scroll-behavior: smooth;
}


body {
  margin: 0;
  font-family: 'Play', Arial, sans-serif;
  background: #ffffff;
  color: var(--text);
  overscroll-behavior-x: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Unbounded', 'Play', sans-serif;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

.app {
  position: relative;
  max-width: var(--app-max-width);
  margin: 0 auto;
  min-height: 100vh; 
  background: #ffffff;
  overflow-x: visible;
}

.app::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('assets/Groupdelete.svg') repeat;
  background-size: contain;
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
  margin-top: -5px;
}

@media (max-width: 360px) {
  .app::before {
    display: none;
  }
}

.content {
  position: relative;
  z-index: 1;
  padding: 16px 20px 48px;
  display: flex;
  flex-direction: column;
}

/* === Hero === */
.hero {
  position: relative;
  height: var(--hero-height);
  background: var(--lavender);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero__logo {
  width: 160px;
  height: auto;
  display: block;
}

.hero__socials {
  position: absolute;
  right: 20px;
  top: 20px;
  display: flex;
  gap: 10px;
  z-index: 2;
}

.hero__wave {
  position: absolute;
  left: 0;
  bottom: -26px;
  width: 100%;
  height: 120px;
  z-index: 1;
  pointer-events: none;
}

.hero__wave path {
  fill: #ffffff;
}

.social {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  align-items: center;
  justify-content: center;
}

.social img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.hero__socials .social[aria-label="Telegram"] img {
  width: 34px;
  height: 34px;
}

/* === Intro text === */
.intro {
  text-align: center;
  position: relative;
  z-index: 1;
}

.intro__title {
  font-family: 'Unbounded', 'Play', sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.06;
  color: #545067;
  margin: 5px 0 12px;
  text-transform: capitalize;
  letter-spacing: -0.02em;
}

.intro__text {
  margin-top: 12px;
  width: 100%;
  max-width: 318px;
  margin-left: auto;
  margin-right: auto;
  font-size: 12px;
  line-height: 1.15;
  letter-spacing: 0.06em;
  text-align: center;
  margin-bottom: 48px;
}

.intro__text span {
  display: block;
}

/* === Strips with ticker === */
/* БАЗА — как у 4-й: тонкие, без «воздуха», с выносом влево */
.strip {
  position: relative;
  display: flex;
  align-items: center;
  height: 16px;
  width: calc(100% + 48px); /* ✅ растягиваем вправо тоже */
  margin-left: -24px;       /* ✅ выносим слева */
  margin-right: -24px;      /* ✅ и теперь справа тоже */
  margin-bottom: 8px;
}

.strip::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  /* оставляем универсальную рампу */
  transform: translate(-50%, -50%);
  width: 150%;
  height: 16px; /* как у 4-й */
  z-index: 0;
  border-radius: 10px;
}

/* у всех бегунок на 100%, без бокового «воздуха» */
.ticker {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 1;
}

.ticker__inner {
  display: flex;
  gap: 0;
  animation: ticker-slide 18s linear infinite;
}

.ticker__inner span {
  white-space: nowrap;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text);
}

.ticker--light .ticker__inner span {
  color: var(--text-light);
}

/* Модификаторы: сохраняем только визуальные отличия (фон/поворот), без центрирования */
.strip--ticker {}

/* Первая (intro) */
.strip--ticker-intro {
  /* больше не центрируем и не даём auto-маргины */
}
.strip--ticker-intro::before {
  background: var(--lavender);
  transform: translate(-50%, -50%) rotate(-5deg);
}
.strip--ticker-intro .ticker {
  transform: rotate(-5deg);
}

/* Вторая (relations) — была тоньше, теперь общая высота 16px */
.strip--ticker-relations {
  margin-top: 8px;   /* если нужен зазор сверху */
  margin-bottom: 6px;
}
.strip--ticker-relations::before {
  border: 1px solid var(--violet);
  background: #ffffff;
}

/* Третья (results) — убираем нестабильные отрицательные маргины */
.strip--ticker-results {
  margin-top: 0px;
  margin-bottom: 8px;
}
.strip--ticker-results::before {
  
  background: #545067;
  transform: translate(-50%, -50%) rotate(-1deg);
}
.strip--ticker-results .ticker {
  transform: rotate(-1deg);
}

/* Четвёртая (reputation) — эталон, оставляем поведение и поворот */
.strip--ticker-reputation {
  margin-bottom: 20px;
}
.strip--ticker-reputation::before {
  background: var(--violet);
  border: none;
  transform: translate(-50%, -50%) rotate(3.55deg);
}
/* сам текст в бегущей строке */
.strip--ticker-reputation .ticker__inner span {
  color: #ffffff;
}
.strip--ticker-reputation .ticker {
  transform: rotate(3.55deg);
  transform-origin: center;
}

/* Пятая (rescue) */
.strip--ticker-rescue {}
.strip--ticker-rescue::before {
  background: #ffffff;
  border: 1px solid var(--violet);
  transform: translate(-50%, -50%) rotate(-2deg);
}
.strip--ticker-rescue .ticker {
  transform: rotate(-2deg);
}

/* Шестая (rock) */
.strip--ticker-rock {
  margin-top: 20px;
  margin-bottom: 0;
}

.strip--ticker-rock::before {
  background: #545067;
  transform: translate(-50%, -50%) rotate(4deg);
}

.strip--ticker-rock .ticker {
  transform: rotate(4deg);
}

.strip--ticker-rock .ticker__inner span {
  color: #ffffff;
}

@keyframes ticker-slide {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px 10px;
  border: none;
  border-radius: 999px;
  font-family: 'Play', sans-serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-decoration: none;
}

.btn--primary {
  background: var(--violet);
  color: var(--text-light);
  margin-bottom: 20px;

}

.btn--secondary {
  background: var(--lavender);
  color: var(--text);
}

.btn--outline {
  background: transparent;
  color: var(--violet);
  border: 1px solid var(--violet);
  padding: 8px 24px 10px;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.btn--outline:hover {
  background: rgba(144, 128, 212, 0.08);
}

.btn--outline::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: rgba(144, 128, 212, 0.45);
  filter: blur(12px);
  opacity: 0;
  transform: scale(0.92);
  z-index: -1;
  animation: btn-outline-glow 2.4s ease-in-out infinite;
  pointer-events: none;
}

.btn--outline:hover::before {
  animation-play-state: paused;
  opacity: 0.6;
  transform: scale(1);
}

@keyframes btn-outline-glow {
  0%, 100% {
    opacity: 0;
    transform: scale(0.92);
  }
  50% {
    opacity: 0.55;
    transform: scale(1);
  }
}

/* === CTA section === */
.cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 24px;
  gap: 16px;
}

.cta__lead {
  margin: 0 auto;
  max-width: 420px;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: rgba(31, 21, 53, 0.85);
}

.cta__lead span {
  display: block;
}

.cta__lead-action {
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--violet);
}

.cta .btn {
  min-width: 168px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn--primary {
  margin-bottom: 0;
}

.quiz-content {
  gap: 24px;
  padding-bottom: 32px;
}

.quiz-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 20px 28px;
}

.quiz-card__intro {
  text-align: left;
}

.quiz-card__lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: rgba(31, 21, 53, 0.85);
}

.quiz-card__hint {
  margin: -4px auto 12px;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-align: center;
  color: rgba(31, 21, 53, 0.7);
}

.quiz-card__hint a {
  color: var(--violet);
  text-decoration: underline;
}

/* === Cards === */
.card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 10px 20px;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 20px;
}

.section-title {
  margin: 0 0 0px;
  font-family: 'Unbounded', 'Play', sans-serif;
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: #545067;
}

.card.services {
  position: relative;
  z-index: 1;
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
  text-align: left;
  margin-bottom: 32px;
}


.services .section-title {
  font-family: 'Play', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.16;
  letter-spacing: 0.09em;
  text-align: center;
  margin: 18px 0 35px;
  color: #000000;
}

.section-title--form-lead {
  font-family: 'Play', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: 0.09em;
  text-align: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: var(--form-width);
  margin: 20px auto 4px;
  color: #000000;
  position: relative;
  z-index: 2;
}

.form-lead-line {
  white-space: nowrap;
}

/* === Clients === */
.clients__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 12px;
  row-gap: 16px;
}

.clients__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  min-height: 80px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--violet-dark);
  background: transparent;
}

.clients__logo {
  display: none;
  max-width: 90%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.clients__item.has-logo {
  padding: 8px 0;
}

.clients__item.has-logo .clients__logo {
  display: block;
}

.clients__item--ginza .clients__logo {
  transform: scale(1.3);
}

.clients__item--chicks .clients__logo {
  transform: translateY(10px) scale(1.3);
}

.clients__item--lenderinvest .clients__logo {
  transform: none;
}

.clients__item.has-logo .clients__name {
  display: none;
}

.card__hint {
  margin: 12px 0 12px;
  font-size: 12px;
  letter-spacing: 0.05em;
}

/* === Services === */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 2px 18px 18px;
  background: #ffffff;
  min-height: 100%;
}

.service__badge {
  display: none;
}

.service__content {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service__header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
}

.service__title {
  margin: 0;
  font-family: 'Unbounded', 'Play', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--violet);
  text-align: center;
  line-height: 1.05;
  letter-spacing: -0.01em;
  white-space: normal;
}

.service__list {
  margin: 0;
  padding-left: 0px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-align: left;
}

.card.services .btn--secondary {
  display: block;
  width: fit-content;
  margin: 24px auto 40px;
  position: relative;
  z-index: 1;
}

.card.services .services__grid {
  position: relative;
  z-index: 1;
}

.decor-backborder {
  position: absolute;
  top: 780px;
  left: 120px;
  width: 307px;
  height: 251px;
  display: block;
  transform-origin: center;
  pointer-events: none;
  opacity: 1;
  z-index: 0;
}

.decor-backborder--right {
  left: auto;
  left: 0px;
  top: 830px;
  width: 190px;
  height: auto;
}

.card .btn--secondary {
  margin-top: 18px;
}

.quiz {
  text-align: left;
}

.quiz__lead {
  margin: 12px 0 18px;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: rgba(31, 21, 53, 0.75);
  text-align: center;
}

.quiz .section-title {
  text-align: center;
}

.quiz__intro {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: rgba(31, 21, 53, 0.75);
  text-align: center;
}

.quiz-start {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  text-align: center;
}

.quiz-start--hidden {
  display: none;
}

.quiz__form.quiz__form--hidden {
  display: none !important;
}

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

.quiz__step {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(144, 128, 212, 0.35);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz__question {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0.06em;
  color: #2b2143;
}

.quiz__option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 14px;
  border: 1px solid rgba(144, 128, 212, 0.25);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.quiz__option input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--violet);
}

.quiz__option span {
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.quiz__option:hover {
  border-color: var(--violet);
  background: rgba(189, 177, 251, 0.18);
  transform: translateY(-1px);
}

.quiz__option input:checked + span {
  color: var(--violet);
  font-weight: 700;
}

.quiz__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.quiz__actions .btn--primary {
  min-width: 180px;
}

.quiz__reset {
  border: none;
  background: transparent;
  font-family: 'Play', sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #4d455d;
  cursor: pointer;
  padding: 6px 10px;
  text-decoration: underline;
}

.quiz__reset:hover {
  color: var(--violet);
}

.quiz__result {
  min-height: 24px;
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-align: center;
  color: var(--violet);
}

.quiz-contact {
  position: fixed;
  inset: 0;
  background: rgba(18, 9, 42, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.quiz-contact--visible {
  opacity: 1;
  pointer-events: auto;
}

.quiz-contact__dialog {
  width: min(360px, 100%);
  background: #ffffff;
  border-radius: 24px;
  padding: 28px 24px 24px;
  position: relative;
  box-shadow: 0 20px 45px rgba(32, 12, 73, 0.35);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.quiz-contact__close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #5b4c8c;
}

.quiz-contact__title {
  margin: 0 0 18px;
  font-family: 'Unbounded', 'Play', sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  color: #2f2654;
}

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

.quiz-contact__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(31, 21, 53, 0.75);
}

.quiz-contact__field input {
  width: 100%;
  border: 1px solid rgba(144, 128, 212, 0.4);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'Play', sans-serif;
  outline: none;
}

.quiz-contact__submit {
  width: 100%;
  margin-top: 6px;
}

.quiz-contact__keyboard {
  border: none;
  background: transparent;
  color: #5b4c8c;
  font-family: 'Play', sans-serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 4px;
}

.quiz-contact__keyboard:hover {
  color: var(--violet);
}

.quiz-contact__status {
  min-height: 18px;
  font-size: 12px;
  text-align: center;
  color: rgba(31, 21, 53, 0.7);
}

.quiz-contact__status--error {
  color: #d84c4c;
}

.quiz-thanks {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 7, 35, 0.7);
  padding: 20px;
  z-index: 2500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.quiz-thanks--visible {
  opacity: 1;
  pointer-events: auto;
}

.quiz-thanks__content {
  width: min(340px, 100%);
  background: #ffffff;
  border-radius: 22px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(32, 12, 73, 0.4);
}

.quiz-thanks__title {
  margin: 0 0 12px;
  font-family: 'Unbounded', 'Play', sans-serif;
  font-size: 18px;
  color: #2f2654;
}

.quiz-thanks__text {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: rgba(31, 21, 53, 0.75);
}

.quiz-thanks__button {
  width: 100%;
}


/* ====== Форма заявки ====== */
.form-card {
  position: relative;
  width: var(--form-width);
  max-width: var(--form-width);
  margin: 22px auto 10px;
  padding: 32px 26px 18px;
  background: #BDB1FB;
  border-radius: 20px;
  text-align: center;
  overflow: hidden;
}

.form-card__wordmark {
  display: block;
  width: 136px;
  margin: 0 auto 26px;
  height: auto;
  object-fit: contain;
}

.form-card__form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
  margin: 0;
  text-align: left;
}

.form-card__input,
.form-card__textarea {
  width: 100%;
  padding: 14px 22px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.98);
  font-size: 15px;
  letter-spacing: 0.05em;
  color: #2b2143;
  outline: none;
  transition: transform 0.15s ease;
}

.form-card__input::placeholder,
.form-card__textarea::placeholder {
  color: rgba(43, 33, 67, 0.55);
}

.form-card__input:focus,
.form-card__textarea:focus {
  transform: translateY(-1px);
}

.form-card__textarea {
  min-height: 48px;
  max-height: 48px;
  line-height: 1.2;
  resize: none;
  overflow-y: auto;
}

.form-card__consent {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(43, 33, 67, 0.9);
}

.form-card__consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(43, 33, 67, 0.4);
  accent-color: #4d455d;
}

.form-card__consent-link {
  color: #2b2143;
  text-decoration: underline;
}

.form-card__actions {
  display: flex;
  justify-content: center;
  margin-top: 6px;
  margin-bottom: -30px;
  align-self: stretch;
}

.form-card__actions .btn {
  padding: 14px 34px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: #4d455d;
  color: #ffffff;
  transition: transform 0.08s ease, filter 0.2s ease;
  margin: 0 auto;
}

.form-card__actions .btn:hover {
  filter: brightness(1.08);
}

.form-card__actions .btn:active {
  transform: translateY(1px);
}

.form-card__status {
  margin-top: 8px;
  min-height: 18px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--text);
  transition: color 0.2s ease;
}

.form-card__status--success {
  color: var(--violet);
}

.form-card__status--error {
  color: #d84c4c;
}

.form-popup {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 7, 36, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1000;
}

.form-popup--visible {
  opacity: 1;
  pointer-events: auto;
}

.form-popup__content {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 28px 24px;
  max-width: 280px;
  width: calc(100% - 40px);
  text-align: center;
  box-shadow: 0 18px 40px rgba(86, 63, 165, 0.25);
}

.form-popup__message {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--text);
}

.form-popup__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: none;
  border-radius: 999px;
  background: var(--violet);
  color: #ffffff;
  font-family: 'Play', sans-serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.form-popup__close:hover {
  background: var(--violet-dark);
}

.form-popup__close:focus-visible {
  outline: 2px solid var(--lavender);
  outline-offset: 3px;
}

@media (max-width: 360px) {
  .form-card {
    padding: 26px 18px 22px;
  }

  .form-card__form {
    gap: 18px;
  }

}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  max-width: var(--form-width);
  margin: -10px auto 0;
  gap: 20px;
}

.footer__social {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s ease;
  transform: translateY(-15px);
  background: var(--violet);
  border-radius: 50%;
}

.footer__social img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer__social[aria-label="Telegram"] img {
  width: 30px;
  height: 30px;
}

.footer__social:hover {
  transform: translateY(-2px);
}

.footer__social:focus,
.footer__social:focus-visible {
  transform: translateY(-15px);
}

.footer__logo {
  width: 110px;
  height: auto;
  transform: translateY(-15px);
}


.footer__social:active {
  transform: translateY(0);
}
/* === Cases page === */


/* Скрытый заголовок для доступности */
.visually-hidden {
  position: absolute!important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0; white-space: nowrap;
}
.quiz__steps--hidden {
  display: none;
}
.quiz__question span {
  font-size: 11px;
  color: rgba(31, 21, 53, 0.6);
  text-transform: none;
  letter-spacing: 0.02em;
  margin-left: 6px;
}
