/* Vmeste Digital — Modern Professional Design */
/* Стиль: современный, минималистичный, с акцентом на читаемость */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary: #64748b;
  --accent: #10b981;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --dark-bg: #0f172a;
  --dark-surface: #1e293b;
  --dark-surface-2: #334155;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #cbd5e1;
  --border: #475569;
  --border-light: #64748b;
  --radius: 12px;
  --radius-lg: 16px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --header: 80px;
  --wrap: min(1200px, 92%);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--dark-bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* === HEADER === */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  z-index: 102;
  color: var(--text-main);
}

.brand span {
  color: var(--text-muted);
}

.brand__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand__icon::before {
  content: 'V';
  font-weight: 800;
  font-size: 0.85rem;
  color: white;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  transition: color 0.3s var(--ease);
}

.nav__link:hover { color: var(--primary); }
.nav__link.is-active { color: var(--primary); }

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--dark-surface);
  cursor: pointer;
  z-index: 102;
  transition: all 0.3s var(--ease);
}

.menu-btn:hover { background: var(--dark-surface-2); }

.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  letter-spacing: 0.02em;
}

.btn--primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn--primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.btn--secondary {
  background: var(--dark-surface);
  border: 1px solid var(--border);
  color: var(--text-main);
}

.btn--secondary:hover {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.05);
}

.btn--sm { padding: 0.65rem 1.3rem; font-size: 0.8rem; }

/* === TYPOGRAPHY === */
.kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.8rem;
  display: inline-block;
}

.section__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.section__desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 40rem;
  line-height: 1.7;
}

.section__intro { margin-bottom: 3rem; }
.section__intro--center { text-align: center; }
.section__intro--center .section__desc { margin-inline: auto; }

/* === HERO === */
.hero {
  padding: calc(var(--header) + 5rem) 0 5rem;
  position: relative;
  background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.15), transparent 40%),
              radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.1), transparent 40%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-bottom: 4rem;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.hero__title em {
  font-style: normal;
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__text {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 36rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  gap: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.hero__stats dt {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.hero__stats dd {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
}

/* === DASHBOARD MOCK === */
.hero__panel {
  position: relative;
}

.dash {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--dark-surface);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.dash__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.dash__status {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.1);
}

.dash__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
}

.dash__metric {
  padding: 1.25rem 1.5rem;
  background: var(--dark-surface);
}

.dash__metric span {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.dash__metric strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
}

.dash__metric em {
  font-size: 0.75rem;
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
}

.dash__chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 140px;
  padding: 1.5rem;
}

.dash__bar {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  opacity: 0.9;
}

/* === TRUST BAR === */
.trust {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 2rem 0 4rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.trust__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.trust__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: center;
}

.trust__logos a,
.trust__logos span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s;
}

.trust__logos a:hover { color: var(--primary); }

/* === SECTIONS === */
.section {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}

.section--muted { background: var(--dark-surface-2); }

[id] { scroll-margin-top: calc(var(--header) + 1.5rem); }

/* === ABOUT CONTENT (NEW) === */
.about-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.about-card {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: var(--dark-surface);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.about-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.about-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

.about-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* === STATS GRID === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.stat-item {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--dark-surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease);
}

.stat-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* === PILLARS === */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.pillar {
  padding: 2.5rem;
  background: var(--dark-surface);
  position: relative;
  transition: background 0.3s var(--ease);
}

.pillar:hover { background: var(--dark-surface-2); }

.pillar__n {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.2rem;
}

.pillar h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.pillar p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === LEAD CARD === */
.lead {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--dark-surface);
}

.lead__avatar {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  background: var(--primary);
  color: white;
}

.lead__name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--text-main);
}

.lead__role {
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.lead__bio {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === CARDS === */
.cards { display: grid; gap: 1rem; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--dark-surface);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.card p {
  flex: 1;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.card--service { min-height: 280px; }

.card__footer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.card__price {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.card__price strong {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
}

.services__note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* === SPLIT / PRODUCT === */
.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.checks {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.checks li {
  position: relative;
  padding-left: 1.8rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.checks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
}

.split__aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-box {
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--dark-surface);
  transition: all 0.3s var(--ease);
}

.info-box:hover { border-color: var(--primary); transform: translateY(-2px); }

.info-box__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.info-box__value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

/* === CONTACT === */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact__links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact__link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.75rem 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--dark-surface);
  transition: all 0.3s var(--ease);
}

.contact__link:hover {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.05);
  transform: translateY(-2px);
}

.contact__link span {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.contact__link strong {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

/* === CONTACT FORM === */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-input {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--dark-surface);
  color: var(--text-main);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.form-input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-input--error {
  border-color: #ef4444;
}

.form-input--error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394a3b8' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-select option {
  background: #1e293b;
  color: #e2e8f0;
}

.form-error {
  font-size: 0.8rem;
  color: #ef4444;
  display: none;
}

.form-error--visible {
  display: block;
}

.form-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-size: 1rem;
  align-self: flex-start;
  min-width: 160px;
}

.form-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-btn__spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: form-spin 0.6s linear infinite;
}

@keyframes form-spin {
  to { transform: rotate(360deg); }
}

.form-success {
  padding: 1rem 1.25rem;
  border: 1px solid #22c55e;
  border-radius: var(--radius);
  background: rgba(34, 197, 94, 0.08);
  color: #22c55e;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 2.5rem;
  background: var(--dark-surface-2);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.brand--footer {
  font-weight: 800;
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
  color: var(--text-main);
}

.footer__tag {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 22rem;
  line-height: 1.6;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__nav a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer__nav a:hover { color: var(--primary); }

.footer__legal p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer__bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer__policy {
  display: flex;
  gap: 1.5rem;
}

.footer__policy a {
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer__policy a:hover { color: var(--primary); }

/* === REVEAL ANIMATION === */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero__grid,
  .split,
  .contact,
  .pillars,
  .cards--3,
  .footer__grid,
  .about-content,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero__panel { order: -1; }
  .dash__metrics { grid-template-columns: 1fr; }
  
  .hero__stats { flex-direction: column; gap: 1.5rem; }
  .hero__stats dt, .hero__stats dd { text-align: center; }
}

@media (max-width: 768px) {
  .menu-btn { display: flex; }

  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 101;
  }

  .nav.nav-open { opacity: 1; visibility: visible; }
  .nav__link { font-size: 1.1rem; }
  
  .nav-open .menu-btn span:first-child { transform: translateY(6px) rotate(45deg); }
  .nav-open .menu-btn span:last-child { transform: translateY(-6px) rotate(-45deg); }

  .header__inner { padding: 0 1rem; }
  .hero { padding-top: calc(var(--header) + 5rem); }
}

@media (max-width: 600px) {
  .wrap { width: min(100% - 2rem, 500px); }
  .btn { width: 100%; }
  .hero__cta { flex-direction: column; }
  .hero__stats { padding-top: 1.5rem; }
  .hero { padding-top: calc(var(--header) + 6rem); }
}

/* === ANIMATIONS === */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === PRINT === */
@media print {
  .header, .menu-btn, .dash__chart .dash__bar { display: none !important; }
  body { background: white; color: black; }
  a { color: black; text-decoration: underline; }
}
