*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[data-theme="light"] {
  --bg: #f0f4f8;
  --bg2: #e4eaf2;
  --surface: #fff;
  --surface2: #f7f9fc;
  --border: rgba(0,60,130,0.10);
  --border2: rgba(0,60,130,0.20);
  --text: #0d1f35;
  --text2: #3d5470;
  --text3: #7a94b0;
  --accent: #1358a5;
  --accent2: #2577d4;
  --accentbg: rgba(19,88,165,0.08);
  --accentbg2: rgba(19,88,165,0.14);
  --glow: rgba(37,119,212,0.25);
  --card-sh: 0 2px 24px rgba(0,40,100,0.08),0 1px 4px rgba(0,40,100,0.06);
  --card-sh-h: 0 8px 40px rgba(0,40,100,0.14),0 2px 8px rgba(0,40,100,0.08);
  --nav-bg: rgba(240,244,248,0.85);
  --footer-bg: #1358a5;
  --footer-text: #fff;
  --footer-link: rgba(255,255,255,0.75);
  --footer-border: rgba(255,255,255,0.18);
  --accent-green: #1a8c4e;
  --accent-green-bg: rgba(26, 140, 78, 0.1);
}

[data-theme="dark"] {
  --bg: #080f1c;
  --bg2: #0d1929;
  --surface: #111e30;
  --surface2: #162236;
  --border: rgba(80,140,255,0.10);
  --border2: rgba(80,140,255,0.20);
  --text: #ffffff; /* Основной текст стал чисто белым */
  --text2: #d1d5db; /* Вторичный текст стал светло-серым (раньше был тускло-голубой) */
  --text3: #9ca3af; /* Мелкий текст/подсказки стали серыми (раньше были почти невидимые) */
  --accent: #4b9eff;
  --accent2: #7ab8ff;
  --accentbg: rgba(75,158,255,0.10);
  --accentbg2: rgba(75,158,255,0.18);
  --glow: rgba(75,158,255,0.30);
  --card-sh: 0 2px 24px rgba(0,0,0,0.40),0 1px 4px rgba(0,0,0,0.30);
  --card-sh-h: 0 8px 40px rgba(0,0,0,0.55),0 2px 8px rgba(0,0,0,0.35);
  --nav-bg: rgba(8,15,28,0.88);
  --footer-bg: #0d1929;
  --footer-text: #e8f0fc;
  --footer-link: #8baacf;
  --footer-border: rgba(255,255,255,0.05);
  --accent-green: #2ecc71;
  --accent-green-bg: rgba(46, 204, 113, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Geologica',sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background .3s,color .3s;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  height: 68px;
  transition: background .3s,border-color .3s;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  position: relative;
  flex-shrink: 0;
}

.nav-logo-mark svg {
  width: 100%;
  height: 100%;
}

.nav-logo-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
}

.nav-logo-text span {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  gap: 2px;
  list-style: none;
  flex: 1;
}

.nav-menu a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text2);
  text-decoration: none;
  padding: 6px 11px;
  border-radius: 8px;
  white-space: nowrap;
  transition: color .18s,background .18s;
}

.nav-menu a:hover {
  color: var(--accent);
  background: var(--accentbg);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-phone {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  font-family: 'JetBrains Mono',monospace;
  letter-spacing: -.02em;
}

.nav-phone:hover {
  color: var(--accent2);
}

.theme-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accentbg);
  border: 1px solid var(--border2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  flex-shrink: 0;
  color: var(--accent);
}

.theme-btn:hover {
  background: var(--accentbg2);
}

.theme-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.icon-sun {
  display: block;
}

.icon-moon {
  display: none;
}

[data-theme="dark"] .icon-sun {
  display: none;
}

[data-theme="dark"] .icon-moon {
  display: block;
}

.nav-cta {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 9px 20px;
  font-family: 'Geologica',sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s,box-shadow .2s,transform .15s;
  box-shadow: 0 0 0 0 var(--glow);
}

.nav-cta:hover {
  background: var(--accent2);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--glow);
}

/* Плавная смена темы */
html, body, nav, section, div, a, button, input, textarea, select, p, h1, h2, h3, h4, span, li, label, footer {
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, fill 0.4s ease;
}

/* === ЧИН БУРГЕР И МЕНЮ === */
/* === СТИЛИ МОБИЛЬНОГО МЕНЮ === */
.burger {
  display: none !important;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
  z-index: 1001;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Затемнение фона */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 15, 28, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.nav-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* Выезжающее меню */
.nav-drawer {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 320px;
  background: var(--surface);
  z-index: 1000;
  padding: 40px 24px 24px;
  gap: 8px;
  overflow-y: auto;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  border-left: 1px solid var(--border);
}
.nav-drawer.is-active {
  transform: translateX(0);
}

/* Ссылки внутри меню */
.nav-drawer a {
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: background 0.2s;
}
.nav-drawer a:hover { 
  background: var(--accentbg); 
  color: var(--accent); 
}

.nav-drawer .drawer-phone {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 16px;
  padding: 16px;
  background: var(--accentbg);
  border-radius: 12px;
  border: none;
}
.nav-drawer .drawer-cta {
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  padding: 16px;
  border-radius: 12px;
  border: none;
  margin-top: 8px;
}

/* Показываем бургер только на мобильных */
@media (max-width: 900px) {
  .nav-menu, .nav-phone, .nav-cta { display: none !important; }
  .burger { display: flex !important; }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--border) 1px,transparent 1px),linear-gradient(90deg,var(--border) 1px,transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%,black 40%,transparent 100%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: .35;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -150px;
  right: -100px;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--accent2);
  bottom: -100px;
  left: -80px;
  animation: orbFloat 10s ease-in-out infinite reverse;
}

@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px,-40px) scale(1.08); }
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 var(--glow); }
  50% { box-shadow: 0 0 0 6px transparent; }
}

/* Появление бейджа */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accentbg2);
  border: 1px solid var(--border2);
  border-radius: 100px;
  padding: 6px 14px 6px 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: textFadeIn 0.6s ease 0.1s forwards;
}

/* Появление заголовка (Плавное проявление цвета) */
.hero h1 {
  font-size: clamp(32px,4vw,58px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: 24px;
  opacity: 0;
  filter: blur(6px); /* Изначально размыт и бледен */
  animation: textMaterialize 1.4s ease-out 0.2s forwards;
}

@keyframes textMaterialize {
  to {
    opacity: 1;
    filter: blur(0); /* Плавно фокусируется */
  }
}

/* Акцентный текст (роста и побед) */
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
  display: inline-block;
}

/* Анимация рисования подчеркивания */
.hero h1 em::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  opacity: .4;
  transform: scaleX(0);
  transform-origin: left;
  animation: drawLine 0.8s ease 0.6s forwards;
}

/* Появление подзаголовка */
.hero-sub {
  font-size: 17px;
  color: var(--text2);
  max-width: 480px;
  line-height: 1.72;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(20px);
  animation: textFadeIn 0.6s ease 0.3s forwards;
}

/* Появление кнопок */
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: textFadeIn 0.6s ease 0.4s forwards;
}

/* Кейфреймы для новых анимаций */
@keyframes textFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drawLine {
  to {
    transform: scaleX(1);
  }
}

.btn-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  font-family: 'Geologica',sans-serif;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s,transform .18s,box-shadow .2s;
  box-shadow: 0 4px 24px var(--glow);
}

.btn-main:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 8px 36px var(--glow);
}

.btn-main svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border2);
  border-radius: 12px;
  padding: 15px 28px;
  font-family: 'Geologica',sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color .2s,background .2s,color .2s;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accentbg);
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hstat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--card-sh);
  transition: transform .25s,box-shadow .25s;
  animation: slideIn .6s ease both;
}

.hstat:hover {
  transform: translateX(-6px);
  box-shadow: var(--card-sh-h);
}

.hstat:nth-child(1) { animation-delay: .05s; }
.hstat:nth-child(2) { animation-delay: .12s; margin-left: 32px; }
.hstat:nth-child(3) { animation-delay: .19s; }
.hstat:nth-child(4) { animation-delay: .26s; margin-left: 32px; }

@keyframes slideIn {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.hstat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accentbg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hstat-icon svg {
  width: 22px !important;
  height: 22px !important;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
}

.hstat-val {
  font-family: 'JetBrains Mono',monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
}

.hstat-lbl {
  font-size: 12px;
  color: var(--text3);
  margin-top: 2px;
  font-weight: 500;
}

.hero-services {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hs-track-wrap {
  overflow: hidden;
  position: relative;
  height: 312px;
}

.hs-track-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(transparent,var(--bg));
  pointer-events: none;
  z-index: 2;
}

.hs-track {
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .35s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}

.hs-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  text-decoration: none;
  transition: border-color .2s,box-shadow .2s,transform .2s;
  box-shadow: var(--card-sh);
  animation: slideIn .5s ease both;
}

.hs-card:hover {
  border-color: var(--accent);
  box-shadow: var(--card-sh-h);
  transform: translateX(4px);
}

.hs-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--accentbg);
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.hs-icon svg {
  width: 20px !important;
  height: 20px !important;
}

.hs-text {
  flex: 1;
  min-width: 0;
}

.hs-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.hs-desc {
  font-size: 12px;
  color: var(--text3);
  margin-top: 2px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hs-arr {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0;
  color: var(--text3);
  transition: color .2s,transform .2s;
}

.hs-card:hover .hs-arr {
  color: var(--accent);
  transform: translateX(3px);
}

.hs-dots {
  display: flex;
  gap: 5px;
  justify-content: center;
  padding-top: 4px;
}

.hs-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s,width .25s,border-radius .25s;
}

.hs-dot.active {
  background: var(--accent);
  width: 20px;
  border-radius: 3px;
}

/* ===== SECTION BASE ===== */
section {
  padding: 90px 0;
}

.stag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.stag::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.stitle {
  font-size: clamp(26px,3vw,44px);
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 16px;
}

.ssub {
  font-size: 17px;
  color: var(--text2);
  max-width: 560px;
  line-height: 1.7;
}

.shead {
  margin-bottom: 56px;
}

/* ===== SERVICES CAROUSEL ===== */
.services-section {
  background: var(--bg2);
  overflow: hidden;
}

.carousel-outer {
  position: relative;
}

.carousel-outer::before, .carousel-outer::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 10;
  pointer-events: none;
}

.carousel-outer::before {
  left: 0;
  background: linear-gradient(90deg,var(--bg2),transparent);
}

.carousel-outer::after {
  right: 0;
  background: linear-gradient(270deg,var(--bg2),transparent);
}

.carousel-track-wrap {
  overflow: hidden;
  cursor: grab;
  user-select: none;
}

.carousel-track-wrap:active {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  gap: 20px;
  padding: 8px 4px 16px;
  transition: transform .3s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}

.svc-card {
  flex: 0 0 280px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--card-sh);
  text-decoration: none;
  transition: border-color .25s,box-shadow .25s,transform .25s;
  position: relative;
  overflow: hidden;
}

.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,var(--accent),var(--accent2));
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity .25s;
}

.svc-card:hover {
  border-color: var(--accent);
  box-shadow: var(--card-sh-h);
  transform: translateY(-6px);
}

.svc-card:hover::before {
  opacity: 1;
}

.svc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accentbg);
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.svc-icon svg {
  width: 26px !important;
  height: 26px !important;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.6;
}

.svc-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -.01em;
}

.svc-card p {
  font-size: 13.5px;
  color: var(--text2);
  line-height: 1.6;
  flex: 1;
}

.svc-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 4px;
  transition: gap .2s;
}

.svc-card:hover .svc-arrow {
  gap: 10px;
}

.svc-arrow svg {
  width: 14px !important;
  height: 14px !important;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.5;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s,border-color .2s,transform .15s;
  color: var(--text2);
}

.carousel-btn:hover {
  background: var(--accentbg);
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.08);
}

.carousel-btn svg {
  width: 18px !important;
  height: 18px !important;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

.carousel-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border2);
  cursor: pointer;
  transition: background .2s,width .25s,border-radius .25s;
  border: none;
  padding: 0;
}

.carousel-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ===== PROCESS ===== */
.process-section {
  background: var(--bg);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 2px;
  position: relative;
}

.steps-grid::after {
  content: '';
  position: absolute;
  top: 40px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: linear-gradient(90deg,var(--accent) 0%,transparent 100%);
  opacity: .2;
  pointer-events: none;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 26px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .25s,transform .25s;
}

.step-card:hover {
  box-shadow: var(--card-sh-h);
  transform: translateY(-4px);
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,var(--accent),var(--accent2));
  border-radius: 18px 18px 0 0;
}

.step-n {
  font-family: 'JetBrains Mono',monospace;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -.05em;
  -webkit-text-stroke: 1px var(--border2);
  color: transparent;
}

.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
}

/* ===== FORM SECTION CTA ===== */
.form-section {
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}

.form-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .05;
  pointer-events: none;
  filter: blur(60px);
}

.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.form-promises {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}

.pi {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text2);
  margin-bottom: 14px;
}

.pi-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accentbg);
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pi-check svg {
  width: 14px !important;
  height: 14px !important;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: var(--card-sh);
}

.form-box.form-box--cta {
  text-align: center;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.form-box.form-box--cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,var(--accent),var(--accent2));
}

.form-cta-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--accentbg);
  border: 1px solid var(--border2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-cta-icon svg {
  width: 40px !important;
  height: 40px !important;
  stroke: var(--accent);
  fill: none;
}

.form-box.form-box--cta h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.form-box.form-box--cta p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 28px;
}

.form-box.form-box--cta .form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  font-family: 'Geologica',sans-serif;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s,transform .18s,box-shadow .2s;
  box-shadow: 0 4px 24px var(--glow);
}

.form-box.form-box--cta .form-submit:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 8px 36px var(--glow);
}

.form-note {
  font-size: 11px;
  color: var(--text3);
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}

/* ===== FOOTER ===== */
.footer {
  color: var(--footer-text);
  background: var(--footer-bg);
  padding: 32px 0 24px;
  font-family: 'Geologica',sans-serif;
  transition: background .3s, color .3s;
  border-top: 1px solid var(--footer-border);
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 44px;
  display: block;
}

.footer-middle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--footer-border);
  border-bottom: 1px solid var(--footer-border);
  gap: 24px;
  flex-wrap: wrap;
}

.footer-middle>div:first-of-type {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-middle>div:first-of-type img {
  width: 40px;
  opacity: .85;
}

.footer-middle>div:first-of-type>div>p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--footer-link);
  margin: 0;
}

.footer-middle>div:first-of-type>div>p a {
  color: var(--footer-text);
}

.flinks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.flinks a {
  color: var(--footer-link);
  font-size: 12px;
  text-decoration: underline;
  transition: color .2s;
}

.flinks a:hover {
  color: var(--footer-text);
}

.arrow {
  width: 32px;
  flex-shrink: 0;
}

.arrow a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--footer-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-text);
  text-decoration: none;
  font-size: 16px;
  transition: background .2s;
}

.arrow a:hover {
  background: var(--footer-link);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--footer-link);
  margin: 0;
}

/* ===== FLOATING BUTTONS (FAB) ===== */
.fab-group {
  position: fixed !important;
  right: 34px !important;
  bottom: 110px !important;
  z-index: 998 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  align-items: center !important;
}

.fab-group > * {
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  box-shadow: 0 4px 12px rgba(0,88,124,0.25) !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  margin: 0 !important;
}

.fab-group > a:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 20px rgba(0,88,124,0.35) !important;
}

.fab-group > * svg, 
.fab-group > * img,
.fab-group > * > div {
  width: 26px !important;
  height: 26px !important;
  max-width: 26px !important;
  max-height: 26px !important;
  object-fit: contain !important;
  pointer-events: none !important;
  margin: 0 auto !important;
}

.fab-btn.fab-up { background-color: #294674 !important; }
.fab-btn.fab-up:hover { background-color: #1a2f52 !important; }
.fab-btn.fab-form { background-color: #6EC9F1 !important; }
.fab-btn.fab-form:hover { background-color: #348DB4 !important; }
.fab-btn.fab-tg { background-color: #6EC9F1 !important; }
.fab-btn.fab-tg:hover { background-color: #348DB4 !important; }
.fab-btn.fab-max { background: linear-gradient(135deg, #7F00FF, #E100FF) !important; }
.fab-btn.fab-max:hover { background: linear-gradient(135deg, #6900d9, #c200db) !important; }

/* ===== RESPONSIVE ===== */
@media(max-width:1050px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid::after { display: none; }
}

@media(max-width:900px) {
  .nav-menu { display: none !important; }
  .nav-phone { display: none !important; }
  .burger { display: flex !important; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-stats { display: none; }
  .form-wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-top-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-services-grid { grid-template-columns: 1fr 1fr; }
}

@media(max-width:600px) {
  .container, .nav-inner, .hero-inner { padding: 0 16px; }
  .hero { padding: 100px 0 60px; }
  section { padding: 64px 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .form-box { padding: 28px 20px; }
  .svc-card { flex: 0 0 240px; }
  .carousel-outer::before, .carousel-outer::after { width: 40px; }
  .fab-group { right: 16px; bottom: 16px; gap: 10px; }
  .fab-btn { width: 46px; height: 46px; }
  .fab-btn svg { width: 22px !important; height: 22px !important; }
  .hero-status-card { flex-direction: column; max-width: 100%; }
  .hsc-reject { flex: 1; padding: 12px; }
  .hsc-success { padding: 16px; justify-content: center; text-align: center; }
  .hsc-arrow { left: 50%; top: 40%; transform: translate(-50%, -50%); }
  .hero-status-card:hover .hsc-arrow { transform: translate(-50%, -50%) scale(1.1); }
  .hsc-success-left { flex-direction: column; margin-bottom: 12px; }
  .hero-services-grid { grid-template-columns: 1fr; }
  .fab-group { right: 16px !important; bottom: 16px !important; gap: 10px !important; }
  .fab-group > * { width: 46px !important; height: 46px !important; }
  .fab-group > * svg, .fab-group > * img, .fab-group > * > div { width: 22px !important; height: 22px !important; max-width: 22px !important; max-height: 22px !important; }
}

@media(max-width:500px) {
  .hero-services-grid { grid-template-columns: 1fr; }
  .hero-cta-card { padding: 24px; }
}

/* ============================================================
   ===== SECONDARY PAGE (вторичная страница) =====
   ============================================================ */
.page-content {
  padding: 128px 0 90px;
  position: relative;
  overflow: hidden;
}

.page-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--border) 1px,transparent 1px),linear-gradient(90deg,var(--border) 1px,transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 40% at 50% 0%,black 20%,transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.page-content > .container {
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text3);
  margin-bottom: 28px;
}

.breadcrumbs a {
  color: var(--text2);
  text-decoration: none;
  font-weight: 500;
  transition: color .18s;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs .sep, .breadcrumbs span:not(:last-child)::after {
  color: var(--text3);
  opacity: 0.5;
  margin: 0 4px;
}

.page-title {
  font-family: 'Inter','Geologica',sans-serif;
  font-size: clamp(22px,2vw,30px);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 24px;
}

.page-title em {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
}

.page-h2 {
  font-family: 'Inter','Geologica',sans-serif;
  font-size: clamp(17px,1.5vw,22px);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.35;
  color: var(--text);
  margin: 40px 0 14px;
}

.page-content p {
  font-size: 16.5px;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 18px;
}

.page-content p a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--accentbg2);
  transition: border-color .18s,color .18s;
}

.page-content p a:hover {
  color: var(--accent2);
  border-bottom-color: var(--accent);
}

.page-quote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 16px;
  padding: 28px 32px;
  margin: 32px 0 40px;
  box-shadow: var(--card-sh);
  position: relative;
}

.page-quote p {
  font-size: 17px;
  color: var(--text);
  line-height: 1.7;
  margin: 0 0 14px;
  font-weight: 500;
}

.page-quote p:last-child {
  margin-bottom: 0;
}

.page-quote .quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text3);
}

.page-quote .quote-author strong {
  color: var(--text2);
  font-weight: 700;
}

.page-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-list li {
  position: relative;
  padding-left: 38px;
  font-size: 16px;
  color: var(--text2);
  line-height: 1.65;
}

.page-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accentbg2);
  border: 1px solid var(--border2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpolyline points='2,6 5,9 10,3' stroke='%231358a5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

[data-theme="dark"] .page-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpolyline points='2,6 5,9 10,3' stroke='%234b9eff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.page-list li a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--accentbg2);
  transition: border-color .18s,color .18s;
}

.page-list li a:hover {
  color: var(--accent2);
  border-bottom-color: var(--accent);
}

.page-cta {
  margin-top: 56px;
  padding: 40px 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--card-sh);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,var(--accent),var(--accent2));
  border-radius: 20px 20px 0 0;
}

.page-cta p {
  font-size: 18px;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 24px;
}

@media(max-width:900px) {
  .page-content { padding: 104px 0 64px; }
  .page-quote { padding: 22px 24px; }
}

@media(max-width:600px) {
  .page-content { padding: 96px 0 48px; }
  .page-h2 { margin: 40px 0 16px; }
  .page-content p { font-size: 15.5px; }
  .page-list li { font-size: 15px; padding-left: 34px; }
  .page-cta { padding: 32px 20px; }
  .page-cta p { font-size: 16px; }
}

/* ============================================================
   ===== BANK GUARANTEE CALCULATOR (Калькулятор БГ) =====
   ============================================================ */
.bgc-calculator {
  width: 100%;
  font-family: 'Geologica',sans-serif;
}

.bgc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--card-sh);
  overflow: hidden;
  transition: box-shadow .25s;
}

.bgc-card:hover {
  box-shadow: var(--card-sh-h);
}

.bgc-header {
  padding: 36px 40px 28px;
  background: linear-gradient(135deg,var(--accentbg),var(--accentbg2));
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.bgc-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,var(--accent),var(--accent2));
}

.bgc-title {
  font-size: clamp(22px,2.4vw,30px);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.2;
}

.bgc-subtitle {
  font-size: 14.5px;
  color: var(--text2);
  line-height: 1.6;
  margin: 0;
  max-width: 1200px;
}

.bgc-body {
  padding: 32px 36px;
}

.bgc-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 8px;
}

.bgc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.bgc-form-group {
  display: flex;
  flex-direction: column;
}

.bgc-form-group select, .bgc-form-group input, .bgc-datepicker-input, .bgc-summ-input, .bgc-company-autocomplete, .bgc-contact-input, .bgc-comment-textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Geologica',sans-serif;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color .2s,box-shadow .2s;
  appearance: none;
}

.bgc-form-group select {
  cursor: pointer;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231358a5' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

[data-theme="dark"] .bgc-form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234b9eff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}

.bgc-form-group select:focus, .bgc-form-group input:focus, .bgc-datepicker-input:focus, .bgc-summ-input:focus, .bgc-company-autocomplete:focus, .bgc-contact-input:focus, .bgc-comment-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accentbg2);
}

.bgc-comment-textarea {
  resize: vertical;
  min-height: 90px;
  font-family: 'Geologica',sans-serif;
}

.bgc-date-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.bgc-datepicker-input {
  padding-right: 45px;
  cursor: pointer;
}

.bgc-date-icon {
  position: absolute;
  right: 14px;
  color: var(--accent);
  pointer-events: none;
}

.bgc-form-grid--summ {
  grid-template-columns: 2fr 1fr;
}

.bgc-days-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.bgc-days-input {
  width: 100%;
  padding: 13px 62px 13px 16px;
  background: var(--accentbg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'JetBrains Mono',monospace;
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -.01em;
  outline: none;
  cursor: default;
  -moz-appearance: textfield;
}

.bgc-days-input::-webkit-outer-spin-button, .bgc-days-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.bgc-days-suffix {
  position: absolute;
  right: 16px;
  font-family: 'Geologica',sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text3);
  pointer-events: none;
  text-transform: lowercase;
  letter-spacing: .02em;
}

.bgc-summ-group {
  margin-bottom: 24px;
}

.bgc-summ-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.bgc-summ-input {
  padding-right: 50px;
  font-family: 'JetBrains Mono',monospace;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.bgc-summ-suffix {
  position: absolute;
  right: 18px;
  font-family: 'JetBrains Mono',monospace;
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
  pointer-events: none;
}

.bgc-form-group select.error, .bgc-form-group input.error, .bgc-datepicker-input.error, .bgc-summ-input.error, .bgc-company-autocomplete.error, .bgc-contact-input.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231,76,60,.12);
}

.bgc-calculate-btn {
  width: 100%;
  padding: 17px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: 'Geologica',sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -.01em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .2s,transform .15s,box-shadow .2s;
  box-shadow: 0 4px 20px var(--glow);
}

.bgc-calculate-btn:hover {
  background: var(--accent2);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px var(--glow);
}

.bgc-calculate-btn:disabled {
  opacity: .7;
  cursor: not-allowed;
  transform: none;
}

.bgc-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: bgcSpin 0.7s linear infinite;
}

.bgc-calculate-btn.loading .bgc-spinner {
  display: block;
}

.bgc-calculate-btn.loading .bgc-btn-text {
  opacity: .8;
}

@keyframes bgcSpin {
  to { transform: rotate(360deg); }
}

.bgc-results-section {
  display: none;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.bgc-results-section.visible {
  display: block;
}

.bgc-table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  padding: 14px 16px;
  margin-bottom: 8px;
  background: var(--bg);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.bgc-sortable {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .18s;
}

.bgc-sortable:hover, .bgc-sortable.active {
  color: var(--accent);
}

.bgc-sort-arrow {
  font-size: 12px;
}

.bgc-results-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bgc-result-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  align-items: center;
  transition: border-color .18s,box-shadow .18s,transform .18s;
}

.bgc-result-row:hover {
  border-color: var(--accent);
  box-shadow: var(--card-sh);
  transform: translateY(-1px);
}

.bgc-result-bank {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.bgc-bank-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--bg);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.bgc-bank-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accentbg);
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.bgc-bank-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bgc-price-bank, .bgc-price-discount {
  font-family: 'JetBrains Mono',monospace;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.bgc-price-bank { color: var(--text2); }
.bgc-price-discount { color: var(--accent); }

.bgc-no-results {
  text-align: center;
  padding: 40px 20px;
  color: var(--text3);
}

.bgc-no-results-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.bgc-no-results h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.bgc-no-results p {
  font-size: 14px;
  margin: 0;
}

.bgc-contact-form {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.bgc-contact-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 22px;
}

.bgc-company-wrapper {
  position: relative;
  margin-bottom: 18px;
}

.bgc-company-loader {
  display: none;
  position: absolute;
  right: 16px;
  top: 38px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--border2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: bgcSpin 0.7s linear infinite;
}

.bgc-company-wrapper.loading .bgc-company-loader {
  display: block;
}

.bgc-suggestions {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--card-sh-h);
  max-height: 320px;
  overflow-y: auto;
  z-index: 50;
}

.bgc-suggestions.visible { display: block; }

.bgc-suggestion-item {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}

.bgc-suggestion-item:last-child { border-bottom: none; }
.bgc-suggestion-item:hover { background: var(--accentbg); }

.bgc-suggestion-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.35;
}

.bgc-suggestion-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text3);
}

.bgc-suggestion-label { color: var(--text3); opacity: .8; }

.bgc-suggestion-inn, .bgc-suggestion-ceo {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.bgc-selected-company-info {
  margin-top: 10px;
  padding: 12px 16px;
  background: var(--accentbg);
  border: 1px solid var(--border2);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bgc-company-detail {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.5;
}

.bgc-company-detail strong {
  color: var(--text);
  font-weight: 700;
  margin-right: 4px;
}

.bgc-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.bgc-consent-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0 22px;
}

.bgc-consent-label, .bgc-oferta-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text2);
  line-height: 1.5;
}

.bgc-consent-checkbox, .bgc-oferta-checkbox {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--accent);
}

.bgc-consent-text a, .bgc-oferta-text a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--accentbg2);
}

.bgc-consent-text a:hover, .bgc-oferta-text a:hover {
  color: var(--accent2);
  border-bottom-color: var(--accent);
}

.bgc-submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: 'Geologica',sans-serif;
  font-weight: 800;
  font-size: 15.5px;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: background .2s,transform .15s,box-shadow .2s;
  box-shadow: 0 4px 20px var(--glow);
}

.bgc-submit-btn:hover {
  background: var(--accent2);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px var(--glow);
}

.bgc-submit-btn:disabled {
  opacity: .7;
  cursor: not-allowed;
  transform: none;
}

.bgc-toast {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 22px;
  background: var(--text);
  color: var(--surface);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--card-sh-h);
  z-index: 9999;
}

.bgc-toast.visible {
  display: block;
  animation: bgcToastIn .3s ease;
}

@keyframes bgcToastIn {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.bgc-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,15,28,.6);
  backdrop-filter: blur(6px);
  z-index: 9998;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.bgc-modal-overlay.visible {
  display: flex;
  animation: bgcFadeIn .2s ease;
}

@keyframes bgcFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.bgc-modal {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 40px 36px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  animation: bgcModalIn .3s cubic-bezier(.25,.46,.45,.94);
}

@keyframes bgcModalIn {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.bgc-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 14px;
  color: var(--text3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s,color .18s;
}

.bgc-modal-close:hover {
  background: var(--accentbg);
  color: var(--accent);
}

.bgc-modal-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
}

.bgc-modal-icon svg {
  width: 100% !important;
  height: 100% !important;
}

.bgc-modal-title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 10px;
}

.bgc-modal-text {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.6;
  margin: 0;
}

/* ===== СТИЛИЗАЦИЯ КАЛЕНДАРЯ (jQuery UI Datepicker) ===== */
#ui-datepicker-div {
  position: absolute !important;
  z-index: 99999 !important;
  width: 320px !important;
  max-width: 90vw !important;
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--card-sh-h) !important;
  border-radius: 16px !important;
  padding: 16px !important;
  font-family: 'Geologica',sans-serif !important;
  display: none;
}

#ui-datepicker-div .ui-datepicker-header {
  background: transparent !important;
  color: var(--text) !important;
  border: none !important;
  padding: 0 0 12px 0 !important;
  position: relative !important;
  text-align: center !important;
}

#ui-datepicker-div .ui-datepicker-title {
  color: var(--text) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  line-height: 30px;
}

#ui-datepicker-div .ui-datepicker-prev, 
#ui-datepicker-div .ui-datepicker-next {
  position: absolute !important;
  top: 0 !important;
  cursor: pointer !important;
  width: 30px !important;
  height: 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  background: var(--accentbg) !important;
  border: 1px solid var(--border2) !important;
}

#ui-datepicker-div .ui-datepicker-prev { left: 0 !important; }
#ui-datepicker-div .ui-datepicker-next { right: 0 !important; }

#ui-datepicker-div .ui-datepicker-prev span, 
#ui-datepicker-div .ui-datepicker-next span { display: none !important; }

#ui-datepicker-div .ui-datepicker-prev::after {
  content: '‹' !important;
  font-size: 24px !important;
  font-weight: bold !important;
  color: var(--accent) !important;
  line-height: 1 !important;
}

#ui-datepicker-div .ui-datepicker-next::after {
  content: '›' !important;
  font-size: 24px !important;
  font-weight: bold !important;
  color: var(--accent) !important;
  line-height: 1 !important;
}

#ui-datepicker-div table {
  width: 100% !important;
  border-collapse: collapse !important;
}

#ui-datepicker-div th {
  padding: 8px 0 !important;
  font-size: 11px !important;
  color: var(--text3) !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
}

#ui-datepicker-div td {
  padding: 2px !important;
  text-align: center !important;
}

#ui-datepicker-div td a {
  display: block !important;
  padding: 8px 0 !important;
  text-decoration: none !important;
  color: var(--text) !important;
  border: none !important;
  background: transparent !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: background 0.15s,color 0.15s;
}

#ui-datepicker-div td a:hover {
  background: var(--accentbg) !important;
  color: var(--accent) !important;
}

#ui-datepicker-div td a.ui-state-active {
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 700 !important;
}

#ui-datepicker-div td a.ui-state-highlight {
  background: var(--accentbg2) !important;
  color: var(--accent) !important;
  border: 1px solid var(--border2) !important;
}

@media(max-width:768px) {
  .bgc-header { padding: 26px 22px 20px; }
  .bgc-body { padding: 26px 22px; }
  .bgc-form-grid, .bgc-form-grid--summ { grid-template-columns: 1fr; gap: 16px; margin-bottom: 18px; }
  .bgc-contact-grid { grid-template-columns: 1fr; gap: 10px; }
  .bgc-table-header, .bgc-result-row { grid-template-columns: 1.5fr 1fr 1fr; gap: 10px; padding: 12px; }
  .bgc-bank-name { font-size: 13px; }
  .bgc-price-bank, .bgc-price-discount { font-size: 13px; }
  .bgc-modal { padding: 36px 24px 28px; }
}

@media(max-width:480px) {
  .bgc-table-header { font-size: 10px; padding: 10px 12px; }
  .bgc-result-row { padding: 10px; }
  .bgc-bank-logo, .bgc-bank-icon { width: 30px; height: 30px; }
  .bgc-price-bank, .bgc-price-discount { font-size: 12px; }
}

/* ============================================================
   ===== SINGLE ARTICLE CONTENT (Стили для текста статьи) =====
   ============================================================ */
.article-content {
  max-width: 1200px;
  margin: 0 auto 48px;
}

.article-content p {
  font-size: 16.5px;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 20px;
}

.article-content p a, .article-content li a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--accentbg2);
  transition: all .2s;
}

.article-content p a:hover, .article-content li a:hover {
  color: var(--accent2);
  border-bottom-color: var(--accent);
}

.article-content h2, .article-content h3, .article-content h4 {
  color: var(--text);
  font-weight: 700;
  line-height: 1.3;
  margin-top: 40px;
  margin-bottom: 16px;
}

.article-content h2 { font-size: 24px; font-weight: 800; }
.article-content h3 { font-size: 19px; }
.article-content h4 { font-size: 17px; text-transform: uppercase; letter-spacing: 0.03em; }

.article-content ul, .article-content ol {
  margin: 0 0 24px 0;
  padding-left: 0;
}

.article-content ul li, .article-content ol li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text2);
  font-size: 16.5px;
  line-height: 1.7;
}

.article-content ul { list-style: none; }

.article-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.article-content ol { list-style: none; counter-reset: article-counter; }

.article-content ol li::before {
  counter-increment: article-counter;
  content: counter(article-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--accent);
  font-size: 16.5px;
}

@media(max-width:600px) {
  .article-content p, .article-content ul li, .article-content ol li { font-size: 15.5px; }
  .article-content h2 { font-size: 22px; }
}

/* ============================================================
   ===== BLOG / ARTICLES (Список статей и карточки) =====
   ============================================================ */
.articles-list {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  grid-gap: 30px;
  margin-top: 40px;
}

.article-item {
  background-color: var(--bg2);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.article-item:hover { transform: translateY(-5px); }

.article-item h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.article-item h2 a {
  color: var(--accent);
  text-decoration: none;
}

.article-date {
  color: var(--text);
  font-size: 14px;
  margin-bottom: 10px;
}

.article-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

/* PAGINATION */
.pagination {
  list-style: none !important;
  padding: 0 !important;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination li { display: inline-block; }

.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.pagination a:hover {
  background: var(--accentbg);
  border-color: var(--accent);
  color: var(--accent);
}

.pagination li.active span, .pagination a.active {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
  box-shadow: 0 4px 12px var(--glow);
}

.pagination li.disabled span {
  color: var(--text3);
  background: var(--bg2);
  cursor: not-allowed;
  opacity: 0.6;
}

/* Карточки статей (news-grid) */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 32px;
  margin-bottom: 100px;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--card-sh);
  transition: background-color .22s ease,border-color .22s ease,box-shadow .22s ease,transform .18s ease;
}

.news-card:hover {
  background-color: var(--accentbg);
  border-color: var(--accent);
  box-shadow: var(--card-sh-h);
  transform: translateY(-4px);
}

.news-card__img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.news-card__img-placeholder {
  width: 100%;
  height: 185px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accentbg);
  flex-shrink: 0;
}

.news-card__img-placeholder svg {
  width: 38px !important;
  height: 38px !important;
  opacity: .3;
  stroke: var(--accent);
}

.news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 18px;
  gap: 10px;
}

.news-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--accent);
  min-height: calc(16px * 1.45 * 3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}

.news-card:hover .news-card__title { color: var(--accent2); }

.news-card__intro {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.news-card__meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text3);
}

.news-card__meta-item svg {
  flex-shrink: 0;
  opacity: .65;
  stroke: currentColor;
  width: 14px !important;
  height: 14px !important;
}

.news-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--accentbg2);
  color: var(--accent);
  border: 1px solid var(--border2);
  white-space: nowrap;
  transition: background .2s;
}

.news-card:hover .news-card__tag { background: var(--accentbg2); }

@media(max-width:1000px) {
  .news-grid { grid-template-columns: repeat(2,1fr); }
}

@media(max-width:600px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-card__title { min-height: unset; -webkit-line-clamp: unset; }
}

/* ===== LOAD MORE BUTTON ===== */
.load-more-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  margin-top: 20px;
  pointer-events: none;
}

.btn-load-more {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  gap: 8px;
  background: var(--surface);
  color: var(--accent);
  border: 1.5px solid var(--border2);
  border-radius: 12px;
  padding: 14px 32px;
  font-family: 'Geologica',sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background .2s,border-color .2s,color .2s,box-shadow .2s,opacity .2s,transform .2s;
  box-shadow: var(--card-sh);
  box-sizing: border-box;
  white-space: nowrap;
}

.btn-load-more:hover {
  background: var(--accentbg);
  border-color: var(--accent);
  box-shadow: var(--card-sh-h);
}

.btn-load-more.is-floating {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 998;
}

.btn-load-more.is-anchored {
  position: relative;
  transform: none;
  left: auto;
  bottom: auto;
}

.btn-load-more:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
  background: var(--surface);
}

.btn-load-more.hidden { display: none; }

.btn-load-more svg {
  width: 16px !important;
  height: 16px !important;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  transition: transform .3s;
}

.btn-load-more.loading svg {
  animation: spinIcon .7s linear infinite;
}

@keyframes spinIcon {
  to { transform: rotate(360deg); }
}

@media(max-width:600px) {
  .modal__multiform .modal-inner { padding: 28px 18px 22px; }
}

/* ===== ARTICLE TAGS, META, COMMENTS ===== */
.article-tags {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--card-sh);
}

.article-tags h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.tagstyle {
  display: inline-block;
  margin: 0 4px 8px 0;
}

.tagstyle a {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accentbg);
  color: var(--accent);
  border: 1px solid var(--border2);
  border-radius: 100px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all .2s;
}

.tagstyle a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.other-articles {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--card-sh);
}

.other-articles h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}

.other-articles ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.other-articles ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--bg);
  color: var(--text2);
  border-radius: 10px;
  border: 1px solid var(--border);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all .2s;
}

.other-articles ul li a::before {
  content: '→';
  color: var(--accent);
  font-weight: bold;
  transition: transform .2s;
}

.other-articles ul li a:hover {
  color: var(--accent);
  background: var(--accentbg);
  border-color: var(--accent);
}

.other-articles ul li a:hover::before {
  transform: translateX(4px);
}

.article-comments {
  max-width: 1200px;
  margin: 0 auto 60px;
}

.article-comments .row { display: block; margin: 0; }

.article-comments .col-lg-8, .article-comments .col-lg-4, .article-comments .col-md-6 {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
  padding: 0;
}

.article-comments h3.title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-comments .comment-total {
  font-size: 14px;
  color: var(--text3);
  font-weight: 500;
}

.article-comments ol.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-comments .ticket-comment {
  list-style: none;
  margin-bottom: 20px;
}

.article-comments .ticket-comment-body {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: var(--card-sh);
  margin-bottom: 20px;
}

.article-comments .ticket-comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.article-comments .ticket-comment-dot-wrapper { display: none; }

.article-comments .ticket-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  object-fit: cover;
}

.article-comments .ticket-comment-author {
  font-weight: 700;
  color: var(--text);
  font-size: 15px;
  display: block;
}

.article-comments .ticket-comment-createdon {
  font-size: 12px;
  color: var(--text3);
  display: block;
}

.article-comments .ticket-comment-text {
  color: var(--text2);
  font-size: 15px;
  line-height: 1.6;
}

.article-comments .comment-reply a {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--accentbg2);
}

.article-comments .comment-reply a:hover {
  color: var(--accent2);
  border-bottom-color: var(--accent);
}

.article-comments #comment-new-link { margin-bottom: 20px; }

.article-comments #comment-new-link a {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  color: var(--accent);
  border: 1.5px solid var(--border2);
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all .2s;
}

.article-comments #comment-new-link a:hover {
  background: var(--accentbg);
  border-color: var(--accent);
}

.article-comments #comment-form-placeholder {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--card-sh);
}

.article-comments .form-group { margin-bottom: 16px; }

.article-comments .form-control {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Geologica',sans-serif;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color .2s,box-shadow .2s;
  appearance: none;
}

.article-comments .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accentbg2);
}

.article-comments textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.article-comments label#comment-captcha {
  display: block;
  font-size: 13px;
  color: var(--text2);
  font-weight: 500;
  margin-bottom: 8px;
}

.article-comments .form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.article-comments .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s,transform .15s;
}

.article-comments .button-white {
  background: var(--surface);
  color: var(--text2);
  border: 1px solid var(--border2);
}

.article-comments .button:hover {
  background: var(--accent2);
  transform: translateY(-1px);
}

.article-comments .button-white:hover {
  background: var(--accentbg);
  color: var(--accent);
  border-color: var(--accent);
}

@media(max-width:600px) {
  .article-comments #comment-form-placeholder { padding: 20px; }
  .article-tags, .other-articles { padding: 20px; }
}

#comment-preview-placeholder {
  border: 2px solid #c12602 !important;
  border-radius: 20px !important;
  padding: 0px 20px !important;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 20px;
  margin: 0 auto 32px;
  max-width: 1200px;
}

.article-category {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.article-category a {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--accentbg);
  color: var(--accent);
  border: 1px solid var(--border2);
  border-radius: 100px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  transition: all .2s;
}

.article-category a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.article-date { margin-left: auto; }

.article-date, .article-views {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
  color: var(--text3);
  font-size: 14px;
  font-weight: 500;
  line-height: 1 !important;
  height: 20px;
}

.article-date svg, .article-views svg {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0;
  margin: 0;
  stroke: currentColor;
  fill: none;
}

/* ===== CONTACTS PAGE ===== */
.contacts-grid {
  display: flex !important;
  gap: 40px !important;
  align-items: flex-start !important;
  margin-bottom: 60px !important;
}

.contact-info-block {
  flex: 0 0 400px !important;
  max-width: 400px !important;
}

.contact-map-col {
  flex: 1 1 auto !important;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-subtitle {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 32px 0 16px;
}

.contact-info-block .page-h2 {
  margin-top: 0;
  font-size: 20px;
}

.contact-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-links li a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text2);
  font-size: 15px;
  font-weight: 500;
  transition: all .2s;
  box-shadow: var(--card-sh);
}

.contact-links li a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accentbg);
  transform: translateY(-2px);
  box-shadow: var(--card-sh-h);
}

.contact-links li img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.company-details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: var(--card-sh);
}

.company-details p {
  margin-bottom: 8px;
  color: var(--text2);
  font-size: 15px;
  line-height: 1.6;
}

.company-details p:last-child { margin-bottom: 0; }

.contact-map-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-sh-h);
  border: 1px solid var(--border);
  height: 500px;
  position: relative;
  line-height: 0;
  width: 100%;
}

.contact-map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  position: absolute;
  top: 0;
  left: 0;
}

.contact-btn-wrap {
  display: flex;
  justify-content: center;
}

@media(max-width:900px) {
  .contacts-grid { flex-direction: column !important; gap: 32px !important; }
  .contact-info-block { flex: 1 1 100% !important; max-width: 100% !important; }
  .contact-map-wrap { height: 400px; }
}

.messenger-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.btn-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent);
  color: #fff;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s,visibility 0.3s;
}

.btn-top.show { opacity: 1; visibility: visible; }

.company-details-full {
  margin-top: 40px;
  margin-bottom: 60px;
}

.company-details-full .company-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.company-details-full .company-details p {
  margin-bottom: 0;
  flex: 1 1 200px;
}

/* ===== SERVICES CATALOG ===== */
.services-catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.service-cat-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--card-sh);
  transition: border-color .25s,box-shadow .25s,transform .25s;
  position: relative;
  overflow: hidden;
}

.service-cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,var(--accent),var(--accent2));
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity .25s;
}

.service-cat-card:hover {
  border-color: var(--accent);
  box-shadow: var(--card-sh-h);
  transform: translateY(-6px);
}

.service-cat-card:hover::before { opacity: 1; }

.service-cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accentbg);
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 20px;
}

.service-cat-icon svg {
  width: 26px !important;
  height: 26px !important;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.6;
}

.service-cat-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.service-cat-text {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

.service-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  transition: gap .2s;
}

.service-cat-card:hover .service-cat-link { gap: 10px; }

.service-cat-link svg {
  width: 14px !important;
  height: 14px !important;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.5;
}

.services-cta-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--accentbg);
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
}

.services-cta-content h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.services-cta-content p {
  font-size: 16px;
  color: var(--text2);
  margin: 0;
}

@media (max-width:600px) {
  .service-cat-card { padding: 24px 20px; }
  .services-cta-block { flex-direction: column; text-align: center; padding: 32px 24px; }
}

/* ===== SERVICES NAVIGATION ===== */
.service-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 40px;
  margin-top: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}

.service-nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: var(--accentbg);
  color: var(--accent);
  border: 1px solid var(--border2);
  border-radius: 100px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s ease;
}

.service-nav-link:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--card-sh);
}

.service-nav-link.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  cursor: default;
  box-shadow: var(--card-sh);
}

.service-nav-link.active:hover {
  transform: none;
}

@media (max-width: 900px) {
  .service-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .service-nav {
    grid-template-columns: 1fr;
  }
}

/* ===== SEARCH PAGE ===== */
.search-page-wrap { margin-bottom: 60px; }
.search-form-wrap { margin-bottom: 40px; }

.search-form {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 8px 8px 20px;
  box-shadow: var(--card-sh);
  transition: border-color .2s,box-shadow .2s;
}

.search-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accentbg2);
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-family: 'Geologica',sans-serif;
  font-size: 16px;
  color: var(--text);
  padding: 8px 0;
}

.search-input::placeholder { color: var(--text3); }

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background .2s;
}

.search-btn:hover { background: var(--accent2); }

.search-btn svg {
  width: 20px !important;
  height: 20px !important;
  stroke: currentColor;
  fill: none;
}

.msearch-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.msearch-sidebar {
  flex: 0 0 280px;
  width: 280px;
  position: sticky;
  top: 90px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--card-sh);
}

.msearch-content { flex: 1; min-width: 0; }

.msearch-filters-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

.msearch-filters-form fieldset {
  border: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.msearch-filters-form h4.filter_title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.msearch-filters-form br { display: none; }

.msearch-filters-form label {
  display: block;
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text2);
  cursor: pointer;
  transition: color .15s;
  line-height: 1.4;
}

.msearch-filters-form label:hover { color: var(--accent); }

.msearch-filters-form input[type="checkbox"] {
  position: absolute;
  left: 0; top: 2px;
  width: 18px; height: 18px;
  margin: 0;
  border-radius: 4px;
  accent-color: var(--accent);
  cursor: pointer;
}

.msearch-filters-form sup {
  color: var(--text3);
  font-size: 11px;
  vertical-align: baseline;
  margin-left: 2px;
  font-weight: 400;
}

.mse2-selected-wrapper {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text3);
}

#mse2_selected { margin-top: 8px; }

#mse2_selected span {
  display: inline-block;
  background: var(--accentbg);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 100px;
  margin: 0 4px 4px 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.msearch-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.msearch-total {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.msearch-total span { color: var(--accent); }

.msearch-controls {
  display: flex;
  align-items: center;
  gap: 24px;
}

.msearch-sort, .msearch-limit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text3);
}

.msearch-sort .sort-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.msearch-limit select {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border2);
  background: var(--surface);
  color: var(--text);
  font-family: 'Geologica',sans-serif;
  font-size: 14px;
  cursor: pointer;
}

.msearch-results {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.search-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: var(--card-sh);
  transition: border-color .25s,box-shadow .25s,transform .25s;
}

.search-item:hover {
  border-color: var(--accent);
  box-shadow: var(--card-sh-h);
  transform: translateY(-3px);
}

.search-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.search-item-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  line-height: 1.35;
  transition: color .2s;
}

.search-item-title:hover { color: var(--accent); }

.search-item-date {
  font-size: 13px;
  color: var(--text3);
  white-space: nowrap;
  flex-shrink: 0;
}

.search-item-text {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.6;
  margin: 0 0 16px 0;
}

.search-item-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
}

.search-item-tags li a {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accentbg);
  color: var(--accent);
  border-radius: 100px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: all .2s;
}

.search-item-tags li a:hover {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 900px) {
  .msearch-layout { flex-direction: column; }
  .msearch-sidebar { position: static; width: 100%; flex: 1 1 100%; }
}

@media (max-width: 600px) {
  .msearch-toolbar { flex-direction: column; align-items: flex-start; }
  .msearch-controls { flex-wrap: wrap; gap: 12px; }
  .search-item-header { flex-direction: column; }
}

/* ===== SEARCH FORM (Строка поиска в шапке/на странице) ===== */
#sform {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  margin-bottom: 30px;
  box-shadow: var(--card-sh);
  transition: border-color .2s,box-shadow .2s;
  max-width: 600px;
}

#sform:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accentbg2);
}

.qsearch {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-family: 'Geologica',sans-serif;
  font-size: 15px;
  color: var(--text);
  padding: 10px 16px;
}

.qsearch::placeholder { color: var(--text3); }

#sform button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: background .2s;
  flex-shrink: 0;
}

#sform button:hover { background: var(--accent2); }

#sform button svg {
  width: 20px !important;
  height: 20px !important;
  stroke: currentColor;
  fill: none;
}

/* ===== FANCYBOX FIXES (Оптимизация под наш дизайн) ===== */
.fancybox-content {
  background: transparent !important;
  padding: 0 !important;
  max-width: 520px !important;
  width: 100% !important;
  box-shadow: none !important;
}

.fancybox-bg {
  background: rgba(8, 15, 28, 0.65) !important;
  backdrop-filter: blur(6px) !important;
}

.fancybox-close-small {
  display: none !important;
}

/* ===== MULTIFORM MODAL ===== */
.modal.modal__multiform {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 15, 28, .65);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.modal__multiform.open { display: flex; }

.modal__multiform .modal-inner {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px 28px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  animation: modalIn .28s cubic-bezier(.25, .46, .45, .94);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal__multiform .modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: var(--text3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s, color .18s;
}

.modal__multiform .modal-close:hover {
  background: var(--accentbg);
  color: var(--accent);
}

.modal__multiform p:first-child {
  font-size: 15px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 20px;
}

.modal__multiform .button {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 15px;
  font-family: 'Geologica',sans-serif;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: background .2s, box-shadow .2s;
  box-shadow: 0 4px 20px var(--glow);
}

.modal__multiform .button:hover {
  background: var(--accent2);
  box-shadow: 0 8px 30px var(--glow);
}

.modal__multiform .field {
  margin-bottom: 16px;
  position: relative;
}

.modal__multiform .field input[type="text"],
.modal__multiform .field input[type="email"],
.modal__multiform .field input[type="tel"],
.modal__multiform .field select,
.modal__multiform .field textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Geologica',sans-serif;
  font-size: 15px;
  color: var(--text);
  outline: none;
  appearance: none;
  transition: border-color .2s, box-shadow .2s;
}

.modal__multiform .field input::placeholder,
.modal__multiform .field textarea::placeholder { color: var(--text3); }

.modal__multiform .field input:focus,
.modal__multiform .field select:focus,
.modal__multiform .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accentbg2);
}

.modal__multiform .field select {
  cursor: pointer;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231358a5' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

[data-theme="dark"] .modal__multiform .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234b9eff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}

.modal__multiform .field textarea {
  resize: vertical;
  min-height: 90px;
}

.modal__multiform .field .policy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text2);
  line-height: 1.5;
  cursor: pointer;
}

.modal__multiform .field .policy input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--accent);
}

.modal__multiform .field .policy a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--accentbg2);
}

.modal__multiform .field .policy a:hover {
  color: var(--accent2);
  border-bottom-color: var(--accent);
}

.modal__multiform .fe-field-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--text3);
}

.modal__multiform .fe-field-hint.fe-hint-error {
  color: #e74c3c;
  font-weight: 600;
}

.modal__multiform .fe-suggestions {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  margin-top: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--card-sh-h);
  max-height: 280px;
  overflow-y: auto;
  z-index: 100;
}

.modal__multiform .fe-suggestions.visible { display: block; }

.modal__multiform .fe-suggestion-item {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}

.modal__multiform .fe-suggestion-item:last-child { border-bottom: none; }

.modal__multiform .fe-suggestion-item:hover { background: var(--accentbg); }

.modal__multiform .fe-suggestion-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.35;
}

.modal__multiform .fe-suggestion-details {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 12px;
  color: var(--text3);
}

.modal__multiform .fe-suggestion-label {
  color: var(--text3);
  opacity: .8;
}

.modal__multiform .fe-selected-company-info {
  margin-top: 10px;
  padding: 12px 16px;
  background: var(--accentbg);
  border: 1px solid var(--border2);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal__multiform .fe-company-detail {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.5;
}

.modal__multiform .fe-company-detail strong {
  color: var(--text);
  font-weight: 700;
  margin-right: 4px;
}

.modal__multiform .field.fe-loading #fe-inn-company {
  background-image: linear-gradient(90deg, transparent, var(--accentbg2), transparent);
  background-size: 200% 100%;
  animation: feLoadingShimmer 1.2s infinite;
}

@keyframes feLoadingShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.modal__multiform .field .policy.error { color: #e74c3c; }

.modal__multiform .field .policy.error input[type="checkbox"] {
  outline: 2px solid #e74c3c;
  outline-offset: 2px;
  border-radius: 4px;
}

.fe-toast {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  padding: 40px 50px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  z-index: 10001;
  max-width: 90vw;
  width: max-content;
}

.fe-toast.visible {
  display: block;
  animation: feToastIn 0.3s ease;
}

@keyframes feToastIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(.9); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.field input.error, 
.field select.error, 
.field textarea.error { 
  border-color: #e74c3c !important; 
  box-shadow: 0 0 0 3px rgba(231, 76, 60, .12) !important; 
}

.fe-file-upload {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: var(--bg);
  border: 1.5px dashed var(--border2);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
  font-size: 14px;
  color: var(--text2);
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.fe-file-upload:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accentbg);
}

.fe-file-upload svg {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0;
  stroke: var(--accent);
}

.fe-file-upload input[type="file"] {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.fe-file-upload.loaded .fe-file-text {
  color: var(--accent);
  font-weight: 700;
}

.bgc-file-upload {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: var(--bg);
  border: 1.5px dashed var(--border2);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
  font-size: 14px;
  color: var(--text2);
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.bgc-file-upload:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accentbg);
}

.bgc-file-upload svg {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
  stroke: var(--accent);
}

.bgc-file-upload input[type="file"] {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.bgc-file-upload.loaded .bgc-file-text {
  color: var(--accent);
  font-weight: 700;
}

.fe-file-upload.file-error, .bgc-file-upload.file-error {
  border-color: #e74c3c !important;
  color: #e74c3c !important;
  background: rgba(231, 76, 60, 0.05) !important;
}

.fe-file-upload.file-error svg, .bgc-file-upload.file-error svg {
  stroke: #e74c3c !important;
}

.fe-dropzone, .bgc-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  background: var(--bg);
  border: 2px dashed var(--border2);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  color: var(--text2);
  font-size: 14px;
  position: relative;
}

.dropzone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.fe-dropzone:hover, .bgc-dropzone:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accentbg);
}

.fe-dropzone.dragover, .bgc-dropzone.dragover {
  border-color: var(--accent);
  background: var(--accentbg2);
  transform: scale(1.01);
}

.fe-dropzone input[type="file"], .bgc-dropzone input[type="file"] {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
}

.fe-dropzone svg, .bgc-dropzone svg {
  width: 24px; height: 24px;
  stroke: var(--accent);
  flex-shrink: 0;
}

.fe-dropzone.file-error, .bgc-dropzone.file-error {
  border-color: #e74c3c;
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.05);
}

.fe-dropzone.file-error svg, .bgc-dropzone.file-error svg {
  stroke: #e74c3c;
}

.fe-dropzone.loaded .fe-file-text, 
.bgc-dropzone.loaded .bgc-file-text {
  color: var(--accent);
  font-weight: 700;
}

.file-list {
  list-style: none;
  margin: 15px 0 0;
  padding: 0;
  width: 100%;
  text-align: left;
  position: relative;
  z-index: 2;
}

.file-item {
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text2);
}

.file-item:last-child { margin-bottom: 0; }

.file-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.file-name {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-size {
  color: var(--text3);
  font-size: 12px;
  white-space: nowrap;
}

.file-progress {
  width: 100%;
  height: 4px;
  background: var(--bg2);
  margin-top: 8px;
  border-radius: 2px;
  overflow: hidden;
}

.file-progress-bar {
  height: 100%;
  background: #1a8c4e !important;
  width: 0%;
  transition: width 0.2s;
}

.file-remove {
  background: none;
  border: none;
  color: var(--text3);
  cursor: pointer;
  font-size: 12px;
  padding: 0 0 0 5px;
  font-weight: bold;
  line-height: 1;
}

.file-remove:hover {
  color: #e74c3c;
}

/* ============================================================
   ===== НОВЫЕ СТИЛИ ДЛЯ BENTO-СЕТКИ HERO =====
   ============================================================ */
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 28px 80px;
  position: relative;
  z-index: 2;
}

.hero-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
}

.hero-main {
  max-width: 600px;
}

.hero-cta-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 36px;
  background: linear-gradient(135deg, var(--accent-green-bg), var(--surface) 60%);
  background-size: 200% 200%;
  height: 100%;
  min-height: 240px;
  border: 1px solid var(--border);
  border-radius: 20px;
  text-decoration: none;
  box-shadow: var(--card-sh);
  transition: all 0.3s ease, background-position 0.5s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: hsFadeIn 0.8s ease 0.2s forwards;
}

.hero-cta-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent-green);
}

.hero-cta-card:hover {
  border-color: var(--accent-green);
  box-shadow: 0 12px 40px rgba(26, 140, 78, 0.15);
  transform: translateY(-4px);
  background-position: 100% 100%;
}

.hsc-graphic {
  position: absolute;
  right: -30px; bottom: -30px;
  width: 200px; height: 200px;
  color: var(--accent-green);
  pointer-events: none;
  animation: hscGraphicFloat 6s ease-in-out infinite, graphicGlow 4s ease-in-out infinite;
}

.hsc-graphic svg { width: 100%; height: 100%; }

.hsc-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.hsc-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-green-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-green);
  position: relative;
}

.hsc-icon-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 2px solid var(--accent-green);
  animation: ctaPulse 2.5s ease-out infinite;
  pointer-events: none;
}

.hsc-icon-wrap svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--accent-green);
  stroke-width: 2;
}

.hsc-text strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.2;
}

.hsc-text span {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.5;
  display: block;
}

.hsc-btn-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-green);
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  align-self: flex-start;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.hsc-btn-wrap svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
}

/* В темной теме делаем текст на кнопке темным для контраста */
[data-theme="dark"] .hsc-btn-wrap {
  color: #080f1c;
}
[data-theme="dark"] .hsc-btn-wrap svg {
  stroke: #080f1c;
}

.hero-cta-card:hover .hsc-btn-wrap {
  filter: brightness(1.1);
  gap: 12px;
}

@keyframes hscGraphicFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes graphicGlow {
  0%, 100% { opacity: 0.06; }
  50% { opacity: 0.12; }
}

@keyframes ctaPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hero-services-wrap {
  position: relative;
  margin-top: 40px;
}

.hero-services-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px;
}

.hs-mini {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 16px 20px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: var(--card-sh);
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(20px);
  animation: hsFadeIn 0.6s ease forwards;
}

.hs-mini:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--card-sh-h);
}

.hs-mini-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accentbg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.hs-mini-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
}

.hs-mini-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.hs-mini-text span {
  display: block;
  font-size: 12px;
  color: var(--text3);
  margin-top: 2px;
}

.hs-mini:nth-child(1) { animation-delay: 0.1s; }
.hs-mini:nth-child(2) { animation-delay: 0.2s; }
.hs-mini:nth-child(3) { animation-delay: 0.3s; }
.hs-mini:nth-child(4) { animation-delay: 0.4s; }
.hs-mini:nth-child(5) { animation-delay: 0.5s; }
.hs-mini:nth-child(6) { animation-delay: 0.6s; }
.hs-mini:nth-child(7) { animation-delay: 0.7s; }
.hs-mini:nth-child(8) { animation-delay: 0.8s; }

@keyframes hsFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

@media(max-width: 900px) {
  .hero-top-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-services-grid { grid-template-columns: 1fr 1fr !important; }
}

@media(max-width: 500px) {
  .hero-services-grid { grid-template-columns: 1fr !important; }
  .hero-cta-card { padding: 24px; }
}

/* ============================================================
   ===== БЛОК СПИСКА ДОКУМЕНТОВ (.fedocs) =====
   ============================================================ */
.fedocs {
  margin: 40px 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--card-sh);
}

@media (max-width: 600px) {
  .fedocs { padding: 24px 20px; }
}

.fedocs__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.fedocs__title::before {
  content: '';
  width: 6px;
  height: 24px;
  background: var(--accent);
  border-radius: 3px;
  flex-shrink: 0;
}

.fedocs__title--spaced {
  margin-top: 48px;
}

.fedocs__group {
  position: relative;
}

.fedocs__switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  background: var(--bg);
  padding: 6px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.fedocs__switch-btn {
  flex: 1;
  min-width: max-content;
  padding: 10px 16px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--text2);
  font-family: 'Geologica', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fedocs__switch-btn:hover {
  color: var(--accent);
}

.fedocs__switch-btn.is-active {
  background: var(--surface);
  color: var(--accent);
  box-shadow: var(--card-sh);
}

.fedocs__panel {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  animation: fedocsFadeIn 0.4s ease;
}

.fedocs__panel.is-active {
  display: flex;
}

@keyframes fedocsFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fedocs__copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--accentbg);
  border: 1px solid var(--border2);
  border-radius: 8px;
  color: var(--accent);
  font-family: 'Geologica', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 16px;
  transition: all 0.2s ease;
}

.fedocs__copy::before {
  content: '⧉';
  font-size: 16px;
  line-height: 1;
}

.fedocs__copy:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-1px);
}

.fedocs__copy.is-copied {
  background: #1a8c4e;
  color: #fff;
  border-color: #1a8c4e;
}

.fedocs__copy.is-copied::before {
  content: '✓';
}

.fedocs__copy-label {
  line-height: 1;
}

.fedocs__list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.fedocs__list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text2);
}

.fedocs__list li:last-child {
  margin-bottom: 0;
}

.fedocs__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231358a5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

[data-theme="dark"] .fedocs__list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%234b9eff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

.fedocs__note {
  display: inline-block;
  font-size: 13px;
  color: var(--text3);
  font-weight: 500;
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: 4px;
  border: 1px solid var(--border);
}

.fedocs__footnote {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--bg);
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: var(--text3);
  line-height: 1.5;
}

@media (max-width: 600px) {
  .fedocs__copy {
    position: relative;
    top: 0;
    margin-bottom: 16px;
  }
  .fedocs__switch-btn {
    font-size: 13px;
    padding: 8px 12px;
  }
}

/* ===== СПИСОК БАНКОВ ===== */
.banks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.bank_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 16px;
  box-shadow: var(--card-sh);
  transition: all 0.2s ease;
  text-align: center;
}

.bank_item:hover {
  border-color: var(--accent);
  box-shadow: var(--card-sh-h);
  transform: translateY(-3px);
}

.bname {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
  line-height: 1.3;
}

.bimg {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bimg img,
.bimg svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 480px) {
  .banks {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
  }
  .bank_item {
    padding: 16px 12px;
  }
}


/* ============================================================
   ===== 404 ERROR PAGE =====
   ============================================================ */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: 120px 20px 80px;
}

/* Фоновые световые пятна */
.error-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.3;
  z-index: 1;
}
.error-orb-1 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  top: -100px;
  left: -100px;
  animation: errorOrbFloat 12s ease-in-out infinite;
}
.error-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--accent2);
  bottom: -100px;
  right: -50px;
  animation: errorOrbFloat 15s ease-in-out infinite reverse;
}

@keyframes errorOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.1); }
}

.error-container {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

/* Гигантская цифра 404 */
.error-code {
  font-size: clamp(120px, 25vw, 220px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  opacity: 0;
  transform: scale(0.8);
  animation: errorCodeIn 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Пульсирующее свечение цифры */
.error-code::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  height: 50%;
  background: var(--accent);
  filter: blur(80px);
  z-index: -1;
  opacity: 0.4;
  animation: errorGlow 3s ease-in-out infinite;
}

@keyframes errorCodeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes errorGlow {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.2); }
}

.error-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  opacity: 0;
  animation: textFadeIn 0.8s ease 0.3s forwards;
}

.error-text {
  font-size: 17px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 36px;
  opacity: 0;
  animation: textFadeIn 0.8s ease 0.4s forwards;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  opacity: 0;
  animation: textFadeIn 0.8s ease 0.5s forwards;
}

.error-hint {
  font-size: 14px;
  color: var(--text3);
  opacity: 0;
  animation: textFadeIn 0.8s ease 0.6s forwards;
}

.error-hint a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--accentbg2);
  transition: border-color 0.2s;
}

.error-hint a:hover {
  border-bottom-color: var(--accent);
}

@media (max-width: 500px) {
  .error-actions {
    flex-direction: column;
  }
  .error-actions .btn-main,
  .error-actions .btn-ghost {
    width: 100%;
    justify-content: center;
  }
}