/* ========================================================================
   НПК «Альтер» — дизайн-система
   Палитра выведена из логотипа (тёмно-графитовый + бирюзовый).
   Приём: треугольник из логотипа как сквозной знак «ориентира» —
   в диагональных срезах секций, маркерах шагов и списков.
   ======================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@500;600;700;800&family=Manrope:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root{
  /* --- цвет --- */
  --ink:        #262D35;
  --ink-2:      #3A434D;
  --ink-soft:   #5C6670;
  --teal:       #0C7088;
  --teal-deep:  #07505F;
  --teal-tint:  #E7F1F2;
  --teal-tint-2:#D6E9EB;
  --paper:      #F6F7F6;
  --surface:    #FFFFFF;
  --line:       #E1E5E5;
  --line-ink:   rgba(255,255,255,.14);
  --amber:      #B8863A;
  --amber-tint: #F6EFE1;

  /* --- типографика --- */
  --f-display: 'Unbounded', system-ui, sans-serif;
  --f-body:    'Manrope', system-ui, sans-serif;
  --f-mono:    'IBM Plex Mono', ui-monospace, monospace;

  /* --- масштаб --- */
  --container: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--f-body);
  color:var(--ink);
  background:var(--paper);
  line-height:1.6;
  font-size:17px;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--f-display); margin:0; line-height:1.14; letter-spacing:-0.01em; }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }

:focus-visible{
  outline: 2.5px solid var(--teal);
  outline-offset: 3px;
}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 28px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

/* ---------- эйбрау / мелкие лейблы ---------- */
.eyebrow{
  font-family:var(--f-mono);
  font-size:12.5px;
  font-weight:600;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:var(--teal);
  display:inline-flex;
  align-items:center;
  gap:9px;
}
.eyebrow::before{
  content:"";
  width:7px; height:7px;
  background:var(--teal);
  clip-path:polygon(50% 0%, 0% 100%, 100% 100%);
  flex:none;
}
.eyebrow--on-dark{ color:#7FD3E0; }

/* ---------- триугольный маркер (сквозной знак) ---------- */
.tri-bullet{
  display:inline-block;
  width:9px; height:9px;
  background:var(--teal);
  clip-path:polygon(50% 0%, 0% 100%, 100% 100%);
  flex:none;
}

/* ============================= HEADER ============================= */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(246,247,246,.92);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid var(--line);
}
.header-row{
  display:flex; align-items:center; justify-content:space-between;
  height:78px;
  gap:24px;
}
.brand{ display:flex; align-items:center; gap:10px; flex:none; }
.brand img{ height:40px; width:auto; }

.main-nav{ display:flex; align-items:center; gap:1px; flex:1; justify-content:center; }
.main-nav a{
  font-size:14px; font-weight:600; color:var(--ink-2);
  padding:9px 12px; border-radius:100px;
  transition:background .15s ease, color .15s ease;
  white-space:nowrap;
}
.main-nav a:hover{ background:var(--teal-tint); color:var(--teal-deep); }
.main-nav a.is-active{ background:var(--ink); color:#fff; }

.header-actions{ display:flex; align-items:center; gap:14px; flex:none; }
.phone-link{ font-family:var(--f-mono); font-size:14px; font-weight:600; color:var(--ink); display:none; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-family:var(--f-body); font-weight:700; font-size:15px;
  padding:13px 24px; border-radius:100px;
  border:1.5px solid transparent;
  transition:transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space:nowrap;
}
.btn:active{ transform:scale(.97); }
.btn-primary{ background:var(--teal); color:#fff; }
.btn-primary:hover{ background:var(--teal-deep); }
.btn-ink{ background:var(--ink); color:#fff; }
.btn-ink:hover{ background:#151A1F; }
.btn-outline{ background:transparent; color:var(--ink); border-color:var(--ink); }
.btn-outline:hover{ background:var(--ink); color:#fff; }
.btn-outline-light{ background:transparent; color:#fff; border-color:var(--line-ink); }
.btn-outline-light:hover{ background:rgba(255,255,255,.1); border-color:#fff; }
.btn-sm{ padding:10px 18px; font-size:13.5px; }
.btn-block{ width:100%; }

.nav-toggle{
  display:none; flex:none;
  width:44px; height:44px; border-radius:100px;
  border:1.5px solid var(--line); background:var(--surface);
  align-items:center; justify-content:center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; display:block; width:18px; height:2px; background:var(--ink); position:relative;
  transition:transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before{ position:absolute; top:-6px; }
.nav-toggle span::after{ position:absolute; top:6px; }
.nav-toggle.is-active span{ background:transparent; }
.nav-toggle.is-active span::before{ top:0; transform:rotate(45deg); }
.nav-toggle.is-active span::after{ top:0; transform:rotate(-45deg); }

/* ============================= HERO ============================= */
.hero{
  position:relative;
  background:var(--ink);
  color:#fff;
  overflow:hidden;
  padding:76px 0 0;
}
.hero-grid{
  display:grid; grid-template-columns:1.05fr .95fr; gap:40px; align-items:center;
  padding-bottom:64px;
  position:relative; z-index:2;
}
.hero h1{
  font-size:clamp(34px, 4.6vw, 54px);
  color:#fff;
  margin:18px 0 22px;
}
.hero h1 em{ font-style:normal; color:#7FD3E0; }
.hero p.lead{
  font-size:18px; color:rgba(255,255,255,.72); max-width:52ch; margin-bottom:32px;
}
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }

.hero-art{ position:relative; min-height:360px; display:flex; align-items:center; justify-content:center; }
.hero-logo-panel{
  position:relative; width:min(430px,100%); aspect-ratio:1/1;
  display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,.12); border-radius:28px;
  background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07), 0 28px 70px -30px rgba(0,0,0,.7);
  overflow:hidden;
}
.hero-logo-panel::before{
  content:""; position:absolute; inset:16px; border:1px solid rgba(127,211,224,.13); border-radius:22px;
}
.hero-logo-glow{
  position:absolute; width:72%; height:72%; border-radius:50%;
  background:radial-gradient(circle,rgba(12,112,136,.34) 0%,rgba(12,112,136,.12) 38%,transparent 72%);
  filter:blur(8px);
}
.hero-logo{
  position:relative; z-index:2; width:min(300px,72%); height:auto;
  filter:brightness(1.75) saturate(1.05) drop-shadow(0 16px 28px rgba(0,0,0,.45));
}


.hero::after{
  content:"";
  position:absolute; inset:auto 0 0 0; height:1px;
  background:linear-gradient(90deg, transparent, var(--line-ink), transparent);
}

/* fork / audience split */
.fork{
  display:grid; grid-template-columns:1fr 1fr; gap:20px;
  position:relative; z-index:2;
  transform:translateY(50%);
}
.fork-card{
  background:var(--surface); border-radius:var(--radius);
  padding:30px 30px 26px; box-shadow:0 20px 44px -18px rgba(10,20,25,.28);
  border:1px solid var(--line);
}
.fork-card .fork-label{
  font-family:var(--f-mono); font-size:12px; font-weight:600; letter-spacing:.08em;
  text-transform:uppercase; color:var(--teal); margin-bottom:10px; display:block;
}
.fork-card h3{ font-size:22px; margin-bottom:12px; color:var(--ink); }
.fork-card ul{ margin-bottom:20px; }
.fork-card li{
  display:flex; gap:10px; align-items:flex-start;
  font-size:14.5px; color:var(--ink-soft); padding:5px 0;
}
.fork-card li .tri-bullet{ margin-top:7px; }

/* ============================= SECTIONS ============================= */
section{ padding:120px 0 90px; }
section.tight{ padding-top:90px; }
.section-head{ max-width:640px; margin-bottom:52px; }
.section-head .eyebrow{ margin-bottom:16px; }
.section-head h2{ font-size:clamp(28px,3.2vw,38px); margin-bottom:14px; }
.section-head p{ color:var(--ink-soft); font-size:16.5px; }

.section-alt{ background:var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section-ink{ background:var(--ink); color:#fff; }
.section-ink .section-head p{ color:rgba(255,255,255,.68); }

/* ---------- context strip ---------- */
.context{
  display:grid; grid-template-columns:.9fr 1.1fr; gap:56px; align-items:start;
}
.context-figure{
  font-family:var(--f-display); font-weight:700; font-size:clamp(46px,6vw,74px);
  color:var(--teal); line-height:1;
}
.context-figure span{ display:block; font-family:var(--f-mono); font-size:14px; font-weight:600; color:var(--ink-soft); text-transform:uppercase; letter-spacing:.06em; margin-top:14px; line-height:1.5; }
.context-text p{ font-size:17px; color:var(--ink-2); margin-bottom:16px; }
.context-text p:last-child{ margin-bottom:0; }
.context-text strong{ color:var(--ink); }

/* ---------- услуги / карточки ---------- */
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }

.svc-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:28px 24px; transition:border-color .15s ease, transform .15s ease;
}
.svc-card:hover{ border-color:var(--teal); transform:translateY(-3px); }
.svc-card .svc-icon{
  width:44px; height:44px; border-radius:11px; background:var(--teal-tint);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.svc-card .svc-icon svg{ width:22px; height:22px; }
.svc-card h3{ font-size:17.5px; margin-bottom:10px; line-height:1.32; }
.svc-card p{ font-size:14.5px; color:var(--ink-soft); margin-bottom:16px; }
.svc-card .svc-link{ font-family:var(--f-mono); font-size:12.5px; font-weight:600; color:var(--teal); text-transform:uppercase; letter-spacing:.04em; }

/* сервис — крупный блок (детальные страницы) */
.svc-detail{
  border:1px solid var(--line); border-radius:20px; background:var(--surface);
  padding:40px; display:grid; grid-template-columns:.85fr 1.15fr; gap:36px; margin-bottom:24px;
}
.svc-detail-head{ display:flex; flex-direction:column; gap:14px; }
.svc-detail .tag{
  font-family:var(--f-mono); font-size:11.5px; font-weight:600; color:var(--teal-deep);
  background:var(--teal-tint); padding:6px 12px; border-radius:100px; letter-spacing:.05em;
  text-transform:uppercase; width:fit-content;
}
.svc-detail h3{ font-size:24px; }
.svc-detail .lede{ color:var(--ink-soft); font-size:15.5px; }
.svc-detail ul{ display:flex; flex-direction:column; gap:11px; }
.svc-detail li{ display:flex; gap:11px; font-size:15px; color:var(--ink-2); }
.svc-detail li .tri-bullet{ margin-top:8px; }

/* ---------- подход: что делаем / не делаем ---------- */
.approach{ display:grid; grid-template-columns:1fr 1fr; gap:0; border-radius:20px; overflow:hidden; border:1px solid var(--line); }
.approach-col{ padding:44px 40px; }
.approach-col.no{ background:var(--ink); color:#fff; }
.approach-col.yes{ background:var(--teal-tint); }
.approach-col h3{ font-size:19px; margin-bottom:22px; display:flex; align-items:center; gap:10px; font-family:var(--f-body); font-weight:800;}
.approach-col ul{ display:flex; flex-direction:column; gap:16px; }
.approach-col li{ display:flex; gap:12px; font-size:15px; line-height:1.55; }
.approach-col.no li{ color:rgba(255,255,255,.82); }
.approach-col.yes li{ color:var(--ink-2); }
.mark{ flex:none; width:20px; height:20px; border-radius:6px; display:flex; align-items:center; justify-content:center; font-family:var(--f-mono); font-size:12px; font-weight:700; margin-top:1px;}
.approach-col.no .mark{ background:rgba(255,255,255,.14); color:#fff; }
.approach-col.yes .mark{ background:var(--teal); color:#fff; }

/* ---------- процесс ---------- */
.process-list{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.process-step{ position:relative; padding-top:8px; }
.step-marker{ display:flex; align-items:center; gap:11px; margin-bottom:18px; padding-bottom:16px; border-bottom:1px solid var(--line); }
.step-marker svg{ width:17px; height:17px; flex:none; }
.step-marker .step-num{ font-family:var(--f-mono); font-weight:700; font-size:13.5px; color:var(--teal-deep); letter-spacing:.03em; }
.step-marker .step-num b{ font-weight:700; color:var(--ink); }
.process-step h4{ font-family:var(--f-body); font-weight:800; font-size:16.5px; margin-bottom:9px; }
.process-step p{ font-size:14.5px; color:var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-list{ border-top:1px solid var(--line); }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%; background:none; border:none; text-align:left;
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  padding:26px 2px; font-family:var(--f-body); font-weight:700; font-size:17px; color:var(--ink);
}
.faq-q .plus{
  flex:none; width:28px; height:28px; border-radius:50%; border:1.5px solid var(--line);
  display:flex; align-items:center; justify-content:center; position:relative;
}
.faq-q .plus::before, .faq-q .plus::after{
  content:""; position:absolute; top:50%; left:50%; background:var(--ink);
  transition:transform .2s ease, opacity .2s ease;
}
.faq-q .plus::before{ width:11px; height:1.6px; transform:translate(-50%,-50%); }
.faq-q .plus::after{ width:1.6px; height:11px; transform:translate(-50%,-50%); }
.faq-item[open] .plus::after{ transform:translate(-50%,-50%) rotate(90deg); opacity:0; }
.faq-item[open] .faq-q{ color:var(--teal-deep); }
.faq-a{ padding:0 34px 26px 2px; color:var(--ink-soft); font-size:15.5px; max-width:74ch; }
.faq-a p + p{ margin-top:12px; }
.faq-a .law-cite{ font-family:var(--f-mono); font-size:13px; background:var(--teal-tint); color:var(--teal-deep); padding:2px 8px; border-radius:5px; }

details.faq-item summary{ list-style:none; cursor:pointer; }
details.faq-item summary::-webkit-details-marker{ display:none; }

/* ---------- checklist ---------- */
.checklist-wrap{
  background:var(--ink); color:#fff; border-radius:22px; padding:52px 48px;
  display:grid; grid-template-columns:.8fr 1.2fr; gap:48px;
}
.checklist-wrap .eyebrow{ color:#7FD3E0; margin-bottom:16px; }
.checklist-wrap h2{ font-size:clamp(24px,3vw,30px); color:#fff; margin-bottom:16px; }
.checklist-wrap .lede{ color:rgba(255,255,255,.68); font-size:15.5px; margin-bottom:26px; }
.checklist-items{ display:flex; flex-direction:column; gap:0; }
.checklist-items li{
  display:flex; gap:16px; align-items:flex-start; padding:16px 0;
  border-bottom:1px solid var(--line-ink); font-size:15px; color:rgba(255,255,255,.86);
}
.checklist-items li:last-child{ border-bottom:none; }
.checklist-num{ font-family:var(--f-mono); color:#7FD3E0; font-weight:700; font-size:13.5px; flex:none; padding-top:1px; }

/* ---------- callout / risk box ---------- */
.callout{
  display:flex; gap:16px; padding:22px 24px; border-radius:14px;
  background:var(--amber-tint); border:1px solid #E6D3A9;
}
.callout .icn{ flex:none; width:22px; height:22px; margin-top:2px; color:var(--amber); }
.callout p{ font-size:14.5px; color:#6B5324; line-height:1.6; }
.callout strong{ color:#4A3A18; }

/* ---------- персона / карточка представителя ---------- */
.persona-card{
  border:1px solid var(--line); background:var(--surface); border-radius:18px; padding:34px;
  display:flex; gap:22px; align-items:flex-start;
}
.persona-ph{
  flex:none; width:64px; height:64px; border-radius:16px;
  background:linear-gradient(135deg, var(--teal-tint), var(--teal-tint-2));
  display:flex; align-items:center; justify-content:center;
  font-family:var(--f-display); font-weight:700; color:var(--teal-deep); font-size:20px;
}
.persona-card h4{ font-family:var(--f-body); font-weight:800; font-size:16px; margin-bottom:6px;}
.persona-card p{ font-size:14.5px; color:var(--ink-soft); }

/* ---------- CTA banner ---------- */
.cta-banner{
  background:var(--teal); color:#fff; border-radius:24px; padding:56px;
  display:flex; align-items:center; justify-content:space-between; gap:32px;
  position:relative; overflow:hidden;
}
.cta-banner h2{ color:#fff; font-size:clamp(24px,3vw,32px); max-width:20ch; }
.cta-banner .sub{ color:rgba(255,255,255,.82); font-size:15.5px; margin-top:10px; max-width:44ch; }
.cta-banner .actions{ display:flex; gap:14px; flex:none; flex-wrap:wrap; position:relative; z-index:2;}
.cta-banner .btn-ink{ background:var(--ink); }

/* ============================= FOOTER ============================= */
.site-footer{ background:var(--ink); color:rgba(255,255,255,.86); padding:76px 0 0; }
.footer-grid{ display:grid; grid-template-columns:1.3fr .9fr .9fr 1fr; gap:40px; padding-bottom:52px; border-bottom:1px solid var(--line-ink); }
.footer-brand img{ height:34px; margin-bottom:16px; }
.footer-brand p{ font-size:14px; color:rgba(255,255,255,.58); max-width:34ch; margin-bottom:22px; }
.footer-col h5{ font-family:var(--f-mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,.5); margin-bottom:18px; font-weight:600; }
.footer-col ul{ display:flex; flex-direction:column; gap:12px; }
.footer-col a{ font-size:14.5px; color:rgba(255,255,255,.82); transition:color .15s ease; }
.footer-col a:hover{ color:#7FD3E0; }
.footer-contact li{ font-size:14.5px; color:rgba(255,255,255,.82); display:flex; flex-direction:column; gap:2px; }
.footer-contact span{ font-family:var(--f-mono); font-size:11px; color:rgba(255,255,255,.42); text-transform:uppercase; letter-spacing:.06em; }

.social-row{ display:flex; gap:10px; margin-top:20px; }
.social-row a{
  width:38px; height:38px; border-radius:50%; border:1.5px solid var(--line-ink);
  display:flex; align-items:center; justify-content:center; transition:background .15s ease, border-color .15s ease;
}
.social-row a:hover{ background:var(--teal); border-color:var(--teal); }
.social-row svg{ width:16px; height:16px; }

.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; gap:20px;
  padding:26px 0; font-size:13px; color:rgba(255,255,255,.42); flex-wrap:wrap;
}
.footer-bottom .law{ font-family:var(--f-mono); font-size:12px; }

/* ============================= PAGE HERO (внутренние страницы) ============================= */
.page-hero{ background:var(--ink); color:#fff; padding:64px 0 84px; position:relative; overflow:hidden; }
.page-hero .container{ position:relative; z-index:2; }
.page-hero h1{ color:#fff; font-size:clamp(30px,4vw,44px); margin:16px 0 16px; max-width:20ch; }
.page-hero p.lead{ color:rgba(255,255,255,.72); font-size:17px; max-width:58ch; }
.page-hero-tri{ position:absolute; right:-40px; top:-40px; width:320px; opacity:.5; z-index:1; }

/* ============================= ЗАКОН 3085-1 ============================= */
.law-layout{ display:grid; grid-template-columns:300px 1fr; gap:48px; align-items:start; }
.law-toc{ position:sticky; top:96px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:24px; max-height:calc(100vh - 130px); overflow-y:auto; }
.law-toc h4{ font-family:var(--f-mono); font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--ink-soft); margin:0 0 14px; }
.law-toc ul{ list-style:none; margin:0; padding:0; }
.law-toc > ul > li.toc-chapter{ margin-bottom:14px; }
.law-toc > ul > li.toc-chapter > a{ display:block; font-weight:700; font-size:12.5px; color:var(--ink); text-transform:uppercase; letter-spacing:.02em; padding:4px 0; line-height:1.35; }
.law-toc > ul > li.toc-chapter > a:hover{ color:var(--teal); }
.law-toc .toc-chapter ul{ margin-top:6px; padding-left:11px; border-left:2px solid var(--line); }
.law-toc .toc-chapter ul li a{ display:block; font-size:13px; color:var(--ink-2); padding:5px 0 5px 10px; line-height:1.4; }
.law-toc .toc-chapter ul li a:hover{ color:var(--teal-deep); }
.law-content{ min-width:0; }
.law-meta-box{ background:var(--ink); color:#fff; border-radius:var(--radius); padding:28px 32px; margin-bottom:40px; }
.law-meta-box p{ color:rgba(255,255,255,.75); font-size:14.5px; margin:4px 0; }
.law-meta-box .law-amend-list{ margin-top:14px; font-size:12.5px; color:rgba(255,255,255,.5); line-height:1.7; }
.law-preamble p{ margin-bottom:14px; color:var(--ink-2); font-size:15.5px; line-height:1.7; }
.law-chapter{ margin-top:52px; padding-top:8px; border-top:1px solid var(--line); scroll-margin-top:96px; }
.law-chapter:first-of-type{ margin-top:36px; }
.law-chapter-title{ font-family:var(--f-mono); font-size:12.5px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--teal-deep); background:var(--teal-tint); display:inline-block; padding:8px 16px; border-radius:100px; margin-bottom:26px; }
.law-article{ margin-top:32px; scroll-margin-top:96px; }
.law-article-title{ font-size:18px; font-weight:700; color:var(--ink); margin-bottom:12px; line-height:1.4; }
.law-article p{ font-size:15px; line-height:1.7; color:var(--ink-2); margin-bottom:10px; }
.law-amend-note{ font-size:12.5px !important; font-style:italic; color:var(--ink-soft) !important; }
.law-signature{ margin-top:52px; padding-top:30px; border-top:1px solid var(--line); }
.law-signature p{ font-size:14px; color:var(--ink-2); margin-bottom:2px; }
@media (max-width:980px){
  .law-layout{ grid-template-columns:1fr; }
  .law-toc{ position:static; max-height:none; margin-bottom:32px; }
}

/* ============================= МАТЕРИАЛЫ ============================= */
.materials-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.material-card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:30px; display:flex; flex-direction:column; }
.material-card .mat-tag{ font-family:var(--f-mono); font-size:11.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--teal); margin-bottom:14px; }
.material-card h3{ font-size:19px; margin-bottom:10px; }
.material-card p{ font-size:14.5px; color:var(--ink-2); flex:1; margin-bottom:20px; }
.material-card .btn{ align-self:flex-start; }
.material-card.is-soon{ opacity:.6; }
.material-card .soon-badge{ font-family:var(--f-mono); font-size:11px; font-weight:700; text-transform:uppercase; color:var(--ink-soft); background:var(--paper); border:1px solid var(--line); padding:4px 10px; border-radius:100px; align-self:flex-start; margin-top:4px; }
.lead-gate{ background:var(--surface); border:1px solid var(--line); border-radius:20px; padding:40px; max-width:560px; }
.lead-gate.is-hidden{ display:none; }
.lead-gate .field{ margin-bottom:16px; }
.lead-gate label{ display:block; font-size:13px; font-weight:600; color:var(--ink-2); margin-bottom:6px; }
.lead-gate input{ width:100%; padding:12px 14px; border:1.5px solid var(--line); border-radius:10px; font-family:var(--f-body); font-size:14.5px; background:var(--paper); }
.lead-gate input:focus{ outline:none; border-color:var(--teal); }
.gate-note{ font-size:12.5px; color:var(--ink-soft); margin-top:14px; }
.gate-unlocked{ display:none; background:var(--teal-tint); border:1px solid var(--teal-tint-2); border-radius:16px; padding:28px 30px; }
.gate-unlocked.is-visible{ display:block; }
.gate-unlocked h4{ font-size:16.5px; margin-bottom:14px; color:var(--teal-deep); }
.gate-download-list{ list-style:none; margin:0 0 6px; padding:0; display:flex; flex-direction:column; gap:10px; }
.gate-download-list a{ display:flex; align-items:center; gap:8px; font-weight:700; font-size:14.5px; color:var(--ink); background:#fff; border:1px solid var(--teal-tint-2); padding:12px 16px; border-radius:10px; }
.gate-download-list a:hover{ border-color:var(--teal); color:var(--teal-deep); }
@media (max-width:980px){
  .materials-grid{ grid-template-columns:1fr; }
}

/* ============================= КОНТАКТЫ ============================= */
.contact-grid{ display:grid; grid-template-columns:.95fr 1.05fr; gap:48px; align-items:start; }
.contact-card{
  display:flex; gap:16px; align-items:flex-start; padding:22px 0; border-bottom:1px solid var(--line);
}
.contact-card:first-child{ padding-top:0; }
.contact-card .ic{
  flex:none; width:46px; height:46px; border-radius:12px; background:var(--teal-tint);
  display:flex; align-items:center; justify-content:center;
}
.contact-card .ic svg{ width:21px; height:21px; }
.contact-card h4{ font-family:var(--f-body); font-weight:800; font-size:15.5px; margin-bottom:4px; }
.contact-card p, .contact-card a.val{ font-size:15px; color:var(--ink-soft); }
.contact-card a.val:hover{ color:var(--teal); }
.contact-card .map-link{ font-family:var(--f-mono); font-size:12.5px; color:var(--teal); margin-top:6px; display:inline-block; }

.form-card{ background:var(--surface); border:1px solid var(--line); border-radius:20px; padding:38px; }
.form-card h3{ font-size:20px; margin-bottom:8px; }
.form-card .hint{ font-size:13.5px; color:var(--ink-soft); margin-bottom:26px; }
.field{ margin-bottom:18px; }
.field label{ display:block; font-family:var(--f-mono); font-size:12px; font-weight:600; letter-spacing:.05em; text-transform:uppercase; color:var(--ink-soft); margin-bottom:8px; }
.field input, .field textarea{
  width:100%; border:1.5px solid var(--line); border-radius:10px; padding:13px 15px;
  font-family:var(--f-body); font-size:15px; color:var(--ink); background:var(--paper);
  transition:border-color .15s ease;
}
.field input:focus, .field textarea:focus{ border-color:var(--teal); outline:none; }
.field textarea{ resize:vertical; min-height:110px; }
.form-note{ font-size:12.5px; color:var(--ink-soft); margin-top:14px; }

/* ============================= утилиты ============================= */
.center{ text-align:center; margin-left:auto; margin-right:auto; }

/* ============================= АДАПТИВ ============================= */
@media (min-width:1000px){
  .phone-link{ display:inline-block; }
}

@media (max-width:980px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-art{ min-height:220px; order:-1; }
  .fork{ grid-template-columns:1fr; transform:translateY(40px); }
  .grid-4{ grid-template-columns:1fr 1fr; }
  .grid-3{ grid-template-columns:1fr 1fr; }
  .context{ grid-template-columns:1fr; gap:28px; }
  .approach{ grid-template-columns:1fr; }
  .process-list{ grid-template-columns:1fr 1fr; }
  .svc-detail{ grid-template-columns:1fr; padding:32px; }
  .checklist-wrap{ grid-template-columns:1fr; padding:36px 28px; }
  .cta-banner{ flex-direction:column; align-items:flex-start; text-align:left; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .contact-grid{ grid-template-columns:1fr; }
}

@media (max-width:720px){
  section{ padding:80px 0 60px; }
  .main-nav{ display:none; }
  .nav-toggle{ display:flex; }
  .header-row{ height:70px; }
  .grid-4{ grid-template-columns:1fr; }
  .grid-3{ grid-template-columns:1fr; }
  .grid-2{ grid-template-columns:1fr; }
  .process-list{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; gap:32px; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; gap:10px; }
  .fork{ transform:translateY(28px); }
  .hero{ padding-top:56px; }
  .cta-banner{ padding:38px 26px; }
  body{ font-size:16px; }
  .persona-card{ flex-direction:column; }
}

/* mobile nav drawer */
.mobile-nav{
  display:none; position:fixed; inset:70px 0 0 0; background:var(--paper); z-index:49;
  padding:24px 28px; overflow-y:auto;
}
.mobile-nav.is-open{ display:block; }
.mobile-nav a{
  display:flex; justify-content:space-between; align-items:center;
  padding:18px 4px; border-bottom:1px solid var(--line);
  font-family:var(--f-display); font-size:19px; font-weight:600;
}
.mobile-nav .btn{ margin-top:26px; }

/* ---------- доработка: ниши B2C ---------- */
.niche-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:30px}
.niche-pill{font-family:var(--f-mono);font-size:12px;font-weight:600;color:var(--teal-deep);
background:var(--teal-tint);padding:10px 14px;border:1px solid var(--teal-tint-2);border-radius:100px}
