:root {
  --bg: #EEF1F3;
  --surface: #E3E8EB;
  --deep: #1A2126;
  --fg: #10171B;
  --muted: #4E5A61;
  --line: #C6D0D6;
  --accent: #C6410A;
  --accent-on: #FFFFFF;
  --font-display: 'IBM Plex Mono', monospace;
  --font-body: 'IBM Plex Sans', sans-serif;
  --radius: 3px;
  --space-section: 88px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

.num { font-family: var(--font-display); font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--deep); color: #fff;
  padding: 12px 16px; z-index: 50;
}
.skip:focus { left: 8px; top: 8px; }

a { color: inherit; }

.link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.link:hover { color: var(--fg); border-bottom-color: var(--fg); }

/* ---------- topbar ---------- */
.topbar {
  background: var(--deep);
  color: #B9C3C8;
  font-size: 12.5px;
  letter-spacing: .02em;
}
.topbar-in { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; flex-wrap: wrap; }
.topbar-phone { color: #fff; }

/* ---------- header ---------- */
.site-head {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 20;
}
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; padding-block: 16px; flex-wrap: wrap; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  background: var(--accent); color: var(--accent-on);
  font-weight: 700; font-size: 14px; letter-spacing: .02em;
}
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }

.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--fg); border-bottom: 1px solid transparent; padding: 6px 0; }
.nav a:hover { border-bottom-color: var(--accent); }
@media (max-width: 640px) {
  .nav { gap: 18px; font-size: 14px; }
  .nav a { padding: 8px 0; }
  .nav-cta { padding: 10px 14px !important; }
}
.nav-cta {
  background: var(--accent); color: var(--accent-on) !important;
  padding: 10px 16px !important; min-height: 44px; display: inline-flex; align-items: center;
}
.nav-cta:hover { background: #A93707; border-bottom-color: transparent; }

/* ---------- hero ---------- */
.hero { padding-block: 56px 72px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; } }

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 5.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  margin: 0 0 20px;
}
.hero-lead { font-size: 18px; color: var(--muted); max-width: 58ch; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px;
  background: var(--accent); color: var(--accent-on);
  font-weight: 600; font-size: 16px; text-decoration: none;
  border: 1px solid var(--accent); border-radius: var(--radius);
  transition: background-color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn:hover { background: #A93707; border-color: #A93707; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: default; }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid var(--fg); color: var(--fg); background: transparent;
  text-decoration: none; font-weight: 500; font-size: 16px; border-radius: var(--radius);
  transition: background-color .2s ease, color .2s ease;
}
.btn-ghost:hover { background: var(--fg); color: var(--bg); }
.btn-wide { width: 100%; }

.spec { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.spec-cell {
  display: grid; grid-template-columns: 1fr; gap: 0;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.spec dd { margin: 0; font-size: 15.5px; }

.hero-media { margin: 0; }
.hero-media img {
  width: 100%; height: auto; display: block; border-radius: var(--radius);
  border: 1px solid var(--line);
  aspect-ratio: 3 / 4; object-fit: cover;
}
.hero-media figcaption { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* ---------- sections ---------- */
.section { padding-block: var(--space-section); border-bottom: 1px solid var(--line); }
.section-tight { padding-block: 72px; }
@media (max-width: 767px) { .section { padding-block: 60px; } .section-tight { padding-block: 56px; } }

.sec-head { display: grid; grid-template-columns: 56px 1fr; gap: 16px; margin-bottom: 40px; }
@media (max-width: 480px) { .sec-head { grid-template-columns: 40px 1fr; gap: 12px; } }
.sec-n { color: var(--accent); font-weight: 600; font-size: 14px; padding-top: 10px; }
.sec-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 3.4vw, 34px); line-height: 1.15; letter-spacing: -.02em;
  margin: 0 0 10px; text-wrap: balance;
}
.sec-lead { color: var(--muted); max-width: 62ch; margin: 0; font-size: 16.5px; }

/* ---------- service rows ---------- */
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 56px 1fr 150px; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  align-items: start;
}
@media (max-width: 767px) {
  .row { grid-template-columns: 40px 1fr; gap: 10px 14px; }
  .row-price { grid-column: 2; display: flex; align-items: baseline; gap: 10px; }
}
.row-n { color: var(--muted); font-size: 13px; font-weight: 600; padding-top: 6px; }
.row-title { font-size: 19px; font-weight: 600; margin: 0 0 6px; font-family: var(--font-display); letter-spacing: -.01em; }
.row-text { margin: 0; color: var(--muted); font-size: 15.5px; max-width: 62ch; }
.row-price { text-align: right; padding-top: 2px; }
.price { display: block; font-weight: 700; font-size: 17px; color: var(--fg); white-space: nowrap; }
.unit { font-size: 12.5px; color: var(--muted); }
.row-foot { margin-top: 22px; }
.note { color: var(--muted); font-size: 15px; }

/* ---------- dark band ---------- */
.band { background: var(--deep); color: #E6EBEE; padding-block: var(--space-section); }
.band-grid { display: grid; gap: 28px; }
@media (min-width: 860px) { .band-grid { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 32px; } }
.band-intro { border-left: 2px solid var(--accent); padding-left: 16px; }
.band-intro .sec-n { color: var(--accent); display: block; padding-top: 0; margin-bottom: 10px; }
.band-title { font-family: var(--font-display); font-weight: 700; font-size: 26px; margin: 0 0 10px; }
.band-text { color: #A9B4BA; margin: 0; font-size: 15.5px; }
.band-col { border-top: 1px solid #2E393F; padding-top: 16px; }
.band-n { display: block; font-size: 19px; font-weight: 600; margin-bottom: 8px; color: #fff; }
.band-col p { margin: 0; color: #A9B4BA; font-size: 15px; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
@media (max-width: 480px) { .step { grid-template-columns: 40px 1fr; gap: 12px; } }
.step-n { color: var(--accent); font-weight: 600; font-size: 14px; padding-top: 5px; }
.step-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin: 0 0 5px; }
.step-text { margin: 0; color: var(--muted); font-size: 15.5px; max-width: 68ch; }

/* ---------- prices ---------- */
.price-list { border-top: 1px solid var(--line); }
.price-row {
  display: grid; grid-template-columns: 1fr 140px 130px; gap: 16px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
@media (max-width: 700px) { .price-row { grid-template-columns: 1fr auto; row-gap: 4px; } .p-unit { grid-column: 1 / -1; } }
.p-name { display: block; font-size: 16.5px; font-weight: 500; }
.p-note { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.p-value { text-align: right; font-weight: 700; font-size: 17px; white-space: nowrap; }
.p-unit { color: var(--muted); font-size: 13.5px; text-align: right; }
@media (max-width: 700px) { .p-unit { text-align: left; } }

/* ---------- form ---------- */
.form-wrap { display: grid; gap: 40px; }
@media (min-width: 900px) { .form-wrap { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.mini-contacts { margin-top: 28px; border-top: 1px solid var(--line); }
.c-row { display: grid; grid-template-columns: 110px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .c-row { grid-template-columns: 100px 1fr; } }
.c-label { color: var(--muted); font-size: 13.5px; padding-top: 3px; }
.c-value { font-size: 16px; }
.c-note { grid-column: 2; color: var(--muted); font-size: 13px; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--fg);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.consent { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.form-status { font-size: 15px; color: var(--accent); margin: 12px 0 0; min-height: 22px; }
.form-ok { font-size: 17px; font-weight: 600; margin: 0; }

/* ---------- footer ---------- */
.foot { background: var(--deep); color: #A9B4BA; padding-top: 56px; }
.foot-in { display: grid; gap: 32px; padding-bottom: 40px; }
@media (min-width: 800px) { .foot-in { grid-template-columns: 1.2fr 1fr; gap: 48px; } }
.brand-foot .brand-name { color: #fff; }
.foot-note { font-size: 14.5px; margin: 16px 0 0; max-width: 46ch; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.foot-cols > div { display: flex; flex-direction: column; gap: 8px; }
.foot-cols a { color: #E6EBEE; text-decoration: none; font-size: 15px; }
.foot-cols a:hover { color: var(--accent); }
.foot-label { color: #7E8A91; font-size: 12.5px; font-family: var(--font-display); margin-bottom: 4px; }
.foot-bottom {
  border-top: 1px solid #2E393F; padding-block: 18px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px;
}
.foot-bottom .link { color: #A9B4BA; border-bottom-color: #4A565C; }
.foot-bottom .link:hover { color: #fff; border-bottom-color: #fff; }

/* ---------- inner pages ---------- */
.split { display: grid; gap: 36px; align-items: start; }
@media (min-width: 860px) { .split { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.split-media { margin: 0; }
.split-media img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 1 / 1; object-fit: cover; }
.split-media figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }

.page-head { border-bottom: 1px solid var(--line); padding-block: 48px 40px; }
.page-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 5vw, 46px); line-height: 1.1; letter-spacing: -.02em;
  margin: 0 0 14px; text-wrap: balance;
}
.page-lead { color: var(--muted); font-size: 17.5px; max-width: 64ch; margin: 0; }
.prose { max-width: 70ch; }
.prose h2 { font-family: var(--font-display); font-size: 22px; margin: 36px 0 12px; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 18px; padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.callout { border-left: 2px solid var(--accent); padding-left: 16px; color: var(--muted); margin: 24px 0; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
