/* Деталь и точка — стили сайта.
   Цвета — из старого сайта: тёмно-синий фон, персиковая кнопка, мятный акцент. */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-cyrillic.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/JetBrainsMono-cyrillic.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/JetBrainsMono-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #050a14;
  --bg-2: #08101e;
  --surface: #0d1626;
  --surface-2: #121d31;
  --line: rgba(204, 234, 234, 0.12);
  --line-strong: rgba(204, 234, 234, 0.24);
  --text: #e8eef1;
  --muted: #94a3ab;
  --peach: #fadacb;
  --peach-hover: #ffe7dc;
  --mint: #cceaea;
  --mint-2: #8ed7d7;
  --paper: #f2f5f6;
  --paper-2: #e6ecee;
  --ink: #0a1222;
  --ink-muted: #4d5c66;
  --radius: 8px;
  --radius-lg: 14px;
  --wrap: 1400px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a[href^="tel:"] {
  white-space: nowrap;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 750;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.mono {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint-2);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

/* То, что надо уточнить у владельца: подчёркнуто пунктиром, подсказка при наведении */
.fill {
  border-bottom: 1px dashed var(--mint-2);
  cursor: help;
}

.section--light .fill {
  border-bottom-color: #2f8f8f;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn--primary {
  background: var(--peach);
  color: var(--ink);
}

.btn--primary:hover {
  background: var(--peach-hover);
}

.btn--primary:active {
  transform: translateY(1px);
}

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

.btn--ghost:hover {
  border-color: var(--mint);
  background: rgba(204, 234, 234, 0.06);
}

.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 15px;
}

.btn--block {
  width: 100%;
}

/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(5, 10, 20, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color .2s;
}

.header.is-scrolled {
  border-bottom-color: var(--line);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand img {
  width: 50px;
  height: auto;
}

.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name b {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand__name span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 15px;
  white-space: nowrap;
  color: #c3cdd3;
  transition: color .2s, background .2s;
}

.nav a:hover {
  color: var(--text);
  background: rgba(204, 234, 234, 0.06);
}

.header__phone {
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}

.header__phone:hover {
  color: var(--peach);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: none;
  cursor: pointer;
}

.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: transform .2s, background .2s;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger span::before {
  top: -6px;
}

.burger span::after {
  top: 6px;
}

.menu-open .burger span {
  background: transparent;
}

.menu-open .burger span::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .burger span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Первый экран ---------- */
.hero {
  position: relative;
  padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px);
  overflow: hidden;
}

.blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(142, 215, 215, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 215, 215, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 30% 40%, #000 30%, transparent 75%);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(36px, 5.2vw, 64px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.hero h1 em {
  font-style: normal;
  color: var(--peach);
}

.hero__lead {
  margin-top: 22px;
  max-width: 34em;
  font-size: clamp(17px, 1.5vw, 19px);
  color: #b9c5cb;
}

.hero__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__facts {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0;
  justify-content: start;
  border-top: 1px solid var(--line);
}

.hero__facts div {
  padding: 18px 28px 0 0;
  margin-right: 28px;
  border-right: 1px solid var(--line);
}

.hero__facts div:last-child {
  border-right: 0;
  margin-right: 0;
}

.hero__facts b {
  display: block;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.hero__facts span {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

.hero__visual {
  position: relative;
}

.hero__photo {
  position: relative;
  aspect-ratio: 4 / 4.4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 10, 20, 0.75));
}

.hero__tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: rgba(5, 10, 20, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--mint);
}

.hero__tag i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint-2);
  box-shadow: 0 0 0 4px rgba(142, 215, 215, 0.18);
}

/* размерная линия — отсылка к чертежу */
.dim {
  position: absolute;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--mint-2);
  opacity: 0.85;
}

.dim--top {
  left: 0;
  right: 0;
  top: -26px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dim--top::before,
.dim--top::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.dim--side {
  top: 0;
  bottom: 0;
  right: -30px;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dim--side::before,
.dim--side::after {
  content: "";
  flex: 1;
  width: 1px;
  background: currentColor;
  opacity: 0.5;
}

/* ---------- Лента применений ---------- */
.uses {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.uses ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 22px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.uses li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #c3cdd3;
}

.uses li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--peach);
  transform: rotate(45deg);
}

/* ---------- Секции ---------- */
.section {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
}

.section--alt {
  background: var(--bg-2);
}

.section--light {
  background: var(--paper);
  color: var(--ink);
}

.section--light .eyebrow {
  color: #2a7f80;
}

.section__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section__head h2 {
  margin-top: 16px;
  font-size: clamp(30px, 3.8vw, 46px);
}

.section__head p {
  color: var(--muted);
  max-width: 32em;
}

.section--light .section__head p {
  color: var(--ink-muted);
}

/* Услуги */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service {
  background: var(--bg);
  padding: 30px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
  transition: background .25s;
}

.service:hover {
  background: var(--surface);
}

.service__num {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--mint-2);
}

.service__icon {
  width: 44px;
  height: 44px;
  margin: 8px 0 10px;
  color: var(--peach);
}

.service h3 {
  font-size: 21px;
}

.service p {
  color: var(--muted);
  font-size: 15.5px;
}

/* Материалы */
.materials {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.material {
  background: #fff;
  border: 1px solid var(--paper-2);
  border-radius: var(--radius-lg);
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.material__sym {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  font-family: var(--mono);
  color: var(--ink-muted);
  font-size: 12px;
}

.material__sym b {
  font-family: var(--font);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.material h3 {
  font-size: 19px;
}

.material p {
  font-size: 15px;
  color: var(--ink-muted);
}

.material ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
}

.material li {
  font-size: 12.5px;
  font-family: var(--mono);
  padding: 4px 8px;
  border-radius: 5px;
  background: var(--paper);
  color: #33424c;
}

/* Работы */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 12px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 0;
  padding: 0;
  cursor: zoom-in;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery__item:hover img {
  transform: scale(1.04);
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(5, 10, 20, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.gallery__item[hidden] {
  display: none;
}

.gallery__more {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

/* Как работаем */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 0 22px 0 0;
}

.step__line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.step__dot {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--mint);
  background: var(--bg);
}

.step__line::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-strong);
}

.step:last-child .step__line::after {
  display: none;
}

.step h3 {
  font-size: 18px;
}

.step p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}

/* Штамп чертежа — характеристики */
.spec {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.spec__intro h2 {
  margin-top: 16px;
  font-size: clamp(30px, 3.8vw, 46px);
}

.spec__intro p {
  margin-top: 18px;
  color: var(--muted);
}

.stamp {
  border: 2px solid var(--line-strong);
  border-radius: 4px;
  font-size: 15px;
  background: rgba(13, 22, 38, 0.6);
}

.stamp__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--line-strong);
}

.stamp__row:last-child {
  border-bottom: 0;
}

.stamp__row>* {
  padding: 14px 18px;
}

.stamp__row dt {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  border-right: 1px solid var(--line-strong);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
}

.stamp__row dd {
  margin: 0;
  font-weight: 600;
}

.stamp__foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  border-top: 2px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
}

/* Вопросы */
.faq {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(32px, 5vw, 72px);
}

.faq__intro h2 {
  margin-top: 16px;
  font-size: clamp(30px, 3.8vw, 46px);
}

.faq__intro p {
  margin-top: 18px;
  color: var(--ink-muted);
}

.faq__list {
  border-top: 1px solid #cfd8dc;
}

.faq details {
  border-bottom: 1px solid #cfd8dc;
}

.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 6px;
  background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
  transition: transform .2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 40px 24px 0;
  color: var(--ink-muted);
}

/* Заявка */
.order {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.order__intro h2 {
  margin-top: 16px;
  font-size: clamp(30px, 3.8vw, 46px);
}

.order__intro>p {
  margin-top: 18px;
  color: var(--muted);
}

.contacts-list {
  margin-top: 36px;
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
}

.contacts-list a,
.contacts-list div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contacts-list>*>span {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  padding-top: 3px;
}

.contacts-list b {
  font-weight: 650;
}

.contacts-list a:hover b {
  color: var(--peach);
}

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 36px);
  display: grid;
  gap: 22px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  position: relative;
}

.field input,
.field textarea {
  width: 100%;
  padding: 22px 16px 10px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
  padding-top: 26px;
}

.field label {
  position: absolute;
  left: 17px;
  top: 16px;
  color: var(--muted);
  pointer-events: none;
  transition: all .15s;
  font-size: 16px;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--mint-2);
  box-shadow: 0 0 0 3px rgba(142, 215, 215, 0.15);
}

.field input:focus+label,
.field input:not(:placeholder-shown)+label,
.field textarea:focus+label,
.field textarea:not(:placeholder-shown)+label {
  top: 7px;
  font-size: 12px;
  color: var(--mint-2);
}

.field input:user-invalid {
  border-color: #e38b7a;
}

.group__label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  position: relative;
}

.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 15px;
  transition: all .15s;
}

.chip input:hover+span {
  border-color: var(--mint);
}

.chip input:checked+span {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--ink);
  font-weight: 650;
}

.chip input:focus-visible+span {
  outline: 2px solid var(--mint-2);
  outline-offset: 2px;
}

.drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1.5px dashed var(--line-strong);
  background: var(--bg);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.drop:hover,
.drop.is-over {
  border-color: var(--mint-2);
  background: rgba(142, 215, 215, 0.05);
}

.drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.drop__icon {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--mint);
}

.drop__icon svg {
  width: 22px;
  height: 22px;
}

.drop__text b {
  display: block;
  font-weight: 650;
}

.drop__text span {
  font-size: 13.5px;
  color: var(--muted);
}

.drop__files {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.drop__files li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--mint);
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--bg);
}

.drop__files li em {
  font-style: normal;
  color: var(--muted);
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}

.check input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  border-radius: 5px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.check input:checked {
  background: var(--mint);
  border-color: var(--mint);
}

.check input:checked::after {
  content: "";
  width: 10px;
  height: 6px;
  border: 2px solid var(--ink);
  border-top: 0;
  border-right: 0;
  transform: translateY(-1px) rotate(-45deg);
}

.check a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
}

.form__foot {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.form__note {
  font-size: 13.5px;
  color: var(--muted);
}

.form__status {
  font-size: 14.5px;
}

.form__status.is-error {
  color: #f0a493;
}

.hp {
  position: absolute;
  left: -9999px;
}

.form-done {
  text-align: center;
  padding: 40px 10px;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.form-done__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--ink);
}

.form-done__icon svg {
  width: 28px;
  height: 28px;
}

.form-done h3 {
  font-size: 26px;
}

.form-done p {
  color: var(--muted);
  max-width: 26em;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 36px;
  background: var(--bg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer h4 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer li+li {
  margin-top: 8px;
}

.footer a:hover {
  color: var(--peach);
}

.footer p {
  color: var(--muted);
  font-size: 15px;
  max-width: 22em;
  margin-top: 16px;
}

.footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: var(--muted);
}

.socials {
  display: flex;
  gap: 8px;
}

.socials a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  transition: border-color .2s, color .2s;
}

.socials a:hover {
  border-color: var(--mint);
  color: var(--mint);
}

.socials svg {
  width: 20px;
  height: 20px;
}

.page-head {
  padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 40px);
  position: relative;
  overflow: hidden;
}

.crumbs {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
}

.crumbs a:hover {
  color: var(--mint);
}

.page-head h1 {
  margin-top: 18px;
  font-size: clamp(32px, 4.4vw, 52px);
}

.page-head p {
  margin-top: 16px;
  color: var(--muted);
  max-width: 40em;
}

.doc {
  padding-bottom: clamp(64px, 9vw, 120px);
}

.doc__body {
  max-width: 780px;
}

.doc__body h2 {
  font-size: 22px;
  margin: 40px 0 12px;
}

.doc__body p,
.doc__body li {
  color: #c3cdd3;
}

.doc__body p+p {
  margin-top: 12px;
}

.doc__body ul {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.doc__body ul li {
  padding-left: 22px;
  position: relative;
}

.doc__body ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--peach);
  transform: rotate(45deg);
}

.doc__body a {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.req {
  border: 2px solid var(--line-strong);
  border-radius: 4px;
  max-width: 860px;
}

.req .stamp__row {
  grid-template-columns: 260px 1fr;
}

.req dd {
  font-variant-numeric: tabular-nums;
}

.copy-btn {
  margin-left: 10px;
  padding: 2px 8px;
  border-radius: 5px;
  border: 1px solid var(--line-strong);
  background: none;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  cursor: pointer;
  vertical-align: 2px;
}

.copy-btn:hover {
  color: var(--mint);
  border-color: var(--mint);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(3, 6, 12, 0.94);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(92vw, 1400px);
  max-height: 86vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(13, 22, 38, 0.8);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lightbox button:hover {
  border-color: var(--mint);
}

.lightbox button svg {
  width: 22px;
  height: 22px;
}

.lightbox__close {
  top: 20px;
  right: 20px;
}

.lightbox__prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__count {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

.cookie {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 90;
  max-width: 420px;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: rgba(13, 22, 38, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  font-size: 14.5px;
  color: #c3cdd3;
  display: none;
}

.cookie.is-visible {
  display: block;
}

.cookie a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie__actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.mobile-bar {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1180px) {
  .header__phone {
    display: none;
  }

  .nav a {
    padding: 8px 9px;
  }
}

@media (max-width: 1080px) {
  .uses ul {
    justify-content: flex-start;
  }

  .services {
    grid-template-columns: repeat(2, 1fr);
  }

  .materials {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .step {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 0 18px;
    padding: 0 0 26px;
  }

  .step__line {
    margin: 0;
    grid-row: span 2;
    align-self: start;
  }

  .step__line::after {
    display: none;
  }

  .step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 34px;
    bottom: 0;
    width: 1px;
    background: var(--line-strong);
  }

  .step h3 {
    padding-top: 5px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1080px) {
  :root {
    --header-h: 64px;
  }

  .nav,
  .header__phone,
  .header .btn {
    display: none;
  }

  .burger {
    display: block;
  }

  .menu-open .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--bg);
    border-bottom-color: var(--line);
  }

  .menu-open .nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    padding: 50px var(--gutter) 32px;
    background: var(--bg);
    overflow-y: auto;
  }

  .menu-open .nav a {
    padding: 18px 0;
    font-size: 20px;
    font-weight: 650;
    color: var(--text);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .menu-open .nav .nav__phone {
    display: block;
    margin-top: 20px;
    border: 0;
    color: var(--peach);
  }
}

@media (max-width: 900px) {

  .hero__grid,
  .spec,
  .faq,
  .order,
  .section__head {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    max-width: 520px;
  }

  .hero__photo {
    aspect-ratio: 4 / 3;
  }

  .dim--side {
    display: none;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .materials {
    grid-template-columns: repeat(2, 1fr);
  }
}

.nav__phone {
  display: none;
}

@media (max-width: 639px) {
  body {
    font-size: 16px;
    padding-bottom: 76px;
  }

  .section {
    padding: 56px 0;
  }

  .section__head {
    margin-bottom: 28px;
    gap: 14px;
  }

  .section__head h2,
  .spec__intro h2,
  .faq__intro h2,
  .order__intro h2 {
    font-size: 30px;
    margin-top: 12px;
  }

  .header {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: var(--line);
  }

  .brand__name span {
    display: none;
  }

  /* первый экран */
  .hero {
    padding: 60px 0 44px;
  }

  .hero h1 {
    margin-top: 16px;
    font-size: 35px;
    letter-spacing: -0.03em;
  }

  .hero__lead {
    margin-top: 16px;
    font-size: 16.5px;
  }

  .hero__actions {
    margin-top: 26px;
    gap: 10px;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .hero__facts {
    margin-top: 30px;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero__facts div {
    padding: 14px 10px 0 0;
    margin-right: 10px;
  }

  .hero__facts div:last-child {
    padding-right: 0;
  }

  .hero__facts b {
    font-size: 18px;
    white-space: nowrap;
  }

  .hero__facts span {
    display: block;
    font-size: 12.5px;
    line-height: 1.35;
    margin-top: 4px;
  }

  .hero__grid {
    gap: 32px;
  }

  .hero__visual {
    max-width: none;
  }

  .hero__photo {
    aspect-ratio: 16 / 10;
    border-radius: var(--radius);
  }

  .dim {
    display: none;
  }

  .hero__tag {
    left: 10px;
    bottom: 10px;
    padding: 7px 10px;
    font-size: 11.5px;
  }

  .uses ul {
    justify-content: flex-start;
    gap: 8px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .uses li {
    padding: 6px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 14px;
  }

  .uses li::before {
    display: none;
  }

  .services {
    grid-template-columns: 1fr;
    border-radius: var(--radius);
  }

  .service {
    min-height: 0;
    padding: 20px 18px;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 4px 16px;
  }

  .service__num {
    grid-column: 2;
    grid-row: 1;
    font-size: 11.5px;
  }

  .service__icon {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 8px;
    border-radius: var(--radius);
    background: var(--surface-2);
  }

  .service__icon svg {
    width: 100%;
    height: 100%;
  }

  .service h3 {
    grid-column: 2;
    font-size: 18px;
  }

  .service p {
    grid-column: 2;
    font-size: 15px;
    margin-top: 2px;
  }

  .materials {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .material {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 2px 14px;
    padding: 16px;
    border-radius: var(--radius);
  }

  .material__sym {
    grid-column: 1;
    grid-row: 1 / span 3;
    align-self: start;
    justify-content: center;
    align-items: center;
    height: 72px;
    border-radius: var(--radius);
    background: var(--paper);
  }

  .material__sym b {
    font-size: 17px;
    letter-spacing: -0.02em;
  }

  .material__sym span {
    display: none;
  }

  .material h3 {
    grid-column: 2;
    font-size: 17px;
  }

  .material p {
    grid-column: 2;
    font-size: 14.5px;
    line-height: 1.5;
  }

  .material ul {
    grid-column: 2;
    padding-top: 6px;
  }

  .material li {
    font-size: 11.5px;
    padding: 3px 7px;
  }

  /* работы */
  .gallery {
    grid-auto-rows: 140px;
    gap: 8px;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

  .gallery__item--tall {
    grid-row: span 2;
  }

  .gallery__item figcaption {
    left: 6px;
    bottom: 6px;
    max-width: calc(100% - 12px);
    padding: 4px 8px;
    font-size: 12px;
    line-height: 1.3;
    text-align: left;
  }

  .gallery__more .btn {
    width: 100%;
  }

  .stamp {
    font-size: 14.5px;
  }

  .stamp__row,
  .req .stamp__row {
    grid-template-columns: 112px 1fr;
  }

  .stamp__row>* {
    padding: 11px 12px;
  }

  .stamp__row dt {
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: 0.01em;
  }

  .req dd {
    word-break: break-word;
  }

  .spec__intro .btn {
    width: 100%;
  }

  .copy-btn {
    margin: 8px 0 0;
    display: block;
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }

  .faq summary {
    font-size: 16.5px;
    padding: 18px 0;
  }

  .faq details p {
    padding-right: 0;
    padding-bottom: 20px;
  }

  /* заявка */
  .contacts-list {
    margin-top: 26px;
  }

  .contacts-list a,
  .contacts-list div {
    grid-template-columns: 84px 1fr;
    padding: 12px 0;
  }

  .form {
    padding: 18px;
    gap: 18px;
    border-radius: var(--radius);
  }

  .form__row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .chips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .chips--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .chip span {
    width: 100%;
    justify-content: center;
    padding: 0 6px;
    font-size: 14.5px;
  }

  .drop {
    padding: 14px;
    gap: 12px;
  }

  .drop__hint {
    display: none;
  }

  .drop__text span {
    font-size: 13px;
  }

  .form__foot .btn {
    width: 100%;
  }

  .form__foot {
    gap: 12px;
  }

  .footer {
    padding: 40px 0 24px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__nav {
    display: none;
  }

  .footer__bottom {
    margin-top: 32px;
    flex-direction: column;
    gap: 4px;
  }

  .page-head h1 {
    font-size: 32px;
  }

  .lightbox__prev,
  .lightbox__next {
    top: auto;
    bottom: 14px;
    transform: none;
  }

  .cookie {
    left: 12px;
    right: 12px;
    bottom: 84px;
    max-width: none;
    padding: 14px;
    font-size: 13.5px;
    line-height: 1.45;
  }

  .cookie__actions {
    margin-top: 10px;
  }

  .cookie__actions .btn {
    flex: 1;
    min-height: 40px;
    padding: 0 10px;
    font-size: 14px;
  }

  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1.25fr;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--bg);
    border-top: 1px solid var(--line);
  }

  .mobile-bar .btn {
    min-height: 48px;
    padding: 0 8px;
    font-size: 15px;
    gap: 8px;
  }

  .mobile-bar .btn svg {
    width: 17px;
    height: 17px;
  }
}

@media (max-width: 374px) {
  .hero h1 {
    font-size: 31px;
  }

  .hero__facts b {
    font-size: 16px;
  }

  .chip span {
    font-size: 13.5px;
  }

  .mobile-bar .btn svg {
    display: none;
  }
}

.section--map {
  background: var(--bg, #fff);
}

.map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: stretch;
}

.map__frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #e9edf3;
  min-height: 420px;
  box-shadow: 0 12px 32px rgba(5, 10, 20, .08);
}

.map__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map__frame::before {
  content: "Загрузка карты…";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #6b7785;
  font-size: 14px;
}

.map__frame.is-loaded::before {
  content: none;
}

.map__info {
  background: #050a14;
  color: #e8eef7;
  border-radius: 18px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.map__info h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #9fb3cc;
  font-weight: 600;
}

.map__addr {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.map__list {
  margin: 4px 0 0;
  display: grid;
  gap: 10px;
}

.map__list>div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.map__list dt {
  color: #9fb3cc;
  font-size: 14px;
}

.map__list dd {
  margin: 0;
  font-weight: 600;
}

.map__list a {
  color: #e8eef7;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, .25);
}

.map__list a:hover {
  border-bottom-color: #fff;
}

.map__routes {
  margin-top: 6px;
  display: grid;
  gap: 10px;
}

.map__routes-label {
  color: #9fb3cc;
  font-size: 14px;
}

.map__routes-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.map__routes-btns .btn {
  color: #e8eef7;
  border-color: rgba(255, 255, 255, .25);
}

.map__routes-btns .btn:hover {
  border-color: #fff;
}

.map__routes-btns svg {
  width: 16px;
  height: 16px;
}

.map__open {
  margin-top: auto;
  color: #7cc4ff;
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
}

.map__open:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .map {
    grid-template-columns: 1fr;
  }

  .map__frame {
    min-height: 340px;
  }
}

.marquee {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-top: 1px solid rgba(0, 0, 0, .08);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  font-size: 15px;
  color: #ffffff;
  background:rgba(5, 10, 20, 0.78);
  -webkit-backdrop-filter: blur(14px);
  margin: 0;
  padding: 12px 0;
}

.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  animation: marquee-scroll 300s linear infinite;
}
.marquee__group {
  display: flex;
  gap: 48px;
  padding-right: 48px;
  flex-shrink: 0;
}

.marquee__item {
  white-space: nowrap;
}

.marquee__item b {
  font-weight: 600;
  color: var(--peach);
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 639px) {
  .marquee {
    font-size: 13.5px;
    padding: 10px 0;
    display: none;
  }

  .marquee__group {
    gap: 28px;
    padding-right: 28px;
  }

  .marquee__track {
    animation-duration: 60s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}


.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(13, 22, 38, 0.92);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s, visibility .25s, transform .25s, border-color .2s, background .2s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.to-top svg {
  width: 20px;
  height: 20px;
}

.to-top:hover {
  border-color: var(--mint);
  background: rgba(13, 22, 38, 1);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

@media (max-width: 639px) {
  .to-top {
    right: 12px;
    bottom: calc(76px + env(safe-area-inset-bottom) + 8px);
    width: 44px;
    height: 44px;
  }
}