/* SEO-страницы vikna.uno: поверх style.css лендинга */

.seo-main {
  position: relative;
  overflow: hidden;
  padding: 40px 0 64px;
  background: #f8fafc;
  min-height: 60vh;
}

.seo-bg-layer {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.seo-bg-pattern {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(9, 100, 252, 0.05) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  opacity: 0.85;
}

.seo-bg-glow-1 {
  top: 80px;
  right: -180px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(9, 100, 252, 0.09) 0%, rgba(109, 61, 240, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  will-change: transform;
}

.seo-bg-glow-2 {
  top: 850px;
  left: -220px;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, rgba(9, 100, 252, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  will-change: transform;
}

.seo-main-content {
  position: relative;
  z-index: 1;
}

.seo-header .nav-link,
.seo-header .nav-lang {
  color: var(--bg-dark);
  font-weight: 600;
  text-decoration: none;
  padding: 8px 12px;
}

.seo-header .nav-link:hover,
.seo-header .nav-lang:hover {
  color: var(--primary);
}

.seo-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 28px;
}

.seo-breadcrumbs a {
  color: var(--primary);
  text-decoration: none;
}

.seo-breadcrumbs a:hover {
  text-decoration: underline;
}

.seo-breadcrumbs-sep {
  color: #94a3b8;
}

.seo-page-hero {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  background: url('../img/pattern-windows.svg') repeat, linear-gradient(135deg, var(--primary-light), #ffffff);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
}

.seo-service-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  color: var(--primary);
}


.seo-page-hero-text {
  flex: 1;
  max-width: 720px;
}

.seo-h1 {
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.2;
  color: var(--bg-dark);
  margin: 0 0 16px;
  font-weight: 800;
}

.seo-intro {
  font-size: 17px;
  line-height: 1.65;
  color: #334155;
  margin: 0 0 24px;
}

.seo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.seo-phone-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  white-space: nowrap;
}

.seo-page-hero-img {
  width: 260px;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
  box-shadow: 0 12px 30px rgba(9, 100, 252, 0.15);
}

.seo-section {
  margin-bottom: 44px;
}

.seo-h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--bg-dark);
  margin: 0 0 18px;
}

.seo-section p {
  line-height: 1.7;
  color: #334155;
}

.seo-prices {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 28px;
}

.seo-price-from {
  font-size: 18px;
  margin: 0 0 16px;
}

.seo-price-from strong {
  color: var(--primary);
  font-size: 22px;
}

.seo-price-table-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(10, 14, 39, 0.04);
  padding: 8px;
  margin-bottom: 24px;
}

.seo-price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.seo-price-table th {
  background: var(--bg-light);
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 16px;
  border-bottom: 2px solid #cbd5e1;
}

.seo-price-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
  color: #334155;
  vertical-align: middle;
}

.seo-price-table tr:last-child td {
  border-bottom: none;
}

.seo-price-table tr:hover td {
  background: rgba(9, 100, 252, 0.03);
}

.seo-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.seo-step {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 24px;
  border-top: 3px solid var(--primary);
}

.seo-step-num {
  display: inline-block;
  font-weight: 800;
  color: var(--primary);
  font-size: 20px;
  margin-bottom: 8px;
}

.seo-step h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--bg-dark);
}

.seo-step p {
  font-size: 14px;
  margin: 0;
}

.seo-work-list {
  padding-left: 20px;
  line-height: 2;
  color: #334155;
}

.seo-location-about {
  max-width: 820px;
}

.seo-body-extra {
  line-height: 1.7;
  color: #334155;
}

/* Тот же типографический ритм, что и у md-статей (.vk-article) — для парных страниц и прайса */
.seo-body-extra p {
  margin-bottom: 1em;
  line-height: 1.65;
}
.seo-body-extra h2 {
  line-height: 1.22;
  margin-top: 28px;
  margin-bottom: 14px;
}
.seo-body-extra h2:first-child {
  margin-top: 0;
}
.seo-body-extra h3 {
  line-height: 1.25;
  margin-top: 20px;
  margin-bottom: 10px;
}
.seo-body-extra ul,
.seo-body-extra ol {
  margin: 0 0 1em;
  padding-left: 22px;
}
.seo-body-extra li {
  margin-bottom: 6px;
}

.seo-faq .faq-item {
  margin-bottom: 10px;
}

.seo-lead {
  background: url('../img/pattern-tools.svg') repeat, linear-gradient(135deg, var(--primary-light), #ffffff);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 10px 30px rgba(9, 100, 252, 0.06);
}

.seo-lead-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.seo-lead-form-col {
  flex: 1;
  min-width: 0;
}

.seo-lead-form {
  width: 100%;
  max-width: 100%;
}

.seo-lead-master-col {
  width: 380px;
  flex-shrink: 0;
}

.seo-lead-master-card {
  position: relative;
  background: linear-gradient(145deg, #ffffff 0%, #edf5ff 100%);
  border-radius: 24px;
  padding: 20px;
  border: 1px solid #bfdbfe;
  box-shadow: 0 18px 46px rgba(9, 100, 252, 0.16);
  text-align: center;
  transition: transform 0.3s ease;
}

.seo-lead-master-card:hover {
  transform: translateY(-4px);
}

.seo-lead-master-img {
  width: 100%;
  max-width: 340px;
  height: 380px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(10, 14, 39, 0.12);
}

.seo-lead-master-badge,
.seo-lead-master-guarantee {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bg-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin: 4px 2px;
}

@media (max-width: 860px) {
  .seo-lead-container {
    flex-direction: column-reverse;
    gap: 24px;
  }

  .seo-lead-master-col {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

.seo-hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.seo-lead-success {
  background: #dcfce7;
  color: #166534;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 16px;
  font-weight: 600;
}

.btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  background: #f1f5f9;
  color: var(--bg-dark);
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.btn-sm:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 6px 16px rgba(9, 100, 252, 0.28);
  transform: translateY(-1px);
}

.seo-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.seo-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 22px;
  color: var(--bg-dark);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
  box-shadow: 0 2px 8px rgba(10, 14, 39, 0.03);
}

.seo-link-card::after {
  content: '→';
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-left: 12px;
  transition: transform 0.25s ease;
}

.seo-link-card:hover {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(9, 100, 252, 0.15);
  color: var(--primary);
  transform: translateY(-3px);
}

.seo-link-card:hover::after {
  transform: translateX(5px);
}

.seo-hub-desc {
  margin-bottom: 18px;
}

/* Хабы: карточки услуг/районов */
.seo-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 44px;
}

.seo-hub-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.seo-hub-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 26px rgba(9, 100, 252, 0.1);
}

.seo-hub-card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--bg-dark);
  margin: 0 0 8px;
}

.seo-hub-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 12px;
}

.seo-hub-card-price {
  font-size: 15px;
  color: #475569;
  margin: 0 0 14px;
}

.seo-hub-card-price strong {
  color: var(--primary);
  font-size: 19px;
}

.seo-hub-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-chip {
  display: inline-block;
  padding: 7px 14px;
  background: var(--bg-light);
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bg-dark);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.seo-chip:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* HTML-карта сайта */
.seo-sitemap-group {
  margin-bottom: 24px;
}

.seo-sitemap-group-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--bg-dark);
  margin: 0 0 12px;
}

/* Футер: навигационные ссылки */
.footer-nav-list a {
  color: inherit;
  text-decoration: none;
}

.footer-nav-list a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.seo-cta-mid {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 24px;
  padding: 36px 40px;
  color: #fff;
  overflow: hidden;
}

.seo-cta-mid-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.seo-cta-mid-content {
  flex: 1;
  min-width: 0;
}

.seo-cta-mid-img-col {
  width: 280px;
  flex-shrink: 0;
}

.seo-cta-mid-img {
  width: 100%;
  max-width: 280px;
  height: 240px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 18px;
  display: block;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.seo-cta-mid-img:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .seo-cta-mid-container {
    flex-direction: column;
    gap: 20px;
  }

  .seo-cta-mid-img-col {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
}

.seo-cta-mid-title {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 800;
}

/* Заголовок CTA на тёмном градиенте — всегда белый.
   Без этого правила внутри .vk-article его перебивает
   «.vk-article h2 { color: var(--bg-dark) }» (специфичность 0,1,1 > 0,1,0). */
.seo-cta-mid .seo-cta-mid-title {
  color: #ffffff;
}

.seo-cta-mid .seo-cta-mid-text {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.95);
  max-width: 640px;
}

.seo-cta-mid .seo-phone-link {
  color: #fff;
}

/* Кнопка на синем фоне CTA — белая, иначе сливается */
.seo-cta-mid .btn-primary {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.seo-reviews-grid,
.seo-cases-grid,
.seo-symptoms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.seo-review-card,
.seo-case-card,
.seo-symptom-card {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
}

.seo-review-text {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 14px;
}

.seo-review-author {
  font-weight: 700;
  color: var(--bg-dark);
  font-size: 14px;
}

.seo-case-title,
.seo-symptom-title {
  font-size: 17px;
  margin: 0 0 12px;
  color: var(--bg-dark);
}

.seo-case-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.seo-case-imgs figure {
  margin: 0;
}

.seo-case-imgs img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.seo-case-imgs figcaption {
  font-size: 12px;
  color: #64748b;
  text-align: center;
  margin-top: 4px;
}

.seo-case-text,
.seo-symptom-text {
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
  margin: 0;
}

.seo-symptom-img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

.seo-guarantees-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.seo-guarantee {
  background: var(--primary-light);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

.seo-guarantee-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
}

.seo-guarantee-title {
  font-size: 15px;
  margin: 0 0 6px;
  color: var(--bg-dark);
}

.seo-guarantee-text {
  font-size: 13px;
  color: #334155;
  margin: 0;
  line-height: 1.5;
}

/* Липкая мобильная кнопка */
.seo-sticky-call {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #e2e8f0;
  gap: 10px;
  align-items: center;
}

.seo-sticky-call .seo-sticky-btn {
  flex: 1;
}

.seo-sticky-call .seo-sticky-tel {
  font-weight: 800;
  color: var(--bg-dark);
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
}

/* C1: dropdown меню */
.dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: -12px;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dropdown-caret {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.25s ease;
}

.dropdown:hover .dropdown-caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  opacity: 0;
  visibility: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  max-width: 92vw;
  max-height: min(70vh, 560px);
  overflow-y: auto;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 18px 40px rgba(10, 14, 39, 0.14);
  padding: 8px;
  z-index: 1000;
  transform: translateY(4px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Много пунктов (≥9) — раскладываем в две колонки */
.dropdown:hover .dropdown-menu:has(> :nth-child(9)),
.dropdown.open .dropdown-menu:has(> :nth-child(9)) {
  grid-template-columns: 1fr 1fr;
  min-width: 540px;
}

.dropdown-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--bg-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-menu a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

@media (max-width: 768px) {
  .seo-main {
    padding: 96px 0 40px;
  }

  .seo-page-hero {
    flex-direction: column;
    padding: 24px;
  }

  .seo-page-hero-img {
    width: 100%;
    height: 180px;
  }

  .seo-steps-grid {
    grid-template-columns: 1fr;
  }

  .seo-hub-grid {
    grid-template-columns: 1fr;
  }

  .seo-reviews-grid,
  .seo-cases-grid,
  .seo-symptoms-grid {
    grid-template-columns: 1fr;
  }

  .seo-guarantees-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .seo-cta-mid {
    padding: 26px 20px;
  }

  .seo-sticky-call {
    display: flex;
  }

  .seo-main {
    padding-bottom: 96px;
  }

  .dropdown-menu {
    position: fixed;
    top: 64px;
    left: 12px;
    right: 12px;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }

  .seo-header .nav {
    gap: 10px;
  }

  .seo-header .nav-link {
    padding: 6px 8px;
    font-size: 14px;
  }
}

/* B: липкая кнопка прячется, когда форма в зоне видимости (IntersectionObserver) */
.seo-sticky-call.seo-sticky-hidden {
  display: none;
}

/* Мессенджеры в мобильной шапке SEO-страниц — как на лендинге */
.seo-header-messengers {
  margin-left: auto;
  margin-right: 10px;
  gap: 8px;
  align-items: center;
}

.seo-header-messengers .messenger-link {
  width: 40px;
  height: 40px;
}

/* ============ Эффекты: градиенты ============ */
/* Градиентные акценты (синий → фиолетовый → голубой) */
.seo-cta-mid {
  background: linear-gradient(135deg, #0964fc 0%, #6d3df0 58%, #4c1d95 100%);
}

.seo-breadcrumbs-sep {
  color: #7c3aed;
}

.seo-hub-card,
.seo-case-card,
.seo-symptom-card,
.seo-review-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.seo-hub-card:hover,
.seo-case-card:hover,
.seo-symptom-card:hover,
.seo-review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(109, 61, 240, 0.16);
}

.seo-hub-card,
.seo-case-imgs,
.seo-symptom-card {
  overflow: hidden;
}

.seo-hub-card-img,
.seo-case-imgs img,
.seo-symptom-img {
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.seo-hub-card:hover .seo-hub-card-img,
.seo-case-card:hover .seo-case-imgs img,
.seo-symptom-card:hover .seo-symptom-img {
  transform: scale(1.05);
}

/* ============ Контент-пакет: шаблоны статей (префикс .vk-, добавка) ============ */

/* Оглавление статьи */
.vk-toc {
  background: var(--primary-light);
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 40px;
}

.vk-toc summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: var(--bg-dark);
}

.vk-toc-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.vk-toc-list a {
  color: var(--primary);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.5;
}

.vk-toc-list a:hover {
  text-decoration: underline;
}

/* Типографика тела статьи (body_html) */
.vk-article h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--bg-dark);
  margin: 34px 0 16px;
}

.vk-article h2:first-child {
  margin-top: 0;
}

.vk-article h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--bg-dark);
  margin: 26px 0 12px;
}

.vk-article p {
  font-size: 17px;
  line-height: 1.7;
  color: #334155;
  margin: 0 0 16px;
}

.vk-article ul,
.vk-article ol {
  padding-left: 20px;
  line-height: 2;
  color: #334155;
  margin: 0 0 16px;
}

.vk-article a {
  color: var(--primary);
}

/* Картинки из markdown в теле статьи */
.vk-article-img {
  display: block;
  max-width: 320px;
  width: 100%;
  height: auto;
  float: right;
  border-radius: 14px;
  margin: 6px 0 14px 22px;
  box-shadow: 0 8px 24px rgba(10, 14, 39, 0.08);
  cursor: zoom-in;
}

@media (max-width: 640px) {
  .vk-article-img {
    float: none;
    max-width: 100%;
    margin: 10px auto 16px;
  }
}

/* Лайтбокс: клик по картинке статьи — увеличение */
.vk-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 14, 39, 0.9);
  padding: 24px;
}
.vk-lightbox.open {
  display: flex;
}
.vk-lightbox img {
  max-width: 94vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}
.vk-lightbox-close {
  position: absolute;
  top: 14px;
  right: 22px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.9;
}
.vk-lightbox-close:hover {
  opacity: 1;
}

.vk-article blockquote {
  margin: 0 0 16px;
  padding: 14px 18px;
  background: var(--bg-light);
  border-left: 3px solid var(--primary);
  border-radius: 10px;
  color: #334155;
  font-size: 15px;
  line-height: 1.6;
}

/* Таблицы: горизонтальный скролл на мобильных, градиентная шапка, зебра */
.vk-table-wrap {
  overflow-x: auto;
  margin: 0 0 18px;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.vk-table-wrap table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  text-align: left;
}

.vk-table-wrap th {
  background: linear-gradient(135deg, #0964fc 0%, #7c3aed 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 14px;
}

.vk-table-wrap td {
  padding: 12px 14px;
  font-size: 14px;
  color: #334155;
  border-bottom: 1px solid #e2e8f0;
}

.vk-table-wrap tbody tr:nth-child(even) td {
  background: #f8fafc;
}

.vk-table-wrap td:first-child,
.vk-table-wrap th:first-child {
  font-weight: 700;
}

.vk-table-wrap tbody tr:hover td {
  background: rgba(9, 100, 252, 0.05);
}

/* Бейдж [проверить] — цена уточняется (подсветка, не скрываем) */
.vk-check {
  display: inline-block;
  background: #fbbf24;
  color: #78350f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  padding: 3px 10px;
  border-radius: 999px;
  vertical-align: middle;
  white-space: nowrap;
}

/* Вердикт сравнительного гайда */
.vk-verdict {
  background: linear-gradient(135deg, #0964fc 0%, #6d3df0 58%, #4c1d95 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 28px 32px;
  margin-bottom: 44px;
}

.vk-verdict .seo-h2 {
  color: #ffffff;
  margin-bottom: 10px;
}

.vk-verdict p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
}

/* Карточка района (local-landing) */
.vk-district {
  background: var(--bg-light);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 26px;
  margin-bottom: 44px;
}

.vk-district-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.vk-district-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
}

.vk-district-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.vk-district-item strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 4px;
}

.vk-district-item span {
  font-size: 15px;
  font-weight: 600;
  color: var(--bg-dark);
}

@media (max-width: 768px) {
  .vk-district-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ Мобильная шапка SEO-страниц: гамбургер вместо нав ============ */
/* Планшет 769–1024px: полная навигация не помещается — сворачиваем в бургер */
@media (min-width: 769px) and (max-width: 1024px) {
  .seo-header .nav {
    display: none;
  }

  .seo-header .seo-burger {
    display: flex !important;
    margin-left: auto;
  }

  .seo-header .seo-header-messengers {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .seo-header {
    position: static;
  }

  .seo-header .header-content {
    padding: 8px 0;
  }

  .seo-header .nav {
    display: none;
  }

  .seo-burger {
    margin-left: auto;
  }

  .seo-mobile-menu.active {
    display: block;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  .seo-mobile-menu .mobile-menu-link-sub {
    padding-left: 28px;
    font-size: 15px;
  }

  .seo-main {
    padding-top: 24px;
  }

  .seo-page-hero .seo-hero-actions .seo-phone-link {
    display: none;
  }

}

/* FAQ: шеврон-аффорданс для всех вьюпортов */
.seo-faq .faq-question {
  cursor: pointer;
}

.seo-faq .faq-question-icon {
  border: 1px solid rgba(9, 100, 252, 0.25);
  width: 36px;
  height: 36px;
  min-width: 36px;
  max-width: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(9, 100, 252, 0.06);
  padding: 0;
  box-sizing: border-box;
}

.seo-faq .faq-question-icon svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.seo-faq .faq-item.active .faq-question-icon svg {
  transform: rotate(180deg);
}

/* Hero: один CTA (кнопка), телефон остаётся в шапке/липком баре */
.seo-hero-actions .seo-phone-link {
  display: none;
}

/* Мобильные таблицы цен → карточки вместо горизонтального скролла */
@media (max-width: 768px) {
  .seo-price-table-wrap {
    overflow: visible;
    padding: 4px;
  }

  .seo-price-table,
  .seo-price-table tbody {
    display: block;
    width: 100%;
  }

  .seo-price-table thead {
    display: none;
  }

  .seo-price-table tr {
    display: block;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(10, 14, 39, 0.04);
  }

  .seo-price-table td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 6px 0;
    border: none;
  }

  .seo-price-table td:first-child {
    display: block;
    font-weight: 600;
  }

  .seo-price-table td:first-child small {
    display: block;
    font-weight: 400;
    margin-top: 2px;
  }

  .seo-price-table td::before {
    content: attr(data-label);
    flex-shrink: 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }

  .seo-price-table td:first-child::before {
    display: none;
  }

  .seo-price-table td:last-child {
    justify-content: flex-start;
  }
}

/* Section 4: Белые ссылки в блоке "Навігація" в футере */
.footer-nav-list {
  padding-left: 0;
  list-style: none;
}
.footer-nav-list li {
  padding-left: 0 !important;
  opacity: 1 !important;
}
.footer-nav-list li::before {
  content: none !important;
}
.footer-nav-list a {
  color: #ffffff !important;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.95;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.footer-nav-list a:hover {
  color: var(--primary, #0964fc) !important;
  opacity: 1;
}

/* Section 5: Форма конверсии на мобильных (растягивание, без двойной рамки) */
@media (max-width: 768px) {
  .seo-lead {
    padding: 20px 16px;
    border-radius: 16px;
    box-shadow: none;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
  }
  .seo-lead-container {
    flex-direction: column;
    gap: 24px;
  }
  .seo-lead-form-col {
    width: 100%;
  }
  .seo-lead-form .form-input {
    font-size: 16px !important;
  }
  .seo-lead-master-col {
    width: 100%;
    flex-shrink: 1;
  }
  .seo-lead-master-card {
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(9, 100, 252, 0.08);
  }
}

/* Section 6: Типографика и отступы секций на SEO-страницах */
.seo-section {
  margin-bottom: 26px;
}
@media (max-width: 768px) {
  .seo-section {
    margin-bottom: 20px;
  }
}
.seo-h1, .vk-article h1 {
  line-height: 1.18;
}
.seo-h2, .vk-article h2 {
  line-height: 1.22;
  margin-top: 28px;
  margin-bottom: 14px;
}
.seo-h2:first-child, .vk-article h2:first-child {
  margin-top: 0;
}
.vk-article h3 {
  line-height: 1.25;
  margin-top: 20px;
  margin-bottom: 10px;
}
.vk-article p {
  margin-bottom: 1em;
  line-height: 1.65;
}
/* ============ Оформление карточек отзывов ============ */
.seo-reviews {
  margin-bottom: 32px;
}

.seo-reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.seo-reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(10, 14, 39, 0.04);
}

.seo-reviews-rating-num {
  font-weight: 800;
  font-size: 14px;
  color: #1e293b;
}

.seo-reviews-stars-hero {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 2px;
}

.seo-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.seo-review-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(10, 14, 39, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.seo-review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(9, 100, 252, 0.1);
  border-color: #bfdbfe;
}

.seo-review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.seo-review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0964fc 0%, #6d3df0 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(9, 100, 252, 0.2);
}

.seo-review-meta {
  flex: 1;
  min-width: 0;
}

.seo-review-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--bg-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.seo-review-tag {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.seo-review-stars {
  color: #f59e0b;
  font-size: 13px;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.seo-review-body {
  position: relative;
  flex: 1;
}

.seo-review-quote-mark {
  position: absolute;
  top: -12px;
  left: -4px;
  font-size: 36px;
  line-height: 1;
  color: rgba(9, 100, 252, 0.12);
  font-family: Georgia, serif;
  user-select: none;
}

.seo-review-text {
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
  margin: 0 0 14px;
  position: relative;
  z-index: 1;
}

.seo-review-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #10b981;
  font-weight: 600;
  margin-top: auto;
}

@media (max-width: 768px) {
  .seo-reviews-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
    gap: 14px;
  }
  .seo-review-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }
}

/* ============ Стили вводного блока текста прямо под Херо ============ */
.seo-lead-in-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 28px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 18px rgba(10, 14, 39, 0.04);
  margin-bottom: 24px;
}

.seo-lead-in-body p {
  font-size: 17px;
  line-height: 1.7;
  color: #1e293b;
  font-weight: 500;
}

.seo-lead-in-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .seo-lead-in-box {
    padding: 18px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
  }
  .seo-lead-in-body p {
    font-size: 15px;
    line-height: 1.6;
  }
}
