/* ═══════════════════════════════════════════
   legal.css — Контакты / Соглашение / Политика
═══════════════════════════════════════════ */

/* Hero */
.legal-hero {
  padding: 72px 20px 48px;
  text-align: center;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(45,226,230,0.08) 0%, transparent 70%),
              radial-gradient(ellipse 60% 40% at 80% 20%, rgba(168,85,247,0.07) 0%, transparent 60%);
}
.legal-hero-inner { max-width: 640px; margin: 0 auto; }
.legal-hero-icon {
  font-size: 3rem; margin-bottom: 16px;
  display: inline-block;
  filter: drop-shadow(0 0 20px rgba(45,226,230,0.4));
}
.legal-hero-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.6px;
  background: linear-gradient(135deg, #fff 30%, #2de2e6 70%, #a855f7 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}
.legal-hero-sub {
  color: rgba(255,255,255,0.45); font-size: 0.92rem;
}

/* Main layout */
.legal-main {
  padding: 0 20px 80px;
}
.legal-container {
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 16px;
}

/* Cards */
.legal-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px 32px;
  transition: border-color 0.2s;
}
.legal-card:hover {
  border-color: rgba(45,226,230,0.15);
}

/* Section titles */
.legal-section-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.05rem; font-weight: 700;
  color: #fff; margin-bottom: 18px;
}
.legal-section-icon {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 32px; height: 32px;
  background: linear-gradient(135deg, rgba(45,226,230,0.12), rgba(168,85,247,0.1));
  border: 1px solid rgba(45,226,230,0.2);
  border-radius: 8px; font-size: 0.85rem; font-weight: 800;
  color: #2de2e6; flex-shrink: 0;
}

/* Text content */
.legal-text p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem; line-height: 1.8;
  margin-bottom: 10px;
}
.legal-text p:last-child { margin-bottom: 0; }
.legal-text ul {
  list-style: none; padding: 0; margin: 8px 0 10px;
  display: flex; flex-direction: column; gap: 6px;
}
.legal-text ul li {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem; line-height: 1.7;
  padding-left: 20px; position: relative;
}
.legal-text ul li::before {
  content: '—'; position: absolute; left: 0;
  color: rgba(45,226,230,0.5);
}
.legal-text strong { color: #fff; font-weight: 600; }

/* Links */
.legal-link {
  color: #2de2e6; text-decoration: none;
  border-bottom: 1px solid rgba(45,226,230,0.3);
  transition: border-color 0.2s, color 0.2s;
}
.legal-link:hover {
  color: #a855f7; border-color: rgba(168,85,247,0.5);
}

/* Note */
.legal-note {
  margin-top: 16px;
  padding: 10px 14px;
  background: rgba(45,226,230,0.06);
  border: 1px solid rgba(45,226,230,0.15);
  border-radius: 8px;
  font-size: 0.83rem; color: rgba(255,255,255,0.55);
}

/* ── Реквизиты ── */
.req-grid {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px; overflow: hidden;
}
.req-row {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 16px; padding: 13px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s;
}
.req-row:last-child { border-bottom: none; }
.req-row:hover { background: rgba(255,255,255,0.02); }
.req-label {
  font-size: 0.78rem; font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase; letter-spacing: 0.5px;
  display: flex; align-items: center;
}
.req-value {
  font-size: 0.9rem; color: rgba(255,255,255,0.85);
  line-height: 1.55;
}

/* ── Документы-ссылки ── */
.legal-docs-list {
  display: flex; flex-direction: column; gap: 10px;
}
.legal-doc-link {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; text-decoration: none;
  transition: all 0.2s;
}
.legal-doc-link:hover {
  background: rgba(45,226,230,0.05);
  border-color: rgba(45,226,230,0.25);
  transform: translateX(4px);
}
.legal-doc-icon { font-size: 1.6rem; flex-shrink: 0; }
.legal-doc-title {
  font-size: 0.92rem; font-weight: 600; color: #fff;
  margin-bottom: 3px;
}
.legal-doc-desc {
  font-size: 0.78rem; color: rgba(255,255,255,0.45);
}
.legal-doc-arrow {
  margin-left: auto; font-size: 1.1rem;
  color: rgba(45,226,230,0.5); flex-shrink: 0;
  transition: transform 0.2s;
}
.legal-doc-link:hover .legal-doc-arrow { transform: translateX(4px); }

/* Mobile */
@media (max-width: 600px) {
  .legal-hero { padding: 52px 16px 36px; }
  .legal-card { padding: 20px 18px; }
  .req-row { grid-template-columns: 1fr; gap: 4px; }
  .req-label { font-size: 0.72rem; }
}
