/* MarkOnline style: black bg, white text, red accent */
:root {
  --bg: #0a0a0a;
  --bg-card: #141414;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.75);
  --accent: #e63946;
  --accent-hover: #ff4757;
  --border: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Onest', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 32px; /* 50% высоты шапки (64px) */
  width: auto;
  display: block;
}

.logo:hover img {
  opacity: 0.9;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.btn-outline {
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-primary {
  background: var(--accent);
  color: var(--text);
  border: none;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

/* Hero */
.hero {
  padding: 80px 0 60px;
}

.hero-image-wrap {
  margin: 24px 0 20px;
}

.hero-image {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
}

.hero-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.25;
}

.hero-br {
  display: block;
}

.hero-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0;
}

/* Sections */
.section {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.section-dark {
  background: var(--bg-card);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 24px;
}

.subsection-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 32px 0 16px;
}

/* Grid */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--accent);
}

.card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.card-goal p {
  margin-bottom: 8px;
}

.card-goal p:last-child {
  margin-bottom: 0;
}

.goal-numbers {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.goal-num {
  font-weight: 700;
  color: var(--text);
}

.goal-num-target {
  color: var(--accent);
}

.directions-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.directions-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.directions-list li:last-child {
  border-bottom: none;
}

.direction-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(230, 57, 70, 0.15);
  color: var(--accent);
}

/* Numbers */
.numbers-block {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin: 32px 0;
  padding: 32px;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.number-item {
  text-align: center;
}

.number-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
}

.number-item-target .number-value {
  color: var(--accent);
}

.number-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.number-arrow {
  font-size: 1.5rem;
  color: var(--text-muted);
}

.note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* Площадки (иконки рекламных систем) */
.platforms-label {
  margin: 0 0 12px;
  font-size: 0.9375rem;
}

.platforms-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.platforms-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.platform-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
}

.platforms-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0 0 16px;
}

/* Lists */
.list-check,
.list-dots {
  margin: 0;
  padding-left: 1.25rem;
}

.list-check li {
  margin-bottom: 10px;
  position: relative;
}

.list-check li::marker {
  color: var(--accent);
}

.list-dots li {
  margin-bottom: 10px;
}

.list-dots li::marker {
  color: var(--accent);
}

.small {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Campaign blocks */
.block-campaign {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 32px;
}

.block-campaign-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.badge {
  background: var(--accent);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}

.block-campaign h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.block-campaign-desc {
  margin: 0 0 16px;
  color: var(--text-muted);
}

.media-coverage {
  margin: 16px 0;
  padding: 16px;
  background: rgba(230, 57, 70, 0.08);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
}

.media-coverage p {
  margin: 0 0 8px;
  font-size: 0.9375rem;
}

.media-coverage p:last-child {
  margin-bottom: 0;
}

.example-set {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 16px 0;
  padding: 16px;
  background: var(--bg-card);
  border-radius: 6px;
}

.example-set-caption {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 16px 0 12px;
}

.example-set-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 14px;
}

@media (max-width: 640px) {
  .example-set-columns {
    grid-template-columns: 1fr;
  }
}

.example-set-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px 20px;
}

.example-set-col-title {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.example-set-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.example-set-list li {
  margin-bottom: 6px;
}

.example-set-list li::marker {
  color: var(--accent);
}

.example-set-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* Pricing */
.pricing-box {
  margin-top: 24px;
  padding: 20px;
  background: var(--bg-card);
  border-radius: 8px;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}

.pricing-row:last-of-type {
  border-bottom: none;
}

.pricing-row-total {
  font-weight: 700;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.pricing-row-total strong {
  color: var(--accent);
}

/* Выделение «без лимита»: красный, подчёркивание, жирный, на 2 кегля больше */
.highlight-unlimited {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 700;
  font-size: 1.125em;
}

/* Блок про безлимит после Части 2 */
.block-unlimited {
  background: rgba(230, 57, 70, 0.08);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 32px;
}

.block-unlimited h4 {
  margin: 0 0 12px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}

.block-unlimited p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.block-unlimited p + p {
  margin-top: 10px;
}

/* Блок про Keitaro */
.block-keitaro {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 32px;
}

.block-keitaro-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.block-keitaro-logo {
  flex-shrink: 0;
  border-radius: 8px;
}

.block-keitaro-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.block-keitaro-desc {
  margin: 0 0 20px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.block-keitaro-case-caption {
  margin: 0 0 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.block-keitaro-table-wrap {
  overflow-x: auto;
  margin-bottom: 16px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.block-keitaro-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.block-keitaro-table th,
.block-keitaro-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.block-keitaro-table th {
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.block-keitaro-table tbody tr:last-child td {
  border-bottom: none;
}

.block-keitaro-table tbody tr:last-child td:last-child {
  color: var(--accent);
  font-weight: 600;
}

.block-keitaro-note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Блок бота: QR на ПК, синяя кнопка на мобильных */
.bot-block-wrap {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.bot-block-qr {
  text-align: center;
}

.bot-block-qr a {
  display: inline-block;
  line-height: 0;
}

.bot-block-qr img {
  display: block;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
}

.bot-block-qr a:hover img {
  opacity: 0.9;
}

.bot-block-qr-caption {
  margin: 12px 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Синяя кнопка Telegram — показывается только на мобильных */
.bot-block-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 136, 204, 0.4);
  position: relative;
  overflow: hidden;
}

.bot-block-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: bot-btn-shimmer 2.5s ease-in-out infinite;
}

@keyframes bot-btn-shimmer {
  0% { left: -100%; }
  60%, 100% { left: 100%; }
}

.bot-block-btn:hover {
  background: linear-gradient(135deg, #0077b5 0%, #1a8fd4 100%);
  color: #fff;
}

.bot-block-btn-icon {
  display: inline-flex;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .bot-block-qr {
    display: none;
  }
  .bot-block-btn {
    display: inline-flex;
  }
}

/* Team */
.team-grid {
  display: grid;
  gap: 20px;
}

.team-grid--key {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 24px;
}

.team-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 20px;
}

/* 5 карточек в первой строке, 4 во второй (5+4); оба ряда отцентрованы */
.team-grid--rest {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 680px;
  margin: 0 auto;
}

.team-grid--rest .team-card {
  flex: 0 0 120px;
  width: 120px;
}

@media (max-width: 640px) {
  .team-grid--key {
    grid-template-columns: 1fr;
  }
  .team-grid--rest {
    max-width: none;
  }
  .team-grid--rest .team-card {
    flex: 0 0 calc(50% - 8px);
    width: auto;
    max-width: none;
  }
}

.team-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}

.team-card--key {
  padding: 24px 20px;
}

.team-card--small {
  padding: 12px;
}

.team-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: block;
}

.team-card--key .team-photo {
  max-width: 200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.team-card--small .team-photo {
  max-width: 72px;
  margin-left: auto;
  margin-right: auto;
}

.team-name {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 0.9375rem;
  line-height: 1.2;
}

.team-card--key .team-name {
  font-size: 1.0625rem;
}

.team-card--small .team-name {
  font-size: 0.8125rem;
}

.team-role {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.25;
}

.team-card--key .team-role {
  font-size: 0.875rem;
}

.team-card--small .team-role {
  font-size: 0.75rem;
}

.team-more {
  margin-top: 24px;
}

.team-more a {
  color: var(--accent);
  text-decoration: none;
}

.team-more a:hover {
  text-decoration: underline;
}

/* Блок скидки -10% */
.discount-block-wrap {
  padding-top: 0;
  padding-bottom: 0;
}

.discount-block {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px 36px;
  background: rgba(230, 57, 70, 0.08);
  border: 1px solid var(--accent);
  border-radius: 12px;
}

.discount-block-value {
  flex-shrink: 0;
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.discount-block-text {
  flex: 1;
  min-width: 0;
}

.discount-block-text p {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .discount-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 32px 24px;
  }

  .discount-block-value {
    font-size: clamp(3.5rem, 20vw, 5rem);
  }

  .discount-block-text p {
    font-size: 1rem;
  }
}

/* Docs */
.docs-note {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: 16px;
}

.docs-intro {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 12px;
  line-height: 1.55;
}

.docs-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 20px;
  font-style: italic;
}

.docs-file-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.docs-file-actions .docs-btn {
  flex-shrink: 0;
}

/* Модальное окно просмотра PDF */
.docs-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  box-sizing: border-box;
}

.docs-modal.docs-modal-open {
  opacity: 1;
  visibility: visible;
}

.docs-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.docs-modal-box {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  max-width: min(90vw, 100%);
  max-height: min(90vh, calc(100vh - 32px));
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.docs-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.docs-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.docs-modal-body {
  padding: 24px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-height: 0;
  flex: 1;
}

#docs-pdf-canvas {
  max-width: 100%;
  height: auto;
  background: #fff;
  border-radius: 4px;
}

.docs-pdf-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  flex-shrink: 0;
}

/* Кнопки в поп-апе: белый текст на чёрном фоне */
.docs-modal .docs-pdf-prev,
.docs-modal .docs-pdf-next {
  background: #000;
  color: #fff;
  border-color: #000;
}

.docs-modal .docs-pdf-prev:hover:not(:disabled),
.docs-modal .docs-pdf-next:hover:not(:disabled) {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.docs-modal .docs-pdf-prev:disabled,
.docs-modal .docs-pdf-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.docs-pdf-pages {
  font-size: 0.875rem;
  color: var(--text-muted);
  min-width: 4em;
  text-align: center;
}

/* Summary */
.section-cta {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg) 100%);
}

.summary-table {
  width: 100%;
  max-width: 100%;
  margin: 0 0 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  line-height: 1.4;
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-row span:first-child {
  flex: 1;
  min-width: 0;
}

.summary-row span:last-child {
  flex-shrink: 0;
  text-align: right;
  white-space: nowrap;
}

.summary-row-total {
  background: rgba(230, 57, 70, 0.12);
  font-weight: 700;
}

.summary-row-total span:last-child {
  color: var(--accent);
}

.summary-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.cta-block {
  text-align: center;
}

.cta-block .btn {
  padding: 14px 32px;
  font-size: 1rem;
}

/* Regalia */
.regalia-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 20px;
  line-height: 1.6;
}

.contacts {
  font-size: 0.9375rem;
}

.contacts a {
  color: var(--accent);
  text-decoration: none;
}

.contacts a:hover {
  text-decoration: underline;
}

/* Дипломы и рейтинги */
.diplomas-intro {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 32px;
  line-height: 1.55;
}

.diploma-category {
  margin-bottom: 40px;
}

.diploma-category:last-child {
  margin-bottom: 0;
}

.diploma-category-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}

.diploma-category-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 16px;
  line-height: 1.45;
}

.diploma-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .diploma-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (min-width: 900px) {
  .diploma-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.diploma-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.diploma-card:hover {
  border-color: var(--accent);
  background: rgba(230, 57, 70, 0.06);
}

.diploma-card-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='1.5'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3Cpath d='M10 9H8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 48px;
  overflow: hidden;
}

.diploma-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  /* Полноразмерный рендер масштабируется контейнером — чёткое отображение на экране */
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.diploma-card-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
}

.diploma-modal-title {
  margin: 0 0 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

.diploma-page-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-shrink: 0;
  margin-top: 8px;
}

.diploma-page-nav .docs-pdf-pages {
  min-width: 3em;
}

/* Footer */
.footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer .contacts {
  margin: 0;
}

.footer-cta {
  flex-shrink: 0;
}

.footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--accent);
}

.footer .contacts a {
  color: var(--accent);
}
