/* Суши Панда — тема 2.0. Токены и общие части обеих страниц. */
:root {
  --coal: #24211f;
  --graphite: #312d2a;
  --graphite-2: #3b3633;
  --line: #48423e;
  --mandarin: #ff8a00;
  --mandarin-deep: #e67a00;
  --chopstick: #e5412d;
  --rice: #f7f2ea;
  --ash: #a39a92;
  --ink: #1b1918;

  --display: "Montserrat Alternates", "Golos Text", system-ui, sans-serif;
  --text: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1360px;
  --gutter: clamp(16px, 3vw, 40px);
  --r-photo: 18px;
  --r-control: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--coal);
  color: var(--rice);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--mandarin); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* Значок-панда: исходник квадратный, обрезаем кругом */
.badge { border-radius: 50%; clip-path: circle(49%); background: var(--ink); }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border: 0; border-radius: var(--r-control);
  background: var(--mandarin); color: var(--ink);
  font-family: var(--text); font-weight: 600; font-size: 17px; text-decoration: none;
  cursor: pointer; transition: background-color .15s;
}
.btn:hover { background: #ff9d26; }
.btn:active { background: var(--mandarin-deep); }
.btn--ghost { background: transparent; color: var(--rice); box-shadow: inset 0 0 0 2px rgba(247, 242, 234, .35); }
.btn--ghost:hover { background: rgba(247, 242, 234, .08); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Подвал */
.footer { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--ash); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.footer h3 { margin: 0 0 12px; font: 600 15px/1.3 var(--text); color: var(--rice); }
.footer p, .footer ul { margin: 0; padding: 0; list-style: none; }
.footer li + li { margin-top: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--rice); text-decoration: underline; }
.footer__brand { display: flex; gap: 14px; align-items: center; }
.footer__brand img { width: 56px; height: 56px; }
.footer__brand b { display: block; font: 800 20px/1.1 var(--display); color: var(--rice); }
.footer__apps { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.footer__apps a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 10px; background: var(--graphite); color: var(--rice); font-size: 14px; }
.footer__apps a:hover { text-decoration: none; background: var(--graphite-2); }
.footer .footer__legal { margin-top: 36px; font-size: 13px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 24px; } }

/* Уведомление о cookie (152-ФЗ) */
.cookie {
  position: fixed; z-index: 60; left: 50%; bottom: 16px; transform: translateX(-50%);
  width: min(100% - 32px, 640px);
  display: flex; gap: 16px; align-items: center;
  padding: 14px 16px 14px 20px; border-radius: 16px;
  background: var(--rice); color: var(--ink); font-size: 14px; line-height: 1.4;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
}
.cookie a { color: inherit; }
.cookie .btn { min-height: 40px; padding: 0 18px; font-size: 15px; flex: none; }
.cookie[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
