/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Colors */
  --color-black:           #1C1C1C;
  --color-black-2:         #333333;
  --color-white:           #FFFFFF;
  --color-red:             #B43E41;
  --color-red-dark:        #AA3437;
  --color-red-light:       #F9F2F3;
  --color-red-light-2:     #E9C6C6;
  --color-gold:            #FFCF88;
  --color-grey-text:       #979797;
  --color-grey-text-2:     #616161;
  --color-grey-text-mask:  #ABABAB;
  --color-grey-bg:         #F3F3F3;
  --color-grey-border:     #ECECEC;
  --color-grey-border-2:   #D8D8D8;

  /* Typography — font family */
  --font-family: 'Manrope', sans-serif;

  /* Typography — font weights */
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;

  /* Typography — Heading/H1/Desktop */
  --fz-h1:  60px;
  --lh-h1:  64px;
  --ls-h1:  -1.2px;

  /* Typography — Heading/H2/Desktop */
  --fz-h2:  44px;
  --lh-h2:  48px;

  /* Typography — Heading/H3/Desktop */
  --fz-h3:  28px;
  --lh-h3:  32px;

  /* Typography — Heading/H4/Desktop */
  --fz-h4:  24px;
  --lh-h4:  28px;

  /* Typography — Heading/H5/Desktop */
  --fz-h5:  20px;
  --lh-h5:  24px;

  /* Typography — Body/Medium */
  --fz-body:  20px;
  --lh-body:  28px;

  /* Typography — Caption/Bold & Caption/Medium */
  --fz-caption-lg:  20px;
  --lh-caption-lg:  20px;
  --fz-caption:     16px;
  --lh-caption:     16px;

  /* Layout */
  --container-width: 1276px;

  /* Border radii */
  --radius-xs:  4px;
  --radius-sm:  6px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-weight: var(--fw-medium);
  color: var(--color-black);
  background-color: var(--color-white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

ul,
ol {
  list-style: none;
}

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

img {
  display: block;
}

address {
  font-style: normal;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.page {
  overflow-x: clip;
}

.container {
  width: var(--container-width);
  margin: 0 auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 22px 36px;
  font-family: var(--font-family);
  font-size: var(--fz-caption);
  font-weight: var(--fw-bold);
  line-height: var(--lh-caption);
  white-space: nowrap;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background-color: var(--color-red);
  color: var(--color-white);
  transition: background-color 0.2s ease;
}

.btn--primary:hover {
  background-color: #A02A2D;
}

.btn--outline {
  background-color: transparent;
  color: var(--color-black);
  border: 2px solid var(--color-black);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn--outline:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  height: 92px;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-grey-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  height: 100%;
}

.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0;
}

.header__logo-link {
  flex-shrink: 0;
  margin-top: 16px;
}

.header__logo {
  height: 44px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: 127px;
  position: relative;
}

.header__nav-link {
  font-size: var(--fz-caption);
  font-weight: var(--fw-medium);
  line-height: var(--lh-caption);
  color: var(--color-black);
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.header__nav-link:hover {
  color: #979797;
}

.header__nav-link--active::after {
  content: '';
  position: absolute;
  bottom: -39px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-red);
}

.header__contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-left: auto;
  white-space: nowrap;
}

.header__contacts-label {
  font-size: 12px;
  font-weight: var(--fw-medium);
  line-height: 12px;
  color: var(--color-grey-text-2);
}

.header__contacts-phone {
  font-size: var(--fz-caption-lg);
  font-weight: var(--fw-bold);
  line-height: var(--lh-caption-lg);
  color: var(--color-black);
}

.header__cta {
  margin-left: 40px;
  height: 52px;
  padding: 0 32px;
  flex-shrink: 0;
}

.header__cta--mobile {
  display: none;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 860px;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 960px 430px at 50% 100%,
      rgba(180, 62, 65, 1)    0%,
      rgba(189, 86, 89, 0.875) 12.5%,
      rgba(199, 110, 113, 0.75) 25%,
      rgba(218, 159, 160, 0.5) 50%,
      rgba(255, 255, 255, 0)   100%
    ),
    linear-gradient(to bottom, #ffffff 50%, #f3f3f3 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 41px;
}

.hero__title {
  font-size: var(--fz-h1);
  font-weight: var(--fw-bold);
  line-height: var(--lh-h1);
  letter-spacing: var(--ls-h1);
  color: var(--color-black);
  text-align: center;
  white-space: nowrap;
}

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

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

.hero__description {
  font-size: var(--fz-body);
  font-weight: var(--fw-medium);
  line-height: var(--lh-body);
  color: var(--color-grey-text-2);
  white-space: nowrap;
}

.hero__divider {
  width: 736px;
  height: 1px;
  background-color: var(--color-grey-border);
  margin: 22px auto 0;
}

.hero__promo {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.hero__promo-label {
  font-size: var(--fz-caption);
  font-weight: var(--fw-medium);
  line-height: var(--lh-caption);
  color: var(--color-grey-text-2);
  white-space: nowrap;
}

.hero__promo-timer {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__promo-timer-icon {
  flex-shrink: 0;
}

.hero__promo-timer-value {
  font-variant-numeric: tabular-nums;
  display: inline-block;
  min-width: 66px;
  font-size: var(--fz-caption-lg);
  font-weight: var(--fw-bold);
  line-height: var(--lh-caption-lg);
  color: var(--color-red);
  white-space: nowrap;
}

.hero__image-wrap {
  width: 100%;
  max-width: 513px;
  aspect-ratio: 513/208;
  margin: 0 auto;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1092px;
  height: 444px;
  overflow: hidden;
  pointer-events: none;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  width: 105.69%;
  height: 132.25%;
  position: absolute;
  left: -3.39%;
  top: -3.3%;
  object-fit: cover;
}

/* ============================================================
   DEBTS
   ============================================================ */
.debts {
  margin-top: 120px;
}

.debts__title {
  font-size: var(--fz-h2);
  font-weight: var(--fw-bold);
  line-height: var(--lh-h2);
  color: var(--color-black);
  margin-bottom: 44px;
}

.debts__grid {
  display: flex;
  gap: 20px;
  margin-bottom: 44px;
}

.debts__col {
  flex: 1;
}

.debts__list {
  display: flex;
  flex-direction: column;
}

.debts__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
}

.debts__item-icon {
  flex-shrink: 0;
}

.debts__item-text {
  font-size: var(--fz-caption);
  font-weight: var(--fw-medium);
  line-height: var(--lh-caption);
  color: var(--color-grey-text-2);
  white-space: nowrap;
}

.debts__divider {
  height: 1px;
  background-color: var(--color-grey-border);
  display: block;
}

/* ============================================================
   PROMO BANNER (shared)
   ============================================================ */
.promo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  padding: 0px 20px 0px 40px;
  background-color: var(--color-red-light);
  border: 1px solid var(--color-red-light-2);
  border-radius: var(--radius-lg);
}

.promo-banner__info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.promo-banner__text {
  font-size: var(--fz-caption);
  font-weight: var(--fw-medium);
  line-height: var(--lh-caption);
  color: var(--color-grey-text-2);
  white-space: nowrap;
}

.promo-banner__dot {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.promo-banner__timer {
  display: flex;
  align-items: center;
  gap: 8px;
}

.promo-banner__timer-value {
  font-size: var(--fz-caption-lg);
  font-weight: var(--fw-bold);
  line-height: var(--lh-caption-lg);
  color: var(--color-red);
  white-space: nowrap;
}

/* ============================================================
   WAYS
   ============================================================ */
.ways {
  margin-top: 120px;
}

.ways__title {
  font-size: var(--fz-h2);
  font-weight: var(--fw-bold);
  line-height: var(--lh-h2);
  color: var(--color-black);
  text-align: center;
  margin-bottom: 24px;
}

.ways__subtitle {
  font-size: var(--fz-body);
  font-weight: var(--fw-medium);
  line-height: var(--lh-body);
  color: var(--color-grey-text-2);
  text-align: center;
  white-space: nowrap;
  margin-bottom: 60px;
}

.ways__cards {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
}

/* WAY CARDS */
.way-card {
  position: relative;
  width: 412px;
  height: 588px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  flex-shrink: 0;
  padding: 40px;
}

.way-card--red   { background-color: var(--color-red); }
.way-card--gold  { background-color: var(--color-gold); }
.way-card--dark  { background-color: var(--color-black); }

.way-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  background-color: var(--color-white);
  border-radius: var(--radius-xs);
  font-size: 14px;
  font-weight: var(--fw-bold);
  line-height: 14px;
  letter-spacing: 0.56px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.way-card--red  .way-card__badge { color: var(--color-red); }
.way-card--gold .way-card__badge { color: var(--color-black); }
.way-card--dark .way-card__badge { color: var(--color-black); }

.way-card__title {
  font-size: var(--fz-h3);
  font-weight: var(--fw-bold);
  line-height: var(--lh-h3);
  margin-bottom: 0;
  width: 332px;
}

.way-card--red  .way-card__title { color: var(--color-white); }
.way-card--gold .way-card__title { color: var(--color-black); }
.way-card--dark .way-card__title { color: var(--color-white); }

.way-card__description {
  font-size: var(--fz-caption);
  font-weight: var(--fw-medium);
  line-height: 24px;
  position: absolute;
  top: 232px;
  left: 40px;
  width: 332px;
}

.way-card--red  .way-card__description { color: var(--color-white); }
.way-card--gold .way-card__description { color: var(--color-black); }
.way-card--dark .way-card__description { color: var(--color-white); }

.way-card__image-wrap {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.way-card--red  .way-card__image-wrap { width: 268px; }
.way-card--gold .way-card__image-wrap { width: 304px; }
.way-card--dark .way-card__image-wrap { width: 320px; }

.way-card__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ============================================================
   QUIZ SECTION
   ============================================================ */
.quiz-section {
  background-color: var(--color-red);
  margin-top: 120px;
  padding: 120px 0;
  scroll-margin-top: 40px;
}

.quiz-section__title {
  font-size: var(--fz-h2);
  font-weight: var(--fw-bold);
  line-height: var(--lh-h2);
  color: var(--color-white);
  text-align: center;
  white-space: nowrap;
  margin-bottom: 24px;
}

.quiz-section__title-accent {
  color: var(--color-gold);
}

.quiz-section__subtitle {
  font-size: var(--fz-body);
  font-weight: var(--fw-medium);
  line-height: var(--lh-body);
  color: var(--color-white);
  text-align: center;
  white-space: nowrap;
  margin-bottom: 60px;
}

/* QUIZ FORM */
.quiz {
  width: 844px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 60px;
  margin-bottom: 40px;
}

.quiz__progress {
  height: 12px;
  background-color: var(--color-grey-border);
  border-radius: var(--radius-sm);
  margin-bottom: 40px;
  overflow: hidden;
}

.quiz__progress-fill {
  height: 100%;
  background-color: var(--color-red);
  border-radius: var(--radius-sm);
  width: 0;
  transition: width 0.5s ease;
}

.quiz--no-progress .quiz__progress {
  display: none;
}

.quiz__question {
  font-size: var(--fz-h3);
  font-weight: var(--fw-bold);
  line-height: var(--lh-h3);
  color: var(--color-black);
  margin-bottom: 40px;
}

.quiz__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 20px;
  margin-bottom: 40px;
}

.quiz__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 24px;
  border: 1px solid var(--color-grey-border-2);
  border-radius: var(--radius-md);
  cursor: pointer;
  background-color: var(--color-white);
}

.quiz__option--selected,
.quiz__option:has(.quiz__option-radio:checked) {
  background-color: var(--color-red-light);
  border-color: var(--color-red-light-2);
}

.quiz__option-text {
  font-size: var(--fz-caption);
  font-weight: var(--fw-bold);
  line-height: var(--lh-caption);
  color: var(--color-black);
  white-space: nowrap;
}

.quiz__option-radio {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--color-grey-border-2);
  background: transparent;
  cursor: pointer;
}

.quiz__option-radio:checked {
  border: 2px solid var(--color-red);
  background: radial-gradient(
    circle at center,
    var(--color-red) 9.5px,
    white 10.5px
  );
}

.quiz__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quiz__nav-btn {
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz__nav-counter {
  font-size: 14px;
  font-weight: var(--fw-bold);
  line-height: 14px;
  letter-spacing: 0.56px;
  text-transform: uppercase;
  color: var(--color-grey-text-mask);
}

/* QUIZ NAVIGATION: disabled next button & back placeholder */
.quiz__nav-btn[disabled] {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}


/* QUIZ FINAL STEP */
.quiz__form {
  display: flex;
  flex-direction: column;
}

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

.quiz__input-wrap {
  flex: 1;
}

.quiz__input {
  width: 100%;
  height: 60px;
  border: 1px solid var(--color-grey-border-2);
  border-radius: var(--radius-md);
  padding: 0 20px;
  font-family: var(--font-family);
  font-size: var(--fz-caption);
  font-weight: var(--fw-medium);
  color: var(--color-black);
  background: var(--color-white);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quiz__input::placeholder {
  color: var(--color-grey-text);
}

.quiz__input:focus {
  border-color: var(--color-black);
  box-shadow: inset 0 0 0 1px var(--color-black);
}

.quiz__submit {
  width: 100%;
  margin-bottom: 20px;
}

.quiz__badges {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-grey-border-2);
  border-radius: var(--radius-sm);
  height: 44px;
  margin-bottom: 20px;
  overflow: hidden;
}

.quiz__badges--mobile {
  display: none;
}

.quiz__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  font-size: var(--fz-caption);
  font-weight: var(--fw-medium);
  line-height: var(--lh-caption);
  color: var(--color-grey-text);
}

.quiz__badge-sep {
  width: 1px;
  height: 44px;
  background-color: var(--color-grey-border-2);
  flex-shrink: 0;
}

.quiz__legal {
  font-size: 12px;
  font-weight: var(--fw-medium);
  line-height: 20px;
  color: var(--color-grey-text);
  text-align: center;
}

a.quiz__legal-link {
  color: var(--color-red);
  text-decoration: none;
  border-bottom: 1px solid rgba(180, 62, 65, 0.3);
  padding-bottom: 0;
  transition: border-color 0.2s ease;
}

a.quiz__legal-link:hover {
  border-color: transparent;
}

/* QUIZ BODY */
.quiz__body {
  overflow: visible;
}

/* QUIZ STEP TRANSITIONS */
@keyframes quiz-enter-forward {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes quiz-enter-back {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.quiz__step {
  animation: quiz-enter-forward 0.5s ease forwards;
}

.quiz__step--back {
  animation: quiz-enter-back 0.5s ease forwards;
}

/* QUIZ PROMO TEXT */
.quiz-section__promo-text {
  font-size: var(--fz-caption);
  font-weight: var(--fw-medium);
  line-height: 24px;
  color: var(--color-white);
  text-align: center;
  margin-bottom: 20px;
  white-space: nowrap;
}

.quiz-section__promo-accent {
  color: var(--color-gold);
}

.quiz-section__timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 156px;
  height: 44px;
  background-color: var(--color-red-dark);
  border-radius: var(--radius-sm);
  margin: 0 auto;
}

.quiz-section__timer-value {
  font-variant-numeric: tabular-nums;
  display: inline-block;
  min-width: 66px;
  font-size: var(--fz-caption-lg);
  font-weight: var(--fw-bold);
  line-height: var(--lh-caption-lg);
  color: var(--color-gold);
  white-space: nowrap;
}

/* ============================================================
   ARTICLES
   ============================================================ */
.articles {
  margin-top: 120px;
  padding-bottom: 120px;
}

.articles__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 60px;
}

.articles__title {
  font-size: var(--fz-h2);
  font-weight: var(--fw-bold);
  line-height: var(--lh-h2);
  color: var(--color-black);
}

.articles__all-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fz-caption);
  font-weight: var(--fw-medium);
  line-height: var(--lh-caption);
  color: var(--color-black);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.articles__all-link:hover {
  color: #979797;
}

.articles__all-link img {
  transition: filter 0.2s ease;
}

.articles__all-link:hover img {
  filter: invert(63%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(96%) contrast(87%);
}

.articles__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 20px;
}

/* ARTICLE CARD */
.article-card {
  width: 412px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-card__image-wrap {
  height: 232px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  flex-shrink: 0;
}

.article-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.article-card__image-wrap:hover .article-card__image {
  opacity: 0.9;
}

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

.article-card__title {
  font-size: var(--fz-h4);
  font-weight: var(--fw-bold);
  line-height: var(--lh-h4);
  color: var(--color-black);
}

.article-card__title a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.article-card__title a:hover {
  opacity: 0.7;
}

.article-card__description {
  font-size: var(--fz-caption);
  font-weight: var(--fw-medium);
  line-height: 24px;
  color: var(--color-grey-text);
}

.article-card__tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 10px;
  background-color: var(--color-grey-bg);
  border-radius: var(--radius-xs);
  font-size: 14px;
  font-weight: var(--fw-medium);
  line-height: 14px;
  color: var(--color-black);
  transition: background-color 0.2s ease;
}

.article-card__tag:hover {
  background-color: #DFDFDF;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: var(--color-black);
}

.footer .container {
  padding: 120px 0;
}

.footer__inner {
  display: flex;
  gap: 180px;
  align-items: flex-start;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}

.footer__logo-link {
  display: block;
}

.footer__logo {
  height: 44px;
  width: auto;
}

/* RATING WIDGET */
.footer__rating {
  width: 144px;
  height: 176px;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0 20px;
  gap: 6px;
}

.footer__rating-logo {
  width: 40px;
  height: 40px;
}

.footer__rating-score {
  font-size: 48px;
  font-weight: var(--fw-semibold);
  line-height: 48px;
  letter-spacing: -3.84px;
  color: var(--color-black);
  margin-bottom: 2px;
}

.footer__rating-stars {
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer__rating-count {
  font-size: 14px;
  font-weight: var(--fw-medium);
  line-height: 14px;
  color: var(--color-black);
}

/* FOOTER NAV */
.footer__nav {
  display: flex;
  flex: 1;
  justify-content: space-between;
  align-items: flex-start;
}

.footer__col {
  display: flex;
  flex-direction: column;
}

.footer__col-title {
  font-size: var(--fz-h5);
  font-weight: var(--fw-bold);
  line-height: var(--lh-h5);
  color: var(--color-white);
  margin-bottom: 32px;
}

.footer__col-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer__col-link {
  font-size: var(--fz-caption);
  font-weight: var(--fw-medium);
  line-height: var(--lh-caption);
  color: var(--color-grey-text-2);
  white-space: nowrap;
  transition: color 0.2s ease;
}

a.footer__col-link:hover {
  color: var(--color-white);
}

/* CONTACTS COLUMN */
.footer__col--contacts {
  gap: 0;
}

.footer__col--contacts .footer__col-title {
  margin-bottom: 32px;
}

.footer__address {
  font-size: var(--fz-caption);
  font-weight: var(--fw-medium);
  line-height: 24px;
  color: var(--color-grey-text-2);
  margin-bottom: 25px;
  margin-top: 0;
}

.footer__contact-row {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto;
  align-items: center;
}

.footer__phone {
  font-size: var(--fz-caption-lg);
  font-weight: var(--fw-bold);
  line-height: var(--lh-caption-lg);
  color: var(--color-white);
  white-space: nowrap;
  grid-column: 1;
  grid-row: 1;
}

.footer__phone-icons {
  display: flex;
  align-items: center;
  gap: 16px;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

.footer__contact-sep {
  grid-column: 1 / -1;
  grid-row: 2;
  height: 1px;
  background-color: var(--color-black-2);
  margin: 18px 0 20px;
}

.footer__email {
  font-size: var(--fz-caption-lg);
  font-weight: var(--fw-bold);
  line-height: var(--lh-caption-lg);
  color: var(--color-white);
  white-space: nowrap;
  grid-column: 1 / -1;
  grid-row: 3;
}

.footer__divider {
  display: none;
}

.footer__contact-items {
  display: flex;
  flex-direction: column;
}

.footer__social {
  display: none;
}

.footer__social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 24px;
  background-color: var(--color-black-2);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: var(--fw-bold);
  line-height: 12px;
  color: var(--color-white);
}

.footer__social-btn img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  padding-top: 40px;
  padding-bottom: 32px;
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
}

.breadcrumbs__item {
  font-size: 14px;
  font-weight: var(--fw-medium);
  line-height: 14px;
  color: var(--color-grey-text-2);
  white-space: nowrap;
}

.breadcrumbs__item--current {
  color: var(--color-grey-text-2);
}

.breadcrumbs__link {
  color: var(--color-grey-text-2);
  transition: color 0.2s ease;
}

.breadcrumbs__link:hover {
  color: #979797;
}

.breadcrumbs__sep {
  font-size: 14px;
  font-weight: var(--fw-medium);
  line-height: 14px;
  color: var(--color-grey-text-2);
}

/* ============================================================
   ARTICLES PAGE
   ============================================================ */
.articles-page {
  padding-bottom: 120px;
}

.articles-page__title {
  font-size: var(--fz-h2);
  font-weight: var(--fw-bold);
  line-height: var(--lh-h2);
  color: var(--color-black);
  margin-bottom: 40px;
}

.articles-page__divider {
  height: 1px;
  background-color: var(--color-grey-border);
  margin-bottom: 32px;
}

/* ============================================================
   TAGS FILTER
   ============================================================ */
.tags-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: var(--fz-caption);
  font-weight: var(--fw-medium);
  line-height: var(--lh-caption);
  white-space: nowrap;
  background-color: var(--color-grey-bg);
  color: var(--color-black);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.tag:not(.tag--active):hover {
  background-color: #DFDFDF;
}

.tag--active {
  background-color: var(--color-black);
  color: var(--color-white);
}

/* ============================================================
   SORT BAR
   ============================================================ */
.sort-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.sort-bar__label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-bar__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.sort-bar__text {
  font-size: var(--fz-caption);
  font-weight: var(--fw-bold);
  line-height: var(--lh-caption);
  color: var(--color-black);
  white-space: nowrap;
}

.sort-bar__select {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 220px;
  padding: 7px 12px;
  border: 1px solid var(--color-grey-border-2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  user-select: none;
}

.sort-bar__select-text {
  font-size: var(--fz-caption);
  font-weight: var(--fw-medium);
  line-height: var(--lh-caption);
  color: var(--color-black);
  white-space: nowrap;
}

.sort-bar__chevron {
  width: 8px;
  height: 4px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.sort-bar__select--open .sort-bar__chevron {
  transform: rotate(180deg);
}

.sort-bar__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  border: 1px solid var(--color-grey-border-2);
  border-radius: var(--radius-sm);
  z-index: 10;
  list-style: none;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.sort-bar__select--open .sort-bar__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sort-bar__dropdown-item {
  padding: 8px 12px;
  font-size: var(--fz-caption);
  font-weight: var(--fw-medium);
  line-height: var(--lh-caption);
  color: var(--color-black);
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 1px solid var(--color-grey-border);
}

.sort-bar__dropdown-item:last-child {
  border-bottom: none;
}

.sort-bar__dropdown-item--active {
  font-weight: var(--fw-bold);
}

/* ============================================================
   FEATURED SECTION
   ============================================================ */
.featured-section {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 40px;
}

/* FEATURED CARD */
.featured-card {
  position: relative;
  width: 844px;
  height: 468px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  gap: 24px;
}

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

.featured-card__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(28, 28, 28, 0.6);
}

.featured-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.featured-card__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-right: 200px;
}

.featured-card__title {
  font-size: var(--fz-h3);
  font-weight: var(--fw-bold);
  line-height: var(--lh-h3);
  color: var(--color-white);
}

.featured-card__title a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.featured-card__title a:hover {
  opacity: 0.7;
}

.featured-card__description {
  font-size: var(--fz-caption);
  font-weight: var(--fw-medium);
  line-height: 24px;
  color: var(--color-grey-text);
}

.featured-card__tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 10px;
  background-color: var(--color-black-2);
  border-radius: var(--radius-xs);
  font-size: 14px;
  font-weight: var(--fw-medium);
  line-height: 14px;
  color: var(--color-white);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 80px;
}

.pagination__prev,
.pagination__next {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination__label {
  font-size: var(--fz-caption);
  font-weight: var(--fw-medium);
  line-height: var(--lh-caption);
  color: var(--color-grey-text);
  white-space: nowrap;
}

.pagination__arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.pagination__pages {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pagination__page {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: var(--fz-caption);
  font-weight: var(--fw-medium);
  line-height: var(--lh-caption);
  color: var(--color-black);
  background-color: var(--color-grey-bg);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.pagination__page:not(.pagination__page--active):hover {
  background-color: #DFDFDF;
}

.pagination__page--active {
  background-color: var(--color-black);
  color: var(--color-white);
}

.pagination__ellipsis {
  font-size: var(--fz-caption);
  font-weight: var(--fw-medium);
  line-height: var(--lh-caption);
  color: var(--color-black);
}

/* ============================================================
   ARTICLE PAGE
   ============================================================ */

.article-page {
  padding-bottom: 120px;
}

.article-page__title {
  font-size: var(--fz-h2);
  line-height: var(--lh-h2);
  font-weight: var(--fw-bold);
  color: var(--color-black);
  max-width: 844px;
  margin-bottom: 32px;
}

/* ── Details row ─────────────────────────────────────────── */
.article-details {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.article-detail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 196px;
  height: 68px;
  padding: 16px 20px;
  background: var(--color-grey-bg);
  border-radius: var(--radius-md);
}

.article-detail__label {
  font-size: 12px;
  line-height: 12px;
  font-weight: var(--fw-medium);
  color: var(--color-grey-text-2);
}

.article-detail__value {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-detail__value img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.article-detail__value span {
  font-size: 16px;
  line-height: 16px;
  font-weight: var(--fw-medium);
  color: var(--color-black);
}

/* ── Divider ─────────────────────────────────────────────── */
.article-page__divider {
  width: 100%;
  height: 1px;
  background: var(--color-grey-border);
}

/* ── Layout: content + sidebar ───────────────────────────── */
.article-layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.article-content {
  width: 844px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.article-sidebar {
  width: 372px;
  flex-shrink: 0;
  position: sticky;
  top: 132px;
}

/* ── Hero image ──────────────────────────────────────────── */
.article-content__hero {
  width: 100%;
  height: 476px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  display: block;
}

/* ── Paragraph ───────────────────────────────────────────── */
.article-paragraph {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.article-paragraph__title {
  font-size: var(--fz-h4);
  line-height: var(--lh-h4);
  font-weight: var(--fw-bold);
  color: var(--color-black);
}

.article-paragraph__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-paragraph__text p {
  font-size: 16px;
  line-height: 24px;
  font-weight: var(--fw-medium);
  color: var(--color-black);
}

/* ── Block: highlighted mark ─────────────────────────────── */
.article-block-mark {
  background: var(--color-red-light);
  border-left: 4px solid var(--color-red);
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.article-block-mark__heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.article-block-mark__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── List with bullet marks ──────────────────────────────── */
.article-list-mark {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-list-mark__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding-left: 24px;
}

.article-list-mark__bullet {
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
}

.article-list-mark__item span,
.article-list-mark__item a {
  font-size: 16px;
  line-height: 24px;
  font-weight: var(--fw-medium);
  color: var(--color-black);
}

.article-list-mark--links .article-list-mark__item a {
  color: var(--color-red);
}

/* ── Block: calculator CTA ───────────────────────────────── */
.article-block-calc {
  position: relative;
  height: 268px;
  overflow: hidden;
  background: var(--color-red-light);
  border-left: 4px solid var(--color-red);
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.article-block-calc .article-paragraph__title {
  margin-bottom: 20px;
}

.article-block-calc__sub {
  font-size: 16px;
  line-height: 24px;
  font-weight: var(--fw-medium);
  color: var(--color-grey-text-2);
  margin-bottom: 28px;
}

.article-block-calc__img-wrap {
  position: absolute;
  right: 40px;
  top: 40px;
  width: 303px;
  height: 228px;
  overflow: hidden;
}

.article-block-calc__img-wrap img {
  width: 100%;
  height: 120.63%;
  object-fit: cover;
  object-position: top left;
}

/* ── Block: Q&A ──────────────────────────────────────────── */
.article-qa {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.article-qa__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-qa__question {
  font-size: 16px;
  line-height: 24px;
  font-weight: var(--fw-bold);
  color: var(--color-black);
}

.article-qa__answer {
  font-size: 16px;
  line-height: 24px;
  font-weight: var(--fw-medium);
  color: var(--color-black);
}

.article-qa__label {
  color: var(--color-grey-text-2);
}

/* ── Q&A toggle button (hidden on desktop) ───────────────── */
.article-qa__toggle {
  display: none;
}

.article-qa__toggle-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.article-qa__item--open .article-qa__toggle-icon {
  transform: rotate(180deg);
}

/* ── Sidebar card ────────────────────────────────────────── */
.sidebar-card {
  position: relative;
  width: 372px;
  height: 468px;
  background: var(--color-gold);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.sidebar-card__title {
  position: absolute;
  top: 32px;
  left: 32px;
  width: 308px;
  font-size: var(--fz-h4);
  line-height: var(--lh-h4);
  font-weight: var(--fw-bold);
  color: var(--color-black);
}

.sidebar-card__desc {
  position: absolute;
  top: 136px;
  left: 32px;
  width: 308px;
  font-size: 16px;
  line-height: 24px;
  font-weight: var(--fw-medium);
  color: var(--color-black);
}

.sidebar-card__img {
  position: absolute;
  left: 58px;
  top: 212px;
  width: 256px;
  height: 256px;
  overflow: hidden;
}

.sidebar-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.sidebar-card__btn {
  position: absolute;
  bottom: 32px;
  left: 32px;
  width: 308px;
  justify-content: center;
}

/* ── Similar articles section ────────────────────────────── */
.similar-articles {
  background: var(--color-grey-bg);
  padding: 120px 0;
}

.similar-articles .article-card__tag {
  background-color: var(--color-white);
}

.similar-articles__title {
  font-size: var(--fz-h2);
  line-height: var(--lh-h2);
  font-weight: var(--fw-bold);
  color: var(--color-black);
  margin-bottom: 60px;
}

/* ============================================================
   QUIZ ITEMS (бейджи финального шага)
   ============================================================ */
.quiz-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.quiz-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-grey-bg);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-size: var(--fz-caption);
  font-weight: var(--fw-medium);
  line-height: var(--lh-caption);
  color: var(--color-grey-text);
}

/* ============================================================
   QUIZ POPUP
   ============================================================ */
.quiz-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 28, 28, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.quiz-popup.is-open {
  opacity: 1;
  pointer-events: all;
}

.quiz-popup__inner {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 60px;
  width: 628px;
  max-width: calc(100% - 32px);
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.quiz-popup.is-open .quiz-popup__inner {
  transform: scale(1);
}

.quiz-popup .quiz__progress {
  margin-bottom: 40px;
}

.quiz-popup .quiz__question {
  margin-bottom: 40px;
}

.quiz-popup .quiz__options {
  grid-template-columns: 1fr;
  margin-bottom: 40px;
}

.quiz__inputs--vertical {
  flex-direction: column;
}


/* ============================================================
   MOBILE  ≤ 768px
   ============================================================ */
@media (max-width: 768px) {
  br {
    display: none;
  }


  /* ── Layout ─────────────────────────────── */
  .container {
    width: 100%;
    padding: 0 16px;
  }

  /* ── Buttons ────────────────────────────── */
  .btn {
    padding: 18px 32px;
    font-size: 16px;
    line-height: 16px;
  }

  /* ── Header ─────────────────────────────── */
  .header {
    height: 52px;
  }

  .header__logo-link {
    margin-top: 0;
  }

  .header__logo {
    height: 32px;
  }

  .header__nav,
  .header__contacts,
  .header__cta {
    display: none;
  }

  .header__cta--mobile {
    display: inline-flex;
    margin-left: auto;
    height: 36px;
    padding: 0 24px;
    font-size: 12px;
    line-height: 12px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
  }

  /* ── Hero ───────────────────────────────── */
  .hero {
    height: 588px;
    background:
      radial-gradient(
        ellipse 518px 294px at 50% 100%,
        rgba(180, 62, 65, 1)      0%,
        rgba(189, 86, 89, 0.875)  12.5%,
        rgba(199, 110, 113, 0.75) 25%,
        rgba(218, 159, 160, 0.5)  50%,
        rgba(255, 255, 255, 0)    100%
      ),
      linear-gradient(to bottom, #ffffff 50%, #f3f3f3 100%);
  }

  .hero .container {
    padding-top: 32px;
  }

  .hero__title {
    font-size: 28px;
    line-height: 32px;
    letter-spacing: -0.56px;
    white-space: normal;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin-top: 20px;
  }

  .hero__description {
    font-size: 14px;
    line-height: 22px;
    white-space: normal;
    text-align: center;
  }

  .hero__divider {
    display: none;
  }

  .hero__promo {
    margin-top: 16px;
    gap: 8px;
  }

  .hero__promo-label {
    font-size: 12px;
    line-height: 12px;
  }

  .hero__promo-timer-icon {
    width: 16px;
    height: 16px;
  }

  .hero__promo-timer-value {
  font-variant-numeric: tabular-nums;
  display: inline-block;
  min-width: 66px;
    font-size: 16px;
    line-height: 16px;
  }

  .hero__image-wrap {
  width: 100%;
  max-width: 513px;
  aspect-ratio: 513/208;
  margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    width: 513px;
    height: 208px;
  }

  /* ── Debts ──────────────────────────────── */
  .debts {
    margin-top: 52px;
  }

  .debts__title {
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 16px;
  }

  .debts__grid {
    flex-direction: column;
    gap: 0;
    margin-bottom: 12px;
  }

  .debts__col:not(:last-child)::after {
    content: '';
    display: block;
    height: 1px;
    background-color: var(--color-grey-border);
  }

  .debts__item {
    padding: 12px 0;
  }

  .debts__item-icon {
    width: 14px;
    height: 14px;
  }

  .debts__item-text {
    font-size: 14px;
    line-height: 14px;
    white-space: normal;
  }

  /* ── Promo Banner ───────────────────────── */
  .promo-banner {
    flex-direction: column;
    align-items: center;
    height: auto;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    gap: 16px;
  }

  .promo-banner .btn {
    order: -1;
    width: 100%;
  }

  .promo-banner__info {
    justify-content: center;
    gap: 8px;
  }

  .promo-banner__info .promo-banner__text:first-child,
  .promo-banner__dot {
    display: none;
  }

  .promo-banner__text {
    font-size: 12px;
    line-height: 12px;
  }

  .promo-banner__timer-value {
    font-size: 16px;
    line-height: 16px;
  }

  .promo-banner__timer img {
    width: 16px;
    height: 16px;
  }

  /* ── Ways ───────────────────────────────── */
  .ways {
    margin-top: 52px;
    margin-bottom: 52px;
  }

  .ways__title {
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 16px;
  }

  .ways__subtitle {
    font-size: 14px;
    line-height: 22px;
    white-space: normal;
    margin-bottom: 24px;
  }

  .ways__cards {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
  }

  .way-card {
    width: 100%;
    height: 436px;
    border-radius: var(--radius-lg);
    padding: 24px;
  }

  .way-card__badge {
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 0.48px;
    padding: 4px 6px;
    margin-bottom: 12px;
  }

  .way-card__title {
    font-size: 20px;
    line-height: 24px;
    width: auto;
  }

  .way-card__description {
    position: static;
    width: auto;
    font-size: 14px;
    line-height: 22px;
    margin-top: 16px;
  }

  .way-card--red  .way-card__image-wrap { width: 213px; }
  .way-card--gold .way-card__image-wrap { width: 242px; }
  .way-card--dark .way-card__image-wrap { width: 255px; }

  /* ── Quiz ───────────────────────────────── */
  .quiz-section {
    margin-top: 0;
    padding: 52px 0;
  }

  .quiz-section__title {
    font-size: 24px;
    line-height: 28px;
    white-space: normal;
    margin-bottom: 16px;
  }

  .quiz-section__subtitle {
    font-size: 14px;
    line-height: 22px;
    white-space: normal;
    margin-bottom: 24px;
  }

  .quiz {
    width: 100%;
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
  }

  .quiz__progress {
    height: 8px;
    border-radius: 4px;
    margin-bottom: 20px;
  }

  .quiz__question {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 20px;
  }

  .quiz__options {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
  }

  .quiz__option {
    padding: 13px 20px;
  }

  .quiz__option-text {
    font-size: 14px;
    line-height: 14px;
    white-space: normal;
  }

  .quiz__option-radio {
    width: 24px;
    height: 24px;
  }

  .quiz__option-radio:checked {
    background: radial-gradient(
      circle at center,
      var(--color-red) 7.5px,
      white 8.5px
    );
  }

  .quiz-section__promo-text {
    font-size: 14px;
    line-height: 22px;
    white-space: normal;
    margin-bottom: 16px;
  }

  .quiz-section__timer {
    width: 135px;
    height: 40px;
  }

  .quiz-section__timer img {
    width: 16px;
    height: 16px;
  }

  .quiz-section__timer-value {
  font-variant-numeric: tabular-nums;
  display: inline-block;
  min-width: 66px;
    font-size: 16px;
    line-height: 16px;
  }

  .quiz__nav-counter {
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 0.48px;
  }

  .quiz__progress-fill {
    border-radius: 4px;
  }

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

  .quiz__input {
    height: 52px;
  }

  .quiz__submit {
    margin-bottom: 20px;
  }

  .quiz-items {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .quiz-item {
    padding: 11px 20px;
    font-size: 14px;
    line-height: 14px;
  }

  .quiz-item img {
    width: 14px;
    height: 14px;
  }

  .quiz__legal {
    font-size: 10px;
    line-height: 18px;
  }

  /* ── Quiz Popup ─────────────────────────── */
  .quiz-popup__inner {
    padding: 24px;
    border-radius: var(--radius-lg);
  }

  .quiz-popup .quiz__progress {
    height: 8px;
    margin-bottom: 20px;
  }

  .quiz-popup .quiz__question {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 20px;
  }

  .quiz-popup .quiz__options {
    gap: 12px;
    margin-bottom: 20px;
  }

  .quiz-popup .quiz__option {
    padding: 13px 20px;
  }

  .quiz-popup .quiz__option-text {
    font-size: 14px;
    line-height: 14px;
  }

  .quiz-popup .quiz__option-radio {
    width: 24px;
    height: 24px;
  }

  .quiz-popup .quiz__option-radio:checked {
    background: radial-gradient(
      circle at center,
      var(--color-red) 7.5px,
      white 8.5px
    );
  }

  .quiz-popup .quiz__nav-counter {
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 0.48px;
  }

  /* ── Articles ───────────────────────────── */
  .articles {
    margin-top: 52px;
    padding-bottom: 52px;
  }

  .articles__header {
    margin-bottom: 24px;
    align-items: baseline;
  }

  .articles__title {
    font-size: 24px;
    line-height: 28px;
  }

  .articles__all-link img {
    display: none;
  }

  .articles__grid {
    flex-direction: column;
    gap: 32px;
  }

  .article-card {
    width: 100%;
    gap: 16px;
  }

  .article-card__body {
    gap: 12px;
  }

  .article-card__image-wrap {
    height: auto;
    aspect-ratio: 412 / 232;
    border-radius: var(--radius-lg);
  }

  .article-card__title {
    font-size: 16px;
    line-height: 20px;
  }

  .article-card__description {
    font-size: 14px;
    line-height: 22px;
  }

  /* ── Footer ─────────────────────────────── */
  .footer .container {
    padding: 52px 16px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer__brand {
    position: static;
    z-index: auto;
  }

  .footer__rating {
    display: none;
  }

  .footer__logo {
    height: 36px;
  }

  .footer__nav {
    flex: 0 0 auto;
    width: 100%;
    flex-direction: column;
    gap: 24px;
  }

  .footer__divider {
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--color-black-2);
    flex-shrink: 0;
  }

  .footer__col {
    gap: 16px;
    padding: 0;
    border-top: none;
    width: 100%;
  }

  .footer__col:not(:first-child) {
    border-top: none;
    padding-top: 0;
  }

  .footer__col-title {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 0;
  }

  .footer__col--contacts {
    gap: 20px;
  }

  .footer__col--contacts .footer__col-title {
    margin-bottom: 0;
  }

  .footer__col-list {
    gap: 8px;
  }

  .footer__col-link {
    font-size: 14px;
    line-height: 14px;
  }

  .footer__contact-items {
    gap: 16px;
    width: 100%;
  }

  .footer__address {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 0;
  }

  .footer__contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    grid-template-columns: unset;
    grid-template-rows: unset;
    margin-bottom: 0;
  }

  .footer__phone {
    grid-column: unset;
    grid-row: unset;
    font-size: 16px;
    line-height: 16px;
  }

  .footer__phone-icons {
    display: none;
  }

  .footer__contact-sep {
    grid-column: unset;
    grid-row: unset;
    width: 1px;
    height: 16px;
    background-color: var(--color-black-2);
    margin: 0;
  }

  .footer__email {
    grid-column: unset;
    grid-row: unset;
    font-size: 16px;
    line-height: 16px;
    white-space: nowrap;
  }

  .footer__social {
    display: flex;
    gap: 16px;
    width: 100%;
  }

  .footer__social-btn {
    flex: 1;
  }

  /* ── Breadcrumbs ─────────────────────────── */
  .breadcrumbs {
    display: none;
  }

  /* ── Articles Page ───────────────────────── */
  .articles-page {
    padding-bottom: 52px;
    padding-top: 24px;
  }

  .articles-page__title {
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 20px;
  }

  .articles-page__divider {
    margin-bottom: 20px;
  }

  /* ── Tags Filter ─────────────────────────── */
  .tags-filter {
    gap: 8px;
    margin-bottom: 20px;
  }

  .tag {
    padding: 5px 10px;
    border-radius: var(--radius-xs);
    font-size: 14px;
    line-height: 14px;
  }

  /* ── Sort Bar ────────────────────────────── */
  .sort-bar {
    margin-bottom: 24px;
  }

  .sort-bar__icon {
    width: 18px;
    height: 18px;
  }

  .sort-bar__text {
    font-size: 14px;
    line-height: 14px;
  }

  .sort-bar__select {
    width: 100%;
    padding: 4px 8px;
    border-radius: var(--radius-xs);
  }

  .sort-bar__select-text {
    font-size: 14px;
    line-height: 14px;
  }

  .sort-bar__dropdown-item {
    font-size: 14px;
    line-height: 14px;
  }

  /* ── Featured Section ────────────────────── */
  .featured-section {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 32px;
  }

  .featured-card {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    padding: 24px;
    gap: 20px;
  }

  .featured-card__text {
    gap: 16px;
    padding-right: 0;
  }

  .featured-card__title {
    font-size: 20px;
    line-height: 24px;
  }

  .featured-card__description {
    font-size: 14px;
    line-height: 22px;
  }

  /* ── Pagination ──────────────────────────── */
  .pagination {
    justify-content: space-between;
    gap: 0;
    margin-top: 32px;
  }

  .pagination__label {
    display: none;
  }

  /* ── Article Page ────────────────────────── */
  .article-page {
    padding-top: 24px;
    padding-bottom: 52px;
  }

  .article-page__title {
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 20px;
  }

  .article-details {
    gap: 16px;
    margin-bottom: 24px;
  }

  .article-detail {
    width: 100%;
    height: 58px;
    padding: 12px;
  }

  .article-detail__value img {
    width: 14px;
    height: 14px;
  }

  .article-detail__value span {
    font-size: 14px;
    line-height: 14px;
  }

  .article-detail:nth-child(3) {
    display: none;
  }

  .article-layout {
    flex-direction: column;
  }

  .article-sidebar {
    display: none;
  }

  .article-content {
    width: 100%;
    gap: 36px;
  }

  .article-content__hero {
    height: 184px;
    border-radius: var(--radius-lg);
  }

  .article-paragraph {
    gap: 20px;
  }

  .article-paragraph__title {
    font-size: 16px;
    line-height: 20px;
  }

  .article-paragraph__text {
    gap: 12px;
  }

  .article-paragraph__text p {
    font-size: 14px;
    line-height: 22px;
  }

  .article-block-mark {
    padding: 24px;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    gap: 20px;
  }

  .article-block-mark__heading {
    gap: 8px;
  }

  .article-block-mark__icon {
    width: 20px;
    height: 20px;
  }

  .article-list-mark {
    gap: 12px;
  }

  .article-list-mark__item {
    padding-left: 20px;
  }

  .article-list-mark__item span,
  .article-list-mark__item a {
    font-size: 14px;
    line-height: 22px;
  }

  .article-block-calc {
    height: 433px;
    padding: 24px;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  }

  .article-block-calc .article-paragraph__title {
    margin-bottom: 12px;
    width: auto;
  }

  .article-block-calc__sub {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 20px;
  }

  .article-block-calc__img-wrap {
    right: auto;
    left: 24px;
    top: 222px;
    width: 280px;
    height: 211px;
  }

  .article-qa {
    gap: 20px;
  }

  .article-qa__item {
    gap: 8px;
  }

  .article-qa__question {
    font-size: 14px;
    line-height: 22px;
  }

  .article-qa__answer {
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
    font-size: 14px;
    line-height: 22px;
  }

  .article-qa__toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .article-qa__toggle-text {
    font-size: 14px;
    font-weight: var(--fw-medium);
    line-height: 14px;
    color: var(--color-grey-text);
    white-space: nowrap;
  }

  /* ── Similar Articles ────────────────────── */
  .similar-articles {
    padding: 52px 0;
  }

  .similar-articles__title {
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 24px;
  }
}

/* ============================================================
   THANKS PAGE
   ============================================================ */
.thanks {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 80px 0;
  min-height: calc(100vh - 92px);
}

.thanks__card {
  background-color: var(--color-white);
  border: 1px solid var(--color-grey-border);
  border-radius: var(--radius-xl);
  padding: 60px;
  width: 628px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.thanks__badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.thanks__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
}

.thanks__badge--answer {
  background-color: var(--color-red);
}

.thanks__badge--online {
  background-color: #4CAF50;
}

.thanks__badge-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.thanks__badge-text {
  font-size: 14px;
  font-weight: var(--fw-bold);
  line-height: 14px;
  color: var(--color-white);
  white-space: nowrap;
}

.thanks__avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.thanks__heading {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  width: 100%;
}

.thanks__title {
  font-size: var(--fz-h3);
  font-weight: var(--fw-bold);
  line-height: var(--lh-h3);
  color: var(--color-black);
}

.thanks__subtitle {
  font-size: var(--fz-body);
  font-weight: var(--fw-medium);
  line-height: var(--lh-body);
  color: var(--color-grey-text-2);
}

.thanks__buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.thanks__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  width: 100%;
  font-family: var(--font-family);
  font-size: var(--fz-caption);
  font-weight: var(--fw-bold);
  line-height: var(--lh-caption);
  color: var(--color-white);
}

.thanks__btn-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.thanks__btn--tg {
  background-color: #039BE5;
  transition: background-color 0.2s ease;
}

.thanks__btn--tg:hover {
  background-color: #0087D1;
}

.thanks__btn--max {
  background-color: #191D86;
  transition: background-color 0.2s ease;
}

.thanks__btn--max:hover {
  background-color: #2B0A63;
}

.thanks__btn--vk {
  background-color: #0077FF;
  transition: background-color 0.2s ease;
}

.thanks__btn--vk:hover {
  background-color: #0063EB;
}

@media (max-width: 768px) {
  .thanks {
    padding: 16px 0;
    min-height: calc(100vh - 52px);
  }

  .thanks__card {
    width: calc(100% - 32px);
    padding: 24px;
    gap: 20px;
    border-radius: var(--radius-lg);
  }

  .thanks__badge {
    padding: 6px 10px;
    gap: 6px;
    border-radius: var(--radius-xs);
  }

  .thanks__badge-icon {
    width: 12px;
    height: 12px;
  }

  .thanks__badge-text {
    font-size: 12px;
    line-height: 12px;
  }

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

  .thanks__heading {
    gap: 12px;
  }

  .thanks__title {
    font-size: 20px;
    line-height: 24px;
  }

  .thanks__subtitle {
    font-size: 14px;
    line-height: 22px;
  }

  .thanks__buttons {
    gap: 12px;
  }

  .thanks__btn {
    padding: 12px 32px;
  }
}

