/* ============================================================
   IT-Balance — editorial B2B report-sheet theme
   Tokens · base · components · motion
   ============================================================ */

/* ---------- Tokens ---------- */
:root{
  /* surfaces — warm paper, not cool SaaS blue-gray */
  --bg:        #ffffff;
  --bg-2:      #f8f6f1;
  --surface:   #f3f0ea;
  --surface-2: #ece6db;
  --surface-3: #ddd5c5;

  /* lines */
  --line:        rgba(28,54,102,.12);
  --line-soft:   rgba(28,54,102,.07);
  --line-strong: rgba(28,54,102,.20);

  /* text */
  --text:      #0d1b30;
  --text-dim:  #46566f;
  --text-faint:#7888a0;

  /* accents */
  --yellow:   #e0a800;   /* logo yellow, muted */
  --yellow-2: #f5c518;   /* logo yellow, bright */

  /* accent — yellow is a FILL colour only (marker, chips, bars, buttons).
     On light grounds text is always ink; yellow text only on the ink band. */
  --accent:    var(--yellow-2);
  --accent-2:  var(--yellow);
  --accent-ink:#1a1606;

  /* paper surface (report-sheet warmth) */
  --paper: #faf8f4;

  /* radii — cut-paper, not soft-app */
  --r-xs: 7px;
  --r-sm: 10px;
  --r:    12px;
  --r-lg: 14px;
  --r-pill: 999px;

  /* shadows — flat, ink-tinted, no glass gloss */
  --sh-1: 0 10px 26px -18px rgba(13,27,48,.22);
  --sh-2: 0 22px 48px -24px rgba(13,27,48,.24);

  /* layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 84px;

  /* type — Golos carries headings/prose; mono is reserved for data & labels */
  --font-display: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }

/* ---------- Global scale ----------
   Plain responsive sizing, no `zoom`: headings are fluid via clamp(), body
   text is rem-based, and very large screens step the root size up so the
   page still fills the display. */
@media (min-width:2200px){ html{ font-size:112.5%; } }
@media (min-width:2800px){ html{ font-size:125%; } }

/* Hard containment — no element may push the page wider than the screen.
   Deliberately NOT on <html>: making the root a scroll container breaks
   `position:fixed` for the header and the mobile drawer once the page is
   scrolled. Body-level clipping achieves the same result safely. */
body{ width:100%; max-width:100%; overflow-x:hidden; }
.container{ max-width:min(var(--maxw), 100%); }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:1.125rem;
  line-height:1.7;
  font-weight:400;
  letter-spacing:.005em;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; cursor:pointer; border:0; background:none; }
input,textarea,select{ font:inherit; color:inherit; }
h1,h2,h3,h4{ margin:0; font-weight:700; line-height:1.08; letter-spacing:-.01em; }
p{ margin:0; }
ul{ margin:0; padding:0; list-style:none; }

::selection{ background:rgba(245,197,24,.18); color:var(--text); }

main,header,footer{ position:relative; z-index:1; }

/* ---------- Layout ---------- */
.container{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter); }
.section{ padding-block:clamp(40px,5vw,68px); }
.section--tight{ padding-block:clamp(28px,3.4vw,44px); }
.section--flush-top{ padding-top:0; }

.grid{ display:grid; gap:24px; }
@media (min-width:760px){
  .cols-2{ grid-template-columns:repeat(2,1fr); }
  .cols-3{ grid-template-columns:repeat(3,1fr); }
  .cols-4{ grid-template-columns:repeat(4,1fr); }
}
@media (min-width:520px) and (max-width:759px){
  .cols-4,.cols-2,.cols-3{ grid-template-columns:repeat(2,1fr); }
}

/* ---------- Typography helpers ---------- */
.display{
  font-family:var(--font-display);
  font-weight:800;
  letter-spacing:-.02em;
  line-height:1.05;
  font-size:clamp(2.5rem,6.2vw,4.7rem);
}
.h-xl{ font-family:var(--font-display); font-weight:800; letter-spacing:-.018em; font-size:clamp(2rem,4.4vw,3.3rem); line-height:1.08; }
.h-lg{ font-family:var(--font-display); font-weight:700; letter-spacing:-.015em; font-size:clamp(1.6rem,3vw,2.4rem); line-height:1.08; }
.h-md{ font-family:var(--font-display); font-weight:700; letter-spacing:-.015em; font-size:clamp(1.25rem,2vw,1.55rem); line-height:1.18; }

.lead{ font-size:clamp(1.1rem,1.6vw,1.35rem); line-height:1.6; color:var(--text-dim); font-weight:400; }
.muted{ color:var(--text-dim); }
.faint{ color:var(--text-dim); }
.measure{ max-width:62ch; }
.measure-sm{ max-width:46ch; }
.balance{ text-wrap:balance; }
.pretty{ text-wrap:pretty; }

.eyebrow{
  font-family:var(--font-mono);
  font-size:.8rem;
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--text-dim);
  display:inline-flex; align-items:center; gap:12px;
}
.eyebrow::before{
  content:""; width:28px; height:3px; border-radius:2px; background:var(--accent);
}
.eyebrow--center::after{ content:""; width:28px; height:3px; border-radius:2px; background:var(--accent); }

.section-head{ display:flex; flex-direction:column; gap:16px; margin-bottom:clamp(28px,3.6vw,48px); }
.section-head .lead{ max-width:60ch; }
.section-head.center{ align-items:center; }

.accent{
  /* key fragment of a heading: ink letters with a brand-yellow outline.
     paint-order puts the stroke behind the fill, so letters keep their weight */
  color:var(--text);
  -webkit-text-stroke:.12em var(--accent);
  paint-order:stroke fill;
}
/* on the ink band ink letters would vanish — plain yellow letters there */
.cta-banner .accent{ color:var(--accent); -webkit-text-stroke:0; }
.accent-2{ color:var(--text); }
.mono{ font-family:var(--font-mono); }

/* ---------- Buttons ----------
   Ink-black is the working color; yellow is rationed to the one moment
   per page that should read as "stamped, approved, look here" (dark CTA
   band). See .cta-banner .btn override below. */
.btn{
  --b-bg:var(--text); --b-fg:#ffffff;
  display:inline-flex; align-items:center; justify-content:center; gap:11px;
  font-family:var(--font-body); font-weight:600; font-size:1rem; letter-spacing:0;
  padding:16px 26px; border-radius:var(--r-pill);
  background:var(--b-bg); color:var(--b-fg);
  position:relative;
  transition:transform .3s var(--ease-out), box-shadow .3s var(--ease), background .25s;
  box-shadow:0 10px 24px -14px rgba(13,27,48,.55);
  will-change:transform;
}
.btn svg{ width:20px; height:20px; transition:transform .3s var(--ease-out); }
.btn:hover{ transform:translateY(-3px); box-shadow:0 16px 32px -14px rgba(13,27,48,.55); }
.btn:hover svg{ transform:translateX(4px); }
.btn:active{ transform:translateY(-1px); }

.btn--ghost{
  --b-bg:transparent; --b-fg:var(--text);
  background:transparent; color:var(--text);
  box-shadow:inset 0 0 0 1px var(--line-strong);
}
.btn--ghost:hover{ box-shadow:inset 0 0 0 1px var(--text); transform:translateY(-3px); }

.btn--accent{ --b-bg:var(--accent-2); --b-fg:#04201f; box-shadow:0 10px 24px -14px rgba(224,168,0,.55); }
.btn--accent:hover{ box-shadow:0 16px 32px -14px rgba(224,168,0,.6); }

.btn--sm{ padding:11px 18px; font-size:.85rem; }
.btn--block{ width:100%; }

.link-arrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-body); font-weight:600; font-size:1rem;
  color:var(--text); letter-spacing:.01em;
  text-decoration:underline; text-decoration-color:var(--accent); text-decoration-thickness:2px; text-underline-offset:5px;
}
.link-arrow svg{ width:20px; height:20px; transition:transform .3s var(--ease-out); }
.link-arrow:hover svg{ transform:translateX(5px); }

/* ---------- Header ---------- */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:80;
  height:var(--header-h);
  display:flex; align-items:center;
  transition:height .35s var(--ease), background .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header__inner{
  /* keeps the logo and burger above the drawer, which shares this stacking context */
  position:relative; z-index:2;
  width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter);
  display:flex; align-items:center; justify-content:space-between; gap:18px;
}
.site-header.is-stuck{
  height:72px;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(18px) saturate(140%);
  -webkit-backdrop-filter:blur(18px) saturate(140%);
  box-shadow:0 1px 0 var(--line), 0 18px 40px -28px rgba(28,54,102,.25);
}

.brand{ display:inline-flex; align-items:center; gap:12px; }
.brand__mark{ height:56px; width:auto; flex:none; transition:transform .4s var(--ease-out); }
.brand:hover .brand__mark{ transform:translateY(-2px); }
.brand__sub{ font-family:var(--font-mono); font-size:.56rem; letter-spacing:.34em; color:var(--text-faint); text-transform:uppercase; }

.nav{ display:flex; align-items:center; gap:0; }
.nav a{
  font-family:var(--font-body); font-size:.9rem; font-weight:500; letter-spacing:0; white-space:nowrap;
  color:var(--text-dim); padding:9px 9px; border-radius:var(--r-pill);
  position:relative; transition:color .25s;
}
.nav a::after{
  content:""; position:absolute; left:9px; right:9px; bottom:4px; height:2px;
  background:var(--accent); border-radius:2px; transform:scaleX(0); transform-origin:left;
  transition:transform .3s var(--ease-out);
}
.nav a:hover{ color:var(--text); }
.nav a:hover::after{ transform:scaleX(1); }
.nav a.is-active{ color:var(--text); }
.nav a.is-active::after{ transform:scaleX(1); background:var(--accent-2); }

.header-actions{ display:flex; align-items:center; gap:18px; }
.header-phone{ font-family:var(--font-mono); font-weight:600; font-size:.92rem; color:var(--text); white-space:nowrap; transition:color .25s; }
.header-phone:hover{ color:var(--text); text-decoration:underline; text-decoration-color:var(--accent); text-decoration-thickness:2px; text-underline-offset:5px; }

.burger{ display:none; width:46px; height:46px; border-radius:12px; align-items:center; justify-content:center; box-shadow:inset 0 0 0 1px var(--line-strong); }
.burger span{ display:block; width:20px; height:2px; background:var(--text); position:relative; transition:.3s var(--ease); }
.burger span::before,.burger span::after{ content:""; position:absolute; left:0; width:20px; height:2px; background:var(--text); transition:.3s var(--ease); }
.burger span::before{ top:-6px; } .burger span::after{ top:6px; }
.is-open .burger span{ background:transparent; }
.is-open .burger span::before{ top:0; transform:rotate(45deg); }
.is-open .burger span::after{ top:0; transform:rotate(-45deg); }

/* mobile drawer */
/* The drawer is a child of the fixed .site-header, so `inset:0` would resolve
   against the header box, not the viewport — it only looked right at scroll
   position 0. Explicit viewport sizing pins it to the screen instead. */
.mobile-nav{
  position:fixed; inset:auto; top:0; left:0; z-index:1;
  width:100vw; height:100vh; height:100dvh;
  overflow-y:auto; overscroll-behavior:contain;
  background:var(--bg);
  display:flex; flex-direction:column; justify-content:center; gap:6px;
  padding:var(--gutter); padding-top:var(--header-h);
  opacity:0; visibility:hidden; transform:translateY(-12px);
  transition:opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.is-open .mobile-nav{ opacity:1; visibility:visible; transform:none; }
.mobile-nav a{ font-family:var(--font-display); font-weight:700; font-size:1.7rem; letter-spacing:-.02em; padding:12px 0; color:var(--text-dim); border-bottom:1px solid var(--line-soft); transition:color .2s, padding-left .25s var(--ease); }
.mobile-nav a:hover,.mobile-nav a.is-active{ color:var(--text); padding-left:10px; }
.mobile-nav .mobile-cta{ margin-top:24px; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--bg-2); border-top:1px solid var(--line); padding-block:clamp(56px,7vw,90px) 36px; }
.footer-grid{ display:grid; gap:42px; grid-template-columns:1.5fr 1fr 1.2fr; }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; gap:36px; } }
@media (max-width:520px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-col h4{ font-family:var(--font-mono); font-size:.78rem; letter-spacing:.14em; text-transform:uppercase; color:var(--text-faint); margin-bottom:18px; }
.footer-col a{ display:block; color:var(--text-dim); padding:6px 0; font-size:.98rem; transition:color .2s, transform .2s; }
.footer-col a:hover{ color:var(--text); transform:translateX(3px); }
.footer-about p{ color:var(--text-dim); font-size:.98rem; margin-top:18px; max-width:34ch; }
.footer-soc{ display:flex; gap:10px; margin-top:22px; }
.footer-soc a{ width:42px; height:42px; border-radius:12px; display:flex; align-items:center; justify-content:center; box-shadow:inset 0 0 0 1px var(--line-strong); color:var(--text-dim); transition:.25s var(--ease); }
.footer-soc a:hover{ color:var(--accent-ink); transform:translateY(-3px); box-shadow:inset 0 0 0 1px var(--accent); background:var(--accent); }
.footer-soc svg{ width:20px; height:20px; }
.footer-bottom{ display:flex; flex-wrap:wrap; gap:14px; justify-content:space-between; align-items:center; margin-top:54px; padding-top:26px; border-top:1px solid var(--line-soft); color:var(--text-faint); font-size:.85rem; font-family:var(--font-mono); }

/* ---------- Floating messengers ---------- */
.float-msg{ position:fixed; right:clamp(16px,3vw,30px); bottom:clamp(16px,3vw,30px); z-index:70; display:flex; flex-direction:column; gap:12px; }
.float-msg a{ width:54px; height:54px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; box-shadow:0 12px 30px -10px rgba(0,0,0,.6); transition:transform .3s var(--ease-out); position:relative; }
.float-msg a svg{ width:26px; height:26px; }
.float-msg a::after{ content:""; position:absolute; inset:0; border-radius:50%; animation:pulse 2.6s var(--ease) infinite; }
.float-msg a:hover{ transform:scale(1.1) translateY(-2px); }
.float-msg .wa{ background:#25d366; } .float-msg .wa::after{ box-shadow:0 0 0 0 rgba(37,211,102,.5); }
.float-msg .tg{ background:#2aabee; } .float-msg .tg::after{ box-shadow:0 0 0 0 rgba(42,171,238,.5); }
@keyframes pulse{ 70%{ box-shadow:0 0 0 16px rgba(0,0,0,0); } 100%{ box-shadow:0 0 0 0 rgba(0,0,0,0); } }
@media (prefers-reduced-motion: reduce){ .float-msg a::after{ animation:none; } }

/* ---------- Cards ---------- */
.card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:32px;
  position:relative;
  display:flex; flex-direction:column;
  transition:transform .35s var(--ease-out), border-color .3s, box-shadow .35s;
}
.card:hover{ transform:translateY(-6px); border-color:var(--text); box-shadow:var(--sh-1); }

.card__icon{
  width:62px; height:62px; border-radius:var(--r-sm); display:flex; align-items:center; justify-content:center;
  background:var(--bg); color:var(--text); margin-bottom:24px;
  box-shadow:inset 0 0 0 1px var(--line); transition:.3s var(--ease);
}
.card:hover .card__icon{ color:var(--accent-ink); background:var(--accent); }
.card__icon svg{ width:24px; height:24px; }
.card h3{ margin-bottom:12px; }
.card p{ color:var(--text-dim); font-size:1rem; }
.card__foot{ margin-top:24px; }
.card__num{ position:absolute; top:24px; right:28px; font-family:var(--font-mono); font-size:.85rem; color:var(--text-faint); letter-spacing:.1em; }
.card__tag{ display:block; font-family:var(--font-mono); font-size:.76rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--text-faint); margin-bottom:8px; }
.card__price{ margin-top:auto; padding-top:18px; font-family:var(--font-mono); font-weight:600; font-size:1.3rem; color:var(--text); }
.card__price span{ font-size:1.1rem; font-weight:600; color:var(--text); margin-left:3px; }

/* feature mini */
.feature{ display:flex; flex-direction:column; gap:14px; }
.feature__ic{ width:54px; height:54px; border-radius:14px; display:flex; align-items:center; justify-content:center; background:var(--bg); color:var(--text); box-shadow:inset 0 0 0 1px var(--line); }
.feature__ic svg{ width:24px; height:24px; }
.feature h3{ font-family:var(--font-display); font-size:1.18rem; font-weight:700; }
.feature p{ color:var(--text-dim); font-size:1rem; }

/* ---------- Stats / counters ---------- */
.stats{ display:grid; gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--r); overflow:hidden; grid-template-columns:repeat(3,1fr); }
@media (max-width:560px){ .stats{ grid-template-columns:1fr; } }
.stat{ background:var(--bg-2); padding:38px 28px; text-align:center; }
.stat__num{ font-family:var(--font-display); font-weight:800; font-size:clamp(2.6rem,4.6vw,3.6rem); letter-spacing:-.03em; line-height:1; color:var(--text); }
.stat__suffix{ color:var(--accent); } /* only used on the ink band */
.stat__label{ margin-top:14px; color:var(--text-dim); font-size:.96rem; }

/* ---------- Steps ---------- */
.steps{ display:grid; gap:24px; grid-template-columns:repeat(4,1fr); counter-reset:step; }
@media (max-width:900px){ .steps{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .steps{ grid-template-columns:1fr; } }
.step{ position:relative; padding:30px; border-radius:var(--r); background:var(--surface); border:1px solid var(--line); transition:.4s var(--ease-out); }
.step:hover{ transform:translateY(-6px); border-color:var(--line-strong); }
.step__n{ display:inline-flex; align-items:center; justify-content:center; min-width:52px; height:40px; padding-inline:10px; border-radius:var(--r-xs); background:var(--accent); color:var(--accent-ink); font-family:var(--font-mono); font-weight:600; font-size:1.05rem; letter-spacing:.02em; line-height:1; }
.step h3{ font-family:var(--font-display); font-size:1.18rem; margin:18px 0 10px; }
.step p{ color:var(--text-dim); font-size:.98rem; }
.step__line{ position:absolute; top:46px; right:-24px; width:24px; height:2px; background:var(--line-strong); }
@media (max-width:900px){ .step__line{ display:none; } }

/* ---------- Testimonials ---------- */
.quote{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:36px; display:flex; flex-direction:column; gap:24px; transition:.4s var(--ease-out); }
.quote:hover{ transform:translateY(-6px); border-color:var(--line-strong); box-shadow:var(--sh-1); }
.quote__mark{ font-family:var(--font-display); font-size:3.4rem; line-height:.6; color:var(--accent); height:24px; }
.quote p{ font-size:1.08rem; color:var(--text); }
.quote__who{ display:flex; align-items:center; gap:14px; margin-top:auto; }
.quote__ava{ width:48px; height:48px; border-radius:50%; flex:none; background:var(--surface-2); display:flex; align-items:center; justify-content:center; font-family:var(--font-mono); font-weight:600; color:var(--accent-2); box-shadow:inset 0 0 0 1px var(--line-strong); }
.quote__name{ font-family:var(--font-display); font-weight:700; font-size:1rem; }
.quote__role{ color:var(--text-faint); font-size:.86rem; }

/* ---------- Accordion (FAQ) ---------- */
.faq{ display:flex; flex-direction:column; gap:14px; }
.faq__item{ border:1px solid var(--line); border-radius:var(--r-sm); background:var(--surface); overflow:hidden; transition:border-color .3s; }
.faq__item.is-open{ border-color:var(--line-strong); }
.faq__q{ width:100%; text-align:left; display:flex; align-items:center; gap:20px; justify-content:space-between; padding:24px 28px; font-family:var(--font-display); font-weight:600; font-size:1.1rem; }
.faq__q:hover{ color:var(--text); }
.faq__q:hover .faq__ic{ box-shadow:inset 0 0 0 1px var(--text); }
.faq__ic{ flex:none; width:30px; height:30px; border-radius:50%; box-shadow:inset 0 0 0 1px var(--line-strong); display:flex; align-items:center; justify-content:center; position:relative; transition:.3s var(--ease); }
.faq__ic::before,.faq__ic::after{ content:""; position:absolute; background:var(--text); border-radius:2px; }
.faq__ic::before{ width:12px; height:2px; } .faq__ic::after{ width:2px; height:12px; transition:transform .3s var(--ease); }
.is-open .faq__ic{ background:var(--accent); box-shadow:none; }
.is-open .faq__ic::before,.is-open .faq__ic::after{ background:#04201f; }
.is-open .faq__ic::after{ transform:scaleY(0); }
.faq__a{ max-height:0; overflow:hidden; transition:max-height .4s var(--ease); }
.faq__a-inner{ padding:0 28px 26px; color:var(--text-dim); font-size:1rem; max-width:70ch; }

/* ---------- Pricing cards ---------- */
.price-cards{ display:grid; gap:24px; grid-template-columns:repeat(3,1fr); align-items:start; }
@media (max-width:900px){ .price-cards{ grid-template-columns:1fr; max-width:460px; margin-inline:auto; } }
.price{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:38px 34px; position:relative; transition:.4s var(--ease-out); }
.price:hover{ transform:translateY(-6px); border-color:var(--line-strong); }
.price--featured{ background:var(--surface-2); border-color:var(--text); box-shadow:inset 0 0 0 1px var(--text); }
.price--featured::after{ content:"Рекомендуем"; position:absolute; top:-14px; left:50%; transform:translateX(-50%); font-family:var(--font-mono); font-size:.72rem; font-weight:600; letter-spacing:.16em; text-transform:uppercase; background:var(--accent); color:var(--accent-ink); padding:7px 18px; border-radius:var(--r-pill); white-space:nowrap; }
.price__name{ font-family:var(--font-display); font-weight:700; font-size:1.35rem; }
.price__desc{ color:var(--text-dim); font-size:.95rem; margin-top:8px; min-height:44px; }
.price__amount{ display:flex; align-items:baseline; gap:8px; margin:26px 0 6px; }
.price__cur{ font-family:var(--font-mono); color:var(--text-dim); font-size:1rem; }
.price__val{ font-family:var(--font-display); font-weight:800; font-size:2.8rem; letter-spacing:-.03em; }
.price__per{ color:var(--text-faint); font-size:.9rem; font-family:var(--font-mono); }
.price__list{ display:flex; flex-direction:column; gap:13px; margin:28px 0 32px; }
.price__list li{ display:flex; gap:12px; align-items:flex-start; color:var(--text-dim); font-size:.98rem; }
.price__list li svg{ width:20px; height:20px; flex:none; color:var(--accent-2); margin-top:2px; }
.price__list li.off{ color:var(--text-faint); opacity:.6; }
.price__list li.off svg{ color:var(--text-faint); }

/* ---------- Comparison table ---------- */
.cmp-wrap{ overflow-x:auto; border:1px solid var(--line); border-radius:var(--r); background:var(--bg-2); }
.cmp{ width:100%; min-width:720px; border-collapse:collapse; font-size:.98rem; }
.cmp th,.cmp td{ padding:20px 24px; text-align:center; border-bottom:1px solid var(--line); }
.cmp thead th{ position:sticky; top:0; background:var(--bg-2); }
/* no zebra: groups are separated by a stronger rule instead of a fill */
.cmp tbody tr:has(.cmp__plan) > td{ border-top:1px solid var(--line-strong); }
.cmp td.cmp__name{ color:var(--text-dim); }
.cmp tbody td.cmp__plan{ color:var(--text); }
/* highlight only the hovered row's own cells: the plan name spans several
   rows (rowspan) and belongs to the group's first row, so it must not light up */
.cmp tbody tr:hover > td:not(.cmp__plan){ background:var(--surface-2); }
.cmp th:first-child,.cmp td:first-child{ text-align:left; color:var(--text-dim); font-size:.96rem; }
.cmp td.cmp__name,.cmp th.cmp__name{ text-align:left; }
.cmp__plan{ font-family:var(--font-display); font-weight:700; font-size:1.2rem; vertical-align:middle; border-right:1px solid var(--line); }
.cmp__price{ font-family:var(--font-mono); color:var(--text-dim); font-size:.9rem; margin-top:4px; }
.cmp__col-feat{ background:linear-gradient(180deg, rgba(245,197,24,.12), transparent); position:relative; }
.cmp__col-feat::before{ content:""; position:absolute; inset:0; box-shadow:inset 0 0 0 1px rgba(245,197,24,.3); pointer-events:none; }
.cmp .yes{ color:var(--text); } .cmp .no{ color:var(--text-faint); }
.cmp .yes svg,.cmp .no svg{ width:20px; height:20px; }

/* ---------- Forms ---------- */
.field{ display:flex; flex-direction:column; gap:8px; }
.field label{ font-family:var(--font-mono); font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; color:var(--text-faint); }
.field input,.field textarea{
  background:var(--bg-2); border:1px solid var(--line-strong); border-radius:var(--r-sm);
  padding:15px 18px; color:var(--text); font-size:1rem; transition:border-color .25s, box-shadow .25s, background .25s;
}
.field textarea{ resize:vertical; min-height:130px; }
.field input::placeholder,.field textarea::placeholder{ color:var(--text-faint); }
.field input:focus,.field textarea:focus{ outline:none; border-color:var(--accent); box-shadow:0 0 0 4px rgba(245,197,24,.16); background:var(--surface); }
.form-note{ font-size:.82rem; color:var(--text-faint); }
.form-ok{ display:none; align-items:center; gap:12px; padding:16px 20px; border-radius:var(--r-sm); background:rgba(224,168,0,.12); color:var(--text); font-family:var(--font-mono); font-size:.95rem; box-shadow:inset 0 0 0 1px rgba(224,168,0,.3); }
.form-ok.show{ display:flex; }

/* ---------- Image placeholders ---------- */
.ph{
  position:relative; border-radius:var(--r); overflow:hidden;
  background:
    repeating-linear-gradient(135deg, rgba(150,178,224,.05) 0 12px, transparent 12px 24px),
    linear-gradient(180deg, var(--surface-2), var(--bg-2));
  box-shadow:inset 0 0 0 1px var(--line);
  display:flex; align-items:center; justify-content:center;
}
.ph__tag{ font-family:var(--font-mono); font-size:.8rem; letter-spacing:.06em; color:var(--text-faint); text-align:center; padding:18px; display:flex; flex-direction:column; align-items:center; gap:10px; }
.ph__tag svg{ width:30px; height:30px; opacity:.5; }
.ph--ratio{ aspect-ratio:4/3; }
.ph--wide{ aspect-ratio:16/9; }
.ph--square{ aspect-ratio:1/1; }
.ph--tall{ aspect-ratio:3/4; }
.ph--avatar{ aspect-ratio:1/1; border-radius:50%; }

/* ---------- Tag / pill / badge ---------- */
.pill{ display:inline-flex; align-items:center; gap:9px; font-family:var(--font-mono); font-size:.8rem; letter-spacing:.04em; color:var(--text-dim); padding:8px 15px; border-radius:var(--r-pill); box-shadow:inset 0 0 0 1px var(--line); background:var(--surface); }
.pill--dot::before{ content:""; width:7px; height:7px; border-radius:50%; background:var(--accent-2); box-shadow:0 0 10px var(--accent-2); }
.tags{ display:flex; flex-wrap:wrap; gap:10px; }

/* ---------- Timeline ---------- */
.timeline{ position:relative; padding-left:36px; }
.timeline::before{ content:""; position:absolute; left:9px; top:8px; bottom:8px; width:2px; background:linear-gradient(180deg, var(--accent), var(--accent-2), transparent); }
.tl-item{ position:relative; padding-bottom:42px; }
.tl-item:last-child{ padding-bottom:0; }
.tl-item::before{ content:""; position:absolute; left:-31px; top:5px; width:18px; height:18px; border-radius:50%; background:var(--bg); box-shadow:inset 0 0 0 2px var(--accent); }
.tl-item__year{ font-family:var(--font-mono); font-weight:600; color:var(--accent-2); font-size:.95rem; letter-spacing:.06em; }
.tl-item h3{ font-family:var(--font-display); font-size:1.25rem; margin:8px 0 10px; }
.tl-item p{ color:var(--text-dim); }

/* ---------- Team ---------- */
.team-card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r); overflow:hidden; transition:.4s var(--ease-out); }
.team-card:hover{ transform:translateY(-6px); border-color:var(--line-strong); box-shadow:var(--sh-1); }
.team-card .ph{ border-radius:0; }
.team-card__body{ padding:24px; }
.team-card__name{ font-family:var(--font-display); font-weight:700; font-size:1.2rem; }
.team-card__role{ color:var(--text-dim); font-family:var(--font-mono); font-size:.85rem; margin-top:6px; }
.team-card__bio{ color:var(--text-dim); font-size:.94rem; margin-top:12px; }

/* ---------- CTA banner ----------
   The one full-bleed ink band per page — where yellow is spent on
   purpose (see robot.com: "make the yellow feel earned, not decorative"). */
.cta-banner{ position:relative; border-radius:var(--r-lg); overflow:hidden; padding:clamp(44px,6vw,80px); background:var(--text); color:#fff; }
.cta-banner > *{ position:relative; }
.cta-banner .eyebrow{ color:var(--accent); }
.cta-banner .eyebrow::before,.cta-banner .eyebrow--center::after{ background:var(--accent); opacity:1; }
.cta-banner .lead{ color:rgba(255,255,255,.7); }
.cta-banner .btn{ --b-bg:var(--accent); --b-fg:var(--accent-ink); box-shadow:0 10px 26px -12px rgba(245,197,24,.5); }
.cta-banner .btn:hover{ box-shadow:0 16px 34px -12px rgba(245,197,24,.6); }
.cta-banner__actions{ display:flex; flex-wrap:wrap; gap:16px; margin-top:36px; }
.cta-banner--center{ text-align:center; }
.cta-banner--center h2{ margin-inline:auto; }
.cta-banner--center .lead{ margin-inline:auto; }
.cta-banner--center .cta-banner__actions{ justify-content:center; }

/* ---------- Hero shared ---------- */
.page-hero{ padding-top:calc(var(--header-h) + clamp(28px,4.4vw,60px)); padding-bottom:clamp(36px,4.6vw,60px); position:relative; }
.page-hero__crumb{ font-family:var(--font-body); font-size:.9rem; color:var(--text-faint); letter-spacing:0; margin-bottom:22px; display:flex; gap:10px; align-items:center; }
.page-hero__crumb a:hover{ color:var(--text); text-decoration:underline; text-decoration-color:var(--accent); text-decoration-thickness:2px; text-underline-offset:4px; }
.page-hero__crumb span{ opacity:.5; }
.page-hero--center .container{ text-align:center; }
.page-hero--center .page-hero__crumb{ justify-content:center; }
.page-hero--center h1{ margin-inline:auto; }
.page-hero--center .lead.measure{ margin-inline:auto; }
.page-hero--center .row-btns{ justify-content:center; }

/* ---------- Reveal animation ---------- */
.reveal{ transition:transform .8s var(--ease-out); }
.js .reveal:not(.in){ transform:translateY(22px); }
.reveal.in{ transform:none; }
.reveal[data-delay="1"]{ transition-delay:.08s; }
.reveal[data-delay="2"]{ transition-delay:.16s; }
.reveal[data-delay="3"]{ transition-delay:.24s; }
.reveal[data-delay="4"]{ transition-delay:.32s; }
@media (prefers-reduced-motion: reduce){ .js .reveal:not(.in), .reveal{ transform:none; transition:none; } }

/* parallax layer */
.parallax{ will-change:transform; }

/* dividers / decorative */
.dash-grid{ position:absolute; inset:0; pointer-events:none; opacity:.035;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280' viewBox='0 0 280 280'%3E%3Cg fill='none' stroke='%230d1b30' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M34 40H90L110 60H170'/%3E%3Ccircle cx='30' cy='40' r='4'/%3E%3Ccircle cx='174' cy='60' r='4'/%3E%3Cpath d='M200 24V70L220 90V130'/%3E%3Ccircle cx='200' cy='20' r='4'/%3E%3Ccircle cx='220' cy='134' r='4'/%3E%3Cpath d='M44 150H100L120 170V230'/%3E%3Ccircle cx='40' cy='150' r='4'/%3E%3Ccircle cx='120' cy='234' r='4'/%3E%3Cpath d='M164 200H226L246 180H258'/%3E%3Ccircle cx='160' cy='200' r='4'/%3E%3Ccircle cx='262' cy='180' r='4'/%3E%3Cpath d='M64 252H96'/%3E%3Ccircle cx='60' cy='252' r='4'/%3E%3Ccircle cx='100' cy='252' r='4'/%3E%3Cpath d='M252 250V222'/%3E%3Ccircle cx='252' cy='254' r='4'/%3E%3Ccircle cx='252' cy='218' r='4'/%3E%3Cpath d='M154 110H172L184 122'/%3E%3Ccircle cx='150' cy='110' r='4'/%3E%3C/g%3E%3C/svg%3E"); background-size:300px 300px;
  -webkit-mask:radial-gradient(900px 520px at 70% 0%, #000, transparent 75%); mask:radial-gradient(900px 520px at 70% 0%, #000, transparent 75%); }

/* utility */
.stack-sm{ display:flex; flex-direction:column; gap:12px; }
.stack{ display:flex; flex-direction:column; gap:20px; }
.stack-lg{ display:flex; flex-direction:column; gap:32px; }
.row{ display:flex; gap:16px; align-items:center; flex-wrap:wrap; }
.row-btns{ display:flex; gap:16px; flex-wrap:wrap; }
.center{ text-align:center; }
.mt-s{ margin-top:14px; } .mt-m{ margin-top:26px; } .mt-l{ margin-top:42px; }
.hide-desk{ display:none; }

/* ---------- Responsive header ---------- */
/* full nav needs ~1100px of row; below that switch to the burger */
@media (max-width:1199px){
  .nav, .header-phone{ display:none; }
  .burger{ display:flex; }
}
/* 1200–1599: container is capped at 1240, so trim the mark to keep one row */
@media (min-width:1200px) and (max-width:1599px){
  .brand__mark{ height:46px; }
}
@media (max-width:560px){
  .header-actions .btn{ display:none; }
  .brand__sub{ display:none; }
  .brand__mark{ height:38px; }
  .site-header.is-stuck{ height:64px; }
}
@media (max-width:360px){
  .brand__mark{ height:32px; }
}

/* check icon default */
.ck{ color:var(--text); }

/* ---------- Lead modal ---------- */
#leadModal{ position:fixed; inset:0; z-index:120; display:none; align-items:center; justify-content:center; padding:24px; }
#leadModal.show{ display:flex; }
.modal__backdrop{ position:absolute; inset:0; background:rgba(13,27,48,.45); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); animation:fade .3s var(--ease); }.modal__card{ position:relative; width:100%; max-width:560px; background:linear-gradient(180deg, var(--surface-2), var(--bg-2)); border:1px solid var(--line-strong); border-radius:var(--r-lg); padding:clamp(28px,4vw,44px); box-shadow:var(--sh-2); animation:pop .4s var(--ease-out); max-height:92vh; overflow:auto; }
.modal__close{ position:absolute; top:18px; right:18px; width:42px; height:42px; border-radius:12px; display:flex; align-items:center; justify-content:center; color:var(--text-dim); box-shadow:inset 0 0 0 1px var(--line-strong); transition:.25s var(--ease); }
.modal__close svg{ width:20px; height:20px; }
.modal__close:hover{ color:#fff; background:var(--surface-3); transform:rotate(90deg); }
@keyframes fade{ from{ opacity:0; } }
@keyframes pop{ from{ opacity:0; transform:translateY(20px) scale(.98); } }

/* ---------- Back to top ---------- */
.to-top{ display:inline-flex; align-items:center; justify-content:center; width:48px; height:48px; border-radius:50%; box-shadow:inset 0 0 0 1px var(--line-strong); color:var(--text-dim); transition:.3s var(--ease); }
.to-top:hover{ color:var(--accent-ink); background:var(--accent); transform:translateY(-3px); box-shadow:0 12px 26px -14px rgba(13,27,48,.4); }
.to-top svg{ width:20px; height:20px; }

/* ---------- Home hero ---------- */
.hero-split{ display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(36px,5vw,72px); align-items:center; }
@media (max-width:960px){ .hero-split{ grid-template-columns:1fr; gap:48px; } }
.hero-copy h1{ font-size:clamp(2.6rem,6.4vw,5rem); }

/* Hero visual: a printed monthly report sheet, not a fake live app —
   IT-Balance sells oversight and reporting, not software, so the hero
   shouldn't borrow a SaaS product's UI chrome (see decision ledger). */
.hero-visual{ position:relative; min-height:420px; display:flex; align-items:center; justify-content:center; }
.panel{ position:relative; z-index:2; width:min(420px,100%); background:var(--paper); border:1px solid var(--text); border-radius:var(--r-sm); padding:26px; box-shadow:8px 8px 0 0 var(--line-strong); }
.panel__head{ display:flex; align-items:center; gap:10px; padding-bottom:16px; border-bottom:1px dashed var(--line-strong); }
.panel__badge{ position:absolute; z-index:3; top:-16px; right:-14px; transform:rotate(-6deg); font-family:var(--font-mono); font-size:.78rem; font-weight:600; letter-spacing:.02em; padding:10px 16px; border-radius:var(--r-xs); background:var(--accent); box-shadow:0 10px 22px -12px rgba(13,27,48,.4); display:flex; align-items:center; gap:8px; white-space:nowrap; color:var(--accent-ink); }
.panel__badge span{ width:20px; height:20px; color:var(--accent-ink); flex:none; }
.panel__dot{ width:9px; height:9px; border-radius:2px; background:var(--accent-2); }
.panel__title{ font-family:var(--font-mono); font-size:.84rem; color:var(--text); font-weight:600; }
.panel__live{ margin-left:auto; font-family:var(--font-mono); font-size:.68rem; letter-spacing:.1em; color:var(--text-faint); text-transform:uppercase; }
.panel__rows{ display:flex; flex-direction:column; gap:2px; padding:14px 0; }
.panel__row{ display:flex; align-items:center; justify-content:space-between; padding:11px 4px; border-bottom:1px solid var(--line-soft); font-size:.94rem; }
.panel__row:last-child{ border-bottom:0; }
.panel__row span{ color:var(--text-dim); }
.panel__row b{ font-family:var(--font-mono); font-weight:600; font-size:.86rem; }
.panel__row b.ok{ color:var(--text); display:inline-flex; align-items:center; gap:8px; }
.panel__row b.ok::before{ content:""; width:8px; height:8px; border-radius:50%; background:var(--accent-2); }
.panel__row b.accentv{ color:var(--text); background:var(--accent); padding:2px 8px; border-radius:var(--r-xs); }
.panel__meter{ background:var(--bg-2); border-radius:var(--r-xs); padding:16px; margin-top:8px; box-shadow:inset 0 0 0 1px var(--line); }
.panel__meter-top{ display:flex; justify-content:space-between; font-family:var(--font-mono); font-size:.82rem; color:var(--text-dim); margin-bottom:10px; }
.panel__meter-top b{ color:var(--text); font-weight:600; }
.panel__bar{ height:7px; border-radius:99px; background:var(--surface-3); overflow:hidden; }
.panel__bar i{ display:block; height:100%; border-radius:99px; background:var(--accent-2); }
.services-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:44px; flex-wrap:wrap; }
.services-head h2{ max-width:24ch; }

/* ---------- Reusable check-list ---------- */
.check-list{ display:flex; flex-direction:column; gap:12px; margin:22px 0; }
.check-list li{ display:flex; gap:13px; align-items:flex-start; color:var(--text-dim); font-size:1rem; }
.check-list li span:first-child{ flex:none; width:22px; height:22px; border-radius:7px; background:var(--accent); color:var(--accent-ink); display:flex; align-items:center; justify-content:center; margin-top:2px; box-shadow:inset 0 0 0 1px var(--line); }
.check-list li span:first-child svg{ width:14px; height:14px; }

/* split content blocks */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(32px,5vw,72px); align-items:center; }
.split--wide-left{ grid-template-columns:1.15fr .85fr; }
.split--wide-right{ grid-template-columns:.85fr 1.15fr; }
@media (max-width:860px){ .split,.split--wide-left,.split--wide-right{ grid-template-columns:1fr; gap:40px; } }

/* service detail card */
.svc{ display:flex; flex-direction:column; height:100%; }
.svc .check-list{ margin-bottom:auto; }
.svc__foot{ margin-top:28px; display:flex; gap:16px; align-items:center; flex-wrap:wrap; }

/* value list (about / why) */
.value{ display:flex; gap:20px; align-items:flex-start; padding:26px 0; border-bottom:1px solid var(--line-soft); }
.value:last-child{ border-bottom:0; }
.value__ic{ flex:none; width:54px; height:54px; border-radius:14px; display:flex; align-items:center; justify-content:center; background:var(--bg); color:var(--text); box-shadow:inset 0 0 0 1px var(--line); }
.value__ic svg{ width:24px; height:24px; }
.value h3{ font-family:var(--font-display); font-size:1.2rem; margin-bottom:8px; }
.value p{ color:var(--text-dim); }

/* sticky aside */
.aside-card{ position:sticky; top:96px; }
@media (max-width:860px){ .aside-card{ position:static; } }


/* ============================================================
   RESPONSIVE LAYER
   1. Wide screens — let the layout breathe instead of stranding
      the content in a narrow column.
   2. Tablet — soften the desktop grids.
   3. Mobile — one centred column, every element aligned to the axis.
   ============================================================ */

/* ---------- 1. Wide screens ---------- */
@media (min-width:1600px){
  :root{ --maxw:1360px; }
}
@media (min-width:1920px){
  :root{ --maxw:1440px; --gutter:clamp(32px,4vw,72px); }
}
@media (min-width:2400px){
  :root{ --maxw:1560px; }
}

/* ---------- 2. Tablet ---------- */
@media (min-width:760px) and (max-width:1024px){
  .grid.cols-4,
  .grid.cols-3{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:1024px){
  :root{ --header-h:76px; }
  .hero-visual{ min-height:0; }
}

@media (max-width:900px){
  .services-head{ flex-direction:column; align-items:flex-start; gap:18px; }
  .cmp{ min-width:640px; }
}

/* ---------- 3. Mobile: single centred column ---------- */
@media (max-width:760px){
  :root{
    --header-h:68px;
    --gutter:20px;
    --maxw:100%;
  }
  body{ font-size:1.03rem; line-height:1.65; }

  .section{ padding-block:clamp(40px,9vw,60px); }
  .section--tight{ padding-block:32px; }

  /* type sizes tuned for a narrow column */
  .display{ font-size:clamp(2rem,8.6vw,2.9rem); letter-spacing:-.028em; line-height:1.04; }
  .hero-copy h1{ font-size:clamp(1.95rem,8.4vw,2.8rem); }
  .h-xl{ font-size:clamp(1.65rem,6.6vw,2.2rem); }
  .h-lg{ font-size:clamp(1.4rem,5.6vw,1.8rem); }
  .h-md{ font-size:1.15rem; }
  .lead{ font-size:1.02rem; line-height:1.6; }

  .section-head{ gap:14px; }
  .eyebrow{ letter-spacing:.12em; font-size:.72rem; gap:9px; }

  .card{ padding:24px 20px; }
  .card__num{ position:static; display:block; margin-bottom:10px; }
  .price{ padding:32px 24px; }

  /* steps: no connector lines in a stacked column */
  .steps{ grid-template-columns:1fr; gap:14px; }
  .step__line{ display:none; }
  .step{ padding:22px 20px; }

  .value{ gap:16px; padding:20px 0; }

  .quote{ padding:28px 22px; }

  .stats{ grid-template-columns:1fr; }
  .stat{ padding:26px 22px; }

  .faq__q{ padding:20px 18px; font-size:1.02rem; text-align:left; }
  .faq__a-inner{ padding:0 18px 22px; text-align:left; }

  .split, .split--wide-left, .split--wide-right{ grid-template-columns:1fr; gap:32px; }
  .hero-split{ gap:36px; }
  .hero-visual{ min-height:0; }
  .panel{ width:100%; padding:22px; box-shadow:6px 6px 0 0 var(--line-strong); }
  .panel__badge{ right:-6px; top:-14px; font-size:.72rem; padding:8px 13px; }
  .panel__row{ text-align:left; }
  .panel__meter-top{ text-align:left; }

  .cta-banner{ padding:38px 22px; }
  .cta-banner h2, .cta-banner .lead{ margin-inline:auto; }
  .cta-banner__actions{ margin-top:26px; }

  .timeline{ padding-left:0; }
  .timeline::before{ display:none; }
  .tl-item::before{ display:none; }
  .tl-item{ padding-bottom:32px; }

  /* buttons: comfortable tap targets, centred */
  .btn{ padding:15px 24px; }
  .row-btns .btn{ min-width:0; }

  /* forms full width */
  .field input, .field textarea{ font-size:16px; } /* prevents iOS zoom-on-focus */

  .footer-grid{ grid-template-columns:1fr; gap:30px; }
  .footer-col a:hover{ transform:none; }
  .footer-about p{ max-width:38ch; }

  .cmp-wrap{ border-radius:var(--r-sm); }
  .cmp{ min-width:560px; font-size:.92rem; }
  .cmp th,.cmp td{ padding:14px 14px; }

  .float-msg a{ width:50px; height:50px; }
  .float-msg a svg{ width:23px; height:23px; }
}

@media (max-width:480px){
  :root{ --gutter:18px; }
  .display{ font-size:clamp(1.85rem,9vw,2.4rem); }
  .hero-copy h1{ font-size:clamp(1.8rem,8.8vw,2.4rem); }
  .card, .step, .price, .quote{ padding:22px 18px; }
  .row-btns .btn, .cta-banner__actions .btn{ width:100%; min-width:0; }
  .tags{ gap:8px; }
  .pill{ font-size:.75rem; padding:7px 12px; }
  .stat__num{ font-size:2.6rem; }
  .mobile-nav a{ font-size:1.45rem; }
}

/* very small phones — never let anything overflow horizontally */
@media (max-width:360px){
  :root{ --gutter:15px; }
  .cta-banner{ padding:32px 18px; }
}


/* ============================================================
   REAL AUTOMATION («Реальная автоматизация»)
   automation.html + teaser block on the home page.
   Brand red of «1С:Центр реальной автоматизации» is used only
   in the partner logo — the page itself stays on the site's
   ink + yellow system.
   ============================================================ */
:root{ --ra-red:#d90011; }

/* partner logo — sized once, reused everywhere */
.ra-logo{ height:64px; width:auto; max-width:100%; }
.ra-logo--sm{ height:48px; }
.ra-logo--lg{ height:76px; }

/* hero */
.ra-hero__brand{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin-bottom:28px; }
.ra-hero__brand .ra-sep{ width:1px; height:44px; background:var(--line-strong); }
.ra-hero__brand .mono{ font-size:.74rem; letter-spacing:.08em; text-transform:uppercase; color:var(--text-faint); line-height:1.5; max-width:28ch; }

/* hero visual: payback sheet (same paper panel language as the home hero) */
.ra-pay{ margin-top:6px; }
.ra-pay__scale{ display:grid; grid-template-columns:repeat(6,1fr); gap:6px; margin-top:12px; }
.ra-pay__m{ height:44px; border-radius:var(--r-xs); background:var(--surface-2); box-shadow:inset 0 0 0 1px var(--line); position:relative; }
.ra-pay__m.is-cost{ background:repeating-linear-gradient(135deg, rgba(13,27,48,.12) 0 6px, transparent 6px 12px), var(--surface-2); }
.ra-pay__m.is-gain{ background:var(--accent); box-shadow:none; }
.ra-pay__m.is-mark::after{ content:""; position:absolute; right:-4px; top:-8px; bottom:-8px; width:2px; background:var(--text); }
.ra-pay__lbl{ display:grid; grid-template-columns:repeat(6,1fr); gap:6px; margin-top:8px; font-family:var(--font-mono); font-size:.72rem; color:var(--text-faint); text-align:center; }
.ra-pay__legend{ display:flex; gap:8px 18px; flex-wrap:wrap; margin-top:14px; font-family:var(--font-mono); font-size:.74rem; color:var(--text-dim); }
.ra-pay__legend i{ display:inline-block; width:12px; height:12px; border-radius:3px; vertical-align:-1px; margin-right:7px; }
.ra-pay__legend i.c{ background:repeating-linear-gradient(135deg, rgba(13,27,48,.25) 0 3px, transparent 3px 6px), var(--surface-2); box-shadow:inset 0 0 0 1px var(--line); }
.ra-pay__legend i.g{ background:var(--accent); }

/* results trio */
.ra-result__k{ font-family:var(--font-mono); font-size:.74rem; letter-spacing:.14em; text-transform:uppercase; color:var(--text-faint); }

/* two-layer infographic: typical 1C vs real automation */
.ra-stack{ display:flex; flex-direction:column; }
.ra-layer{ border-radius:var(--r); padding:22px 24px; border:1px solid var(--line); background:var(--paper); }
.ra-layer__top{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
.ra-layer__name{ font-family:var(--font-display); font-weight:700; font-size:1.12rem; line-height:1.25; }
.ra-layer__who{ font-family:var(--font-mono); font-size:.7rem; letter-spacing:.08em; text-transform:uppercase; padding:5px 10px; border-radius:var(--r-pill); white-space:nowrap; }
.ra-layer--top{ background:var(--text); color:#fff; border-color:var(--text); }
.ra-layer--top .ra-layer__who{ background:var(--accent); color:var(--accent-ink); }
.ra-layer--base .ra-layer__who{ background:var(--surface-2); color:var(--text-dim); box-shadow:inset 0 0 0 1px var(--line); }
.ra-chips{ display:flex; flex-wrap:wrap; gap:8px; }
.ra-chips span{ font-size:.88rem; padding:6px 12px; border-radius:var(--r-pill); line-height:1.3; }
.ra-layer--top .ra-chips span{ background:rgba(255,255,255,.08); box-shadow:inset 0 0 0 1px rgba(255,255,255,.2); color:rgba(255,255,255,.9); }
.ra-layer--base .ra-chips span{ background:var(--surface); box-shadow:inset 0 0 0 1px var(--line); color:var(--text-dim); }
.ra-stack__join{ display:flex; align-items:center; gap:12px; padding:6px 0 6px 28px; font-family:var(--font-mono); font-size:.74rem; color:var(--text-faint); }
.ra-stack__join::before{ content:""; width:2px; height:26px; background:var(--line-strong); }

/* case cards */
.case{ background:var(--paper); border:1px solid var(--line); border-radius:var(--r-lg); padding:clamp(24px,3vw,36px); display:flex; flex-direction:column; gap:20px; transition:transform .35s var(--ease-out), border-color .3s, box-shadow .35s; }
.case:hover{ transform:translateY(-6px); border-color:var(--text); box-shadow:var(--sh-1); }
.case__head{ display:flex; gap:16px; align-items:flex-start; }
.case__ic{ flex:none; width:54px; height:54px; border-radius:14px; display:flex; align-items:center; justify-content:center; background:var(--bg); color:var(--text); box-shadow:inset 0 0 0 1px var(--line); transition:.3s var(--ease); }
.case:hover .case__ic{ background:var(--accent); color:var(--accent-ink); }
.case__ic svg{ width:24px; height:24px; }
.case__tag{ font-family:var(--font-mono); font-size:.72rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--text-faint); }
.case h3{ font-family:var(--font-display); font-size:clamp(1.2rem,1.8vw,1.45rem); line-height:1.2; margin-top:6px; }
.case__meta{ display:flex; flex-wrap:wrap; gap:8px; }
.case__meta span{ font-family:var(--font-mono); font-size:.74rem; color:var(--text-dim); padding:6px 11px; border-radius:var(--r-pill); background:var(--surface); box-shadow:inset 0 0 0 1px var(--line); }
.case > p{ color:var(--text-dim); font-size:1rem; }
.case__kpis{ display:flex; flex-direction:column; border-top:1px dashed var(--line-strong); }
.kpi{ display:grid; grid-template-columns:1fr auto; gap:6px 16px; align-items:baseline; padding:13px 0; border-bottom:1px solid var(--line-soft); }
.kpi__what{ color:var(--text-dim); font-size:.95rem; line-height:1.4; }
.kpi__val{ font-family:var(--font-mono); font-weight:600; font-size:.92rem; white-space:nowrap; text-align:right; }
.kpi__val s{ color:var(--text-faint); font-weight:500; text-decoration-thickness:1px; margin-right:4px; }
.kpi__val em{ font-style:normal; background:var(--accent); color:var(--accent-ink); padding:2px 8px; border-radius:var(--r-xs); }
.case__foot{ margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; }
.case__foot .faint{ font-family:var(--font-mono); font-size:.74rem; }
.link-arrow--ink{ color:var(--text); }
.link-arrow--ink:hover{ color:var(--text); }

/* boar note */
.ra-boar{ display:grid; grid-template-columns:auto 1fr; gap:clamp(22px,4vw,48px); align-items:center; padding:clamp(24px,3.4vw,40px); border-radius:var(--r-lg); background:var(--bg-2); border:1px solid var(--line); }
.ra-boar img{ width:clamp(110px,12vw,150px); height:auto; }
.ra-boar h3{ font-family:var(--font-display); font-size:1.3rem; margin-bottom:10px; }
.ra-boar p{ color:var(--text-dim); max-width:70ch; }

/* original-colour logo on dark bands: white plate, logo colours untouched */
.ra-plate{ display:inline-flex; align-items:center; justify-content:center; background:#fff; border-radius:var(--r); padding:14px 22px; margin:0 auto 28px; }
.ra-plate .ra-logo{ display:block; }

/* CTA contacts row */
.ra-cta-contacts{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px 26px; margin-top:24px; font-family:var(--font-mono); font-size:.92rem; color:rgba(255,255,255,.7); }
.ra-cta-contacts a{ color:#fff; border-bottom:1px solid rgba(255,255,255,.3); transition:border-color .2s, color .2s; }
.ra-cta-contacts a:hover{ color:var(--accent); border-color:var(--accent); }
.cta-banner .btn.btn--ghost-light{ --b-bg:transparent; --b-fg:#fff; background:transparent; color:#fff; box-shadow:inset 0 0 0 1px rgba(255,255,255,.35); }
.cta-banner .btn.btn--ghost-light:hover{ box-shadow:inset 0 0 0 1px #fff; }

/* ---------- Home teaser ---------- */
.ra-teaser{ display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(28px,4vw,56px); align-items:center; padding:clamp(28px,4vw,52px); border-radius:var(--r-lg); background:var(--paper); border:1px solid var(--text); box-shadow:8px 8px 0 0 var(--line-strong); }
.ra-teaser__copy .ra-logo{ margin-bottom:24px; }
.ra-teaser__copy h2{ margin-top:14px; }
.ra-teaser__copy .lead{ margin-top:16px; }
.ra-teaser__copy .tags{ margin-top:22px; }
.ra-teaser__copy .row-btns{ margin-top:28px; }
.ra-teaser__side{ display:flex; flex-direction:column; gap:14px; }
.ra-big{ display:flex; align-items:center; gap:18px; padding:20px 22px; border-radius:var(--r); background:var(--accent); color:var(--accent-ink); }
.ra-big b{ font-family:var(--font-display); font-weight:800; font-size:clamp(2.6rem,4.4vw,3.4rem); letter-spacing:-.04em; line-height:.9; }
.ra-big span{ font-size:.95rem; line-height:1.35; font-weight:500; }
.ra-links{ display:flex; flex-direction:column; border:1px solid var(--line); border-radius:var(--r); background:var(--bg); overflow:hidden; }
.ra-links__h{ font-family:var(--font-mono); font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:var(--text-faint); padding:14px 18px 8px; }
.ra-links a{ display:flex; align-items:center; gap:14px; padding:14px 18px; border-top:1px solid var(--line-soft); transition:background .2s; }
.ra-links a:hover{ background:var(--surface); }
.ra-links a > span:first-child{ flex:none; width:38px; height:38px; border-radius:10px; display:flex; align-items:center; justify-content:center; background:var(--bg); color:var(--text); box-shadow:inset 0 0 0 1px var(--line); }
.ra-links a > span:first-child svg{ width:20px; height:20px; }
.ra-links__t{ display:flex; flex-direction:column; line-height:1.3; min-width:0; text-align:left; }
.ra-links__t b{ font-weight:600; font-size:.98rem; }
.ra-links__t small{ color:var(--text-faint); font-size:.84rem; }
.ra-links a > span:last-child{ margin-left:auto; flex:none; width:18px; height:18px; color:var(--text-faint); transition:color .2s, transform .2s; }
.ra-links a:hover > span:last-child{ color:var(--text); transform:translate(2px,-2px); }
.ra-links a > span:last-child svg{ width:18px; height:18px; }

@media (max-width:960px){
  .ra-teaser{ grid-template-columns:1fr; }
}
@media (max-width:760px){
  .ra-logo{ height:52px; } .ra-logo--lg{ height:58px; }
  .ra-hero__brand{ gap:12px; }
  .ra-hero__brand .ra-sep{ display:none; }
  .ra-teaser{ padding:26px 20px; box-shadow:6px 6px 0 0 var(--line-strong); }
  .ra-layer__top{ flex-wrap:wrap; }
  .ra-boar{ grid-template-columns:1fr; }
  .kpi{ grid-template-columns:1fr; }
  .kpi__val{ white-space:normal; }
  .ra-pay__lbl{ font-size:.64rem; }
}


/* ============================================================
   DESIGN PASS — rhythm & contrast
   Each section type now has its own layout, so pages stop reading
   as one repeated card grid:
     ink stat band · lined "why" list · step timeline · alt sections
     with white cards · hero spec sheets on inner pages · lined grids.
   Palette unchanged: ink, beige paper, yellow (fills only).
   ============================================================ */

/* all sections sit on white; beige is reserved for the elements on them */

/* ---------- Ink stat band (home, right under the hero) ---------- */
.stat-band{ background:var(--text); color:#fff; position:relative; overflow:hidden; }
.stat-band__grid{ position:relative; display:grid; grid-template-columns:repeat(3,1fr); }
.stat-band__item{ padding:clamp(28px,3.6vw,44px) clamp(18px,2.6vw,36px); display:flex; align-items:baseline; gap:18px; }
.stat-band__num{ font-family:var(--font-display); font-weight:800; font-size:clamp(2.8rem,5vw,4.2rem); letter-spacing:-.03em; line-height:.9; color:var(--accent); white-space:nowrap; font-variant-numeric:tabular-nums; }
.stat-band__num small{ font-size:.42em; font-weight:700; letter-spacing:0; margin-left:4px; }
.stat-band__label{ color:rgba(255,255,255,.78); font-size:1rem; line-height:1.4; max-width:18ch; }

/* ---------- "Why" as a lined list, not tiles ---------- */
.why{ display:grid; grid-template-columns:.9fr 1.1fr; gap:clamp(32px,5vw,80px); align-items:start; }
.why__head{ position:sticky; top:110px; display:flex; flex-direction:column; gap:18px; }
.why-list{ border-top:2px solid var(--text); }
.why-list li{ display:grid; grid-template-columns:28px 1fr; align-content:start; gap:6px 20px; padding:26px 0; border-bottom:1px solid var(--line); }
.why-list li > span{ grid-row:span 2; width:28px; height:28px; color:var(--text); margin-top:2px; }
.why-list li > span svg{ width:26px; height:26px; }
.why-list h3{ font-family:var(--font-display); font-size:1.25rem; font-weight:700; }
.why-list p{ color:var(--text-dim); font-size:1rem; max-width:52ch; }

/* ---------- Services head: title left, button right ---------- */
.services-head{ margin-bottom:clamp(32px,4vw,52px); }
.services-head > div{ display:flex; flex-direction:column; gap:16px; }

/* ---------- Steps as a timeline, not boxes ---------- */
.step{ background:none; border:0; border-top:2px solid var(--text); border-radius:0; padding:26px 4px 0 0; }
.step:hover{ transform:none; border-color:var(--text); }
.step__line{ display:none; }
.step h3{ margin:18px 0 8px; }

/* ---------- Hero spec sheet on inner pages ---------- */
.page-hero .hero-split{ margin-top:4px; }
.panel__row--price b{ font-family:var(--font-mono); font-weight:600; font-size:.95rem; color:var(--text); font-variant-numeric:tabular-nums; white-space:nowrap; }
.panel__row--price span{ padding-right:14px; line-height:1.35; }
.panel__row--price span small{ display:block; font-family:var(--font-mono); font-size:.72rem; color:var(--text-faint); letter-spacing:.04em; margin-top:2px; }
.panel__big{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.panel__big span{ font-family:var(--font-mono); font-size:.82rem; color:var(--text-dim); }
.panel__big b{ font-family:var(--font-display); font-weight:800; font-size:1.7rem; letter-spacing:-.02em; color:var(--text); font-variant-numeric:tabular-nums; white-space:nowrap; }
.panel__big b small{ font-size:.55em; font-weight:700; }

/* ---------- Lined grid (support: what's included) ---------- */
.grid-lined{ display:grid; grid-template-columns:repeat(4,1fr); border-top:2px solid var(--text); }
.grid-lined > *{ padding:28px 26px 30px 0; display:flex; flex-direction:column; gap:12px; }
.grid-lined > * + *{ padding-left:26px; border-left:1px solid var(--line); }
.grid-lined .gl__ic{ width:26px; height:26px; color:var(--text); }
.grid-lined .gl__ic svg{ width:26px; height:26px; }
.grid-lined h3{ font-family:var(--font-display); font-size:1.18rem; font-weight:700; }
.grid-lined p{ color:var(--text-dim); font-size:1rem; }

/* ---------- Spec list (support: services inside tariffs) ---------- */
.spec-list{ display:grid; grid-template-columns:1fr 1fr; column-gap:clamp(28px,4vw,64px); }
.spec-list li{ display:grid; grid-template-columns:26px 1fr; align-content:start; gap:6px 16px; padding:24px 0; border-top:1px solid var(--line); }
.spec-list li > span{ grid-row:span 2; width:24px; height:24px; color:var(--text); margin-top:3px; }
.spec-list li > span svg{ width:24px; height:24px; }
.spec-list h3{ font-family:var(--font-display); font-size:1.15rem; font-weight:700; }
.spec-list p{ color:var(--text-dim); font-size:.98rem; }

/* ---------- Product cards: name + price, no decorative icon ---------- */
.card--product{ gap:10px; }
.card--product .card__tag{ margin-bottom:0; }
.card--product h2{ margin-bottom:6px; }
.card__row{ margin-top:auto; padding-top:18px; border-top:1px dashed var(--line-strong); display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.card__row .card__price{ margin:0; padding:0; font-variant-numeric:tabular-nums; }
.card__go{ display:inline-flex; align-items:center; gap:8px; font-weight:600; font-size:.95rem; color:var(--text); }
.card__go svg{ width:18px; height:18px; transition:transform .3s var(--ease-out); }
.card--product:hover .card__go svg{ transform:translateX(4px); }
.card--product:hover .card__go{ text-decoration:underline; text-decoration-color:var(--accent); text-decoration-thickness:2px; text-underline-offset:5px; }
.group-label{ font-family:var(--font-mono); font-size:.78rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--text-dim); display:flex; align-items:center; gap:14px; margin:0 0 18px; }
.group-label::after{ content:""; flex:1; height:1px; background:var(--line); }
.group-label + .grid{ margin-bottom:44px; }

/* ---------- Responsive ---------- */
@media (max-width:1024px){
  .grid-lined{ grid-template-columns:repeat(2,1fr); }
  .grid-lined > *:nth-child(3){ padding-left:0; border-left:0; }
  .grid-lined > *:nth-child(n+3){ border-top:1px solid var(--line); }
}
@media (max-width:860px){
  .why{ grid-template-columns:1fr; }
  .why__head{ position:static; }
  .spec-list{ grid-template-columns:1fr; }
}
@media (max-width:760px){
  .stat-band__grid{ grid-template-columns:1fr; }
  .stat-band__item{ padding:22px 0; }
  .grid-lined{ grid-template-columns:1fr; }
  .grid-lined > *{ padding:22px 0 !important; border-left:0 !important; }
  .grid-lined > * + *{ border-top:1px solid var(--line); }
  .services-head{ align-items:flex-start; }
  .why-list li{ padding:20px 0; }
  .card__row{ flex-wrap:wrap; }
}

/* partner mark in the footer (original colours, links to the RA page) */
.footer-col a.footer-ra{ display:inline-block; margin-top:22px; padding:0; }
.footer-col a.footer-ra:hover{ transform:translateY(-2px); }
.footer-ra img{ height:44px; width:auto; }

/* ---------- Circuit pattern on ink surfaces ----------
   Echoes the traces-and-pads motif of the IT-Balance mark: thin
   right-angle traces with 45° jogs ending in round pads. Brand yellow at
   very low opacity so it reads as texture, never as decoration. */
.stat-band::before,
.cta-banner::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280' viewBox='0 0 280 280'%3E%3Cg fill='none' stroke='%23f5c518' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M34 40H90L110 60H170'/%3E%3Ccircle cx='30' cy='40' r='4'/%3E%3Ccircle cx='174' cy='60' r='4'/%3E%3Cpath d='M200 24V70L220 90V130'/%3E%3Ccircle cx='200' cy='20' r='4'/%3E%3Ccircle cx='220' cy='134' r='4'/%3E%3Cpath d='M44 150H100L120 170V230'/%3E%3Ccircle cx='40' cy='150' r='4'/%3E%3Ccircle cx='120' cy='234' r='4'/%3E%3Cpath d='M164 200H226L246 180H258'/%3E%3Ccircle cx='160' cy='200' r='4'/%3E%3Ccircle cx='262' cy='180' r='4'/%3E%3Cpath d='M64 252H96'/%3E%3Ccircle cx='60' cy='252' r='4'/%3E%3Ccircle cx='100' cy='252' r='4'/%3E%3Cpath d='M252 250V222'/%3E%3Ccircle cx='252' cy='254' r='4'/%3E%3Ccircle cx='252' cy='218' r='4'/%3E%3Cpath d='M154 110H172L184 122'/%3E%3Ccircle cx='150' cy='110' r='4'/%3E%3C/g%3E%3C/svg%3E");
  background-size:300px 300px;
  opacity:.075;
}
.cta-banner::before{
  background-position:-40px -60px;
  /* keep the centre (headline, buttons) clean; the traces live at the edges */
  -webkit-mask-image:radial-gradient(ellipse 60% 70% at 50% 50%, transparent 35%, #000 85%);
          mask-image:radial-gradient(ellipse 60% 70% at 50% 50%, transparent 35%, #000 85%);
}
.stat-band__grid{ z-index:1; }


/* ============================================================
   MOBILE — single centred column
   Everything sits on the centre axis. Exceptions on purpose:
   data tables, label/value rows inside the hero sheets, the case
   case KPI rules and the FAQ accordion keep their row structure — centring those would
   break the pairing of a label with its value.
   ============================================================ */
@media (max-width:760px){
  /* text blocks */
  .page-hero .container,
  .hero-copy, .section-head, .services-head > div, .why__head,
  .card, .feature, .step, .value, .case, .case > p,
  .why-list li, .grid-lined > *, .spec-list li,
  .stat-band__item, .cta-banner, .footer-grid, .footer-col,
  .ra-teaser__copy, .ra-boar, .ra-big, .ra-layer, .ra-stack__join,
  .group-label, .center, .split, .stack, .stack-sm, .stack-lg, p.faint{ text-align:center; }
  .stack, .stack-sm, .stack-lg{ align-items:center; }

  /* flex columns → centred */
  .hero-copy, .section-head, .services-head, .services-head > div, .why__head,
  .card, .feature, .step, .case, .case__head, .value,
  .stat-band__item, .grid-lined > *{ align-items:center; }

  .page-hero__crumb, .row-btns, .tags, .cta-banner__actions, .case__meta,
  .case__foot, .footer-soc, .footer-bottom, .ra-hero__brand, .ra-chips,
  .ra-layer__top, .ra-stack__join, .ra-pay__legend{ justify-content:center; }

  .measure, .measure-sm, .lead, .card p, .feature p, .step p, .value p,
  .why-list p, .spec-list p, .grid-lined p, .footer-about p, .ra-boar p{ margin-inline:auto; }

  /* eyebrow gets a rule on both sides */
  .eyebrow{ justify-content:center; }
  .eyebrow::after{ content:""; width:20px; height:3px; border-radius:2px; background:var(--accent); }
  .eyebrow::before{ width:20px; }

  /* icons / marks on the axis */
  .card__icon, .feature__ic, .value__ic, .case__ic, .gl__ic,
  .why-list li > span, .spec-list li > span,
  .ra-logo, .ra-boar img{ margin-inline:auto; }

  /* list items with a side icon become stacked */
  .why-list li, .spec-list li{ display:flex; flex-direction:column; align-items:center; gap:10px; }
  .value{ flex-direction:column; }
  .services-head{ flex-direction:column; }
  .case__head{ flex-direction:column; }
  .stat-band__item{ flex-direction:column; gap:8px; }
  .stat-band__label{ max-width:none; }
  .ra-big{ flex-direction:column; gap:8px; }
  .ra-boar{ justify-items:center; }
  .ra-hero__brand .mono{ text-align:center; }
  .ra-layer__top{ flex-direction:column; }

  /* rows with rules must keep full width inside centred flex columns */
  .card__row, .case__kpis, .case__foot, .case__meta, .check-list{ width:100%; }

  /* product cards: price and action stacked */
  .card__row{ flex-direction:column; align-items:center; gap:10px; }
  .card__row .card__price, .card__price, .card__foot{ margin-inline:auto; }

  /* footer */
  .footer-col a{ text-align:center; }
  .footer-col a.footer-ra{ margin-inline:auto; }
  .footer-bottom{ text-align:center; }

  /* the panel (hero sheet) is centred as an object, rows inside keep pairs */
  .hero-visual{ justify-content:center; }
  .panel__row, .panel__meter-top, .panel__big{ text-align:left; }
}


/* ============================================================
   POLISH PASS — balance, one icon language, price cards,
   Fresh matrix, contacts, mobile details
   ============================================================ */

/* ---------- Hero balance: sheet sized up and aligned to the headline ---------- */
.hero-split{ align-items:start; }
.hero-visual{ min-height:0; align-items:flex-start; justify-content:flex-end; padding-top:26px; }
.panel{ width:min(480px,100%); padding:30px; }
.panel__title{ font-size:.9rem; }
.panel__row{ font-size:1rem; padding:13px 4px; }
.panel__big b{ font-size:1.9rem; }

/* ---------- Small labels: readable grey (was the faint tone) ---------- */
.card__tag, .case__tag, .panel__live, .ra-links__h, .footer-col h4,
.footer-bottom, .page-hero__crumb, .ra-hero__brand .mono, .ra-pay__lbl,
.case__foot .faint, .panel__row--price span small{ color:var(--text-dim); }

/* ---------- One icon language: tiles in cards, bare icons in lists ---------- */
.value__ic{ width:28px; height:28px; border-radius:0; background:none; box-shadow:none; color:var(--text); margin-top:2px; }
.value__ic svg{ width:26px; height:26px; }
.value{ gap:18px; }

/* ---------- RA teaser: plain line instead of pills ---------- */
.ra-teaser__gains{ margin-top:18px; font-weight:600; color:var(--text); }

/* ---------- Support: tariff price cards ---------- */
.price-cards{ align-items:stretch; }
.price{ background:var(--paper); display:flex; flex-direction:column; border-radius:var(--r-lg); }
.price:hover{ border-color:var(--text); box-shadow:var(--sh-1); }
.price__name{ font-family:var(--font-mono); font-weight:600; font-size:.9rem; letter-spacing:.12em; text-transform:uppercase; color:var(--text-dim); }
.price__amount{ margin:18px 0 4px; flex-wrap:wrap; }
.price__val{ font-variant-numeric:tabular-nums; }
.price__cur{ color:var(--text-dim); }
.price__per{ color:var(--text-dim); font-family:var(--font-body); font-size:.95rem; }
.price__per b{ color:var(--text); font-weight:600; white-space:nowrap; }
.price__list{ margin:24px 0 28px; padding-top:22px; border-top:1px dashed var(--line-strong); }
.price__list li{ color:var(--text); }
.price__list li svg{ color:var(--text); }
.price__list li.off{ color:var(--text-dim); opacity:1; }
.price__list li.off svg{ color:var(--text-dim); }
.price .btn{ margin-top:auto; }

/* ---------- Products: Fresh as a tariff × period matrix ---------- */
.cmp--matrix{ min-width:640px; }
.cmp--matrix caption{ caption-side:top; text-align:left; padding:18px 24px 0; font-family:var(--font-mono); font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; color:var(--text-dim); }
.cmp--matrix th, .cmp--matrix td{ padding:20px 18px; font-variant-numeric:tabular-nums; }
.cmp--matrix thead th{ font-family:var(--font-mono); font-weight:600; font-size:.85rem; color:var(--text-dim); }
.cmp--matrix thead th:first-child{ color:var(--text-dim); }
.cmp--matrix tbody th{ text-align:left; font-family:var(--font-display); font-weight:700; font-size:1.1rem; color:var(--text); border-bottom:1px solid var(--line); }
.cmp--matrix tbody td{ color:var(--text); font-weight:500; }
.cmp--matrix tbody tr:last-child th, .cmp--matrix tbody tr:last-child td{ border-bottom:0; }
.cmp--matrix td.na{ color:var(--text-dim); }
.cmp--matrix tbody tr:hover > *{ background:var(--surface-2); }

/* ---------- Contacts: map matches the card height ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(24px,3.6vw,48px); align-items:stretch; }
.contact-map{ position:relative; min-height:360px; border-radius:var(--r); overflow:hidden; box-shadow:inset 0 0 0 1px var(--line); background:var(--surface); }
.contact-map iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.contact-card{ padding:10px 30px; }
.contact-card:hover{ transform:none; border-color:var(--line); box-shadow:none; }
.contact-card .value{ padding:22px 0; }

/* ---------- Floating WhatsApp: out of the way while reading ---------- */
.float-msg{ transition:transform .35s var(--ease), opacity .35s var(--ease); }

@media (max-width:860px){
  .contact-grid{ grid-template-columns:1fr; }
  .contact-map{ min-height:300px; }
}

@media (max-width:760px){
  /* hero sheet: value under its label so rows never cramp */
  .hero-visual{ justify-content:center; padding-top:0; }
  .panel{ padding:22px; }
  .panel__row{ flex-direction:column; align-items:flex-start; gap:4px; }
  .panel__row--price b{ white-space:normal; }

  /* stat band: three compact columns in one row */
  .stat-band__grid{ grid-template-columns:repeat(3,1fr); }
  .stat-band__item{ padding:22px 4px; gap:6px; }
  .stat-band__num{ font-size:2.1rem; }
  .stat-band__label{ font-size:.8rem; line-height:1.3; }

  /* price cards & matrix */
  .price{ align-items:center; text-align:center; }
  .price__amount{ justify-content:center; }
  .price__list{ align-self:stretch; }
  .price__list li{ justify-content:center; text-align:left; }
  .cmp--matrix caption{ text-align:center; }

  .contact-card{ padding:6px 20px; }
  .contact-card .value{ padding:18px 0; }

  .float-msg.is-hidden{ transform:translateY(140%); opacity:0; pointer-events:none; }
}



/* ============================================================
   ACCENTS — lead rule
   ============================================================ */
/* main paragraph of a section: yellow rule on the left, ink text */
.lead-mark{ border-left:3px solid var(--accent); padding-left:18px; color:var(--text); }


@media (max-width:760px){
  /* centred column: the rule moves above the paragraph */
  .lead-mark{ border-left:0; padding-left:0; }
  .lead-mark::before{ content:""; display:block; width:40px; height:3px; border-radius:2px; background:var(--accent); margin:0 auto 14px; }
}

/* whole headline in the accent treatment: ink letters, brand-yellow outline */
.display--outline{ -webkit-text-stroke:.12em var(--accent); paint-order:stroke fill; }
