:root {
  --bg: #f8f7f4;
  --surface: #ffffff;
  --ink: #1f2a37;
  --muted: #5b6878;
  --line: #d8d3c9;
  --brand: #35b8e8;
  --brand-2: #4f6fe3;
  --radius: 16px;
  --radius-sm: 14px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --border-soft: #d6e4f5;
  --shadow-soft: 0 8px 20px rgba(60,64,72,.08);
  --shadow-card: 0 10px 24px rgba(40,88,145,.10);
  --maxw: 1160px;

  --fs-12: 12px;
  --fs-14: 14px;
  --fs-16: 17px;
  --fs-18: 18px;
  --fs-20: 20px;
  --fs-28: 28px;
  --fs-40: 40px;
  --lh-tight: 1.15;
  --lh-base: 1.6;

  --shadow: var(--shadow-soft);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Open Sans", Segoe UI, Arial, sans-serif;
  font-size: var(--fs-16);
  color: var(--ink);
  line-height: var(--lh-base);
  background: radial-gradient(980px 400px at 12% -8%, #f2f0ea 0%, transparent 60%), radial-gradient(900px 420px at 95% -12%, #f7f5f1 0%, transparent 60%), var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #dbe5f3;
  box-shadow: 0 6px 18px rgba(45,87,134,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  padding: 12px 0;
  gap: 12px;
  min-height: 84px;
}
.logo { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; }
.logo-img { height: 40px; width: auto; display: block; object-fit: contain; }
.menu-toggle,
.mobile-menu { display: none; }
.menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #cfe0f3;
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(40,88,145,.12);
}
.menu-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #3a5678;
  border-radius: 2px;
  position: relative;
}
.menu-toggle .bar::before,
.menu-toggle .bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: #3a5678;
  border-radius: 2px;
}
.menu-toggle .bar::before { top: -6px; }
.menu-toggle .bar::after { top: 6px; }

.nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-left: auto; margin-right: auto; }
 .nav a {
  text-decoration: none;
  font-weight: 800;
  color: #6f8096;
  font-size: var(--fs-14);
  position: relative;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
 }
.nav a:hover { color: #2d4666; }
.nav a.active { color: #1f2a37; background:#eef5fd; border-color:#d1e0f0; }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  border-radius: 11px;
  padding: 11px 15px;
  transition: transform .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.04); }
.btn-main { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #ffffff; box-shadow: 0 10px 22px rgba(79,111,227,.22); font-weight: 800; }
.btn-alt { border: 1px solid #cad4e2; background: #ffffff; color: #4d6178; }

 .hero {
  margin-top: 16px;
  background: linear-gradient(145deg, #fdfcf9, #f6f4ef);
  border: 1px solid #d8d3c9;
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.tag {
  display: inline-block;
  padding: 7px 11px;
  border: 1px solid #d8e4f2;
  border-radius: 999px;
  font-size: var(--fs-12);
  font-weight: 700;
  color: #5d6f85;
  text-transform: uppercase;
}

h1 { font-family: Montserrat, "Open Sans", Segoe UI, Arial, sans-serif; font-weight: 700; font-size: clamp(40px, 3.8vw, 44px); line-height: 1.13; margin: 12px 0; letter-spacing: -0.011em; color:#1a2635; }
h2 { font-family: Montserrat, "Open Sans", Segoe UI, Arial, sans-serif; font-weight: 700; margin: 0 0 12px; font-size: clamp(32px, 3vw, 36px); line-height: 1.17; letter-spacing: -0.01em; color:#1f2a37; }
h3 { font-family: Montserrat, "Open Sans", Segoe UI, Arial, sans-serif; font-weight: 700; margin: 0 0 8px; font-size: clamp(24px, 2.2vw, 28px); line-height: 1.24; letter-spacing: -0.006em; color:#253446; }
 .sub { color: #5b6f86; font-size: clamp(24px,1.9vw,30px); max-width: 760px; line-height: 1.42; }
.muted { color: var(--muted); font-size: var(--fs-16); font-weight: 500; }

.kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.kpi .item { background: linear-gradient(180deg,#ffffff,#f6fbff); border: 1px solid #d6e4f5; border-radius: 12px; padding: 12px; color: #4d637f; box-shadow: 0 6px 16px rgba(40,88,145,.07); }
.kpi b { display: block; font-size: 24px; color: #2f78cc; letter-spacing:-.01em; }

 .section {
  margin-top: 20px;
  background: linear-gradient(180deg, var(--surface), #f6f4ef);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow);
}
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

 .card {
  padding: 18px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: #ffffff;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card p { margin: 0; line-height: 1.62; font-size: 16.5px; }
.card:hover { transform: translateY(-2px); border-color: #c7d3e1; box-shadow: var(--shadow-card); }

.ua-home .btn-ghost {
  border: 1px solid #cfc8bc;
  color: #475c74;
  background: transparent;
}
.ua-home .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}
.ua-home .t {
  font-family: Montserrat, "Open Sans", Segoe UI, Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 2.7vw, 36px);
  line-height: 1.17;
  margin: 0 0 16px;
  letter-spacing: -.009em;
}
.ua-home .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #e8f0f9;
  color: #4e6e93;
  font-weight: 800;
  margin-bottom: 10px;
}
.ua-home > section {
  scroll-margin-top: 96px;
}
.ua-home .sub {
  margin: 0 0 24px;
  color: #556f8c;
  line-height: 1.52;
  font-size: 19px;
  max-width: 62ch;
}
.ua-home .unified-cards .card {
  position: relative;
  background: linear-gradient(180deg,#ffffff,#f6fbff);
  border: 1px solid #d6e4f5;
  box-shadow: 0 10px 24px rgba(40,88,145,.10);
  overflow: hidden;
}
.ua-home .unified-cards .card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg,#2fc7f7,#409eef);
}
.ua-home .unified-cards .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #eaf4ff;
  border: 1px solid #d0e5fb;
  color: #2f78cc;
  box-shadow: 0 6px 16px rgba(47,120,204,.18);
}
.ua-home .unified-cards .card h3 {
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid #e6eef8;
}
.ua-home .unified-cards .card p {
  color: #4f6683;
}
.ua-home .flow-track {
  position: relative;
}
.ua-home .steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  position: relative;
  z-index: 1;
  align-items: stretch;
}
.ua-home .step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 178px;
  padding: 12px 12px 10px;
  color: #465d78;
  background: linear-gradient(180deg,#ffffff,#f9fcff);
  border: 1px solid #d6e4f5;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 14px rgba(40,88,145,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ua-home .step:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(40,88,145,.10);
}
.ua-home .step i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: #eaf4ff;
  border: 1px solid #cfe4fb;
  color: #2f78cc;
  font-style: normal;
  font-weight: 800;
}
.ua-home .step b {
  display: block;
  min-height: 42px;
  margin: 0 0 6px;
  font-family: Montserrat, "Open Sans", Segoe UI, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.28;
  color: #1f2a37;
}
.ua-home .step p {
  min-height: 56px;
  margin: 0;
  color: #5a6f86;
  font-size: 16px;
  line-height: 1.5;
}
.ua-home .step .chip-time {
  display: inline-flex;
  justify-content: flex-start;
  min-width: 106px;
  margin-top: auto;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #3f6ca4;
  background: #eef6ff;
  border: 1px solid #d3e5fb;
  position: relative;
  transition: transform .2s ease, filter .2s ease;
}
.ua-home .step .chip-time::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 0;
  height: 0;
  transform: translateY(-50%);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #3f6ca4;
  opacity: .85;
}
.ua-home .step:hover .chip-time {
  transform: translateX(2px);
  filter: brightness(1.02);
}
.ua-home .step:last-child .chip-time {
  min-width: 124px;
  color: #228a62;
  background: #edf8f2;
  border-color: #cfe8da;
}
.ua-home .step:last-child .chip-time::after {
  content: "";
  width: 7px;
  height: 4px;
  border: 0;
  border-left: 2px solid #228a62;
  border-bottom: 2px solid #228a62;
  transform: translateY(-60%) rotate(-45deg);
}

.ua-page > .hero,
.ua-page > .section,
.ua-page > .partners-strip,
.ua-page > .cta {
  width: 100%;
}
.ua-page > .section,
.ua-page > .partners-strip,
.ua-page > .cta {
  margin-top: 20px;
}
.ua-page > .hero {
  position: relative;
  overflow: hidden;
}
.ua-page > .hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: -180px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53,184,232,.18) 0%, rgba(53,184,232,0) 68%);
  pointer-events: none;
}
.ua-page > .hero > * {
  position: relative;
  z-index: 1;
}
.ua-page h2 {
  margin-bottom: 16px;
}
.ua-page .section .card {
  min-width: 0;
  background: linear-gradient(180deg,#ffffff,#f8fbff);
  border-color: #d6e4f5;
  box-shadow: 0 8px 20px rgba(40,88,145,.08);
}
.ua-page .section .card h3 {
  font-size: clamp(20px,1.7vw,24px);
  line-height: 1.25;
}
.ua-page .section .muted {
  color: #526b87;
  line-height: 1.58;
}
.ua-page .tariff {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e1ebf6;
}
.ua-page .tariff b {
  color: #2f78cc;
}
.ua-page .partners-strip {
  padding: 22px;
  border: 1px solid #d6e4f5;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg,#f9fcff,#f1f7ff);
  box-shadow: var(--shadow);
}
.ua-page .partners-strip h3 {
  margin: 0 0 14px;
  text-align: center;
  font-size: clamp(24px,2vw,30px);
}
.ua-page .partners-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}
.ua-page .partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  padding: 14px;
  border: 1px solid #d6e4f5;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(40,88,145,.07);
}
.ua-page .partner-logo img {
  display: block;
  max-width: 140px;
  width: 100%;
  height: auto;
}
.ua-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.ua-page .hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid #d6e4f5;
  border-radius: 999px;
  background: #ffffff;
  color: #2f5f95;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(40,88,145,.07);
}
.ua-page .service-pack .card,
.ua-page .support-sla .card,
.ua-page .support-pack .card,
.ua-page .formats-premium .card {
  position: relative;
  overflow: hidden;
}
.ua-page .service-pack .card::before,
.ua-page .support-sla .card::before,
.ua-page .support-pack .card::before,
.ua-page .formats-premium .card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg,#2fc7f7,#409eef);
}
.ua-page .faq-accordion {
  display: grid;
  gap: 10px;
}
.ua-page .faq-accordion details {
  border: 1px solid #d6e4f5;
  border-radius: 14px;
  padding: 13px 15px;
  background: linear-gradient(180deg,#ffffff,#f8fbff);
  box-shadow: 0 8px 18px rgba(40,88,145,.06);
}
.ua-page .faq-accordion summary {
  cursor: pointer;
  font-weight: 800;
  color: #24384f;
}
.ua-page .faq-accordion p {
  margin: 10px 0 0;
  color: #526b87;
  line-height: 1.58;
}
.ua-page .post-list .card {
  display: flex;
  flex-direction: column;
}
.ua-page .post-list .card h3 {
  margin-top: 2px;
}
.ua-page .post-cover {
  margin: -18px -18px 14px;
  border-radius: 14px 14px 0 0;
}
.ua-page .post-cover img {
  height: 188px;
}
.ua-page .contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 16px;
}
.ua-page .contact-card,
.ua-page .form-box {
  min-width: 0;
  padding: 20px;
  border: 1px solid #d6e4f5;
  border-radius: 16px;
  background: linear-gradient(180deg,#ffffff,#f8fbff);
  box-shadow: 0 8px 20px rgba(40,88,145,.08);
}
.ua-page .channels {
  display: grid;
  gap: 10px;
}
.ua-page .channel {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid #e0eaf6;
  border-radius: 12px;
  background: #ffffff;
}
.ua-page .channel b {
  color: #1f3652;
}
.ua-page .channel span {
  color: #526b87;
}
.ua-page .messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ua-page .messengers a,
.ua-page .contact-pills span,
.ua-page .contact-pills a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid #d6e4f5;
  border-radius: 999px;
  background: #f3f8ff;
  color: #2f5f95;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}
.ua-page .contact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.ua-page .cert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.ua-page .cert-card {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #d6e4f5;
  border-radius: 16px;
  background: linear-gradient(180deg,#ffffff,#f8fbff);
  box-shadow: 0 8px 20px rgba(40,88,145,.08);
}
.ua-page .cert-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 122px;
  border: 1px solid #e0eaf6;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}
.ua-page .cert-image-wrap img {
  display: block;
  width: 100%;
  height: 122px;
  object-fit: contain;
}
.ua-page .cert-body h3 {
  margin: 0 0 8px;
  font-size: clamp(17px,1.35vw,21px);
  line-height: 1.28;
}
.ua-page .cert-meta {
  margin: 0;
  color: #526b87;
  font-size: 14px;
  line-height: 1.55;
}
.ua-page .cert-link {
  display: inline-flex;
  margin-top: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef6ff;
  border: 1px solid #d3e5fb;
  color: #2f5f95;
  font-size: 13px;
  font-weight: 800;
}

.list { margin: 8px 0 0; padding-left: 18px; color: #556a82; }
.bad{color:#b5772e!important}
.good{color:#228a62!important}
.faq details { border: 1px solid #d4dbe5; border-radius: 12px; padding: 12px 14px; background: #fbfbf9; }
.faq details + details { margin-top: 8px; }

 .cta {
  margin-top: 22px;
  border-radius: 20px;
  padding: 24px;
  color: #223248;
  background: linear-gradient(130deg, #f4f1eb, #ece8e1);
  border: 1px solid #dcd7ce;
}
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.form input, .form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #cfd8e5;
  color: #2b3f5b;
  background: #ffffff;
  font: inherit;
}
.form textarea { grid-column: 1/-1; min-height: 92px; }
.form .btn-main { border: 0; cursor: pointer; grid-column: 1/-1; }

.footer { margin: 24px 0 8px; color: #6f849e; font-size: var(--fs-14); text-align: center; }
.post-list .card h3 a { text-decoration: none; }
.post-cover { margin: -16px -16px 12px; border-radius: 12px 12px 0 0; overflow: hidden; border-bottom: 1px solid #d8e1eb; }
.post-cover img { width: 100%; height: 150px; object-fit: cover; display: block; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.badge { font-size: var(--fs-12); padding: 5px 8px; border-radius: 999px; border: 1px solid #d8e4f2; color: #4f6e91; background:#f2f7fc; }
.blog-feature {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 12px;
}
.blog-feature .card {
  min-height: 100%;
}
.meta-line {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 8px 0 0;
  color: #6f849e;
  font-size: var(--fs-12);
}

/* Bitrix24 pass: hero KPI, cases, blog cards, CTA, footer micro details */
.ua-home .case { min-width: 0; overflow: hidden; }
.ua-home .thumb-wrap {
  position: relative;
  margin: -18px -18px 14px;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  background: #eef4fb;
}
.ua-home .case img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border: 1px solid #d6e4f5;
}
.ua-home .case-metric {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid #d6e4f5;
  color: #2f5f95;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(40,88,145,.12);
}
.case .chip:first-child{background:#eef6ff;border-color:#d6e7fb;color:#3f6ca4}
.case .chip:last-child{background:#effaf5;border-color:#d4ecdf;color:#228a62}
.post-list .card h3 a{color:#253446;text-decoration:none}
.post-list .card h3 a:hover{color:#2f78cc}
.cta{
  border:1px solid #d6e4f5;
  background:linear-gradient(140deg,#f8fcff,#f1f7ff 55%,#edf4ff);
  box-shadow:0 12px 28px rgba(40,88,145,.09);
}
.cta .btn-main{box-shadow:0 12px 24px rgba(79,111,227,.24)}
.site-footer{
  border-top:1px solid #d6e4f5;
  background:linear-gradient(180deg,#f8fbff,#f1f6fd);
}
.site-footer .sf-ico{
  background:#edf5ff;
  border:1px solid #d4e5fb;
  color:#4f6e93;
}

/* article */
.read-progress{position:fixed;top:0;left:0;height:3px;background:linear-gradient(90deg,var(--brand),var(--brand-2));width:0;z-index:80}
.article-shell{display:grid;grid-template-columns:260px minmax(0,820px);gap:22px;align-items:start;margin-top:16px}
.article-toc{position:sticky;top:90px;max-height:calc(100vh - 110px);overflow-y:auto;background:#fbfbf9;border:1px solid #d7dfe9;border-radius:14px;padding:14px;box-shadow:var(--shadow)}
.article-toc h4{margin:0 0 8px;font-size:var(--fs-14);text-transform:uppercase;color:#6c8098}
.article-toc a{display:block;font-size:var(--fs-14);color:#4f6683;text-decoration:none;padding:6px 0;border-bottom:1px dashed #d9e1eb}
.article-toc a:last-child{border-bottom:none}
.article{background:#ffffff;border:1px solid #dde3ec;border-radius:18px;padding:24px;box-shadow:var(--shadow)}
.article p,.article li{color:#556a82;line-height:1.75}
.article h2,.article h3{scroll-margin-top:100px;color:#223248}
.article figure{margin:16px 0;padding:10px;border:1px solid #d7dfe9;border-radius:12px;background:#f8fafc}
.article figure img{max-width:100%;height:auto;border-radius:8px;display:block;margin:auto}
.article figcaption{font-size:13px;color:#6f849e;margin-top:8px;text-align:center}
.article .kpi-inline{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}
.article .kpi-inline .k{background:#f3f6fa;border:1px solid #d5dee9;border-radius:10px;padding:10px;font-size:14px;color:#556b84}
.article .kpi-inline b{display:block;font-size:22px;color:#2f78cc}
.article-cta{margin-top:20px;border-radius:16px;padding:18px;background:linear-gradient(135deg,#f1f5f9,#e8eef6);border:1px solid #d2dbe6}
.article-lead-note {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid #d5dee9;
  border-radius: 12px;
  background: linear-gradient(145deg,#f3f7fb,#edf3f9);
  color: #556b84;
}
.article-lead-note b { color: #2f78cc; }
.article-next {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.article-next a {
  display: block;
  text-decoration: none;
  border: 1px solid #d5dee9;
  border-radius: 12px;
  background: #ffffff;
  padding: 12px 14px;
  color: #3e5573;
}
.article-next a small {
  display: block;
  color: #6f849e;
  margin-bottom: 4px;
}

.site-footer {
  margin-top: 34px;
  padding: 34px 0 0;
  border: 0;
  background:
    radial-gradient(620px 240px at 8% 0%, rgba(196,154,82,.07), transparent 64%),
    radial-gradient(620px 240px at 92% 0%, rgba(34,183,223,.08), transparent 62%),
    linear-gradient(180deg,#f8fbff 0%,#eef5fc 100%);
  text-align: left;
  position: relative;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  color: #52647c;
}
.site-footer::before { display: none; }
.site-footer .sf-inner {
  width: min(var(--maxw), calc(100% - 32px));
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 30px 28px 26px;
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(170px,.46fr) minmax(0,1.08fr);
  gap: 34px;
  align-items: start;
  position: relative;
  overflow: hidden;
  border: 1px solid #cfdeef;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg,#fbfdff 0%,#eef6fd 100%);
  box-shadow: 0 18px 44px rgba(25,42,68,.07);
}
.site-footer .sf-inner::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg,#35b8e8,#4f6fe3);
}
.site-footer h4 {
  margin: 0 0 10px;
  font-size: 14px;
  color: #172337;
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 800;
}
.site-footer p,
.site-footer a {
  margin: 0;
  font-size: 16px;
  color: #405a78;
  text-decoration: none;
  line-height: 1.48;
}
.site-footer .sf-inner > div:first-child p {
  margin-top: 16px;
  max-width: 520px;
  color: #47617f;
  font-weight: 400;
}
.site-footer .sf-links {
  display: grid;
  gap: 9px;
}
.site-footer .sf-brand {
  color: #1f3652;
  font-weight: 800;
  font-size: 30px;
  line-height: 1.2;
  margin-bottom: 8px;
}
.site-footer .sf-brand-logo{
  display:block;
  width:204px;
  height:auto;
  max-width:100%;
  margin:0;
}
.site-footer a:hover { color: #1554bd; }
.site-footer .sf-inner > div:nth-child(3) .sf-links {
  gap: 10px;
}
.site-footer .sf-item,
.site-footer .sf-messengers {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
}
.site-footer .sf-ico {
  display: none;
}
.site-footer .sf-item::before,
.site-footer .sf-messengers::before {
  color: #6b7f99;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.site-footer .sf-item[href^="mailto"]::before { content: "E-mail"; }
.site-footer .sf-item[href^="tel"]::before { content: "Телефон"; }
.site-footer p.sf-item::before { content: "Локация"; }
html[lang="uk"] .site-footer p.sf-item::before { content: "Локація"; }
.site-footer .sf-messengers::before { content: "Мессенджеры"; }
html[lang="uk"] .site-footer .sf-messengers::before { content: "Месенджери"; }
.site-footer .sf-item span:last-child,
.site-footer .sf-messengers span {
  min-width: 0;
  color: #172337;
  font-size: 16px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.site-footer .sf-messengers span {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.site-footer .sf-messengers a {
  color: #2f5f93;
  font-size: 16px;
  font-weight: 700;
  border-bottom: 1px solid rgba(196,154,82,.36);
}
.site-footer .sf-messengers a:hover { color: #1554bd; }
.site-footer .sf-copy {
  width: min(var(--maxw), calc(100% - 32px));
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  padding: 14px 28px 16px;
  border: 1px solid #cfdeef;
  border-radius: 0 0 18px 18px;
  background: #eef6fd;
  color: #6b7f99;
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
}
.site-footer .sf-copy a { color: #2c405a; }

.reveal{opacity:0;transform:translateY(12px);transition:opacity .5s ease, transform .5s ease}
.reveal.in{opacity:1;transform:none}

@media (max-width: 1100px){.article-shell{grid-template-columns:1fr}.article-toc{position:static}}
@media (max-width: 980px) {
  h1 { font-size: 32px; }
  .kpi { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2, .form { grid-template-columns: 1fr; }
  .ua-home .steps { grid-template-columns: 1fr; }
  .ua-page .contact-layout,
  .ua-page .cert-grid {
    grid-template-columns: 1fr;
  }
  .hero { padding: 22px; }
  .ua-home .step,
  .ua-home .step b,
  .ua-home .step p {
    min-height: 0;
  }
  .ua-home .step .chip-time {
    min-width: 0;
    padding-right: 10px;
  }
  .ua-home .step .chip-time::after {
    display: none;
  }
}
@media (max-width: 760px) {
  .header { position: sticky; top: 0; z-index: 40; margin: 0; background: rgba(255,255,255,.98); backdrop-filter: blur(4px); }
  .container { padding: 0 14px; }
  .header .container { padding-left: 20px; padding-right: 20px; }
  .header-inner { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; min-height: 56px; padding: 8px 0; position: relative; justify-content: flex-start; }
  .logo { width: auto; min-width: 0; justify-self: auto; margin: 0; flex: 0 0 auto; }
  .logo-img { height: 34px; width:auto; }
  .header .nav, .header .btn-main { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .mobile-menu {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    padding: 10px;
    border: 1px solid #d6e4f5;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 24px rgba(40,88,145,.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .mobile-menu a {
    display: block;
    padding: 11px 12px;
    border: 1px solid #e3edf9;
    border-radius: 10px;
    text-decoration: none;
    color: #355170;
    font-weight: 700;
    background: #f8fbff;
    font-size: 14px;
    white-space: nowrap;
  }
  .mobile-menu a + a { margin-top: 8px; }
  .mobile-menu .mobile-cta {
    margin-top: 10px;
    padding: 12px 14px;
    text-align: center;
    color: #fff;
    background: linear-gradient(90deg,#41bfe0,#4f6fde);
    border-color: transparent;
  }
  .header.is-open .mobile-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a.active::after { display: none; }
  .btn { padding: 8px 12px; border-radius: 11px; }
  .header .btn-main {
    grid-area: cta;
    width: min(260px,92vw);
    margin-left: 0;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1.1;
    border-radius: 14px;
    padding: 10px 14px;
  }
  .form .btn-main{
    grid-area: auto;
    width: 100%;
    justify-self: stretch;
  }
  .hero { margin-top: 12px; padding: 16px; border-radius: 16px; }
  h2 { margin-bottom: 10px; }
  .section { margin-top: 14px; padding: 16px; }
  .card { padding: 14px; }
  .ua-home .t { font-size: clamp(22px, 7.4vw, 30px); }
  .ua-home .sub { font-size: 17px; line-height: 1.5; }
  .ua-home .thumb-wrap { margin: -14px -14px 12px; }
  .ua-home .case img { height: 180px; }
  .ua-home .case-metric { left: 10px; bottom: 10px; font-size: 12px; }
  .ua-page > .section,
  .ua-page > .partners-strip,
  .ua-page > .cta {
    margin-top: 14px;
  }
  .ua-page .partners-strip {
    padding: 16px;
  }
  .ua-page .partners-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ua-page .partner-logo {
    min-height: 64px;
  }
  .ua-page .hero-actions {
    gap: 8px;
  }
  .ua-page .hero-actions a {
    width: 100%;
    border-radius: 12px;
  }
  .ua-page .channel {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .ua-page .cert-card {
    grid-template-columns: 96px minmax(0, 1fr);
    padding: 12px;
  }
  .ua-page .cert-image-wrap {
    min-height: 96px;
  }
  .ua-page .cert-image-wrap img {
    height: 96px;
  }
  .section, .article { padding: 16px; border-radius: 14px; }
  .article-shell { gap: 12px; margin-top: 12px; }
  .article-toc {
    max-height: 42vh;
    overflow: auto;
    border-radius: 12px;
    padding: 12px;
  }
  .article-toc a {
    font-size: 16px;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .article h1 { font-size: 28px; line-height: 1.18; }
  .article h2 { font-size: 24px; line-height: 1.24; }
  .article h3 { font-size: 20px; line-height: 1.28; }
  .kpi .item { min-width: 0; overflow: hidden; }
  .kpi b {
    font-size: clamp(36px, 10vw, 56px);
    line-height: 1.02;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .blog-feature { grid-template-columns: 1fr; }
  .article-next { grid-template-columns: 1fr; }
  .site-footer .sf-inner {
    width: min(100% - 22px, var(--maxw));
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 24px 18px 20px;
    border-radius: 14px 14px 0 0;
  }
  .site-footer .sf-inner > div:first-child {
    grid-column: 1 / -1;
  }
  .site-footer .sf-brand-logo {
    width: 192px;
    height: auto;
  }
  .site-footer p,
  .site-footer a {
    font-size: 14px;
    line-height: 1.42;
  }
  .site-footer .sf-inner > div:first-child p {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.45;
  }
  .site-footer h4 {
    margin-bottom: 8px;
    font-size: 12px;
  }
  .site-footer .sf-links {
    gap: 6px;
  }
  .site-footer .sf-item,
  .site-footer .sf-messengers {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .site-footer .sf-inner > div:nth-child(2) .sf-links {
    grid-template-columns: 1fr;
  }
  .site-footer .sf-item::before,
  .site-footer .sf-messengers::before { font-size: 11px; }
  .site-footer .sf-item span:last-child,
  .site-footer .sf-messengers span,
  .site-footer .sf-messengers a { font-size: 13px; line-height: 1.3; }
  .site-footer .sf-messengers span { gap: 6px 10px; }
  .site-footer .sf-copy {
    width: min(100% - 22px, var(--maxw));
    display: grid;
    gap: 6px;
    padding: 12px 18px 14px;
    border-radius: 0 0 14px 14px;
    font-size: 13px;
  }
}
@media (max-width: 520px) {
  .ua-page .partners-row {
    grid-template-columns: 1fr;
  }
  .ua-page .cert-card {
    grid-template-columns: 1fr;
  }
  .ua-page .cert-image-wrap img {
    max-width: 160px;
  }
  .site-footer .sf-inner {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer .sf-item,
  .site-footer .sf-messengers {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .site-footer .sf-inner > div:nth-child(2) .sf-links {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 340px) {
  .site-footer .sf-inner {
    grid-template-columns: 1fr;
  }
  .site-footer .sf-inner > div:nth-child(2) .sf-links {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 761px) {
  .header-inner {
    height: 80px;
    padding: 0;
  }
  .logo { margin-right: 14px; }
  .nav { flex-wrap: nowrap; }
  .btn-main { margin-left: 14px; }
}







/* Bitrix24-style compare block */
.before-after{gap:14px}
.before-after .card{position:relative;border:1px solid #d6e4f5;background:#fff;box-shadow:0 8px 22px rgba(40,88,145,.07)}
.before-after .card::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;border-radius:14px 14px 0 0}
.before-after .card.ba:first-child::before{background:linear-gradient(90deg,#e7a94a,#b5772e)}
.before-after .card.ba:last-child::before{background:linear-gradient(90deg,#2fc7f7,#409eef)}
.before-after .ba h4{font-size:clamp(22px,1.9vw,30px);letter-spacing:-.01em;margin:8px 0 10px}
.before-after .ba h4{
  display:inline-flex;
  align-items:center;
  padding:6px 12px;
  border-radius:999px;
  background:#f3f6fa;
  border:1px solid #dce7f5;
}
.before-after .card.ba:first-child .ba h4{
  background:#fff6ea;
  border-color:#edd7b7;
}
.before-after .card.ba:last-child .ba h4{
  background:#eefaf4;
  border-color:#cde9da;
}
.before-after .ba ul{
  line-height:1.68;
  font-size:16px;
  color:#3f556f;
}
.before-after .ba li{margin:0 0 8px}
.before-after .ba li::marker{color:#5f7da4;font-size:1.05em}
.before-after .card.ba:last-child li::marker{color:#2fa77d}
@media (max-width:760px){
  .before-after .ba h4{font-size:22px}
}

/* Shared premium header: keep inner pages aligned with the redesigned home page. */
.topbar{
  position:sticky;
  top:0;
  z-index:40;
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(14px);
  border-bottom:1px solid #d8e2ef;
  box-shadow:0 10px 28px rgba(25,39,62,.06);
  font-family:"Open Sans", Segoe UI, Arial, sans-serif;
}
.topbar .wrap{
  width:min(1180px,calc(100% - 32px));
  max-width:1180px;
  margin:0 auto;
  padding:0;
}
.topbar .nav{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:nowrap;
  position:relative;
  margin:0 auto;
}
.topbar .brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:232px;
  flex:0 0 232px;
  justify-content:flex-start;
  font-weight:900;
  line-height:0;
  text-decoration:none;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}
.topbar .brand img{
  width:232px !important;
  max-width:none !important;
  height:48px !important;
  display:block;
  object-fit:contain;
  object-position:left center;
  margin:0 !important;
}
.topbar .links{
  display:flex;
  align-items:center;
  gap:28px;
  margin:0;
  color:#4e6077;
  font-weight:800;
}
.topbar .links a{
  position:relative;
  padding:8px 0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#4e6077;
  font-size:16px;
  font-weight:800;
  line-height:1.2;
  text-decoration:none;
}
.topbar .links a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:2px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,#c49a52,#1f64dc);
  opacity:0;
  transform:scaleX(.7);
  transition:opacity .18s ease,transform .18s ease;
}
.topbar .links a:hover::after,
.topbar .links a.active::after{
  opacity:1;
  transform:scaleX(1);
}
.topbar .links a.active{
  color:#172337;
  background:transparent;
  border:0;
}
.topbar .nav-actions{
  display:flex;
  align-items:center;
  gap:12px;
}
.topbar .lang-switch{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 12px;
  border:1px solid #d6e1ef;
  border-radius:8px;
  background:rgba(255,255,255,.72);
  color:#40546f;
  font-size:16px;
  font-weight:900;
  line-height:1;
  text-decoration:none;
}
.topbar .header-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:189px;
  min-height:46px;
  padding:0 20px;
  border:0;
  border-radius:8px;
  background:linear-gradient(135deg,#2db5dd,#1d63df);
  color:#fff;
  font-size:16px;
  font-weight:900;
  line-height:1.2;
  text-decoration:none;
  box-shadow:0 12px 28px rgba(33,102,243,.22);
}
.topbar .menu-toggle{
  display:none;
  width:48px;
  height:48px;
  border:1px solid #d6e1ef;
  border-radius:8px;
  background:#fff;
  color:#2f4058;
  box-shadow:0 10px 22px rgba(25,42,68,.08);
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  margin-left:0;
  padding:0;
}
.topbar .menu-toggle span,
.topbar .menu-toggle .bar,
.topbar .menu-toggle .bar::before,
.topbar .menu-toggle .bar::after{
  width:22px;
  height:2px;
  border-radius:99px;
  background:#2f4058;
  display:block;
}
.topbar .menu-toggle .bar{position:relative}
.topbar .menu-toggle .bar::before,
.topbar .menu-toggle .bar::after{
  content:"";
  position:absolute;
  left:0;
}
.topbar .menu-toggle .bar::before{top:-7px}
.topbar .menu-toggle .bar::after{top:7px}
.topbar .mobile-menu{
  display:none;
  position:static;
  padding:0 0 12px;
  border:0;
  background:transparent;
  box-shadow:none;
  opacity:1;
  visibility:visible;
  transform:none;
}
.topbar .mobile-menu-inner{
  display:grid;
  gap:10px;
  padding:12px;
  border:1px solid #d8e5f5;
  border-radius:8px;
  background:rgba(255,255,255,.96);
  box-shadow:0 18px 34px rgba(25,42,68,.12);
}
.topbar .mobile-menu-inner a{
  min-height:52px;
  display:flex;
  align-items:center;
  padding:0 16px;
  border:1px solid #dce8f7;
  border-radius:8px;
  background:#f8fbff;
  color:#304865;
  font-size:16px;
  font-weight:900;
  line-height:1.25;
  text-decoration:none;
  white-space:normal;
}
.topbar .mobile-menu-inner .mobile-cta{
  justify-content:center;
  border:0;
  background:linear-gradient(135deg,#2db5dd,#1d63df);
  color:#fff;
  box-shadow:0 12px 28px rgba(33,102,243,.2);
}

@media (max-width:980px){
  .topbar .links,
  .topbar .header-cta{
    display:none;
  }
  .topbar .menu-toggle{
    display:flex;
  }
  .topbar.is-open .mobile-menu{
    display:block;
  }
}
@media (max-width:620px){
  .topbar .wrap{
    width:min(100% - 22px,1180px);
  }
  .topbar .nav{
    min-height:72px;
  }
  .topbar .brand{
    min-width:172px;
    flex-basis:172px;
  }
  .topbar .brand img{
    width:172px !important;
    height:39px !important;
  }
}
