:root {
  --paper: #f3f1ec;
  --surface: #ffffff;
  --ink: #14181d;
  --ink-soft: #3a4250;
  --muted: #6b7380;
  --line: #ddd8cf;
  --night: #0f1419;
  --night-2: #161d25;
  --night-line: #263040;
  --night-ink: #eef0f2;
  --night-muted: #9aa4b2;
  --brass: #b8925a;
  --brass-deep: #9a7643;
  --radius: 4px;
  --max: 1200px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* Header */

header.site {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  color: var(--night-ink);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name strong {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-name span {
  font-size: 13px;
  color: var(--night-muted);
}

nav.site {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
}

nav.site a {
  text-decoration: none;
  color: var(--night-muted);
  transition: color 0.15s ease;
}

nav.site a:hover { color: var(--night-ink); }

nav.site .lang {
  color: var(--night-ink);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 6px 14px;
}

/* Hero */

.hero {
  position: relative;
  background: var(--night);
  color: var(--night-ink);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 176px;
  padding-bottom: 120px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brass);
  font-weight: 600;
  font-size: 15px;
  margin: 0 0 28px;
}

.kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--brass);
}

h1 {
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 28px;
}

h1 em {
  font-style: normal;
  color: var(--brass);
}

.lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--night-muted);
  max-width: 52ch;
  margin: 0 0 44px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brass);
  color: var(--night);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 28px;
  border-radius: var(--radius);
  transition: background 0.15s ease;
}

.button:hover { background: #c9a46b; }

.button.ghost {
  background: transparent;
  color: var(--night-ink);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.button.ghost:hover { background: rgba(255, 255, 255, 0.06); }

.hero-art {
  justify-self: end;
  width: 100%;
  max-width: 480px;
}

.hero-art svg { display: block; width: 100%; height: auto; }

.facts-strip {
  position: relative;
  border-top: 1px solid var(--night-line);
  background: var(--night-2);
}

.facts-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  padding: 32px 28px;
  border-left: 1px solid var(--night-line);
}

.fact:first-child { border-left: 0; padding-left: 0; }

.fact strong {
  display: block;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--night-ink);
  line-height: 1.1;
  margin-bottom: 6px;
}

.fact span {
  font-size: 14px;
  color: var(--night-muted);
}

/* Sections */

section { padding: 120px 0; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  margin-bottom: 64px;
  align-items: end;
}

.label {
  color: var(--brass-deep);
  font-weight: 600;
  font-size: 15px;
  margin: 0 0 16px;
}

h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0;
}

.section-head p.intro {
  color: var(--ink-soft);
  font-size: 18px;
  margin: 0;
  max-width: 56ch;
}

/* Services */

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
}

.service {
  padding: 36px 32px 40px 0;
  border-right: 1px solid var(--line);
}

.service + .service { padding-left: 32px; }
.service:last-child { border-right: 0; }

.service .num {
  font-size: 15px;
  font-weight: 600;
  color: var(--brass-deep);
  margin-bottom: 40px;
  display: block;
}

.service h3 {
  font-size: 23px;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 12px;
}

.service p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

/* Process */

.process {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  border-top: 2px solid var(--line);
  padding-top: 24px;
}

.steps li:first-child { border-top-color: var(--brass); }

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--brass-deep);
  margin-bottom: 16px;
}

.steps h3 {
  font-size: 19px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* Company */

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.company-grid .intro {
  color: var(--ink-soft);
  font-size: 18px;
  margin: 24px 0 0;
  max-width: 44ch;
}

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

.register-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
}

.register-row:last-child { border-bottom: 0; }

.register dt { color: var(--muted); font-size: 15px; }
.register dd { margin: 0; font-weight: 600; }

/* Contact */

.contact {
  background: var(--night);
  color: var(--night-ink);
}

.contact .label { color: var(--brass); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
}

.contact .intro {
  color: var(--night-muted);
  font-size: 18px;
  margin: 24px 0 40px;
  max-width: 48ch;
}

.contact-list {
  margin: 0;
  border-top: 1px solid var(--night-line);
}

.contact-row {
  padding: 24px 0;
  border-bottom: 1px solid var(--night-line);
}

.contact-row dt {
  color: var(--night-muted);
  font-size: 14px;
  margin-bottom: 6px;
}

.contact-row dd {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.contact-row a { text-decoration: none; }
.contact-row a:hover { color: var(--brass); }

/* Footer */

footer.site {
  background: var(--night);
  color: var(--night-muted);
  font-size: 14px;
}

footer.site .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  padding-bottom: 28px;
  border-top: 1px solid var(--night-line);
}

/* Phone */

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 140px; padding-bottom: 72px; }
  .hero-art { display: none; }
  .facts-strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--night-line); }
  .section-head,
  .company-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  header.site .wrap { height: 72px; }
  nav.site { gap: 0; }
  nav.site .anchor { display: none; }
  .brand-name span { display: none; }
  .hero-inner { padding-top: 120px; }
  .lead { font-size: 17px; }
  .fact { padding: 24px 16px; }
  .fact strong { font-size: 24px; }
  section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .services { grid-template-columns: 1fr; }
  .service,
  .service + .service { padding: 28px 0 32px; border-right: 0; border-bottom: 1px solid var(--line); }
  .service .num { margin-bottom: 16px; }
  .steps { grid-template-columns: 1fr; }
  .register-row { grid-template-columns: 1fr; gap: 2px; padding: 16px 20px; }
  .contact-row dd { font-size: 18px; }
}
