/* ============================================================
   ANTANA — 3D Printing Studio
   Концепція: сторінка як активний друк — «міліметровка», тушь,
   філаментний оранж, HUD-моноширинні підписи.
   ============================================================ */

:root {
  --paper: #F1F3F6;
  --paper-2: #FAFBFD;
  --ink: #10151C;
  --ink-70: rgba(16, 21, 28, .72);
  --ink-45: rgba(16, 21, 28, .62);
  --line: rgba(16, 21, 28, .16);
  --line-soft: rgba(16, 21, 28, .08);
  --grid: rgba(29, 45, 66, .055);
  --orange: #F4560A;
  --orange-deep: #D64100;
  --cobalt: #2B50E0;
  --orange-text: #B93800;
  --paper-on-ink: #EDF0F4;
  --line-on-ink: rgba(237, 240, 244, .16);

  --font-display: 'Unbounded', 'Arial Black', sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --rail-w: 58px;
  --radius: 3px;
  --container: 1160px;
  --header-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--orange-deep); color: #fff; }

section[id] { scroll-margin-top: calc(var(--header-h) + 10px); }
.nowrap { white-space: nowrap; }
main:focus { outline: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}
.container-narrow { max-width: 860px; }

/* ---------- скіп-лінк і фокус ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus { left: 8px; top: 8px; }

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

/* ---------- кнопки ---------- */
.btn {
  display: inline-block;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  transition: color .25s ease, border-color .25s ease;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s cubic-bezier(.65, 0, .35, 1);
}
.btn:hover::before { transform: scaleX(1); }
.btn:focus-visible::before { transform: scaleX(1); }

.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary::before { background: var(--orange-deep); }
.btn-primary:hover { border-color: var(--orange-deep); color: #fff; }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: var(--paper); }

.btn-accent { background: var(--orange-deep); color: #fff; border-color: var(--orange-deep); }
.btn-accent::before { background: var(--paper-on-ink); }
.btn-accent:hover { color: var(--ink); border-color: var(--paper-on-ink); }

/* ---------- шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(241, 243, 246, .88);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-in {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand-mark {
  width: 30px;
  height: 39px;
  fill: currentColor;
  flex-shrink: 0;
  position: relative;
  top: -5px;
}
.brand-text {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .04em;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-45);
}
.nav { display: flex; gap: 24px; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-70);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--orange); }
.header-cta { padding: 10px 20px; font-size: 14px; }

.lang {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  flex-shrink: 0;
}
.lang a {
  color: var(--ink-45);
  text-decoration: none;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s;
}
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { color: var(--ink); border-bottom-color: var(--orange); }
.lang .lang-sep { color: var(--line); }

.nav-toggle { display: none; }

/* прогрес друку сторінки */
.print-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: transparent;
}
.print-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--orange);
}

/* ---------- бічна рейка-лічильник ---------- */
.rail {
  display: none;
  position: fixed;
  left: 0; top: var(--header-h); bottom: 0;
  width: var(--rail-w);
  border-right: 1px solid var(--line-soft);
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 28px;
  gap: 18px;
  z-index: 50;
}
.rail-track {
  flex: 1;
  width: 2px;
  margin-top: 24px;
  background: var(--line-soft);
  position: relative;
}
.rail-fill {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 0%;
  background: var(--orange);
}
.rail-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--ink-45);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

@media (min-width: 1101px) {
  .rail { display: flex; }
  main, .footer { padding-left: var(--rail-w); }
  .header { padding-left: var(--rail-w); }
}

/* ---------- хіро ---------- */
.hero { padding: clamp(56px, 9vh, 110px) 0 clamp(48px, 7vh, 90px); }
.hero-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--ink-45);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--orange);
  vertical-align: middle;
  margin-right: 10px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 5.6vw, 64px);
  line-height: 1.08;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.accent-dot { color: var(--orange); }
.hero-lead {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--ink-70);
  max-width: 52ch;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 42px; }
.hero-ticker {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-45);
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
  max-width: 60ch;
}
.hero-ticker li { white-space: nowrap; }
.hero-ticker li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--orange);
  margin-right: 9px;
  vertical-align: 2px;
}

/* хіро-візуал */
.hero-grid > * { min-width: 0; }
.hero-visual { position: relative; min-height: 320px; }
#printSvg { width: 100%; height: auto; display: block; overflow: visible; }

/* на десктопі ілюстрація розтягується на всю висоту текстової колонки:
   верх — по верху надзаголовка, низ — по низу тикера */
@media (min-width: 1001px) {
  .hero-grid { align-items: stretch; }
  .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #printSvg {
    height: 100%;
    width: auto;
    max-width: calc(100% + 50px);
  }
}
@media (min-width: 1300px) {
  #printSvg { max-width: calc(100% + 90px); }
}

/* ---------- секції ---------- */
.section { padding: clamp(64px, 10vh, 118px) 0; }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.layer-mark {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.lm-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--orange-text);
  white-space: nowrap;
}
.lm-line {
  flex: 1;
  height: 1px;
  background: var(--line);
  transform-origin: left center;
}
.js-anim .lm-line {
  transform: scaleX(0);
  transition: transform 1s cubic-bezier(.22, 1, .36, 1) .15s;
}
.js-anim .is-visible .lm-line { transform: scaleX(1); }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3.1vw, 34px);
  line-height: 1.25;
  letter-spacing: 0;
  max-width: 24ch;
  margin-bottom: 22px;
}
.section-lead {
  color: var(--ink-70);
  max-width: 62ch;
  margin-bottom: 40px;
}

/* ---------- послуги ---------- */
.services-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.service {
  background: var(--paper);
  padding: 30px 26px 34px;
  transition: background .25s ease;
}
.service:hover { background: var(--paper-2); }
.service .icon { margin-bottom: 20px; }
.service h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 12px;
}
.service p { font-size: 15px; color: var(--ink-70); }

.icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- матеріали ---------- */
.mat { margin-top: 8px; }
.mat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.mat-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 9px 14px;
  background: transparent;
  color: var(--ink-70);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: all .2s ease;
}
.mat-chip:hover { border-color: var(--ink); color: var(--ink); }
.mat-chip.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.mat-panel {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: clamp(28px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: clamp(24px, 3.5vw, 44px);
}
.mat-swatch { position: relative; align-self: center; }
.mat-swatch svg { width: 100%; height: auto; display: block; }
.sw-top { fill: var(--sw-light, #E8EBEF); stroke: var(--ink); stroke-width: 1; stroke-linejoin: round; }
.sw-left { fill: var(--sw-mid, #D5DAE1); stroke: var(--ink); stroke-width: 1; stroke-linejoin: round; }
.sw-right { fill: var(--sw-dark, #C2C9D2); stroke: var(--ink); stroke-width: 1; stroke-linejoin: round; }
.sw-hatch line { stroke: rgba(16, 21, 28, .18); stroke-width: 1; }
.mat-code {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ink-45);
  text-transform: uppercase;
}
.mat-info h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(17px, 2vw, 21px);
  margin-bottom: 14px;
}
.mat-info > p { color: var(--ink-70); margin-bottom: 18px; max-width: 58ch; }
.mat-uses {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.mat-uses li {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-70);
  border: 1px dashed var(--line);
  border-radius: 2px;
  padding: 4px 10px;
}
.mat-props { display: grid; gap: 12px; max-width: 420px; }
.prop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.prop-name {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-45);
}
.prop-bar { display: flex; gap: 4px; }
.prop-bar i {
  width: 26px;
  height: 8px;
  background: rgba(16, 21, 28, .18);
  border-radius: 1px;
  transition: background .25s ease;
}
.prop-bar i.on { background: var(--orange); }
.prop-val {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
}

/* ---------- процес ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 17px;
  left: 0; right: 0;
  border-top: 1px dashed var(--line);
}
.step { position: relative; padding-top: 54px; }
.step-num {
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 50%;
}
.step:first-child .step-num { background: var(--orange-deep); border-color: var(--orange-deep); color: #fff; }
.step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 10px;
}
.step p { font-size: 15px; color: var(--ink-70); }

/* ---------- переваги (інверсія) ---------- */
.section-ink {
  background: var(--ink);
  color: var(--paper-on-ink);
  background-image:
    linear-gradient(rgba(237, 240, 244, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 240, 244, .035) 1px, transparent 1px);
  background-size: 28px 28px;
}
.section-ink .section-title { color: #fff; }
.section-ink .lm-label { color: var(--orange); }
.section-ink .lm-line { background: var(--line-on-ink); }

.perks-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-on-ink);
  border: 1px solid var(--line-on-ink);
}
.perk {
  background: var(--ink);
  padding: 30px 26px 34px;
}
.perk .icon { margin-bottom: 18px; }
.perk h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 10px;
  color: #fff;
}
.perk p { font-size: 15px; color: rgba(237, 240, 244, .72); }

/* ---------- для кого ---------- */
.audience-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 28px);
}
.aud {
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  background: var(--paper-2);
  padding: 24px 24px 26px;
}
.aud h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.aud p { font-size: 15px; color: var(--ink-70); }

/* ---------- про нас ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.about-grid p { color: var(--ink-70); margin-bottom: 18px; max-width: 58ch; }
.about-stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.about-stats > div {
  background: var(--paper);
  padding: 24px 22px;
}
.about-stats dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--orange-deep);
  margin-bottom: 6px;
}
.about-stats dd {
  font-size: 13.5px;
  color: var(--ink-70);
}

/* ---------- faq ---------- */
.faq-list { margin-top: 36px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 4px;
  font-weight: 600;
  font-size: 16.5px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform .25s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p {
  padding: 0 4px 22px;
  color: var(--ink-70);
  max-width: 68ch;
}

/* ---------- контакти ---------- */
.section-contact { padding-bottom: clamp(72px, 11vh, 130px); }
.contact-panel {
  background: var(--ink);
  color: var(--paper-on-ink);
  border-radius: 4px;
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  background-image:
    linear-gradient(rgba(237, 240, 244, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 240, 244, .04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.eyebrow-light { color: rgba(237, 240, 244, .55); }
.contact-copy h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.25;
  color: #fff;
  margin-bottom: 16px;
}
.contact-copy p {
  color: rgba(237, 240, 244, .75);
  margin-bottom: 30px;
  max-width: 46ch;
}
.contact-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}
.contact-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-on-ink);
}
.contact-row:first-child { border-top: 1px solid var(--line-on-ink); }
.contact-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(237, 240, 244, .5);
}
.contact-row a {
  display: inline-block;
  padding: 10px 0;
  margin: -10px 0;
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.6vw, 17px);
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}
.contact-row a:hover { color: var(--orange); border-bottom-color: var(--orange); }

/* ---------- футер ---------- */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: 26px 0;
}
.footer-in {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-45);
}

/* ---------- мікроанімації ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* каскадна поява хіро при завантаженні */
  .js-anim .hero-copy > * {
    opacity: 0;
    transform: translateY(14px);
    animation: rise-in .7s cubic-bezier(.22, 1, .36, 1) forwards;
  }
  .js-anim .hero-copy > *:nth-child(1) { animation-delay: .05s; }
  .js-anim .hero-copy > *:nth-child(2) { animation-delay: .16s; }
  .js-anim .hero-copy > *:nth-child(3) { animation-delay: .3s; }
  .js-anim .hero-copy > *:nth-child(4) { animation-delay: .44s; }
  .js-anim .hero-copy > *:nth-child(5) { animation-delay: .58s; }
  .js-anim .hero-visual { opacity: 0; animation: fade-in .9s ease .25s forwards; }

  /* іконки «додруковуються» при наведенні */
  .js-anim .service .icon path, .js-anim .service .icon circle, .js-anim .service .icon rect,
  .js-anim .perk .icon path, .js-anim .perk .icon circle, .js-anim .perk .icon rect {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
  }
  .js-anim .service:hover .icon path, .js-anim .service:hover .icon circle, .js-anim .service:hover .icon rect,
  .js-anim .perk:hover .icon path, .js-anim .perk:hover .icon circle, .js-anim .perk:hover .icon rect {
    animation: icon-draw .8s cubic-bezier(.45, 0, .25, 1);
  }

  /* пунктирний тулпас процесу домальовується при появі */
  .js-anim .steps::before {
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1.6s cubic-bezier(.22, 1, .36, 1) .25s;
  }
  .js-anim .steps.is-drawn::before { transform: scaleX(1); }

  /* м'яка поява відповіді FAQ */
  .faq-list details[open] p { animation: faq-in .35s cubic-bezier(.22, 1, .36, 1); }
}
@keyframes rise-in { to { opacity: 1; transform: none; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes icon-draw { from { stroke-dashoffset: 1; } }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- анімації появи ---------- */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--d, 0s);
}
.js-anim .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .lm-line { transform: scaleX(1); transition: none; }
  .btn::before { transition: none; }
}
.static-mode .reveal { opacity: 1; transform: none; transition: none; }
.static-mode .lm-line { transform: scaleX(1); transition: none; }
.static-mode * { transition: none !important; animation: none !important; }

/* ---------- адаптив ---------- */
@media (min-width: 1001px) {
  .nav-contact { display: none; }
}

@media (max-width: 1000px) {
  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0; bottom: auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 14px clamp(20px, 4vw, 40px);
    border-bottom: none;
    font-size: 17px;
  }
  .header-cta { display: none; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 10px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
    transition: transform .25s ease, opacity .25s ease;
  }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps::before { display: none; }
  .perks-grid { grid-template-columns: 1fr 1fr; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 0 auto; width: 100%; }
  .about-grid { grid-template-columns: 1fr; }
  .about-stats { max-width: 560px; }
}

@media (max-width: 760px) {
  .mat-panel { grid-template-columns: 1fr; }
  .mat-swatch { max-width: 200px; margin: 0 auto; }
  .contact-panel { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand-sub { display: none; }
  .header-in { gap: 14px; }
  .lang { gap: 5px; }
  .hero-ticker li { white-space: normal; }
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .perks-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .contact-row { flex-direction: column; gap: 4px; align-items: flex-start; }
}

@media (max-width: 400px) {
  .about-stats { grid-template-columns: 1fr; }
}
