@font-face {
  font-family: "Expressway";
  src: url("fonts/expressway-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a0f1c;
  --card: #121b2e;
  --card-2: #17223a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #eef2f9;
  --muted: #94a1b8;
  --gold: #d9b45b;
  --gold-strong: #f0c96a;
  --gold-deep: #b8860b;
  --green: #2fbf71;
  --radius: 16px;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Expressway", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; background: var(--bg); }

body {
  font-family: var(--font-body);
  font-size: 15px;
  background: transparent;
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* мягкое анимированное свечение фона */
body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(46% 38% at 18% 8%, rgba(217, 180, 91, 0.14), transparent 62%),
    radial-gradient(50% 42% at 92% 12%, rgba(84, 116, 255, 0.1), transparent 62%),
    radial-gradient(55% 45% at 50% 108%, rgba(47, 191, 113, 0.07), transparent 62%);
  animation: aurora-move 22s ease-in-out infinite;
}
@keyframes aurora-move {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-3%, 2%, 0) scale(1.06); }
}

/* жирные элементы остаются в системном шрифте */
h1, h2, h3, h4, h5, h6,
b, strong,
.logo,
.btn,
.badge,
.checkout__tag,
.price,
.qty__value,
.step__num,
.contact-card__value {
  font-family: var(--font);
}

main { flex: 1; }
a { color: inherit; }
img { max-width: 100%; }
.container { width: min(1060px, 100% - 36px); margin: 0 auto; }

::selection { background: rgba(240, 201, 106, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--gold-strong); outline-offset: 2px; border-radius: 6px; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #080d18; }
::-webkit-scrollbar-thumb { background: #26324a; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #33415f; }

/* индикатор прокрутки */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 200;
  background: linear-gradient(90deg, var(--gold-strong), #ffe9ad);
  box-shadow: 0 0 12px rgba(240, 201, 106, 0.6);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 15, 28, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 60px;
}
.logo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: opacity 0.15s;
}
.logo:hover { opacity: 0.85; }
.logo__text {
  position: relative;
  display: inline-block;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: linear-gradient(100deg, #f7d87e 0%, #fffdf0 18%, #f0c96a 42%, #ffffff 62%, #f0c96a 82%, #f7d87e 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 8px rgba(255, 243, 196, 0.5));
  animation: logo-shimmer 3.5s linear infinite, logo-glow 3s ease-in-out infinite;
}
.logo__text::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: -5px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 246, 214, 0.95), transparent);
}
@keyframes logo-shimmer {
  0% { background-position: 140% 50%; }
  100% { background-position: -140% 50%; }
}
@keyframes logo-glow {
  0%, 100% { filter: drop-shadow(0 0 7px rgba(255, 243, 196, 0.5)); }
  50% { filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.85)); }
}
.logo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0c96a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2 11 13'/%3E%3Cpath d='M22 2 15 22 11 13 2 9 22 2'/%3E%3C/svg%3E") center/contain no-repeat;
  pointer-events: none;
  display: none;
  z-index: 2;
  filter: drop-shadow(0 0 4px rgba(240, 201, 106, 0.7));
}
.logo.plane-ready::after {
  display: block;
  offset-path: var(--plane-path, none);
  offset-rotate: auto 45deg;
  animation: plane-fly 6.5s linear infinite;
}
@keyframes plane-fly {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}
.nav { display: flex; gap: 22px; }
.nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s;
  padding-bottom: 3px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-strong), transparent);
  transition: width 0.25s ease;
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }

/* buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 14.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s, color 0.2s, background-color 0.2s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn--gold {
  background: linear-gradient(135deg, #f6d98a 0%, #e8bd52 45%, #c9971f 100%);
  color: #1a1206;
  box-shadow: 0 10px 26px rgba(217, 180, 91, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn--gold::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(217, 180, 91, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn--gold:hover::after { left: 135%; }
.btn--gold:active { transform: translateY(0) scale(0.98); }
.btn--ghost {
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: rgba(217, 180, 91, 0.6);
  color: var(--gold-strong);
  background: rgba(217, 180, 91, 0.07);
  transform: translateY(-2px);
}
.btn--ghost:active { transform: translateY(0) scale(0.98); }
.btn--block { width: 100%; }
.btn--sm { padding: 8px 16px; font-size: 13px; }

#buy-btn { animation: buy-pulse 3.2s ease-in-out infinite; }
#buy-btn:hover { animation: none; }
@keyframes buy-pulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(217, 180, 91, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
  50% { box-shadow: 0 14px 40px rgba(217, 180, 91, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
}
#buy-btn.bump { animation: buy-bump 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes buy-bump {
  0% { transform: scale(1); }
  30% { transform: scale(1.07); box-shadow: 0 18px 44px rgba(217, 180, 91, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
  60% { transform: scale(0.98); }
  100% { transform: scale(1); }
}

/* hero */
.hero { position: relative; padding: 40px 0 48px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -300px;
  left: 50%;
  transform: translateX(-50%) translateY(calc(var(--parallax, 0px) * 0.12));
  width: 820px;
  height: 480px;
  background: radial-gradient(closest-side, rgba(217, 180, 91, 0.12), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.hero__content > * {
  animation: rise-in 0.65s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
}
.hero__content > *:nth-child(1) { animation-delay: 0.05s; }
.hero__content > *:nth-child(2) { animation-delay: 0.12s; }
.hero__content > *:nth-child(3) { animation-delay: 0.19s; }
.hero__content > *:nth-child(4) { animation-delay: 0.26s; }
.checkout { animation: rise-in 0.7s 0.2s cubic-bezier(0.2, 0.7, 0.3, 1) backwards; }
@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(217, 180, 91, 0.35);
  background: rgba(217, 180, 91, 0.08);
  color: var(--gold-strong);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-strong);
  animation: dot-pulse 2.4s ease-out infinite;
}
@keyframes dot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(240, 201, 106, 0.55); }
  70%, 100% { box-shadow: 0 0 0 6px rgba(240, 201, 106, 0); }
}
h1 {
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.7px;
  margin: 16px 0 12px;
  max-width: 560px;
}
.hero p { color: var(--muted); font-size: 15px; max-width: 520px; }
.hero__features { margin-top: 20px; max-width: 440px; }

/* section head */
.section-head { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(20px, 2.6vw, 26px); letter-spacing: -0.4px; }
.section-head p { color: var(--muted); margin-top: 5px; font-size: 14px; }

/* checkout */
.checkout {
  position: relative;
  background:
    linear-gradient(180deg, #141e33, #111a2c) padding-box,
    linear-gradient(135deg, rgba(240, 201, 106, 0.55), rgba(240, 201, 106, 0.08) 45%, rgba(240, 201, 106, 0.45)) border-box;
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow), 0 0 40px rgba(217, 180, 91, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.checkout__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--gold-strong);
  background: rgba(217, 180, 91, 0.1);
  border: 1px solid rgba(217, 180, 91, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
}
.checkout__title { font-size: 17px; letter-spacing: -0.3px; margin-top: -4px; }
.features { list-style: none; display: grid; gap: 9px; }
.features li { display: flex; gap: 10px; align-items: flex-start; color: #cfd8e8; font-size: 14px; }
.features li::before {
  content: "";
  flex: 0 0 17px;
  height: 17px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(47, 191, 113, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232fbf71' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat;
}
.price { font-size: 32px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.price-note { color: var(--muted); font-size: 13px; margin-top: 3px; }
.qty__label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px; }
.qty__controls { display: flex; align-items: center; gap: 10px; }
.qty__controls button {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s, transform 0.15s;
}
.qty__controls button:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold-strong);
  background: rgba(217, 180, 91, 0.08);
  transform: translateY(-1px);
}
.qty__controls button:disabled { opacity: 0.35; cursor: not-allowed; }
.qty__value { min-width: 36px; text-align: center; font-size: 16px; font-weight: 700; }
.total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px dashed var(--border-strong);
  padding-top: 14px;
}
.total span { color: var(--muted); font-size: 13px; }
.total strong { font-size: 20px; letter-spacing: -0.4px; }
.pay-note { color: var(--muted); font-size: 12px; text-align: center; }
.pay-note a { color: var(--gold-strong); }

/* steps */
.steps { padding: 0 0 52px; }
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.step:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 180, 91, 0.35);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
}
.step__num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(240, 201, 106, 0.22), rgba(240, 201, 106, 0.05));
  border: 1px solid rgba(217, 180, 91, 0.3);
  color: var(--gold-strong);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 12px;
}
.step h3 { font-size: 15.5px; margin-bottom: 5px; }
.step p { color: var(--muted); font-size: 13.5px; }

/* support */
.support { padding: 0 0 52px; }
.contacts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.contact-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 180, 91, 0.5);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32), 0 0 24px rgba(217, 180, 91, 0.08);
}
.contact-card__label { color: var(--muted); font-size: 12.5px; margin-bottom: 5px; }
.contact-card__value { font-size: 15px; font-weight: 700; word-break: break-word; }
.contact-card__hint { color: var(--muted); font-size: 12.5px; margin-top: 5px; }

/* footer */
.site-footer { border-top: 1px solid var(--border); background: #080d18; padding: 26px 0 20px; }
.footer-brand { display: flex; flex-direction: column; gap: 3px; }
.footer-brand__name {
  font-family: var(--font);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: linear-gradient(100deg, #f0c96a, #fff3c4, #f0c96a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.footer-brand__tagline { color: var(--muted); font-size: 12.5px; }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13.5px; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-strong); }
.footer-note { color: var(--muted); font-size: 12.5px; margin-top: 14px; }
.codeword { margin-top: 6px; color: #5f6c84; font-size: 12px; }
.codeword strong { color: var(--gold-strong); letter-spacing: 2px; }

/* docs */
.doc { max-width: 780px; margin: 0 auto; padding: 36px 0 64px; }
.doc h1 { font-size: clamp(24px, 3.2vw, 32px); margin: 0 0 5px; }
.doc__date { color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.doc h2 { font-size: 18px; margin: 26px 0 9px; letter-spacing: -0.3px; }
.doc p { color: #c6d0e2; margin-bottom: 9px; font-size: 14.5px; }
.doc ul, .doc ol { margin: 0 0 11px 20px; color: #c6d0e2; font-size: 14.5px; }
.doc li { margin-bottom: 5px; }
.doc a { color: var(--gold-strong); }

/* ticket form */
.ticket-form { display: grid; gap: 10px; margin-top: 8px; }
.ticket-form[hidden] { display: none; }
.ticket-form label { display: grid; gap: 5px; font-size: 13px; color: var(--muted); }
.ticket-form label[hidden] { display: none; }
.ticket-form input,
.ticket-form textarea {
  width: 100%;
  background: var(--card-2);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ticket-form input:focus,
.ticket-form textarea:focus {
  outline: none;
  border-color: rgba(217, 180, 91, 0.6);
  box-shadow: 0 0 0 3px rgba(217, 180, 91, 0.12);
}
.ticket-form input::placeholder,
.ticket-form textarea::placeholder { color: #5f6c84; }
.ticket-success { display: grid; gap: 10px; }
.ticket-success[hidden] { display: none; }
.ticket-success strong { color: var(--gold-strong); }
.ticket-error { color: #ff8f8f; font-size: 13.5px; margin-top: 10px; }
.ticket-error[hidden] { display: none; }

/* ticket page */
.ticket-page { max-width: 720px; }
.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin: 26px 0 14px;
}
.ticket-head h2 { font-size: 19px; }
.ticket-meta { color: var(--muted); font-size: 13px; margin-top: 4px; }
.status-badge {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
}
.status-badge--open { color: #2fbf71; border-color: rgba(47, 191, 113, 0.4); background: rgba(47, 191, 113, 0.08); }
.status-badge--closed { color: var(--muted); background: rgba(255, 255, 255, 0.03); }
.thread { display: grid; gap: 10px; margin: 14px 0 22px; }
.message {
  max-width: 85%;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 14px;
}
.message--user { margin-left: auto; background: rgba(217, 180, 91, 0.08); border-color: rgba(217, 180, 91, 0.25); }
.message--admin { margin-right: auto; background: var(--card-2); }
.message__meta { font-size: 11.5px; color: var(--muted); margin-bottom: 4px; }
.message__text { white-space: pre-wrap; word-break: break-word; }
.message__author--support {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ff6b6b;
  font-weight: 700;
}
.message__author--support::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5a5a;
  box-shadow: 0 0 8px rgba(255, 90, 90, 0.85);
  animation: support-blink 1.2s ease-in-out infinite;
}
@keyframes support-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.25; transform: scale(0.8); }
}
.quick-replies { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.quick-replies__title { font-size: 12px; color: var(--muted); margin-right: 2px; }
.quick-reply {
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
  white-space: normal;
  max-width: 100%;
}

/* contact card as button */
.contact-card--button {
  width: 100%;
  text-align: left;
  font-family: inherit;
  color: var(--text);
  cursor: pointer;
}

/* admin */
.admin-header-note { color: var(--muted); font-size: 13.5px; }
.account-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.account-head p { color: var(--muted); font-size: 14px; }
.account-head strong { color: var(--gold-strong); }
.account-head__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.new-ticket-form {
  margin-bottom: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}
.admin-login { max-width: 400px; margin: 0 auto; padding: 48px 0 64px; }
.admin-panel { padding: 28px 0 64px; }
.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.admin-filters { display: flex; gap: 8px; }
.chip {
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: 0.2s;
}
.chip:hover { color: var(--text); border-color: rgba(217, 180, 91, 0.5); }
.chip.is-active {
  color: #1a1206;
  background: linear-gradient(135deg, var(--gold-strong), #c9971f);
  border-color: transparent;
  font-weight: 700;
}
.admin-toolbar__right { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.admin-search {
  background: var(--card-2);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 8px 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 13.5px;
  min-width: 220px;
}
.admin-search:focus { outline: none; border-color: rgba(217, 180, 91, 0.6); }
.admin-layout { display: grid; grid-template-columns: 340px 1fr; gap: 16px; align-items: start; }
.admin-list {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  max-height: 72vh;
  overflow: auto;
}
.admin-item {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.admin-item:hover { background: rgba(255, 255, 255, 0.04); }
.admin-item.is-active { background: rgba(217, 180, 91, 0.1); }
.admin-item__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.admin-item__num { font-weight: 700; font-size: 13.5px; }
.admin-item__sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.admin-detail { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px; min-height: 220px; }
.admin-empty { color: var(--muted); font-size: 14px; padding: 10px; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.section-head a { color: var(--gold-strong); }

@media (max-width: 860px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-list { max-height: 320px; }
}

/* уведомления */
.toasts {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 300;
  display: grid;
  gap: 10px;
  max-width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(18, 27, 46, 0.97);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  font-size: 14px;
  color: var(--text);
  opacity: 0;
  transform: translateX(-26px);
  transition: opacity 0.28s ease, transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
  backdrop-filter: blur(8px);
}
.toast.is-visible { opacity: 1; transform: none; }
.toast.is-leaving { opacity: 0; transform: translateX(-16px); }
.toast__icon {
  flex: 0 0 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  margin-top: 1px;
}
.toast__text { flex: 1; line-height: 1.45; word-break: break-word; }
.toast__close {
  flex: 0 0 auto;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 2px;
}
.toast__close:hover { color: var(--text); }
.toast--success { border-left-color: var(--green); }
.toast--success .toast__icon { background: rgba(47, 191, 113, 0.15); color: var(--green); }
.toast--error { border-left-color: #ff6b6b; }
.toast--error .toast__icon { background: rgba(255, 107, 107, 0.15); color: #ff8f8f; }
.toast--info .toast__icon { background: rgba(217, 180, 91, 0.15); color: var(--gold-strong); }

/* modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 16, 0.72);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.32s ease;
}
.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(24px) scale(0.95);
  transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__dialog { opacity: 1; transform: none; }
.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.modal__close:hover { color: var(--text); border-color: var(--border-strong); transform: rotate(90deg); }
.modal__icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(217, 180, 91, 0.12);
  border: 1px solid rgba(217, 180, 91, 0.35);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.modal__dialog h3 { font-size: 18px; margin-bottom: 9px; letter-spacing: -0.3px; }
.modal__dialog p { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.modal__order {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 15px;
  margin: 14px 0;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.modal__order strong { white-space: nowrap; }
.modal__contacts { list-style: none; margin: 12px 0 18px; display: grid; gap: 8px; font-size: 14px; }
.modal__contacts a { color: var(--gold-strong); text-decoration: none; }
.modal__contacts a:hover { text-decoration: underline; }

/* scroll reveal (включается через script.js) */
body.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
body.js .reveal.is-visible { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .checkout { order: -1; }
  .steps__grid, .contacts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .hero { padding-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}
