/* Секция CTA — полноширинный конверсионный блок в стилистике сайта */
.cta {
  position: relative;
  padding: 68px 0 64px;
  background-color: #06152d;
  background-image:
    radial-gradient(ellipse 90% 70% at 50% 30%, rgba(22, 115, 191, 0.35), transparent 70%),
    var(--cta-image);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #ffffff;
  overflow: hidden;
  text-align: center;
}

.cta__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 21, 45, 0.88) 0%, rgba(9, 29, 66, 0.94) 100%);
  z-index: 1;
}

.cta__container {
  position: relative;
  z-index: 2;
  width: min(980px, 100% - 32px);
  margin-inline: auto;
}

/* Заголовок и описание */
.cta__title {
  font: 400 var(--fs-h1)/var(--lh-tight) var(--font-head);
  color: #ffffff;
  margin: 0 auto 16px;
  max-width: 820px;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.cta__desc {
  font-size: var(--fs-lead);
  line-height: var(--lh-normal);
  color: #cbd5e1;
  max-width: 720px;
  margin: 0 auto 36px;
  font-weight: 400;
}

/* Кнопка и телефон */
.cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 32px;
  font-size: var(--fs-lead);
  font-weight: 700;
  color: #ffffff;
  background: var(--btn-primary-bg, linear-gradient(180deg, #e2282c 0%, #b81418 100%));
  border-radius: var(--btn-radius, 6px);
  box-shadow: 0 6px 20px rgba(226, 40, 44, 0.45);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(226, 40, 44, 0.6);
  filter: brightness(1.06);
  color: #ffffff;
}

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

.cta__phone-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.cta__phone-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 2px;
}

.cta__phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 var(--fs-h3)/var(--lh-tight) var(--font-text);
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.15s ease, transform 0.15s ease;
}

.cta__phone-link:hover {
  color: #7dd3fc;
  transform: translateX(2px);
}

.cta__phone-icon {
  color: #38bdf8;
  flex-shrink: 0;
}

/* Гарантии и преимущества */
.cta__features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 860px;
  margin: 0 auto;
}

.cta__feature-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  color: #94a3b8;
  font-weight: 500;
}

.cta__feature-icon {
  color: #60a5fa;
  flex-shrink: 0;
}

/* Адаптив */
@media (max-width: 979px) {
  .cta {
    padding: 44px 16px 40px;
    height: auto;
  }

  .cta__container {
    width: 100%;
  }

  .cta__title {
    font-size: var(--fs-h2);
    line-height: var(--lh-tight);
    margin-bottom: 12px;
  }

  .cta__desc {
    font-size: var(--fs-body);
    line-height: var(--lh-normal);
    margin-bottom: 24px;
  }

  .cta__actions {
    flex-direction: column;
    gap: 18px;
    margin-bottom: 22px;
    width: 100%;
  }

  .cta__btn {
    width: 100%;
    max-width: 100%;
    height: 52px;
    font-size: var(--fs-body);
  }

  .cta__phone-box {
    align-items: center;
    text-align: center;
  }

  .cta__phone-link {
    font-size: var(--fs-h4);
  }

  .cta__features {
    display: none;
  }
}
