/* Шрифты со своего домена: без запросов к Google, без блокировки рендера. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/manrope-400-cyrillic.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/manrope-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/manrope-500-cyrillic.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/manrope-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/manrope-600-cyrillic.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/manrope-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/manrope-700-cyrillic.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/manrope-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/plexmono-400-cyrillic.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/plexmono-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/plexmono-500-cyrillic.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/plexmono-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  color-scheme: dark;
  --ink: #0a0c12;
  --surface: #11141d;
  --line: rgba(232, 238, 255, 0.15);
  --line-strong: rgba(232, 238, 255, 0.28);
  --text: #f4f6fa;
  --muted: #aeb5c5;
  --blue: #1d5eff;
  --blue-soft: #83a8ff;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 48px;
  --space-5: 72px;
  --space-6: 96px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background-color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.space-parallax, .space-atmosphere, .starfield { position: fixed; inset: 0; pointer-events: none; }
.space-parallax {
  z-index: 0;
  inset: -8vh -5vw;
  background-image: linear-gradient(rgba(2, 5, 13, 0.7), rgba(2, 5, 13, 0.9)), url("assets/space-background.webp");
  background-position: center;
  background-size: cover;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center center;
  will-change: transform;
}
.space-atmosphere {
  z-index: 0;
  background:
    radial-gradient(74% 26% at 52% 18%, transparent 0%, rgba(0, 90, 255, 0.1) 48%, transparent 78%),
    radial-gradient(66% 22% at 46% 84%, transparent 0%, rgba(0, 90, 255, 0.075) 52%, transparent 82%);
  opacity: 0.46;
}
.starfield { z-index: 0; width: 100%; height: 100%; }
.header, .mobile-navigation, main, .footer { position: relative; z-index: 1; }

::selection { color: var(--ink); background: var(--blue-soft); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #3c465d; border: 3px solid var(--ink); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 4px; }

.section-shell { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }
.header {
  width: min(1180px, calc(100% - 64px));
  height: 104px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 3;
  background: rgba(7, 10, 19, 0.92);
}

.brand { position: relative; display: block; width: 174px; height: 60px; overflow: hidden; flex: 0 0 auto; }
.brand::before { content: ""; position: absolute; z-index: 0; inset: 14px 12px; background: rgba(29, 94, 255, 0.34); opacity: 0; filter: blur(14px); transition: opacity 180ms ease; }
.brand img {
  position: relative;
  z-index: 1;
  display: block;
  width: 174px;
  height: auto;
  max-width: none;
  transform: translate3d(0, -19px, 0) scale(1);
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.42));
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  transition: transform 180ms ease, filter 180ms ease;
}

.navigation { display: flex; gap: var(--space-3); margin-left: auto; margin-right: var(--space-3); }
.navigation a, .footer a { color: #dfe4ef; font-size: 12px; font-weight: 600; letter-spacing: 0.01em; transition: color 180ms ease-out; }
.navigation a:hover, .footer a:hover { color: var(--blue-soft); }
.mobile-navigation, .mobile-contact-bar { display: none; }
.header-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  transition: border-color 180ms ease-out, background 180ms ease-out;
}
.header-cta:hover { border-color: var(--blue-soft); background: rgba(29, 94, 255, 0.12); }

.language-switcher { display: flex; align-items: center; gap: 3px; margin-right: 16px; }
.language-button { min-width: 28px; min-height: 32px; padding: 0 5px; border: 0; border-bottom: 1px solid transparent; background: transparent; color: #9faabe; font: 500 10px "IBM Plex Mono", monospace; cursor: pointer; transition: color 180ms ease-out, border-color 180ms ease-out; }
.language-button:hover { color: #fff; }.language-button.is-active { color: #fff; border-color: var(--blue-soft); }
.icon-arrow { position: relative; width: 11px; height: 11px; display: inline-block; flex: 0 0 auto; }
.icon-arrow::before { content: ""; position: absolute; inset: 2px 0 auto auto; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; }
.icon-arrow::after { content: ""; position: absolute; right: 1px; top: 6px; width: 9px; border-top: 1.5px solid currentColor; transform: rotate(-45deg); transform-origin: right center; }

.hero { position: relative; padding: var(--space-6) 0; }
.hero::before { content: ""; position: absolute; top: 0; left: 0; width: 35%; border-top: 2px solid var(--blue); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(360px, 0.78fr); align-items: center; gap: clamp(32px, 4vw, 64px); }
.hero-copy { max-width: 700px; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7); }
.hero h1, h2, h3 { margin: 0; font-family: Manrope, Arial, sans-serif; font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; }
.hero h1 { max-width: 730px; font-size: clamp(46px, 4.85vw, 72px); }
.hero h1 em, h2 em { color: var(--blue-soft); font-style: normal; font-weight: 500; }
.hero-lead { max-width: 510px; margin: calc(var(--space-3) + var(--space-1)) 0 var(--space-2); color: var(--muted); font-size: 16px; line-height: 1.75; }
.hero-guarantee { display: flex; align-items: center; gap: var(--space-1); margin: 0 0 var(--space-3); color: var(--blue-soft); font-size: 13px; font-weight: 600; line-height: 1.5; }
.hero-guarantee > span:first-child { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: currentColor; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 19px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font: 600 12px Manrope, Arial, sans-serif;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 180ms cubic-bezier(.16, 1, .3, 1), border-color 180ms ease-out, background 180ms ease-out;
}
.button:hover { transform: translateY(-2px); border-color: var(--blue-soft); }
.button-primary { border-color: var(--blue); background: var(--blue); color: #fff; }
.button-primary:hover { background: #124cde; border-color: #124cde; }
.button-ghost { color: #e3e8f2; }
.hero-note { margin: 68px 0 0; color: #7d879a; font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: 0.09em; }



.services { position: relative; padding: calc(var(--space-6) + var(--space-3)) 0; }
/* подложка отдельным слоем — чтобы её можно было растворить, не трогая текст */
.services::before {
  content: "";
  position: absolute;
  z-index: -1;
  /* Секция сама является .section-shell, то есть уже с боковыми отступами.
     Подложку тянем на всю ширину окна, иначе вдоль краёв экрана
     остаются две тёмные полосы с резкими границами. */
  top: -1px; bottom: -1px;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  background: rgba(5, 8, 16, 0.7);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

.section-heading { position: relative; display: flex; align-items: end; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-4); }
/* --- соединительная линия в шапке секции --- */
.heading-connector { position: absolute; right: 0; bottom: calc(100% - 14px); width: min(360px, 34%); height: auto; pointer-events: none; overflow: visible; }
.hc-line { fill: none; stroke: var(--blue-soft); stroke-width: 1.4; stroke-linecap: round; opacity: 0.55; filter: drop-shadow(0 0 6px rgba(29, 94, 255, 0.55)); stroke-dasharray: 420; stroke-dashoffset: 420; }
.hc-node { fill: #0d1424; stroke: var(--blue); stroke-width: 1.6; opacity: 0; filter: drop-shadow(0 0 7px rgba(29, 94, 255, 0.7)); }
.hc-mid { fill: var(--blue); }
@keyframes hc-draw { to { stroke-dashoffset: 0; } }
@keyframes hc-pop { to { opacity: 1; } }
/* Линия рисуется, когда шапка секции реально попала в вьюпорт, а не при загрузке. */
.section-heading.is-revealed .hc-line { animation: hc-draw 2.4s cubic-bezier(.22, 1, .3, 1) 0.3s forwards; }
.section-heading.is-revealed .hc-node { animation: hc-pop 700ms ease 1.7s forwards; }
.section-heading.is-revealed .hc-mid { animation-delay: 1.2s; }
.section-heading h2, .process h2, .faq h2, .contact h2 { max-width: 760px; font-size: clamp(42px, 4.7vw, 68px); }
.section-intro { max-width: 310px; margin: 0 0 5px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.service-list { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }

.service-card {
  position: relative;
  min-height: 350px;
  padding: var(--space-4) var(--space-3);
  display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(158deg, rgba(26, 38, 70, 0.3) 0%, rgba(9, 13, 26, 0.5) 100%);
  transition: transform 340ms cubic-bezier(.16, 1, .3, 1), border-color 300ms ease, background 300ms ease, box-shadow 340ms ease;
}
.service-card:not(.guarantee):hover {
  transform: translateY(-7px);
  border-color: rgba(131, 168, 255, 0.62);
  background: linear-gradient(158deg, rgba(33, 52, 100, 0.42) 0%, rgba(11, 16, 32, 0.55) 100%);
  box-shadow: 0 0 28px rgba(29, 94, 255, 0.2), 0 20px 44px rgba(0, 0, 0, 0.45);
}
.service-card:not(.guarantee):hover .service-icon { scale: 1.12; opacity: 1; }

.service-top { display: flex; justify-content: space-between; color: #7e8aa1; font-family: "IBM Plex Mono", monospace; font-size: 9px; letter-spacing: 0.05em; }
.service-card h3 { max-width: 250px; margin-bottom: var(--space-2); font-size: clamp(27px, 2.65vw, 39px); }.service-card p { max-width: 300px; margin: 0; color: #c3cbdb; font-size: 15px; line-height: 1.65; }.service-meta { display: grid; gap: var(--space-1); padding-top: var(--space-3); }.service-meta p { max-width: none; color: #b6c0d3; font-family: "IBM Plex Mono", monospace; font-size: 13px; letter-spacing: 0.03em; line-height: 1.7; }.service-card a { display: inline-flex; align-items: center; gap: var(--space-1); margin-top: var(--space-3); color: #f2f5fb; font-size: 15px; font-weight: 600; }

.process { padding: calc(var(--space-6) + var(--space-2)) 0; background: rgba(11, 14, 23, 0.88); border-block: 1px solid var(--line); }.process-heading { position: relative; display: flex; align-items: end; justify-content: space-between; gap: var(--space-4); }.process-heading p { max-width: 260px; color: var(--muted); font-size: 14px; line-height: 1.7; }.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-2); margin-top: var(--space-5); }.steps article {
  position: relative;
  min-width: 0;
  padding: var(--space-4) var(--space-3) var(--space-3);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(158deg, rgba(26, 38, 70, 0.3) 0%, rgba(9, 13, 26, 0.5) 100%);
  transition: transform 340ms cubic-bezier(.16, 1, .3, 1), border-color 300ms ease, background 300ms ease, box-shadow 340ms ease;
}
.steps article:hover {
  transform: translateY(-7px);
  border-color: rgba(131, 168, 255, 0.62);
  background: linear-gradient(158deg, rgba(33, 52, 100, 0.42) 0%, rgba(11, 16, 32, 0.55) 100%);
  box-shadow: 0 0 28px rgba(29, 94, 255, 0.2), 0 20px 44px rgba(0, 0, 0, 0.45);
}
.steps article:hover .step-icon { scale: 1.14; opacity: 1; }.steps article::before { content: ""; position: absolute; top: -4px; left: var(--space-3); width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(29, 94, 255, 0.18); }.steps article:last-child::before { background: var(--blue-soft); box-shadow: 0 0 0 3px rgba(131, 168, 255, 0.22); }
.steps article:hover::before { background: var(--blue-soft); box-shadow: 0 0 0 4px rgba(131, 168, 255, 0.3); }.steps span { color: var(--blue-soft); font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: 0.08em; }
.step-icon {
  display: block;
  width: 88px; height: 88px;
  margin: var(--space-3) auto var(--space-3);
  object-fit: contain;
  opacity: 0.92;
  scale: 1;
  transition: opacity 260ms ease, scale 260ms cubic-bezier(.16, 1, .3, 1);
}
.steps h3 { margin: var(--space-2) 0 10px; font-size: clamp(19px, 1.55vw, 23px); }.steps p { max-width: none; margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.65; }

.faq { padding: var(--space-6) 0; background: var(--ink); border-bottom: 1px solid var(--line); }.faq-list { margin-top: var(--space-4); border-top: 1px solid var(--line); }.faq-list details { border-bottom: 1px solid var(--line); }.faq-list summary { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) 0; color: var(--text); cursor: pointer; font-size: clamp(18px, 2vw, 24px); font-weight: 600; line-height: 1.35; list-style: none; }.faq-list summary::-webkit-details-marker { display: none; }.faq-list summary::after { content: "+"; flex: 0 0 auto; color: var(--blue-soft); font: 500 24px "IBM Plex Mono", monospace; line-height: 1; }.faq-list details[open] summary::after { content: "−"; }.faq-list p { max-width: 72ch; margin: 0; padding: 0 0 var(--space-3); color: var(--muted); font-size: 14px; line-height: 1.75; opacity: 0; transition: opacity 200ms var(--ease-out); }.faq-list details[open]:not(.is-closing) p { opacity: 1; }

.contact { position: relative; isolation: isolate; padding: calc(var(--space-6) + var(--space-3)) 0; overflow: hidden; background: rgba(4, 7, 14, 0.65); }.contact::before { content: ""; position: absolute; right: 0; top: var(--space-6); width: 20%; border-top: 2px solid var(--blue); }.contact-logo-stage { position: absolute; z-index: 0; top: 50%; right: 0; width: min(500px, 43%); transform: translate3d(0, -50%, 0); pointer-events: none; }.contact-logo-stage img { display: block; width: 100%; opacity: 0.6; transform: scale(1); filter: drop-shadow(0 9px 18px rgba(0, 0, 0, 0.48)); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%); transition: transform 220ms ease, opacity 220ms ease, filter 220ms ease; }.contact > :not(.contact-logo-stage) { position: relative; z-index: 1; }.contact-text { max-width: 510px; margin: var(--space-3) 0; color: var(--muted); font-size: 15px; line-height: 1.7; }.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: var(--space-3); }.contact-form { width: min(100%, 690px); display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }.contact-form label { display: grid; gap: var(--space-1); }.contact-form label span { color: #b9c1d1; font: 10px "IBM Plex Mono", monospace; letter-spacing: .04em; }.contact-form input, .contact-form textarea { width: 100%; padding: 14px; color: var(--text); border: 1px solid var(--line); border-radius: 0; background: rgba(10, 13, 22, 0.83); font: 14px Manrope, Arial, sans-serif; outline: none; transition: border-color 180ms ease-out; }.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue-soft); }.contact-form textarea { resize: vertical; }.form-message, .form-feedback { grid-column: 1 / -1; } /* Ловушка для ботов: людям не видна и в таб-порядок не попадает. */ .form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }.contact-form .button { justify-self: start; }.contact-form .button:disabled { cursor: wait; opacity: 0.62; transform: none; }.form-feedback { min-height: 20px; margin: 0; color: #c3d2ff; font-size: 13px; font-weight: 600; line-height: 1.5; }

.footer { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); }.footer-identity { display: grid; gap: 10px; }.footer-brand { font-size: 17px !important; font-weight: 700 !important; letter-spacing: -0.03em !important; }.footer-brand span { margin-left: 4px; color: var(--blue-soft); font: 9px "IBM Plex Mono", monospace; letter-spacing: .05em; }.footer-socials { display: flex; flex-wrap: wrap; gap: 14px; }.footer-social { min-height: 28px; display: inline-flex; align-items: center; gap: 7px; color: #aeb8cc !important; font: 500 11px Manrope, Arial, sans-serif !important; letter-spacing: 0 !important; transition: color 180ms ease-out, transform 180ms ease-out; }.footer-social svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }.footer-social:hover { color: var(--blue-soft) !important; transform: translateY(-1px); }



/* ---------- Сцена в первом экране: панели интерфейса вместо картинки ---------- */
.hero-stage {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
  perspective-origin: 60% 50%;
}
.stage-panel {
  position: absolute;
  border: 1px solid rgba(29, 94, 255, 0.45);
  border-radius: 14px;
  background:
    linear-gradient(150deg, rgba(38, 62, 122, 0.42) 0%, rgba(12, 18, 38, 0.72) 55%, rgba(8, 12, 26, 0.8) 100%);
  box-shadow: 0 0 22px rgba(29, 94, 255, 0.16), 0 18px 46px rgba(0, 0, 0, 0.5);
  transition: transform 320ms cubic-bezier(.16, 1, .3, 1), border-color 320ms ease, box-shadow 320ms ease;
}
.hero-stage:hover .stage-panel { opacity: 0.55; }
.hero-stage .stage-panel:hover {
  opacity: 1;
  border-color: var(--blue-soft);
  box-shadow: 0 0 34px rgba(29, 94, 255, 0.38), 0 22px 54px rgba(0, 0, 0, 0.55);
  z-index: 4;
}

/* --- панель сайта (сзади) --- */
.panel-site {
  z-index: 1;
  top: 1%; right: 0;
  width: 268px; height: auto;
  padding: 0;
  transform: rotateY(-19deg) rotateX(7deg) rotateZ(-3deg);
  overflow: hidden;
}
.hero-stage .panel-site:hover { transform: rotateY(-19deg) rotateX(7deg) rotateZ(-3deg) translate3d(0, -8px, 30px); }
.panel-bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; border-bottom: 1px solid rgba(131, 168, 255, 0.16); }
.panel-bar i { width: 5px; height: 5px; border-radius: 50%; background: rgba(131, 168, 255, 0.4); }
.panel-bar b { margin-left: 8px; color: #cfdaf5; font-size: 10px; font-weight: 600; letter-spacing: 0.02em; }
.panel-body { display: grid; gap: 9px; padding: 0; }
.mini-hero {
  position: relative;
  padding: 15px 14px 14px;
  background:
    radial-gradient(120% 130% at 82% 8%, rgba(29, 94, 255, 0.3) 0%, transparent 60%),
    linear-gradient(180deg, rgba(9, 14, 30, 0.75), rgba(7, 10, 22, 0.5));
}
.mini-accent { position: absolute; top: 0; left: 0; width: 38%; height: 2px; background: var(--blue); }
.mini-title { display: block; color: #eaf0fc; font-size: 15px; font-weight: 700; letter-spacing: -0.03em; }
.mini-sub { display: block; width: 62%; height: 5px; margin: 8px 0 11px; border-radius: 3px; background: rgba(174, 181, 197, 0.3); }
.mini-cta { display: inline-block; padding: 4px 10px; border-radius: 4px; background: var(--blue); color: #fff; font-size: 8.5px; font-weight: 600; }
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 0 14px 14px; }
.mini-cards span { height: 38px; border-radius: 6px; border: 1px solid rgba(131, 168, 255, 0.18); background: linear-gradient(160deg, rgba(131, 168, 255, 0.12), rgba(131, 168, 255, 0.02)); }
.mini-cards span:first-child { border-color: rgba(29, 94, 255, 0.42); background: linear-gradient(160deg, rgba(29, 94, 255, 0.22), rgba(29, 94, 255, 0.04)); }


/* --- уведомление «заявку надіслано» --- */
.panel-toast {
  z-index: 3;
  top: 4%; left: 12%;
  display: flex; align-items: center; gap: 8px;
  padding: 9px 13px 9px 10px;
  border-radius: 30px;
  border-color: rgba(83, 230, 255, 0.4);
  background: linear-gradient(120deg, rgba(20, 62, 92, 0.6) 0%, rgba(10, 18, 34, 0.78) 100%);
  transform: rotateY(9deg) rotateZ(-2deg);
}
.hero-stage .panel-toast:hover { transform: rotateY(9deg) rotateZ(-2deg) translate3d(0, -6px, 26px); border-color: #53e6ff; }
.toast-check { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: rgba(83, 230, 255, 0.16); }
.toast-check svg { width: 11px; height: 11px; fill: none; stroke: #53e6ff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.toast-text { color: #dcecf6; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
/* --- карточка заявки --- */
.panel-card {
  z-index: 2;
  right: 7%; bottom: 13%;
  width: 172px;
  padding: 13px 14px 11px;
  transform: rotateY(-15deg) rotateX(9deg) rotateZ(2deg);
}
.hero-stage .panel-card:hover { transform: rotateY(-15deg) rotateX(9deg) rotateZ(2deg) translate3d(0, -8px, 30px); }
.card-label { margin: 0; color: var(--blue-soft); font-family: "IBM Plex Mono", monospace; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; }
.card-name { margin: 6px 0 10px; color: #e6ecf9; font-size: 12px; font-weight: 600; }
.card-chart { display: block; width: 100%; height: 30px; }
.card-chart path { fill: none; stroke: var(--blue-soft); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card-chart circle { fill: #fff; }

/* --- телефон с ботом (спереди) --- */
.panel-phone {
  left: 1%; top: 48%;
  width: 205px;
  padding: 12px 12px 14px;
  border-radius: 20px;
  transform: translateY(-50%) rotateY(14deg) rotateX(4deg) rotateZ(-2deg);
  z-index: 3;
}
.hero-stage .panel-phone:hover { transform: translateY(-50%) rotateY(14deg) rotateX(4deg) rotateZ(-2deg) translate3d(0, -8px, 34px); }
.phone-top { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid rgba(131, 168, 255, 0.14); }
.phone-avatar { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; }
.phone-who { display: grid; line-height: 1.25; }
.phone-who b { color: #eef2fb; font-size: 11px; font-weight: 600; }
.phone-who i { color: #7f8ca6; font-style: normal; font-size: 9px; }
.phone-chat { display: grid; gap: 6px; margin-top: 11px; }
.bubble { max-width: 92%; overflow-wrap: break-word; margin: 0; padding: 7px 10px; font-size: 10.5px; line-height: 1.45; }
.bubble.bot { justify-self: start; border-radius: 11px 11px 11px 3px; background: rgba(131, 168, 255, 0.13); color: #dde5f5; }
.bubble.me { justify-self: end; border-radius: 11px 11px 3px 11px; background: var(--blue); color: #fff; font-weight: 600; }
.bubble-actions { display: grid; gap: 4px; }
.bubble-actions span { padding: 6px 9px; border: 1px solid rgba(131, 168, 255, 0.3); border-radius: 7px; color: #cbd6ee; font-size: 10px; text-align: center; }

/* --- иконки услуг --- */
.service-icon {
  width: 132px; height: 132px;
  margin: var(--space-4) auto var(--space-4);
  object-fit: contain;
  opacity: 0.95;
  /* scale — отдельное свойство, поэтому не конфликтует с анимацией transform */
  scale: 1;
  transition: opacity 260ms ease, scale 260ms cubic-bezier(.16, 1, .3, 1);
}
/* каждая иконка качается со своим смещением, иначе они дышат в унисон */
.service-icon:hover { opacity: 1; scale: 1.16; }


/* --- карточка-гарантия во всю ширину --- */
.service-card.guarantee {
  position: relative;
  grid-column: 1 / -1;
  margin-top: var(--space-2);
  min-height: 0;
  padding: var(--space-4) var(--space-4) var(--space-4) var(--space-4);
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-4);
  border-right: 0;
  border: 1px solid rgba(29, 94, 255, 0.45);
  border-radius: 16px;
  background: linear-gradient(100deg, rgba(29, 94, 255, 0.16) 0%, rgba(29, 94, 255, 0.05) 48%, transparent 82%);
}
.service-card.guarantee:hover {
  transform: translateY(-7px);
  border-color: rgba(83, 140, 255, 0.75);
  background: linear-gradient(100deg, rgba(29, 94, 255, 0.26) 0%, rgba(29, 94, 255, 0.09) 48%, rgba(10, 14, 28, 0.4) 82%);
  box-shadow: 0 0 34px rgba(29, 94, 255, 0.28), 0 22px 50px rgba(0, 0, 0, 0.5);
}
.service-card.guarantee:hover .service-icon { scale: 1.1; }
.service-card.guarantee .service-icon { width: 148px; height: 148px; margin: 0; opacity: 1; }
.guarantee-body { display: grid; gap: var(--space-2); }
.service-card.guarantee h3 { max-width: none; margin: 0; font-size: clamp(26px, 2.4vw, 36px); }
.service-card.guarantee p { max-width: 640px; font-size: 15px; }
.guarantee-note { color: var(--blue-soft); font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: 0.1em; }
.service-card.guarantee .button { white-space: nowrap; }

/* --- визуал в героя --- */





/* --- ниже первого экрана: браузер не считает раскладку, пока секция не подъехала --- */
.services, .process, .faq, .contact, .footer { content-visibility: auto; contain-intrinsic-size: auto 700px; }

/* --- на телефоне параллакс-картинка не читается, но стоит дорого: заменяем градиентом --- */
/* ---------- Вступительная сцена героя: панели поднимаются каскадом ----------
   Проигрывается каждый раз, когда герой возвращается во вьюпорт (загрузка, скролл наверх). */
@keyframes panel-rise {
  from { opacity: 0; translate: 0 30px; }
}
html.reveal-ready :where(.hero-reveal) { opacity: 0; }
html.reveal-ready :where(.hero-reveal.is-revealed) { opacity: 1; }
html.reveal-ready .hero-reveal.is-revealed { animation: panel-rise 680ms cubic-bezier(.16, 1, .3, 1) backwards; }
html.reveal-ready .hero-copy.is-revealed { animation-duration: 720ms; animation-delay: .05s; }
html.reveal-ready .panel-site.is-revealed { animation-delay: .12s; }
html.reveal-ready .panel-phone.is-revealed { animation-delay: .24s; }
html.reveal-ready .panel-toast.is-revealed { animation-delay: .34s; }
html.reveal-ready .panel-card.is-revealed { animation-delay: .46s; }

/* ---------- Появление секций при скролле ---------- */
/* Скрыты только после включения JS (html.reveal-ready): без JS всё видно сразу. */
html.reveal-ready .reveal { opacity: 0; }
html.reveal-ready .reveal.is-revealed {
  opacity: 1;
  animation: reveal-in 700ms var(--ease-out) backwards;
  animation-delay: var(--reveal-delay, 0ms);
}
@keyframes reveal-in {
  from { opacity: 0; transform: translate3d(0, 28px, 0); }
}
.service-card:nth-child(2) { --reveal-delay: 90ms; }
.service-card:nth-child(3) { --reveal-delay: 180ms; }
.service-card:nth-child(4) { --reveal-delay: 270ms; }
.steps article:nth-child(2) { --reveal-delay: 90ms; }
.steps article:nth-child(3) { --reveal-delay: 180ms; }
.steps article:nth-child(4) { --reveal-delay: 270ms; }
.steps article:nth-child(5) { --reveal-delay: 360ms; }
.faq-list details:nth-child(2) { --reveal-delay: 70ms; }
.faq-list details:nth-child(3) { --reveal-delay: 140ms; }
.faq-list details:nth-child(4) { --reveal-delay: 210ms; }
.faq-list details:nth-child(5) { --reveal-delay: 280ms; }

/* Если анимация по какой-то причине не дошла до конца (замороженный таймлайн),
   JS форсит финальное состояние через .is-settled. */
.reveal.is-settled, .hero-reveal.is-settled { animation: none !important; }

/* На телефонах — без задержки двойного тапа у кнопок и ссылок. */
a, button, summary, input, textarea, label { touch-action: manipulation; }

/* Граница та же, что у мобильной раскладки (820px). Раньше здесь стояло 700px,
   и на 701–820px (раскладной телефон, узкий планшет) раскладка была уже мобильной,
   а фон — ещё десктопным: тёмный оверлей 0.7→0.9 без боковой подсветки,
   и по краям экрана читались тёмные полосы. */
@media (max-width: 820px) {
  /* Картинку возвращаем — без неё фон плоско-чёрный. Дорогим был не сам слой,
     а его постоянное движение, поэтому просто фиксируем его.
     Оверскан (как на десктопе) обязателен: у картинки тёмная виньетка по краям,
     и без запаса эти чёрные кромки совпадают с границами экрана.
     Оверлей на телефоне ослаблен, а бока досвечиваются атмосферой ниже —
     иначе на узком портретном экране по бокам читаются чёрные полосы. */
  .space-parallax {
    inset: -8vh -5vw;
    background-image: linear-gradient(rgba(2, 5, 13, 0.3), rgba(2, 5, 13, 0.55)), url("assets/space-background.webp");
    transform: none !important;
    will-change: auto;
    background-attachment: scroll;
  }
  /* Синее свечение по бокам/сверху/снизу: тёмные зоны картинки читаются
     как космос, а не как чёрные полосы. Цвета — из палитры сайта.
     Боковые градиенты начинаются цветом на самом краю (а не с transparent 0%):
     иначе крайние пиксели оставались без подсветки и полоса возвращалась. */
  .space-atmosphere {
    opacity: 0.85;
    background:
      radial-gradient(120% 60% at 50% 8%, transparent 0%, rgba(0, 90, 255, 0.2) 46%, transparent 76%),
      radial-gradient(78% 100% at 0% 50%, rgba(0, 90, 255, 0.19) 0%, rgba(0, 90, 255, 0.15) 42%, transparent 78%),
      radial-gradient(78% 100% at 100% 50%, rgba(0, 90, 255, 0.19) 0%, rgba(0, 90, 255, 0.15) 42%, transparent 78%),
      radial-gradient(90% 50% at 50% 100%, transparent 0%, rgba(83, 230, 255, 0.1) 48%, transparent 74%);
  }
}

/* Звёздное поле на телефоне выключено. Canvas растягивается стилями сразу,
   а перерисовывается с задержкой после смены высоты вьюпорта — а она на
   телефоне меняется постоянно, когда прячется адресная строка. В этот
   промежуток по краям оставался несочищенный предыдущий кадр.
   Второе условие — тот же телефон в альбомной ориентации: там ширина уже
   больше 820px, но экран низкий и палец вместо мыши.
   Фон и без поля живой: картинка космоса плюс подсветка. */
@media (max-width: 820px), (max-height: 520px) and (orientation: landscape) and (pointer: coarse) {
  .starfield { display: none; }
}

/* --- экономия батареи: если система просит меньше движения, статичный фон --- */
@media (prefers-reduced-motion: reduce) {
  .hc-line { stroke-dashoffset: 0; animation: none; }
  .hc-node { opacity: 1; animation: none; }
  .starfield { display: none; }
  .space-parallax { transform: none !important; }
}

/* --- крупные визуалы в шапках секций --- */
.section-visual { position: absolute; top: 50%; right: 25%; width: clamp(130px, 13vw, 186px); height: auto; transform: translateY(-50%); opacity: 0.9; pointer-events: none; }
.faq-head { position: relative; }
.faq-head .section-visual { top: -18px; right: 13%; width: clamp(120px, 12vw, 166px); transform: none; }

/* --- пальцу нужна зона не меньше 44px, а ссылки в карточках были 21px --- */
@media (hover: none) and (pointer: coarse) {
  .service-card > a { min-height: 44px; align-items: center; }
  .faq-list summary { min-height: 52px; }
}
/* Подписи полей формы были 10px — это интерфейс, а не декор. */
.contact-form label > span { font-size: 13px; letter-spacing: 0.02em; }
@media (max-width: 1080px) {
  .panel-site { width: 232px; }
  .panel-phone { width: 186px; left: 0; }
  .panel-card { width: 158px; right: 0; bottom: 6%; }
  .panel-toast { left: 6%; padding: 8px 11px 8px 9px; }
  .toast-text { font-size: 9.5px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-3) var(--space-4); }
  
  
}
@media (max-width: 820px) {
  .service-icon { width: 104px; height: 104px; margin: var(--space-3) auto var(--space-3); }.service-card.guarantee { grid-template-columns: 1fr; gap: var(--space-3); padding: var(--space-4) var(--space-3); text-align: left; }.service-card.guarantee .service-icon { width: 96px; height: 96px; }.service-card.guarantee .button { width: 100%; }.hero-stage { min-height: 0; margin-top: var(--space-4); display: block; position: relative; height: 330px; perspective: 900px; }.hero-stage:hover .stage-panel { opacity: 1; }.panel-site { top: 0; right: 0; width: 200px; height: 150px; transform: rotateY(-16deg) rotateX(6deg) rotateZ(-3deg); }.panel-phone { left: 0; top: 42%; width: 190px; transform: translateY(-50%) rotateY(11deg) rotateZ(-2deg); }.panel-card { right: 2%; bottom: 0; width: 150px; transform: rotateY(-12deg) rotateX(7deg) rotateZ(2deg); }.hero-stage .stage-panel:hover { transform: none; }.panel-toast { display: none; }
  body { padding-bottom: 80px; }
  .section-shell, .header { width: min(100% - 36px, 1180px); }
  .header { height: 82px; }.brand { width: 145px; height: 50px; }.brand img { width: 145px; height: auto; transform: translate3d(0, -15px, 0) scale(1); }.navigation { display: none; }.mobile-navigation { width: min(100% - 36px, 1180px); min-height: 44px; margin: 0 auto 12px; display: flex; align-items: center; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }.mobile-navigation::-webkit-scrollbar { display: none; }.mobile-navigation a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; color: #dfe4ef; font-size: 12px; font-weight: 600; white-space: nowrap; }.language-switcher { margin-left: auto; margin-right: 8px; }.language-button { min-width: 25px; }.header-cta { min-height: 40px; padding: 0 10px; font-size: 10px; gap: 7px; }.mobile-contact-bar { position: fixed; z-index: 20; left: 18px; right: 18px; bottom: 12px; min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 11px; border: 1px solid var(--blue); background: var(--blue); color: #fff; box-shadow: 0 12px 28px rgba(1, 12, 35, 0.45); font-size: 13px; font-weight: 700; }
  .hero { padding: calc(var(--space-5) - var(--space-2)) 0 var(--space-5); }.hero::before { width: 80px; }.hero-layout { grid-template-columns: 1fr; gap: var(--space-4); }.hero h1 { max-width: 610px; font-size: clamp(42px, 10.8vw, 64px); line-height: 1.04; }.hero-lead { max-width: 31ch; margin: var(--space-3) 0 var(--space-2); font-size: 15px; }.hero-guarantee { margin-bottom: var(--space-3); }.hero-note { margin-top: var(--space-4); line-height: 1.75; }.contact-logo-stage { top: 62%; right: 0; width: min(500px, 100%); }
  .services { padding: calc(var(--space-5) + var(--space-1)) 0; }.section-heading, .process-heading { display: block; }.heading-connector, .section-visual { display: none; }.section-intro, .process-heading p { margin-top: var(--space-3); }.service-list { grid-template-columns: 1fr; gap: 0; }.steps { grid-template-columns: 1fr; gap: var(--space-2); }.service-card, .service-card:not(:first-child) { min-height: 0; padding: var(--space-4) var(--space-3); }.service-meta { padding-top: var(--space-3); }.process { padding: calc(var(--space-5) + var(--space-1)) 0; }.steps { margin-top: var(--space-3); }.steps article { padding: var(--space-4) var(--space-3) var(--space-3); }.step-icon { width: 76px; height: 76px; }.faq { padding: calc(var(--space-5) + var(--space-1)) 0; }.faq-list { margin-top: var(--space-3); }.faq-list summary { min-height: 56px; padding: var(--space-2) 0; font-size: 18px; }.faq-list p { padding-bottom: var(--space-3); }.contact { padding: calc(var(--space-5) + var(--space-1)) 0; }.contact::before { width: 65px; top: calc(var(--space-5) - var(--space-2)); }.contact-form { grid-template-columns: 1fr; }.contact-form input, .contact-form textarea { font-size: 16px; }.form-message, .form-feedback { grid-column: auto; }.footer { min-height: 125px; flex-wrap: wrap; gap: var(--space-1); padding: calc(var(--space-3) - var(--space-1)) 0; }
}

@media (max-width: 500px) {
  .section-shell, .header, .mobile-navigation { width: min(100% - 28px, 1180px); }
}


/* Телефон — самостоятельная композиция, а не сжатый десктоп. */
@media (max-width: 820px) {
  body { padding-bottom: max(88px, calc(72px + env(safe-area-inset-bottom))); }
  .section-shell, .header, .mobile-navigation { width: min(100% - 32px, 1180px); }
  .header { height: 76px; }
  .brand { width: 138px; height: 46px; }
  .brand img { width: 138px; transform: translate3d(0, -14px, 0) scale(1); }
  .header-cta { display: none; }
  .language-switcher { display: flex; gap: 2px; margin-left: auto; margin-right: 0; }
  .language-button { min-width: 30px; min-height: 44px; padding: 0 6px; }
  .mobile-navigation { min-height: 48px; margin-bottom: var(--space-2); gap: 0; }
  .mobile-navigation a { min-height: 48px; padding: 0 12px; }
  .hero { padding-top: var(--space-4); padding-bottom: var(--space-5); }
  .hero-layout { gap: var(--space-3); }
  .hero-lead { max-width: 34ch; font-size: 16px; line-height: 1.7; }
  .hero-actions { gap: var(--space-2); }
  .hero-actions .button { min-height: 54px; }
  .hero-note { margin-top: var(--space-4); }
  .hero-stage { height: clamp(260px, 58vw, 330px); margin-top: var(--space-3); }
  .panel-site { width: min(54vw, 200px); height: auto; }
  .panel-phone { width: min(51vw, 190px); }
  .panel-card { width: min(43vw, 150px); }
  .mobile-contact-bar {
    left: 16px; right: 16px; bottom: max(12px, env(safe-area-inset-bottom));
    opacity: 0; transform: translateY(140%); pointer-events: none;
    transition: opacity 260ms ease, transform 320ms cubic-bezier(.16, 1, .3, 1);
  }
  .mobile-contact-bar.is-visible { opacity: 1; transform: none; pointer-events: auto; }
}

@media (max-width: 520px) {
  .section-shell, .header, .mobile-navigation { width: min(100% - 28px, 1180px); }
  .mobile-navigation { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
  .mobile-navigation a { justify-content: center; padding: 0 2px; font-size: 11.5px; letter-spacing: -0.01em; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; justify-content: center; }
}

/* Хедер и секция контактов красят свой фон сами. Пока они были шириной
   с контент-колонку, заливка обрывалась за 14–16px до края экрана, и по бокам
   оставались светлые полосы просвечивающего космоса — на телефоне это читается
   как шов, а не как приём. Тянем заливку во всю ширину, отступы держим паддингом:
   контент остаётся ровно там же, где был. */
@media (max-width: 820px) {
  .header { width: 100%; padding: 0 16px; }
  .contact { width: 100%; padding-left: 16px; padding-right: 16px; }
  /* Ширина водяного знака считается от паддинг-бокса секции, а он теперь во всю
     ширину экрана — без вычета отступов знак вылезал бы на 16px за левый край. */
  .contact::before { right: 16px; }
  .contact-logo-stage { right: 16px; width: min(500px, calc(100% - 32px)); }
}
@media (max-width: 520px) {
  .header { padding: 0 14px; }
  .contact { padding-left: 14px; padding-right: 14px; }
  .contact::before { right: 14px; }
  .contact-logo-stage { right: 14px; width: min(500px, calc(100% - 28px)); }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 42px; }
  .hero-stage { height: 260px; }
}

@media (hover: hover) and (pointer: fine) {
  .brand:hover::before { opacity: 0.8; }
  .brand:hover img { transform: translate3d(0, -19px, 0) scale(1.025); filter: drop-shadow(0 7px 14px rgba(29, 94, 255, 0.52)); }
  .contact:hover .contact-logo-stage img { opacity: 0.88; transform: scale(1.025); filter: drop-shadow(0 11px 22px rgba(29, 94, 255, 0.48)); }
}

/* На тач-экранах ссылки футера получают нормальную зону нажатия (28px пальцем не попадёшь). */
@media (hover: none) and (pointer: coarse) {
  .footer-social { min-height: 44px; padding: 8px 2px; }
  .footer-brand { min-height: 44px; display: inline-flex; align-items: center; }
  .footer > a[href="#top"] { min-height: 44px; display: inline-flex; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  .space-parallax, .space-atmosphere { transform: none !important; will-change: auto; }
  .starfield { display: none; }
  /* Контент всегда виден: !important перебивает даже замороженные анимации. */
  html.reveal-ready .reveal, html.reveal-ready .hero-reveal { opacity: 1 !important; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}

/* --- страница 404 --- */
.notfound { min-height: 82vh; display: flex; align-items: center; padding: var(--space-6) 0; }
.notfound-code { margin: 0 0 var(--space-3); color: var(--blue-soft); font: 500 13px "IBM Plex Mono", monospace; letter-spacing: 0.22em; }
.notfound h1 { max-width: 640px; margin: 0; font-size: clamp(44px, 6vw, 76px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; }
.notfound h1 em { color: var(--blue-soft); font-style: normal; font-weight: 500; }
.notfound-text { max-width: 460px; margin: var(--space-3) 0 var(--space-4); color: var(--muted); font-size: 16px; line-height: 1.7; }
