/* ===========================================================
   HELIX PRO landing — base
   =========================================================== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-family-sans);
  color: var(--color-fg-1);
  background: var(--color-canvas);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ============= Layout primitives ============= */
.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.section { padding: 112px 0; }
.section-soft { background: var(--color-canvas-soft); }
.section-dark { background: var(--color-ink); color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: #E3421F;
  margin: 0 0 16px;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 28px; height: 2px; background: #E3421F;
}
.section-title {
  font-size: 56px; font-weight: 900; line-height: 1.04;
  letter-spacing: -0.022em; text-transform: uppercase;
  margin: 0 0 22px;
}
.section-dark .section-title { color: #fff; }
.section-lead {
  font-size: 18px; line-height: 1.55;
  color: var(--color-fg-2);
  max-width: 720px; margin: 0 0 56px;
}
.section-dark .section-lead { color: #B5B5B5; }

/* ============= Buttons ============= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.005em;
  padding: 16px 26px;
  border-radius: 4px;
  border: none;
  white-space: nowrap;
  transition: all 160ms cubic-bezier(0.2,0.8,0.2,1);
  font-family: inherit;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: #E3421F; color: #fff; }
.btn-primary:hover { background: #FF5630; box-shadow: 0 10px 28px rgba(227,66,31,0.32); }
.btn-secondary { background: transparent; color: #0A0A0A; border: 1.5px solid #0A0A0A; }
.btn-secondary:hover { background: #0A0A0A; color: #fff; }
.btn-secondary-dark { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }
.btn-secondary-dark:hover { background: #fff; color: #0A0A0A; border-color: #fff; }
.btn-ghost { background: transparent; color: #0A0A0A; padding: 14px 8px; }
.btn-ghost:hover { color: #E3421F; }
.btn-sm { padding: 11px 18px; font-size: 13px; }
.btn-lg { padding: 18px 32px; font-size: 16px; }

.cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* ============= Header ============= */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #232323;
  color: #fff;
  height: 76px;
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { height: 30px; }
.brand-name { font-weight: 900; font-size: 17px; letter-spacing: 0.10em; color: #fff; }
.brand-pro {
  background: #E3421F; color: #fff;
  font-size: 11px; font-weight: 900; letter-spacing: 0.06em;
  padding: 3px 10px 3px 8px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%);
}
.nav-links { display: flex; gap: 22px; }
.nav-link {
  font-size: 14px; font-weight: 500; opacity: 0.78; cursor: pointer;
  position: relative; padding: 6px 0;
  transition: opacity 120ms;
  background: none; border: none; color: #fff;
}
.nav-link:hover { opacity: 1; }
.nav-link.active { opacity: 1; }
.nav-link.active::after {
  content: ""; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: #E3421F;
}
.header-actions { margin-left: auto; display: flex; gap: 14px; align-items: center; flex-shrink: 0; }
.header-phone {
  display: flex; flex-direction: column;
  text-decoration: none;
  line-height: 1.15;
  white-space: nowrap;
  padding: 4px 0;
  transition: opacity 120ms;
}
.header-phone:hover { opacity: 0.85; }
.header-phone-num {
  font-weight: 700; font-size: 15px; color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.005em;
}
.header-phone-sub {
  font-size: 10px; font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}
.header-msgr {
  display: flex; gap: 6px;
}
.header-msgr a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  color: #fff;
  transition: all 160ms;
}
.header-msgr a:hover { background: #fff; color: #0A0A0A; border-color: #fff; }

/* ============= Hero ============= */
.hero {
  background: #0A0A0A;
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 96px 0 112px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 30% 50%, #000 30%, transparent 75%);
}
.hero::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 45%;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(227,66,31,0.10), transparent 60%);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.9fr; gap: 72px; position: relative; align-items: start; }
.hero-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: #E3421F;
  margin-bottom: 28px; display: inline-flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before {
  content: ""; display: inline-block; width: 30px; height: 2px; background: #E3421F;
}
.hero h1 {
  font-size: 74px; font-weight: 900;
  line-height: 0.98; letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0 0 28px;
}
.hero h1 .accent { color: #E3421F; }
.hero-sub {
  font-size: 18px; line-height: 1.55;
  color: #C5C5C5;
  margin: 0 0 36px;
  max-width: 560px;
}
.hero-magnet {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(227,66,31,0.10);
  border: 1px solid rgba(227,66,31,0.35);
  color: #FFB8A8;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 32px;
}
.hero-magnet strong { color: #fff; font-weight: 700; }
.hero-cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
}
.hero-trust-item {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 13.5px; color: #C5C5C5; line-height: 1.45;
}
.hero-trust-item .check {
  flex-shrink: 0; width: 18px; height: 18px;
  margin-top: 1px;
  color: #E3421F;
}
.hero-trust-item b { color: #fff; font-weight: 700; }

/* ============= Hero side card (consultation request) ============= */
.hero-side {
  background: #FFFFFF;
  color: #0A0A0A;
  border-radius: 10px;
  padding: 32px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.hero-side-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #E3421F; margin-bottom: 12px;
}
.hero-side h3 {
  font-size: 26px; font-weight: 900; letter-spacing: -0.01em;
  text-transform: uppercase; line-height: 1.1; margin: 0 0 10px;
}
.hero-side p {
  font-size: 14px; color: var(--color-fg-2); line-height: 1.5;
  margin: 0 0 22px;
}
.hero-side .features {
  display: flex; flex-direction: column; gap: 10px;
  margin: 20px 0 26px;
  padding: 20px 0; border-top: 1px solid var(--color-border-1); border-bottom: 1px solid var(--color-border-1);
}
.hero-side .feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px;
}
.hero-side .feature svg { width: 16px; height: 16px; color: #E3421F; flex-shrink: 0; }
.input {
  width: 100%; height: 52px; padding: 0 16px;
  border: 1.5px solid #D0D0CE; border-radius: 4px;
  font: 15px var(--font-family-sans); color: #0A0A0A; outline: none;
  background: #fff;
}
.input:focus { border-color: #0A0A0A; }
.field-stack { display: flex; flex-direction: column; gap: 10px; }
.legal {
  font-size: 11px; color: var(--color-fg-3); line-height: 1.45;
  margin-top: 12px;
}
.legal a { color: var(--color-fg-2); text-decoration: underline; }

/* Hero side: alt (PDF) variant */
.hero-side .badge-pdf {
  display: inline-flex; align-items: center; gap: 8px;
  background: #F5F5F4;
  font-size: 12px; font-weight: 700;
  padding: 6px 10px; border-radius: 4px;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 14px;
}

/* ============= Differentiators (4 признака) ============= */
.diff-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.diff-card {
  background: #fff; border: 1px solid var(--color-border-1);
  border-radius: 10px;
  padding: 28px;
  display: flex; flex-direction: column;
  position: relative;
  transition: all 240ms cubic-bezier(0.2,0.8,0.2,1);
}
.diff-card:hover {
  border-color: #0A0A0A;
  box-shadow: 0 16px 36px rgba(10,10,10,0.08);
  transform: translateY(-2px);
}
.diff-q {
  font-size: 18px; font-weight: 800; letter-spacing: -0.01em;
  color: #0A0A0A; margin-bottom: 18px; line-height: 1.25;
  min-height: 90px;
}
.diff-row {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 0;
  font-size: 14px;
  line-height: 1.5;
  border-top: 1px dashed var(--color-border-1);
}
.diff-row:first-of-type { border-top: none; padding-top: 0; }
.diff-row-marker {
  width: 22px; height: 22px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
  font-size: 11px; font-weight: 900;
}
.diff-row.us .diff-row-marker { background: #E3421F; color: #fff; }
.diff-row.them .diff-row-marker { background: #F5F5F4; color: #7A7A7A; }
.diff-row.us { color: #0A0A0A; font-weight: 600; }
.diff-row.them { color: #7A7A7A; }

.diff-bottom {
  margin-top: 64px; display: flex; align-items: center; justify-content: space-between;
  padding: 36px 40px; background: #0A0A0A; color: #fff; border-radius: 10px;
}
.diff-bottom h3 {
  font-size: 26px; font-weight: 900; letter-spacing: -0.015em; text-transform: uppercase;
  margin: 0; max-width: 660px; line-height: 1.15;
}

/* ============= Production (Завод) ============= */
.prod-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px;
}
.prod-photos {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 256px 256px;
  gap: 12px;
}
.prod-photo {
  background: #2E2E2E;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  color: rgba(255,255,255,0.45);
}
.prod-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.04);
}
.prod-photo.p1 {
  grid-column: 1; grid-row: 1 / 3;
}
.prod-photo.p1 img { object-position: center 35%; }
.prod-photo.p2 { grid-column: 2; grid-row: 1; }
.prod-photo.p3 { grid-column: 3; grid-row: 1; }
.prod-photo.p4 { grid-column: 2; grid-row: 2; }
.prod-photo.p5 { grid-column: 3; grid-row: 2; }
.prod-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.55) 100%);
  pointer-events: none;
}
.prod-photo .badge {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(10,10,10,0.72);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 2;
}
.prod-photo .badge.pro {
  background: #E3421F;
}

.prod-text h3 {
  font-size: 22px; font-weight: 800; letter-spacing: -0.01em;
  margin: 24px 0 8px;
}
.prod-text p {
  font-size: 15.5px; line-height: 1.6; color: var(--color-fg-2);
  margin: 0;
}
.prod-doc {
  margin-top: 28px;
  display: flex; gap: 18px; align-items: stretch;
  background: #fff; border: 1.5px solid #E3421F;
  border-radius: 10px;
  padding: 22px;
}
.prod-doc-preview {
  width: 92px; height: 124px;
  background: linear-gradient(180deg, #fafaf9 0%, #ECECE9 100%);
  border-radius: 4px;
  display: flex; flex-direction: column;
  padding: 12px 10px;
  flex-shrink: 0;
  border: 1px solid #E3E3E2;
  position: relative;
  overflow: hidden;
}
.prod-doc-preview::after {
  content: ""; position: absolute; top: 0; right: 0;
  border-top: 16px solid #E3421F;
  border-left: 16px solid transparent;
}
.prod-doc-preview-line {
  height: 4px; background: #C5C5C5; border-radius: 1px; margin-bottom: 6px;
}
.prod-doc-preview-line.short { width: 60%; }
.prod-doc-preview-line.long { width: 100%; }
.prod-doc-preview-line.title { background: #0A0A0A; height: 5px; width: 80%; margin-bottom: 10px; }
.prod-doc-content { display: flex; flex-direction: column; justify-content: space-between; }
.prod-doc-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: #E3421F;
  margin-bottom: 6px;
}
.prod-doc-title { font-size: 16px; font-weight: 800; line-height: 1.3; color: #0A0A0A; margin: 0 0 6px; }
.prod-doc-desc { font-size: 13px; color: var(--color-fg-2); line-height: 1.45; margin: 0 0 12px; }
.prod-doc-action {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: #E3421F;
}
.prod-quote {
  margin-top: 28px;
  font-size: 16px; line-height: 1.6;
  padding: 24px 24px 24px 28px;
  background: #fafaf9;
  border-left: 3px solid #E3421F;
  color: var(--color-fg-1);
}

/* ============= Compare table ============= */
.compare-table {
  background: #fff; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--color-border-1);
}
.compare-row {
  display: grid; grid-template-columns: 1.3fr 1.1fr 1.1fr;
  border-bottom: 1px solid var(--color-border-1);
}
.compare-row:last-child { border-bottom: none; }
.compare-row.head {
  background: #0A0A0A; color: #fff;
}
.compare-row.head .cell { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 22px 24px; }
.compare-row.head .cell.us { background: #E3421F; color: #fff; }
.compare-row.head .cell.label { background: transparent; color: #fff; }

.compare-row .cell { padding: 20px 24px; font-size: 15px; line-height: 1.5; }
.compare-row .cell.label { font-weight: 700; color: #0A0A0A; }
.compare-row .cell.them { color: #7A7A7A; background: #F8F8F7; }
.compare-row .cell.us {
  font-weight: 600; color: #0A0A0A;
  position: relative;
  background: rgba(227,66,31,0.04);
  border-left: 2px solid #E3421F;
}
.compare-row .cell.us::before {
  content: "✓";
  display: inline-block;
  margin-right: 8px;
  color: #E3421F; font-weight: 900;
}
.compare-row.final {
  background: #0A0A0A;
  color: #fff;
}
.compare-row.final .cell { font-weight: 800; font-size: 16px; }
.compare-row.final .cell.label { color: #fff; }
.compare-row.final .cell.them { background: #161616; color: #B5B5B5; }
.compare-row.final .cell.us { background: #E3421F; color: #fff; border-left: none; }
.compare-row.final .cell.us::before { color: #fff; }

/* ============= Calculator ============= */
.calc-shell {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: stretch;
}
.calc-text-side h3 {
  font-size: 22px; font-weight: 800; margin: 0 0 12px;
}
.calc-feature {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--color-border-2);
}
.calc-feature:last-child { border-bottom: 1px solid var(--color-border-2); }
.calc-feature-num {
  width: 28px; height: 28px;
  background: #E3421F; color: #fff;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 900; flex-shrink: 0;
}
.calc-feature-text { font-size: 14.5px; line-height: 1.5; color: var(--color-fg-2); }
.calc-feature-text b { color: #0A0A0A; font-weight: 700; }

.calc-card {
  background: #fff; border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--color-border-1);
  box-shadow: 0 14px 32px rgba(10,10,10,0.06);
  display: flex; flex-direction: column;
}
.calc-progress {
  display: flex; gap: 6px; margin-bottom: 22px;
}
.calc-progress-step {
  flex: 1; height: 4px;
  background: #ECECEA; border-radius: 2px;
}
.calc-progress-step.active { background: #E3421F; }
.calc-progress-step.done { background: #0A0A0A; }
.calc-step-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-fg-3); margin-bottom: 10px;
}
.calc-question {
  font-size: 22px; font-weight: 800; line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}
.calc-options {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.calc-option {
  text-align: left;
  padding: 16px 18px;
  border: 1.5px solid var(--color-border-1);
  border-radius: 6px;
  background: #fff;
  font: 600 15px var(--font-family-sans);
  color: #0A0A0A;
  display: flex; align-items: center; gap: 10px;
  transition: all 160ms;
}
.calc-option:hover { border-color: #0A0A0A; }
.calc-option.selected { border-color: #E3421F; background: rgba(227,66,31,0.04); color: #E3421F; }
.calc-option .opt-mark {
  width: 18px; height: 18px;
  border: 1.5px solid #C5C5C5; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.calc-option.selected .opt-mark {
  border-color: #E3421F;
  background: #E3421F;
}
.calc-option.selected .opt-mark::after {
  content: ""; width: 6px; height: 6px; background: #fff; border-radius: 50%;
}
.calc-nav {
  margin-top: auto; padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.calc-result {
  padding: 28px; background: #0A0A0A; color: #fff; border-radius: 10px;
  display: flex; flex-direction: column; gap: 18px;
}
.calc-result-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #E3421F;
}
.calc-result-value {
  font-size: 44px; font-weight: 900; letter-spacing: -0.02em;
  line-height: 1;
}
.calc-result-value .unit { font-size: 18px; color: #C5C5C5; margin-left: 6px; font-weight: 500; }
.calc-result-note { font-size: 13px; color: #B5B5B5; line-height: 1.5; }
.calc-result-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 4px;
}
.calc-result-actions .btn-primary { flex: 1; }

/* ============= Process ============= */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-step {
  background: #161616;
  border: 1px solid #232323;
  border-radius: 10px;
  padding: 32px 28px 28px;
  position: relative;
  display: flex; flex-direction: column;
}
.process-step::after {
  content: ""; position: absolute;
  right: -12px; top: 56px;
  width: 24px; height: 1px;
  background: #E3421F;
}
.process-step:last-child::after { display: none; }
.process-num {
  font-size: 56px; font-weight: 900; line-height: 0.9;
  color: #E3421F;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.process-title { font-size: 19px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.01em; }
.process-desc { font-size: 14px; line-height: 1.55; color: #B5B5B5; flex: 1; }
.process-meta {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid #232323;
  font-size: 12px; color: #E3421F; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.process-meta svg { width: 14px; height: 14px; }

.process-pledge {
  margin-top: 48px;
  padding: 26px 32px;
  background: rgba(227,66,31,0.10);
  border: 1px solid rgba(227,66,31,0.30);
  border-radius: 8px;
  display: flex; gap: 16px; align-items: center;
}
.process-pledge svg { width: 24px; height: 24px; color: #E3421F; flex-shrink: 0; }
.process-pledge p { margin: 0; font-size: 15px; line-height: 1.5; color: #fff; }
.process-pledge b { color: #fff; font-weight: 700; }

/* ============= Stats band ============= */
.stats-band { background: #E3421F; color: #fff; padding: 64px 0; }
.stats-band-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat-band {
  border-left: 2px solid rgba(255,255,255,0.3);
  padding-left: 22px;
}
.stat-band-num {
  font-size: 56px; font-weight: 900; line-height: 1; letter-spacing: -0.025em;
}
.stat-band-num .unit { font-size: 24px; opacity: 0.85; margin-left: 2px; }
.stat-band-label { font-size: 14px; opacity: 0.9; margin-top: 10px; max-width: 220px; line-height: 1.45; }

/* ============= Footer ============= */
.footer {
  background: #0A0A0A;
  color: #fff;
  padding: 72px 0 32px;
  border-top: 1px solid #161616;
}
.footer-inner { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 56px; padding-bottom: 48px; border-bottom: 1px solid #232323; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-tagline { font-size: 14px; color: #B5B5B5; line-height: 1.55; max-width: 300px; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #808080; margin: 0 0 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col li { font-size: 14px; color: #fff; opacity: 0.88; line-height: 1.5; }
.footer-col a { color: #fff; }
.footer-col a:hover { color: #E3421F; }
.footer-col .yandex-rating {
  display: inline-flex; align-items: center; gap: 8px;
  background: #161616; padding: 8px 12px; border-radius: 4px;
  font-size: 13px;
}
.footer-col .yandex-rating .star { color: #FFCC00; }
.footer-bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: #808080;
}

/* ============= Modal ============= */
.modal-bg {
  position: fixed; inset: 0; background: rgba(10,10,10,0.7);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  z-index: 100; padding: 20px;
  animation: fadeIn 200ms;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: #fff; border-radius: 12px;
  padding: 40px; max-width: 480px; width: 100%;
  position: relative;
  animation: scaleIn 240ms cubic-bezier(0.2,0.8,0.2,1);
}
@keyframes scaleIn { from { opacity: 0; transform: scale(0.96) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; font-size: 24px; cursor: pointer; color: #7A7A7A;
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { color: #0A0A0A; }
.modal h3 { font-size: 28px; font-weight: 900; letter-spacing: -0.02em; text-transform: uppercase; margin: 0 0 8px; }
.modal p.modal-sub { font-size: 15px; color: var(--color-fg-2); margin: 0 0 24px; line-height: 1.55; }
.modal form { display: flex; flex-direction: column; gap: 12px; }
.modal .features {
  display: flex; flex-direction: column; gap: 8px;
  margin: 18px 0 22px;
  padding: 18px 0;
  border-top: 1px solid var(--color-border-1);
  border-bottom: 1px solid var(--color-border-1);
}
.modal .feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px;
}
.modal .feature svg { width: 16px; height: 16px; color: #E3421F; flex-shrink: 0; }

/* ============= Floating button ============= */
.floating-cta {
  position: fixed; right: 28px; bottom: 28px;
  z-index: 40;
  display: flex; gap: 10px;
}
.floating-cta button {
  background: #E3421F; color: #fff;
  border: none; padding: 14px 20px;
  border-radius: 4px;
  font: 700 14px var(--font-family-sans);
  box-shadow: 0 10px 28px rgba(227,66,31,0.40);
  display: flex; align-items: center; gap: 8px;
}
.floating-cta button:hover { background: #FF5630; }

/* placeholder helper */
.ph-meta { color: rgba(255,255,255,0.35); font-size: 10px; margin-top: 6px; letter-spacing: 0.05em; }

/* ============= Documents (real previews) ============= */
.docs-grid-real {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.doc-real {
  background: #fff;
  border: 1px solid var(--color-border-1);
  border-radius: 10px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}
.doc-real:hover {
  border-color: #0A0A0A;
  box-shadow: 0 18px 40px rgba(10,10,10,0.10);
  transform: translateY(-3px);
}
.doc-real.primary { border-color: #E3421F; }
.doc-real.primary:hover { box-shadow: 0 18px 40px rgba(227,66,31,0.18); }

.doc-real-cover {
  height: 320px;
  background: #F5F5F4;
  position: relative;
  overflow: hidden;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 18px 18px 0;
  border-bottom: 1px solid var(--color-border-1);
}
.doc-real-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(10,10,10,0.10);
  background: #fff;
}
.doc-real-stamp {
  position: absolute;
  top: 14px; right: 14px;
  background: #0A0A0A; color: #fff;
  font-size: 10px; font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 3px;
  z-index: 2;
}
.doc-real.primary .doc-real-stamp { background: #E3421F; }

.doc-real-hover {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.72);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 200ms;
}
.doc-real-hover span {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: #0A0A0A;
  font-size: 13px; font-weight: 700;
  padding: 12px 20px;
  border-radius: 4px;
}
.doc-real:hover .doc-real-hover { opacity: 1; }

.doc-real-body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex; flex-direction: column;
}
.doc-real-tag {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--color-fg-3);
  margin-bottom: 8px;
}
.doc-real.primary .doc-real-tag { color: #E3421F; }
.doc-real-name {
  font-size: 17px; font-weight: 800;
  letter-spacing: -0.005em;
  line-height: 1.3;
  margin: 0 0 6px;
  color: #0A0A0A;
}
.doc-real-sub {
  font-size: 13px;
  color: var(--color-fg-2);
  font-weight: 600;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.doc-real-desc {
  font-size: 13.5px;
  color: var(--color-fg-2);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

/* Lightbox */
.doc-lightbox {
  position: fixed; inset: 0;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  animation: fadeIn 200ms;
}
.doc-lightbox-close {
  position: absolute;
  top: 24px; right: 28px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #fff; font-size: 24px;
  cursor: pointer;
  z-index: 10;
}
.doc-lightbox-close:hover { background: rgba(255,255,255,0.16); }
.doc-lightbox-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  width: 100%; max-height: 88vh;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  animation: scaleIn 240ms cubic-bezier(0.2,0.8,0.2,1);
}
.doc-lightbox-meta {
  padding: 40px;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.doc-lightbox-meta h3 {
  font-size: 26px; font-weight: 800;
  letter-spacing: -0.01em;
  margin: 4px 0 8px;
}
.doc-lightbox-image {
  background: #F5F5F4;
  border-left: 1px solid var(--color-border-1);
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
  overflow: hidden;
}
.doc-lightbox-image img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(10,10,10,0.20);
}

/* ============= Final CTA band ============= */
.cta-band {
  background: #0A0A0A;
  color: #fff;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 70% 50%, #000 30%, transparent 70%);
}
.cta-band > .container { position: relative; }
.cta-band-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: end; margin-bottom: 56px; }
.cta-band h2 {
  font-size: 56px; font-weight: 900; line-height: 1.04;
  letter-spacing: -0.022em; text-transform: uppercase;
  margin: 16px 0 0;
}
.cta-band h2 .accent { color: #E3421F; }
.cta-band-form { display: flex; gap: 12px; flex-shrink: 0; align-self: end; }
.cta-band-form .input {
  background: #fff; color: #0A0A0A;
  border: none; height: 56px;
  width: 220px;
}

.cta-band-actions {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 36px;
  border-top: 1px solid #232323;
}
.cta-band-link {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid #232323;
  border-radius: 8px;
  color: #fff;
  transition: all 200ms;
}
.cta-band-link:hover {
  background: rgba(227,66,31,0.10);
  border-color: rgba(227,66,31,0.35);
}
.cta-band-link svg { color: #E3421F; flex-shrink: 0; }
.cta-band-link-num { font-size: 15px; font-weight: 700; }
.cta-band-link-sub { font-size: 12px; color: #808080; margin-top: 2px; }
