/* ============================================================
   ALEF-LEGAL · Регистрация товарного знака — редизайн
   Rebuilt stylesheet (cream / rust / ink editorial look)
   ============================================================ */

:root{
  --cream:    oklch(99.5% 0.005 75);  /* фон как на aleflegal.ru (--bg) */
  --cream-2:  oklch(96.5% 0.007 75);  /* альт. секции (--bg-alt) */
  --paper:    #ffffff;                /* карточки — белые, как на сайте */
  --ink:      #141414;
  --ink-2:    #1d1d1d;
  --ink-3:    #2a2a2a;
  --orange:   #EF4D23;
  --orange-d: #d83e12;
  --green:    #1f8a5b;
  --line:     rgba(20,20,20,.12);
  --line-2:   rgba(20,20,20,.07);
  --line-dark:rgba(255,255,255,.12);
  --dim:      rgba(20,20,20,.60);
  --dim-2:    rgba(20,20,20,.42);
  --dim-dark: rgba(245,239,230,.62);

  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --maxw: 1200px;
  --radius: 18px;
  --header-h: 72px;
  --line-soft: rgba(20,20,20,.06);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*{ box-sizing: border-box; }
html{ background: var(--cream); scroll-behavior: smooth; }
body{
  margin:0; padding:0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a{ color: inherit; text-decoration: none; }
img{ max-width:100%; display:block; }
::selection{ background: var(--orange); color:#fff; }

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

/* ---------- reveal on scroll ---------- */
.reveal{ opacity:0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in{ opacity:1; transform:none; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  display:inline-flex; align-items:center; gap:9px;
  font-family: var(--sans); font-weight:700; font-size:15px;
  padding: 13px 22px; border-radius: 12px; border:1px solid transparent;
  cursor:pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space:nowrap; line-height:1;
}
.btn:hover{ transform: translateY(-2px); }
.btn .arr{ font-size:.95em; transition: transform .2s ease; }
.btn:hover .arr{ transform: translate(2px,-2px); }
.btn-lg{ padding: 17px 28px; font-size:16px; border-radius:14px; }

.btn-orange{ background: var(--orange); color:#fff; }
.btn-orange:hover{ background: var(--orange-d); box-shadow:0 16px 34px rgba(239,77,35,.30); }

.btn-ink{ background: var(--ink); color:#fff; }
.btn-ink:hover{ background:#000; box-shadow:0 14px 30px rgba(0,0,0,.22); }

.btn-ghost{ background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover{ border-color: var(--ink); background: rgba(20,20,20,.03); }

.btn-cream{ background: var(--cream); color: var(--ink); }
.btn-cream:hover{ background:#fff; }

/* ============================================================
   HEADER — site standard menu (как на aleflegal.ru)
   ============================================================ */
.container{ max-width: var(--maxw); margin:0 auto; padding:0 32px; }

.header{
  position: fixed; top:0; left:0; right:0; z-index:100;
  height: var(--header-h);
  background: oklch(99.5% 0.005 75 / 82%);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom:1px solid var(--line-soft);
  display:flex; align-items:center;
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; width:100%; }
.brand{ font-weight:800; font-size:20px; letter-spacing:-.02em; display:inline-flex; align-items:center; gap:7px; color:var(--ink); }
.brand-mark{ width:11px; height:11px; background:var(--orange); border-radius:50%; display:inline-block; }
.header .nav{ display:flex; align-items:center; gap:4px; }
.nav-item{ position:relative; }
.nav-link{ display:inline-flex; align-items:center; gap:6px; padding:10px 14px; font-size:15px; font-weight:500; color:var(--ink); border-radius:999px; transition: background .2s var(--ease), color .2s var(--ease); }
.nav-link:hover, .nav-link.active{ background: var(--cream-2); }
.nav-link svg{ transition: transform .25s var(--ease); }
.nav-item:hover .nav-link svg{ transform: rotate(180deg); }
.dropdown{ position:absolute; top:calc(100% + 8px); left:0; min-width:280px; background:#fff; border:1px solid var(--line); border-radius:18px; padding:8px; box-shadow:0 24px 60px rgba(0,0,0,.10),0 4px 12px rgba(0,0,0,.04); opacity:0; visibility:hidden; transform:translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown{ opacity:1; visibility:visible; transform:translateY(0); }
.dropdown a{ display:block; padding:12px 14px; font-size:15px; color:var(--ink); border-radius:12px; transition: background .2s var(--ease); }
.dropdown a:hover{ background: var(--cream-2); }
.header-meta{ display:flex; align-items:center; gap:14px; }
.header-tel{ font-size:15px; font-weight:600; color:var(--ink); }
.header-tel:hover{ color:var(--orange); }
.btn-dark{ background:var(--ink); color:#fff; }
.btn-dark:hover{ background:#000; }
.header-cta{ padding:10px 18px; font-size:14px; border-radius:12px; }
.header-cta .arrow{ transition: transform .2s ease; }
.header-cta:hover .arrow{ transform: translate(2px,-2px); }
.menu-toggle{ display:none; width:44px; height:44px; border-radius:50%; border:1px solid var(--line); background:transparent; position:relative; cursor:pointer; }
.menu-toggle span{ position:absolute; left:12px; width:20px; height:1.5px; background:var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1){ top:18px; }
.menu-toggle span:nth-child(2){ top:24px; }
.menu-toggle.open span:nth-child(1){ transform: translateY(3px) rotate(45deg); }
.menu-toggle.open span:nth-child(2){ transform: translateY(-3px) rotate(-45deg); }

/* logo — используется в подвале */
.logo{ display:inline-flex; align-items:center; gap:9px; font-weight:800; letter-spacing:.04em; font-size:18px; }
.logo .dot{ width:10px; height:10px; border-radius:50%; background: var(--orange); }

/* отступ под фиксированную шапку */
body{ padding-top: var(--header-h); }
section[id]{ scroll-margin-top: calc(var(--header-h) + 16px); }

/* мобильное меню */
@media (max-width: 980px){
  .header .nav{
    position:fixed; top:var(--header-h); left:0; right:0;
    flex-direction:column; align-items:stretch; gap:2px;
    background:#fff; border-bottom:1px solid var(--line);
    padding:14px 22px 22px; box-shadow:0 24px 40px rgba(0,0,0,.10);
    transform: translateY(-14px); opacity:0; visibility:hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .header.nav-open .nav{ transform:none; opacity:1; visibility:visible; }
  .nav-link{ width:100%; }
  .dropdown{ position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:none; padding:2px 0 6px 12px; min-width:0; }
  .header-tel{ display:none; }
  .menu-toggle{ display:block; }
}

/* ============================================================
   GENERIC SECTION
   ============================================================ */
.sec{ padding: 92px 0; }
.sec-tight{ padding: 40px 0; }
/* сократить разрыв между «Почему мы» и «Кто ведёт дело» */
#why{ padding-bottom: 50px; }
section[data-screen-label="Кто ведёт дело"]{ padding-top: 36px; }

.eyebrow{
  display:inline-flex; align-items:center; gap:7px;
  font-family: var(--mono); font-size:12.5px; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase; color: var(--dim);
}
.eyebrow .num{ color: var(--orange); }
.eyebrow .sep{ color: var(--dim-2); }

.section-head{ max-width: 760px; margin-bottom: 52px; }
.h-section{
  font-size: clamp(30px, 4vw, 46px); font-weight:800; line-height:1.32;
  letter-spacing:-.02em; margin:0;
}
.lead-2{ font-size:18px; color: var(--dim); margin: 16px 0 0; max-width: 640px; }
.section-rule{ height:1px; background: var(--line); margin-top: 30px; }

/* mark = orange highlighter block fill (заливка маркером) */
.mark{
  display: inline; color:#fff; background: var(--orange);
  padding: .05em .22em; border-radius: 6px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.txt-orange{ color: var(--orange); }

/* ============================================================
   HERO
   ============================================================ */
.hero{ padding: 54px 0 64px; }
.crumbs{ display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:42px; flex-wrap:wrap; }
.breadcrumb{ font-size:13.5px; color: var(--dim); font-family: var(--mono); }
.breadcrumb a:hover{ color: var(--orange); }
.breadcrumb .sep{ margin:0 8px; color: var(--dim-2); }
.price-pill{
  display:inline-flex; align-items:center; gap:6px;
  background: var(--ink); color:#fff; font-size:13.5px; font-weight:600;
  padding:9px 16px; border-radius:999px;
}
.price-pill b{ color: var(--orange); }

.hero-grid{ display:grid; grid-template-columns: 1.35fr .85fr; gap: 48px; align-items: start; }

.hero-main .eyebrow{ margin-bottom: 4px; }
.h-display{
  font-size: clamp(44px, 6.4vw, 88px);
  font-weight:800; letter-spacing:-.03em;
  line-height: 1.28;            /* room so the highlight block never collides */
  margin:0;
}
/* выделение «товарного знака» в герое — чуть уже по бокам */
.h-display .mark{ padding-left:.08em; padding-right:.1em; display:inline-block; transform: rotate(-2.5deg); transform-origin:center; }
.lead{ font-size:18.5px; color: var(--dim); margin: 26px 0 0; max-width: 600px; }
.cta-row{ display:flex; gap:14px; margin-top: 32px; flex-wrap:wrap; }

/* hero side card */
.hero-side{
  background: var(--paper); border:1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: 0 24px 50px rgba(20,20,20,.06);
}
/* fix #3: distinct badge text + colour */
.hero-side .badge{
  display:inline-block; font-family: var(--mono); font-size:12px; font-weight:700;
  letter-spacing:.12em; text-transform:uppercase;
  color: var(--orange); background: rgba(239,77,35,.10);
  padding:5px 11px; border-radius:7px;
}
.hero-side .big{ font-size: 48px; font-weight:800; letter-spacing:-.02em; margin: 16px 0 2px; }
.hero-side .big .cur{ color: var(--orange); }
.hero-side .sub{ font-size:14px; color: var(--dim); }
.hero-side ul{ list-style:none; margin: 20px 0 0; padding:0; display:grid; gap:13px; }
.hero-side li{ display:flex; gap:10px; font-size:14.5px; line-height:1.45; }
.ck{ color: var(--orange); font-weight:800; flex:none; }

/* hero anchors */
.anchors{
  display:grid; grid-template-columns: repeat(7, 1fr); gap:0;
  margin-top: 54px; border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}
.anchors a{
  padding: 18px 14px; font-size:13.5px; font-weight:600; color: var(--dim);
  border-left:1px solid var(--line-2); transition: color .15s, background .15s;
  display:flex; flex-direction:column; gap:5px;
}
.anchors a:first-child{ border-left:none; }
.anchors a .n{ font-family: var(--mono); font-size:11px; color: var(--orange); }
.anchors a:hover{ color: var(--ink); background: rgba(20,20,20,.03); }

/* ============================================================
   STATS BAND (dark)
   ============================================================ */
.band-dark{ background: var(--ink); color:#fff; padding: 56px 0; }
.stats{ display:grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.stats .cell{ border-left:1px solid var(--line-dark); padding-left:22px; }
.stats .cell:first-child{ border-left:none; padding-left:0; }
.stat-num{ font-size: 46px; font-weight:800; letter-spacing:-.02em; color: var(--orange); line-height:1; }
.stat-num.plain{ color:#fff; font-size:32px; line-height:1.05; }
.stat-lbl{ font-size:14px; color: var(--dim-dark); margin-top:12px; max-width: 220px; }

/* ============================================================
   WHAT'S INCLUDED
   ============================================================ */
.incl-list{ display:grid; gap:0; border-top:1px solid var(--line); }
.incl-item{
  display:grid; grid-template-columns: 110px 1fr; gap:24px;
  padding: 28px 0; border-bottom:1px solid var(--line);
  transition: background .2s;
}
.incl-item:hover{ background: rgba(239,77,35,.035); }
.incl-item .idx{ font-family: var(--mono); font-size:20px; font-weight:700; color: var(--orange); }
.incl-item h4{ margin:0 0 7px; font-size:20px; font-weight:700; }
.incl-item p{ margin:0; color: var(--dim); font-size:15.5px; max-width: 720px; }

/* «Что входит» — две колонки: заголовок слева (sticky) + компактный список справа */
#whats-included .wrap{ display:grid; grid-template-columns:.82fr 1.18fr; gap:56px; align-items:start; }
#whats-included .section-head{ position:sticky; top:92px; margin-bottom:0; max-width:none; }
#whats-included .incl-list{ border-top:none; }
#whats-included .incl-item{ grid-template-columns:60px 1fr; gap:16px; padding:16px 18px; border-bottom:none; border-radius:12px; }
#whats-included .incl-item + .incl-item{ border-top:1px solid var(--line); }
#whats-included .incl-item:hover{ border-top-color:transparent; background:#fff; box-shadow:0 10px 28px rgba(20,20,20,.06); }
#whats-included .incl-item:hover + .incl-item{ border-top-color:transparent; }
#whats-included .incl-item .idx{ font-size:15px; }
#whats-included .incl-item h4{ font-size:17px; margin-bottom:5px; }
#whats-included .incl-item p{ font-size:14.5px; }

/* ============================================================
   TARIFFS
   ============================================================ */
.tariffs{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; }
.tcard{
  background: var(--paper); border:1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display:flex; flex-direction:column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.tcard:hover{ transform: translateY(-4px); box-shadow:0 22px 44px rgba(20,20,20,.08); }
.tcard.feat{
  background: var(--paper);
  border:1.5px solid var(--orange);
  box-shadow: 0 0 0 5px rgba(239,77,35,.12), 0 22px 50px rgba(239,77,35,.20);
  position:relative; z-index:2;
}
.tcard.feat .price{ color: var(--orange); }
.tcard.feat:hover{ transform: translateY(-6px); box-shadow: 0 0 0 5px rgba(239,77,35,.18), 0 34px 66px rgba(239,77,35,.30); }
.ttop{ display:flex; align-items:center; justify-content:space-between; font-family: var(--mono); font-size:13px; font-weight:600; color: var(--dim); letter-spacing:.04em; }
.ttop .pop{ background: var(--orange); color:#fff; font-family: var(--sans); font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; padding:4px 9px; border-radius:6px; }
.tcard h4{ margin:14px 0 18px; font-size:19px; font-weight:700; line-height:1.3; }
.tcard ul{ list-style:none; margin:0 0 22px; padding:0; display:grid; gap:11px; }
.tcard li{ display:flex; gap:9px; font-size:14.5px; color: var(--ink-3); line-height:1.4; }
.tcard .price{ margin-top:auto; font-size:30px; font-weight:800; letter-spacing:-.02em; display:flex; flex-direction:column; gap:4px; }
.tcard .price .gp{ font-size:13px; font-weight:600; color: var(--dim); letter-spacing:0; }
.tbtn{ margin-top:18px; justify-content:center; }

.guarantee{
  margin-top: 26px; display:flex; align-items:center; gap:13px;
  background: rgba(239,77,35,.07); border:1px solid rgba(239,77,35,.25);
  border-radius:14px; padding:16px 22px; font-size:15px;
}
.guarantee b{ color: var(--orange); }
.guarantee .shield{ font-size:22px; filter: grayscale(1); }

/* ============================================================
   CALCULATOR
   ============================================================ */
.calc{ display:grid; grid-template-columns: 1.1fr .9fr; gap:24px; align-items:stretch; }
.params{ background: var(--paper); border:1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.params h3{ margin:0 0 22px; font-size:18px; font-weight:700; }
.field{ margin-bottom:24px; }
.fieldlbl{ font-size:14px; font-weight:700; margin-bottom:11px; display:flex; align-items:center; gap:10px; }
.fieldlbl .hint{ font-family: var(--mono); font-size:11.5px; font-weight:500; color: var(--dim-2); }

.segmented{ display:inline-flex; background: var(--cream-2); border-radius:11px; padding:4px; gap:4px; }
.segmented .seg{ border:none; background:transparent; padding:10px 18px; border-radius:8px; font-family: var(--sans); font-weight:700; font-size:14px; color: var(--dim); cursor:pointer; transition: all .18s; }
.segmented .seg:hover{ color: var(--ink); }
.segmented .seg.active{ background: var(--ink); color:#fff; }

.stepper{ display:inline-flex; align-items:center; gap:0; border:1px solid var(--line); border-radius:11px; overflow:hidden; }
.stepper button{ width:46px; height:46px; border:none; background: var(--cream-2); font-size:22px; cursor:pointer; color: var(--ink); transition: background .15s; }
.stepper button:hover{ background: var(--orange); color:#fff; }
.stepper .val{ width:62px; text-align:center; font-size:18px; font-weight:800; }

/* товары по классам */
.goods-rows{ display:grid; gap:8px; max-height:220px; overflow-y:auto; padding-right:4px; }
.goods-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.goods-row .grow-lbl{ font-size:14px; font-weight:600; color: var(--ink-3); }
.stepper-sm button{ width:36px; height:36px; font-size:18px; }
.stepper-sm .val{ width:46px; font-size:15px; }

.toggle-row{ display:flex; align-items:center; justify-content:space-between; gap:16px; cursor:pointer; user-select:none; padding:16px 18px; border:1px solid var(--line); border-radius:13px; transition: border-color .2s, background .2s; }
.toggle-row:hover{ border-color: var(--ink); }
.toggle-row.on{ border-color: var(--orange); background: rgba(239,77,35,.05); }
.toggle-row .tt{ font-weight:700; font-size:15px; }
.toggle-row .ts{ font-size:13px; color: var(--dim); margin-top:3px; max-width: 340px; }
.switch{ flex:none; width:50px; height:28px; border-radius:999px; background: var(--cream-2); position:relative; transition: background .2s; }
.switch::after{ content:""; position:absolute; top:3px; left:3px; width:22px; height:22px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.toggle-row.on .switch{ background: var(--orange); }
.toggle-row.on .switch::after{ transform: translateX(22px); }

.result{ background: var(--ink); color:#fff; border-radius: var(--radius); padding: 30px; display:flex; flex-direction:column; }
.rlbl{ font-family: var(--mono); font-size:12.5px; letter-spacing:.12em; text-transform:uppercase; color: var(--dim-dark); }
.total{ font-size: 50px; font-weight:800; letter-spacing:-.02em; margin: 10px 0 6px; line-height:1; }
.total .cur{ color: var(--orange); }
.meta{ font-size:13.5px; color: var(--dim-dark); }
.meta b{ color:#fff; }
.breakdown{ margin: 22px 0; border-top:1px solid var(--line-dark); }
.brow{ display:flex; justify-content:space-between; padding:13px 0; border-bottom:1px solid var(--line-dark); font-size:14.5px; }
.brow span{ color: var(--dim-dark); }
.rbtn{ margin-top:auto; justify-content:center; }

/* ============================================================
   FREE CHECK CTA
   ============================================================ */
.freecheck{
  background: var(--ink); color:#fff; border-radius: 22px;
  padding: 40px 44px; display:flex; align-items:center; justify-content:space-between; gap:30px;
  position:relative; overflow:hidden;
}
.freecheck::before{ content:""; position:absolute; right:-60px; top:-60px; width:240px; height:240px; border-radius:50%; background: radial-gradient(circle, rgba(239,77,35,.30), transparent 70%); }
.fc-txt{ position:relative; z-index:1; }
/* fix #10: distinct colour for this eyebrow */
.freecheck .eyebrow{ color: var(--orange); }
.freecheck h3{ margin:12px 0 8px; font-size: 28px; font-weight:800; letter-spacing:-.02em; }
.freecheck p{ margin:0; color: var(--dim-dark); max-width: 560px; font-size:15.5px; }
.fc-btn{ flex:none; position:relative; z-index:1; }

/* ============================================================
   PROCESS / TIMELINE  (fix #12: hover animation)
   ============================================================ */
.timeline{ display:grid; grid-template-columns: repeat(5,1fr); gap:18px; }
.tstep{
  position:relative; background: var(--paper); border:1px solid var(--line);
  border-radius: 16px; padding: 22px 20px 24px; cursor:default;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s, background .3s;
}
.tstep::before{
  content:""; position:absolute; left:0; top:0; height:100%; width:4px;
  background: var(--orange); border-radius:16px 0 0 16px;
  transform: scaleY(0); transform-origin: top; transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.tstep:hover{ transform: translateY(-6px); box-shadow:0 22px 44px rgba(20,20,20,.10); border-color: transparent; }
.tstep:hover::before{ transform: scaleY(1); }
.tstep-bar{ height:5px; border-radius:5px; background: var(--cream-2); overflow:hidden; margin-bottom:16px; }
.tstep-bar::after{
  content:""; display:block; height:100%; width: var(--fill,100%);
  background: linear-gradient(90deg, var(--orange), var(--orange-d));
  transform: scaleX(0); transform-origin:left; transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.tstep:hover .tstep-bar::after, .reveal.in .tstep-bar::after{ transform: scaleX(1); }
.tstep-when{ font-family: var(--mono); font-size:12.5px; font-weight:600; color: var(--orange); letter-spacing:.04em; }
.tstep h4{ margin:8px 0 8px; font-size:18px; font-weight:700; transition: color .2s; }
.tstep p{ margin:0; font-size:14px; color: var(--dim); line-height:1.45; transition: color .2s; }
.tstep:hover h4{ color: var(--orange); }

/* ============================================================
   WHY US  (fix #13: hover-fill cards)
   ============================================================ */
.why-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:18px; }
.wcard{
  position:relative; background: transparent; border:1px solid var(--line);
  border-radius: 16px; padding: 26px 24px 28px; overflow:hidden;
  transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s, background .28s, border-color .28s, color .28s;
}
.wcard:hover{ transform: translateY(-5px); background: var(--orange); border-color: var(--orange); color:#fff; box-shadow:0 22px 44px rgba(239,77,35,.28); }
.wcard .metric{ font-size: 40px; font-weight:800; letter-spacing:-.02em; color: var(--orange); line-height:1; transition: color .28s; }
.wcard:hover .metric{ color:#fff; }
.wcard h4{ margin:12px 0 8px; font-size:18px; font-weight:700; }
.wcard p{ margin:0; font-size:14.5px; color: var(--dim); line-height:1.45; transition: color .28s; }
.wcard:hover p{ color: rgba(255,255,255,.85); }
.wcard .tag{ font-family: var(--mono); font-size:12px; font-weight:600; letter-spacing:.06em; color: var(--orange); transition: color .28s; }
.wcard:hover .tag{ color:#fff; }
/* pre-filled (ink) card */
.wcard--ink{ background: var(--ink); border-color: var(--ink); color:#fff; }
.wcard--ink .metric{ color: var(--orange); }
.wcard--ink p{ color: var(--dim-dark); }
.wcard--ink:hover{ background: var(--orange); border-color: var(--orange); }
.wcard--ink:hover .metric{ color:#fff; }

/* ============================================================
   CASES + REVIEWS
   ============================================================ */
.cases{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; margin-bottom: 40px; }
.casecard{ display:block; color:inherit; background: var(--paper); border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.casecard:hover{ transform: translateY(-4px); box-shadow:0 22px 44px rgba(20,20,20,.08); border-color: var(--orange); }
.cc-link{ display:inline-block; margin-top:14px; font-family: var(--mono); font-size:12.5px; font-weight:600; color: var(--orange); opacity:0; transform: translateY(4px); transition: opacity .25s, transform .25s; }
.casecard:hover .cc-link{ opacity:1; transform:none; }
.cc-logo{
  height: 210px; display:flex; align-items:center; justify-content:center;
  padding: 30px 36px; background:#f4f1ec; border-bottom:1px solid var(--line);
}
.cc-logo img{
  max-width:100%; max-height:100%; object-fit:contain;
  filter: grayscale(100%) contrast(.9) brightness(1.05); opacity:.5;
  transition: filter .4s ease, opacity .4s ease, transform .4s ease;
}
.casecard:hover .cc-logo img{ filter:none; opacity:1; transform: scale(1.05); }
.cc-body{ padding: 22px; }
.cc-tag{ font-family: var(--mono); font-size:12px; color: var(--orange); font-weight:600; }
.cc-body h4{ margin:9px 0 8px; font-size:18px; font-weight:700; }
.cc-body p{ margin:0; font-size:14.5px; color: var(--dim); line-height:1.45; }

.reviews{ display:grid; grid-template-columns: .8fr 1.2fr; gap:22px; }
.rating-card{ background: var(--ink); color:#fff; border-radius: var(--radius); padding: 30px; }
.rating-card .big{ font-size: 56px; font-weight:800; line-height:1; }
.rating-card .stars{ color:#ffb020; font-size:20px; letter-spacing:3px; margin:8px 0 14px; }
.rating-card p{ margin:0; color: var(--dim-dark); font-size:14.5px; }
.review-list{ display:grid; gap:18px; }
.review{ background: var(--paper); border:1px solid var(--line); border-radius: var(--radius); padding: 24px; position:relative; }
.review .qmark{ font-size: 46px; line-height:.6; color: var(--orange); font-family: Georgia, serif; }
.review p{ margin:10px 0 18px; font-size:15px; color: var(--ink-3); }
.review .who{ display:flex; align-items:center; gap:12px; }
.review .who image-slot{ width:44px; height:44px; }
.who-photo{ width:48px; height:48px; border-radius:50%; object-fit:cover; flex:none; }
.review .nm{ font-weight:700; font-size:14.5px; }
.review .rl{ font-size:13px; color: var(--dim); }

/* ============================================================
   TEAM
   ============================================================ */
.team{ display:grid; grid-template-columns: .8fr 1.2fr; gap:40px; align-items:center; }
.team-photo image-slot{ width:100%; height: 420px; }
.ceo-img{ width:100%; height: 480px; object-fit: cover; object-position: center top; border-radius: 18px; }
.team .name{ font-size: 30px; font-weight:800; letter-spacing:-.02em; }
.team .role{ font-family: var(--mono); font-size:13.5px; color: var(--orange); margin:6px 0 16px; }
.team p{ margin:0 0 20px; font-size:16px; color: var(--dim); max-width: 560px; }
.regalia{ display:flex; flex-wrap:wrap; gap:10px; }
.reg{ background: var(--paper); border:1px solid var(--line); border-radius:999px; padding:8px 15px; font-size:13.5px; }
.reg b{ color: var(--orange); }

/* ============================================================
   FAQ — MESSENGER
   ============================================================ */
.faq-grid{ display:grid; grid-template-columns: .9fr 1.1fr; gap:44px; align-items:start; }
.faq-left h2{ font-size: clamp(28px,3.4vw,40px); font-weight:800; letter-spacing:-.02em; line-height:1.12; margin:0; }
.faq-left p{ color: var(--dim); margin:18px 0 26px; font-size:16px; }

.chat{ background: var(--paper); border:1px solid var(--line); border-radius: 22px; overflow:hidden; box-shadow:0 24px 50px rgba(20,20,20,.06); }
.chat-head{ display:flex; align-items:center; gap:12px; padding:16px 20px; background: var(--ink); color:#fff; }
.chat-head .ava{ width:40px; height:40px; border-radius:50%; background: var(--orange); display:flex; align-items:center; justify-content:center; font-weight:800; }
.chat-head .nm{ font-weight:700; font-size:15px; }
.chat-head .on{ font-size:12px; color:#5ad28a; }
.chat-head .resp{ margin-left:auto; font-size:12px; color: var(--dim-dark); font-family: var(--mono); }
.chat-body{ padding: 20px; display:flex; flex-direction:column; gap:10px; max-height: 560px; overflow-y:auto; }

.bubble-q{
  align-self: flex-end; max-width: 86%; text-align:left;
  background: var(--ink); color:#fff; border:none; cursor:pointer;
  padding: 13px 17px; border-radius: 16px 16px 4px 16px;
  font-family: var(--sans); font-size:14.5px; font-weight:600; line-height:1.4;
  transition: background .18s;
}
.bubble-q:hover{ background:#000; }
.bubble-q.active{ background: var(--orange); }

.answer{ display:grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.2,.7,.2,1); }
.answer.open{ grid-template-rows: 1fr; }
.answer .inner{ overflow:hidden; }
.ans-card{
  align-self:flex-start; max-width: 90%;
  background: var(--cream-2); border-radius: 4px 16px 16px 16px;
  padding: 15px 18px; margin-top:2px;
}
.ans-card .who{ font-family: var(--mono); font-size:11px; letter-spacing:.1em; color: var(--orange); margin-bottom:8px; }
.ans-card .who .dots{ color: var(--orange); letter-spacing:0; }
.ans-card p{ margin:0 0 9px; font-size:14.5px; color: var(--ink-3); line-height:1.5; }
.ans-card p:last-child{ margin-bottom:0; }
.ans-card a{ color: var(--orange); font-weight:700; }

/* ============================================================
   CONTACT  (dark) — fix #15 pulse instead of yellow star
   ============================================================ */
.contact{ background: var(--ink); color:#fff; padding: 92px 0; }
.contact-grid{ display:grid; grid-template-columns: 1.1fr .9fr; gap:48px; align-items:start; }
.eyebrow.on-dark{ color: var(--dim-dark); }
.contact h2{ font-size: clamp(30px,4vw,48px); font-weight:800; letter-spacing:-.02em; line-height:1.34; margin:0; }
.contact h2 .mark{ color:#fff; display:inline-block; transform: rotate(-3deg); transform-origin:center; }
.contact .lead{ color: var(--dim-dark); max-width: 520px; margin-top:22px; }
.phone-big{ display:inline-block; font-size: 30px; font-weight:800; margin: 26px 0 8px; }
.phone-big:hover{ color: var(--orange); }
.email, .tg-link{ display:inline-block; color: var(--dim-dark); font-size:15px; margin-top:4px; }
.email:hover, .tg-link:hover{ color:#fff; }

/* animated pulse element (replaces yellow ✸) */
.pulse{
  display:inline-block; width:13px; height:13px; border-radius:50%;
  background: var(--orange); vertical-align:middle; margin: 0 8px 0 4px; position:relative;
}
.pulse::after{
  content:""; position:absolute; inset:0; border-radius:50%; background: var(--orange);
  animation: pulse-ring 1.8s cubic-bezier(.2,.7,.2,1) infinite;
}
@keyframes pulse-ring{ 0%{ transform: scale(1); opacity:.7; } 100%{ transform: scale(3.2); opacity:0; } }
.note{ font-family: var(--mono); font-size:14px; font-weight:500; color: var(--dim-dark); vertical-align:middle; }

/* contact form */
.form-card{ background: var(--paper); color: var(--ink); border-radius: 22px; padding: 30px; position:relative; }
.resp-badge{ position:absolute; top:-13px; right:24px; background: var(--orange); color:#fff; font-size:12.5px; font-weight:700; padding:7px 14px; border-radius:999px; }
.form-card h3{ margin:0 0 20px; font-size:22px; font-weight:800; }
.form-card input{
  width:100%; padding:14px 16px; margin-bottom:12px; border:1px solid var(--line);
  border-radius:12px; font-family: var(--sans); font-size:15px; background:#fff;
}
.form-card input:focus{ outline:none; border-color: var(--orange); }
.qlbl{ font-size:14px; font-weight:700; margin:8px 0 11px; }
.pills{ display:flex; gap:10px; margin-bottom:20px; flex-wrap:wrap; }
.pill{ display:inline-flex; align-items:center; gap:7px; border:1px solid var(--line); background:#fff; padding:10px 16px; border-radius:999px; font-family: var(--sans); font-weight:600; font-size:14px; cursor:pointer; transition: all .18s; }
.pill:hover{ border-color: var(--ink); }
.pill.active{ background: var(--ink); color:#fff; border-color: var(--ink); }
.pill .pdot{ width:7px; height:7px; border-radius:50%; background: var(--orange); }
.submit{ width:100%; justify-content:center; }
.consent{ font-size:12px; color: var(--dim); margin: 14px 0 0; line-height:1.4; }
.consent a{ color: var(--orange); }
.consent-check{ display:flex; gap:10px; align-items:flex-start; font-size:12.5px; color: var(--dim); line-height:1.45; margin: 4px 0 16px; cursor:pointer; }
.consent-check input{ width:18px; height:18px; flex:none; margin-top:1px; accent-color: var(--orange); cursor:pointer; }
.consent-check a{ color: var(--orange); font-weight:600; }
.consent-check.err{ color: var(--orange-d); font-weight:600; }
.consent-check.err input{ outline:2px solid var(--orange); outline-offset:2px; border-radius:4px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer{ background: var(--ink-2); color: var(--dim-dark); padding: 60px 0 30px; }
.footer-top{ display:grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap:32px; padding-bottom: 36px; border-bottom:1px solid var(--line-dark); }
.footer .logo{ color:#fff; }
.footer-top > div:first-child p{ margin:16px 0 0; font-size:14px; max-width: 320px; }
.fcol h5{ color:#fff; font-size:14px; margin:0 0 14px; }
.fcol a{ display:block; font-size:14px; margin-bottom:10px; transition: color .15s; }
.fcol a:hover{ color: var(--orange); }
.footer-bottom{ display:flex; justify-content:space-between; padding-top:24px; font-size:13px; flex-wrap:wrap; gap:10px; }
.footer-bottom a:hover{ color:#fff; }

/* ============================================================
   FLOATING MINI-CTA
   ============================================================ */
.minicta{
  position: fixed; left:50%; bottom:24px; transform: translate(-50%, 140%);
  background: var(--ink); color:#fff; border-radius:16px; padding:14px 18px;
  display:flex; align-items:center; gap:16px; z-index:80;
  box-shadow:0 18px 44px rgba(0,0,0,.30); transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.minicta.show{ transform: translate(-50%, 0); }
.minicta .mt{ font-size:14.5px; }
.minicta .mt b{ color: var(--orange); }
.minicta .mbtns{ display:flex; gap:8px; }
.minicta .btn{ padding:10px 16px; font-size:14px; }
.minicta .close{ background:transparent; border:none; color: var(--dim-dark); font-size:20px; cursor:pointer; line-height:1; }
.minicta .close:hover{ color:#fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px){
  .hero-grid{ grid-template-columns:1fr; }
  .calc, .reviews, .team, .faq-grid, .contact-grid{ grid-template-columns:1fr; }
  #whats-included .wrap{ grid-template-columns:1fr; gap:36px; }
  #whats-included .section-head{ position:static; }
  .stats, .timeline{ grid-template-columns: repeat(2,1fr); }
  .tariffs, .cases, .why-grid{ grid-template-columns:1fr 1fr; }
  .anchors{ grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 720px){
  .wrap{ padding:0 18px; }
  .nav, .phone{ display:none; }
  .burger{ display:flex; }
  .hero{ padding:26px 0 38px; }
  .crumbs{ margin-bottom:22px; }
  .lead{ font-size:16px; margin-top:18px; }
  .cta-row{ margin-top:22px; }
  .cta-row .btn{ flex:1; justify-content:center; }
  .sec{ padding:44px 0; }
  .section-head{ margin-bottom:28px; }
  .lead-2{ font-size:16px; }
  .tariffs, .cases, .why-grid, .timeline{ grid-template-columns:1fr; }
  .incl-item{ grid-template-columns:1fr; gap:6px; }
  #whats-included .wrap{ grid-template-columns:1fr; gap:26px; }
  #whats-included .section-head{ position:static; }

  /* dark stats band — компактно, 2×2 вместо длинной колонки */
  .band-dark{ padding:30px 0; }
  .stats{ grid-template-columns:1fr 1fr; gap:20px 16px; }
  .stats .cell{ border-left:none; padding-left:0; }
  .stat-num{ font-size:28px; }
  .stat-num.plain{ font-size:20px; }
  .stat-lbl{ font-size:12.5px; margin-top:5px; max-width:none; }

  /* быстрые якоря — 2 колонки, без длинного списка */
  .anchors{ grid-template-columns:1fr 1fr; margin-top:30px; }
  .anchors a{ padding:11px 10px; border-left:none; border-top:1px solid var(--line-2); }
  .anchors a:nth-child(1), .anchors a:nth-child(2){ border-top:none; }

  .freecheck{ flex-direction:column; align-items:flex-start; padding:26px 22px; }
  .freecheck h3{ font-size:22px; }
  .footer-top{ grid-template-columns:1fr 1fr; }
  .minicta{ left:12px; right:12px; transform: translateY(140%); width:auto; flex-wrap:wrap; padding:12px 14px; }
  .minicta.show{ transform: translateY(0); }
}
