/* ===================================
   ДК Аликоновка — Основные стили
   Светлая тема, тёплые тона
   =================================== */

:root {
  /* 🌈 Яркий детский — Fun & Playful */
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --primary-light: #60a5fa;
  --primary-bg: #eff6ff;

  --accent-orange: #f97316;
  --accent-green: #22c55e;
  --accent-yellow: #facc15;
  --accent-pink: #ec4899;

  --bg: #ffffff;
  --bg-card: #ffffff;
  --bg-section-alt: #f0f7ff;

  --text: #1e293b;
  --text-light: #475569;
  --text-muted: #94a3b8;

  --border: #e2e8f0;
  --border-light: #f1f5f9;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', 'Roboto', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

/* ===================================
   HEADER / НАВИГАЦИЯ
   =================================== */

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
}
.logo:hover { color: var(--text); }

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.main-nav {
  display: flex;
  gap: 4px;
}

.main-nav a {
  color: var(--text);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  background: var(--bg-section-alt);
  color: var(--primary);
}

/* Мобильное меню */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 6px 0;
  transition: all var(--transition);
}

/* ===================================
   HERO
   =================================== */

.hero {
  position: relative;
  color: #fff;
  padding: 0;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30,58,95,0.85) 0%, rgba(59,130,246,0.7) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
}
.hero-logo {
  margin-bottom: 28px;
  display: flex;
  justify-content: center;
}
.hero-logo img {
  width: 160px;
  height: auto;
  background: #fff;
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: 0.95;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-white {
  background: #fff;
  color: var(--primary-dark);
}
.btn-white:hover {
  background: #fef3c7;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--primary-dark);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #fff;
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #fff;
}

/* ===================================
   СЕКЦИИ
   =================================== */

.section {
  padding: 70px 20px;
}
.section-alt {
  background: var(--bg-section-alt);
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ===================================
   КАРТОЧКИ КРУЖКОВ
   =================================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}
.card:hover .card-img {
  transform: scale(1.03);
}

.card-img-wrapper {
  overflow: hidden;
  position: relative;
}

.card-icon-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.card-icon-badge svg {
  width: 24px;
  height: 24px;
}

.card-body {
  padding: 24px;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.card-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===================================
   МЕРОПРИЯТИЯ
   =================================== */

.events-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* Компактные карточки мероприятий (главная) */
.events-grid {
  display: grid;
  gap: 24px;
}
.events-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.event-card-compact {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.event-card-compact:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.event-card-compact-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.event-card-compact-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.event-card-compact-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.event-card-compact-info p {
  color: var(--text-light);
  font-size: 0.88rem;
  margin-bottom: 12px;
  line-height: 1.5;
}
.event-card-compact-info .event-tags {
  margin-bottom: 12px;
}
.event-detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  margin-top: auto;
  align-self: flex-start;
}
.event-detail-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* Мобильная адаптация мероприятий (главная) */
@media (max-width: 960px) {
  .events-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .events-grid-3 {
    grid-template-columns: 1fr;
  }
  .event-card-compact-img {
    height: 160px;
  }
  .event-card-compact-info {
    padding: 16px;
  }
}

/* Мобильная адаптация мероприятий (страница /events) */
@media (max-width: 768px) {
  .events-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .event-card-img {
    height: 180px;
  }
  .event-info {
    padding: 16px;
  }
  .event-info h3 {
    font-size: 1rem;
  }
  .event-info p {
    font-size: 0.88rem;
  }
  .event-date-badge {
    top: -16px;
    right: 16px;
    width: 56px;
    padding: 6px 4px;
  }
  .event-date-badge .day {
    font-size: 1.3rem;
  }
  .event-date-badge .month {
    font-size: 0.6rem;
  }
  .event-tags {
    flex-wrap: wrap;
  }
  .event-link-block {
    margin-top: 12px;
    padding-top: 12px;
  }
}

@media (max-width: 400px) {
  .event-info {
    padding: 14px;
  }
  .event-card-img {
    height: 160px;
  }
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.event-link-block {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.event-link-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.event-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all var(--transition);
}
.event-link-btn:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.event-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}
.event-card:hover .event-card-img {
  transform: scale(1.03);
}

.event-info {
  padding: 24px;
  position: relative;
}

.event-date-badge {
  position: absolute;
  top: -20px;
  right: 20px;
  width: 64px;
  text-align: center;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 8px 6px;
  box-shadow: 0 4px 12px rgba(59,130,246,0.3);
}
.event-date-badge .day {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}
.event-date-badge .month {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.event-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.event-info p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.event-tags {
  display: flex;
  gap: 8px;
}
.event-tag {
  padding: 4px 10px;
  background: var(--bg-section-alt);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ===================================
   О НАС
   =================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.about-text p {
  color: var(--text-light);
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===================================
   КОНТАКТЫ
   =================================== */

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-section-alt);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}
.contact-info h4 {
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-info p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Карта контактов */
.map-container {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 400px;
  position: relative;
}
.map-container iframe {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
}

@media (max-width: 768px) {
  .map-container {
    height: 300px;
    border-radius: var(--radius-sm);
  }
}

/* ===================================
   FOOTER
   =================================== */

.site-footer {
  background: #1e3a5f;
  color: #cbd5e1;
  padding: 48px 20px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col p,
.footer-col a {
  color: #9ca3af;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 8px;
}
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid #4b5563;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
}
.footer-bottom-text { margin-bottom: 8px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.footer-legal a { color: #9ca3af; text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-legal a:hover { color: var(--primary-light); }

/* ===================================
   PAGE HEADER (для внутренних страниц)
   =================================== */

.page-header {
  position: relative;
  color: #fff;
  padding: 0;
  min-height: 280px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30,58,95,0.85) 0%, rgba(59,130,246,0.7) 100%);
  z-index: 1;
}
.page-header h1 {
  position: relative;
  z-index: 2;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.page-header p {
  position: relative;
  z-index: 2;
  opacity: 0.85;
  font-size: 1.1rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* ===================================
   BREADCRUMBS
   =================================== */

.breadcrumbs {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-light); }
.breadcrumbs a:hover { color: var(--primary); }

/* ===================================
   ФОРМА
   =================================== */

.form-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  max-width: 600px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ===================================
   Иконки (inline SVG)
   =================================== */

.icon-xs {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.icon-sm {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.icon-md {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Card icon container */
.card-icon svg {
  width: 28px;
  height: 28px;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.logo-icon svg {
  width: 24px;
  height: 24px;
}

/* ===================================
   АДАПТИВНОСТЬ
   =================================== */

@media (max-width: 960px) {
  .menu-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    z-index: 1001;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
  }

  .vi-toggle-desktop { display: none !important; }

  .hero-content { padding: 60px 20px; }
  .hero-logo img { width: 120px; padding: 8px; margin-bottom: 20px; }

  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .contacts-grid { grid-template-columns: 1fr; }

  .cards-grid { grid-template-columns: 1fr; }
  .events-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .stat-number { font-size: 2rem; }
  .stat-label { font-size: 0.75rem; }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-buttons .btn {
    justify-content: center;
  }
}

/* Очень узкие экраны */
@media (max-width: 500px) {
  .header-inner {
    padding: 0 12px;
    height: 56px;
  }
  .main-nav { top: 56px; }

  .logo { font-size: 0.9rem; gap: 8px; }
  .logo-icon { width: 34px; height: 34px; }

  .main-nav a { padding: 10px 12px; font-size: 0.88rem; }

  .section { padding: 32px 16px; }
  .section-title { font-size: 1.2rem; }
  .section-subtitle { font-size: 0.85rem; }

  .hero h1 { font-size: 1.4rem; }
  .hero p { font-size: 0.85rem; }

  .about-stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .stat-number { font-size: 1.6rem; }
  .stat-label { font-size: 0.65rem; }
}

/* ===== LEGAL PAGES ===== */
.legal-page { padding: 40px 20px 60px; }
.legal-page-inner { max-width: 860px; margin: 0 auto; }
.legal-page h1 { font-size: 1.8rem; font-weight: 800; color: var(--text); margin: 0 0 6px; }
.legal-page h2 { font-size: 1.15rem; font-weight: 700; margin: 36px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); color: var(--text); }
.legal-page h2:first-child { margin-top: 0; }
.legal-page p { margin: 0 0 12px; color: var(--text); line-height: 1.8; }
.legal-page ul { margin: 12px 0; padding-left: 24px; }
.legal-page li { margin-bottom: 6px; color: var(--text); }
.legal-page a { color: var(--primary); }
.legal-page a:hover { text-decoration: underline; }
.legal-page-date { font-size: 0.9rem; color: var(--text-muted); margin: 0 0 32px; }

/* Requisites table */
.legal-requisites { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 0.92rem; }
.legal-requisites td { padding: 10px 14px; border: 1px solid var(--border); vertical-align: top; }
.legal-requisites tr:nth-child(even) { background: var(--bg-section-alt); }
.legal-requisites td:first-child { width: 45%; font-weight: 600; color: var(--text); background: #fafbfc; white-space: nowrap; }
.legal-requisites td:last-child { color: var(--text); }
.legal-requisites a { color: var(--primary); text-decoration: none; }
.legal-requisites a:hover { text-decoration: underline; }

/* Documents list */
.documents-list { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.document-item { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); text-decoration: none; color: var(--text); transition: all 0.2s; }
.document-item:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.document-icon { width: 48px; height: 48px; border-radius: 10px; background: var(--bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--text-muted); }
.document-info { flex: 1; min-width: 0; }
.document-info strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.document-info span { font-size: 0.82rem; color: var(--text-muted); }
.document-arrow { color: var(--text-muted); flex-shrink: 0; }
.document-item:hover .document-arrow { color: var(--primary); }

@media (max-width: 768px) {
  .legal-page { padding: 24px 16px 40px; }
  .legal-page h1 { font-size: 1.4rem; }
  .legal-requisites { font-size: 0.85rem; }
  .legal-requisites td:first-child { white-space: normal; width: 40%; }
  .document-item { flex-wrap: wrap; }
}
