/* ===== СТИЛИ ДЛЯ ПОСАДОЧНЫХ СТРАНИЦ ===== */

/* --- Хлебные крошки --- */
.breadcrumb-wrapper {
  padding-top: 70px;
  padding-bottom: 0;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0rem 0;
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
}
.breadcrumb-list li {
  display: flex;
  align-items: center;
  color: var(--text-light);
}
.breadcrumb-list li a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--text-mid);
  text-decoration: none;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}
.breadcrumb-list li a:hover {
  color: var(--light-blue);
  background: rgba(37, 99, 235, 0.06);
}
.breadcrumb-list li a:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
  border-radius: 4px;
}
.breadcrumb-list li:first-child a {
  padding-left: 0;
}
.breadcrumb-list li + li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0 0.2rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%2394a3b8' d='M6.47 4.29a.75.75 0 0 1 1.06 0l3 3a.75.75 0 0 1 0 1.06l-3 3a.75.75 0 1 1-1.06-1.06L8.94 8 6.47 5.53a.75.75 0 0 1 0-1.06z'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.5;
}
.breadcrumb-list li:last-child {
  color: var(--dark-blue);
  font-weight: 600;
  pointer-events: none;
}
.breadcrumb-list li:first-child a::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16'%3E%3Cpath fill='%2394a3b8' d='M8.354 1.146a.5.5 0 0 0-.708 0l-7 7a.5.5 0 0 0 .708.708L8 2.207l6.146 6.147a.5.5 0 0 0 .708-.708l-7-7z'/%3E%3Cpath fill='%2394a3b8' d='M6.5 1.5a.5.5 0 0 1 .5.5v5.793l1.146-1.147a.5.5 0 0 1 .708.708l-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 1 1 .708-.708L6 7.793V2a.5.5 0 0 1 .5-.5z'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}

/* --- Герой посадочной страницы --- */
.page-hero {
  background: linear-gradient(135deg, #0d1b3e 0%, #1a3a6b 100%);
  padding: 2rem 0 3rem;
  color: #fff;
}
.page-hero-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.page-hero-title .accent { color: var(--accent-orange); }
.page-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.page-hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.page-hero-feature {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 500;
}
.page-hero-feature i { color: var(--accent-green); }

/* Исправление высоты карточек на внутренних страницах */
.step-card {
  height: auto !important;
}

/* --- Блок с кнопкой CTA --- */
.cta-inline {
  background: #fffbeb;
  border: 2px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  text-align: center;
}
.cta-inline-title {
  font-size: 1.2rem;
  color: var(--dark-blue);
  margin-bottom: 0.5rem;
}
.cta-inline p {
  color: var(--text-mid);
  margin-bottom: 1rem;
}

/* --- Сопутствующие ссылки --- */
.related-pages {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin-top: 2rem;
}
.related-pages h3 {
  font-size: 1rem;
  color: var(--dark-blue);
  margin-bottom: 0.75rem;
}
.related-pages ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.related-pages ul li a {
  font-size: 0.92rem;
  color: var(--light-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}
.related-pages ul li a:hover {
  text-decoration: underline;
  color: var(--accent-orange);
}
.related-pages ul li a:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
  border-radius: 2px;
}

/* --- Адаптив --- */
@media (max-width: 767px) {
  .breadcrumb-wrapper { padding-top: 72px; padding-bottom: 0; }
  .breadcrumb-list { font-size: 0.78rem; padding: 0.45rem 0; }
  .breadcrumb-list li a { padding: 0.15rem 0.35rem; }
  .page-hero { padding: 1.5rem 0 2rem; }
  .page-hero-title { font-size: 1.3rem; }
  .page-hero-subtitle { font-size: 0.95rem; }
  .cta-inline { padding: 1.25rem; }
  .cta-inline-title { font-size: 1.05rem; }
  .related-pages { padding: 1.25rem; }
  .related-pages ul { flex-direction: column; gap: 0.3rem; }
}

/* --- Статья/Блог --- */
.article-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark-blue);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-top: 0.5rem;
  border-top: 2px solid var(--accent-orange);
  display: inline-block;
}
.article-content h2:first-child {
  margin-top: 0;
}
.article-content p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}
.article-content ul {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
}
.article-content ul li {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.3rem;
  color: var(--text-dark);
}
.article-content a {
  color: var(--light-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}
.article-content a:hover {
  text-decoration: underline;
  color: var(--accent-orange);
}
.article-content a:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
  border-radius: 2px;
}
.article-lead {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--dark-blue);
  border-left: 4px solid var(--accent-orange);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}
.article-cta {
  background: linear-gradient(135deg, #0d1b3e 0%, #1a3a6b 100%);
  border-radius: var(--radius-md);
  padding: 2rem;
  color: #fff;
  text-align: center;
}
.article-cta h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.article-cta p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.article-cta .btn-outline-light {
  border-color: rgba(255,255,255,0.4);
}

@media (max-width: 767px) {
  .article-content h2 { font-size: 1.2rem; }
  .article-lead { font-size: 1rem; }
  .article-cta { padding: 1.25rem; }
  .article-cta h3 { font-size: 1.1rem; }
}

/* ===== БЛОГ-КАРТОЧКИ НА ГЛАВНОЙ ===== */
.blog-card {
  display: block;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.blog-card:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
  border-radius: var(--radius);
}
.blog-card-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--light-blue);
  font-size: 1.2rem;
}
.blog-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 0.4rem;
}
.blog-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .blog-card { padding: 1.25rem; }
  .blog-card h3 { font-size: 0.95rem; }
}



/* ===== КРОСС-ЛИНКИ (борьба с каннибализацией) ===== */
.article-crosslink {
  margin-bottom: 0.5rem;
}
.crosslink-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.9rem 1.25rem;
  border-radius: 8px;
  font-size: 0.92rem;
  line-height: 1.5;
}
.crosslink-commercial {
  background: linear-gradient(135deg, #fff8f0 0%, #fff3e6 100%);
  border: 1.5px solid #f59e42;
}
.crosslink-btn {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--accent-orange, #f59e42);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.crosslink-btn:hover {
  color: #c97a10;
  text-decoration: underline;
}
@media (max-width: 575px) {
  .crosslink-btn { white-space: normal; }
}
