/* === КНОПКИ === */
.btn-cta {
  display: inline-block;
  background: var(--color-cta);
  color: var(--color-text) !important;
  border-radius: var(--radius-btn);
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
}
.btn-cta:hover { background: var(--color-cta-hover); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--color-brand) !important;
  border: 2px solid var(--color-brand);
  border-radius: var(--radius-btn);
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--color-brand); color: #fff !important; }

/* === ПРОМО-ПОЛОСА === */
.promo-bar {
  background: linear-gradient(90deg, #9333ea, #a855f7);
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  text-align: center;
  flex-wrap: wrap;
}
.promo-bar__text { color: #fff; font-size: 13px; font-weight: 500; }
.promo-bar__text strong { font-weight: 800; }

/* === ХЕДЕР === */
.site-header, #masthead { border-bottom: 1px solid var(--color-border) !important; }
.ast-site-identity .site-title a,
.ast-site-identity .custom-logo-link {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: var(--color-brand) !important;
  text-decoration: none !important;
}

/* === СЕКЦИИ === */
.section { padding: 60px 20px; }
.section--gray { background: #f9fafb; }
.section--lavender { background: var(--color-hero-bg); }
.section__label {
  font-size: 11px;
  color: var(--color-text-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.section__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.25;
}
.section__subtitle {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* === HERO ТЕГИ === */
.hero-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}
.hero-tag {
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-brand);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

/* === КАРТОЧКИ УСЛУГ === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.service-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-card);
  padding: 24px;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s, transform 0.2s;
  text-align: left;
}
.service-card:hover {
  box-shadow: 0 8px 24px rgba(147, 51, 234, 0.12);
  transform: translateY(-2px);
}
.service-card__rune {
  font-size: 52px;
  margin-bottom: 12px;
  display: block;
  line-height: 1;
  color: var(--color-brand);
}
.service-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}
.service-card__desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}
.service-card__price {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-brand);
  margin-bottom: 16px;
}

/* === ШАГИ === */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 32px;
  justify-content: center;
}
.step { flex: 1; text-align: center; max-width: 200px; }
.step__num {
  width: 48px;
  height: 48px;
  background: var(--color-hero-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 18px;
  font-weight: 800;
  color: var(--color-brand);
}
.step__title { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--color-text); }
.step__desc { font-size: 13px; color: var(--color-text-muted); line-height: 1.5; }
.step__arrow {
  padding-top: 16px;
  color: var(--color-border);
  font-size: 28px;
  flex-shrink: 0;
}

/* === ОТЗЫВЫ === */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.review-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-card);
  padding: 24px;
  border-left: 4px solid var(--color-brand-light);
}
.review-card__stars { color: var(--color-cta); font-size: 18px; margin-bottom: 10px; }
.review-card__text {
  font-size: 14px;
  color: #374151;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 14px;
}
.review-card__author { font-size: 13px; color: var(--color-text-muted); font-weight: 600; }

/* === О ПРАКТИКЕ === */
.about-block { display: flex; gap: 28px; align-items: flex-start; }
.about-block__avatar {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--color-hero-bg), #c4b5fd);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  border: 3px solid var(--color-border);
}
.about-block__name {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 6px;
}
.about-block__badge {
  display: inline-block;
  background: var(--color-hero-bg);
  color: var(--color-brand);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.about-block__text {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* === СКОРО === */
.soon-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}
.soon-tag {
  border: 1px dashed #d8b4fe;
  color: #a78bfa;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

/* === МЕССЕНДЖЕРЫ === */
.messenger-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-telegram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2AABEE;
  color: #fff !important;
  border-radius: var(--radius-btn);
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: opacity 0.2s;
}
.btn-telegram:hover { opacity: 0.85; }
.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff !important;
  border-radius: var(--radius-btn);
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: opacity 0.2s;
}
.btn-instagram:hover { opacity: 0.85; }

/* === ФУТЕР === */
.site-footer {
  background: #1a0f3c !important;
  color: #9ca3af !important;
}
.site-footer a { color: #c4b5fd !important; text-decoration: none; }
.site-footer a:hover { color: #fff !important; }
.footer-social {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-social a {
  background: rgba(255,255,255,0.08);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 768px) {
  .steps { flex-direction: column; align-items: center; gap: 20px; }
  .step__arrow { display: none; }
  .about-block { flex-direction: column; align-items: center; text-align: center; }
  .section__title { font-size: 24px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .promo-bar { gap: 10px; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .messenger-buttons { flex-direction: column; }
  .section { padding: 40px 16px; }
}

/* === ФУТЕР: скрыть брендинг Astra === */
.ast-footer-copyright,
.ast-builder-layout-element.ast-footer-copyright,
footer .ast-footer-copyright { display: none !important; }

/* Кастомный футер Fríðheimr */
#fridheimr-footer { background: #1a0f3c; padding: 40px 20px 24px; color: #9ca3af; font-family: var(--font-main, 'Inter', sans-serif); }
#fridheimr-footer .footer-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
#fridheimr-footer .footer-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
#fridheimr-footer .footer-links a { color: #c4b5fd; text-decoration: none; font-size: 13px; background: rgba(255,255,255,0.08); padding: 8px 18px; border-radius: 20px; transition: background 0.2s; }
#fridheimr-footer .footer-links a:hover { background: rgba(255,255,255,0.15); color: #fff; }
#fridheimr-footer .footer-copy { font-size: 12px; color: #6b7280; line-height: 1.7; }
#fridheimr-footer .footer-copy a { color: #6b7280; text-decoration: underline; }

/* Contact page: mobile responsive */
@media (max-width: 768px) {
  .section .container [style*="grid-template-columns:2fr 1fr"],
  .section .container [style*="grid-template-columns: 2fr 1fr"] { display: block !important; }
  .section .container [style*="grid-template-columns:2fr 1fr"] > div:last-child,
  .section .container [style*="grid-template-columns: 2fr 1fr"] > div:last-child { margin-top: 24px; position: static !important; }
}
