:root {
  --bg: #070b12;
  --ivory: #f4f1ea;
  --muted: #b7b1a6;
  --platinum: #d5d0c6;
  --gold: #c4a574;
  --gold-hover: #d4b88a;
  --ink: #0b1020;
  --line: rgba(213, 208, 198, 0.16);
  --line-strong: rgba(196, 165, 116, 0.55);
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ivory);
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button, input, textarea { font: inherit; color: inherit; }

::selection { background: rgba(196, 165, 116, 0.35); color: var(--ivory); }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--gold);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
}

.skip:focus { top: 0.75rem; }

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 1.25rem;
  height: 1px;
  background: var(--gold);
}

h1, h2, h3, p { margin: 0; }

.h2 {
  margin-top: 1rem;
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.lead {
  margin-top: 1rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  background: rgba(7, 11, 18, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
}

.header.is-scrolled { border-bottom-color: var(--line); }

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link { color: var(--muted); font-size: 0.92rem; }
.nav-link:hover, .nav-link:focus-visible { color: var(--ivory); }

.header-actions { display: flex; align-items: center; gap: 0.65rem; }

.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.lang a { color: var(--muted); }
.lang a[aria-current='page'] { color: var(--ivory); }
.lang span { color: rgba(213, 208, 198, 0.35); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border-radius: 2px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  cursor: pointer;
  background: transparent;
}

.btn-primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--gold-hover); border-color: var(--gold-hover); }

.btn-ghost { color: var(--ivory); border-color: rgba(213, 208, 198, 0.38); }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--platinum); background: rgba(255, 255, 255, 0.04); }

.header .btn {
  min-height: 2.4rem;
  padding-inline: 0.9rem;
  font-size: 0.84rem;
  white-space: nowrap;
}

.header-cta { display: none; }

.menu-btn {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(7, 11, 18, 0.96);
}

.mobile-nav.is-open { display: block; }

.mobile-nav .wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-block: 0.75rem 1rem;
}

.mobile-nav .nav-link { padding: 0.75rem 0.25rem; }

.btn:focus-visible,
.nav-link:focus-visible,
.logo:focus-visible,
.menu-btn:focus-visible,
.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

main { padding-top: 4rem; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10% 20% auto -10%;
  height: 28rem;
  background: radial-gradient(ellipse at center, rgba(196, 165, 116, 0.14), transparent 68%);
  pointer-events: none;
}

.hero-grid, .split, .geo-grid, .cards, .advantages, .steps, .contact-grid {
  position: relative;
}

.hero-grid { display: grid; gap: 3.5rem; align-items: center; }

.h1 {
  margin-top: 1.25rem;
  max-width: 16ch;
  font-size: clamp(2.35rem, 5vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -0.038em;
  font-weight: 500;
}

.sub {
  margin-top: 1.35rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.cta-row { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2rem; }
.cta-row .btn { width: 100%; }

.panel, .card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(16px);
}

.panel { padding: 1.5rem 1.35rem 1.35rem; }
.card { padding: 1.5rem 1.35rem 1.4rem; height: 100%; }

.card:hover {
  border-color: rgba(196, 165, 116, 0.45);
  background: linear-gradient(180deg, rgba(196, 165, 116, 0.07), rgba(255, 255, 255, 0.02));
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bridge {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.bridge-label { color: var(--muted); font-size: 0.875rem; }
.bridge-label.right { text-align: right; }

.bridge ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.bridge li, .geo-card li {
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  font-size: 1.05rem;
}

.bridge .right li { text-align: right; }

.rail {
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  position: relative;
}

.rail::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--gold);
}

.panel-note { margin-top: 2rem; color: var(--muted); font-size: 0.875rem; line-height: 1.6; }

.section { padding: 5rem 0; border-top: 1px solid var(--line); scroll-margin-top: 5rem; }
.section.hero { border-top: 0; }

.cards, .advantages, .steps { display: grid; gap: 1rem; margin-top: 3rem; }

.icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--gold);
}

.card h3, .adv h3 { margin-top: 1.5rem; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; }
.card p, .adv p { margin-top: 0.75rem; color: var(--muted); line-height: 1.65; }

.geo-grid { display: grid; gap: 1rem; margin-top: 0; }
.geo-card { padding: 1.5rem 1.35rem; }
.geo-card ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.geo-card li { border: 0; margin: 0; padding: 0.35rem 0; font-size: 1.125rem; }
.arrow { align-self: center; text-align: center; color: var(--gold); font-size: 1.5rem; }

.advantages { gap: 0; background: var(--line); }
.adv { background: var(--bg); padding: 2rem 0.25rem; }
.index { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.14em; }
.adv h3 { margin-top: 1rem; }

.steps { gap: 2rem; }
.step { list-style: none; border-top: 1px solid var(--line-strong); padding-top: 1.25rem; }
.step h3 { margin-top: 0.75rem; font-size: 1.05rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.35; }
.step p { margin-top: 0.75rem; color: var(--muted); font-size: 0.875rem; line-height: 1.6; }
.steps-list { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; gap: 2rem; }

.contact-grid { display: grid; gap: 3rem; }
.mail { display: inline-block; margin-top: 1rem; color: var(--platinum); }
.mail:hover { text-decoration: underline; text-underline-offset: 4px; }

.form { display: grid; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field span { font-size: 0.82rem; color: var(--platinum); }

.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(7, 11, 18, 0.55);
  border-radius: 2px;
  min-height: 2.85rem;
  padding: 0.7rem 0.85rem;
}

.field textarea { min-height: 8.5rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #a39c90; }
.error { color: #f0d7d2; font-size: 0.82rem; }
.success { font-size: 1.125rem; line-height: 1.65; }

.footer { border-top: 1px solid var(--line); }
.footer-bar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .card { transition: none; }
}

@media (min-width: 640px) {
  .header-cta { display: inline-flex; }
  .cta-row { flex-direction: row; }
  .cta-row .btn { width: auto; }
  .footer-bar { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 768px) {
  .wrap { width: min(1120px, calc(100% - 4rem)); }
  .header-bar, main { }
  .header-bar { height: 4.5rem; }
  main { padding-top: 4.5rem; }
  .hero { padding: 6.5rem 0 7rem; }
  .section { padding: 7rem 0; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .advantages { grid-template-columns: repeat(3, 1fr); }
  .adv { padding: 0.5rem 2rem; }
  .steps-list { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .geo-grid { grid-template-columns: 1fr auto 1fr; align-items: stretch; }
}

@media (min-width: 1080px) {
  .nav-desktop { display: flex; }
  .menu-btn, .mobile-nav { display: none !important; }
  .hero-grid, .split, .contact-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: end; gap: 4rem; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: 4rem; }
}
