:root {
  --paper: #f4ead8;
  --sheet: #fffaf1;
  --ink: #1c1612;
  --mute: #5c5248;
  --wine: #7a1d2c;
  --wine-2: #5c1521;
  --line: #d9cbb3;
  --forest: #2c4538;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Figtree", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  display: flex;
}
h1, h2, h3, .logo, .stamp, .stub-name, .stats b, .route b {
  font-family: "Syne", sans-serif;
}
img { width: 100%; display: block; object-fit: cover; }
a { color: inherit; text-decoration: none; }

.stub {
  position: sticky;
  top: 0;
  align-self: flex-start;
  width: 168px;
  min-height: 100vh;
  padding: 28px 18px;
  background: var(--wine);
  color: #f8ecd8;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-right: 12px dotted var(--paper);
}
.stamp {
  width: 92px;
  height: 92px;
  border: 3px solid #f8ecd8;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  transform: rotate(-8deg);
}
.stub-name { font-size: 18px; line-height: 1.15; font-weight: 800; }
.stub-code, .stub-kved { font-size: 13px; opacity: 0.85; }
.lang { display: flex; gap: 6px; }
.lang button {
  border: 1px solid #f8ecd8;
  background: transparent;
  color: #f8ecd8;
  padding: 4px 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.lang button.is-on { background: #f8ecd8; color: var(--wine); }
.stub-mail { margin-top: auto; font-size: 12px; word-break: break-all; }

.sheet { flex: 1; min-width: 0; }

.nav {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 5vw;
  background: rgba(244, 234, 216, 0.94);
  border-bottom: 1px solid var(--line);
}
.logo { font-size: 26px; line-height: 1.05; font-weight: 800; }
.logo span { display: block; font-size: 13px; color: var(--wine); font-family: "Figtree", sans-serif; font-weight: 700; }
nav { display: flex; gap: 20px; font-size: 14px; font-weight: 700; }
nav a:hover { color: var(--wine); }
.nav-btn { display: none; border: 0; background: transparent; font-size: 24px; cursor: pointer; color: var(--wine); }

.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  align-items: stretch;
}
.hero-copy { padding: 56px 5vw; display: flex; flex-direction: column; justify-content: center; }
.tag { color: var(--wine); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
h1 { font-size: clamp(40px, 6vw, 72px); line-height: 0.96; margin: 12px 0 16px; }
.lead { color: var(--mute); font-size: 18px; max-width: 44ch; }
.hero-actions { display: flex; gap: 12px; margin: 26px 0 30px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  padding: 12px 20px;
  background: var(--wine);
  color: #fffaf1;
  font-weight: 800;
}
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); gap: 20px 28px; list-style: none; }
.stats b { display: block; font-size: 28px; color: var(--wine); }
.stats span { font-size: 12px; color: var(--mute); font-family: "Figtree", sans-serif; }
.hero figure { min-height: 420px; max-height: 640px; }
.hero img { height: 100%; min-height: 420px; max-height: 640px; }

section { padding: 72px 5vw; scroll-margin-top: 84px; }
h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 16px; }
.intro { color: var(--mute); max-width: 60ch; margin-bottom: 28px; }

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--sheet);
}
.about img { height: 420px; }
.about p { color: var(--mute); margin-bottom: 14px; }

.zones {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 40px;
  background: var(--forest);
  color: #f4ead8;
}
.zones p { opacity: 0.85; max-width: 36ch; }
.route { list-style: none; border-left: 3px solid #c9a15b; }
.route li { padding: 14px 0 14px 22px; position: relative; }
.route li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 22px;
  width: 13px;
  height: 13px;
  background: #c9a15b;
  border-radius: 50%;
}
.route b { display: block; font-size: 20px; }
.route span { opacity: 0.8; }

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.cards article { background: var(--sheet); border: 1px solid var(--line); }
.cards img { height: 240px; }
.cards h3, .cards p { padding: 0 20px; }
.cards h3 { margin: 18px 0 8px; }
.cards p { color: var(--mute); padding-bottom: 22px; }

.how { background: var(--sheet); }
.how ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
  counter-reset: step;
}
.how li {
  background: var(--paper);
  padding: 20px;
  counter-increment: step;
}
.how li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 22px;
  color: var(--wine);
  font-weight: 800;
  margin-bottom: 8px;
}
.how p { color: var(--mute); }

.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.who-grid article { background: var(--sheet); padding: 22px; border-top: 4px solid var(--wine); }
.who-grid p { color: var(--mute); }

.rules .two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rules .two > div { background: var(--sheet); padding: 24px; }
.rules ul { margin: 12px 0 0 18px; color: var(--mute); }
.rules li { margin-bottom: 8px; }

.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { color: var(--mute); margin-top: 10px; }

.legal { background: var(--sheet); }
.legal dl { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.legal dt { color: var(--wine); font-size: 12px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.legal dd { margin-top: 4px; }
.legal a { color: var(--wine); }

.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
}
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--mute); }
input, select, textarea {
  background: var(--sheet);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 12px;
  font: inherit;
}
button[type="submit"] {
  background: var(--wine);
  color: #fffaf1;
  border: 0;
  padding: 14px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.note { color: var(--wine); }

footer {
  padding: 28px 5vw 40px;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 13px;
}

@media (max-width: 980px) {
  body { display: block; }
  .stub {
    position: relative;
    width: 100%;
    min-height: 0;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    border-right: 0;
    border-bottom: 8px dotted var(--paper);
  }
  .stamp { width: 64px; height: 64px; font-size: 13px; }
  .stub-mail { margin-top: 0; }
  .hero, .about, .zones, .contact, .how ol, .who-grid, .cards, .legal dl, .rules .two {
    grid-template-columns: 1fr;
  }
  .nav-btn { display: block; }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 16px 5vw 24px;
    border-bottom: 1px solid var(--line);
  }
  nav.is-open { display: flex; }
  .hero img, .about img { min-height: 260px; height: 260px; }
}
