:root {
  --ink: #152126;
  --muted: #5c6a70;
  --line: #d9e2e3;
  --paper: #f6f8f7;
  --white: #ffffff;
  --teal: #0b6f68;
  --teal-dark: #074f4a;
  --steel: #29424b;
  --amber: #c9852b;
  --soft: #e9f1ef;
  --danger: #8b4a2c;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(21, 33, 38, 0.16);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.topbar {
  position: sticky;
  z-index: 10;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(21, 33, 38, 0.08);
  backdrop-filter: blur(14px);
}
.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  white-space: nowrap;
}
.brand-logo {
  width: 285px;
  height: auto;
  max-height: 56px;
  object-fit: contain;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--teal), #6fb7a8);
  position: relative;
  flex: 0 0 auto;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 9px 7px;
  border-top: 3px solid #fff;
  border-bottom: 3px solid #fff;
}
.nav-links { display: flex; gap: 16px; color: #31454c; font-size: 14px; align-items: center; flex-wrap: wrap; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.phone { font-weight: 900; color: var(--steel); white-space: nowrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
}
.btn-primary { background: var(--teal); color: white; }
.btn-secondary { background: white; color: var(--teal-dark); border-color: rgba(11, 111, 104, 0.35); }
.btn-ghost { background: rgba(255, 255, 255, 0.12); color: white; border-color: rgba(255, 255, 255, 0.55); }
.hero {
  min-height: 76vh;
  padding: 88px 0 64px;
  color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: end;
}
.hero-inner, .wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  color: #dff5ef;
  letter-spacing: 0;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--amber); }
h1, h2, h3 { margin: 0; letter-spacing: 0; line-height: 1.08; overflow-wrap: anywhere; }
h1 { max-width: 850px; font-size: 58px; font-weight: 900; }
h2 { font-size: 38px; color: var(--steel); }
h3 { color: var(--steel); }
.hero-copy { max-width: 760px; margin: 22px 0 0; font-size: 20px; color: rgba(255, 255, 255, 0.9); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 52px;
  background: rgba(255, 255, 255, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.26);
  max-width: 1000px;
}
.trust-item { min-height: 92px; padding: 16px; background: rgba(255, 255, 255, 0.12); }
.trust-num { color: #ffffff; font-size: 24px; font-weight: 900; }
.trust-label { color: rgba(255, 255, 255, 0.82); font-size: 14px; margin-top: 4px; }
section { padding: 74px 0; }
.section-head { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: end; margin-bottom: 34px; }
.lead { margin: 0; color: var(--muted); font-size: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.card, .system-row, .step, .problem, .faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card { overflow: hidden; }
.card-body { padding: 22px; }
.card h3 { font-size: 21px; }
.card p, .system-row p, .step p, .problem span, .faq-item p { margin: 10px 0 0; color: var(--muted); }
.card-img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.mini-link { display: inline-flex; margin-top: 18px; color: var(--teal); font-weight: 900; }
.band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.problems, .workflow { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.problems { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.workflow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.problem, .step, .faq-item { padding: 24px; min-height: 160px; }
.problem strong { display: block; color: var(--steel); font-size: 18px; margin-bottom: 8px; }
.systems { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.system-row { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 20px; align-items: start; }
.tag { color: var(--teal-dark); background: var(--soft); border-radius: 6px; padding: 8px 10px; text-align: center; font-weight: 900; font-size: 13px; }
.step-number {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: white;
  border-radius: 50%;
  font-weight: 900;
  margin-bottom: 18px;
}
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 42px; align-items: center; }
.quote-panel { background: var(--steel); color: white; padding: 34px; border-radius: var(--radius); box-shadow: var(--shadow); }
.quote-panel h2 { color: white; }
.quote-panel p { color: rgba(255, 255, 255, 0.82); }
.brand-table { width: 100%; border-collapse: collapse; background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.brand-table th, .brand-table td { padding: 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.brand-table th { background: var(--soft); color: var(--steel); font-size: 14px; }
.brand-table td { color: var(--muted); }
.brand-table strong { color: var(--ink); }
.form-band { background: var(--teal-dark); color: white; }
.form-band h2 { color: white; }
.form-band .lead { color: rgba(255, 255, 255, 0.82); }
.form-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.field { min-height: 50px; border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.12); border-radius: 6px; padding: 14px; color: rgba(255, 255, 255, 0.75); }
.field-wide { grid-column: span 2; }
.footer { padding: 34px 0 96px; background: #10191d; color: rgba(255, 255, 255, 0.72); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer a { color: white; }
.mobile-cta { display: none; }
@media (max-width: 980px) {
  .nav-links { display: none; }
  h1 { font-size: 44px; }
  .section-head, .split, .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .grid-3, .grid-4, .workflow, .trust-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .systems, .problems { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav { min-height: 62px; }
  .brand-logo { width: min(210px, 58vw); max-height: 48px; }
  .phone, .nav-actions .btn { display: none; }
  .hero {
    min-height: 82vh;
    padding-top: 72px;
    padding-bottom: 96px;
    background-position: center;
  }
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  .hero-copy { font-size: 17px; }
  section { padding: 52px 0; }
  .grid-3, .grid-4, .workflow, .form-grid { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .system-row { grid-template-columns: 1fr; }
  .brand-table,
  .brand-table tbody,
  .brand-table tr,
  .brand-table td {
    display: block;
    width: 100%;
  }
  .brand-table {
    border: 0;
    background: transparent;
  }
  .brand-table thead { display: none; }
  .brand-table tr {
    margin-bottom: 12px;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .brand-table td {
    border-bottom: 1px solid var(--line);
    padding: 14px 16px;
  }
  .brand-table td:last-child { border-bottom: 0; }
  .brand-table td::before {
    display: block;
    margin-bottom: 5px;
    color: var(--teal-dark);
    font-size: 12px;
    font-weight: 900;
  }
  .brand-table td:nth-child(1)::before { content: "Категория"; }
  .brand-table td:nth-child(2)::before { content: "Бренды"; }
  .brand-table td:nth-child(3)::before { content: "Задачи"; }
  .field-wide { grid-column: auto; }
  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: white;
    border-top: 1px solid var(--line);
  }
  .mobile-cta a {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: var(--teal-dark);
    border-right: 1px solid var(--line);
  }
}
