:root {
  --bg: #f6f3ee;
  --ink: #1c1917;
  --muted: #6f675f;
  --nav: #fbf9f6;
  --bar: #6d4e96;
  --brand: #5a3d86;
  --hero: #2a2433;
  --gold: #e8b15a;
  --badge: #c4532a;
  --num: #f09a4a;
  --btn: #5c4b86;
  --btn-line: #463968;
  --btn-hover: #3c315c;
  --clay: #c46b3a;
  --card-line: #e3d9cc;
  --card-hover: #c9b8a4;
  --soft: #a39890;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: var(--brand); }
img { max-width: 100%; height: auto; }
.container { width: min(1140px, 100%); margin: 0 auto; padding: 0 15px; }

.bar {
  background: var(--nav);
  border-bottom: 5px solid var(--bar);
  box-shadow: 0 1px 4px rgba(42, 36, 51, 0.08);
}
.bar-in { display: flex; align-items: center; min-height: 56px; gap: 8px; }
.brand { order: 1; display: flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 800; text-decoration: none; font-size: 1.15rem; }
.brand img { width: 30px; height: 30px; }
.menu { order: 2; display: flex; gap: 1.15rem; list-style: none; margin: 0 0 0 1.1rem; padding: 0; }
.menu a { color: #4a453f; text-decoration: none; font-weight: 600; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--ink); }
.contact {
  order: 3;
  margin-left: auto;
  background: var(--clay);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  padding: 0.4rem 0.85rem;
  border: 1px solid #a8562c;
}
.contact:hover { background: #a8562c; color: #fff; }
.burger {
  display: none;
  width: 42px; height: 34px;
  border: 1px solid #ddd6cc;
  background: #fff;
  border-radius: 4px;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.burger span { display: block; width: 18px; height: 2px; background: #2a2433; }

.hero { background: var(--hero); color: #fff; overflow: hidden; padding: 2.2rem 0 1.2rem; }
.hero-copy { position: relative; min-height: 180px; }
.float-art { position: absolute; right: 15px; top: 0; width: 200px; height: 200px; z-index: 1; border-radius: 18px; }
.copy { position: relative; z-index: 2; }
h1 { margin: 0 0 0.8rem; font-size: 40px; line-height: 1.25; font-weight: 700; text-shadow: #000 2px 0 0, #000 0 2px 0, #000 -2px 0 0, #000 0 -2px 0; }
.gold { color: var(--gold); font-style: normal; }
.badge {
  display: inline-block;
  background: var(--badge);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
  margin: 0 0 22px 6px;
  vertical-align: super;
  text-shadow: none;
}
.lead { margin: 0.35rem 0; font-size: 1.2rem; text-shadow: #000 2px 0 0, #000 0 2px 0, #000 -2px 0 0, #000 0 -2px 0; }
.num { font-size: 50px; color: var(--num); font-weight: 800; line-height: 1; }
.dl-label { color: var(--soft); margin: 1.1rem 0 0.2rem; }
.dl-row { display: flex; flex-wrap: wrap; position: relative; z-index: 2; }
.dl {
  width: 150px; height: 50px; margin: 8px;
  background: var(--btn);
  border: 1px solid var(--btn-line);
  border-radius: 5px;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 18px;
}
.dl:hover { background: var(--btn-hover); color: #fff; }
.dl i {
  width: 50px; height: 100%;
  display: grid; place-items: center; flex: none;
}
.dl i svg { width: 22px; height: 22px; fill: #fff; }
.chevs { position: relative; height: 46px; margin-top: 8px; }
.chevron { position: absolute; left: 50%; width: 18px; height: 6px; margin-left: -9px; opacity: 0; animation: move 3s ease-out infinite; }
.chevron:first-child { animation-delay: 1s; }
.chevron:nth-child(2) { animation-delay: 2s; }
.chevron:before, .chevron:after { content: ""; position: absolute; top: 0; height: 100%; width: 51%; background: #b7aea4; }
.chevron:before { left: 0; transform: skew(0deg, 30deg); }
.chevron:after { right: 0; width: 50%; transform: skew(0deg, -30deg); }
@keyframes move {
  25% { opacity: 1; }
  33% { opacity: 1; transform: translateY(16px); }
  67% { opacity: 1; transform: translateY(24px); }
  100% { opacity: 0; transform: translateY(34px); }
}

.points { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; gap: 18px; padding: 2.4rem 0 1rem; }
.points img { width: 128px; height: 128px; margin: 0 auto 8px; }
.points h2 { margin: 0 0 0.35rem; font-size: 1.6rem; }
.points p { margin: 0 auto; max-width: 280px; font-size: 14px; color: var(--muted); }
.rule { border: 0; border-top: 1px solid #e4ddd4; margin: 0.6rem 0 1.4rem; }
.preview-title { text-align: center; color: #1c1917; font-size: 1.05rem; font-weight: 600; margin: 0 0 0.8rem; }
.preview { width: 100%; border-top: 1px solid var(--btn); border-radius: 0 0 8px 8px; display: block; background: #fff; }
.block-title { color: #1c1917; font-size: 1.7rem; margin: 1.6rem 0 1rem; }
.cards { display: flex; flex-wrap: wrap; justify-content: center; padding-bottom: 1.5rem; }
.g-card {
  width: 150px; height: 150px; margin: 5px;
  border-radius: 15px; border: 1px solid var(--card-line);
  background: transparent;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; font-size: 14px; padding: 8px;
}
.g-card:hover { border-color: var(--card-hover); }
.g-card svg { width: 64px; height: 64px; stroke: var(--brand); fill: none; stroke-width: 1.7; }

.site-footer { border-top: 1px solid #e4ddd4; padding: 2.2rem 0 1.4rem; margin-top: 1.5rem; }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.foot-brand img { width: 24px; height: 24px; }
.foot-grid h2 { font-size: 1rem; margin: 0 0 0.6rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.foot-grid a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.foot-grid a:hover { text-decoration: underline; }
.small { color: var(--muted); font-size: 0.85rem; }
.legal {
  margin-top: 1.2rem;
  background: #2a2433;
  color: #a39aaa;
  border-radius: 8px;
  font-size: 12px;
  padding: 8px;
  text-align: center;
}
.legal a { color: #a39aaa; }
.note { text-align: center; color: #2a2433; font-size: 13px; margin: 14px 0 0; }

@media (max-width: 991px) {
  .burger { display: inline-flex; order: 2; margin-left: auto; }
  .contact { order: 3; margin-left: 8px; }
  .menu {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0;
    padding: 0.4rem 0 0.8rem;
  }
  .menu.open { display: flex; }
  .bar-in { flex-wrap: wrap; padding: 8px 0; }
  .points { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .dl-row { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .chevron { animation: none; opacity: 0.7; }
}
