@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/playfair-600-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/playfair-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/playfair-600i-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/playfair-600i-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #140e1c;
  --paper: #f6efe4;
  --muted: #6d6476;
  --blue: #3d7eff;
  --violet: #7b4dff;
  --gold: #c9a36a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.55 Onest, Segoe UI, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
h1, h2, h3 {
  font-family: "Playfair Display", Times, serif;
  font-weight: 600;
  line-height: 1.15;
}

.wrap { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }
.eyebrow {
  color: var(--gold);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
}
.lead { color: var(--muted); max-width: 42rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  border-radius: 999px;
  padding: .9rem 1.3rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
}
.btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,.22); }
.btn.dark { background: var(--ink); }
.btn.gold { background: var(--gold); color: var(--ink); }

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(20,14,28,.88);
}
.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  margin-right: auto;
}
.logo i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-style: normal;
  background: linear-gradient(135deg, var(--blue), var(--violet));
}
.links { display: flex; gap: 20px; }
.links a { color: rgba(255,255,255,.8); text-decoration: none; }
.tel { color: #fff; font-weight: 700; text-decoration: none; }
.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.2);
  background: none;
  color: #fff;
  border-radius: 12px;
}

.hero {
  background:
    radial-gradient(900px 400px at 80% 0, rgba(123,77,255,.35), transparent 55%),
    linear-gradient(#140e1c, #1c1428);
  color: #f7f2ea;
  padding: 48px 0 72px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.6rem); margin: 12px 0 16px; color: #fff; }
.hero h1 em { font-style: italic; color: #e8c98a; }
.hero p { color: rgba(255,255,255,.75); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.meta { display: flex; flex-wrap: wrap; gap: 18px 28px; padding: 0; list-style: none; color: rgba(255,255,255,.7); }
.meta b { display: block; color: #fff; font-size: 1.1rem; }

.phone { width: min(300px, 100%); margin: 0 auto; text-align: center; }
.bezel {
  background: #0b0712;
  border-radius: 36px;
  padding: 18px 10px;
  border: 1px solid rgba(255,255,255,.12);
}
.screen { border-radius: 24px; overflow: hidden; height: 520px; }
.track { display: flex; height: 100%; width: 300%; transition: transform .45s ease; }
.track article {
  flex: 0 0 33.333%;
  width: 33.333%;
  min-width: 33.333%;
  display: flex;
  flex-direction: column;
  background: #16111f;
  text-align: left;
  color: #f4efe8;
}
.shot {
  height: 148px;
  background-size: cover;
  background-position: center;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}
.shot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(20,14,28,.85));
}
.shot > * { position: relative; margin: 0; }
.shot span {
  align-self: start;
  margin-bottom: auto;
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  padding: 3px 8px;
  border-radius: 99px;
  font-weight: 700;
}
.pad { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gold { color: var(--gold); margin: 0; }
.pad ul { list-style: none; margin: 0; padding: 0; }
.pad li, .pad > p:not(.gold) {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  background: rgba(255,255,255,.05);
  border-radius: 10px;
  padding: 8px 10px;
  margin: 0;
}
.cta, .qr { margin-top: auto; border-radius: 14px; text-align: center; font-weight: 700; }
.cta {
  border-radius: 99px;
  padding: 10px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
}
.qr { background: #fff; color: var(--ink); padding: 8px; font-size: .72rem; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.28);
  cursor: pointer;
}
.dots .on { background: var(--gold); width: 22px; border-radius: 99px; }

.block { padding: 72px 0; }
.block h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid3 article, form, .person {
  background: #fffaf3;
  border: 1px solid rgba(20,14,28,.1);
  border-radius: 22px;
  padding: 22px;
}
.grid3 p { color: var(--muted); }
.dark { background: var(--ink); color: #f7f2ea; }
.dark .grid3 article { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); color: #fff; }
.dark .grid3 p, .dark .lead { color: rgba(255,255,255,.7); }
.cream { background: #fffaf3; }

.cases article { padding: 0; overflow: hidden; }
.cases img { width: 100%; height: 150px; object-fit: cover; }
.cases div { padding: 18px 22px 22px; }
.kicker {
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--violet);
  font-weight: 700;
}

.person {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: center;
}
.person img { width: 180px; height: 180px; object-fit: cover; border-radius: 50%; }
.quote { font-family: "Playfair Display", Times, serif; font-style: italic; font-size: 1.3rem; }

.quiz {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  padding: 24px;
}
.bar { height: 6px; background: rgba(255,255,255,.08); border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 16%; background: linear-gradient(90deg, var(--blue), var(--gold)); }
#quiz-options, #quiz-fields { display: grid; gap: 10px; margin: 12px 0; }
#quiz-options[hidden], #quiz-fields[hidden] { display: none; }
.q-opt, form label {
  display: grid;
  gap: 6px;
  text-align: left;
  background: rgba(255,255,255,.04);
  color: inherit;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 14px 16px;
  cursor: pointer;
}
#quiz-fields label.check {
  display: flex;
  gap: 6px;
  text-align: left;
  cursor: pointer;
}
form label { background: #fff; border-color: rgba(20,14,28,.1); cursor: default; font-size: .88rem; font-weight: 700; }
.q-opt:hover, .q-opt.on { border-color: var(--gold); }
.nav-btns { display: flex; justify-content: space-between; gap: 12px; }
.hint { color: rgba(255,255,255,.55); font-size: .85rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
form { display: grid; gap: 12px; }
input, textarea {
  width: 100%;
  border: 1px solid rgba(20,14,28,.12);
  border-radius: 14px;
  padding: 12px 14px;
}
.check, form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { width: auto; }
.status { min-height: 1.3em; margin: 8px 0 0; }
.status.ok { color: #157a45; }
.status.err { color: #b42318; }
.split a { font-weight: 700; text-decoration: none; }
dl { display: grid; grid-template-columns: 140px 1fr; gap: 8px 12px; background: #fff; border-radius: 18px; padding: 18px; }
dt { color: var(--muted); }

footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 28px 0; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: #fff; }
.legal { max-width: 760px; padding: 48px 0 80px; }

@media (max-width: 900px) {
  .hero-grid, .grid3, .split, .person { grid-template-columns: 1fr; }
  .links, .tel { display: none; }
  .burger { display: grid; place-items: center; }
  .links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: #140e1c;
    padding: 16px 20px 22px;
  }
  dl { grid-template-columns: 1fr; }
}
