/* ==========================================================================
   Секция Intro (Карточка доверия с таймером и прямым телефоном)
   ========================================================================== */
.intro {
  margin-top: -48px;
  background: linear-gradient(transparent 48px, #fff 48px);
  position: relative;
  z-index: 5;
}

.intro__card {
  position: relative;
  margin: 0 auto;
  max-width: 1060px;
  padding: 24px 32px 28px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px -4px rgba(11, 31, 58, 0.08), 0 2px 8px rgba(0, 0, 0, 0.03);
}

.intro__body {
  margin-bottom: 20px;
}

.intro__lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-normal);
  font-weight: 700;
  color: var(--color-navy, #0b1f3a);
  margin-bottom: 8px;
}

.intro__highlight {
  font-size: 22px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--color-blue, #0963b0);
  margin-bottom: 10px;
}

.intro__highlight mark {
  background: transparent;
  color: inherit;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
  font-weight: inherit;
  display: inline;
}

.intro__text {
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  color: #475569;
}

.intro__text strong {
  color: var(--color-navy, #0b1f3a);
  font-weight: 700;
}

/* ==========================================================================
   Нижняя панель действий: Таймер + Телефон
   ========================================================================== */
.intro__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 860px;
  margin: 16px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

/* Блок таймера: заголовок СТРОГО НАД счетчиком на ПК */
.intro__timer-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.intro__timer-title {
  font-size: var(--fs-sm);
  color: #64748b;
  font-weight: 500;
}

.countdown {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-text);
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown__digits {
  display: flex;
  gap: 2px;
}

.countdown__digit {
  position: relative;
  width: 28px;
  height: 40px;
  border-radius: 6px;
  background: #0b1f3a;
  color: #ffffff;
  font-size: 26px;
  line-height: 40px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.countdown__digit::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.countdown__sep {
  font-size: 24px;
  line-height: 40px;
  font-weight: 700;
  color: var(--color-gold, #c5a059);
  margin: 0 2px;
}

.countdown__label {
  margin-top: 3px;
  color: #64748b;
  font-size: var(--fs-xs);
  line-height: 14px;
  font-weight: 500;
}

/* Блок телефона и стрелка */
.intro__phone-box {
  display: flex;
  align-items: center;
  position: relative;
}

/* Стрелка указывает на телефон с комфортным зазором, не прилипая к цифрам */
.intro__arrow {
  width: 30px;
  height: 64px;
  transform: rotate(-80deg);
  margin-right: 44px;
  margin-left: 10px;
  opacity: 0.65;
  flex-shrink: 0;
}

.intro__phone {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.intro__phone:hover {
  transform: translateY(-1px);
}

.intro__phone-label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 2px;
}

.intro__phone-val {
  color: var(--color-red, #c0262d);
  font: 700 32px/1.1 var(--font-text);
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Адаптив: Мобильные экраны (< 980px)
   ========================================================================== */
@media (max-width: 979px) {
  .intro {
    margin-top: 0;
    background: #fff;
    padding: 16px 0 0;
  }

  .intro__card {
    margin: 0 12px;
    padding: 18px 16px 20px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    text-align: center;
  }

  .intro__body {
    margin-bottom: 16px;
  }

  .intro__lead {
    font-size: 15px;
    line-height: 21px;
    margin-bottom: 8px;
  }

  .intro__highlight {
    font-size: 18px;
    line-height: 1.35;
    margin-bottom: 10px;
  }

  .intro__highlight mark {
    font-size: inherit;
    padding: 0;
    background: transparent;
    color: inherit;
  }

  .intro__text {
    font-size: 14px;
    line-height: 20px;
  }

  .intro__row {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    margin-top: 0;
  }

  .countdown {
    display: none;
  }

  .intro__phone-box {
    order: 1;
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .intro__arrow {
    display: none;
  }

  .intro__phone {
    width: 100%;
    align-items: center;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-sizing: border-box;
  }

  .intro__phone-label {
    font-size: var(--fs-xs);
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 2px;
  }

  .intro__phone-val {
    font-size: 24px;
    line-height: 1.1;
  }

  /* Страницы с включённым таймером на мобилке */
  .intro--timer-mobile .intro__timer-box {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin-top: 2px;
  }

  .intro--timer-mobile .intro__timer-title {
    font-size: var(--fs-sm);
    color: #64748b;
  }

  .intro--timer-mobile .countdown {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin: 0;
    transform: none;
  }

  .intro--timer-mobile .countdown__digit {
    width: 24px;
    height: 34px;
    font-size: 20px;
    line-height: 34px;
    border-radius: 5px;
  }

  .intro--timer-mobile .countdown__sep {
    font-size: 18px;
    line-height: 34px;
    margin: 0 1px;
  }

  .intro--timer-mobile .countdown__label {
    font-size: var(--fs-xs);
    margin-top: 2px;
  }
}
