@font-face { font-family: Manrope; src: url(fonts/manrope-cyrillic.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; src: url(fonts/manrope-latin.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: Unbounded; src: url(fonts/unbounded-cyrillic.woff2) format("woff2"); font-weight: 200 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Unbounded; src: url(fonts/unbounded-latin.woff2) format("woff2"); font-weight: 200 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }

:root {
  --ink: #100e0a;
  --ink-2: #1a1711;
  --line: #342e22;
  --text: #f3eee2;
  --muted: #a89f8c;
  --gold: #dcb45c;
  --gold-hi: #f1d48c;
  --paper: #f4efe3;
  --paper-ink: #221d13;
  --paper-muted: #6a6050;
  --gutter: clamp(16px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.6 Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-hi); }
h1, h2, h3 { font-family: Unbounded, Manrope, system-ui, sans-serif; font-weight: 500; line-height: 1.15; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(26px, 3.6vw, 42px); }
p { margin: 0; }
ol, ul { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

section { padding: clamp(56px, 9vw, 112px) var(--gutter); max-width: 1240px; margin: 0 auto; }

.eyebrow { color: var(--gold); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* Золото: блик идёт по буквам, свечение дышит вместе с ним */
.gold {
  display: inline-block;
  background: linear-gradient(100deg, #8f6a1c 0%, #dcb45c 18%, #fff4cf 30%, #ffffff 36%, #f1d48c 44%, #b5852a 58%, #f7dc93 72%, #fffbe6 80%, #c99a3b 90%, #8f6a1c 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gold-flow 3.2s linear infinite, gold-glow 3.2s ease-in-out infinite;
}
@keyframes gold-flow { from { background-position: 130% 0; } to { background-position: -130% 0; } }
@keyframes gold-glow {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(220, 180, 92, .28)); }
  50% { filter: drop-shadow(0 0 34px rgba(255, 215, 120, .72)); }
}

.btn {
  display: inline-block;
  padding: 16px 28px;
  background: linear-gradient(100deg, #cfa54a, #f1d48c 50%, #cfa54a);
  background-size: 200% 100%;
  color: #1a1407;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  transition: background-position .4s, transform .15s, box-shadow .2s;
}
.btn:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(220, 180, 92, .28); }
.btn.ghost { background: none; color: var(--gold-hi); box-shadow: inset 0 0 0 1px var(--gold); }
.btn.ghost:hover { background: var(--gold); color: #1a1407; transform: none; }
.link { color: var(--text); font-weight: 600; text-underline-offset: 4px; }

/* Шапка */
.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 28px;
  padding: 12px var(--gutter);
  background: color-mix(in srgb, var(--ink) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.mark { font-family: Unbounded, Manrope, sans-serif; font-weight: 500; font-size: 15px; color: var(--text); text-decoration: none; margin-right: auto; }
.mark span { color: var(--gold); }
.top nav { display: flex; gap: 22px; }
.top nav a { color: var(--muted); font-size: 15px; font-weight: 600; text-decoration: none; }
.top nav a:hover { color: var(--text); }
.top-cta { color: var(--gold-hi); font-weight: 700; font-size: 15px; text-decoration: none; }
.top-cta:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Первый экран */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(40px, 6vw, 72px);
}
.hero::before {
  content: "";
  position: absolute; z-index: -1;
  left: var(--mx, 30%); top: var(--my, 30%);
  width: 720px; height: 720px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(220, 180, 92, .17), transparent 62%);
  pointer-events: none;
}
/* Размер заголовка считается от ширины колонки, поэтому слово никогда не заедет на фото */
.hero-text { container-type: inline-size; min-width: 0; }
h1 { font-size: 14.6cqw; font-weight: 600; line-height: 1.04; margin: 18px 0 26px; }
h1 .gold { display: block; font-weight: 800; font-size: 1.32em; letter-spacing: .01em; line-height: 1.08; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; max-width: 34em; color: #dfd8c8; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 34px; }
.portrait { margin: 0; }
.portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; filter: saturate(.85) contrast(1.03); }
.portrait figcaption { margin-top: 12px; font-weight: 700; font-size: 15px; }
.portrait figcaption span { color: var(--muted); font-weight: 400; }

/* Факты */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  gap: 24px;
}
.facts li { border-top: 1px solid var(--gold); padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.facts b { font-family: Unbounded, sans-serif; font-weight: 500; font-size: clamp(22px, 2.3vw, 30px); color: var(--gold-hi); }
.facts span { color: var(--muted); font-size: 15px; }

/* Бегущая строка тем */
.ticker {
  margin-top: clamp(44px, 6vw, 72px);
  overflow: hidden;
  border-block: 1px solid var(--line);
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker-track span { padding: 16px 28px; white-space: nowrap; font-weight: 600; color: #cfc7b5; position: relative; }
.ticker-track span::after { content: "◆"; position: absolute; right: -6px; top: 18px; font-size: 10px; color: var(--gold); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Салфетка: светлый лист с зубчатым краем, как у бумажной салфетки */
.napkin {
  --tooth: 18px;
  background: var(--paper);
  color: var(--paper-ink);
  padding: clamp(40px, 6vw, 80px) clamp(22px, 6vw, 80px);
  -webkit-mask: radial-gradient(circle calc(var(--tooth) / 2), #000 98%, transparent) 0 0 / var(--tooth) var(--tooth) repeat-x, radial-gradient(circle calc(var(--tooth) / 2), #000 98%, transparent) 0 100% / var(--tooth) var(--tooth) repeat-x, linear-gradient(#000 0 0) 0 50% / 100% calc(100% - var(--tooth)) no-repeat;
  mask: radial-gradient(circle calc(var(--tooth) / 2), #000 98%, transparent) 0 0 / var(--tooth) var(--tooth) repeat-x, radial-gradient(circle calc(var(--tooth) / 2), #000 98%, transparent) 0 100% / var(--tooth) var(--tooth) repeat-x, linear-gradient(#000 0 0) 0 50% / 100% calc(100% - var(--tooth)) no-repeat;
}
.napkin-lead { color: var(--paper-muted); margin-top: 12px; max-width: 36em; }
.topics { margin-top: clamp(26px, 4vw, 44px); }
.topics article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 4px 20px;
  padding: 26px 0;
  border-top: 1px solid #d5ccb8;
}
.topics .num { font-family: Unbounded, sans-serif; font-size: 14px; color: #8a6a1e; padding-top: 6px; }
.topics h3 { font-size: clamp(20px, 2.2vw, 26px); margin-bottom: 8px; }
.topics p { color: var(--paper-muted); max-width: 44em; }
.topics ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 8px 32px; margin-top: 14px; }
.topics li { padding-left: 18px; position: relative; font-size: 16px; line-height: 1.45; }
.topics li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; background: #b98c2c; transform: rotate(45deg); }

/* Материалы */
.gallery { padding-top: 0; }
.section-head { margin-bottom: 32px; }
.section-head h2 { margin-top: 10px; }
.gallery-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.shot { margin: 0; grid-column: span 6; }
.shot:nth-child(3) { grid-column: span 7; }
.shot:nth-child(4) { grid-column: span 5; }
.shot img { width: 100%; border-radius: 6px; border: 1px solid var(--line); }
.shot figcaption { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.shot figcaption b { display: block; color: var(--text); font-size: 16px; }

/* Как вступить */
.steps { padding-top: 0; }
.steps ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 36px; border-top: 1px solid var(--gold); counter-reset: step; }
.steps li { counter-increment: step; padding: 22px 24px 0 0; display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: counter(step); font-family: Unbounded, sans-serif; font-size: 34px; color: var(--gold); }
.steps b { font-size: 19px; }
.steps span { color: var(--muted); }

/* Цены */
.prices { padding-top: 0; }
.price-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 36px; }
.price { background: var(--ink-2); border: 1px solid var(--line); border-radius: 6px; padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; }
.price.best { border-color: var(--gold); box-shadow: 0 0 44px rgba(220, 180, 92, .12); }
.price h3 { font-size: 18px; }
.sum { font-family: Unbounded, sans-serif; font-size: clamp(30px, 3.4vw, 42px); color: var(--gold-hi); margin-top: 18px; font-variant-numeric: tabular-nums; }
.term { color: var(--muted); margin: 8px 0 24px; }
.term b { color: var(--text); }
.price .btn { margin-top: auto; text-align: center; padding: 14px 20px; }

/* Вопросы */
.faq { padding-top: 0; }
.faq > * { max-width: 860px; }
.faq h2 { margin-bottom: 26px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 18px 28px 18px 0; font-weight: 700; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 2px; top: 13px; font-size: 24px; color: var(--gold); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { padding-bottom: 20px; color: #d8d1c1; max-width: 40em; }

/* Финал */
.final { padding-top: 0; }
.final-word { font-family: Unbounded, sans-serif; font-weight: 800; font-size: clamp(64px, 17vw, 210px); line-height: 1; margin-bottom: 18px; }
.final h2 { max-width: 18em; margin-bottom: 28px; }

footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px clamp(24px, 5vw, 64px);
  padding: 44px var(--gutter);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}
footer h2 { font-size: 15px; color: var(--text); margin-bottom: 12px; font-weight: 500; }
footer p + p { margin-top: 6px; }
.pay-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.pay-logos li { display: flex; align-items: center; justify-content: center; height: 38px; padding: 0 12px; background: #f6f3ec; border-radius: 5px; }
.pay-logos img { display: block; width: auto; height: 20px; max-width: 86px; }
.pay-logos img[alt="Mastercard"] { height: 24px; }
.pay-logos img[alt="Visa"] { height: 15px; }
.small { font-size: 14px; }

/* Документы */
.doc { max-width: 820px; margin: 0 auto; padding: clamp(36px, 6vw, 72px) var(--gutter); }
.doc h1 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 8px; }
.doc h2 { font-size: 20px; margin: 34px 0 10px; }
.doc p, .doc li { color: #d8d1c1; margin: 0 0 10px; }
.doc ul { list-style: disc; padding-left: 22px; }
.doc .todo { color: var(--gold-hi); }
.doc .req p { margin-bottom: 4px; }
.back { display: inline-block; margin-bottom: 28px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; align-items: start; }
  .portrait { max-width: 420px; }
  .steps ol { grid-template-columns: 1fr; border-top: 0; }
  .steps li { border-top: 1px solid var(--gold); padding: 18px 0 26px; }
  .topics article { grid-template-columns: 38px minmax(0, 1fr); }
  .topics ul { grid-template-columns: 1fr; }
  .shot, .shot:nth-child(3), .shot:nth-child(4) { grid-column: span 12; }
  .top nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gold { animation: none; background-position: 40% 0; filter: drop-shadow(0 0 14px rgba(220, 180, 92, .35)); }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
  .btn { transition: none; }
}
