/* стиль: «Индустрия» · монтажная компания «Профмонтаж» */

/* ---------- основа ---------- */

:root {
  --ink-soft: #d3d8dd;
  --ink-faint: #a9b1b8;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
}

.style-industry {
  font-size: 17px;
  line-height: 1.55;
}

.style-industry h1,
.style-industry h2,
.style-industry h3 {
  text-wrap: balance;
}

[id] {
  scroll-margin-top: 88px;
}

p,
li,
dd,
dt,
td,
th {
  overflow-wrap: break-word;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  top: -80px;
  left: 12px;
  z-index: 120;
  padding: 10px 16px;
  background: var(--accent);
  color: #15181b;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus-visible {
  top: 12px;
}

.screen {
  padding: clamp(52px, 7vw, 96px) 0;
  border-top: 1px solid var(--line);
}

.screen--alt {
  background: #1a1e22;
}

.sec__top {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.sec__top .title {
  font-size: clamp(30px, 4.4vw, 58px);
  max-width: 22ch;
}

.sec__top .lead {
  max-width: 56ch;
}

.btn {
  border-radius: 0;
  min-height: 48px;
  padding: 0 24px;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.03em;
  text-transform: none;
}

.style-industry .btn--ghost {
  background: transparent;
  border: 1px solid #5a626a;
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--surface);
  border-color: var(--ink);
}

/* ---------- шапка ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.head__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

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

.brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 28%;
  background: #e8eaed;
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.head__nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 24px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.head__nav a {
  position: relative;
  padding: 5px 0;
  color: var(--ink-soft, #d3d8dd);
  text-decoration: none;
  white-space: nowrap;
}

.head__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease);
}

.head__nav a:hover {
  color: var(--ink);
}

.head__nav a:hover::after {
  transform: scaleX(1);
}

.head__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.head__phone {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.head__phone:hover {
  color: var(--accent);
}

.style-industry .head__cta {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
}

.burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.burger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- меню на телефоне ---------- */

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease);
}

.menu-backdrop.is-open {
  opacity: 1;
}

.menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  width: min(88vw, 390px);
  background: #1c2024;
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 260ms var(--ease), visibility 0s linear 260ms;
}

.menu.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 260ms var(--ease), visibility 0s linear 0s;
}

.menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.menu__cap {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.menu__close {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}

.menu__close span {
  position: absolute;
  left: 11px;
  right: 11px;
  top: 21px;
  height: 2px;
  background: var(--ink);
}

.menu__close span:first-child {
  transform: rotate(45deg);
}

.menu__close span:last-child {
  transform: rotate(-45deg);
}

.menu__nav {
  display: grid;
  align-content: start;
  padding: 4px 20px 20px;
  overflow-y: auto;
  flex: 1 1 auto;
}

.menu__nav a {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

.menu__nav a:hover {
  color: var(--accent);
}

.menu__foot {
  display: grid;
  gap: 8px;
  padding: 18px 20px 24px;
  border-top: 1px solid var(--line);
}

.menu__phone {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
}

.menu__hours {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

body.is-locked {
  overflow: hidden;
}

/* ---------- первый экран ---------- */

.hero {
  position: relative;
  padding-top: clamp(32px, 4.5vw, 64px);
  overflow: hidden;
  background: var(--bg) url("img/hero.webp") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(15, 17, 21, 0.97) 0%, rgba(15, 17, 21, 0.92) 38%, rgba(15, 17, 21, 0.6) 72%, rgba(15, 17, 21, 0.84) 100%);
}

.hero > .wrap {
  position: relative;
  z-index: 1;
}

.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding-bottom: clamp(36px, 5vw, 64px);
}

.hero__text {
  display: grid;
  justify-items: start;
  gap: 20px;
  min-width: 0;
}

.hero__text .hero__title {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.94;
  max-width: 16ch;
}

.hero .lead {
  max-width: 46ch;
}

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

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft, #d3d8dd);
}

.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__facts li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  flex: 0 0 auto;
}

.hero__media {
  position: relative;
  margin: 0;
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 20px;
  border: 1px solid rgba(245, 197, 24, 0.35);
  background: rgba(15, 17, 21, 0.55);
  overflow: hidden;
}

.hero__media img {
  position: relative;
  z-index: 1;
  width: min(100%, 400px);
  height: auto;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.35));
}

.hero__scheme {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__plate {
  position: absolute;
  left: -1px;
  bottom: -1px;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
}

.hero__plate b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: var(--accent);
}

.hero__plate span {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: var(--muted);
  max-width: 18ch;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats__item {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
  padding: 20px clamp(14px, 2vw, 26px);
  border-right: 1px solid var(--line);
  min-width: 0;
}

.stats__item:last-child {
  border-right: 0;
}

.stats__item dt {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.stats__item dd {
  margin: 0;
}

.stats__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.stats__num--small {
  display: block;
  font-size: clamp(18px, 1.9vw, 24px);
  color: var(--ink);
}

.stats__unit {
  display: block;
  margin-top: 3px;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------- услуги ---------- */

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
  transition: border-color var(--dur-fast) var(--ease);
}

.service:hover {
  border-color: var(--accent);
}

.service__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.service__icon {
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--accent);
}

.service__icon svg {
  width: 26px;
  height: 26px;
}

.service__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding-right: 34px;
}

.service__desc {
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
}

.service__price {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.service__price span {
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- калькулятор ---------- */

.calc {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.calc__controls {
  display: grid;
  border-top: 1px solid var(--line);
  min-width: 0;
}

.calc-block {
  min-width: 0;
  margin: 0;
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 14px;
}

.calc__legend {
  display: flex;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}

.calc__legend b {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.calc__hint {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.calc__noscript {
  padding: 14px 0;
  font-size: 14px;
  color: var(--muted);
}

.object-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.type-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 14px 14px 14px 42px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  min-height: 88px;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}

.type-card:hover {
  border-color: #5a626a;
}

.type-card input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}

.type-card__box {
  position: absolute;
  left: 14px;
  top: 16px;
  width: 16px;
  height: 16px;
  border: 1px solid #6b737b;
}

.type-card__box::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 3px;
  background: transparent;
}

.type-card input:checked ~ .type-card__box {
  background: var(--accent);
  border-color: var(--accent);
}

.type-card input:checked ~ .type-card__box::after {
  background: #15181b;
}

.type-card.is-on {
  border-color: var(--accent);
  background: rgba(245, 197, 24, 0.07);
}

.type-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.type-card__note {
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
}

.type-card__k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.camera-types {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.camera-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  min-height: 120px;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}

.camera-card:hover {
  border-color: #5a626a;
}

.camera-card input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}

.camera-card.is-on {
  border-color: var(--accent);
  background: rgba(245, 197, 24, 0.07);
}

.camera-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.camera-card__desc {
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
}

.camera-card__price {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--accent);
}

.counter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 4px;
}

.counter-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft, #d3d8dd);
}

.counter {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
}

.counter__btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.counter__btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent);
}

.counter__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.counter__value {
  min-width: 42px;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

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

.segmented button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft, #d3d8dd);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.segmented button:hover {
  border-color: #5a626a;
  color: var(--ink);
}

.segmented button[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #15181b;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding: 10px 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink-soft, #d3d8dd);
  cursor: pointer;
}

.check input {
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--accent);
}

.check b {
  color: var(--accent);
  font-weight: 400;
  font-family: var(--font-mono);
  font-size: 13px;
  white-space: nowrap;
}

/* ---------- итог ---------- */

.total {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
}

.total__cap {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.total__sum {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.02;
  letter-spacing: 0.005em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  text-wrap: balance;
}

.total__rows {
  display: grid;
  gap: 0;
  margin: 0;
}

.total__rows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 14px;
  line-height: 1.4;
}

.total__rows dt {
  color: var(--muted);
}

.total__rows dd {
  margin: 0;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  text-align: right;
  white-space: nowrap;
}

.total__rows .is-accent dd {
  color: var(--accent);
}

.total__note {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #a9b1b8;
}

.total__btn {
  width: 100%;
}

.total__error {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  color: #ff9e80;
}

/* ---------- как работаем ---------- */

.scheme {
  margin-bottom: clamp(20px, 3vw, 36px);
}

.scheme svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.scheme text {
  fill: var(--muted);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scheme__node {
  fill: var(--bg);
  stroke: var(--accent);
  stroke-width: 2;
}

.steps {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 3px 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.step b {
  grid-row: span 2;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
  padding-top: 5px;
}

.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.step p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  justify-items: center;
  padding: 20px 20px 0;
}

.figure img {
  width: min(100%, 300px);
  height: auto;
}

.figure figcaption {
  width: 100%;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-align: center;
}

/* ---------- что входит ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.params {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 20px;
  display: grid;
  gap: 12px;
}

.params h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.params dl {
  margin: 0;
  display: grid;
  gap: 8px;
}

.params div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 14px;
}

.params dt {
  color: var(--muted);
}

.params dd {
  margin: 0;
  color: var(--ink);
}

.table-wrap {
  min-width: 0;
  overflow-x: auto;
  border: 1px solid var(--line);
}

.table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: 15px;
}

.table caption {
  text-align: left;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.table th,
.table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.table th {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.table td:last-child {
  text-align: right;
  font-family: var(--font-mono);
  white-space: nowrap;
  color: var(--accent);
}

.table tbody tr:last-child td {
  border-bottom: 0;
}

.table tbody tr {
  transition: background-color var(--dur-fast) var(--ease);
}

.table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* ---------- запись ---------- */

.booking {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.booking__form {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2.6vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  min-width: 0;
}

.row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.field > label,
.field > legend {
  padding: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.field__opt {
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: none;
  color: #a9b1b8;
}

.field > input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  background: var(--bg);
  border: 1px solid #4a5157;
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;
}

.field > input::placeholder {
  color: #7d858c;
}

.field > input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.field > input[aria-invalid="true"] {
  border-color: #ff9e80;
}

.field__err {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.4;
  color: #ff9e80;
}

.field__err:empty {
  display: none;
}

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

.day {
  display: grid;
  gap: 1px;
  min-height: 54px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}

.day b {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.1;
  color: var(--ink);
}

.day span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.day[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #3a2f00;
}

.day[aria-pressed="true"] b {
  color: #15181b;
}

.day:focus-visible,
.slot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.slot {
  min-height: 44px;
  padding: 0 6px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 14px;
  cursor: pointer;
}

.slot:hover {
  border-color: var(--ink);
}

.slot[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #15181b;
}

.booking__submit {
  width: 100%;
}

.booking__small {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #a9b1b8;
}

.summary {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--bg);
  border: 1px solid var(--line);
}

.summary__cap {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.summary__sum {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.05;
  color: var(--ink);
}

.summary__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink-soft, #d3d8dd);
}

.summary__list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.summary__list li span:last-child {
  font-family: var(--font-mono);
  color: var(--muted);
  white-space: nowrap;
}

.summary__meta {
  display: grid;
  gap: 0;
  margin: 0;
}

.summary__meta div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.summary__meta dt {
  color: var(--muted);
}

.summary__meta dd {
  margin: 0;
  text-align: right;
  font-family: var(--font-mono);
}

.summary__note {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #a9b1b8;
}

.accepted {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(16px, 3vw, 32px);
  align-items: start;
  padding: clamp(22px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--accent);
  max-width: 920px;
}

.accepted__mascot {
  width: 150px;
  height: auto;
}

.accepted__body {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.accepted__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.accepted__lead {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft, #d3d8dd);
  max-width: 62ch;
}

.accepted__rows {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.accepted__rows div {
  display: grid;
  grid-template-columns: minmax(110px, 170px) minmax(0, 1fr);
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.45;
}

.accepted__rows dt {
  color: var(--muted);
}

.accepted__rows dd {
  margin: 0;
}

.accepted__note {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #a9b1b8;
}

.accepted .btn {
  justify-self: start;
}

/* ---------- отзывы ---------- */

.reviews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.review {
  display: grid;
  align-content: space-between;
  gap: 16px;
}

.review blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
}

.review figcaption {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.review figcaption b {
  font-weight: 400;
  color: var(--accent);
}

.reviews__note {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #8e979e;
}

/* ---------- вопросы ---------- */

.faq {
  border-top: 1px solid var(--line);
  max-width: 920px;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  color: var(--accent);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 72ch;
  padding: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- контакты ---------- */

.contacts {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.contacts__text {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.contacts__rows {
  display: grid;
  gap: 0;
  margin: 0;
  width: 100%;
  border-top: 1px solid var(--line);
}

.contacts__rows div {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.45;
}

.contacts__rows dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}

.contacts__rows dd {
  margin: 0;
  color: var(--ink-soft, #d3d8dd);
}

.contacts__note {
  max-width: 46ch;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.contacts__mascot {
  margin: 6px 0 0;
  display: grid;
  justify-items: start;
  gap: 6px;
}

.contacts__mascot img {
  width: 120px;
  height: auto;
}

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

.map {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}

.map iframe {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(0.9) brightness(0.95);
}

.map figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------- подвал ---------- */

.site-foot {
  padding: clamp(32px, 5vw, 56px) 0 24px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.foot__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.brand--foot .brand__logo {
  width: 40px;
  height: 40px;
}

.foot__cols {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 6vw, 72px);
}

.foot__col {
  display: grid;
  align-content: start;
  gap: 5px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

.foot__col a {
  color: var(--ink-soft, #d3d8dd);
  text-decoration: none;
}

.foot__col a:hover {
  color: var(--accent);
}

.foot__cap {
  margin-bottom: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.foot__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: #a9b1b8;
}

/* ---------- итог на телефоне ---------- */

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  border-top: 3px solid var(--accent);
}

.mobile-bar__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.mobile-bar__cap {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.mobile-bar__sum {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.15;
  color: var(--ink);
}

.mobile-bar__btn {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 18px;
}

/* ---------- адаптив ---------- */

@media (max-width: 1120px) {
  .head__phone {
    display: none;
  }
}

@media (max-width: 1080px) {
  .head__nav,
  .style-industry .head__cta {
    display: none;
  }

  .burger {
    display: flex;
  }
}

@media (max-width: 980px) {
  .head__nav,
  .style-industry .head__cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero__in,
  .steps,
  .split,
  .calc,
  .booking,
  .contacts {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__text .hero__title {
    max-width: 16ch;
  }

  .hero__media {
    min-height: 360px;
  }

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

  .total,
  .summary,
  .params {
    position: static;
  }

  .steps__figure {
    display: none;
  }

  .steps .figure {
    max-width: 360px;
  }

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

  .stats__item:nth-child(2n) {
    border-right: 0;
  }

  .stats__item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .mobile-bar {
    display: flex;
  }

  .calc {
    padding-bottom: 88px;
  }
}

@media (max-width: 640px) {
  .head__in {
    min-height: 64px;
    gap: 12px;
  }

  .brand__logo {
    width: 38px;
    height: 38px;
  }

  .brand__name {
    font-size: 16px;
  }

  .brand__sub {
    font-size: 9px;
  }

  .hero__text .hero__title {
    font-size: clamp(32px, 9vw, 44px);
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .hero__media {
    min-height: 300px;
    padding: 12px;
  }

  .hero__media img {
    width: min(100%, 300px);
  }

  .hero__plate {
    padding: 8px 12px;
  }

  .hero__plate b {
    font-size: 24px;
  }

  .services {
    grid-template-columns: minmax(0, 1fr);
  }

  .object-types,
  .camera-types {
    grid-template-columns: minmax(0, 1fr);
  }

  .row {
    grid-template-columns: minmax(0, 1fr);
  }

  .reviews {
    grid-template-columns: minmax(0, 1fr);
  }

  .table {
    min-width: 0;
  }

  .table thead {
    display: none;
  }

  .table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--line);
  }

  .table tbody tr:last-child {
    border-bottom: 0;
  }

  .table th,
  .table td {
    padding: 0;
    border: 0;
    font-size: 14px;
  }

  .scheme text {
    display: none;
  }

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

  .accepted {
    grid-template-columns: minmax(0, 1fr);
  }

  .accepted__mascot {
    width: 110px;
  }

  .accepted__rows div {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }

  .contacts__rows div {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }

  .sec__top .title {
    font-size: clamp(26px, 7.4vw, 36px);
  }

  .mobile-bar__sum {
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  .site-head .brand__sub {
    display: none;
  }

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

  .stats__num {
    font-size: 30px;
  }
}

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

  .menu,
  .menu-backdrop,
  .mobile-bar,
  .btn,
  .type-card,
  .camera-card,
  .segmented button,
  .day,
  .slot,
  .service,
  .solution__img,
  .head__nav a::after,
  .table tbody tr {
    transition: none;
  }

  .solution:hover .solution__img {
    transform: none;
  }
}

/* ---------- о компании ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.about__text {
  display: grid;
  gap: 14px;
}

.about__text p {
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.about__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 8px 0 0;
}

.about__facts div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
}

.about__facts dt {
  color: var(--muted);
}

.about__facts dd {
  margin: 0;
  color: var(--accent);
  text-align: right;
}

.about .figure {
  padding: 0;
  overflow: hidden;
}

.about .figure img {
  display: block;
  width: 100%;
  height: auto;
}

.about .figure figcaption {
  padding: 12px 16px;
}

@media (max-width: 980px) {
  .about {
    grid-template-columns: minmax(0, 1fr);
  }

  .about .figure {
    max-width: 360px;
  }
}

@media (max-width: 480px) {
  .about__facts {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- решения для объектов ---------- */

.solutions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.solution {
  display: block;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}

.solution__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 320ms var(--ease);
}

.solution:hover .solution__img {
  transform: scale(1.04);
}

.solution__body {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px 16px 18px;
}

.solution:hover {
  border-color: var(--accent);
  background: #30363d;
}

.solution:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.solution__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.solution__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.solution__desc {
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

.solution__link {
  align-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.solution__link svg {
  width: 15px;
  height: 15px;
}

/* ---------- технологии ---------- */

.tech-wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.tech {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}

.tech__figure {
  margin: 0;
}

.tech__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.tech__item {
  padding: 18px 0 22px;
  border-top: 1px solid var(--line);
  display: grid;
  align-content: start;
  gap: 6px;
}

.tech__item b {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.tech__item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tech__item p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- призыв ---------- */

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 3.4vw, 36px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
}

.cta-band__text {
  display: grid;
  gap: 8px;
  max-width: 62ch;
}

.cta-band .title {
  font-size: clamp(26px, 3.2vw, 40px);
}

.cta-band p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 1180px) {
  .solutions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .solutions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tech-wrap {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 640px) {
  .solutions,
  .tech {
    grid-template-columns: minmax(0, 1fr);
  }

  .tech-wrap {
    gap: 20px;
  }

  .solution {
    min-height: 0;
  }

  .cta-band {
    align-items: flex-start;
  }

  .cta-band .btn {
    width: 100%;
  }
}
