/* Общий CTA-блок для кейсов портфолио (папка drafts) */

.cta-portfolio {
  background: #f7f9fc;
  border: 1px solid #eceff4;
  border-radius: 14px;
  padding: 48px 32px;
  margin: 40px 0;
  text-align: center;
}

.cta-portfolio__title {
  font-size: 28px;
  font-weight: 700;
  color: #222222;
  line-height: 1.25;
  margin: 0 0 16px;
}

.cta-portfolio__line {
  width: 64px;
  height: 3px;
  background: #dc2632;
  margin: 0 auto 28px;
}

.cta-portfolio__phones {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-bottom: 24px;
}

.cta-portfolio__phone {
  font-size: 26px;
  font-weight: 500;
  color: #222222 !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.cta-portfolio__buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.cta-portfolio__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none !important;
  transition: opacity 0.15s;
}

.cta-portfolio__btn:hover {
  opacity: 0.9;
}

.cta-portfolio__btn--red {
  background: #dc2632;
  color: #ffffff !important;
}

.cta-portfolio__btn--max {
  background: #e3cf9a;
  color: #4a3f24 !important;
}

@media (max-width: 600px) {
  .cta-portfolio {
    padding: 36px 20px;
  }
  .cta-portfolio__title {
    font-size: 22px;
  }
  .cta-portfolio__phones {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
  }
  .cta-portfolio__phone {
    font-size: 22px;
  }
  .cta-portfolio__buttons {
    flex-direction: column;
  }
  .cta-portfolio__btn {
    width: 100%;
    min-width: 0;
  }
}
