:root {
  --bg: #131619;
  --surface: #191d21;
  --fg: #efebe4;
  --muted: #9aa2a9;
  --border: #2b3239;
  --accent: #e3961f;
  --accent-on: #16100a;
  --font-display: "JetBrains Mono", ui-monospace, "Courier New", monospace;
  --font-body: "Montserrat", "Segoe UI", Arial, sans-serif;
  --radius: 0px;
  --space-section: 88px;
  --hair: 1px solid var(--border);
  --shell: 1200px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .shell { padding-inline: 32px; } }

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

.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.section { padding-block: var(--space-section); border-top: var(--hair); }
.section--tight { padding-block: 56px; }

.section-head { display: grid; gap: 16px; margin-bottom: 40px; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: end; gap: 48px; }
}
.section-title { font-size: clamp(24px, 3.6vw, 38px); letter-spacing: -0.01em; }
.section-title span { color: var(--accent); }
.section-note { color: var(--muted); max-width: 62ch; margin: 0; font-size: 16px; }

/* ---------- header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(19, 22, 25, 0.94);
  border-bottom: var(--hair);
  backdrop-filter: blur(6px);
}
.topbar__inner { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; min-width: 0; }
.brand__mark {
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  letter-spacing: 0.06em; white-space: nowrap;
}
.brand__mark b { color: var(--accent); font-weight: 700; }
.brand__sub {
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.topbar__actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.topbar__phone {
  font-family: var(--font-display); font-weight: 500; font-size: 15px;
  text-decoration: none; white-space: nowrap;
}
.topbar__phone:hover { color: var(--accent); }
.topbar__actions .topbar__cta { display: none; }

.navtoggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: var(--hair); color: var(--fg);
  font-family: var(--font-display); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 10px 12px; min-height: 44px; cursor: pointer;
}
.navtoggle:hover { border-color: var(--accent); color: var(--accent); }

@media (min-width: 900px) {
  .navtoggle { display: none; }
  .topbar__actions .topbar__cta { display: inline-flex; }
}
@media (max-width: 640px) {
  .topbar__phone { display: none; }
  .brand__sub { display: none; }
  .topbar__inner { gap: 12px; }
}

.sitemenu { border-bottom: var(--hair); background: var(--surface); }
.sitemenu[hidden] { display: none; }
.sitemenu ul { display: grid; }
.sitemenu a {
  display: block; padding: 14px 0; text-decoration: none;
  border-bottom: var(--hair); font-size: 16px;
}
.sitemenu a:hover { color: var(--accent); }
.sitemenu__phone { color: var(--accent); font-family: var(--font-display); }
@media (min-width: 900px) { .sitemenu { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 22px;
  background: var(--accent); color: var(--accent-on);
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  text-decoration: none; border: 1px solid var(--accent); border-radius: var(--radius);
  cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: #f0a72f; border-color: #f0a72f; }
.btn:active { transform: translateY(1px); }
.btn--ghost {
  background: transparent; color: var(--fg); border-color: var(--border);
}
.btn--ghost:hover { background: var(--surface); color: var(--accent); border-color: var(--accent); }
.btn--full { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: progress; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- hero ---------- */
.hero { border-top: 0; }
.hero__grid {
  display: grid; gap: 0;
  border-left: var(--hair); border-right: var(--hair);
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
}
.hero__copy { padding: 40px 20px 48px; display: grid; gap: 26px; align-content: start; }
@media (min-width: 768px) { .hero__copy { padding: 56px 40px 64px; } }
.hero h1 { font-size: clamp(28px, 5.2vw, 52px); letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--accent); white-space: nowrap; }
.hero__lead { color: var(--muted); max-width: 56ch; font-size: 16px; }
@media (min-width: 768px) { .hero__lead { font-size: 17px; } }

.priceblock {
  display: grid; gap: 2px; border: var(--hair); background: var(--border);
}
.priceblock__row { background: var(--bg); padding: 16px 18px; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.priceblock__row--accent { background: var(--surface); }
.priceblock__label { font-size: 14px; color: var(--muted); }
.priceblock__value { font-family: var(--font-display); font-weight: 700; font-size: 15px; text-align: right; }
.priceblock__total { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 4vw, 32px); color: var(--accent); text-align: right; white-space: nowrap; }

.hero__actions { display: grid; gap: 14px; }
@media (min-width: 620px) {
  .hero__actions { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: stretch; }
}
.hero__phone { display: flex; flex-direction: column; justify-content: center; gap: 2px; text-decoration: none; border: var(--hair); padding: 12px 16px; min-height: 52px; }
.hero__phone:hover { border-color: var(--accent); }
.hero__phone small { color: var(--muted); font-size: 12px; font-family: var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; }
.hero__phone strong { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.hero__phone:hover strong { color: var(--accent); }

.hero__media { position: relative; border-top: var(--hair); background: var(--surface); }
@media (min-width: 960px) { .hero__media { border-top: 0; border-left: var(--hair); } }
.hero__media img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; }
@media (min-width: 960px) { .hero__media img { min-height: 520px; } }
figcaption {
  position: absolute; left: 0; bottom: 0; right: 0;
  background: rgba(19, 22, 25, 0.86); border-top: var(--hair);
  padding: 10px 16px; font-family: var(--font-display); font-size: 12px;
  letter-spacing: 0.04em; color: var(--muted);
}
figcaption b { color: var(--accent); font-weight: 500; }

.strip {
  border-top: var(--hair); border-left: var(--hair); border-right: var(--hair);
  display: grid; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .strip { grid-template-columns: repeat(4, 1fr); } }
.strip__cell { padding: 18px 20px; border-bottom: var(--hair); border-right: var(--hair); }
.strip__k { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.strip__v { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.strip__v span { color: var(--accent); }

/* ---------- passport ---------- */
.passport { display: grid; gap: 0; border: var(--hair); }
@media (min-width: 960px) { .passport { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.passport__intro { padding: 28px 24px; background: var(--surface); border-bottom: var(--hair); }
@media (min-width: 960px) { .passport__intro { border-bottom: 0; border-right: var(--hair); padding: 36px 30px; } }
.passport__intro h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 16px; }
.passport__intro p { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.passport__list { display: grid; gap: 10px; }
.passport__list li { font-size: 15px; color: var(--muted); padding-left: 18px; position: relative; }
.passport__list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 2px; background: var(--accent); }

.spec { width: 100%; border-collapse: collapse; }
.spec caption { text-align: left; padding: 14px 20px; font-family: var(--font-display); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border-bottom: var(--hair); }
.spec th, .spec td { text-align: left; padding: 13px 20px; border-bottom: var(--hair); vertical-align: top; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { font-family: var(--font-display); font-weight: 500; font-size: 13px; letter-spacing: 0.04em; color: var(--muted); width: 42%; }
.spec td { font-size: 16px; }
.spec td strong { font-family: var(--font-display); font-weight: 700; }
.spec td .hint { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.spec tr.is-accent td strong { color: var(--accent); }

/* ---------- process ---------- */
.steps { display: grid; gap: 0; border: var(--hair); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.step { padding: 26px 22px 30px; border-bottom: var(--hair); display: grid; gap: 14px; align-content: start; }
@media (min-width: 900px) { .step { border-right: var(--hair); } .step:nth-child(2n) { border-right: 0; } .step:nth-last-child(-n+2) { border-bottom: 0; } }
@media (max-width: 899px) { .step:last-child { border-bottom: 0; } }
.step__n { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; color: var(--accent); }
.step { position: relative; overflow: hidden; }
.step::after {
  content: attr(data-n); position: absolute; right: 14px; bottom: 4px;
  font-family: var(--font-display); font-weight: 700; font-size: 96px; line-height: 1;
  color: rgba(227, 150, 31, 0.07); pointer-events: none; z-index: 0;
}
.step > * { position: relative; z-index: 1; }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 16px; }
.step__figure { margin: 0; position: relative; }
.step__figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.step__figure figcaption { position: static; }

/* ---------- works ---------- */
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: var(--hair); }
@media (min-width: 700px) { .chips { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .chips { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.chip {
  padding: 16px 14px; border-right: var(--hair); border-bottom: var(--hair);
  font-family: var(--font-display); font-size: 13px; line-height: 1.35;
}
@media (min-width: 1000px) { .chip { border-bottom: 0; } .chip:last-child { border-right: 0; } }
.chip span { display: block; color: var(--muted); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }

.gallery { margin-top: 32px; display: grid; gap: 0; border: var(--hair); grid-template-columns: 1fr; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.shot { margin: 0; position: relative; border-right: var(--hair); border-bottom: var(--hair); }
.shot img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.shot:nth-child(2n) img { aspect-ratio: 3 / 4; }
@media (min-width: 1100px) { .shot:nth-child(2n) img { aspect-ratio: 4 / 3; } }
.shot figcaption { position: static; background: var(--bg); border-top: var(--hair); }
.shot figcaption b { color: var(--fg); font-weight: 500; }

/* ---------- price / legal ---------- */
.twocol { display: grid; gap: 40px; }
@media (min-width: 900px) { .twocol { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.incl { display: grid; gap: 0; border: var(--hair); }
.incl li { padding: 14px 18px; border-bottom: var(--hair); display: flex; gap: 14px; font-size: 16px; }
.incl li:last-child { border-bottom: 0; }
.incl li::before { content: "+"; font-family: var(--font-display); color: var(--accent); font-weight: 700; }
.incl--no li::before { content: "—"; color: var(--muted); }
.incl li span { color: var(--muted); }

.legalgrid { display: grid; gap: 24px; }
@media (min-width: 800px) { .legalgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.entity { border: var(--hair); padding: 22px 20px; display: grid; gap: 8px; }
.entity h3 { font-size: 17px; }
.entity dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; margin: 0; font-size: 14px; }
.entity dt { color: var(--muted); font-family: var(--font-display); font-size: 12px; letter-spacing: 0.06em; padding-top: 2px; }
.entity dd { margin: 0; font-family: var(--font-display); }

/* ---------- form ---------- */
.cta { border-top: var(--hair); background: var(--surface); }
.cta__grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .cta__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; } }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input {
  font-family: var(--font-body); font-size: 16px; color: var(--fg);
  background: var(--bg); border: var(--hair); border-radius: var(--radius);
  padding: 14px 14px; min-height: 52px; width: 100%;
}
.field input::placeholder { color: #6c757c; }
.field input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 1px var(--accent); }
.row2 { display: grid; gap: 18px; }
@media (min-width: 560px) { .row2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.consent { font-size: 12px; color: var(--muted); }
.consent a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.consent a:hover { color: var(--accent); }
.formstatus { font-family: var(--font-display); font-size: 14px; min-height: 22px; color: var(--accent); }

.contacts { display: grid; gap: 0; border: var(--hair); }
.contacts__row { padding: 16px 18px; border-bottom: var(--hair); display: grid; gap: 4px; }
.contacts__row:last-child { border-bottom: 0; }
.contacts__k { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contacts__v { font-family: var(--font-display); font-weight: 500; font-size: 17px; }
a.contacts__v:hover { color: var(--accent); }

/* ---------- footer ---------- */
.footer { border-top: var(--hair); padding-block: 36px 48px; color: var(--muted); font-size: 13px; }
.footer__grid { display: grid; gap: 18px; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer a { color: var(--fg); }
.footer a:hover { color: var(--accent); }
.footer h4 { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; font-weight: 500; }
.footer p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
