/* ============================================================
   SERVICES LANDING (vs-*)
   Портировано из референса victoriyasquad-unified.html
   ============================================================ */

.vs-page {
  --text-muted: var(--text-secondary);
  --text-main: var(--text-primary);
  --purple: var(--color-primary);
  --card-bg: var(--gradient-card);
  --surface-color: rgba(0, 0, 0, 0.3);
  --bg-color: var(--bg-base);
  padding-bottom: 40px;
}

.vs-subnav {
  position: sticky;
  top: 70px;
  z-index: 50;
  display: flex;
  gap: 4px;
  padding: 8px;
  background: rgba(10, 11, 16, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.vs-subnav::-webkit-scrollbar { display: none; }

.vs-subnav-link {
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 8px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: transparent;
  font-family: inherit;
}
.vs-subnav-link:hover { color: #fff; background: rgba(139, 92, 246, 0.1); }
.vs-subnav-link.active { background: var(--gradient-accent); color: #fff; }

.vs-hero {
  position: relative;
  padding: 60px 0 80px;
  text-align: center;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 77, 141, 0.1) 0%, transparent 50%);
  border: 1px solid rgba(139, 92, 246, 0.15);
}
.vs-hero-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: 24px; }
.vs-hero-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; }
.vs-hero-orb.orb-1 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent 70%); top: 5%; left: -5%; animation: vsOrbFloat 15s ease-in-out infinite; }
.vs-hero-orb.orb-2 { width: 260px; height: 260px; background: radial-gradient(circle, rgba(255, 77, 141, 0.35), transparent 70%); top: 20%; right: -5%; animation: vsOrbFloat 18s ease-in-out infinite reverse; }
.vs-hero-orb.orb-3 { width: 220px; height: 220px; background: radial-gradient(circle, rgba(34, 211, 238, 0.2), transparent 70%); bottom: 10%; left: 30%; animation: vsOrbFloat 20s ease-in-out infinite; animation-delay: -5s; }
@keyframes vsOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.1); }
  66% { transform: translate(-30px, 20px) scale(0.95); }
}

.vs-hero-content { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; padding: 0 20px; }
.vs-hero-wave { display: flex; justify-content: center; gap: 4px; height: 32px; margin: 0 auto 24px; align-items: flex-end; }
.vs-hero-wave span { display: block; width: 4px; border-radius: 2px; background: var(--gradient-accent); transform-origin: bottom; animation: vsWave 1.2s ease-in-out infinite; }
@keyframes vsWave { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }
.vs-hero-wave span:nth-child(1) { height: 40%; animation-delay: 0s; }
.vs-hero-wave span:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.vs-hero-wave span:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.vs-hero-wave span:nth-child(4) { height: 60%; animation-delay: 0.3s; }
.vs-hero-wave span:nth-child(5) { height: 80%; animation-delay: 0.4s; }
.vs-hero-wave span:nth-child(6) { height: 45%; animation-delay: 0.5s; }
.vs-hero-wave span:nth-child(7) { height: 90%; animation-delay: 0.6s; }
.vs-hero-wave span:nth-child(8) { height: 55%; animation-delay: 0.7s; }
.vs-hero-wave span:nth-child(9) { height: 35%; animation-delay: 0.8s; }

.vs-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 24px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  font-size: 12px;
  font-weight: 600;
  color: var(--purple-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.vs-hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-accent);
  box-shadow: 0 0 12px var(--accent);
  animation: vsPulseDot 2s ease-in-out infinite;
}
.vs-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: #fff;
}
.vs-hero h1 .grad,
.vs-section-title .grad {
  background: linear-gradient(135deg, #ff4d8d, #8b5cf6, #22d3ee, #ff4d8d);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientSlide 6s ease infinite;
}
.vs-hero-desc { font-size: 15px; color: var(--text-muted); line-height: 1.7; max-width: 640px; margin: 0 auto 32px; }
.vs-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; }
.vs-btn-hero {
  padding: 14px 30px;
  border-radius: 10px;
  border: none;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  font-family: inherit;
  cursor: pointer;
}
.vs-btn-hero.primary {
  background: var(--gradient-accent);
  color: #fff;
  background-size: 200% 200%;
  animation: gradientSlide 4s ease infinite;
  box-shadow: 0 8px 24px rgba(255, 77, 141, 0.35);
}
.vs-btn-hero.primary:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(255, 77, 141, 0.5); }
.vs-btn-hero.secondary { background: rgba(255, 255, 255, 0.05); color: var(--text-main); border: 1px solid var(--border-color); }
.vs-btn-hero.secondary:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-3px); }

.vs-hero-online { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 13px; font-weight: 600; color: var(--text-muted); }
.vs-hero-online-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); animation: vsPulseDot 2s ease-in-out infinite; }
@keyframes vsPulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
}
.vs-hero-online strong { color: #4ade80; }

.vs-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: rgba(16, 18, 26, 0.6);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.vs-hero-stat { padding: 24px 16px; border-right: 1px solid var(--border-color); text-align: center; transition: all 0.3s; }
.vs-hero-stat:hover { background: rgba(139, 92, 246, 0.05); }
.vs-hero-stat:last-child { border-right: none; }
.vs-hero-stat-value { font-family: var(--font-heading); font-size: 34px; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 8px; transition: color 0.3s; }
.vs-hero-stat:hover .vs-hero-stat-value { color: var(--accent); }
.vs-hero-stat-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

.vs-section { padding: 60px 0; border-top: 1px solid var(--border-color); scroll-margin-top: 140px; }
.vs-section:first-of-type { border-top: none; padding-top: 40px; }
.vs-section-head { margin-bottom: 40px; text-align: center; max-width: 700px; margin-left: auto; margin-right: auto; }
.vs-section-label { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 14px; }
.vs-section-label::before { content: ''; width: 20px; height: 2px; background: var(--accent); }
.vs-section-title { font-family: var(--font-heading); font-size: clamp(26px, 3.5vw, 38px); font-weight: 700; line-height: 1.1; letter-spacing: -0.8px; color: #fff; margin-bottom: 12px; display: block; }
.vs-section-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.vs-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.vs-services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.vs-services-grid-small { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 18px; }
.vs-service-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.vs-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.vs-service-card:hover::before { transform: scaleX(1); }
.vs-service-card:hover { border-color: rgba(139, 92, 246, 0.5); transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 30px rgba(139, 92, 246, 0.15); }
.vs-service-card.big { padding: 34px; }
.vs-service-card.big h3 { font-size: 22px; }
.vs-service-badge { position: absolute; top: 14px; right: 14px; background: var(--gradient-accent); color: #fff; padding: 5px 12px; border-radius: 20px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 4px 15px rgba(255, 77, 141, 0.4); z-index: 2; }
.vs-service-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  margin-bottom: 18px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  transition: all 0.3s;
}
.vs-service-card.big .vs-service-icon { width: 60px; height: 60px; font-size: 26px; }
.vs-service-card:hover .vs-service-icon { transform: scale(1.08) rotate(-4deg); background: var(--gradient-accent); border-color: transparent; box-shadow: 0 8px 24px rgba(255, 77, 141, 0.4); }
.vs-service-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.vs-service-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.vs-service-price { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border-color); font-size: 15px; font-weight: 700; color: #fff; }
.vs-service-price small { font-size: 11px; color: var(--text-muted); font-weight: 500; }

.vs-team-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 6px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 40px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--border-color);
}
.vs-team-tab { padding: 10px 20px; border-radius: 30px; background: transparent; border: none; color: var(--text-muted); font-size: 13px; font-weight: 600; transition: all 0.3s; font-family: inherit; cursor: pointer; }
.vs-team-tab:hover { color: #fff; }
.vs-team-tab.active { background: var(--gradient-accent); color: #fff; box-shadow: 0 6px 20px rgba(255, 77, 141, 0.35); }
.vs-team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px 20px; min-height: 240px; }
.vs-team-card { text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform 0.3s ease; }
.vs-team-card:hover { transform: translateY(-6px); }
.vs-team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  transition: all 0.4s;
  overflow: hidden;
}
.vs-team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.vs-team-card:hover .vs-team-avatar { transform: scale(1.08); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(139, 92, 246, 0.3); }
.vs-team-name { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 4px; line-height: 1.3; }
.vs-team-role { font-size: 12px; color: var(--text-muted); margin-bottom: 14px; line-height: 1.5; flex: 1; }
.vs-team-empty { grid-column: 1 / -1; text-align: center; color: var(--text-muted); font-size: 14px; padding: 40px 0; }

.vs-adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.vs-adv-card { padding: 24px; border: 1px solid var(--border-color); border-radius: 16px; background: var(--card-bg); transition: all 0.4s; position: relative; overflow: hidden; }
.vs-adv-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gradient-accent); transform: scaleX(0); transform-origin: left; transition: transform 0.4s; }
.vs-adv-card:hover::before { transform: scaleX(1); }
.vs-adv-card:hover { border-color: rgba(255, 77, 141, 0.4); transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); }
.vs-adv-card i { font-size: 24px; color: var(--accent); margin-bottom: 14px; display: block; transition: all 0.3s; }
.vs-adv-card:hover i { transform: scale(1.2) rotate(-8deg); }
.vs-adv-card h3 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.3; }
.vs-adv-card p { font-size: 12px; color: var(--text-muted); line-height: 1.6; }

.vs-mini-steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 16px; align-items: center; padding: 28px; background: rgba(139, 92, 246, 0.04); border: 1px solid rgba(139, 92, 246, 0.2); border-radius: 16px; }
.vs-mini-step { display: flex; align-items: center; gap: 14px; }
.vs-mini-step-num { width: 42px; height: 42px; border-radius: 50%; background: var(--gradient-accent); color: #fff; font-family: var(--font-heading); font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 6px 18px rgba(255, 77, 141, 0.3); }
.vs-mini-step-info h4 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.vs-mini-step-info p { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.vs-mini-step-arrow { color: var(--text-muted); font-size: 14px; }

.vs-faq-wrap { max-width: 800px; margin: 0 auto; }
.vs-faq-item { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; margin-bottom: 10px; overflow: hidden; transition: all 0.3s; }
.vs-faq-item:hover { border-color: rgba(139, 92, 246, 0.3); }
.vs-faq-item.open { border-color: rgba(139, 92, 246, 0.5); background: rgba(139, 92, 246, 0.04); }
.vs-faq-q { padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-size: 14px; font-weight: 600; color: #fff; transition: color 0.2s; }
.vs-faq-q:hover { color: var(--accent); }
.vs-faq-icon { width: 26px; height: 26px; border-radius: 50%; background: rgba(139, 92, 246, 0.1); display: flex; align-items: center; justify-content: center; color: var(--purple-light); font-size: 11px; flex-shrink: 0; transition: all 0.3s; }
.vs-faq-item.open .vs-faq-icon { background: var(--gradient-accent); color: #fff; transform: rotate(180deg); }
.vs-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.vs-faq-item.open .vs-faq-a { max-height: 300px; }
.vs-faq-a-inner { padding: 0 22px 18px; font-size: 13px; color: var(--text-muted); line-height: 1.7; }

.vs-contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.vs-contact-col h3 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.vs-contact-col > p { font-size: 13px; color: var(--text-muted); margin-bottom: 22px; }
.vs-c-item { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--border-color); border-radius: 12px; background: var(--card-bg); margin-bottom: 12px; transition: all 0.3s; }
.vs-c-item:hover { border-color: var(--accent); transform: translateX(4px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
.vs-c-icon { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); display: flex; align-items: center; justify-content: center; font-size: 17px; color: var(--accent); flex-shrink: 0; transition: all 0.3s; }
.vs-c-item:hover .vs-c-icon { background: var(--gradient-accent); color: #fff; transform: rotate(-6deg) scale(1.05); }
.vs-c-info h4 { font-size: 10px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 3px; letter-spacing: 0.5px; }
.vs-c-info a { font-size: 14px; color: #fff; font-weight: 600; word-break: break-all; transition: color 0.2s; }
.vs-c-info a:hover { color: var(--accent); }

.vs-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vs-form-group { margin-bottom: 14px; }
.vs-form-label { display: block; font-size: 10px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 7px; }
.vs-form-control { width: 100%; background: var(--surface-color); border: 1px solid var(--border-color); padding: 12px; border-radius: 8px; color: #fff; font-family: inherit; font-size: 13px; outline: none; transition: all 0.25s; }
.vs-form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 77, 141, 0.15); background: rgba(255, 255, 255, 0.02); }
textarea.vs-form-control { resize: vertical; min-height: 100px; }
.vs-btn-submit { width: 100%; padding: 14px; border-radius: 10px; background: var(--gradient-accent); color: #fff; border: none; font-size: 13px; font-weight: 700; transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 10px; background-size: 200% 200%; animation: gradientSlide 4s ease infinite; font-family: inherit; cursor: pointer; }
.vs-btn-submit:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(255, 77, 141, 0.4); }
.vs-btn-submit:disabled { opacity: 0.6; cursor: default; transform: none; }
.vs-form-error { display: none; margin-bottom: 12px; padding: 10px 14px; border-radius: 8px; font-size: 13px; color: #f87171; background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.3); }

.vs-modal-overlay { position: fixed; inset: 0; background: rgba(5, 6, 10, 0.92); backdrop-filter: blur(12px); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.vs-modal-overlay.active { display: flex; animation: fadeInOpacity 0.3s ease; }
.vs-modal { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; width: 100%; max-width: 440px; position: relative; overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8); animation: vsScaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); text-align: center; padding: 34px 26px; }
@keyframes vsScaleIn { from { opacity: 0; transform: scale(0.9) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.vs-modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; color: #fff; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.vs-modal-close:hover { background: var(--accent); border-color: var(--accent); transform: rotate(90deg); }
.vs-success-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: rgba(74, 222, 128, 0.12); border: 1px solid rgba(74, 222, 128, 0.3); color: #4ade80; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.vs-success-title { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.vs-success-text { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 22px; }
.vs-success-id { display: inline-block; margin-bottom: 20px; padding: 4px 12px; border-radius: 20px; background: rgba(139, 92, 246, 0.12); border: 1px solid rgba(139, 92, 246, 0.3); color: var(--purple-light); font-size: 12px; font-weight: 700; }
.vs-success-btn { width: 100%; padding: 12px; border-radius: 10px; border: none; background: var(--gradient-accent); color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit; }

@media (max-width: 1024px) {
  .vs-services-grid { grid-template-columns: 1fr; }
  .vs-services-grid-small { grid-template-columns: 1fr 1fr; }
  .vs-adv-grid { grid-template-columns: 1fr 1fr; }
  .vs-contact-wrap { grid-template-columns: 1fr; gap: 30px; }
  .vs-mini-steps { grid-template-columns: 1fr; gap: 12px; }
  .vs-mini-step-arrow { transform: rotate(90deg); justify-self: center; }
}
@media (max-width: 768px) {
  .vs-subnav { top: 70px; padding: 6px; }
  .vs-subnav-link { padding: 8px 14px; font-size: 12px; }
  .vs-hero { padding: 40px 0 50px; }
  .vs-hero-wave { height: 24px; }
  .vs-hero-stats { grid-template-columns: 1fr 1fr; }
  .vs-hero-stat { border-right: none; border-bottom: 1px solid var(--border-color); }
  .vs-hero-stat:nth-child(1),
  .vs-hero-stat:nth-child(3) { border-right: 1px solid var(--border-color); }
  .vs-hero-stat:nth-child(3),
  .vs-hero-stat:nth-child(4) { border-bottom: none; }
  .vs-section { padding: 40px 0; }
  .vs-team-grid { grid-template-columns: 1fr 1fr; }
  .vs-adv-grid { grid-template-columns: 1fr; }
  .vs-form-row { grid-template-columns: 1fr; }
  .vs-team-tabs { gap: 4px; padding: 4px; border-radius: 12px; width: 100%; }
  .vs-team-tab { padding: 8px 12px; font-size: 11px; }
  .vs-services-grid-small { grid-template-columns: 1fr; }
  .vs-faq-q { padding: 16px 18px; font-size: 13px; }
  .vs-faq-a-inner { padding: 0 18px 16px; font-size: 12px; }
}
@media (max-width: 480px) {
  .vs-team-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .vs-hero-orb,
  .vs-hero-wave span,
  .vs-hero-badge::before,
  .vs-hero-online-dot,
  .vs-hero h1 .grad,
  .vs-section-title .grad,
  .vs-btn-hero.primary,
  .vs-btn-submit { animation: none !important; }
  .vs-service-card,
  .vs-team-card,
  .vs-adv-card,
  .vs-faq-item,
  .vs-faq-a,
  .vs-team-avatar { transition: none !important; }
}

/* ============================================================
   TEAM CARD: PHOTO + HOVER PLAY (admin editing)
   ============================================================ */
.vs-team-admin { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.vs-team-manage {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.vs-team-manage:hover { border-color: rgba(139, 92, 246, 0.45); background: rgba(139, 92, 246, 0.08); }
.vs-team-manage.is-active { background: var(--gradient-accent); border-color: transparent; color: #fff; }
.vs-team-status {
  min-height: 18px;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}
.vs-team-status.is-success { color: #4ade80; }
.vs-team-status.is-error { color: #f87171; }
.vs-team-status.is-pending { color: var(--text-muted); }

.vs-team-photo {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.vs-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1);
  transition: filter 0.45s ease, transform 0.45s ease, brightness 0.45s ease;
}
.vs-team-card:hover .vs-team-photo { transform: scale(1.04); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(139, 92, 246, 0.25); }
.vs-team-card:hover .vs-team-photo img { filter: grayscale(0) brightness(0.78); transform: scale(1.1); }

.vs-team-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 11, 16, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}
.vs-team-card:hover .vs-team-overlay,
.vs-team-card:focus-within .vs-team-overlay { opacity: 1; }

.vs-team-play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: rgba(10, 11, 16, 0.75);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.vs-team-play:hover { background: var(--gradient-accent); border-color: transparent; transform: scale(1.08); }
.vs-team-play i { margin-left: 3px; }

.vs-team-tools {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  gap: 4px;
  z-index: 3;
}
.vs-team-tool {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 11, 16, 0.75);
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.vs-team-tool:hover { background: var(--gradient-accent); border-color: transparent; }
.vs-team-tool--danger:hover { background: #ef4444; }
.vs-team-drag {
  position: absolute;
  left: 6px;
  bottom: 6px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(10, 11, 16, 0.7);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: grab;
  z-index: 3;
}
.vs-team-card.is-editing { cursor: grab; }
.vs-team-card.is-dragging { opacity: 0.45; }
.vs-team-card.is-drag-over .vs-team-photo { outline: 2px dashed var(--accent); outline-offset: 3px; }

.vs-team-add {
  min-height: 180px;
  border: 2px dashed var(--glass-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.vs-team-add i { font-size: 20px; }
.vs-team-add:hover { border-color: var(--accent); color: #fff; background: rgba(255, 77, 141, 0.05); }

/* ============================================================
   MODALS: MEMBER EDITOR + VIDEO PLAYER
   ============================================================ */
.vs-member-modal {
  max-width: 760px;
  padding: 26px 26px 20px;
  text-align: left;
}
.vs-member-title { margin: 0 0 18px; padding-right: 40px; color: #fff; font-size: 19px; font-weight: 800; }
.vs-member-body { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 24px; }
.vs-member-photo-preview {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(145deg, #202331, #12141c);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.25);
  font-size: 30px;
  overflow: hidden;
  margin-bottom: 12px;
}
.vs-member-photo-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vs-member-photo-col .vs-form-control { font-size: 12px; }
.vs-member-fields { min-width: 0; }
.vs-member-row { display: grid; grid-template-columns: minmax(0, 1fr) 90px; gap: 12px; }
.vs-member-color input { padding: 4px; height: 42px; }
.vs-member-status { min-height: 18px; margin-top: 6px; font-size: 12px; }
.vs-member-status.is-error { color: #f87171; }
.vs-member-status.is-pending { color: var(--text-muted); }
.vs-member-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
  flex-wrap: wrap;
}
.vs-member-actions-right { display: flex; gap: 8px; margin-left: auto; }
.vs-member-btn {
  padding: 10px 18px;
  border-radius: 9px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.vs-member-btn:hover { background: rgba(255, 255, 255, 0.08); }
.vs-member-btn--primary { background: var(--gradient-accent); border-color: transparent; color: #fff; }
.vs-member-delete {
  padding: 10px 14px;
  border-radius: 9px;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.1);
  color: #f87171;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.vs-member-delete:hover { background: rgba(248, 113, 113, 0.2); }
.vs-member-delete[hidden] { display: none; }

.vs-player-modal { max-width: 920px; padding: 22px; text-align: left; }
.vs-player-title { margin: 0 0 14px; padding-right: 40px; color: #fff; font-size: 17px; font-weight: 700; }
.vs-player-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.vs-player-frame iframe,
.vs-player-frame video { width: 100%; height: 100%; border: none; display: block; }
.vs-player-foot { margin-top: 12px; text-align: right; }
.vs-player-foot a { color: var(--purple-light); font-size: 12px; font-weight: 600; text-decoration: none; }
.vs-player-foot a:hover { color: #fff; }

@media (max-width: 768px) {
  .vs-member-modal { padding: 20px 16px 16px; }
  .vs-member-body { grid-template-columns: 1fr; gap: 16px; }
  .vs-member-photo-preview { max-width: 150px; margin: 0 auto 10px; }
  .vs-member-actions { flex-direction: column; align-items: stretch; }
  .vs-member-actions-right { margin-left: 0; }
  .vs-member-btn, .vs-member-delete { width: 100%; justify-content: center; }
}

/* Photo upload: dropzone inside member editor */
.vs-member-photo-preview { cursor: pointer; position: relative; transition: border-color 0.2s, box-shadow 0.2s; }
.vs-member-photo-preview:hover { border-color: rgba(139, 92, 246, 0.55); }
.vs-member-photo-preview:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.vs-member-photo-preview.is-dragover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 77, 141, 0.18);
}
.vs-member-photo-preview.is-loading::after {
  content: 'Загрузка…';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 6, 10, 0.65);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.vs-member-photo-hint {
  margin: -2px 0 8px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}
.vs-member-upload-status {
  min-height: 16px;
  margin-bottom: 10px;
  font-size: 11px;
  text-align: center;
}
.vs-member-upload-status.is-success { color: #4ade80; }
.vs-member-upload-status.is-error { color: #f87171; }
.vs-member-upload-status.is-pending { color: var(--text-muted); }

/* Video URL check + fallback player */
.vs-member-video-row { display: flex; gap: 8px; align-items: stretch; }
.vs-member-video-row .vs-form-control { flex: 1; min-width: 0; }
.vs-member-check {
  flex: 0 0 auto;
  padding: 0 14px;
  border-radius: 9px;
  border: 1px solid rgba(139, 92, 246, 0.35);
  background: rgba(139, 92, 246, 0.1);
  color: var(--purple-light);
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.vs-member-check:hover { background: rgba(139, 92, 246, 0.2); border-color: rgba(139, 92, 246, 0.6); }
.vs-member-video-status { min-height: 16px; margin-top: 6px; font-size: 11px; line-height: 1.45; }
.vs-member-video-status.is-ok { color: #4ade80; }
.vs-member-video-status.is-warn { color: #fbbf24; }

.vs-player-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 260px;
  padding: 28px 22px;
  border: 1px dashed rgba(251, 191, 36, 0.35);
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.04);
  text-align: center;
}
.vs-player-fallback[hidden] { display: none; }
.vs-player-fallback > i { font-size: 34px; color: #fbbf24; opacity: 0.85; }
.vs-player-fallback-title { color: #fff; font-size: 16px; font-weight: 700; }
.vs-player-fallback-text { margin: 0; max-width: 460px; color: var(--text-muted); font-size: 13px; line-height: 1.6; }
