:root {
  --bg: #101816;
  --bg-raise: #18241f;
  --ink: #f4f1ea;
  --muted: #c5cfc8;
  --line: rgba(244, 241, 234, 0.16);
  --gold: #e0b36a;
  --ice: #8fcfc0;
  --header: rgba(16, 24, 22, 0.9);
  --font: "Onest", "Segoe UI", sans-serif;
  --display: "Literata", "Iowan Old Style", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(143, 207, 192, 0.16), transparent 60%),
    radial-gradient(700px 380px at 100% 0%, rgba(224, 179, 106, 0.14), transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
}

a { color: var(--ice); }

a:hover { color: var(--gold); }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--gold);
  color: #1a140c;
  padding: 8px 12px;
}

.skip:focus { top: 12px; }

.header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 7vw;
  background: var(--header);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.16em;
  font-weight: 600;
  font-size: 14px;
}

.logo-mark { width: 28px; height: 28px; color: var(--gold); }

.nav { display: flex; gap: 22px; margin-left: auto; }

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}

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

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  align-items: end;
  padding: 72px 7vw 40px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

h1, h2, h3 { font-family: var(--display); font-weight: 560; }

h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 38rem;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--gold);
  color: #1c140b;
  text-decoration: none;
  font-weight: 600;
}

.button:hover { color: #1c140b; filter: brightness(1.05); }

.button-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.button-ghost:hover { color: var(--ink); border-color: var(--gold); }

.id-card {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 22px 8px;
}

.id-card-title {
  margin: 0 0 8px;
  color: var(--ice);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.id-card dl, .reqs { margin: 0; }

.id-card div, .reqs > div {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

dt { color: var(--muted); font-size: 13px; }

dd { margin: 0; }

.section {
  padding: 28px 7vw 12px;
  scroll-margin-top: 76px;
}

.section-head { max-width: 40rem; margin-bottom: 22px; }

h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; }

.prose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.prose-grid p, .note { margin: 0; color: var(--muted); }

.scope, .tours, .contacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.scope article, .tours article, .contacts > div, .notice {
  background: rgba(244, 241, 234, 0.03);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}

h3 { margin: 0 0 8px; font-size: 24px; }

.scope p, .tours p, .contacts p, .notice p, .notice li { color: var(--muted); }

.tour-index {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.note { margin-top: 18px; max-width: 52rem; }

.okved {
  width: 100%;
  margin-top: 22px;
  border-collapse: collapse;
}

.okved caption {
  text-align: left;
  margin-bottom: 10px;
  color: var(--muted);
}

.okved th, .okved td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.okved th { color: var(--muted); font-weight: 500; font-size: 13px; }

.reqs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}

.notice ul { margin: 0 0 12px; padding-left: 18px; }

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  color: var(--gold);
  font-family: var(--display);
  font-size: 20px;
}

.footer {
  margin-top: 48px;
  padding: 28px 7vw 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer p { margin: 0 0 6px; }

.footer-meta { max-width: 46rem; margin-top: 12px; }

@media (max-width: 900px) {
  .hero, .prose-grid, .scope, .tours, .contacts, .reqs {
    grid-template-columns: 1fr;
  }

  .nav-toggle { display: inline-flex; }

  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 7vw 16px;
    background: #101816;
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open { display: flex; }

  .nav a { padding: 12px 0; border-top: 1px solid var(--line); }

  .hero { padding-top: 40px; }

  .okved { display: block; overflow-x: auto; }
}
