
:root {
  --font-sans: -apple-system, system-ui, Segoe UI, Roboto, Inter, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  /* Базовые */
  --bg: #f5f5f7;
  --surface: #ffffff;
  --text: #0a0a0a;
  --muted: #6b7280;
  --line: #e5e7eb;
  --brand-primary: #0a0a0a;
  /* Акцентная палитра (из изображения): */
  --accent-amber: #FAA31A; /* золотистый */
  --accent-sage: #92988E;  /* серо‑зеленый */
  --accent-olive: #A49E79; /* оливковый */
  --accent-peach: #EEA153; /* персиковый */
  --accent-ice: #B7C6CE;   /* холодный серый‑голубой */
  --accent-green: #82C451;  /* зеленый */
  --brand-contrast: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,0.05), 0 8px 24px rgba(0,0,0,0.06);
}

* { box-sizing: border-box; }
html { 
  scroll-behavior: smooth; 
  overflow-x: hidden;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  zoom: 1;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  zoom: 1;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: saturate(180%) blur(12px);
  background: rgba(245,245,247,0.7);
  border-bottom: 1px solid var(--line);
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 28px; height: 28px; object-fit: contain; }
.brand-name { font-weight: 600; letter-spacing: 0.4px; }

.nav-list {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.nav-toggle { display: none; }
.nav-cta { padding: 10px 14px; border: 1px solid var(--text); border-radius: 999px; }
.nav a:hover { color: var(--accent-olive); }

.section { padding: 48px 0; }
.section-title { font-size: 32px; line-height: 1.2; margin: 0 0 24px; }
.section-title::after { content: ""; display: block; width: 64px; height: 3px; margin-top: 8px; background: linear-gradient(90deg, var(--accent-amber), var(--accent-olive), var(--accent-green)); opacity: .6; border-radius: 999px; }

.hero { padding-top: 64px; position: relative; }
.hero::before { content: none; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.hero-visual { position: relative; height: 360px; perspective: 800px; }
.hero-bg { display:none; }
.blob { display:none; }
.hero-logo-card { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.hero-logo { width: 78%; max-width: 468px; height: auto; object-fit: contain; transform: rotateX(0) rotateY(0); transition: transform .15s ease-out; filter: none; box-shadow: none !important; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); }
  50% { transform: translateY(-12px) translateX(8px) scale(1.05); }
}
/* Небольшое «дыхание» логотипа для мобилок */
@keyframes logo-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.hero-title { font-size: 44px; line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.5px; }
.hero-subtitle { color: var(--muted); font-size: 18px; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* Coming soon page specific styling */
.coming .hero-actions {
  margin-top: 48px;
}

.coming .cards {
  margin-bottom: 25px;
}
.kicker { display:none; }
.hero-badges { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.stat-badge { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; color: var(--text); }
.stat-badge:nth-child(1) strong { color: var(--accent-amber); }
.stat-badge:nth-child(2) strong { color: var(--accent-peach); }
.stat-badge:nth-child(3) { border-color: var(--accent-ice); }

.vendors { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.vendor-badge { 
  border: 1px solid var(--line); 
  padding: 8px 12px; 
  border-radius: 999px; 
  background: var(--surface);
  position: relative;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  perspective: 1000px;
  overflow: hidden;
  font-weight: 500;
  user-select: none;
  z-index: 0;
  display: inline-block;
}

.vendor-badge > * {
  position: relative;
  z-index: 3;
}



/* Click feedback */
.vendor-badge:active {
  transform: translateY(-1px) rotateX(0deg) rotateY(0deg) scale(0.98) !important;
  transition: transform 0.1s ease !important;
}



/* Vendor selected indicator */
.vendor-selected-indicator {
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hint text on mobile */
@media (max-width: 768px) {
  .vendors::after {
    content: "👆 Нажмите на вендора для быстрой заявки";
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 8px;
    text-align: center;
  }
}

.vendor-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 20%,
    rgba(255, 255, 255, 0.1) 30%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0.1) 70%,
    transparent 80%
  );
  transform: translateX(-120%) translateY(-120%) rotate(45deg);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  z-index: 2;
}

.vendor-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.05) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.vendor-badge:hover {
  transform: translateY(-4px) rotateX(5deg) rotateY(5deg);
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.15),
    0 5px 10px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.vendor-badge:hover::after {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.02) 100%
  );
}

.vendor-badge:hover::before {
  transform: translateX(120%) translateY(120%) rotate(45deg);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.vendor-badge:active {
  transform: translateY(-2px) rotateX(2deg) rotateY(2deg);
  transition: transform 0.1s ease;
}

.vendor-badge:nth-child(1) { 
  border-color: var(--accent-amber);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(255, 193, 7, 0.05) 100%);
}

.vendor-badge:nth-child(1):hover {
  border-color: var(--accent-amber);
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
  box-shadow: 
    0 10px 25px rgba(255, 193, 7, 0.3),
    0 5px 10px rgba(255, 193, 7, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.vendor-badge:nth-child(2) { 
  border-color: var(--accent-sage);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(130, 196, 81, 0.05) 100%);
}

.vendor-badge:nth-child(2):hover {
  border-color: var(--accent-sage);
  background: linear-gradient(135deg, rgba(130, 196, 81, 0.1) 0%, rgba(130, 196, 81, 0.05) 100%);
  box-shadow: 
    0 10px 25px rgba(130, 196, 81, 0.3),
    0 5px 10px rgba(130, 196, 81, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.vendor-badge:nth-child(3) { 
  border-color: var(--accent-ice);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.vendor-badge:nth-child(3):hover {
  border-color: var(--accent-ice);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
  box-shadow: 
    0 10px 25px rgba(59, 130, 246, 0.3),
    0 5px 10px rgba(59, 130, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cards { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.balance {}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .2s ease;
}
.card > p { min-height: 0; }
.card h3 { color: var(--brand-primary); }
.card h3::after { content: ""; display: block; width: 28px; height: 2px; background: var(--accent-olive); margin-top: 6px; opacity: .3; }
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.08); }
.card h3 { margin-top: 0; margin-bottom: 8px; font-size: 20px; }
.card p { margin: 0 0 12px; color: var(--text); }

/* Pricing section */
.pricing {
  position: relative;
}

.pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(250,163,26,0.10), transparent 60%),
    radial-gradient(circle at top right, rgba(183,198,206,0.14), transparent 60%),
    radial-gradient(circle at bottom, rgba(130,196,81,0.10), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}

.pricing .container {
  position: relative;
  z-index: 1;
}

.pricing-head {
  text-align: left;
  max-width: none;
  margin: 0 0 28px;
}

.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  border-radius: 18px;
  border-color: rgba(15,23,42,0.08);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(249,250,251,0.96));
  box-shadow:
    0 18px 45px rgba(15,23,42,0.12),
    0 1px 0 rgba(255,255,255,0.8);
}

.pricing-card-head {
  margin-bottom: 8px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
}

.pricing-label {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.4);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(130,196,81,0.12);
  color: var(--accent-green);
  font-size: 11px;
  font-weight: 600;
}

.pricing-card h3 {
  margin-bottom: 4px;
}

.pricing-subtitle {
  font-size: 14px;
  color: var(--muted);
}

.pricing-list {
  margin-top: 10px;
  font-size: 14px;
}

.pricing-card-popular {
  border-color: rgba(130,196,81,0.5);
  background:
    radial-gradient(circle at top, rgba(130,196,81,0.18), transparent 60%),
    linear-gradient(135deg, #ffffff, #f4f9f1);
  transform: translateY(-4px);
}

.pricing-card-popular:hover {
  transform: translateY(-6px);
}

.pricing-cta {
  margin-top: 24px;
  text-align: center;
}

.pricing-cta-note {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.list { padding-left: 18px; margin: 0; color: var(--muted); }
.list li { margin: 6px 0; }
/* Убираем стандартные маркеры там, где используем кастомные bullets */
.list li.icon-bullet { list-style: none; }

.chips { display:flex; gap:10px; flex-wrap:wrap; margin: 10px 0 10px; }
.chip {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  background: var(--surface);
  box-shadow: 0 6px 16px rgba(0,0,0,0.04);
}

/* Tech stack presentation */
#tech-stack .pricing-head { text-align: left; }
#tech-stack .chips { justify-content: center; }

/* Dual lists for proactive vs reactive (stacked for симметрии) */
.dual-list { display: grid; grid-template-columns: 1fr; grid-template-rows: auto auto; gap: 10px; }
.dual-col { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.dual-title { font-size: 12px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; margin-bottom: 6px; }
.dual-title.pro { color: var(--accent-green); }
.dual-title.re { color: var(--accent-peach); }
.list.tight { padding-left: 16px; margin: 0; list-style: none; }

.content-cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.aside { position: sticky; top: 96px; }
.aside-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.aside-block + .aside-block { margin-top: 12px; }

.accordion details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.accordion details + details { margin-top: 10px; }
.accordion summary { cursor: pointer; font-weight: 600; }
.accordion p { color: var(--muted); margin: 10px 0 0; }

.section-lead { color: var(--muted); margin: 0 0 18px; max-width: 900px; }

.steps { display: grid; gap: 16px; }
.step { position: relative; }
.step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--text); color: var(--brand-contrast); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 8px; }

/* Brand accents in "Как мы работаем" */
#process .step::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 3px; border-top-left-radius: var(--radius); border-top-right-radius: var(--radius); background: var(--accent-amber); }
#process .step:nth-child(2)::before { background: var(--accent-olive); }
#process .step:nth-child(3)::before { background: var(--accent-green); }
#process .step:nth-child(1) .step-num { background: var(--accent-amber); }
#process .step:nth-child(2) .step-num { background: var(--accent-olive); }
#process .step:nth-child(3) .step-num { background: var(--accent-green); }

.metrics { margin-top: 18px; }
.metric { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-align: center; }
.metric-value { font-size: 20px; font-weight: 700; }
.metric-label { color: var(--muted); font-size: 13px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: transform .06s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand-primary); color: var(--brand-contrast); border-color: var(--brand-primary); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.btn-primary:hover { filter: brightness(0.96); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { color: var(--accent-olive); border-color: var(--accent-olive); }

.section-cta { margin-top: 18px; }

.final-cta { padding: 72px 0; }
.final-cta-inner { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.final-cta p { color: var(--muted); margin: 8px 0 18px; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0; background: rgba(255,255,255,0.6); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-links { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; justify-content: center; }
.footer-copy { text-align: right; color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--accent-green); }
.footer-brand span { display: none; }
.footer-info {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  width: 100%;
  background: transparent;
}
.footer-info-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  box-sizing: border-box;
  text-align: center;
}
.footer-info-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 12px;
  margin: 3px 0;
  width: 100%;
}
.footer-info-separator {
  color: var(--muted);
  opacity: 0.5;
  margin: 0 6px;
  user-select: none;
  flex-shrink: 0;
  font-weight: 300;
}
.footer-info-item {
  display: inline-block;
  white-space: nowrap;
  vertical-align: middle;
  color: var(--muted);
  line-height: 1.6;
}
.footer-company-info {
  text-align: center !important;
  color: var(--muted) !important;
  font-size: 11px !important;
  line-height: 1.6;
  margin-top: 16px;
  padding-top: 16px;
  padding-left: 20px;
  padding-right: 20px;
  border-top: 1px solid var(--line);
  transition: color 0.2s ease;
  cursor: default;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  box-sizing: border-box;
  width: 100%;
  display: block;
}
.site-footer .footer-company-info {
  text-align: center !important;
  color: var(--muted) !important;
  font-size: 11px !important;
}
.footer-company-info:hover {
  color: var(--text) !important;
}
.site-footer .footer-company-info:hover {
  color: var(--text) !important;
}
.footer-copyright {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin-top: 18px;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .footer-info-container {
    font-size: 10px;
    padding-left: 16px;
    padding-right: 16px;
    line-height: 1.7;
  }
  .footer-info-row {
    gap: 0 10px;
    justify-content: center;
  }
  .footer-info-item {
    white-space: normal;
    word-break: break-word;
  }
}
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; row-gap: 6px; column-gap: 12px; font-size: 14px; }
  .footer-copy { text-align: center; margin-top: 6px; }
  .footer-info-container {
    font-size: 10px;
    padding-left: 12px;
    padding-right: 12px;
    line-height: 1.6;
    text-align: left;
  }
  .footer-info-row {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .footer-info-separator {
    display: none;
  }
  .footer-info-item {
    display: block;
    white-space: normal;
    width: 100%;
  }
  .footer-info {
    margin-top: 20px;
    padding-top: 20px;
  }
}
.hero-rays { position: absolute; inset: -30% -30%; pointer-events: none; overflow: hidden; filter: blur(4px); opacity: .85; }
.hero-rays::before,
.hero-rays::after {
  content: "";
  position: absolute;
  inset: -120% -60%;
  background: conic-gradient(from 0deg,
    rgba(255,255,255,0) 0deg,
    rgba(255,255,255,.85) 22deg,
    rgba(255,255,255,0) 44deg);
  transform: rotate(0deg);
  animation: rays-rotate 12s linear infinite;
}
.hero-rays::after { animation-duration: 18s; opacity: .55; background: conic-gradient(from 0deg, rgba(255,255,255,0) 0deg, rgba(255,255,255,.6) 32deg, rgba(255,255,255,0) 64deg); }
@keyframes rays-rotate { to { transform: rotate(360deg); } }

/* Убрали цветные отблески за логотипом */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 14px; }
  .hero-visual { order: -1; height: 260px; z-index: 0; }
  .hero-rays { opacity: .7; }
  .grid-3,
  .grid-4 { grid-template-columns: 1fr 1fr; }
  /* Tablet tweaks */
  .section { padding: 64px 0; }
  .section-title { font-size: 28px; }
  .hero-title { font-size: 32px; line-height: 1.15; }
  .hero-subtitle { font-size: 16px; }
  .hero-logo { width: auto; max-width: 80%; max-height: 180px; }
  .about-grid { grid-template-columns: 1fr; gap: 20px; }
  /* Добавляем пустую ячейку для симметрии при 2 колонках и нечётном числе элементов */
  .balance::after { content: ""; }
  .content-cols { grid-template-columns: 1fr; }
  .aside { position: static; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-copy { text-align: center; }
}

@media (max-width: 640px) {
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero-title { font-size: 36px; line-height: 1.12; letter-spacing: -0.4px; }
  .nav-toggle { display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
  .nav-list { position: absolute; left: 12px; right: 12px; top: 68px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; gap: 6px; display: none; flex-direction: column; min-width: 220px; width: calc(100vw - 24px); z-index: 1001; }
  .nav-list li a { display: block; padding: 8px 10px; border-radius: 8px; }
  .nav-list .nav-cta { text-align: center; }
  .nav-list.open { display: flex; }
  .hero-visual { height: 320px; }
  .hero-rays { opacity: .9; filter: blur(3px); }
  .hero-logo { width: auto; max-width: 86%; max-height: 220px; height: auto; object-fit: contain; animation: logo-breathe 10s ease-in-out infinite; }
  .section-title { font-size: 26px; }
  .section-lead { font-size: 15px; line-height: 1.6; }
  .about-head { flex-wrap: wrap; gap: 6px; }
  .about-modern::before { inset: 0 -4%; }
  .about-grid { gap: 20px; }
  .about-lead h3 { font-size: 20px; }
  .about-lead p,
  .about-lead .lead { font-size: 16px; line-height: 1.6; }
  .about-quote { 
    font-size: 14px; 
    padding: 16px 18px; 
    margin: 16px 0 0; 
    line-height: 1.6;
  }
  .about-points { gap: 8px; }
  .about-points li { padding: 10px 12px; }
  .about-points li span { font-size: 14px; margin-bottom: 4px; }
  .about-cta { 
    flex-direction: column; 
    gap: 10px; 
    margin-top: 16px; 
  }
  .about-cta .btn { 
    width: 100%; 
    justify-content: center; 
  }
}

.coming .hero { padding-top: 80px; }

/* Появление при прокрутке */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.6,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* About */
.about { display: grid; gap: 24px; }
.about-modern { position: relative; }
.about-modern::before {
  content: "";
  position: absolute; inset: -48px -10% 0 -10%;
  background:
    radial-gradient(1200px 400px at 10% 20%, rgba(183,198,206,0.18), rgba(183,198,206,0) 60%),
    radial-gradient(900px 300px at 80% 0%, rgba(130,196,81,0.10), rgba(130,196,81,0) 60%);
  pointer-events: none;
}
.about-head { display:flex; align-items: baseline; gap: 14px; }
.about-tag { color: var(--accent-sage); font-weight: 600; letter-spacing: .3px; }
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.about-lead h3,
.about-lead p,
.about-lead .lead,
.about-lead blockquote {
  font-family: var(--font-sans);
  font-size: 18px;
  color: var(--text);
  font-weight: 400;
  line-height: 1.6;
}
.about-lead h3 {
  font-size: 22px;
  font-weight: 600;
}
.about-lead blockquote {
  font-style: italic;
  color: var(--muted);
  font-size: 17px;
}
.about-lead h3 { margin: 0 0 8px; }
.about-lead .lead { font-size: 18px; color: var(--text); }
.about-quote { 
  margin: 20px 0 0; 
  padding: 20px 24px; 
  border-left: 4px solid var(--accent-olive); 
  color: var(--text); 
  background: rgba(164, 158, 121, 0.08); 
  border-radius: 12px; 
  font-weight: 700;
  font-size: 16px;
  line-height: 1.7;
  font-style: italic;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.about-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.about-points li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); }
.about-points li span { display:block; font-weight: 600; }
.about-cta { display:flex; gap: 12px; margin-top: 6px; }
.about-divider { height: 1px; background: linear-gradient(90deg, rgba(0,0,0,0), rgba(164,158,121,0.35), rgba(0,0,0,0)); margin: 6px 0; }

@media (max-width: 960px) {
  .about-grid { 
    grid-template-columns: 1fr; 
    gap: 24px; 
  }
  .about-lead h3 { font-size: 20px; }
  .about-lead p,
  .about-lead .lead { font-size: 17px; }
  .about-quote { 
    font-size: 15px; 
    padding: 18px 20px; 
  }
}

/* Lifecycle subtle accents */
#lifecycle .card h3::after { background: var(--accent-peach); opacity: .35; }

/* Why interactive subtle hover */
.why-sell { 
  position: relative; 
  padding-top: 24px !important; /* Уменьшаем верхний отступ */
}
.why-badges { display:flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.badge { display:inline-flex; align-items:center; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 13px; }
.badge-amber { border-color: rgba(250,163,26,0.45); }
.badge-olive { border-color: rgba(164,158,121,0.45); }
.badge-green { border-color: rgba(130,196,81,0.45); }
.why-cta { display:flex; gap: 12px; margin-top: 14px; }

.why-interactive .card { position: relative; overflow: hidden; }
.why-interactive .card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 120px at -20% -20%, rgba(250,163,26,0.12), rgba(0,0,0,0) 60%); opacity: 0; transition: opacity .25s ease; }
.why-interactive .card:hover::before { opacity: 1; }
.why-interactive .card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0,0,0,0.08); }

/* Decorative accents for B2B section */
.decor-amber { border-image: linear-gradient(90deg, var(--accent-amber), transparent) 1; border-width: 1px; border-style: solid; }
.decor-olive { border-image: linear-gradient(90deg, var(--accent-olive), transparent) 1; border-width: 1px; border-style: solid; }
.decor-green { border-image: linear-gradient(90deg, var(--accent-green), transparent) 1; border-width: 1px; border-style: solid; }
.icon-bullet { position: relative; padding-left: 16px; }
.icon-bullet::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-ice); }

#email-container {
  margin-top: 10px;
}
#reveal-email {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}
#email-address {
  font-size: 16px;
  margin-left: 10px;
}

.wizard-modal {
  position: fixed;
  z-index: 2000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wizard-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: 32px 28px 28px 28px;
  width: 500px !important;
  max-width: 500px;
  min-height: 600px;
  max-height: 90vh;
  position: relative;
  display: flex;
  flex-direction: column;
}
.wizard-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
}
.wizard-step {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
  min-height: 0;
}

.wizard-step-content {
  flex: 1 1 auto;
  overflow-y: auto;
  padding-bottom: 20px;
  min-height: 0;
}

.wizard-buttons {
  flex: 0 0 auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: 16px;
  background: white;
}

.wizard-step h2 {
  margin-top: 0;
  font-size: 22px;
  margin-bottom: 8px;
}

/* Ensure step 5 is properly displayed */
#wizard-step-5 {
  min-height: 500px;
}

#wizard-step-5 .wizard-step-content {
  display: flex;
  flex-direction: column;
}

#wizard-step-5 .wizard-summary {
  flex: 1;
  min-height: 200px;
}

#wizard-step-5 .wizard-buttons {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
  z-index: 10;
}
.wizard-step label {
  display: block;
  margin-bottom: 14px;
  font-size: 16px;
}
.wizard-step input,
.wizard-step select {
  width: 100%;
  margin-top: 4px;
  margin-bottom: 0;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 15px;
  background: var(--surface);
}
.wizard-step .btn {
  margin-top: 8px;
}

/* Wizard progress bar */
.wizard-progress {
  margin-bottom: 24px;
  text-align: center;
}

.wizard-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.wizard-progress-fill {
  height: 100%;
  background: var(--accent-green);
  transition: width 0.3s ease;
  width: 20%;
}

.wizard-progress-text {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

/* Wizard step descriptions */
.wizard-step-description {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 20px;
  margin-top: 8px;
}

/* Wizard buttons container */
.wizard-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.wizard-buttons .btn {
  margin-top: 0;
  margin-bottom: 0;
  flex: 0 0 auto;
  min-width: 100px;
}

.wizard-buttons .btn-ghost {
  order: 1;
}

.wizard-buttons .btn-primary {
  order: 2;
}

/* Checkbox styling */
.checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: auto !important;
  margin: 2px 0 0 0 !important;
  flex-shrink: 0;
}

/* Privacy consent checkbox */
.privacy-consent {
  margin-top: 16px !important;
  margin-bottom: 16px !important;
  padding: 12px;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.4;
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
}

.privacy-consent input[type="checkbox"] {
  margin: 0 !important;
  flex-shrink: 0;
  width: 16px !important;
  height: 16px !important;
}

.privacy-consent .privacy-text {
  flex: 1;
}

.privacy-consent a {
  color: var(--accent-green);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

.privacy-consent a:hover {
  text-decoration: underline;
}

/* Textarea styling */
.wizard-step textarea {
  width: 100%;
  margin-top: 4px;
  margin-bottom: 0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 15px;
  background: var(--surface);
  font-family: var(--font-sans);
  resize: vertical;
  min-height: 80px;
}

.wizard-step textarea:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 2px rgba(130, 196, 81, 0.1);
}

/* Summary styling */
.wizard-summary {
  background: var(--bg);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 0;
  overflow-y: auto;
  max-height: 350px;
  flex: 1 1 auto;
}

.summary-section {
  margin-bottom: 20px;
}

.summary-section:last-child {
  margin-bottom: 0;
}

.summary-section h4 {
  margin: 0 0 12px 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
}

.summary-section p {
  margin: 6px 0;
  font-size: 15px;
  line-height: 1.5;
}

.summary-section strong {
  color: var(--text);
  font-weight: 500;
}

.problem-description {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
}

/* Success modal */
.success-modal {
  position: fixed;
  z-index: 3000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.success-content {
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: 32px 28px 24px 28px;
  min-width: 320px;
  max-width: 96vw;
  width: 400px;
  text-align: center;
  animation: slideUp 0.3s ease;
}

.success-icon {
  position: relative;
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.success-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.success-checkmark {
  position: absolute;
  bottom: -4px;
  right: calc(50% - 36px);
  background: white;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  border: 2px solid white;
}

.success-checkmark svg {
  width: 20px;
  height: 20px;
  animation: checkmarkPop 0.6s ease 0.3s both;
}

@keyframes checkmarkPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-content h2 {
  margin: 0 0 12px 0;
  color: var(--text);
  font-size: 24px;
}

.success-content p {
  margin: 0 0 24px 0;
  color: var(--muted);
  line-height: 1.5;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Submit button styling */
#wizard-submit {
  background: var(--accent-green) !important;
  border-color: var(--accent-green) !important;
  font-weight: 600;
  min-width: 140px;
}

#wizard-submit:hover {
  background: #6fb83f !important;
  border-color: #6fb83f !important;
}

/* Submit button loading state */
#wizard-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Privacy Policy Styles */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.privacy-content h1 {
  font-size: 32px;
  color: var(--text);
  margin-bottom: 8px;
}

.last-updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 32px;
  font-style: italic;
}

.privacy-section {
  margin-bottom: 32px;
}

.privacy-section h2 {
  font-size: 20px;
  color: var(--text);
  margin-bottom: 16px;
  border-bottom: 2px solid var(--accent-green);
  padding-bottom: 8px;
}

.privacy-section p {
  line-height: 1.6;
  margin-bottom: 12px;
  color: var(--text);
}

.privacy-section ul {
  margin: 12px 0;
  padding-left: 20px;
}

.privacy-section li {
  line-height: 1.6;
  margin-bottom: 8px;
  color: var(--text);
}

.contact-info {
  background: var(--bg);
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid var(--accent-green);
}

.contact-info p {
  margin: 8px 0;
}

.contact-info a {
  color: var(--accent-green);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.consent-version {
  font-style: italic;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px !important;
}

/* Email Reveal Styles */
.email-reveal-container {
  position: relative;
}

.email-block {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.email-reveal-btn {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.email-reveal-btn:hover {
  background: var(--accent-green);
  color: white;
  border-color: var(--accent-green);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(130, 196, 81, 0.3);
}

.email-preview {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.reveal-text {
  font-size: 13px;
  color: var(--muted);
}

.email-reveal-btn:hover .reveal-text {
  color: rgba(255, 255, 255, 0.9);
}

.reveal-icon {
  transition: transform 0.2s ease;
  color: var(--muted);
}

.email-reveal-btn:hover .reveal-icon {
  transform: translateX(2px);
  color: rgba(255, 255, 255, 0.9);
}

.email-revealed {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 16px;
  color: var(--accent-green);
  font-weight: 500;
  padding: 8px 12px;
  background: rgba(130, 196, 81, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(130, 196, 81, 0.2);
  position: relative;
}

.email-revealed::before {
  content: '📧';
  margin-right: 8px;
  opacity: 0.7;
}

/* Team Page Styles */
.team-hero {
  background: linear-gradient(135deg, var(--bg) 0%, rgba(130, 196, 81, 0.05) 100%);
  padding: 80px 0 60px;
}

.team-hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.team-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent-green);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.team-grid-section {
  padding: 80px 0;
}

.engineers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.engineer-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.engineer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-green);
}

.engineer-card.expert-level {
  border: 2px solid var(--accent-green);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(130, 196, 81, 0.02) 100%);
}

.engineer-card.expert-level::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-amber));
}

.engineer-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  position: relative;
}

.engineer-avatar {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-sage));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.avatar-icon {
  font-size: 28px;
  filter: grayscale(0.2);
}

.engineer-title {
  flex: 1;
}

.engineer-title h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 4px 0;
}

.engineer-experience {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.expert-badge {
  background: var(--accent-green);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.cert-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid;
}

.cert-badge.cisco {
  background: rgba(0, 123, 196, 0.1);
  border-color: #007BC4;
  color: #005A8B;
}

.cert-badge.juniper {
  background: rgba(132, 189, 0, 0.1);
  border-color: #84BD00;
  color: #5A8000;
}

.cert-badge.huawei {
  background: rgba(255, 0, 0, 0.1);
  border-color: #FF0000;
  color: #CC0000;
}

.cert-badge.other {
  background: rgba(108, 117, 125, 0.1);
  border-color: #6C757D;
  color: #495057;
}

.competencies {
  margin-bottom: 20px;
}

.competencies h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px 0;
}

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

.competencies li {
  padding: 4px 0;
  font-size: 14px;
  color: var(--text);
  position: relative;
  padding-left: 16px;
}

.competencies li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: bold;
}

.experience-highlight {
  padding: 12px;
  background: rgba(130, 196, 81, 0.05);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
  border-left: 3px solid var(--accent-green);
}

/* Placeholder engineer cards */
.placeholder-card {
  position: relative;
  opacity: 0.6;
  transition: all 0.3s ease;
  cursor: pointer;
}

.placeholder-card:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.placeholder-card .engineer-avatar.placeholder {
  background: var(--line);
  border: 2px dashed var(--muted);
}

.placeholder-card .avatar-icon {
  color: var(--muted);
  opacity: 0.7;
}

.placeholder-text {
  color: var(--muted) !important;
  opacity: 0.7;
}

.cert-badge.placeholder {
  background: var(--line);
  color: var(--muted);
  border: 1px dashed var(--border);
}

.team-contact-link {
  color: var(--accent-green);
  text-decoration: none;
  font-weight: 600;
}

.team-contact-link:hover {
  color: var(--accent-olive);
  text-decoration: underline;
}

/* Tooltip functionality */
.placeholder-card::before {
  content: attr(data-tooltip);
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text);
  max-width: 300px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  white-space: normal;
}

.placeholder-card:hover::before {
  opacity: 1;
}

@media (max-width: 768px) {
  .placeholder-card::before {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: calc(100vw - 40px);
    z-index: 10000;
  }
}

/* Team discovery overlay */
.team-discovery-overlay {
  position: relative;
  grid-column: 1 / -1;
  margin-top: -200px;
  padding: 40px 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(130, 196, 81, 0.1) 100%);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  border: 1px solid var(--line);
  z-index: 10;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.team-discovery-content h2 {
  text-align: center;
  font-size: 28px;
  margin: 0 0 16px 0;
  color: var(--text);
  font-weight: 600;
}

.team-discovery-content p {
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 24px 0;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.team-discovery-cta {
  text-align: center;
}

/* Additional engineer cards styling */
.engineers-grid .engineer-card:nth-last-child(-n+3) {
  position: relative;
  opacity: 0.7;
  filter: blur(1px);
}

.engineers-grid .engineer-card:nth-last-child(-n+3):hover {
  opacity: 0.8;
  filter: blur(0.5px);
}

/* Cert badge styles for additional vendors */
.cert-badge.huawei {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white;
}

.cert-badge.juniper {
  background: linear-gradient(135deg, #84c441 0%, #6bb344 100%);
  color: white;
}

/* Enhanced team main title */
.team-main-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 24px 0;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent-green) 50%, var(--accent-olive) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  position: relative;
}

.team-main-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-olive));
  border-radius: 2px;
}

/* Reduce spacing between sections */
.team-hero {
  padding-bottom: 40px;
}

.team-grid-section {
  padding-top: 40px;
}

@media (max-width: 768px) {
  .team-main-title {
    font-size: 2.5rem;
  }
  
  .team-hero {
    padding-bottom: 32px;
  }
  
  .team-grid-section {
    padding-top: 32px;
  }
  
  .team-discovery-overlay {
    padding: 32px 24px;
    margin-top: -160px;
  }
  
  .team-discovery-content h2 {
    font-size: 24px;
  }
  
  .team-discovery-content p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .team-main-title {
    font-size: 2rem;
  }
}

/* Team inquiry form adjustments */
#team-inquiry-modal .wizard-step-content {
  padding-top: 0;
}

#team-inquiry-modal .wizard-step {
  padding-top: 0;
}

#team-inquiry-modal textarea {
  height: 80px;
  min-height: 60px;
  max-height: 100px;
  resize: vertical;
}

/* Simple mobile fix */
@media (max-width: 768px) {
  /* Hide the two placeholder cards */
  .engineers-grid .engineer-card:nth-child(7),
  .engineers-grid .engineer-card:nth-child(8) {
    display: none;
  }
  
  /* Make overlay normal section */
  .team-discovery-overlay {
    position: static;
    margin-top: 40px;
    z-index: auto;
    backdrop-filter: none;
  }
}

.team-cta {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(130, 196, 81, 0.05) 100%);
  text-align: center;
  padding: 80px 0;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .team-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .stat-number {
    font-size: 36px;
  }
  
  .team-grid-section {
    padding: 60px 0 80px; /* Extra bottom padding for taller cards */
  }
  
  /* Horizontal scroll for engineers on mobile */
  .engineers-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: visible; /* Allow cards to expand vertically */
    gap: 20px;
    padding: 0 0 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-green) transparent;
    min-height: fit-content; /* Adjust to content height */
  }
  
  /* Webkit scrollbar styling */
  .engineers-grid::-webkit-scrollbar {
    height: 8px;
  }
  
  .engineers-grid::-webkit-scrollbar-track {
    background: rgba(130, 196, 81, 0.1);
    border-radius: 4px;
  }
  
  .engineers-grid::-webkit-scrollbar-thumb {
    background: var(--accent-green);
    border-radius: 4px;
  }
  
  .engineers-grid::-webkit-scrollbar-thumb:hover {
    background: var(--accent-sage);
  }
  
  .engineer-card {
    flex: 0 0 300px; /* Fixed width for each card */
    scroll-snap-align: start;
    height: auto; /* Allow natural height */
    max-height: none; /* Remove height constraint */
    overflow-y: visible; /* No internal scrolling */
  }
  
  /* Add scroll indicator */
  .engineers-grid::after {
    content: '';
    flex: 0 0 20px; /* Small spacer at the end */
  }
  
  .engineer-header {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  /* Add scroll hint */
  .team-grid-section::after {
    content: '← Проведите пальцем для просмотра команды →';
    display: block;
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    margin-top: 10px;
    padding: 8px;
    background: rgba(130, 196, 81, 0.05);
    border-radius: 6px;
    font-style: italic;
  }
}

/* Vendor Tabs Interface */
.vendor-tabs-container {
  margin: 32px 0 24px 0;
  position: relative;
}

.vendor-tabs {
  display: flex;
  gap: 2px;
  justify-content: stretch;
  flex-wrap: nowrap;
  position: relative;
  width: 100%;
}

.vendor-tabs::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line);
  z-index: 1;
}

.vendor-tab {
  background: var(--bg);
  border: 2px solid var(--line);
  border-bottom: none;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  padding: 12px 8px 14px 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
  color: var(--muted);
  font-size: 16px;
  position: relative;
  z-index: 2;
  margin-bottom: -2px;
  flex: 1;
  text-align: center;
}

.vendor-tab:hover {
  background: var(--surface);
  color: var(--text);
  border-color: var(--accent-green);
}

.vendor-tab.active {
  background: var(--surface);
  border-color: var(--accent-green);
  color: var(--text);
  z-index: 3;
  border-bottom: 2px solid var(--surface);
}

.vendor-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: -2px;
  right: -2px;
  height: 2px;
  background: var(--surface);
  z-index: 4;
}

.vendor-logo {
  display: none;
}

.vendor-name {
  font-weight: 600;
}

/* Technology Categories */
.technology-categories {
  margin: 16px 0;
}

.tech-category-group {
  display: block;
}

.tech-category-group.hidden {
  display: none;
}

/* Hide empty tech categories for others */
.tech-category-group[data-vendor="others"]:not(.hidden) {
  display: none;
}

.tech-categories {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 16px;
  background: rgba(130, 196, 81, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(130, 196, 81, 0.2);
}

.tech-category-btn {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}

.tech-category-btn:hover {
  background: var(--accent-green);
  color: white;
  border-color: var(--accent-green);
  transform: translateY(-1px);
}

.tech-category-btn.active {
  background: var(--accent-green);
  color: white;
  border-color: var(--accent-green);
  box-shadow: 0 2px 8px rgba(130, 196, 81, 0.3);
}

/* Product Listings */
.product-listings {
  margin: 16px 0 16px 0;
  min-height: 200px;
}

.product-list {
  display: block;
}

.product-list.hidden {
  display: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.product-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.product-item h4 {
  margin: 0 0 12px 0;
  color: var(--accent-green);
  font-size: 16px;
  font-weight: 600;
  border-bottom: 2px solid rgba(130, 196, 81, 0.2);
  padding-bottom: 8px;
}

.product-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-item li {
  padding: 4px 0;
  font-size: 14px;
  color: var(--text);
  position: relative;
  padding-left: 16px;
}

.product-item li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: bold;
  font-size: 12px;
}

/* Support Models */
.support-models {
  margin: 16px -20px 8px -20px; /* Компенсируем отступы container */
  padding: 32px 20px; /* Возвращаем отступы внутри */
  background: linear-gradient(135deg, var(--bg) 0%, rgba(130, 196, 81, 0.03) 100%);
  border-radius: 16px;
  border: 1px solid rgba(130, 196, 81, 0.1);
}

.support-models-title {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 32px 0;
  color: var(--text);
}

.support-models-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.support-model {
  background: var(--surface);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.support-model-header {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(130, 196, 81, 0.2);
}

.support-model-header.proactive {
  border-bottom-color: var(--accent-green);
}

.support-model-header.reactive {
  border-bottom-color: var(--accent-peach);
}

.support-model-header h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
}

.support-model-header.proactive h4 {
  color: var(--accent-green);
}

.support-model-header.reactive h4 {
  color: var(--accent-peach);
}

.support-model-header p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
}

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

.support-services li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text);
  position: relative;
  padding-left: 20px;
  line-height: 1.4;
}

.support-services li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 14px;
}

.support-model:first-child .support-services li::before {
  color: var(--accent-green);
}

.support-model:last-child .support-services li::before {
  color: var(--accent-peach);
}

/* Others Compact Content */
.others-compact-content {
  max-width: 500px;
  margin: 0 auto;
  padding: 16px 20px;
  text-align: center;
}

.others-compact-message h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px 0;
}

.others-compact-message p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 20px 0;
}

.others-contact-btn {
  margin: 0;
}

/* Hidden utility class */
.hidden {
  display: none !important;
}

/* Desktop and tablet - keep wizard fixed width */
@media (min-width: 601px) {
  .wizard-content {
    width: 500px !important;
    max-width: 500px !important;
  }
}

@media (max-width: 960px) {
  .vendor-tabs {
    gap: 1px;
  }
  
  .vendor-tab {
    padding: 10px 8px 12px 8px;
    font-size: 15px;
  }
  
  .tech-categories {
    gap: 6px;
    padding: 12px;
  }
  
  .tech-category-btn {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
  }
  
  .support-models {
    margin: 16px -20px 8px -20px;
    padding: 24px 20px;
  }
  
  .support-models-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .vendor-badge:hover {
    transform: translateY(-2px) rotateX(2deg) rotateY(2deg);
  }
  
  .vendor-badge:active {
    transform: translateY(-1px) rotateX(1deg) rotateY(1deg);
  }
  
  .vendor-tabs {
    gap: 1px;
    flex-wrap: nowrap;
  }
  
  .vendor-tab {
    padding: 8px 4px 10px 4px;
    font-size: 14px;
    text-align: center;
    flex: 1;
  }
  
  .vendor-logo {
    display: none;
  }
  
  .vendor-name {
    font-size: 14px;
  }
  
  .tech-categories {
    padding: 8px;
    gap: 4px;
  }
  
  .tech-category-btn {
    padding: 6px 10px;
    font-size: 12px;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .product-item {
    padding: 16px;
  }
  
  .support-models {
    margin: 16px -20px 8px -20px;
    padding: 16px 20px;
  }
  
  .support-models-title {
    font-size: 20px;
  }
  
  .others-compact-content {
    padding: 16px 12px;
  }
  
  .others-compact-message h3 {
    font-size: 18px;
  }
  
  .others-compact-message p {
    font-size: 15px;
  }
}

  .email-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .email-reveal-btn {
    font-size: 13px;
    padding: 6px 10px;
  }
  
  .email-revealed {
    font-size: 14px;
    padding: 6px 10px;
  }
  
  /* Smaller cards for very small screens */
  .engineer-card {
    flex: 0 0 280px !important; /* Slightly smaller width */
    padding: 16px !important; /* Reduce padding */
  }
  
  .engineer-title h3 {
    font-size: 16px !important;
  }
  
  .competencies li {
    font-size: 13px !important;
  }
  
  .experience-highlight {
    font-size: 12px !important;
  }

  .wizard-content { 
    padding: 18px 20px 16px 20px; 
    width: 95vw; 
    max-width: 95vw;
    min-height: 0; /* Remove fixed min-height on mobile */
    max-height: 95vh; /* Increase available height */
    height: auto; /* Allow natural height */
  }
  
  .wizard-buttons {
    flex-direction: column-reverse;
  }
  
  .wizard-buttons .btn {
    width: 100%;
    order: initial;
    padding: 12px 16px; /* Ensure adequate touch target */
    font-size: 16px; /* Ensure readability */
  }
  
  /* Ensure step 5 buttons are always visible on mobile */
  #wizard-step-5 .wizard-buttons {
    position: sticky !important;
    bottom: 0 !important;
    background: white !important;
    padding: 16px 0 !important;
    margin-top: 16px !important;
    border-top: 1px solid var(--line) !important;
    z-index: 100 !important;
  }
  
  /* Ensure summary doesn't overflow on mobile */
  #wizard-step-5 .wizard-summary {
    max-height: 60vh;
    overflow-y: auto;
    margin-bottom: 16px;
  }
}

/* Extra small devices and short screens */
@media (max-width: 480px), (max-height: 600px) {
  .wizard-content {
    width: 95vw !important;
    max-width: 95vw !important;
    max-height: 98vh !important;
    padding: 12px 16px 8px 16px !important;
  }
  
  .wizard-step-content {
    padding-bottom: 10px !important;
  }
  
  .wizard-buttons {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: white !important;
    padding: 12px 4vw !important;
    border-top: 2px solid var(--line) !important;
    z-index: 1000 !important;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1) !important;
  }
  
  /* Add bottom padding to wizard content to account for fixed buttons */
  .wizard-step {
    padding-bottom: 80px !important;
  }
}
  
  .success-content {
    padding: 24px 20px;
    width: 95vw;
  }
  
  .privacy-content {
    padding: 20px 10px;
  }
  
  .privacy-content h1 {
    font-size: 28px;
  }
}

