/* ============================================
   ГАРАЖНЫЙ КООПЕРАТИВ "МЕТАЛЛИСТ-7"
   Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=PT+Sans:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --clr-bg:        #0f1117;
  --clr-surface:   #181c25;
  --clr-card:      #1e2330;
  --clr-border:    #2c3348;
  --clr-accent:    #e8a020;
  --clr-accent2:   #c0392b;
  --clr-text:      #d4dae8;
  --clr-muted:     #7a8499;
  --clr-white:     #f0f4ff;
  --font-head:     'Oswald', sans-serif;
  --font-body:     'PT Sans', sans-serif;
  --radius:        6px;
  --transition:    0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
}

a { color: var(--clr-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: #ffc84a; }

img { max-width: 100%; display: block; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--clr-surface); }
::-webkit-scrollbar-thumb { background: var(--clr-border); border-radius: 3px; }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(15,17,23,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--clr-accent);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--clr-accent);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #000;
  font-weight: 700;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.logo-text span { color: var(--clr-accent); display: block; font-size: 11px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; }

.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--clr-muted);
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--clr-accent);
  background: rgba(232,160,32,0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-login {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #000;
  background: var(--clr-accent);
  border: none;
  padding: 9px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-login:hover {
  background: #ffc84a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,160,32,0.35);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 24px 80px;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232,160,32,0.12) 0%, transparent 60%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(44,51,72,0.3) 39px,
      rgba(44,51,72,0.3) 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(44,51,72,0.3) 39px,
      rgba(44,51,72,0.3) 40px
    );
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-accent);
  background: rgba(232,160,32,0.1);
  border: 1px solid rgba(232,160,32,0.3);
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--clr-accent);
}

.hero-desc {
  font-size: 17px;
  color: var(--clr-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--clr-accent);
  color: #000;
  border-color: var(--clr-accent);
}
.btn-primary:hover {
  background: #ffc84a;
  border-color: #ffc84a;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,160,32,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--clr-text);
  border-color: var(--clr-border);
}
.btn-outline:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  transform: translateY(-2px);
}

.btn-danger {
  background: var(--clr-accent2);
  color: #fff;
  border-color: var(--clr-accent2);
}
.btn-danger:hover {
  background: #e74c3c;
  border-color: #e74c3c;
  transform: translateY(-1px);
}

.btn-sm {
  font-size: 12px;
  padding: 7px 16px;
  letter-spacing: 0.5px;
}

/* ============ STATS BAR ============ */
.stats-bar {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: 28px 24px;
}
.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--clr-accent);
  line-height: 1;
}
.stat-item span {
  font-size: 13px;
  color: var(--clr-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============ SECTION LAYOUT ============ */
.section {
  padding: 72px 24px;
}
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 48px;
}
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
.section-header p {
  color: var(--clr-muted);
  font-size: 15px;
}
.section-header .tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 10px;
}

.divider {
  width: 48px;
  height: 3px;
  background: var(--clr-accent);
  margin: 12px 0 0;
  border-radius: 2px;
}

/* ============ REQUISITES ============ */
.requisites-section {
  background: var(--clr-surface);
}
.req-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.req-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.req-icon {
  width: 40px;
  height: 40px;
  background: rgba(232,160,32,0.1);
  border: 1px solid rgba(232,160,32,0.25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.req-body label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--clr-muted);
  display: block;
  margin-bottom: 4px;
}
.req-body strong {
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--clr-white);
  font-weight: 500;
}

/* ============ NEWS PREVIEW ============ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.news-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.news-card:hover {
  border-color: var(--clr-accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.news-card-img {
  height: 160px;
  background: linear-gradient(135deg, #1e2330, #2c3348);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.news-card-body { padding: 20px; }
.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.news-tag {
  font-size: 10px;
  font-family: var(--font-head);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
  background: rgba(232,160,32,0.12);
  color: var(--clr-accent);
}
.news-date {
  font-size: 12px;
  color: var(--clr-muted);
}
.news-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  color: var(--clr-white);
  margin-bottom: 8px;
  line-height: 1.3;
}
.news-card p {
  font-size: 14px;
  color: var(--clr-muted);
  line-height: 1.55;
}

/* ============ CARDS / GENERIC ============ */
.card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color var(--transition);
}
.card:hover { border-color: rgba(232,160,32,0.4); }

/* ============ NOTICE BOARD ============ */
.notice-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-btn {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid var(--clr-border);
  background: transparent;
  color: var(--clr-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  background: rgba(232,160,32,0.08);
}

.notice-list { display: flex; flex-direction: column; gap: 14px; }

.notice-item {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-left: 4px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: start;
  transition: all var(--transition);
}
.notice-item:hover { border-left-color: var(--clr-accent); background: rgba(30,35,48,0.9); }
.notice-item.urgent { border-left-color: var(--clr-accent2); }
.notice-item.info { border-left-color: #2980b9; }
.notice-item.success { border-left-color: #27ae60; }

.notice-icon { font-size: 24px; padding-top: 2px; }
.notice-body h3 {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--clr-white);
  margin-bottom: 4px;
}
.notice-body p { font-size: 14px; color: var(--clr-muted); }
.notice-side { text-align: right; }
.notice-date { font-size: 12px; color: var(--clr-muted); white-space: nowrap; }
.badge {
  display: inline-block;
  font-size: 10px;
  font-family: var(--font-head);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 6px;
}
.badge-urgent { background: rgba(192,57,43,0.2); color: #e74c3c; }
.badge-info { background: rgba(41,128,185,0.2); color: #3498db; }
.badge-general { background: rgba(44,51,72,0.8); color: var(--clr-muted); }
.badge-success { background: rgba(39,174,96,0.2); color: #2ecc71; }

/* ============ VOTE ============ */
.vote-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }

.vote-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 24px;
}
.vote-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.vote-active { color: #2ecc71; font-size: 12px; font-family: var(--font-head); letter-spacing: 1px; text-transform: uppercase; }
.vote-active::before { content: '●'; margin-right: 6px; animation: pulse 1.5s infinite; }
.vote-closed { color: var(--clr-muted); font-size: 12px; font-family: var(--font-head); letter-spacing: 1px; text-transform: uppercase; }
.vote-deadline { font-size: 12px; color: var(--clr-muted); }

.vote-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--clr-white);
  margin-bottom: 8px;
  line-height: 1.3;
}
.vote-card p { font-size: 14px; color: var(--clr-muted); margin-bottom: 18px; }

.vote-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }

.vote-option {
  position: relative;
  cursor: pointer;
}
.vote-option input[type="radio"] { display: none; }
.vote-option label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 14px;
}
.vote-option input:checked + label,
.vote-option label:hover {
  border-color: var(--clr-accent);
  background: rgba(232,160,32,0.06);
}
.vote-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--clr-accent);
  border-radius: 0 0 var(--radius) var(--radius);
  transition: width 0.6s ease;
}
.vote-pct { font-size: 12px; color: var(--clr-accent); font-family: var(--font-head); }

.vote-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--clr-border);
}
.vote-count { font-size: 13px; color: var(--clr-muted); }

/* ============ FAQ ============ */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }

.faq-item {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  transition: background var(--transition);
  user-select: none;
}
.faq-q:hover { background: rgba(232,160,32,0.04); }
.faq-q h3 {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--clr-white);
  font-weight: 500;
}
.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent);
  font-size: 18px;
  flex-shrink: 0;
  transition: all var(--transition);
}
.faq-item.open .faq-toggle { transform: rotate(45deg); background: var(--clr-accent); color: #000; border-color: var(--clr-accent); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 22px 20px;
  font-size: 14px;
  color: var(--clr-muted);
  line-height: 1.7;
  border-top: 1px solid var(--clr-border);
  padding-top: 16px;
}

/* ============ DIRECTORY ============ */
.dir-search {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.search-input {
  flex: 1;
  min-width: 240px;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 10px 16px;
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color var(--transition);
}
.search-input:focus { outline: none; border-color: var(--clr-accent); }
.search-input::placeholder { color: var(--clr-muted); }

.garage-table-wrap { overflow-x: auto; }
.garage-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.garage-table th {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--clr-muted);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--clr-border);
}
.garage-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(44,51,72,0.5);
  color: var(--clr-text);
  vertical-align: middle;
}
.garage-table tr:hover td { background: rgba(232,160,32,0.04); }
.garage-table .num {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--clr-accent);
  font-weight: 700;
}
.biz-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-family: var(--font-head);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.biz-sto    { background: rgba(41,128,185,0.15); color: #3498db; }
.biz-auto   { background: rgba(39,174,96,0.15);  color: #2ecc71; }
.biz-store  { background: rgba(155,89,182,0.15); color: #9b59b6; }
.biz-tuning { background: rgba(230,126,34,0.15); color: #e67e22; }
.biz-tires  { background: rgba(52,152,219,0.15); color: #5dade2; }
.biz-wash   { background: rgba(26,188,156,0.15); color: #1abc9c; }
.biz-empty  { background: rgba(44,51,72,0.5);    color: var(--clr-muted); }
.biz-other  { background: rgba(189,195,199,0.15); color: #bdc3c7; }

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}
.status-active { background: #2ecc71; }
.status-inactive { background: var(--clr-muted); }
.status-rent { background: #f39c12; }

/* ============ ADMIN ============ */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 64px);
}
.admin-sidebar {
  background: var(--clr-surface);
  border-right: 1px solid var(--clr-border);
  padding: 24px 0;
}
.admin-sidebar-title {
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-muted);
  padding: 0 20px 12px;
}
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--clr-muted);
  transition: all var(--transition);
}
.admin-nav a:hover,
.admin-nav a.active {
  color: var(--clr-accent);
  background: rgba(232,160,32,0.06);
  border-right: 3px solid var(--clr-accent);
}
.admin-nav a span { font-size: 16px; }
.admin-main { padding: 32px; }
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.admin-header h1 {
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--clr-white);
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.admin-stat-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 20px;
}
.admin-stat-card .stat-val {
  font-family: var(--font-head);
  font-size: 32px;
  color: var(--clr-accent);
  font-weight: 700;
}
.admin-stat-card .stat-lbl {
  font-size: 12px;
  color: var(--clr-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.admin-stat-card .stat-change {
  font-size: 12px;
  color: #2ecc71;
  margin-top: 4px;
}
.admin-table-wrap { overflow-x: auto; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.admin-table th {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--clr-muted);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--clr-border);
}
.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(44,51,72,0.5);
  color: var(--clr-text);
}
.admin-table tr:hover td { background: rgba(232,160,32,0.03); }
.action-btns { display: flex; gap: 8px; }

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
  position: relative;
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--clr-border);
  background: transparent;
  color: var(--clr-muted);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.modal-close:hover { border-color: var(--clr-accent2); color: var(--clr-accent2); }

.modal-logo {
  text-align: center;
  margin-bottom: 28px;
}
.modal-logo .logo-icon { margin: 0 auto 12px; }
.modal-logo h2 {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--clr-white);
}
.modal-logo p { font-size: 13px; color: var(--clr-muted); }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--clr-muted);
  margin-bottom: 8px;
  font-family: var(--font-head);
}
.form-group input {
  width: 100%;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 11px 14px;
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color var(--transition);
}
.form-group input:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(232,160,32,0.1);
}
.form-group input::placeholder { color: var(--clr-muted); }

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  margin-bottom: 20px;
}
.form-footer a { font-size: 13px; }

.btn-block { width: 100%; justify-content: center; }

.modal-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--clr-border);
}
.modal-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--clr-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition);
}
.modal-tab.active {
  color: var(--clr-accent);
  border-bottom-color: var(--clr-accent);
}
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  padding: 48px 24px 24px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { font-size: 14px; color: var(--clr-muted); margin-top: 12px; line-height: 1.6; }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-white);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 14px; color: var(--clr-muted); }
.footer-col ul li a:hover { color: var(--clr-accent); }
.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--clr-muted); }

/* ============ XEON BADGE ============ */
.xeon-badge {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 800;
  background: rgba(30,35,48,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--clr-border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 11px;
  color: var(--clr-muted);
  font-family: var(--font-head);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all var(--transition);
  text-decoration: none;
}
.xeon-badge:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  transform: translateY(-2px);
}

/* ============ ANIMATIONS ============ */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeInUp 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ============ TOAST ============ */
.toast-container {
  position: fixed;
  bottom: 70px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-left: 4px solid var(--clr-accent);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--clr-text);
  min-width: 260px;
  animation: fadeInUp 0.3s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.toast.error { border-left-color: var(--clr-accent2); }
.toast.success { border-left-color: #27ae60; }

/* ============ MOBILE ============ */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .notice-item { grid-template-columns: auto 1fr; }
  .notice-side { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 16px 48px; }
  .section { padding: 48px 16px; }
  .modal { padding: 28px 20px; }
}

/* ============ MOBILE NAV OVERLAY ============ */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--clr-bg);
  z-index: 850;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-text);
  padding: 12px 24px;
}
.mobile-nav a:hover { color: var(--clr-accent); }
.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--clr-text);
  font-size: 28px;
  cursor: pointer;
}

/* ============ UTILITY ============ */
.text-accent { color: var(--clr-accent); }
.text-muted  { color: var(--clr-muted); }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.flex  { display: flex; }
.items-center { align-items: center; }
.gap-12 { gap: 12px; }
.page-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 8px;
}
.page-subtitle { font-size: 15px; color: var(--clr-muted); }

.page-hero {
  background: var(--clr-surface);
  border-bottom: 1px solid var(--clr-border);
  padding: 48px 24px;
}
.page-hero-inner { max-width: 1280px; margin: 0 auto; }
