/* Общие стили всех страниц: цвета, фон, шапка, меню, подвал, баннер cookie, статус «Открыто».
   Стили конкретной страницы — в её собственном <style>. */

:root {
  --grad: linear-gradient(135deg, #ffd60a 0%, #ff9f0a 20%, #ff375f 42%, #bf5af2 65%, #64d2ff 85%, #30d158 100%);
  --grad-btn: linear-gradient(135deg, #ffd60a, #ff375f, #bf5af2, #64d2ff);
  --bg: #080808;
  --surface: #111111;
  --surface2: #181818;
  --surface3: #1f1f1f;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.16);
  --text: #f0f0f0;
  --text-muted: rgba(255,255,255,0.5);
  --text-dim: rgba(255,255,255,0.28);
  --accent: #64d2ff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 12% -10%, rgba(248,65,138,0.20), transparent 60%),
    radial-gradient(ellipse 700px 600px at 110% 10%, rgba(163,127,246,0.16), transparent 60%),
    radial-gradient(ellipse 900px 700px at 50% 110%, rgba(255,116,69,0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
main, .container, .footer { position: relative; z-index: 1; }

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,8,8,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo-box {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--surface2);
  border: 1px solid var(--border-hover);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-box span {
  font-size: 17px; font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: -0.03em;
}
.header-tagline {
  font-size: 12px; font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
#siteMenuBtn {
  width: 38px; height: 38px;
  margin-left: auto;
  border-radius: 10px;
  background: var(--surface2);
  border: 1px solid var(--border-hover);
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  transition: border-color .2s;
}
#siteMenuBtn:hover { border-color: var(--text); }
#siteMenuBtn span { width: 16px; height: 2px; background: var(--text); border-radius: 1px; }
@media (max-width: 360px) { .header-tagline { font-size: 10.5px; letter-spacing: 0.03em; } }

/* MENU */
.site-menu-dropdown {
  display: flex; flex-direction: column;
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(84vw, 320px);
  background: var(--bg);
  border-left: 1px solid var(--border-hover);
  box-shadow: -8px 0 32px rgba(0,0,0,0.4);
  padding: 70px 18px 24px;
  z-index: 301;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.32,.72,0,1);
}
.site-menu-dropdown.open { transform: translateX(0); }
.site-menu-close {
  display: flex; position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--surface2); border: 1px solid var(--border-hover);
  color: var(--text); font-size: 22px; line-height: 1; cursor: pointer;
  align-items: center; justify-content: center;
}
.site-menu-link {
  display: block; font-size: 16px; padding: 16px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text); text-decoration: none; font-weight: 600;
}
.site-menu-link:hover { background: var(--surface2); }
.site-menu-link.current { color: var(--text-muted); }
.site-menu-contacts { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 24px; }
.site-menu-contacts a {
  text-decoration: none; display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 10px;
  background: var(--surface2); border: 1px solid var(--border);
  color: var(--text); font-size: 13px; font-weight: 600;
  transition: border-color .2s;
}
.site-menu-contacts a:hover { border-color: var(--border-hover); }
.site-menu-contacts svg { opacity: .7; flex-shrink: 0; }
.site-menu-phone { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.site-menu-phone a { display: block; text-decoration: none; color: var(--text); font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.site-menu-phone span { display: block; color: var(--text-muted); font-size: 12px; }
.site-menu-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 300; opacity: 0; transition: opacity .25s ease;
}
.site-menu-overlay.open { opacity: 1; }

/* FOOTER — полоса во всю ширину страницы */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 20px;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
}
.footer-brand { flex: 1; min-width: 250px; }
.footer-logo { font-size: 15px; font-weight: 700; margin: 0 0 10px; letter-spacing: -0.02em; }
.footer-logo span {
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.footer-text { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin: 0; }
.footer-contacts { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none; transition: color .2s ease; }
.footer-link:hover { color: var(--accent); }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 13px; color: var(--text-muted); text-decoration: none; }
.footer-nav a:hover { color: var(--text); }
.footer-copy {
  width: 100%; font-size: 12px; color: var(--text-dim);
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 20px; margin-top: 16px;
}
.footer-copy a { color: inherit; text-decoration: underline; }

/* СТАТУС «Открыто / Закрыто» */
.status-badge {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  padding: 4px 9px; border-radius: 20px;
  white-space: nowrap; flex-shrink: 0;
}
.status-open { background: rgba(48,209,88,0.12); color: #30d158; border: 1px solid rgba(48,209,88,0.25); }
.status-closed { background: rgba(255,55,95,0.1); color: #ff375f; border: 1px solid rgba(255,55,95,0.2); }

/* БАННЕР COOKIE — компактная плашка внизу, не перекрывает контент */
.pp-cookie {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 250; /* ниже открытого меню */
  max-width: 440px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  background: rgba(24,24,24,0.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-hover); border-radius: 12px;
  padding: 10px 10px 10px 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,.5);
  font-family: Inter, sans-serif; color: var(--text); font-size: 12px; line-height: 1.4;
}
.pp-cookie span { flex: 1; color: var(--text-muted); }
.pp-cookie a { color: var(--accent); }
.pp-cookie button {
  flex-shrink: 0; padding: 8px 16px; border-radius: 9px; border: none; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 12px; color: #000; background: var(--grad-btn);
}
