/* Сторінка «Активація». Текст 1в1 з чинного сайту, верстка й кольори —
   наші (токени з onedeal-tokens.css, підключеного в шапці). */

.act-top {
  padding-top: 28px;
  padding-bottom: 8px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.act-crumbs {
  margin: 0 0 18px;
  font-size: 0.82rem;
  color: var(--home-muted, #6b625c);
  text-align: left;
}

.act-crumbs a {
  color: inherit;
  text-decoration: none;
}

.act-crumbs a:hover {
  color: var(--home-accent-bright, #e63329);
}

.act-crumbs__sep {
  margin: 0 6px;
  opacity: 0.6;
}

.act-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--home-text, #221f1d);
}

.act-h2 {
  margin: 0 0 24px;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--home-text, #221f1d);
}

.act-h2--center {
  text-align: center;
}

/* --- основна секція: два стовпці --- */
.act-main {
  max-width: 1160px;
  margin: 48px auto 0;
}

.act-main__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

/* --- ліворуч: кроки --- */
.act-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.act-step {
  position: relative;
  display: flex;
  gap: 18px;
  padding-bottom: 32px;
}

.act-step:last-child {
  padding-bottom: 0;
}

/* Лінія між кружечками кроків — та сама ідея, що на «Як це працює». */
.act-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 0;
  width: 1px;
  background: var(--home-border, #f0e2d6);
}

.act-step__num {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--home-accent-bright, #e63329);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  z-index: 1;
}

.act-step__body {
  display: block;
  padding-top: 6px;
}

.act-step__title {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--home-text, #221f1d);
}

.act-step__text {
  display: block;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--home-muted, #6b625c);
}

/* --- праворуч: форма --- */
.act-form-wrap {
  padding: 36px;
  border-radius: 20px;
  background: var(--home-cream-soft, #fdf3ee);
  box-shadow: var(--shadow-card);
}

.act-form__heading {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--home-text, #221f1d);
}

.act-form__lead {
  margin: 0 0 24px;
  font-size: 0.82rem;
  color: var(--home-muted, #6b625c);
}

.act-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.act-form__field--full {
  grid-column: 1 / -1;
}

.act-form__field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  color: var(--home-muted, #6b625c);
}

.act-form__field .form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--home-border, #f0e2d6);
  border-radius: 12px;
  background: #fff;
  font-size: 0.88rem;
  color: var(--home-text, #221f1d);
  transition: border-color 0.2s ease;
}

.act-form__field textarea.form-control {
  resize: vertical;
  min-height: 96px;
}

.act-form__field .form-control::placeholder {
  color: var(--home-placeholder, #8d837c);
}

.act-form__field .form-control:focus {
  outline: none;
  border-color: var(--home-accent-bright, #e63329);
}

.act-form__field .form-control.is-invalid {
  border-color: var(--home-accent-bright, #e63329);
}

.act-form__field .invalid-feedback {
  margin-top: 6px;
  font-size: 0.76rem;
  color: var(--home-accent-bright, #e63329);
}

.act-form__note {
  margin: 18px 0 0;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--home-muted, #6b625c);
}

.act-form__submit {
  margin-top: 22px;
  text-align: center;
}

.act-form__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px;
  border: 1px solid var(--home-accent, #d6473a);
  border-radius: 999px;
  background: var(--home-accent, #d6473a);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.act-form__btn:hover {
  background: var(--home-accent-dark, #b83a2f);
  border-color: var(--home-accent-dark, #b83a2f);
}

/* --- важливо знати --- */
.act-section {
  max-width: 1160px;
  margin: 72px auto 0;
  padding-bottom: 72px;
}

.act-notes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--home-border, #f0e2d6);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.act-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 22px 34px;
  text-align: center;
}

.act-note + .act-note {
  border-left: 1px solid var(--home-border, #f0e2d6);
}

.act-note__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--home-chip-bg, #fdf3ee);
  color: var(--home-accent-bright, #e63329);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.act-note:hover .act-note__icon {
  background: var(--home-accent-bright, #e63329);
  color: #fff;
}

.act-note__icon svg {
  width: 22px;
  height: 22px;
}

.act-note__title {
  margin: 16px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--home-text, #221f1d);
}

.act-note__text {
  margin: 9px 0 0;
  font-size: 0.79rem;
  line-height: 1.55;
  color: var(--home-muted, #6b625c);
}

/* ==================== планшет ==================== */
@media (max-width: 991.98px) {
  .act-main__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .act-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .act-note:nth-child(odd) {
    border-left: 0;
  }

  .act-note:nth-child(n + 3) {
    border-top: 1px solid var(--home-border, #f0e2d6);
  }
}

/* ==================== телефон ==================== */
@media (max-width: 767.98px) {
  .act-title,
  .act-h2 {
    font-size: 1.15rem;
  }

  .act-main {
    margin-top: 36px;
  }

  .act-form-wrap {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .act-form__grid {
    grid-template-columns: 1fr;
  }

  .act-form__field--full {
    grid-column: auto;
  }

  .act-section {
    margin-top: 48px;
    padding-bottom: 48px;
  }

  .act-notes {
    grid-template-columns: 1fr;
  }

  .act-note {
    padding: 24px 20px;
  }

  .act-note + .act-note {
    border-left: 0;
    border-top: 1px solid var(--home-border, #f0e2d6);
  }
}
