/* =========================================
   MERIDIAN ADVISORY – Premium CSS
   McKinsey/Deloitte level corporate design
   ========================================= */

:root {
  --navy: #0D1B2A;
  --text-primary: #1A1A1A;
  --navy-mid: #1A2E42;
  --navy-light: #243B53;
  --green: #2D6A4F;
  --green-light: #52B788;
  --green-pale: #D8F3DC;
  --white: #FFFFFF;
  --gray-50: #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-400: #ADB5BD;
  --gray-500: #6C757D;
  --gray-700: #495057;
  --gray-900: #212529;
  --warning: #F59E0B;
  --blue-accent: #1E6FBA;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-card: 0 4px 24px rgba(13,27,42,0.08);
  --shadow-hover: 0 12px 48px rgba(13,27,42,0.14);
  --shadow-navy: 0 8px 32px rgba(13,27,42,0.24);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* TYPOGRAPHY */
/* TYPOGRAPHY – tabular numerals everywhere numbers appear */
.stat-num,
.cm-val,
.score-num,
.cred-num,
.metric-value,
.progress-pct,
.r-val {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; font-weight: 400; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); font-weight: 500; }

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: var(--transition);
  border: 2px solid var(--green);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,106,79,0.35);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--navy);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--white);
}
.white-btn {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
}
.white-btn:hover {
  background: var(--green-pale);
  border-color: var(--green-pale);
  color: var(--green);
  box-shadow: 0 8px 24px rgba(255,255,255,0.2);
}

/* SECTION STYLES */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.section-eyebrow.light { color: var(--green-light); }
.section-header {
  max-width: 680px;
  margin-bottom: 64px;
}
.section-header.centered { margin: 0 auto 64px; text-align: center; }
.section-title { color: var(--text-primary); margin-bottom: 20px; }
.section-desc { color: var(--gray-500); font-size: 1.05rem; line-height: 1.7; max-width: 560px; }

/* ANIMATION */
[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-animate="fade-left"] { transform: translateX(32px); }
[data-animate].visible {
  opacity: 1;
  transform: translate(0);
}
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="150"] { transition-delay: 0.15s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }

/* ==================== HEADER ==================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 var(--gray-200), 0 4px 24px rgba(13,27,42,0.06);
  backdrop-filter: blur(12px);
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
}
.header.scrolled .logo {
  color: #202020;
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.1;
}
.logo-sub {
  display: block;
  font-size: 0.58rem;
  font-weight: 500;
  font-family: var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--green-light);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-link:hover { color: #ffffff; }
.nav-link:hover::after { transform: scaleX(1); }
/* On scrolled (white) header – revert to dark */
.header.scrolled .nav-link { color: var(--gray-700); }
.header.scrolled .nav-link:hover { color: var(--text-primary); }
.header.scrolled .nav-link::after { background: var(--green); }
.nav-cta { padding: 10px 24px; font-size: 0.9rem; }
.burger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.burger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,0.8); border-radius: 2px; transition: var(--transition); }
.header.scrolled .burger span { background: var(--navy); }
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 20px 40px;
  box-shadow: 0 8px 24px rgba(13,27,42,0.1);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-link {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  transition: color var(--transition);
}
.mobile-link:hover { color: var(--green); }
.mobile-cta {
  color: var(--green);
  font-weight: 600;
  border-bottom: none;
  padding-top: 16px;
}

/* ==================== HERO ==================== */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(82,183,136,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82,183,136,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.6;
}
.hero-bg-grid::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(transparent, var(--navy));
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 24px;
}
.hero-title {
  color: var(--white);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  color: var(--green-light);
}
.hero-subtitle {
  color: rgba(255,255,255,0.72);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-actions .btn-ghost {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.3);
}
.hero-actions .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}
.stat { text-align: left; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-plus {
  font-size: 1rem;
  color: var(--green-light);
  font-weight: 600;
  margin-left: 2px;
}
.stat-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  max-width: 100px;
  line-height: 1.3;
}
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

/* Hero Card */
.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(20px);
  position: relative;
  z-index: 2;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}
.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}
.card-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-400);
}
.card-dot.green { background: var(--green-light); box-shadow: 0 0 8px var(--green-light); }
.card-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.metric-label { font-size: 0.83rem; color: rgba(255,255,255,0.55); }
.metric-value { font-size: 1rem; font-weight: 600; color: var(--white); }
.metric-value.negative { color: #EF4444; }
.metric-value.warning { color: var(--warning); }
.card-progress { margin-top: 20px; }
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}
.progress-pct { color: var(--green-light); font-weight: 600; }
.progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  border-radius: 3px;
  transition: width 1.5s ease;
}
.card-footer { margin-top: 20px; }
.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}
.badge.green {
  background: rgba(82,183,136,0.15);
  color: var(--green-light);
  border: 1px solid rgba(82,183,136,0.3);
}
.hero-card-shadow {
  position: absolute;
  top: 20px; left: 20px; right: -20px; bottom: -20px;
  background: var(--green);
  opacity: 0.08;
  border-radius: var(--radius-lg);
  z-index: 1;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollDown 1.5s ease infinite;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==================== TRUST BAR ==================== */
.trust-bar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 0.83rem;
  color: var(--gray-500);
  font-weight: 500;
  flex: 1;
  min-width: 200px;
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: 0;
}
.trust-logo-item {
  display: flex;
  align-items: center;
}
.trust-mp-logo {
  display: flex;
  align-items: center;
  padding: 0 20px;
  height: 32px;
}
.trust-mp-logo svg {
  height: 22px;
  width: auto;
  display: block;
}
/* Yandex Market has two lines – needs taller container */
.ym-logo-box {
  height: 38px;
}
.ym-logo-box svg {
  height: 38px;
}
.trust-sep {
  width: 1px;
  height: 24px;
  background: var(--gray-300);
  flex-shrink: 0;
}

/* ==================== PROBLEMS ==================== */
.problems {
  padding: 100px 0;
  background: var(--white);
}
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 60px;
}
.problem-card {
  background: var(--white);
  padding: 36px 32px;
  transition: background var(--transition);
}
.problem-card:hover { background: var(--gray-50); }
.problem-icon {
  width: 48px; height: 48px;
  color: var(--green);
  margin-bottom: 20px;
}
.problem-icon svg { width: 100%; height: 100%; }
.problem-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-family: var(--font-body);
}
.problem-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
}
.problems-cta {
  text-align: center;
  padding: 48px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}
.problems-cta p {
  font-size: 1.1rem;
  color: var(--gray-700);
  margin-bottom: 24px;
  font-family: var(--font-display);
}

/* ==================== HOW WE WORK ==================== */
.how-we-work {
  padding: 100px 0;
  background: var(--gray-50);
}
.process-steps { display: flex; flex-direction: column; gap: 80px; margin-bottom: 80px; }
.process-step {
  display: grid;
  grid-template-columns: 80px 1fr 400px;
  gap: 48px;
  align-items: start;
}
.process-step.reverse { grid-template-columns: 80px 400px 1fr; }
.process-step.reverse .step-content { order: 3; }
.process-step.reverse .step-visual { order: 2; }
.step-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gray-200);
  line-height: 1;
  padding-top: 4px;
}
.step-content h3 {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-family: var(--font-display);
}
.step-content p {
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.step-list { display: flex; flex-direction: column; gap: 8px; }
.step-list li {
  font-size: 0.88rem;
  color: var(--gray-700);
  padding-left: 20px;
  position: relative;
}
.step-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-light);
}
.step-visual {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
/* Mini chart */
.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 120px;
  padding-top: 12px;
}
.chart-bar {
  flex: 1;
  background: var(--navy-light);
  border-radius: 4px 4px 0 0;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  transition: var(--transition);
}
.chart-bar.green { background: var(--green); }
.chart-bar.warning { background: var(--warning); }
.chart-bar span {
  position: absolute;
  bottom: -22px;
  font-size: 0.68rem;
  color: var(--gray-500);
  white-space: nowrap;
}
/* Scenario cards */
.scenario-cards { display: flex; flex-direction: column; gap: 12px; }
.scenario {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
}
.sc-label { font-size: 0.78rem; color: var(--gray-500); min-width: 80px; }
.sc-tag {
  flex: 1;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
}
.sc-tag.green { background: var(--green-pale); color: var(--green); }
.sc-tag.blue { background: rgba(30,111,186,0.1); color: var(--blue-accent); }
.sc-tag.gray { background: var(--gray-200); color: var(--gray-500); }
.sc-time { font-size: 0.78rem; color: var(--gray-400); }
/* Timeline */
.timeline-mini { display: flex; flex-direction: column; gap: 4px; }
.tl-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.83rem;
  color: var(--gray-400);
}
.tl-item:last-child { border-bottom: none; }
.tl-item.done { color: var(--gray-700); }
.tl-item.active { color: var(--green); font-weight: 600; }
.tl-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  flex-shrink: 0;
}
.tl-item.done .tl-dot { background: var(--green); }
.tl-item.active .tl-dot {
  background: var(--green-light);
  box-shadow: 0 0 0 3px rgba(82,183,136,0.2);
}
/* Instruments */
.instruments-block {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.instruments-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 12px;
}
.instruments-header h3 { font-size: 1.3rem; color: var(--text-primary); }
.instruments-header p { font-size: 0.88rem; color: var(--gray-500); }
.instruments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.instrument-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--gray-700);
  font-weight: 500;
  transition: var(--transition);
  background: var(--gray-50);
}
.instrument-item:hover { border-color: var(--green-light); background: var(--white); }
.inst-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-200);
  border-radius: 6px;
  font-size: 1rem;
  color: var(--text-primary);
  flex-shrink: 0;
}
.inst-icon.green { background: var(--green-pale); color: var(--green); }

/* ==================== AUDIT SECTION ==================== */
.audit-section {
  padding: 100px 0;
  background: var(--navy);
}
.audit-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.audit-content h2 { color: var(--white); margin-bottom: 20px; }
.audit-content p { color: rgba(255,255,255,0.65); line-height: 1.75; margin-bottom: 40px; font-size: 1.05rem; }
.audit-deliverables { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.deliverable {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.del-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}
.deliverable strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.deliverable span { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
/* Report preview */
.audit-report-preview {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-navy);
}
.report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.report-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  border: 1px solid var(--gray-300);
  padding: 3px 8px;
  border-radius: 3px;
}
.report-date { font-size: 0.78rem; color: var(--gray-400); }
.report-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 28px;
  line-height: 1.3;
}
.report-metrics { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.r-metric {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}
.r-label { font-size: 0.83rem; color: var(--gray-500); }
.r-val { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); }
.r-val.green-text { color: var(--green); }
.report-chart { margin-bottom: 24px; }
.pie-visual { display: flex; align-items: center; gap: 20px; }
.pie-visual svg { width: 80px; height: 80px; flex-shrink: 0; }
.pie-legend { display: flex; flex-direction: column; gap: 6px; font-size: 0.75rem; color: var(--gray-600); }
.pie-legend span { display: flex; align-items: center; gap: 6px; }
.pie-legend i {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.report-conclusion {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--green);
}
.conclusion-icon {
  width: 24px; height: 24px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.report-conclusion p { font-size: 0.83rem; color: var(--green); font-weight: 500; line-height: 1.4; }

/* ==================== CALCULATOR ==================== */
.calculator {
  padding: 100px 0;
  background: var(--gray-50);
}
.calc-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.calc-form { padding: 48px; }
.calc-step { display: none; }
.calc-step.active { display: block; }
.step-q {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 28px;
  line-height: 1.4;
}
.calc-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.calc-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
  color: var(--gray-700);
}
.calc-option:hover { border-color: var(--green-light); background: var(--green-pale); }
.calc-option input { accent-color: var(--green); }
.calc-option input:checked + span { color: var(--green); font-weight: 500; }
.calc-option:has(input:checked) { border-color: var(--green); background: rgba(45,106,79,0.05); }
.calc-next { margin-top: 8px; }
.calc-progress-bar-wrap {
  height: 4px;
  background: var(--gray-200);
}
.calc-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  transition: width 0.5s ease;
}
/* Result */
.calc-result { }
.result-header {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 32px;
}
.result-score-wrap { position: relative; width: 120px; flex-shrink: 0; }
.score-ring { width: 120px; height: 120px; }
.score-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.score-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}
.score-sub {
  font-size: 0.68rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.result-level {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.result-text p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.6; }
.result-recs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.rec-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--gray-700);
  padding: 12px 16px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--green-light);
}
.result-cta { display: flex; flex-direction: column; gap: 12px; text-align: center; }
.result-cta p { font-size: 0.9rem; color: var(--gray-500); }
.result-cta .btn-ghost { font-size: 0.85rem; padding: 10px 20px; }

/* ==================== CASES ==================== */
.cases {
  padding: 100px 0;
  background: var(--white);
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.case-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.case-card.featured { background: var(--navy); border-color: var(--text-primary); }
.case-card.featured .case-title { color: var(--white); }
.case-card.featured .case-desc { color: rgba(255,255,255,0.65); }
.case-card.featured .ct-item { color: rgba(255,255,255,0.8); }
.case-card.featured .ct-arrow { color: rgba(255,255,255,0.3); }
.case-card.featured .cm-val { color: var(--white); }
.case-card.featured .cm-label { color: rgba(255,255,255,0.5); }
.case-card.featured .case-quote { color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.15); }
.case-header { display: flex; justify-content: space-between; align-items: flex-start; }
.case-meta { display: flex; flex-direction: column; gap: 4px; }
.case-platform {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--navy);
  color: var(--white);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
}
.case-card.featured .case-platform { background: rgba(255,255,255,0.15); }
.case-platform.ozon { background: #005BFF; }
.case-category { font-size: 0.78rem; color: var(--gray-400); }
.case-result {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  text-align: center;
  line-height: 1.4;
  white-space: nowrap;
}
/* For badges that need two lines (liquidation) */
.case-result-nowrap {
  white-space: normal;
  max-width: 100px;
  text-align: right;
  font-size: 0.72rem;
  line-height: 1.3;
  padding: 5px 10px;
}
.case-result-liquid {
  white-space: normal;
  max-width: 130px;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.35;
  padding: 5px 10px;
  flex-shrink: 0;
}
.case-result.green { background: var(--green-pale); color: var(--green); }
.case-result.blue { background: rgba(30,111,186,0.1); color: var(--blue-accent); }
.case-title { font-size: 1.05rem; color: var(--text-primary); }
.case-desc { font-size: 0.87rem; color: var(--gray-500); line-height: 1.65; }
.case-timeline {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.ct-item { font-size: 0.75rem; color: var(--gray-500); font-weight: 500; }
.ct-arrow { font-size: 0.7rem; color: var(--gray-400); }
.case-metrics {
  display: flex;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}
.case-card.featured .case-metrics { border-color: rgba(255,255,255,0.1); }
.cm { flex: 1; }
.cm-val {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-display);
}
.cm-label { font-size: 0.72rem; color: var(--gray-400); display: block; margin-top: 2px; }
.green-text { color: var(--green) !important; }
.case-quote {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-style: italic;
  border-left: 3px solid var(--green-light);
  padding-left: 14px;
  line-height: 1.55;
  margin-top: auto;
}

/* ==================== TEAM ==================== */
.team {
  padding: 100px 0;
  background: var(--gray-50);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.team-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-hover); }
.avatar-bg {
  width: 64px; height: 64px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}
.av1 { background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
.av2 { background: linear-gradient(135deg, var(--green), var(--green-light)); }
.av3 { background: linear-gradient(135deg, var(--green), var(--green-light)); }
.team-info h3 { font-size: 1.15rem; color: var(--text-primary); margin-bottom: 4px; }
.team-role { font-size: 0.8rem; color: var(--green); font-weight: 600; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.team-info p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.65; margin-bottom: 16px; }
.team-creds { display: flex; gap: 8px; flex-wrap: wrap; }
.team-creds span {
  font-size: 0.73rem;
  font-weight: 500;
  background: var(--gray-100);
  color: var(--gray-600);
  padding: 3px 8px;
  border-radius: 4px;
}
.team-credentials {
  display: flex;
  gap: 0;
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cred-item {
  flex: 1;
  text-align: center;
  padding: 40px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.cred-item:last-child { border-right: none; }
.cred-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--green-light);
  margin-bottom: 8px;
}
.cred-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}

/* ==================== BLOG ==================== */
.blog {
  padding: 100px 0;
  background: var(--white);
}
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.blog-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.blog-card:hover { box-shadow: var(--shadow-hover); }
.featured-article { background: var(--gray-50); }
.blog-tag {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}
.blog-card h3 { font-size: 1.15rem; color: var(--text-primary); line-height: 1.4; }
.blog-card p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.65; }
.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--gray-400);
}
.blog-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green);
  margin-top: auto;
  transition: gap var(--transition);
}
.blog-link:hover { color: var(--green-light); }
.blog-side { display: flex; flex-direction: column; gap: 16px; }
.blog-card-small {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
}
.blog-card-small:hover { box-shadow: var(--shadow-card); border-color: var(--green-light); }
.blog-card-small h3 { font-size: 0.95rem; color: var(--text-primary); line-height: 1.4; }

/* ==================== FAQ ==================== */
.faq {
  padding: 100px 0;
  background: var(--gray-50);
}
.faq-grid {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}
.faq-item { border-bottom: 1px solid var(--gray-100); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  gap: 16px;
  transition: background var(--transition);
  background: transparent;
}
.faq-question:hover { background: var(--gray-50); }
.faq-icon {
  font-size: 1.4rem;
  color: var(--green);
  line-height: 1;
  flex-shrink: 0;
  transition: transform var(--transition);
  font-weight: 300;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer > div {
  padding: 0 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-answer p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.7; }

/* ==================== CONTACT ==================== */
.contact {
  padding: 100px 0;
  background: var(--navy);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-content h2 { color: var(--white); margin-bottom: 16px; }
.contact-content > p { color: rgba(255,255,255,0.65); font-size: 1.05rem; line-height: 1.7; margin-bottom: 36px; }
.contact-guarantees {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}
.guarantee { display: flex; gap: 12px; align-items: center; }
.g-icon {
  width: 22px; height: 22px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}
.guarantee span { font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.contact-channels { display: flex; flex-direction: column; gap: 12px; }
.channel-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  color: inherit;
}
.channel-item:hover { background: rgba(255,255,255,0.1); }
.ch-icon { font-size: 1.4rem; }
.channel-item strong { display: block; color: var(--white); font-size: 0.95rem; margin-bottom: 2px; }
.channel-item span { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-navy);
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  letter-spacing: 0.01em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45,106,79,0.1);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #EF4444; }
.form-error { font-size: 0.75rem; color: #EF4444; min-height: 16px; }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group select { cursor: pointer; }
.form-checkbox { margin-top: 4px; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.checkbox-label input { margin-top: 2px; accent-color: var(--green); }
.consent-text { font-size: 0.82rem; color: var(--gray-500); line-height: 1.5; }
.form-link { color: var(--green); }
.submit-btn { width: 100%; padding: 16px; font-size: 1rem; margin-top: 8px; justify-content: center; }
.form-success {
  text-align: center;
  padding: 32px;
  background: var(--green-pale);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.success-icon {
  width: 48px; height: 48px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.form-success strong { color: var(--text-primary); font-size: 1.05rem; }
.form-success p { color: var(--gray-500); font-size: 0.9rem; }

/* ==================== FOOTER (FULL REDESIGN) ==================== */

/* ---- Subscribe Strip ---- */
.footer-subscribe-strip {
  background: #0A1628;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 52px 0;
}
.footer-subscribe-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.fsub-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 10px;
}
.fsub-text p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  max-width: 460px;
  font-family: var(--font-display);
}
.fsub-form { display: flex; flex-direction: column; gap: 10px; }
.fsub-field {
  display: flex;
  gap: 0;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}
.fsub-field:focus-within { border-color: var(--green-light); }
.fsub-field input {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: none;
  padding: 14px 18px;
  color: var(--white);
  font-size: 0.93rem;
  font-family: var(--font-body);
  outline: none;
}
.fsub-field input::placeholder { color: rgba(255,255,255,0.3); }
.fsub-btn {
  padding: 14px 24px;
  background: var(--green);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition);
}
.fsub-btn:hover { background: var(--green-light); }
.fsub-btn:disabled { opacity: 0.7; cursor: default; }
.fsub-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.28);
  line-height: 1.5;
}

/* ---- Data Sources Strip ---- */
.footer-sources-strip {
  background: #071020;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 28px 0;
}
.footer-sources-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.fsrc-text-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
  max-width: 220px;
}
.fsrc-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
}
.fsrc-sublabel {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.2);
  line-height: 1.45;
  font-style: italic;
}
.fsrc-logos {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  flex: 1;
}
.fsrc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity var(--transition);
}
.fsrc-item:hover { opacity: 0.85; }
.fsrc-logo-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
/* Each logo gets tailored size and rendering */
.fedresurs-wrap {
  width: 80px; height: 24px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  padding: 3px 6px;
}
.arbitr-wrap {
  width: 88px; height: 24px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  padding: 3px 6px;
}
.wb-wrap {
  width: 90px; height: 22px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  padding: 3px 8px;
}
.oz-wrap {
  width: 56px; height: 22px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  padding: 3px 8px;
}
.fsrc-real-logo {
  width: 100%; height: 100%;
  object-fit: contain;
  /* Desaturate + adapt to dark bg */
  filter: grayscale(1) brightness(1.8) contrast(0.8);
  opacity: 0.55;
  transition: opacity var(--transition), filter var(--transition);
}
.fsrc-item:hover .fsrc-real-logo {
  opacity: 0.8;
  filter: grayscale(0.5) brightness(1.4) contrast(0.9);
}
/* Wildberries has a black bg in its PNG – make it transparent-friendly */
.wb-wrap .fsrc-real-logo {
  filter: brightness(0) invert(1) opacity(0.45);
}
.wb-wrap:hover .fsrc-real-logo {
  filter: brightness(0) invert(1) opacity(0.7);
}
/* Ozon has a black bg too */
.oz-wrap .fsrc-real-logo {
  filter: brightness(0) invert(1) opacity(0.45);
}
.oz-wrap:hover .fsrc-real-logo {
  filter: brightness(0) invert(1) opacity(0.7);
}
.fsrc-item-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.fsrc-name {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  line-height: 1.2;
}
.fsrc-use {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.22);
  line-height: 1.2;
}
.fsrc-sep { width: 1px; height: 24px; background: rgba(255,255,255,0.08); flex-shrink: 0; }

/* ---- Subscribe Strip content upgrades ---- */
.fsub-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.fsub-headline {
  font-size: 1.0rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 14px;
  font-family: var(--font-display);
}
.fsub-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
}
.fsub-bullets li {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  padding-left: 14px;
  position: relative;
  line-height: 1.45;
}
.fsub-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green-light);
  opacity: 0.6;
}

.footer-nda-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(82,183,136,0.08);
  border: 1px solid rgba(82,183,136,0.2);
  border-radius: 16px;
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--green-light);
  line-height: 1.3;
  width: fit-content;
}
.nda-icon {
  width: 13px; height: 13px;
  flex-shrink: 0;
}

/* ---- Arbitr logo specific – has a light background in the image ---- */
.arbitr-logo {
  /* Moy Arbitr logo has a white/light bg – invert-safe filter */
  filter: grayscale(0.8) brightness(0.7) contrast(1.1) !important;
  opacity: 0.6 !important;
}
.arbitr-wrap:hover .arbitr-logo {
  filter: grayscale(0.3) brightness(0.85) contrast(1.1) !important;
  opacity: 0.85 !important;
}

/* ---- Verify link in requisites ---- */
.req-verify-link {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  transition: color var(--transition);
  white-space: nowrap;
}
.req-verify-link:hover { color: rgba(255,255,255,0.55); text-decoration: underline; }

/* ---- Mobile hide for extra separator ---- */
@media (max-width: 680px) {
  .req-sep-mobile-hide { display: none; }
  .req-verify-link { display: block; width: 100%; margin-top: 4px; }
  .footer-trust-badges { flex-direction: row; flex-wrap: wrap; }
  .fsub-headline { font-size: 0.95rem; }
  .fsrc-text-block { max-width: 100%; }
  .fsrc-sublabel { display: none; } /* too much text on mobile – disclaimer still visible on desktop */
  .footer-sources-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .fsrc-logos { gap: 16px; }
  .fsrc-sep { display: none; }
}

/* ---- Footer CTA micro-link ---- */
.footer-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 9px 16px;
  background: rgba(45,106,79,0.15);
  border: 1px solid rgba(82,183,136,0.25);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-light);
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition);
  width: fit-content;
}
.footer-cta-link:hover {
  background: rgba(45,106,79,0.28);
  border-color: rgba(82,183,136,0.45);
}

/* ---- Legal note with icon ---- */
.footer-legal-note {
  margin-top: 8px;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.22);
  line-height: 1.5;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 14px;
}
.legal-note-icon {
  width: 14px; height: 14px;
  flex-shrink: 0;
  margin-top: 1px;
  opacity: 0.4;
}

/* ---- Requisites email link ---- */
.req-email {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color var(--transition);
}
.req-email:hover { color: rgba(255,255,255,0.65); }

/* ---- Main Footer Body ---- */
.footer-body {
  background: #071020;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 64px 0 48px;
}
.footer-body-inner {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.3fr;
  gap: 48px;
  align-items: start;
}

/* Brand col */
.footer-brand-col { display: flex; flex-direction: column; gap: 20px; }
.footer-logo-link { display: inline-block; }
.footer-logo-img {
  height: 32px;
  width: auto;
  /* Invert dark logo to show on dark bg */
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-brand-desc {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 280px;
}
.footer-contact-block { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
  text-decoration: none;
}
.footer-contact-line:hover { color: var(--green-light); }
.footer-city-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
.fc-icon {
  width: 16px; height: 16px;
  flex-shrink: 0;
  opacity: 0.7;
}

/* Nav cols */
.footer-nav-col { display: flex; flex-direction: column; gap: 16px; }
.footer-nav-head {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-body);
}
.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
}
.footer-nav-list a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
  text-decoration: none;
  line-height: 1.4;
}
.footer-nav-list a:hover { color: var(--white); }
.footer-legal-note {
  margin-top: 8px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
  line-height: 1.5;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 14px;
}

/* ---- Requisites / Bottom Bar ---- */
.footer-bottom-bar {
  background: #040D1A;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-requisites {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.28);
  line-height: 1.6;
}
.req-company { font-weight: 600; color: rgba(255,255,255,0.4); }
.req-sep {
  margin: 0 10px;
  color: rgba(255,255,255,0.15);
}
.footer-copyright-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}
.footer-disclaimer {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.18);
  line-height: 1.5;
  max-width: 520px;
  text-align: right;
}

/* ==================== FOOTER RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .footer-body-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-subscribe-inner { grid-template-columns: 1fr; gap: 28px; }
  .fsub-text p { max-width: 100%; }
  .footer-sources-inner { gap: 20px; }
  .fsrc-label { max-width: 100%; }
}
@media (max-width: 680px) {
  .footer-body-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-subscribe-strip { padding: 36px 0; }
  .footer-body { padding: 44px 0 32px; }
  .fsrc-logos { gap: 14px; }
  .footer-copyright-row { flex-direction: column; align-items: flex-start; }
  .footer-disclaimer { text-align: left; }
  .footer-requisites { gap: 0; }
  .req-sep { margin: 0 6px; }
}

/* STICKY CTA */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.sticky-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.sticky-cta .btn-primary {
  box-shadow: 0 8px 32px rgba(45,106,79,0.45);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 480px; }
  .process-step { grid-template-columns: 60px 1fr; }
  .process-step .step-visual { display: none; }
  .process-step.reverse { grid-template-columns: 60px 1fr; }
  .process-step.reverse .step-content { order: unset; }
  .instruments-grid { grid-template-columns: repeat(2, 1fr); }
  .audit-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .cases-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .problems-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .stat-divider { display: none; }
  .trust-bar-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .instruments-grid { grid-template-columns: 1fr 1fr; }
  .cred-item { padding: 28px 16px; }
  .cred-num { font-size: 1.8rem; }
  .team-credentials { flex-direction: column; }
  .cred-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .cred-item:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .problems-grid { grid-template-columns: 1fr; }
  .instruments-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.4rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { width: 100%; justify-content: center; }
  .footer-links { grid-template-columns: 1fr; }
  .audit-content, .contact-content { padding: 0; }
  .contact-form-wrap { padding: 24px; }
  .calc-form { padding: 28px 24px; }
  .process-step { grid-template-columns: 1fr; gap: 16px; }
  .step-number { font-size: 2rem; }
}

/* ==================== HERO PLATFORM BADGE ==================== */
.hero-platform-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.platform-badge-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.platform-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 6px 14px;
}
.pb-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.83rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.pb-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.wb-dot { background: #CB11AB; box-shadow: 0 0 6px rgba(203,17,171,0.6); }
.oz-dot { background: #005BFF; box-shadow: 0 0 6px rgba(0,91,255,0.6); }
.pb-divider {
  color: rgba(255,255,255,0.2);
  font-size: 1rem;
  line-height: 1;
}
.pb-context {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}

/* ==================== HERO STATUS BAR ==================== */
.hero-status-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.hsb-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.hsb-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-light);
  flex-shrink: 0;
}
.hsb-sep {
  width: 1px; height: 14px;
  background: rgba(255,255,255,0.12);
}

/* ==================== TRUST PILLARS ==================== */
.trust-pillars {
  padding: 60px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.tp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tp-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 28px;
  background: var(--white);
  transition: background var(--transition);
}
.tp-item:hover { background: var(--gray-50); }
.tp-icon {
  width: 36px; height: 36px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}
.tp-icon svg { width: 100%; height: 100%; }
.tp-content { display: flex; flex-direction: column; gap: 5px; }
.tp-content strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-body);
}
.tp-content span {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.55;
}

/* Darya Shpak avatar */
.av-ds { background: linear-gradient(135deg, #4B2E7A, #7C5CBF); }

/* Team role for new member */
.team-card .team-creds span { margin-bottom: 2px; }

@media (max-width: 1024px) {
  .tp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .tp-grid { grid-template-columns: 1fr; }
  .hero-platform-badge { gap: 10px; }
  .pb-context { display: none; }
  .hero-status-bar { gap: 10px; }
  .hsb-sep { display: none; }
}

/* =========================================
   NDA FIELD – interactive redacted data
   ========================================= */

.nda-field {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: default;
  vertical-align: middle;
}

/* blurred text — characters visible but unreadable */
.nda-blur-text {
  display: inline-block;
  letter-spacing: 0.04em;
  color: var(--gray-700);
  filter: blur(3.5px);
  user-select: none;
  transition: filter 0.25s ease;
}

/* green dotted underline */
.nda-underline {
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 18px; /* leave room for lock icon */
  height: 0;
  border-bottom: 1.5px dashed var(--green-light);
  opacity: 0.7;
  transition: opacity 0.2s;
}

/* lock icon inline */
.nda-lock-icon {
  display: inline-flex;
  align-items: center;
  color: var(--green);
  opacity: 0.6;
  flex-shrink: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.nda-lock-icon svg {
  width: 11px;
  height: 13px;
}

/* tooltip */
.nda-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--navy);
  border: 1px solid rgba(82,183,136,0.3);
  border-radius: 10px;
  padding: 14px 16px;
  width: 240px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
  white-space: normal;
  /* arrow */
}
.nda-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--text-primary);
}
/* shield icon in tooltip */
.nda-tt-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  background: rgba(82,183,136,0.12);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: flex-start;
}
.nda-tt-icon svg {
  width: 18px;
  height: 18px;
}
.nda-tooltip strong {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.2;
}
.nda-tooltip span:not(.nda-tt-icon) {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.45;
  font-family: var(--font-body);
  font-weight: 400;
}

/* hover / focus states */
.nda-field:hover .nda-blur-text,
.nda-field:focus-within .nda-blur-text {
  filter: blur(5px);
}
.nda-field:hover .nda-underline,
.nda-field:focus-within .nda-underline {
  opacity: 1;
  border-color: var(--green-light);
}
.nda-field:hover .nda-lock-icon,
.nda-field:focus-within .nda-lock-icon {
  opacity: 1;
  transform: scale(1.15);
  color: var(--green-light);
}
.nda-field:hover .nda-tooltip,
.nda-field:focus-within .nda-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Inside report title — slightly larger blur text */
.report-title .nda-blur-text {
  font-family: var(--font-display);
  font-size: inherit;
  color: var(--text-primary);
  filter: blur(4px);
}
.report-title .nda-lock-icon {
  color: var(--green);
}

/* In r-val context: keep green-text class working */
.r-val.green-text .nda-blur-text {
  color: var(--green);
}
/* fix tooltip overflow on mobile */
@media (max-width: 520px) {
  .nda-tooltip {
    width: 200px;
    left: 0;
    transform: translateX(0) translateY(6px);
  }
  .nda-field:hover .nda-tooltip {
    transform: translateX(0) translateY(0);
  }
  .nda-tooltip::after {
    left: 30px;
  }
}

/* =========================================
   END CRO UPDATES
   ========================================= */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-animate] { opacity: 1; transform: none; }
}

/* =========================================================
   FLIME V2 ENHANCEMENT LAYER
   Брендбук: Dark #1A1A1A + Lime #C9DD2A (фирменная пара),
   Forest #2D6A4F — CTA на светлом. Геометрия: точки + диагональ.
   ========================================================= */

:root {
  --lime: #C9DD2A;
  --lime-light: #EEFF6B;
  --lime-pale: #FDFFEE;
  --lime-dim: rgba(201,221,42,0.14);
}

/* ---------- Global polish ---------- */
::selection { background: var(--lime); color: var(--navy); }
::-moz-selection { background: var(--lime); color: var(--navy); }

html { scrollbar-color: #3a3a3a transparent; }
body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-track { background: var(--gray-100); }
body::-webkit-scrollbar-thumb { background: #b9bfc4; border-radius: 5px; border: 2px solid var(--gray-100); }
body::-webkit-scrollbar-thumb:hover { background: var(--green); }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .calc-option:focus-within {
  outline: 2px solid var(--green-light);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--green-light), var(--lime));
  z-index: 1200;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(201,221,42,0.45);
}

/* ---------- Buttons: shine sweep + arrow nudge ---------- */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn-primary:hover::after { left: 130%; }

/* ---------- Section eyebrow tick ---------- */
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px; height: 2px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 10px;
  opacity: 0.85;
}
.audit-section .section-eyebrow.light,
.contact .section-eyebrow.light { color: var(--lime); }

/* =========================================================
   HERO — брендовая геометрия и оживший дашборд
   ========================================================= */
.hero-bg-grid {
  background-image:
    radial-gradient(rgba(201,221,42,0.10) 1.2px, transparent 1.2px),
    linear-gradient(rgba(82,183,136,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82,183,136,0.04) 1px, transparent 1px);
  background-size: 28px 28px, 60px 60px, 60px 60px;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 30% 20%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 90% 80% at 30% 20%, #000 30%, transparent 75%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -180px; right: -140px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(201,221,42,0.10), transparent 65%);
  pointer-events: none;
}
.hero-title em {
  color: var(--lime);
  position: relative;
  white-space: nowrap;
}
.hero-title em::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0.04em;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--lime), transparent);
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineSweep 0.8s cubic-bezier(0.4,0,0.2,1) 1.15s forwards;
}
@keyframes underlineSweep { to { transform: scaleX(1); } }

/* Masked line-by-line reveal */
.ht-line { display: block; overflow: hidden; }
.ht-inner {
  display: inline-block;
  transform: translateY(110%);
  animation: htReveal 0.9s cubic-bezier(0.22,1,0.36,1) forwards;
}
.ht-line:nth-child(1) .ht-inner { animation-delay: 0.10s; }
.ht-line:nth-child(2) .ht-inner { animation-delay: 0.24s; }
.ht-line:nth-child(3) .ht-inner { animation-delay: 0.38s; }
@keyframes htReveal { to { transform: translateY(0); } }

.hero-subtitle, .hero-actions, .hero-status-bar, .hero-platform-badge {
  animation: heroFadeUp 0.8s cubic-bezier(0.22,1,0.36,1) backwards;
}
.hero-platform-badge { animation-delay: 0.05s; }
.hero-subtitle { animation-delay: 0.55s; }
.hero-actions { animation-delay: 0.7s; }
.hero-status-bar { animation-delay: 0.85s; }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.hsb-dot { background: var(--lime) !important; box-shadow: 0 0 6px rgba(201,221,42,0.7); }

/* Hero card: float + glow frame */
.hero-visual { will-change: transform; }
.hero-card {
  animation: cardFloat 7s ease-in-out 2s infinite;
  border-color: rgba(201,221,42,0.16);
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.card-live {
  margin-left: auto;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  padding: 3px 9px;
  border: 1px solid rgba(201,221,42,0.4);
  border-radius: 20px;
  animation: livePulse 2.2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(201,221,42,0.35); }
  50% { opacity: 0.75; box-shadow: 0 0 0 5px rgba(201,221,42,0); }
}
.card-dot.green { background: var(--lime); box-shadow: 0 0 8px var(--lime); }

/* Sparkline */
.card-spark { margin-bottom: 8px; }
.card-spark svg { width: 100%; height: 56px; display: block; }
.spark-line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: sparkDraw 1.8s cubic-bezier(0.4,0,0.2,1) 0.9s forwards;
}
@keyframes sparkDraw { to { stroke-dashoffset: 0; } }
.spark-area { opacity: 0; animation: sparkFadeIn 0.8s ease 2.2s forwards; }
@keyframes sparkFadeIn { to { opacity: 1; } }
.spark-caption {
  display: block;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.38);
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.progress-fill { background: linear-gradient(90deg, var(--green), var(--lime)); }
.progress-pct { color: var(--lime); }

/* Diagonal lime hatch — фирменная геометрия */
.hero-hatch {
  position: absolute;
  bottom: -34px; right: -34px;
  width: 150px; height: 150px;
  background: repeating-linear-gradient(45deg, var(--lime) 0 1.5px, transparent 1.5px 11px);
  opacity: 0.35;
  border-radius: 4px;
  z-index: 0;
  pointer-events: none;
}

/* Floating chip */
.hero-chip {
  position: absolute;
  top: -22px; left: -38px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--lime);
  color: var(--navy);
  border-radius: 12px;
  padding: 10px 16px 10px 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  animation: chipIn 0.7s cubic-bezier(0.22,1,0.36,1) 1.6s backwards, chipFloat 6s ease-in-out 2.5s infinite;
}
@keyframes chipIn {
  from { opacity: 0; transform: translateY(14px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.chip-icon {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: rgba(26,26,26,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.chip-icon svg { width: 14px; height: 14px; }
.chip-text { display: flex; flex-direction: column; line-height: 1.25; font-size: 0.72rem; font-weight: 500; }
.chip-text strong { font-size: 0.82rem; font-weight: 700; }

.scroll-line { background: linear-gradient(var(--lime), transparent) !important; }

/* =========================================================
   STAT TICKER — бегущая строка фактов
   ========================================================= */
.stat-ticker {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(201,221,42,0.25);
  overflow: hidden;
  padding: 14px 0;
  position: relative;
}
.ticker-track { display: flex; width: max-content; animation: tickerScroll 36s linear infinite; }
.stat-ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; flex-shrink: 0; padding-right: 0; }
.ti {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  white-space: nowrap;
  padding: 0 28px;
}
.ti-sep { color: var(--lime); font-size: 0.8rem; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   PROBLEMS — карточки с растущей акцентной линией
   ========================================================= */
.problem-card { position: relative; overflow: hidden; }
.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}
.problem-card:hover::before { transform: scaleX(1); }
.problem-card:hover { transform: translateY(-6px); }
.problem-card:hover .problem-icon { color: var(--green); transform: translateY(-2px) scale(1.05); }
.problem-icon { transition: transform 0.35s ease, color 0.35s ease; }

/* =========================================================
   PROCESS — линия прогресса, заполняющаяся при скролле
   ========================================================= */
.process-steps { position: relative; }
.process-line {
  position: absolute;
  top: 24px; bottom: 24px; left: 31px;
  width: 2px;
  background: var(--gray-200);
  border-radius: 1px;
}
.process-line-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(var(--green), var(--green-light));
  border-radius: 1px;
  transition: height 0.2s linear;
}
.process-step { position: relative; z-index: 1; }
.step-number { position: relative; background: var(--white); transition: color 0.4s ease, box-shadow 0.4s ease; }
.process-step.visible .step-number { box-shadow: 0 0 0 6px rgba(82,183,136,0.12); }

@media (max-width: 968px) {
  .process-line { display: none; }
}

/* Instruments hover */
.instrument-item { transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.instrument-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.instrument-item:hover .inst-icon { background: var(--green); color: var(--white); }
.inst-icon { transition: background 0.3s ease, color 0.3s ease; }

/* =========================================================
   AUDIT (тёмная секция) — лайм как фирменный акцент
   ========================================================= */
.audit-section { position: relative; overflow: hidden; }
.audit-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 46%; height: 100%;
  background-image: radial-gradient(rgba(201,221,42,0.09) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 80% 30%, #000 20%, transparent 70%);
          mask-image: radial-gradient(ellipse at 80% 30%, #000 20%, transparent 70%);
  pointer-events: none;
}
.audit-section .white-btn {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--navy);
  font-weight: 700;
}
.audit-section .white-btn:hover {
  background: var(--lime-light);
  border-color: var(--lime-light);
  color: var(--navy);
  box-shadow: 0 10px 32px rgba(201,221,42,0.35);
}
.deliverable .del-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--lime-dim);
  border: 1px solid rgba(201,221,42,0.3);
  color: var(--lime);
  display: flex; align-items: center; justify-content: center;
  font-size: 0;
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}
.deliverable .del-icon svg { width: 22px; height: 22px; }
.deliverable:hover .del-icon { background: rgba(201,221,42,0.24); transform: translateY(-2px); }

/* Report preview: scanning beam + лаймовый гриф */
.audit-report-preview { position: relative; overflow: hidden; }
.audit-report-preview::after {
  content: '';
  position: absolute;
  top: 0; left: -30%;
  width: 22%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(201,221,42,0.10), transparent);
  transform: skewX(-18deg);
  animation: reportScan 5.5s ease-in-out 2s infinite;
  pointer-events: none;
}
@keyframes reportScan {
  0% { left: -30%; }
  45%, 100% { left: 130%; }
}
.report-badge {
  background: var(--navy) !important;
  color: var(--lime) !important;
  border: 1px solid var(--lime);
  letter-spacing: 0.14em;
}

/* =========================================================
   CALCULATOR — живые опции
   ========================================================= */
.calc-option { transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease; }
.calc-option:hover { transform: translateX(4px); border-color: var(--green-light); }
.calc-option:has(input:checked) {
  border-color: var(--green);
  background: var(--green-pale);
  box-shadow: 0 4px 14px rgba(45,106,79,0.14);
}

/* =========================================================
   CASES — глубина и фирменный кант
   ========================================================= */
.case-card { transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s ease; }
.case-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.case-card.featured {
  border-top: 3px solid var(--lime);
  position: relative;
  overflow: hidden;
}
.case-card.featured::after {
  content: '';
  position: absolute;
  bottom: -20px; right: -20px;
  width: 110px; height: 110px;
  background: repeating-linear-gradient(45deg, var(--lime) 0 1.5px, transparent 1.5px 12px);
  opacity: 0.16;
  pointer-events: none;
}
.case-quote { position: relative; }
.case-quote::before {
  content: '“';
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 0;
  position: absolute;
  left: -6px; top: 14px;
  opacity: 0.25;
}

/* Team */
.team-card { transition: transform 0.35s ease, box-shadow 0.35s ease; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.team-creds span { transition: background 0.25s ease, color 0.25s ease; }
.team-creds span:hover { background: var(--green); color: var(--white); }

/* Blog */
.blog-card, .blog-card-small { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.blog-card:hover, .blog-card-small:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.blog-link { transition: gap 0.25s ease; display: inline-flex; gap: 6px; }
.blog-link:hover { gap: 11px; }

/* FAQ */
.faq-icon { transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), color 0.3s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--green); }

/* =========================================================
   CONTACT — фирменная иллюстрация и лайм
   ========================================================= */
.contact { position: relative; overflow: hidden; }
.contact::before {
  content: '';
  position: absolute;
  top: 0; left: -5%;
  width: 55%; height: 100%;
  background: url('assets/illustration_3_abstract.svg') no-repeat left center / cover;
  opacity: 0.16;
  -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent 95%);
          mask-image: linear-gradient(90deg, #000 30%, transparent 95%);
  pointer-events: none;
}
.contact .container { position: relative; z-index: 1; }
.contact .g-icon { color: var(--lime) !important; }
.contact .ch-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--lime-dim);
  border: 1px solid rgba(201,221,42,0.3);
  color: var(--lime);
  display: flex; align-items: center; justify-content: center;
  font-size: 0;
  flex-shrink: 0;
}
.contact .ch-icon svg { width: 20px; height: 20px; }

/* Footer lime accents */
.fsub-btn { transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease; }
.fsub-btn:hover { background: var(--lime) !important; color: var(--navy) !important; transform: translateY(-1px); }
.footer-cta-link { color: var(--lime) !important; }
.footer-cta-link:hover { color: var(--lime-light) !important; }
.footer-nav-list a { transition: color 0.25s ease, padding-left 0.25s ease; }
.footer-nav-list a:hover { color: var(--lime) !important; padding-left: 4px; }

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-to-top {
  position: fixed;
  bottom: 24px; left: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--lime);
  border: 1px solid rgba(201,221,42,0.35);
  display: flex; align-items: center; justify-content: center;
  z-index: 900;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.25s ease;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.back-to-top svg { width: 18px; height: 18px; }
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.back-to-top:hover { background: var(--lime); color: var(--navy); }

/* =========================================================
   RESPONSIVE & MOTION
   ========================================================= */
@media (max-width: 968px) {
  .hero-chip { left: auto; right: -8px; top: -18px; }
  .hero-hatch { width: 100px; height: 100px; bottom: -20px; right: -16px; }
  .contact::before { width: 100%; opacity: 0.10; }
}
@media (max-width: 640px) {
  .ti { padding: 0 18px; font-size: 0.72rem; }
  .back-to-top { bottom: 18px; left: 16px; width: 42px; height: 42px; }
  .hero-chip { padding: 8px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ht-inner { transform: none; }
  .spark-line { stroke-dashoffset: 0; }
  .spark-area { opacity: 1; }
  .ticker-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   FLIME V2.1 — правки
   ========================================================= */

/* 1. Светлый логотип (вариант для тёмного фона) в шапке поверх hero */
.logo { color: #FDFFEE; }
.flime-icon-box { fill: #FDFFEE; transition: fill 0.4s ease; }
.flime-leaf-shade { fill: #EEFF6B; opacity: 1; transition: fill 0.4s ease, opacity 0.4s ease; }
.header.scrolled .logo { color: #202020; }
.header.scrolled .flime-icon-box { fill: #232323; }
.header.scrolled .flime-leaf-shade { fill: #000000; opacity: 0.21; }

/* 4. Единая анимация наведения для всех карточек ситуаций.
   Карточки — ячейки внутри цельной скруглённой сетки (overflow:hidden),
   поэтому ховер без смещения: фон + зелёная линия сверху + микро-движение иконки. */
.problem-card {
  transition: opacity 0.7s ease, transform 0.7s ease, background 0.3s ease;
}
.problem-card[data-delay="100"] { transition-delay: 0.1s; }
.problem-card[data-delay="200"] { transition-delay: 0.2s; }
.problem-card:hover { transform: none; }

/* 5. Цифры шагов 01/02/03 — по центру рамки */
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 64px;
  padding: 0 0 4px 0 !important; /* оптическая компенсация засечек DM Serif */
  line-height: 1 !important;
}

/* 6. Согласие под калькулятором */
.calc-consent-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--gray-500);
  text-align: center;
}

/* Сценарии в блоке «Как мы работаем»: срок всегда в одну строку */
.sc-time { white-space: nowrap; }
.sc-tag { white-space: nowrap; text-align: center; }
