:root {
  --ink: #1a1a1a;
  --blue: #0f6995;
  --blue-dark: #0c567a;
  --teal: #5abfbf;
  --nav: #282828;
  --paper: #f3f3f3;
  --card: #ffffff;
  --band: #e5e5e5;
  --line: #d5d5d5;
  --muted: #5c5c5c;
  --ok: #1d6b45;
  --err: #9d2c1a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.5 Arial, "Segoe UI", sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.15; font-weight: 700; margin-top: 0; }
h1 { font-size: clamp(2.4rem, 5vw, 3.5rem); margin-bottom: 0.7rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 0.8rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
p { margin: 0 0 0.8rem; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 32px)); margin: 2rem auto 3rem; }
.muted { color: var(--muted); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.mast {
  background: #070b12 url("/assets/img/hero.webp") center top / cover no-repeat;
  color: white;
}
.site-header { color: white; background: #10141c; }
.mast .site-header { background: transparent; }
.topbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 96px;
}
.brand { display: block; }
.brand img { width: 180px; height: auto; }
.tagline {
  margin: 0;
  color: var(--teal);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
}
.top-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right;
}
.top-phone-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.header-phone {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.35rem;
  display: block;
}
.top-contacts span { color: #d7d7d7; font-size: 0.92rem; }
.msg-icons { display: inline-flex; gap: 8px; }
.top-phone-row + span { margin-left: 0; }
.msg-ico {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.msg-ico:hover { transform: scale(1.12); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); }
.contact-phone-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nav-toggle {
  display: none;
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  padding: 8px 12px;
}
.site-nav { background: var(--nav); }
.nav-row { display: flex; gap: 28px; min-height: 52px; align-items: center; }
.site-nav a { color: white; text-decoration: none; font-weight: 700; font-size: 14px; }
.site-nav a.is-active, .site-nav a:hover { color: var(--teal); }

.button, button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 5px;
  padding: 14px 22px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.button:hover, button.button:hover { background: var(--blue-dark); color: #fff; }
.button-small { padding: 8px 14px; }
.button-ghost {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: none;
}
.button-ghost:hover { background: rgba(255, 255, 255, 0.08); }
button.button-ghost {
  font: inherit;
  cursor: pointer;
}
.copy-email {
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.copy-email.is-copied {
  background: rgba(90, 191, 191, 0.18);
  border-color: var(--teal);
  color: var(--teal);
}
a.button.button-outline {
  background: #fff;
  color: var(--blue);
  border: 1px solid var(--blue);
  box-shadow: none;
  padding: 10px 18px;
}
a.button.button-outline:hover { background: var(--blue); color: #fff; }
.doc-actions { margin: 16px 0; }
main .button-ghost, .admin-body .button-ghost { color: var(--ink); border-color: #bdbdbd; }

.hero { padding: 54px 0 78px; color: white; }
.hero h1, .hero .lead { color: white; }
.hero .lead { font-size: 1.35rem; max-width: 36rem; }
.is-home .hero h1 { text-align: center; }
.is-home .hero .lead { text-align: center; margin-left: auto; margin-right: auto; }
.is-home .hero-actions { justify-content: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.band { background: white; }
.equipment { background: var(--band); }
.lineup { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 18px; }
.lineup-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.lineup-card a { color: inherit; text-decoration: none; }
.lineup-card a.button { color: #fff; }
.lineup-card img { width: 100%; height: auto; background: transparent; }
.lineup-card h3 { font-size: 14px; line-height: 1.35; min-height: 2.7em; margin: 10px 0 0; }
.lineup-more { margin: 36px 0 0; text-align: right; }
.btn-arrow { margin-left: 8px; }
.solution-block { border-top: 1px solid var(--line); }
.solution-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 8px; }
.solution-head h1, .solution-head h2 { margin: 0; }
.solution-downloads { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.solution-head .solution-downloads { margin: 0; }
.solution-sheet { margin: 18px 0 8px; }
.solution-sheet img { width: 100%; height: auto; aspect-ratio: 210 / 297; object-fit: contain; display: block; background: #fff; border: 1px solid var(--line); }
.solution-head a { font-weight: 700; text-decoration: none; white-space: nowrap; }
.solution-sub { margin: 22px 0 12px; }
.solution-links { margin: 14px 0 0; font-weight: 700; }
.solution-links a { text-decoration: none; }
.solution-related { margin: 0; padding-left: 18px; }
.solution-related li { margin: 0 0 8px; }
.solution-related a { font-weight: 700; }
.solution-block .metric { background: white; border: 1px solid var(--line); }
.faq { margin: 0; }
.faq dt {
  font-weight: 700;
  padding: 12px 16px;
  margin-top: 10px;
  background: white;
  border: 1px solid var(--line);
}
.faq dd {
  margin: 0;
  padding: 12px 16px;
  color: var(--muted);
  background: white;
  border: 1px solid var(--line);
  border-top: 0;
}
.scheme { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.scheme article { position: relative; background: white; border: 1px solid var(--line); padding: 16px; }
.scheme article:not(:last-child)::after,
.pipe li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 14px;
  line-height: 1;
  z-index: 1;
}
.scheme .kicker { margin: 0 0 12px; }
.scheme ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.scheme li { border: 1px solid var(--line); padding: 10px 12px; }
.scheme strong { display: block; }
.scheme span { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 2px; }
.pipe { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; list-style: none; margin: 0 0 14px; padding: 0; counter-reset: pipe; }
.pipe li { position: relative; background: white; border: 1px solid var(--line); border-top: 3px solid var(--teal); padding: 14px 12px; }
.pipe strong { display: block; }
.pipe span { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.metric span { display: block; color: var(--muted); font-size: 0.92rem; margin-top: 4px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.wrap.stats-6 { width: min(1280px, calc(100% - 48px)); }
.stats-6 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.stat { display: flex; align-items: flex-start; gap: 12px; padding: 18px 10px; }
.stats-6 .stat { flex: 0 0 auto; gap: 8px; padding: 16px 0; }
.stats-6 .stat > div { width: 128px; }
.stats-6 .stat:first-child > div { width: 148px; }
.stat img, .stat-icon { width: 40px; height: 40px; flex: none; }
.stat strong { display: block; margin: 0; font-size: 1.05rem; line-height: 1.15; }
.stats-6 .stat strong { font-size: 0.98rem; white-space: nowrap; }
.stat span { display: block; margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.15; }
.stats-6 .stat span { font-size: 0.84rem; }
.section { padding: 36px 0; }
.section-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 16px; }
.section-head a { font-weight: 700; text-decoration: none; }
.is-home .section > h2,
.is-home .equipment h2 { text-align: center; }
.is-home .section-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.is-home .section-head h2 { grid-column: 2; margin-bottom: 0; }
.is-home .section-head a { grid-column: 3; justify-self: end; }
.grid-4, .grid-3, .product-grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-3 .card {
  border: 1px solid var(--line);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.06);
}
.grid-3 .card:hover { outline: none; border-color: var(--blue); }
.solution-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.solution-card img { width: 100%; height: 168px; object-fit: cover; background: var(--paper); }
.solution-cover-fallback { display: grid; align-content: center; gap: 6px; width: 100%; height: 168px; padding: 18px; background: #1b1b1b; color: white; }
.solution-cover-fallback span { color: var(--teal); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.75rem; }
.solution-cover-fallback strong { font-size: 1.05rem; }
.solution-copy { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; border-top: 1px solid var(--line); }
.solution-copy p:last-child { margin-bottom: 0; }
.solution-copy .card-more { margin-top: auto; }
.product-grid { grid-template-columns: repeat(3, 1fr); }
.card {
  background: white;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}
.card:hover { outline: 2px solid var(--blue); }
.card p { color: var(--muted); }
.card .card-more { color: var(--blue); font-weight: 700; margin-top: 12px; }
.product-grid .card > p:last-child {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.kicker { color: var(--blue); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; }

.photo, .photo-lg {
  background: #111;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.photo { aspect-ratio: 4/3; margin: -16px -16px 12px; }
.photo-lg { aspect-ratio: 4/3; }
.photo img, .photo-lg img { width: 100%; height: 100%; object-fit: contain; }
.photo-fallback {
  display: grid;
  align-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  padding: 18px;
  background: #1b1b1b;
  color: white;
}
.photo-fallback span { color: var(--teal); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.75rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.chip {
  text-decoration: none;
  border: 0;
  background: white;
  border-radius: 4px;
  padding: 8px 12px;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
}
.chip.is-active, .chip:hover { background: var(--blue); color: white; }
.search { display: flex; gap: 8px; margin: 8px 0 12px; }
.search input { flex: 1; }

.product-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; padding: 28px 0 36px; }
.product-headline { margin: 0 0 10px; font-size: 1.25rem; font-weight: 700; line-height: 1.35; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 14px 0 18px; padding: 0; list-style: none; }
.specs li { position: relative; margin: 0; padding-left: 16px; }
.specs li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.product-docs { padding: 8px 0 12px; }
.product-ask { padding-top: 12px; }
.product-docs h2 { margin-bottom: 6px; }
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.doc-card { display: flex; align-items: center; gap: 12px; min-height: 92px; padding: 16px 18px; background: white; border: 1px solid var(--line); color: inherit; text-decoration: none; }
.doc-card:hover { border-color: var(--blue); }
.doc-card strong { display: block; font-size: 1.05rem; }
.doc-card small { display: block; margin-top: 4px; color: var(--muted); font-size: 0.92rem; line-height: 1.35; }
.doc-go { flex: 0 0 auto; width: 36px; height: 36px; margin-left: auto; border-radius: 50%; background: var(--teal); color: white; display: grid; place-items: center; font-weight: 700; }
.crumb { color: var(--muted); font-size: 0.92rem; }
.crumb a { color: var(--blue); }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 12px;
  align-items: center;
  padding: 18px 16px;
  background: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-weight: 700;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  transform: translateY(-50%) rotate(45deg);
  z-index: 1;
}
.step h3 { margin: 0; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.35; }
.plain-list { padding-left: 18px; }
.plain-list li { margin: 8px 0; }
.advantage-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 26px;
  width: fit-content;
  max-width: 100%;
}
.advantage-list li {
  margin: 0;
  min-height: 32px;
  padding: 2px 0 2px 52px;
  background: url("/assets/img/icons/check.png") left center / 32px 32px no-repeat;
  line-height: 1.35;
}
.news-band {
  background: white;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.news-band .section { padding: 48px 0 40px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  display: flex;
  flex-direction: column;
  background: white;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--line);
  overflow: hidden;
}
.news-card:hover { border-color: var(--blue); }
.news-photo, .news-hero { background: var(--paper); }
.news-photo img, .news-hero img { width: 100%; height: 190px; object-fit: cover; object-position: center; }
.news-hero { margin: 8px 0 18px; }
.news-hero img { height: auto; aspect-ratio: 16 / 9; }
.news-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
  flex: 1;
}
.news-copy h3 { margin: 0; font-size: 1rem; line-height: 1.3; }
.news-copy p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.4; flex: 1; }
.news-read { color: var(--blue); font-weight: 700; font-size: 0.92rem; }
.news-all { text-align: center; margin: 28px 0 0; }
.news-all a { font-weight: 700; text-decoration: none; }
.news-article { width: min(760px, calc(100% - 32px)); }
.news-article h2 { font-size: 1.35rem; margin: 1.6rem 0 0.7rem; }
.news-article h3 { font-size: 1.12rem; margin: 1.2rem 0 0.5rem; }
.news-article .plain-list { margin: 0 0 1rem; }
.news-table-wrap { overflow-x: auto; margin: 0 0 1.2rem; }
.news-article table { width: 100%; border-collapse: collapse; font-size: 0.92rem; line-height: 1.4; }
.news-article th, .news-article td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.news-article th { background: white; font-weight: 700; }
.news-date { color: var(--muted); margin-bottom: 6px; }
.partners-logos { background: var(--band); }
.partners-logos-title { text-align: center; }
.logo-row {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: center;
}
.logo-row a { display: block; }
.logo-row img { width: 100%; height: auto; }

.partner-close { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: start; }
.partner-close-title { grid-column: 1 / -1; text-align: center; margin: 0 0 4px; }
.partner-points { list-style: none; margin: 0; padding: 8px 0 0; display: grid; gap: 26px; }
.partner-points li {
  margin: 0;
  padding: 2px 0 2px 52px;
  background: url("/assets/img/icons/check.png") left top / 32px 32px no-repeat;
}
.partner-points strong { display: block; font-size: 1.2rem; line-height: 1.25; margin-bottom: 6px; }
.partner-points span { color: var(--muted); }
.partner-more { margin: 22px 0 0; }
.partner-more a { font-weight: 700; text-decoration: none; }
.partner-offer { padding: 8px 0 56px; }
.partner-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  padding: 32px;
}
.partner-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.partner-hero h2 { font-size: clamp(1.8rem, 3vw, 2.45rem); margin-bottom: 12px; }
.partner-hero p { max-width: 36rem; font-size: 1.08rem; }
.partner-hero img { width: 100%; height: 320px; object-fit: cover; }
.partner-block { margin-top: 42px; }
.partner-block h2, .partner-path h2 { text-align: center; }
.partner-lead { text-align: center; max-width: 40rem; margin: -4px auto 18px; color: var(--muted); }
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.partner-paths { grid-template-columns: repeat(3, 1fr); }
.partner-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partner-benefits article { background: white; border: 1px solid var(--line); padding: 18px 16px 8px; }
.partner-benefits h3 { font-size: 1.05rem; margin-bottom: 10px; }
.partner-benefits ul { margin: 0; padding: 0 0 8px 18px; color: var(--muted); }
.partner-benefits li { margin: 0 0 8px; }
.partner-cta { text-align: center; margin: 22px 0 0; }
.partner-card { background: white; border: 1px solid var(--line); padding: 18px 16px 20px; }
.partner-card img { width: 40px; height: 40px; margin-bottom: 12px; }
.partner-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.partner-card p { margin: 0; color: var(--muted); }
.partner-path { margin-top: 36px; }
.partner-path h2 { text-align: center; }
.partner-path ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: deal; }
.partner-path li { background: white; border: 1px solid var(--line); border-top: 3px solid var(--teal); padding: 16px 16px 18px; }
.partner-path li::before { counter-increment: deal; content: counter(deal); display: block; color: var(--blue); font-weight: 700; font-size: 1.35rem; margin-bottom: 6px; }
.partner-path strong { display: block; margin-bottom: 4px; }
.partner-path span { color: var(--muted); }
.lead-form.lead-form-dark {
  background:
    linear-gradient(165deg, rgba(90, 191, 191, 0.2), transparent 42%),
    #171d26;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid var(--teal);
  border-radius: 14px;
  padding: 28px 24px 22px;
  box-shadow: 0 18px 40px rgba(8, 16, 24, 0.22);
  gap: 16px;
}
.lead-form.lead-form-dark h2 { color: white; font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.25; font-weight: 700; margin-bottom: 2px; }
.lead-form.lead-form-dark label > span,
.lead-form.lead-form-dark .field > span { color: #d5e6ee; font-weight: 600; font-size: 0.86rem; }
.lead-form.lead-form-dark .field { display: grid; gap: 6px; }
.lead-form.lead-form-dark input,
.lead-form.lead-form-dark textarea { color: #1a1a1a; }
.lead-form.lead-form-dark input:not(.dial-search),
.lead-form.lead-form-dark textarea,
.lead-form.lead-form-dark .phone-line {
  border: 0;
  border-radius: 10px;
  background: #f4f8fa;
  font-size: 16px;
  box-shadow: inset 0 0 0 1px rgba(15, 105, 149, 0.08);
}
.lead-form.lead-form-dark textarea { min-height: 110px; resize: vertical; }
.lead-form.lead-form-dark input::placeholder,
.lead-form.lead-form-dark textarea::placeholder { color: #8a97a0; }
.section > .lead-form.lead-form-dark { max-width: 480px; }
.product-ask > .lead-form.lead-form-dark {
  max-width: none;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px 18px;
}
.product-ask > .lead-form.lead-form-dark h2,
.product-ask > .lead-form.lead-form-dark .check,
.product-ask > .lead-form.lead-form-dark .button { grid-column: 1 / -1; }
.lead-form.lead-form-dark .check,
.lead-form.lead-form-dark .check span { color: #e7eef2; }
.lead-form.lead-form-dark .check span { font-weight: 400; line-height: 1.35; }
.lead-form.lead-form-dark .check input { width: 18px; height: 18px; accent-color: var(--teal); margin-top: 1px; border-radius: 4px; }
.lead-form.lead-form-dark .button { width: 100%; min-height: 52px; border-radius: 10px; font-size: 16px; }
.lead-form.lead-form-dark input[name="name"],
.lead-form.lead-form-dark input[name="product_name"],
.lead-form.lead-form-dark .phone-line { min-height: 52px; }
.lead-form.lead-form-dark input[name="name"],
.lead-form.lead-form-dark input[name="product_name"] { padding: 14px 16px; }
.lead-form.lead-form-dark input:focus,
.lead-form.lead-form-dark textarea:focus { outline: 2px solid var(--teal); outline-offset: 2px; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.lead-form, .admin-card {
  background: white;
  padding: 18px;
  display: grid;
  gap: 12px;
}
.lead-form h2 { margin-bottom: 0; }
.lead-form label, .stack label { display: grid; gap: 6px; }
.lead-form input, .lead-form textarea, .stack input, .stack textarea, .stack select, .search input {
  width: 100%;
  border: 1px solid #cfcfcf;
  background: white;
  border-radius: 4px;
  padding: 12px 14px;
}
.check { display: flex !important; align-items: flex-start; gap: 8px; font-size: 14px; }
.check input { width: auto; margin-top: 4px; }
.phone-line {
  display: flex !important;
  align-items: stretch;
  position: relative;
  background: white;
  border-radius: 4px;
  grid-template-columns: none;
  gap: 0;
}
.phone-line > input {
  flex: 1;
  width: auto;
  min-width: 0;
  border: 0;
  border-radius: 0 4px 4px 0;
  background: transparent;
  padding: 14px 14px 14px 12px;
  color: #222;
}
.dial { position: static; }
.dial-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  border: 0;
  border-right: 1px solid #e6e6e6;
  background: transparent;
  color: #222;
  padding: 0 12px 0 12px;
  cursor: pointer;
  border-radius: 4px 0 0 4px;
}
.dial-btn:hover { background: #f4f8fb; }
.dial-flag {
  width: 22px;
  height: 15px;
  flex: none;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
  background-color: #eee;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.dial-code { font-weight: 700; min-width: 3.2em; text-align: left; }
.dial-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #555;
}
.dial-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  width: min(320px, calc(100vw - 48px));
  background: white;
  color: #222;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  padding: 8px;
}
.dial-menu[hidden] { display: none; }
.dial-search {
  width: 100%;
  border: 1px solid #d5d5d5 !important;
  border-radius: 4px;
  padding: 8px 10px !important;
  margin-bottom: 6px;
  color: #222;
}
.dial-menu ul { list-style: none; margin: 0; padding: 0; max-height: 240px; overflow: auto; }
.dial-menu li[hidden] { display: none; }
.dial-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: #222;
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
  text-align: left;
}
.dial-option:hover, .dial-option.is-active { background: #e8f3f8; }
.dial-name { flex: 1; }
.dial-num { color: #666; font-weight: 700; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; align-items: start; }
#partners { scroll-margin-top: 16px; }

.banner { padding: 12px 14px; border-radius: 4px; margin: 14px 0; }
.banner-ok { background: #e5f5ec; color: var(--ok); }
.banner-err { background: #fde8e4; color: var(--err); }

.site-footer {
  background: linear-gradient(90deg, rgba(90, 191, 191, 0.18), transparent 46%), #141414;
  color: #eee;
  margin-top: 0;
  padding: 32px 0 28px;
}
.site-footer a { color: white; }
.footer-pitch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.7fr);
  column-gap: 36px;
  row-gap: 18px;
  align-items: stretch;
}
.footer-logo { display: block; width: 180px; margin: 0 0 14px; }
.footer-logo img { width: 100%; height: auto; }
.footer-lead p { color: #d5d5d5; max-width: 40rem; margin-bottom: 0; }
.footer-actions { display: grid; gap: 10px; align-content: start; }
.footer-actions .button { width: 100%; gap: 8px; }
.footer-actions .copy-email { min-width: 0; }
.footer-reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-self: end;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-reasons li { margin: 0; padding-top: 10px; border-top: 2px solid var(--teal); }
.footer-reasons strong { display: block; color: white; margin-bottom: 4px; }
.footer-reasons span { display: block; color: #c8c8c8; font-size: 0.9rem; line-height: 1.35; }
.footer-contacts {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  align-self: end;
  padding-top: 10px;
  border-top: 2px solid var(--teal);
}
.footer-contacts p { margin: 0; max-width: none; color: #d5d5d5; }
.logo-text { font-size: 1.3rem; }
.call-dock { display: none; }
.chat-dock { display: none; }

.admin-body { background: #eef1f4; color: var(--ink); }
.admin-body a { color: var(--blue); }
.admin-body a.button { color: #fff; }
.admin-tiles { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-tile {
  display: grid;
  gap: 4px;
  min-width: 160px;
  max-width: 240px;
  background: white;
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-decoration: none;
}
.admin-body a.admin-tile { color: inherit; }
.admin-tile span { color: var(--muted); font-size: 0.82rem; font-weight: 400; }
.admin-tile:hover { border-color: var(--blue); }
.admin-bar { background: var(--nav); color: white; }
.admin-bar a { color: white; text-decoration: none; }
.admin-bar .wrap { display: flex; gap: 14px; align-items: center; min-height: 58px; flex-wrap: wrap; }
.admin-main { width: min(1100px, calc(100% - 32px)); margin: 22px auto 40px; }
.admin-card { margin-bottom: 16px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: white; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row-actions form { margin: 0; }
.linkish { background: none; border: 0; color: var(--blue); cursor: pointer; padding: 0; text-decoration: underline; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.metric { padding: 16px; }
.metric strong { font-size: 1.6rem; display: block; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(420px, 100%); }

@media (max-width: 1200px) {
  .stats-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
  .stats-6 .stat { padding: 16px 8px; }
  .stats-6 .stat > div,
  .stats-6 .stat:first-child > div { width: auto; }
  .stats-6 .stat strong { white-space: normal; }
}
@media (max-width: 980px) {
  .product-layout, .split, .grid-4, .steps, .footer-grid, .lineup, .stats, .scheme, .pipe, .partner-grid, .partner-benefits { grid-template-columns: 1fr 1fr; }
  .partner-hero, .partner-path ol { grid-template-columns: 1fr; }
  .partner-hero img { height: 240px; }
  .stats-6 { grid-template-columns: repeat(3, 1fr); }
  .step:not(:last-child)::after,
  .scheme article:nth-child(2n)::after,
  .pipe li:nth-child(2n)::after { display: none; }
  .grid-3, .product-grid, .news-grid { grid-template-columns: 1fr 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .topbar { grid-template-columns: 1fr auto; }
  .tagline { display: none; }
  .nav-toggle { display: inline-flex; grid-column: 1 / -1; justify-self: start; }
  .topbar { min-height: 0; padding: 16px 0; }
  .header-phone { font-size: 1.05rem; }
  .site-nav { display: none; }
  .site-nav.is-open { display: block; }
  .nav-row { flex-direction: column; align-items: flex-start; gap: 12px; padding: 12px 0 16px; }
  .scheme article:not(:last-child)::after,
  .pipe li:not(:last-child)::after {
    content: "↓";
    display: grid;
    top: auto;
    right: auto;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
  }
  .solution-head { align-items: start; flex-wrap: wrap; }
  .solution-head a { white-space: normal; }
  .footer-pitch-grid, .footer-reasons { grid-template-columns: 1fr; }
  .footer-reasons, .footer-contacts { align-self: stretch; }
  .hero, .product-layout, .split, .partner-close, .partner-grid, .partner-benefits, .grid-4, .grid-3, .product-grid, .news-grid, .steps, .footer-grid, .metrics, .lineup, .specs, .doc-grid, .scheme, .pipe,
  .product-ask > .lead-form.lead-form-dark {
    grid-template-columns: 1fr;
  }
  .stats { grid-template-columns: 1fr 1fr; }
  .wrap.stats-6 { width: min(1120px, calc(100% - 32px)); }
  .stats-6 .stat { min-width: 0; gap: 6px; padding: 12px 2px; }
  .stats-6 .stat > div { min-width: 0; flex: 1; width: auto; }
  .stats-6 .stat img { width: 32px; height: 32px; }
  .stats-6 .stat strong { font-size: 0.84rem; }
  .lineup { grid-template-columns: 1fr 1fr; gap: 16px 10px; }
  .lineup-card h3 { font-size: 13px; min-height: 2.7em; }
  .lineup-card .button { width: 100%; }
  .logo-row { grid-template-columns: 1fr 1fr; }
  .call-dock {
    display: grid;
    place-items: center;
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
    background: var(--blue);
    color: white;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
    z-index: 30;
  }
  .chat-dock {
    display: grid;
    place-items: center;
    position: fixed;
    right: 16px;
    width: 46px;
    height: 46px;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
    z-index: 30;
  }
  .chat-wa { background: #25d366; bottom: 132px; }
  .chat-tg { background: #2aabee; bottom: 84px; }
}

/* Ссылка на политику в чекбоксе согласия */
.check a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.lead-form.lead-form-dark .check a { color: #9fd8d8; }
.check a:hover { color: var(--teal); }

/* Страница политики конфиденциальности */
.policy h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.policy h2 { font-size: 1.3rem; margin-top: 1.8rem; }
.policy ul { margin: 0 0 0.8rem; padding-left: 1.3rem; }
.policy li { margin-bottom: 0.35rem; }
.policy p:last-child { margin-bottom: 0; }
