@font-face {
  font-family: "TT Norms Pro";
  src: url("media/TTNormsPro-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "TT Norms Pro";
  src: url("media/TTNormsPro-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "TT Norms Pro";
  src: url("media/TTNormsPro-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "PT Mono";
  src: url("media/PTMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --purple: #312781;
  --cyan: #25a9e0;
  --ink: #231d44;
  --muted: #514d66;
  --tint: #f5f4fb;
  --line: #d9d5eb;
  --body: "TT Norms Pro", Arial, sans-serif;
  --heading: "PT Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 18px/1.5 var(--body); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, select { font: inherit; }
button:not(:disabled) { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--heading); font-weight: 400; line-height: 1.05; }
h2 { font-size: clamp(30px, 4.1vw, 59px); letter-spacing: -.055em; }
h3 { font-size: clamp(22px, 2.15vw, 30px); line-height: 1.18; }
.shell { width: min(100% - 96px, 1392px); margin-inline: auto; }

.preview-note {
  padding: 6px 24px;
  background: var(--tint);
  color: var(--purple);
  font-size: 13px;
  text-align: center;
}
.site-header, .site-footer { background: var(--purple); color: #fff; }
.header-inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3.2vw, 54px);
}
.wordmark { flex: 0 0 auto; display: inline-flex; align-items: center; }
.wordmark img { width: clamp(180px, 18vw, 250px); }
.header-inner nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 24px; margin-left: auto; }
.header-inner nav a, .footer-inner a { text-decoration: none; }
.header-inner nav a:hover, .footer-inner a:hover { text-decoration: underline; text-underline-offset: 4px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--purple);
  border-radius: 3px;
  background: var(--purple);
  color: #fff;
  min-height: 49px;
  padding: 11px 23px;
  font: 400 14px/1.3 var(--heading);
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: background .18s, color .18s, border-color .18s;
}
.button:hover { background: #241b65; border-color: #241b65; }
.button-small { min-height: 42px; padding: 8px 14px; }
.button-outline { background: transparent; color: var(--purple); }
.button-outline:hover { color: #fff; }
.button:disabled { opacity: .46; }
.site-header .button { flex-shrink: 0; }
.site-header .button, .hero .button-outline { border-color: #fff; color: #fff; }
.site-header .button:hover, .hero .button-outline:hover { background: #fff; color: var(--purple); }
.hero {
  width: 100%;
  padding: clamp(38px, 6vw, 102px) max(48px, calc((100vw - 1392px) / 2));
  min-height: min(620px, 50vw);
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  align-items: center;
  gap: clamp(30px, 5vw, 82px);
  color: #fff;
  background: linear-gradient(to right, var(--purple) 32%, var(--cyan));
}
.hero h1 { font-size: clamp(48px, 6vw, 96px); letter-spacing: -.075em; }
.hero-lead { margin: 22px 0 13px; font-size: clamp(21px, 2.2vw, 34px); font-weight: 500; line-height: 1.22; }
.hero-copy > p:not(.hero-lead) { max-width: 490px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .actions > .button:first-child { background: #fff; color: var(--purple); border-color: #fff; }
.hero .actions > .button:first-child:hover { background: var(--tint); }
.hero-image { overflow: hidden; border: 1px solid #ffffff6b; border-radius: 4px; box-shadow: 0 12px 40px #140e3c3d; }
.hero-image img { width: 100%; aspect-ratio: 1672/941; object-fit: cover; }

.section { padding-block: clamp(48px, 7vw, 106px); }
.section-tinted { background: var(--tint); }
.section-heading { max-width: 740px; margin-bottom: 32px; }
.section-heading > p { margin-top: 14px; color: var(--muted); }
.product-grid, .tariff-grid { display: grid; gap: 18px; margin-top: 32px; }
.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-card, .tariff-card, .calculator { background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.product-card { padding: clamp(24px, 4vw, 52px); }
.product-card h3 { color: var(--purple); }
.product-card p { margin: 12px 0 24px; max-width: 48ch; }
.text-link { color: var(--purple); text-underline-offset: 4px; font-weight: 500; }
.text-link:hover { color: #174d74; }
.workflow-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(26px, 5vw, 74px); align-items: center; }
.workflow-steps { border-top: 1px solid var(--line); }
.workflow-steps article { border-bottom: 1px solid var(--line); padding-block: 19px; }
.workflow-steps h3 { margin-bottom: 6px; font-size: 22px; color: var(--purple); }
.workflow-steps p { color: var(--muted); }
.interface { margin: 0; }
.interface img { width: 100%; border: 1px solid var(--line); border-radius: 4px; }
.interface figcaption { margin-top: 9px; color: var(--muted); font-size: 14px; }

.tariff-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tariff-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(20px, 3vw, 38px); }
.tariff-card h3 { color: var(--purple); }
.price { margin-top: 15px; font-size: clamp(33px, 4vw, 56px); line-height: 1.05; letter-spacing: -.06em; font-weight: 700; white-space: nowrap; }
.price-detail { margin-top: 5px; color: var(--muted); }
.tariff-card dl { margin-block: 23px; width: 100%; }
.tariff-card dl div { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); }
.tariff-card dd { margin: 0; font-weight: 700; white-space: nowrap; }
.tariff-card .button { margin-top: auto; width: 100%; }
.tariff-note { color: var(--muted); margin-top: 17px; font-size: 15px; }

.metrics { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.metrics .section-heading { margin: 0; }
.metrics .text-link { display: inline-block; margin-top: 16px; }
.calculator { padding: clamp(20px, 3.5vw, 42px); }
.calculator h3 { margin-bottom: 18px; color: var(--purple); }
.calculator label { display: block; margin: 13px 0 4px; font-weight: 500; }
.calculator select { min-width: 0; max-width: 100%; width: 100%; min-height: 46px; border-radius: 3px; padding: 5px 10px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.city-input { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }
.city-list { padding: 0; margin: 12px 0 0; list-style: none; }
.city-list li { display: flex; align-items: start; justify-content: space-between; gap: 8px; padding-block: 8px; border-bottom: 1px solid var(--line); }
.city-list button { border: 0; background: none; color: var(--purple); text-decoration: underline; padding: 0 0 0 4px; }
.hint { color: var(--muted); margin-top: 10px; font-size: 14px; }
.calc-total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.calc-total output { color: var(--purple); font-weight: 700; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px clamp(14px, 2.5vw, 40px); padding-block: 29px; font-size: 15px; }
.footer-inner .wordmark { margin-right: auto; }

@media (max-width: 1050px) {
  .shell { width: calc(100% - 56px); }
  .hero { width: 100%; padding-inline: 28px; }
  .header-inner nav { gap: 9px 15px; }
  .tariff-card .button { padding-inline: 10px; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: 0; padding-block: 13px; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
  .header-inner nav { order: 3; justify-content: flex-start; width: 100%; margin: 0; font-size: 15px; }
  .wordmark img { width: min(42vw, 185px); }
  .hero { width: 100%; padding-inline: 20px; grid-template-columns: minmax(0, 1fr); background: var(--purple); }
  .hero-copy { max-width: 560px; }
  .product-grid, .workflow-layout, .tariff-grid, .metrics { grid-template-columns: minmax(0, 1fr); }
  .section-heading { margin-bottom: 24px; }
  .footer-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner .wordmark { grid-column: 1/-1; }
}
@media (max-width: 370px) {
  .button-small { padding-inline: 8px; }
  .city-input { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

.hero-path { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid #ffffff55; font-size: 16px; }
.hero-path a { text-underline-offset: 5px; }
.feature-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 76px); align-items: center; }
.feature-copy { min-width: 0; }
.feature-copy h2 { font-size: clamp(32px, 3.6vw, 52px); }
.feature-copy > p:not(.eyebrow) { margin-top: 22px; color: var(--muted); }
.eyebrow { color: var(--purple); font: 400 14px/1.5 var(--heading); margin-bottom: 16px; }
.feature-list { list-style: none; padding: 0; margin: 24px 0; }
.feature-list li { border-top: 1px solid var(--line); padding: 12px 0; color: var(--muted); }
.feature-list strong { color: var(--ink); font-weight: 500; }
.feature-reversed .feature-copy { order: 2; }
.feature-image img { background: var(--purple); }
.role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.role-grid .product-card { padding: clamp(22px, 3vw, 36px); }
.role-grid .product-card p { margin-bottom: 0; }
.metrics-detail { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.metrics-detail h3 { margin-bottom: 12px; }
.metrics-detail p + p { margin-top: 14px; }
.privacy-note { max-width: 900px; color: var(--muted); margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.header-inner { flex-wrap: wrap; padding-block: 18px; }
.header-inner nav { gap: 10px 18px; font-size: 16px; }
@media (max-width: 900px) {
  .feature-layout { grid-template-columns: minmax(0, 1fr); }
  .feature-reversed .feature-copy { order: 0; }
  .role-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .feature-copy h2 { font-size: clamp(30px, 8vw, 42px); }
  .hero-path { gap: 10px 20px; }
  .header-inner nav { justify-content: flex-start; }
}

.legacy-anchor { display: block; height: 0; scroll-margin-top: 20px; }
.contact-layout { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,6vw,90px);align-items:start }
.contact-intro { margin-top:22px;color:var(--muted) }
.contact-offices { display:grid;gap:22px;margin:28px 0 }
.contact-offices h3 { margin-bottom:8px }
.contact-form__fields { display:grid;gap:8px }
.contact-form__fields label { margin-top:8px;font-size:16px;font-weight:500 }
.contact-form__fields .input { display:block;width:100%;min-height:48px;border:1px solid var(--line);border-radius:3px;padding:10px 12px;color:var(--ink);background:#fff;font:inherit;min-width:0 }
.contact-form__fields .input--error { border-color:#b52a40 }
.contact-form__fields .button { margin-top:16px }
.contact-form__success { display:none;color:#246316 }
.contact-form__error { color:#a21d32 }
.reference-section { padding-bottom:48px }
.reference-section details { border-top:1px solid var(--line);padding:16px 0 }
summary { cursor:pointer;font-weight:500 }
.reference-content { padding-top:20px;overflow-wrap:anywhere }
.reference-content h3 { margin-block:20px 12px }
.reference-content p { margin-block:12px }
.eva-dialog { width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 48px);overflow:auto;padding:32px;border:1px solid var(--line);border-radius:6px;color:var(--ink);background:#fff }
.eva-dialog::backdrop { background:#17113b99 }
.eva-dialog h2 { padding-right:24px;font-size:30px;line-height:1.15;margin-bottom:22px }
.dialog-close { position:absolute;right:12px;top:8px;min-width:40px;min-height:40px;font-size:30px;line-height:1;background:none;border:0;color:var(--ink);cursor:pointer }
#eva-selected-tariff { margin-bottom:14px;color:var(--muted) }
@media(max-width:760px){.contact-layout{grid-template-columns:minmax(0,1fr)}.eva-dialog{padding:24px}.reference-content{font-size:16px}}

.reference-content{max-width:100%;overflow-x:auto}.reference-content table{max-width:100%}

.eva-bitrix-form{min-width:0}.eva-bitrix-form>h3{margin-bottom:18px}.eva-bitrix-form .b24-form{max-width:100%}#eva-selected-tariff{margin-bottom:16px;color:var(--muted)}

.eva-site-v2 .wordmark img{width:126px;height:auto}
.eva-product-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-height:33px}
.eva-product-title .eva-brand-logo{display:block;width:126px;max-width:100%;height:auto;flex:0 0 auto}
.eva-product-title>span{color:#00a3ff;font-weight:400;white-space:nowrap}
.eva-hero-logo{width:min(300px,70vw);height:auto}
.eva-heading-logo{display:inline-block;width:auto;height:.8em;vertical-align:-.03em;max-width:45%}
