/* ============================================================
   Callobok — landing
   Swiss / minimalist monochrome. Helvetica-grotesque.
   ============================================================ */

:root {
  --bg:        #ECECEC;
  --bg-2:      #E4E4E4;
  --card:      #FFFFFF;
  --ink:       #0A0A0A;
  --ink-2:     #2B2B2B;
  --muted:     #8B8B8B;
  --muted-2:   #B3B3B3;
  --line:      #D2D2D2;
  --line-2:    #CFCFCF;
  --radius:    18px;
  --radius-sm: 11px;
  --maxw:      1360px;
  --pad:       40px;
  --font: "Helvetica Neue", Helvetica, "Arial Nova", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- selection ---------- */
::selection { background: var(--ink); color: var(--bg); }

/* ============================================================
   HEADER (static, not sticky)
   ============================================================ */
.site-header {
  position: relative;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.045em;
}
.brand__mark { display: block; flex: none; width: 28px; height: 28px; }
.nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}
.nav a {
  font-size: 14.5px;
  color: var(--ink-2);
  letter-spacing: -0.01em;
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--ink);
  transition: width .25s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; gap: 10px; align-items: center; }

.btn {
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: 100px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
}
.btn:hover { transform: translateY(-1px); }
.btn--ghost { border-color: var(--line); color: var(--ink-2); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: #000; }
.btn--lg { padding: 15px 26px; font-size: 15px; }
.btn .arr { font-size: 1.05em; line-height: 1; transition: transform .2s; }
.btn:hover .arr { transform: translate(2px,-2px); }

/* burger (mobile) */
.burger { display: none; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { width: 22px; height: 2px; background: var(--ink); display: block; }

/* ============================================================
   SECTION STRIP (number + label)  — like screenshot top bar
   ============================================================ */
.section { padding-top: 30px; padding-bottom: 96px; }
.section--tight { padding-bottom: 70px; }

.strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}
.strip__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 30px;
  padding: 0 11px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.strip__label {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 15px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.strip__chev {
  margin-left: auto;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
  font-family: var(--font);
}

/* ---- section theme colors (the label pill cycles colors per section) ---- */
.strip__label--red    { background: #DB4438; color: #fff; }
.strip__label--yellow { background: #F4B401; color: #fff; }
.strip__label--green  { background: #0F9D59; color: #fff; }
.strip__label--blue   { background: #4285F5; color: #fff; }
.strip__label--purple { background: #7C4DFF; color: #fff; }
.strip__label--orange { background: #FF6D00; color: #fff; }

/* colored line icons (adds life to the cards) */
.ico--red    { color: #DB4438 !important; }
.ico--yellow { color: #F4B401 !important; }
.ico--green  { color: #0F9D59 !important; }
.ico--blue   { color: #4285F5 !important; }
.ico--purple { color: #7C4DFF !important; }
.ico--orange { color: #FF6D00 !important; }

/* ============================================================
   HEADLINES
   ============================================================ */
.display {
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.92;
  margin: 0;
  color: var(--ink);
}
.display--hero { font-size: clamp(58px, 9.5vw, 150px); }
.display--sec  { font-size: clamp(40px, 6vw, 88px); }

.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--ink-2);
}
.lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-2);
  max-width: 52ch;
  letter-spacing: -0.01em;
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: 26px; }
.hero__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}
.hero__aside { max-width: 240px; padding-bottom: 14px; }
.hero__cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 44px;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 9px 16px 9px 14px;
  font-size: 13.5px;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}
.badge b { color: var(--ink); font-weight: 700; }
.badge .tag {
  font-size: 11px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 100px;
  padding: 2px 9px;
  letter-spacing: 0.02em;
}
.badge .big5 {
  font-size: 15px; font-weight: 700; color: var(--ink);
}

/* ============================================================
   CARD ROW  (services / why)
   ============================================================ */
.sec-head {
  display: grid;
  grid-template-columns: 1fr clamp(220px, 26vw, 360px);
  gap: 40px;
  align-items: end;
  margin: 40px 0 46px;
}
.sec-head .lead { padding-bottom: 6px; }

.carousel { position: relative; }
.cardrow {
  display: flex;
  gap: 18px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 14px 0 40px;
  margin: -14px 0 -28px;
}
.cardrow::-webkit-scrollbar { display: none; }

.carousel-nav {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}
.cbtn {
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--font);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, opacity .2s, transform .12s;
}
.cbtn:hover:not(:disabled) { background: var(--ink); color: var(--bg); }
.cbtn:active:not(:disabled) { transform: scale(.93); }
.cbtn:disabled { opacity: .22; cursor: default; }

.card {
  scroll-snap-align: start;
  flex: 0 0 300px;
  width: 300px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  min-height: 290px;
  border: 1px solid transparent;
  transition: translate .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s, border-color .3s;
  position: relative;
}
.card .ico {
  width: 40px; height: 40px;
  color: var(--ink);
}
.card .ico svg { width: 100%; height: 100%; display: block; }
.card__title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 26px 0 0;
  min-height: 46px;
}
.card__desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 12px 0 0;
  letter-spacing: -0.005em;
}
.card__go {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s, transform .25s;
}
.card.is-link { cursor: pointer; }
.card.is-link:hover {
  translate: 0 -6px;
  box-shadow: 0 22px 50px -28px rgba(0,0,0,.4);
  border-color: var(--line-2);
}
.card.is-link:hover .card__go { opacity: 1; transform: translateY(0); }

/* ---- article (news) cards — live inside a horizontal carousel ---- */
.article {
  flex: 0 0 300px;
  width: 300px;
  scroll-snap-align: start;
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px 24px 26px;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  border: 1px solid transparent;
  transition: translate .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s, border-color .3s;
}
.article:hover {
  translate: 0 -6px;
  box-shadow: 0 22px 50px -28px rgba(0,0,0,.4);
  border-color: var(--line-2);
}
.article__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.article__tag {
  font-size: 11px; font-weight: 500; letter-spacing: .01em;
  padding: 5px 12px; border-radius: 100px; color: #fff; white-space: nowrap;
}
.article__tag--news    { background: #7C4DFF; }
.article__tag--tariff  { background: #4285F5; }
.article__tag--service { background: #0F9D59; }
.article__date { font-size: 12.5px; color: var(--muted); }
.article__title {
  font-size: 20px; font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.14; margin: 24px 0 0;
}
.article__excerpt { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin: 11px 0 0; }
.article__go {
  margin-top: auto; padding-top: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--ink);
  opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s;
}
.article:hover .article__go { opacity: 1; transform: translateY(0); }
.article__go .arr { transition: transform .2s; }
.article:hover .article__go .arr { transform: translate(2px,-2px); }

.carousel-nav--split { justify-content: space-between; align-items: center; }
.cnav-btns { display: flex; gap: 10px; }

/* slide-in-from-right animation (only armed when JS is active).
   Uses `transform` (reliably composited) for the reveal; card :hover lift uses
   the `translate` property so the two never fight or leave a stale paint. */
html.js .anim { opacity: 0; transform: translateX(46px); }
html.js .anim.in {
  opacity: 1; transform: none;
  transition: opacity .55s ease, transform .6s cubic-bezier(.2,.7,.3,1);
}

/* ============================================================
   STEPS (Как начать) + bracket connectors
   ============================================================ */
.steps-wrap { position: relative; }
.steprow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px 24px 26px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}
.step__n {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.step .ico { width: 34px; height: 34px; color: var(--ink); margin: 18px 0 0; }
.step .ico svg { width: 100%; height: 100%; }
.step__title {
  font-size: 18px; font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.1; margin: 26px 0 0; min-height: 40px;
}
.step__desc {
  font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 10px 0 0;
}
.bracket { width: 100%; height: 46px; margin-top: 14px; display: block; }
.bracket path { fill: none; stroke: var(--muted-2); stroke-width: 1.4; }

.steps-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
}
.steps-summary__pill {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.steps-summary__pill small { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }

/* ============================================================
   RESULTS (numbers)
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stat {
  background: var(--card);
  border-radius: var(--radius);
  padding: 34px 30px 32px;
  display: flex;
  flex-direction: column;
}
.stat__num {
  font-size: clamp(56px, 7vw, 104px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
}
.stat__cap {
  font-size: 14px; color: var(--ink-2); margin-top: 14px; font-weight: 500;
  letter-spacing: -0.01em;
}
.stat__desc { font-size: 13px; color: var(--muted); line-height: 1.55; margin-top: 16px; }

/* ============================================================
   PACKAGES (Готовые решения)
   ============================================================ */
.packs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pack {
  background: var(--card);
  border-radius: var(--radius);
  padding: 34px 34px 36px;
  display: flex;
  flex-direction: column;
}
.pack--dark { background: var(--ink); color: var(--bg); }
.pack__kicker { font-size: 13px; color: var(--muted); letter-spacing: 0.01em; }
.pack--dark .pack__kicker { color: var(--muted-2); }
.pack__name {
  font-size: 40px; font-weight: 700; letter-spacing: -0.03em; margin: 8px 0 0; line-height: 1;
}
.pack__price { font-size: 22px; font-weight: 500; margin-top: 22px; letter-spacing: -0.02em; }
.pack__price small { font-size: 14px; color: var(--muted); font-weight: 400; }
.pack--dark .pack__price small { color: var(--muted-2); }
.pack__list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.pack__list li {
  font-size: 14px; padding-left: 24px; position: relative; color: var(--ink-2); line-height: 1.4;
}
.pack--dark .pack__list li { color: #D9D9D9; }
.pack__list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .55;
}
.pack .btn { margin-top: auto; align-self: flex-start; }
.pack__list, .pack__note { margin-bottom: 26px; }
.pack__list + .btn, .pack__note + .btn { margin-top: auto; }
.pack--dark .btn--solid { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.pack--dark .btn--solid:hover { background: #fff; }

/* ============================================================
   CONTACTS
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 18px;
}
.map-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 460px;
  display: flex;
  flex-direction: column;
}
.map-card svg.map { width: 100%; height: 100%; flex: 1; display: block; }
.map-card iframe.map { width: 100%; flex: 1; min-height: 460px; border: 0; display: block; }
.map-pin {
  position: absolute;
  left: 38%; top: 44%;
  transform: translate(-50%,-100%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.map-pin .pin-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--ink); border: 4px solid var(--card);
  box-shadow: 0 0 0 1px var(--ink);
}
.map-pin .pin-label {
  background: var(--ink); color: var(--bg);
  font-size: 12px; padding: 6px 12px; border-radius: 100px; white-space: nowrap;
  letter-spacing: -0.01em;
}
.map-overlay {
  position: absolute; left: 22px; bottom: 22px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 16px 18px; max-width: 280px;
}
.map-overlay .t { font-size: 13px; font-weight: 600; }
.map-overlay .a { font-size: 13px; color: var(--muted); margin-top: 5px; line-height: 1.45; }

.form-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 34px 34px 36px;
  display: flex;
  flex-direction: column;
}
.form-card h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; margin: 0; line-height: 1.05; }
.form-card p.sub { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.field { display: flex; flex-direction: column; gap: 7px; margin-top: 18px; }
.field label { font-size: 12px; color: var(--muted); letter-spacing: 0.01em; }
.field input, .field textarea {
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  outline: none;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus { border-color: var(--ink); background: #fff; }
.field textarea { resize: vertical; min-height: 92px; }
.form-card .btn { margin-top: 22px; }
.form-note { font-size: 11.5px; color: var(--muted-2); margin-top: 14px; line-height: 1.45; }
.form-ok { font-size: 14px; color: var(--ink); margin-top: 16px; display: none; }
.form-ok.show { display: block; }

/* contact mini cards */
.contact-mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.mini {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  display: flex; flex-direction: column;
}
.mini .k { font-size: 12px; color: var(--muted); letter-spacing: 0.01em; }
.mini .v { font-size: 17px; font-weight: 600; margin-top: 10px; letter-spacing: -0.02em; word-break: break-word; }
.mini .v.sm { font-size: 15px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--bg);
  margin-top: 18px;
}
.site-footer .wrap {
  padding-top: 56px;
  padding-bottom: 30px;
}
.foot-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.foot-brand { font-size: 36px; font-weight: 700; letter-spacing: 0.035em; display: flex; align-items: center; gap: 13px; }
.foot-cols { display: flex; gap: 70px; flex-wrap: wrap; }
.foot-col h4 { font-size: 12px; color: var(--muted-2); font-weight: 500; margin: 0 0 14px; letter-spacing: 0.03em; text-transform: uppercase; }
.foot-col a, .foot-col span { display: block; font-size: 14px; color: #D8D8D8; margin-bottom: 10px; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.13);
  margin-top: 50px; padding-top: 22px;
  font-size: 12.5px; color: var(--muted-2);
}
.foot-bar a:hover { color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .steprow { grid-template-columns: repeat(2, 1fr); }
  .bracket { display: none; }
  .stats { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-mini { grid-template-columns: repeat(2, 1fr); }
  .packs { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  :root { --pad: 22px; }
  .nav, .header-actions { display: none; }
  .burger { display: flex; }
  .hero__top { grid-template-columns: 1fr; align-items: start; }
  .hero__aside { max-width: 100%; }
  .sec-head { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .steprow { grid-template-columns: 1fr; }
  .contact-mini { grid-template-columns: 1fr; }
}

/* mobile nav drawer */
.mnav {
  display: none;
  border-top: 1px solid var(--line);
}
.mnav.open { display: block; }
.mnav .wrap { padding-top: 14px; padding-bottom: 18px; display: flex; flex-direction: column; gap: 4px; }
.mnav a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
.mnav .m-actions { display: flex; gap: 10px; margin-top: 14px; }

/* ============================================================
   ANCHOR OFFSET (cross-page jumps land below the header)
   ============================================================ */
section[id] { scroll-margin-top: 24px; }

/* ============================================================
   NEWS PAGE — filters + grid
   ============================================================ */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 36px;
}
.filter {
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: 100px;
  padding: 10px 18px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-2);
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.filter:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.filter.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filter .count {
  font-size: 11px;
  opacity: .55;
  font-variant-numeric: tabular-nums;
}
.filter.is-active .count { opacity: .75; }

/* news listing grid (article cards flow in a grid, not a carousel) */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.news-grid .article {
  flex: none;
  width: auto;
  scroll-snap-align: none;
}
.news-grid .article.is-hidden { display: none; }
.news-empty {
  display: none;
  color: var(--muted);
  font-size: 15px;
  padding: 40px 0;
}
.news-empty.show { display: block; }

/* ============================================================
   ARTICLE PAGE — single post
   ============================================================ */
.post {
  padding-top: 30px;
  padding-bottom: 96px;
}
.post__head { margin: 38px 0 30px; max-width: 960px; }
.post__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.post__title {
  font-size: clamp(32px, 4.4vw, 58px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
  color: var(--ink);
}
.post__lead {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink-2);
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin: 22px 0 0;
  max-width: 60ch;
}
.prose {
  max-width: none;
  background: var(--card);
  border-radius: var(--radius);
  padding: 48px 56px 52px;
}
.prose > *:first-child { margin-top: 0; }
.prose p {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.72;
  letter-spacing: -0.005em;
  margin: 0 0 18px;
}
.prose h2 {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--ink);
  margin: 40px 0 16px;
}
.prose h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 28px 0 12px;
}
.prose ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.prose ul li {
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.55;
  padding-left: 24px;
  position: relative;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  opacity: .5;
}
.prose ul li b { color: var(--ink); font-weight: 700; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 22px;
  font-size: 14.5px;
}
.prose table th, .prose table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.prose table th { color: var(--muted); font-weight: 500; font-size: 12.5px; letter-spacing: 0.01em; }
.prose table td { color: var(--ink-2); }
.prose table tr:last-child td { border-bottom: 0; }

.post__cta {
  max-width: none;
  margin-top: 26px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 34px 40px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.post__cta h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; margin: 0; line-height: 1.1; }
.post__cta p { font-size: 14px; color: var(--muted-2); margin: 8px 0 0; }
.post__cta .btn--solid { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.post__cta .btn--solid:hover { background: #fff; }

.post__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
  margin-top: 34px;
  transition: color .2s;
}
.post__back:hover { color: var(--ink); }

/* related posts under an article — horizontal carousel */
.related { max-width: none; margin-top: 56px; }
.related__h { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin: 0 0 18px; }

/* ============================================================
   LEGAL MODAL (privacy policy / offer / requisites)
   ============================================================ */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10,10,10,.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.legal-modal.open { display: flex; }
.legal-modal__panel {
  background: var(--card);
  border-radius: var(--radius);
  width: 100%;
  max-width: 820px;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.6);
}
.legal-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}
.legal-modal__head h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.025em; margin: 0; }
.legal-modal__close {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  flex: none;
  transition: background .2s, color .2s;
}
.legal-modal__close:hover { background: var(--ink); color: var(--bg); }
.legal-modal__body {
  overflow-y: auto;
  padding: 28px 32px 36px;
}
.legal-modal__body p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.65;
  margin: 0 0 14px;
}
.legal-modal__body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 26px 0 12px;
}
.legal-modal__body ul { margin: 0 0 16px; padding-left: 22px; }
.legal-modal__body li { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin-bottom: 8px; }
.legal-modal__body .req {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  margin-top: 8px;
}
.legal-modal__body .req dl { margin: 0; display: grid; grid-template-columns: minmax(140px, 210px) 1fr; gap: 8px 18px; }
.legal-modal__body .req dt { font-size: 12.5px; color: var(--muted); }
.legal-modal__body .req dd { font-size: 13.5px; color: var(--ink); margin: 0; font-weight: 500; }

.footer-legal-link { cursor: pointer; }

/* ============================================================
   RESPONSIVE (news / article / modal)
   ============================================================ */
@media (max-width: 1100px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .related__row { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .prose { padding: 30px 24px 34px; }
  .post__cta { padding: 28px 26px 30px; }
  .legal-modal__body .req dl { grid-template-columns: 1fr; gap: 2px 0; }
  .legal-modal__body .req dd { margin-bottom: 10px; }
}
@media (max-width: 560px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SERVICE PAGE — feature grids
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-grid .card {
  flex: none;
  width: auto;
  min-height: 0;
  scroll-snap-align: none;
}
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
.feature-grid--2 { grid-template-columns: 1fr 1fr; }

/* role chips (AI-команда) + in-card bullet list */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 100px;
  background: var(--bg); border: 1px solid var(--line);
  font-size: 13px; color: var(--ink-2); letter-spacing: -0.01em;
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .55; }
.card__list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.card__list li { font-size: 13.5px; color: var(--muted); line-height: 1.5; padding-left: 20px; position: relative; }
.card__list li::before {
  content: ""; position: absolute; left: 2px; top: 8px;
  width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--ink); opacity: .5;
}

/* ecosystem flow band ("4 в 1" — how services connect) */
.eco {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 40px 42px 44px;
}
.eco__h { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; margin: 0; line-height: 1.1; }
.eco__sub { color: var(--muted-2); font-size: 14.5px; margin: 10px 0 28px; max-width: 64ch; line-height: 1.5; }
.eco__flow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.eco__node {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px; padding: 12px 20px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
}
.eco__node .dot { width: 8px; height: 8px; border-radius: 50%; }
.eco__arrow { color: var(--muted-2); font-size: 17px; line-height: 1; }
.eco__hub {
  display: inline-flex; align-items: center;
  background: var(--bg); color: var(--ink);
  border-radius: 100px; padding: 12px 22px; font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
}
.eco__note { margin-top: 22px; font-size: 13.5px; color: var(--muted-2); line-height: 1.5; }
@media (max-width: 620px) {
  .eco { padding: 28px 22px 30px; }
  .eco__flow { flex-direction: column; align-items: stretch; }
  .eco__arrow { transform: rotate(90deg); align-self: center; }
}

/* "Новое" badge on a section strip label */
.strip__new {
  display: inline-flex; align-items: center; height: 26px; padding: 0 12px;
  border-radius: 100px; background: var(--ink); color: var(--bg);
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.03em; margin-left: 10px;
}

/* ============================================================
   RATE TABLES (telephony — outgoing rates, numbers)
   ============================================================ */
.rate-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 10px 32px;
  overflow-x: auto;
}
.rate-table { width: 100%; border-collapse: collapse; }
.rate-table th {
  text-align: left;
  padding: 18px 14px;
  color: var(--muted);
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.rate-table td {
  padding: 18px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 15.5px;
  letter-spacing: -0.01em;
}
.rate-table tr:last-child td { border-bottom: 0; }
.rate-table th:last-child,
.rate-table td:last-child { text-align: right; }
.rate-table td:last-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.rate-table td:first-child { font-weight: 500; color: var(--ink); }
.rate-table .num { font-variant-numeric: tabular-nums; }

.rate-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}
.perk-check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--ink-2);
}
.perk-check .ico { width: 20px; height: 20px; color: var(--ink); flex: none; }
.perk-check .ico svg { width: 100%; height: 100%; }

/* "Функции АТС" — numbered cards */
.card__num {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.card .card__num + .card__title { margin-top: 16px; }

/* ============================================================
   TARIFFS — 3 columns (extends .packs)
   ============================================================ */
.packs--3 { grid-template-columns: repeat(3, 1fr); }
.pack__note { font-size: 12.5px; color: var(--muted); margin-top: 16px; }
.pack--dark .pack__note { color: var(--muted-2); }
.pack__badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 12px;
  border-radius: 100px;
  background: var(--bg);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 12px;
  vertical-align: middle;
}

/* ============================================================
   AT&C CALCULATOR — Callobok style (monochrome + accent thumb)
   ============================================================ */
.calc {
  background: var(--card);
  border-radius: var(--radius);
  padding: 40px 40px 44px;
}
.calc__head { margin-bottom: 28px; }
.calc__title { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; margin: 0; display: inline; }
.calc__tag {
  display: inline-flex; align-items: center; height: 26px; padding: 0 13px;
  border-radius: 100px; background: var(--ink); color: var(--bg);
  font-size: 12.5px; font-weight: 500; margin-left: 12px; vertical-align: middle;
}
.calc__sub { font-size: 15px; color: var(--muted); margin: 12px 0 0; max-width: 62ch; line-height: 1.5; }
.calc__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; }
.calc__col { background: var(--bg); border-radius: var(--radius); padding: 24px 22px; }
.calc__col--dark { background: var(--ink); color: var(--bg); }
.calc__col-title {
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--muted); margin: 0 0 18px;
}
.calc__col--dark .calc__col-title { color: var(--muted-2); }
.calc__control { margin-bottom: 22px; }
.calc__control:last-child { margin-bottom: 0; }
.calc__label-row { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 12px; }
.calc__label { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.calc__price-tag { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.calc__range-value { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.calc__desc { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin-top: 8px; }

.calc__slider {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 6px; border-radius: 100px; background: var(--line-2); outline: none;
}
.calc__slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: #FF6D00; cursor: pointer; border: 3px solid var(--card);
  box-shadow: 0 0 0 1px var(--line-2);
}
.calc__slider::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: #FF6D00; cursor: pointer; border: 3px solid var(--card);
}

.calc__check {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 14px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.05); cursor: pointer; transition: background .2s;
}
.calc__check + .calc__check { margin-top: 8px; }
.calc__check:hover { background: rgba(255,255,255,.1); }
.calc__check input[type="checkbox"] {
  margin-top: 2px; width: 18px; height: 18px; flex: none; cursor: pointer;
  accent-color: #FF6D00;
}
.calc__check-content { flex: 1; }
.calc__check-title { font-size: 14px; font-weight: 600; margin-bottom: 3px; letter-spacing: -0.01em; }
.calc__col--dark .calc__desc { color: #D2D2D2; }

.calc__select-wrap { margin-top: 18px; }
.calc__select {
  width: 100%; margin-top: 8px; padding: 11px 14px;
  border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--card); font-family: var(--font); font-size: 14px;
  color: var(--ink); outline: none; transition: border-color .2s;
}
.calc__select:focus { border-color: var(--ink); }

.calc__total {
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
}
.calc__total-text span { font-size: 14px; color: var(--muted); }
.calc__total-text strong { display: block; font-size: 30px; font-weight: 700; letter-spacing: -0.03em; margin-top: 4px; color: var(--ink); }
.calc__note { font-size: 11.5px; color: var(--muted-2); margin-top: 14px; line-height: 1.45; }

/* ============================================================
   FAQ — accordion
   ============================================================ */
.faq { max-width: 880px; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--font); font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink);
}
.faq__icon { position: relative; flex: none; width: 22px; height: 22px; transition: transform .3s cubic-bezier(.2,.7,.3,1); }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--ink); border-radius: 2px;
}
.faq__icon::before { left: 0; top: 10px; width: 22px; height: 2px; }
.faq__icon::after  { left: 10px; top: 0; width: 2px; height: 22px; }
.faq__item.is-open .faq__icon { transform: rotate(135deg); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.faq__a-inner { padding: 0 56px 24px 0; font-size: 15px; color: var(--ink-2); line-height: 1.65; max-width: 72ch; }

/* ============================================================
   RESPONSIVE (service page)
   ============================================================ */
@media (max-width: 1100px) {
  .feature-grid, .feature-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .packs--3 { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .calc__grid { grid-template-columns: 1fr; }
  .calc { padding: 28px 22px 32px; }
}
@media (max-width: 620px) {
  .feature-grid, .feature-grid--4 { grid-template-columns: 1fr; }
}
