/* ==========================================================================
   СИНТЕЗ IT — landing styles
   ========================================================================== */

:root {
  --bg:            #080B14;
  --bg-alt:        #0C111F;
  --surface:       #121829;
  --surface-2:     #171E33;
  --line:          #232C45;
  --line-soft:     #1B2338;

  --text:          #E8ECF6;
  --text-dim:      #9CA7C2;
  --text-mute:     #6E7A97;

  --accent:        #4F8DFF;
  --accent-2:      #38BDF8;
  --accent-deep:   #4F46E5;
  --accent-soft:   rgba(79, 141, 255, .12);

  --radius:        16px;
  --radius-sm:     10px;
  --radius-lg:     24px;

  --wrap:          1180px;
  --shadow:        0 24px 60px -24px rgba(0, 0, 0, .8);
  --shadow-sm:     0 8px 24px -12px rgba(0, 0, 0, .7);

  --ease:          cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  margin: 0 0 .5em;
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}
.wrap-narrow { max-width: 840px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 28px -12px rgba(79, 141, 255, .8);
}
.btn-primary:hover { box-shadow: 0 16px 34px -12px rgba(79, 141, 255, .95); }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-soft); }

.btn-sm { padding: 11px 20px; font-size: .9rem; }
.btn-block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 11, 20, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--line-soft);
  background: rgba(8, 11, 20, .93);
}

/* шапка шире контентной колонки: русские пункты меню длинные */
.site-header .wrap { max-width: 1400px; }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: .1em;
  line-height: 1.1;
}
.brand-it {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-sub {
  font-size: .7rem;
  color: var(--text-mute);
  letter-spacing: .04em;
  line-height: 1.2;
  white-space: nowrap;
}

.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a {
  color: var(--text-dim);
  font-size: .93rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transition: width .22s var(--ease);
}
.nav a:hover { color: var(--text); text-decoration: none; }
.nav a:hover::after { width: 100%; }

.lang {
  display: flex;
  align-items: center;
  flex: none;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(18, 24, 41, .6);
}
.lang a {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--text-mute);
  line-height: 1;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.lang a:hover { color: var(--text); text-decoration: none; }
.lang a.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
}

.header-cta { display: flex; align-items: center; gap: 16px; }
.phone,
.mail {
  color: var(--text);
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
}
.mail:hover { color: var(--accent-2); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 9vw, 110px) 0 clamp(64px, 8vw, 104px);
  background: radial-gradient(120% 90% at 78% 0%, #101b3a 0%, var(--bg) 62%);
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 141, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 141, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 0%, transparent 78%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: -220px; right: -160px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(56, 189, 248, .18), transparent 66%);
  filter: blur(40px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 7px 16px 7px 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(79, 141, 255, .25);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  color: #BBD0FF;
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, .18);
}

.nowrap { white-space: nowrap; }

.grad {
  background: linear-gradient(120deg, var(--accent-2) 0%, var(--accent) 45%, var(--accent-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1.02rem, 1.7vw, 1.16rem);
  color: var(--text-dim);
  max-width: 58ch;
  margin-bottom: 32px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-badges li {
  position: relative;
  padding-left: 22px;
  font-size: .9rem;
  color: var(--text-dim);
}
.hero-badges li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 12px; height: 6px;
  border-left: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: rotate(-45deg);
}

.hero-card {
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg-alt) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
}
.hero-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); }
  70%  { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.stack-list { list-style: none; margin: 0; padding: 0; }
.stack-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.stack-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.stack-list span { font-weight: 600; font-size: .95rem; }
.stack-list em {
  font-style: normal;
  font-size: .82rem;
  color: var(--text-mute);
  text-align: right;
}

/* ---------- Trust strip ---------- */
.strip {
  border-block: 1px solid var(--line-soft);
  background: var(--bg-alt);
}
.strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-block: 0;
}
.strip-item {
  padding: 26px 24px;
  border-left: 1px solid var(--line-soft);
}
.strip-item:first-child { border-left: 0; }
.strip-item strong { display: block; font-size: 1.02rem; margin-bottom: 4px; }
.strip-item span { font-size: .88rem; color: var(--text-mute); }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 8vw, 104px) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line-soft); }

.section-head { max-width: 720px; margin-bottom: 52px; }
.tag {
  display: inline-block;
  margin: 0 0 12px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.section-lead { color: var(--text-dim); font-size: 1.04rem; margin-bottom: 0; }

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}
.card {
  position: relative;
  padding: 30px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(79,141,255,.6), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .25s var(--ease);
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.card:hover::before { opacity: 1; }

.ico {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(79,141,255,.22), rgba(79,70,229,.14));
  border: 1px solid rgba(79,141,255,.24);
}
.ico svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: var(--accent-2);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card p { color: var(--text-dim); font-size: .95rem; }

.ticks { list-style: none; margin: 18px 0 0; padding: 0; }
.ticks li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
  font-size: .9rem;
  color: var(--text-dim);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 4px; top: .5em;
  width: 11px; height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.ticks-wide li { font-size: .95rem; margin-bottom: 12px; }

.services-more {
  margin: 34px 0 0;
  text-align: center;
  color: var(--text-mute);
  font-size: .95rem;
}

/* ---------- Process steps ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.steps li {
  position: relative;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}
.step-no {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.steps h3 { font-size: 1.08rem; }
.steps p { color: var(--text-dim); font-size: .93rem; flex: 1; }
.step-out {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: .82rem;
  color: var(--accent-2);
}

/* ---------- Pricing ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
  align-items: start;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.plan-featured {
  background: linear-gradient(165deg, #172448 0%, var(--surface-2) 60%);
  border-color: rgba(79, 141, 255, .5);
  box-shadow: 0 30px 70px -34px rgba(79, 141, 255, .55);
}
.plan-flag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}
.plan-desc { color: var(--text-mute); font-size: .9rem; min-height: 3em; }
.plan-price {
  margin: 6px 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.plan-price span { font-size: .95rem; font-weight: 500; color: var(--text-mute); margin-right: 6px; }
.plan-price em { font-style: normal; font-size: .95rem; font-weight: 500; color: var(--text-mute); }
.plan .ticks { flex: 1; margin-top: 0; margin-bottom: 24px; }

.plans-note {
  margin: 30px auto 0;
  max-width: 760px;
  text-align: center;
  color: var(--text-mute);
  font-size: .93rem;
}

/* ---------- Industries chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips span {
  padding: 12px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .93rem;
  color: var(--text-dim);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.chips span:hover { border-color: var(--accent); color: var(--text); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: start;
}
.about-grid > div > p { color: var(--text-dim); }

.req-card {
  padding: 30px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.req-card h3 { margin-bottom: 18px; }
.req { margin: 0; font-size: .9rem; }
.req dt {
  color: var(--text-mute);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 14px;
}
.req dt:first-child { margin-top: 0; }
.req dd { margin: 3px 0 0; color: var(--text); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s var(--ease);
}
.faq details[open] { border-color: rgba(79, 141, 255, .45); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  border-right: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--text-dim);
  font-size: .95rem;
}

/* ---------- Contacts ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: start;
}
.contact-list { list-style: none; margin: 30px 0 0; padding: 0; }
.contact-list li {
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
}
.contact-list li:last-child { border-bottom: 1px solid var(--line-soft); }
.c-label {
  display: block;
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 4px;
}
.contact-list a { font-size: 1.05rem; font-weight: 600; color: var(--text); }
.contact-list a:hover { color: var(--accent-2); }
.contact-list li > span:not(.c-label) { color: var(--text-dim); font-size: .95rem; }

/* ---------- Form ---------- */
.lead-form {
  padding: 32px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.lead-form h3 { margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-dim);
}
.field label span { color: var(--accent-2); }

.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-size: .95rem;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-mute); opacity: .75; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 141, 255, .16);
}
.field input.invalid,
.field textarea.invalid { border-color: #F87171; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 6px 0 20px;
  font-size: .84rem;
  color: var(--text-mute);
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 17px; height: 17px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent.invalid { color: #F87171; }

.form-status {
  margin: 14px 0 0;
  font-size: .9rem;
  min-height: 1.2em;
}
.form-status.ok    { color: #34D399; }
.form-status.error { color: #F87171; }
.form-note {
  margin: 10px 0 0;
  font-size: .8rem;
  color: var(--text-mute);
  text-align: center;
}
button[disabled] { opacity: .6; cursor: not-allowed; transform: none !important; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line-soft);
  padding-top: 54px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer-brand .brand-name { display: block; margin-bottom: 12px; }
.footer-brand p { color: var(--text-mute); font-size: .9rem; max-width: 34ch; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: var(--text-dim); font-size: .92rem; }
.footer-nav a:hover { color: var(--text); }
.footer-legal p { margin: 0 0 6px; color: var(--text-mute); font-size: .86rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-block: 22px;
  border-top: 1px solid var(--line-soft);
}
.footer-bottom p { margin: 0; color: var(--text-mute); font-size: .82rem; }

/* ---------- Legal page ---------- */
.legal { padding: 60px 0 80px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 8px; }
.legal .updated { color: var(--text-mute); font-size: .88rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.25rem; margin-top: 38px; }
.legal p, .legal li { color: var(--text-dim); font-size: .97rem; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.back-link { display: inline-block; margin-bottom: 24px; font-size: .92rem; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1400px) {
  .brand-sub { display: none; }
  .header-inner { gap: 20px; }
  .nav { gap: 18px; }
}

@media (max-width: 1240px) {
  .phone, .mail { display: none; }
  .nav { gap: 16px; }
  .nav a { font-size: .88rem; }
}

@media (max-width: 1080px) {
  .header-inner { gap: 14px; }
  .nav { gap: 13px; }
  .nav a { font-size: .84rem; }
  .header-cta .btn-sm { padding: 10px 15px; font-size: .84rem; }
  .lang a { padding: 5px 8px; font-size: .74rem; }
}

@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 560px; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(3) { border-left: 0; }
  .strip-item:nth-child(3), .strip-item:nth-child(4) { border-top: 1px solid var(--line-soft); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* Русские пункты меню длиннее английских — уходим в бургер раньше */
@media (max-width: 900px) {
  html { scroll-padding-top: 76px; }
  .header-inner { height: 66px; gap: 14px; }
  .burger { display: flex; }
  .header-cta { display: none; }
  .lang { margin-left: auto; }
  .nav {
    position: fixed;
    inset: 66px 0 auto;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 24px 26px;
    background: rgba(8, 11, 20, .98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-140%);
    transition: transform .3s var(--ease);
    max-height: calc(100vh - 66px);
    overflow-y: auto;
  }
  .nav.open { transform: translateY(0); }
  .nav a {
    padding: 15px 0;
    font-size: 1.02rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav a::after { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  .strip-inner { grid-template-columns: 1fr; }
  .strip-item { border-left: 0 !important; border-top: 1px solid var(--line-soft); }
  .strip-item:first-child { border-top: 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-actions .btn { width: 100%; }
  .lead-form { padding: 26px 20px; }
  .card, .plan, .steps li { padding-inline: 22px; }
  .stack-list li { flex-direction: column; gap: 2px; }
  .stack-list em { text-align: left; }
}
