/* ============================================================
   7ААС — Седьмой арбитражный апелляционный суд
   Premium Legal Minimalism Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0d1b35;
  --navy-mid:  #132142;
  --navy-light:#1e3160;
  --graphite:  #2c3e50;
  --graphite-light: #4a5568;
  --gold:      #c9a84c;
  --gold-light:#e0c06a;
  --gold-dark: #a0823a;
  --white:     #ffffff;
  --grey-bg:   #f4f6f9;
  --grey-light:#e8ecf1;
  --grey-mid:  #cdd5df;
  --grey-dark: #8a96a8;
  --text:      #1a2332;
  --text-mid:  #3d4f63;
  --text-light:#637080;
  --danger:    #c0392b;
  --shadow-sm: 0 2px 8px rgba(13,27,53,.07);
  --shadow-md: 0 4px 20px rgba(13,27,53,.11);
  --shadow-lg: 0 8px 40px rgba(13,27,53,.15);
  --radius:    8px;
  --radius-lg: 14px;
  --transition: .25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--grey-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul, ol { padding-left: 1.4em; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(1.75rem, 4vw, 2.8rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-mid);
}

/* ---- Layout ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }
.container--wide { max-width: 1380px; }

.section { padding: 72px 0; }
.section--sm { padding: 48px 0; }
.section--lg { padding: 96px 0; }

.section__header { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.section__header h2 { margin-bottom: 14px; }
.section__header p { color: var(--text-mid); font-size: 1.05rem; }

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---- Disclaimer ---- */
.disclaimer {
  background: #fff8e6;
  border-left: 4px solid var(--gold);
  padding: 14px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .9rem;
  color: var(--text-mid);
  margin: 16px 0;
}
.disclaimer strong { color: var(--gold-dark); }

/* ---- Header / Navigation ---- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(201,168,76,.2);
  box-shadow: 0 2px 24px rgba(0,0,0,.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.logo:hover { color: var(--gold-light); }

.logo__badge {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 5px 9px;
  border-radius: 4px;
  line-height: 1;
}

.logo__text span { color: var(--gold); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: rgba(255,255,255,.82);
  font-size: .88rem;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 5px;
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold); background: rgba(201,168,76,.1); }

.header-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 9px 20px !important;
  border-radius: 5px;
  font-size: .85rem !important;
  white-space: nowrap;
}
.header-cta:hover { background: linear-gradient(135deg, var(--gold-light), var(--gold)) !important; color: var(--navy) !important; }

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

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 40%, var(--navy-light) 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(201,168,76,.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(30,49,96,.6) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 60px;
  align-items: center;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.3);
  color: var(--gold);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 22px;
}

.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero h1 em { color: var(--gold); font-style: normal; }

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.7;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__visual {
  background: linear-gradient(145deg, rgba(201,168,76,.1) 0%, rgba(30,49,96,.4) 100%);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(4px);
}

.court-info-card h3 { color: var(--gold); font-size: 1rem; margin-bottom: 16px; font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

.court-info-row {
  display: flex;
  gap: 10px;
  margin-bottom: 11px;
  align-items: flex-start;
}
.court-info-row .ci-icon { color: var(--gold); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.court-info-row .ci-text { font-size: .88rem; color: rgba(255,255,255,.82); line-height: 1.5; }
.court-info-row .ci-text strong { color: var(--white); display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }

/* ---- Court Photos ---- */
.court-photos {
  background: var(--navy);
  padding: 0 0 48px;
  border-bottom: 1px solid rgba(201,168,76,.15);
}

.court-photos__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.court-photos__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(201,168,76,.15);
}

.court-photos__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.court-photos__item:hover img {
  transform: scale(1.04);
}

.court-photos__caption {
  text-align: center;
  color: rgba(255,255,255,.35);
  font-size: .78rem;
  margin-top: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
}
.btn--gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,.4);
}

.btn--outline {
  background: transparent;
  /* color: var(--white); */
  border: 1.5px solid #a0823a;
  
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,.06);
}

.btn--outline-gold {
  background: transparent;
  color: var(--gold-dark);
  border: 1.5px solid var(--gold);
}
.btn--outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
}
.btn--navy:hover {
  background: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--sm { padding: 9px 20px; font-size: .85rem; }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  transition: box-shadow var(--transition), transform var(--transition);
  border: 1px solid var(--grey-light);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(201,168,76,.12), rgba(201,168,76,.04));
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card p { color: var(--text-mid); font-size: .93rem; }

.card--service { cursor: default; }
.card--service:hover { border-color: var(--gold); }
.card--service .card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-dark);
  font-weight: 600;
  font-size: .88rem;
  margin-top: 16px;
  transition: gap var(--transition), color var(--transition);
}
.card--service .card__link:hover { gap: 10px; color: var(--gold); }

/* ---- Practice Cards ---- */
.practice-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-light);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.practice-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); }

.practice-card__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.practice-card__tag {
  background: var(--grey-bg);
  color: var(--text-light);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}
.practice-card__tag--gold { background: rgba(201,168,76,.1); color: var(--gold-dark); }
.practice-card__number { color: var(--text-light); font-size: .82rem; font-family: 'Inter', monospace; }
.practice-card__date { color: var(--grey-dark); font-size: .82rem; }

.practice-card h3 { font-size: 1rem; margin-bottom: 10px; color: var(--navy); }
.practice-card__fable { color: var(--text-mid); font-size: .9rem; margin-bottom: 12px; }
.practice-card__conclusion {
  background: rgba(201,168,76,.07);
  border-left: 3px solid var(--gold);
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
  font-size: .88rem;
  color: var(--text);
}
.practice-card__conclusion strong { color: var(--gold-dark); }

/* ---- Urgent Block ---- */
.urgent-block {
  background: linear-gradient(135deg, #c0392b 0%, #96281b 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.urgent-block::before {
  content: '⚠';
  position: absolute;
  right: -10px;
  top: -20px;
  font-size: 8rem;
  opacity: .05;
}
.urgent-block h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 8px; }
.urgent-block p { color: rgba(255,255,255,.85); font-size: .95rem; margin-bottom: 0; }

/* ---- Timeline ---- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px; background: var(--grey-mid); }

.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
  z-index: 1;
}
.timeline-item h4 { color: var(--navy); margin-bottom: 6px; }
.timeline-item p { color: var(--text-mid); font-size: .93rem; }

/* ---- Breadcrumbs ---- */
.breadcrumbs {
  background: var(--white);
  border-bottom: 1px solid var(--grey-light);
  padding: 14px 0;
}
.breadcrumbs nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--text-light); font-size: .85rem; }
.breadcrumbs a:hover { color: var(--gold-dark); }
.breadcrumbs span { color: var(--grey-dark); font-size: .85rem; }
.breadcrumbs .sep { color: var(--grey-mid); }

/* ---- FAQ ---- */
.faq-item {
  border-bottom: 1px solid var(--grey-light);
  padding: 20px 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.4;
}
.faq-question .faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: .9rem;
  transition: transform var(--transition), background var(--transition);
  margin-top: 1px;
}
.faq-item.open .faq-question .faq-icon { transform: rotate(45deg); background: var(--gold); color: var(--navy); }
.faq-answer {
  color: var(--text-mid);
  font-size: .95rem;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
}
.faq-item.open .faq-answer { max-height: 600px; padding-top: 14px; }

/* ---- Stats ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--grey-mid);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-item {
  background: var(--white);
  padding: 28px 24px;
  text-align: center;
}
.stat-item__value {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item__value span { color: var(--gold); }
.stat-item__label { font-size: .82rem; color: var(--text-light); line-height: 1.4; }

/* ---- Court Info Table ---- */
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--grey-light); }
.info-table tr:last-child { border-bottom: none; }
.info-table th {
  background: var(--grey-bg);
  color: var(--text-light);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 12px 18px;
  text-align: left;
  width: 200px;
}
.info-table td { padding: 14px 18px; color: var(--text); font-size: .93rem; vertical-align: top; }
.info-table a { color: var(--gold-dark); }

/* ---- Process Steps ---- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px 24px 80px;
  position: relative;
  border: 1px solid var(--grey-light);
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h4 { color: var(--navy); margin-bottom: 5px; }
.step p { color: var(--text-mid); font-size: .9rem; margin: 0; }

/* ---- CTA Block ---- */
.cta-block {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 50%, rgba(201,168,76,.07) 0%, transparent 70%);
}
.cta-block::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.cta-block > * { position: relative; z-index: 1; }
.cta-block h2 { color: var(--white); margin-bottom: 14px; }
.cta-block p { color: rgba(255,255,255,.75); margin-bottom: 28px; font-size: 1.05rem; }

/* ---- Article ---- */
.article-content h2 { margin: 36px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--grey-light); }
.article-content h3 { margin: 28px 0 12px; color: var(--graphite); }
.article-content h4 { margin: 22px 0 10px; }
.article-content p { margin-bottom: 1.1rem; line-height: 1.8; }
.article-content ul, .article-content ol { margin-bottom: 1.1rem; }
.article-content li { margin-bottom: .5rem; line-height: 1.7; }
.article-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 16px 22px;
  background: rgba(201,168,76,.05);
  border-radius: 0 8px 8px 0;
  color: var(--text-mid);
  margin: 20px 0;
  font-style: italic;
}

/* ---- Article Sidebar ---- */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--grey-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.sidebar-widget h4 { color: var(--navy); margin-bottom: 16px; font-size: 1rem; border-bottom: 2px solid var(--gold); padding-bottom: 10px; }
.sidebar-widget ul { list-style: none; padding: 0; }
.sidebar-widget ul li { padding: 8px 0; border-bottom: 1px solid var(--grey-light); font-size: .88rem; }
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a { color: var(--text-mid); }
.sidebar-widget ul li a:hover { color: var(--gold-dark); }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 52px 0 48px;
  color: var(--white);
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; font-size: clamp(1.5rem, 3.5vw, 2.3rem); }
.page-hero p { color: rgba(255,255,255,.75); max-width: 640px; font-size: 1rem; }

/* ---- Footer ---- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: 60px 0 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; line-height: 1.7; margin-bottom: 20px; }

.footer-col h4 {
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(201,168,76,.25);
  font-family: 'Inter', sans-serif;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { color: rgba(255,255,255,.6); font-size: .88rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }

.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact-item .icon { color: var(--gold); font-size: .9rem; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item .text { font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.5; }
.footer-contact-item .text a { color: rgba(255,255,255,.75); }
.footer-contact-item .text a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .82rem; }
.footer-legal-links {
  width: 100%;
  font-size: .78rem;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-legal-links a { color: rgba(255,255,255,.4); }
.footer-legal-links a:hover { color: var(--gold); }
.footer-disclaimer {
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  text-align: right;
  max-width: 480px;
}

/* ---- Tag / Badge ---- */
.tag {
  display: inline-block;
  background: var(--grey-bg);
  color: var(--text-light);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 20px;
  border: 1px solid var(--grey-mid);
}
.tag--gold { background: rgba(201,168,76,.1); color: var(--gold-dark); border-color: rgba(201,168,76,.3); }
.tag--navy { background: var(--navy); color: rgba(255,255,255,.85); border-color: transparent; }

/* ---- Map placeholder ---- */
.map-placeholder {
  background: linear-gradient(135deg, #e8ecf1 0%, #d4dce7 100%);
  border-radius: var(--radius);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: .9rem;
  border: 1px solid var(--grey-mid);
  flex-direction: column;
  gap: 10px;
  text-align: center;
}
.map-placeholder .map-icon { font-size: 2.5rem; }

/* ---- Contact Form ---- */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-light);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .88rem;
  color: var(--text);
  margin-bottom: 7px;
}
.form-group label .req { color: var(--danger); margin-left: 3px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--grey-mid);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: .93rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group .hint { font-size: .8rem; color: var(--text-light); margin-top: 5px; }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; }
.form-checkbox input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--gold-dark); }
.form-checkbox label { font-size: .85rem; color: var(--text-mid); font-weight: 400; }

/* ---- Alert / Info Box ---- */
.info-box {
  background: rgba(201,168,76,.07);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: .93rem;
  color: var(--text);
  margin: 20px 0;
}
.info-box.info-box--danger {
  background: rgba(192,57,43,.06);
  border-color: rgba(192,57,43,.25);
}

/* ---- Sub Navigation ---- */
.sub-nav {
  background: var(--white);
  border-bottom: 1px solid var(--grey-light);
  overflow-x: auto;
}
.sub-nav__inner { display: flex; gap: 0; }
.sub-nav a {
  color: var(--text-mid);
  font-size: .88rem;
  font-weight: 500;
  padding: 14px 20px;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.sub-nav a:hover, .sub-nav a.active { color: var(--gold-dark); border-bottom-color: var(--gold); }

/* ---- List with checks ---- */
.check-list { list-style: none; padding: 0; }
.check-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px solid var(--grey-light);
  font-size: .95rem;
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--gold);
  font-weight: 700;
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .article-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }

  /* Navigation */
  .main-nav {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--navy);
    padding: 8px 16px 20px;
    flex-direction: column;
    gap: 2px;
    border-top: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 8px 32px rgba(0,0,0,.45);
    z-index: 999;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 14px; font-size: .95rem; border-radius: 6px; }
  .header-cta {
    display: flex !important;
    justify-content: center;
    margin-top: 8px;
    padding: 13px 20px !important;
    font-size: .9rem !important;
    white-space: normal !important;
    text-align: center;
  }
  .burger { display: flex; }

  /* Grids */
  .grid--2, .grid--3 { grid-template-columns: 1fr; }

  /* Sections */
  .section { padding: 48px 0; }
  .section--sm { padding: 36px 0; }
  .section--lg { padding: 64px 0; }
  .section__header { margin-bottom: 36px; }

  /* Buttons — allow wrap on mobile */
  .btn { white-space: normal; line-height: 1.35; }

  /* Hero */
  .hero { padding: 52px 0 44px; }
  .hero__actions { flex-direction: column; gap: 10px; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  /* Court photos */
  .court-photos { padding: 0 0 32px; }
  .court-photos__grid { grid-template-columns: 1fr; gap: 8px; }

  /* CTA block */
  .cta-block { padding: 36px 24px; }
  .cta-block .btn { display: flex; width: 100%; justify-content: center; }

  /* Urgent block */
  .urgent-block {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 28px 24px;
  }
  .urgent-block .btn { width: 100%; justify-content: center; }

  /* Steps */
  .step { padding: 20px 20px 20px 66px; }
  .step::before { left: 18px; }

  /* Info table — stacked rows */
  .info-table, .info-table tbody,
  .info-table tr, .info-table th, .info-table td { display: block; }
  .info-table tr { padding: 12px 0; border-bottom: 1px solid var(--grey-light); }
  .info-table tr:last-child { border-bottom: none; }
  .info-table th {
    width: auto;
    background: none;
    padding: 0 18px 3px;
    border: none;
    font-size: .72rem;
    color: var(--text-light);
  }
  .info-table td { padding: 0 18px; border: none; }

  /* Contact form */
  .contact-form { padding: 28px 20px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 48px 0 0; }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }
  .footer-disclaimer { text-align: center; max-width: 100%; }

  /* Page hero */
  .page-hero { padding: 40px 0 36px; }
}

/* ---- Modal ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 45, .75);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
  transform: translateY(20px);
  transition: transform .3s ease;
  border-top: 4px solid var(--gold);
}
.modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--grey-dark);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}
.modal-close:hover { color: var(--navy); background: var(--grey-light); }

.modal-title {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 8px;
  margin-right: 32px;
}
.modal-subtitle {
  color: var(--text-mid);
  font-size: .93rem;
  margin-bottom: 20px;
}
.modal-urgent {
  background: rgba(192,57,43,.06);
  border: 1px solid rgba(192,57,43,.2);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: .88rem;
  color: var(--text);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.modal-urgent a { color: #c0392b; font-weight: 700; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-status {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: .9rem;
  margin-bottom: 14px;
  font-weight: 500;
}
.form-status--success {
  background: rgba(46,204,113,.1);
  border: 1px solid rgba(46,204,113,.3);
  color: #1e8449;
}
.form-status--error {
  background: rgba(192,57,43,.07);
  border: 1px solid rgba(192,57,43,.25);
  color: #c0392b;
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* Typography */
  h1 { font-size: clamp(1.5rem, 7.5vw, 1.75rem); }
  h2 { font-size: clamp(1.2rem, 6vw, 1.45rem); }
  h3 { font-size: clamp(1rem, 5.5vw, 1.2rem); }

  /* Sections */
  .section { padding: 40px 0; }
  .section--sm { padding: 28px 0; }
  .page-hero { padding: 32px 0 28px; }
  .hero { padding: 44px 0 36px; }
  .section__header { margin-bottom: 28px; }

  /* Cards */
  .card { padding: 22px 18px; }

  /* Buttons */
  .btn--lg { padding: 14px 22px; font-size: 1rem; }
  .btn--sm { padding: 8px 16px; }

  /* CTA & urgent */
  .cta-block { padding: 28px 18px; }
  .urgent-block { padding: 22px 18px; }

  /* Steps */
  .step { padding: 16px 14px 16px 56px; }
  .step::before { left: 14px; width: 32px; height: 32px; font-size: .88rem; }

  /* Stats */
  .stat-item { padding: 20px 14px; }
  .stat-item__value { font-size: 1.8rem; }

  /* Modal — slide-up bottom sheet */
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal-box {
    padding: 24px 18px 28px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 95vh;
  }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .container { padding: 0 12px; }
  .stats-grid { grid-template-columns: 1fr; }
  .logo__text { font-size: 1.05rem; }
  .header-inner { gap: 12px; }
}

/* ---- Print ---- */
@media print {
  .site-header, .site-footer, .cta-block, .urgent-block { display: none; }
}

/* ============================================================
   СУДЕБНАЯ ПРАКТИКА 7 ААС — Стили раздела
   ============================================================ */

/* --- Filters --- */
.prak-filters {
  background: var(--white);
  border-bottom: 1px solid var(--grey-light);
  padding: 18px 0 12px;
  position: sticky;
  top: 70px;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.prak-filters__row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.prak-filters__search { flex: 1; min-width: 200px; }
.prak-filters__search input {
  width: 100%;
  padding: 10px 16px;
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius);
  font-size: .95rem;
  background: var(--grey-bg);
  transition: border-color var(--transition);
}
.prak-filters__search input:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.prak-filters__selects {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.prak-filters__selects select {
  padding: 9px 12px;
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius);
  font-size: .88rem;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  transition: border-color var(--transition);
}
.prak-filters__selects select:focus { outline: none; border-color: var(--gold); }
.prak-filters__sort {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--text-light);
}
.sort-btn {
  background: none;
  border: 1px solid var(--grey-light);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: .82rem;
  cursor: pointer;
  color: var(--text-mid);
  transition: all var(--transition);
}
.sort-btn:hover, .sort-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  font-weight: 600;
}

/* --- Stats bar --- */
.prak-stats {
  font-size: .9rem;
  color: var(--text-light);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--grey-light);
}

/* --- Case card grid --- */
.prak-grid { grid-template-columns: repeat(3, 1fr); align-items: start; }

.prak-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.prak-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.prak-card--sm { padding: 16px; gap: 8px; }
.prak-card--sm h4 { font-size: 1rem; margin: 0; }

.prak-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.prak-card__cat a {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold-dark);
  text-decoration: none;
}
.prak-card__cat a:hover { color: var(--gold); }
.prak-card__date { font-size: .8rem; color: var(--text-light); }

.prak-card__title { margin: 0; }
.prak-card__title a { color: var(--navy); text-decoration: none; font-size: 1.05rem; }
.prak-card__title a:hover { color: var(--gold-dark); }

.prak-card__conclusion {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0;
}

.prak-card__footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.prak-card__details {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: .8rem;
  color: var(--text-light);
}
.prak-card__case { font-family: monospace; font-size: .8rem; }
.prak-card__badges { display: flex; flex-wrap: wrap; gap: 6px; }

.prak-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.prak-card__actions { margin-top: 4px; }

/* --- Tags --- */
.prak-tag {
  display: inline-block;
  background: var(--grey-bg);
  border: 1px solid var(--grey-light);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: .75rem;
  color: var(--text-mid);
}

/* --- Result badges --- */
.prak-result {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.result--cancel  { background: #ffeaea; color: #c0392b; }
.result--changed { background: #fff4e0; color: #a0623a; }
.result--kept    { background: #eafff0; color: #27ae60; }
.result--rules   { background: #e8f0ff; color: #2962c0; }
.result--other   { background: var(--grey-bg); color: var(--text-light); }

/* --- Probability badge --- */
.prak-prob {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: .75rem;
  font-weight: 600;
}
.prob--high { background: #eafff0; color: #27ae60; }
.prob--mid  { background: #fff4e0; color: #a0623a; }
.prob--low  { background: #ffeaea; color: #c0392b; }

/* --- Pagination --- */
.prak-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 40px;
}
.pgn-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius);
  background: var(--white);
  font-size: .9rem;
  cursor: pointer;
  color: var(--text);
  transition: all var(--transition);
}
.pgn-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.pgn-btn.active { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 700; }

/* --- Empty state --- */
.prak-empty { text-align: center; padding: 60px 20px; color: var(--text-light); }

/* --- Category link --- */
.prak-cat-link {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold-dark);
  text-decoration: none;
  margin-right: 8px;
}
.prak-cat-link--extra { color: var(--text-light); }
.prak-cat-link:hover { color: var(--gold); }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.art-header { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 2px solid var(--grey-light); }
.art-header__cats { margin-bottom: 12px; }
.art-header__title { margin: 0 0 24px; }

.art-meta {
  background: var(--grey-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-light);
  overflow: hidden;
  margin-bottom: 20px;
}
.art-meta__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--grey-light);
  align-items: center;
}
.art-meta__row:last-child { border-bottom: none; }
.art-meta__label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.art-meta__val { font-size: .95rem; color: var(--text); }

.art-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

.art-body { margin-bottom: 40px; }
.art-body p { font-size: 1.02rem; line-height: 1.8; margin-bottom: 1.1rem; }

.art-section { margin-bottom: 32px; }
.art-section h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--navy);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--grey-light);
}
.art-section--error {
  background: #fff9f0;
  border: 1px solid #f0d8b0;
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
}
.art-section--error h3 { border-bottom-color: #f0d8b0; color: var(--gold-dark); }

.art-conclusion {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 40px 0;
}
.art-conclusion__icon {
  font-size: 2rem;
  color: var(--gold);
  flex-shrink: 0;
  line-height: 1;
  margin-top: 4px;
}
.art-conclusion__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.art-conclusion p { margin: 0; line-height: 1.7; font-size: 1rem; }

.art-probability {
  background: var(--grey-bg);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 24px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.art-probability__label { font-size: .9rem; font-weight: 600; color: var(--text-mid); }
.art-probability__text { width: 100%; font-size: .9rem; color: var(--text-mid); margin: 8px 0 0; }

.art-kad {
  text-align: center;
  margin: 36px 0;
}
.art-kad--empty {
  background: var(--grey-bg);
  border-radius: var(--radius);
  padding: 16px;
  color: var(--text-light);
  font-size: .9rem;
}
.art-kad--empty p { margin: 0; }

.art-cta {
  background: var(--grey-bg);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 40px 0;
  text-align: center;
}
.art-cta h3 { margin-bottom: 10px; }
.art-cta p { color: var(--text-mid); margin-bottom: 20px; }
.art-cta__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.art-related { margin: 48px 0 0; }
.art-related h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--grey-light);
}

/* --- Buttons extra --- */
.btn--outline-light {
  border: 2px solid rgba(255,255,255,.4);
  color: var(--white);
  background: transparent;
}
.btn--outline-light:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  color: var(--white);
}

/* --- Responsive: Praktika --- */
@media (max-width: 900px) {
  .prak-grid { grid-template-columns: repeat(2, 1fr); }
  .prak-filters { position: static; }
  .art-meta__row { grid-template-columns: 140px 1fr; }
  .art-cta { padding: 24px 20px; }
}
@media (max-width: 640px) {
  /* Grid */
  .prak-grid { grid-template-columns: 1fr; }

  /* Filters: stack vertically, all full-width */
  .prak-filters { padding: 12px 0 8px; }
  .prak-filters__row { flex-direction: column; align-items: stretch; gap: 8px; }
  .prak-filters__search { min-width: 0; flex: none; width: 100%; }
  .prak-filters__selects { flex-direction: column; gap: 6px; }
  .prak-filters__selects select { width: 100%; }
  .prak-filters__sort { flex-wrap: wrap; gap: 6px; }

  /* Result/prob badges — allow wrapping, no overflow */
  .prak-result, .prak-prob { white-space: normal; word-break: break-word; }

  /* Article meta */
  .art-meta__row { grid-template-columns: 1fr; gap: 2px; }
  .art-meta__label { font-size: .75rem; }

  /* Conclusion block */
  .art-conclusion { flex-direction: column; gap: 12px; padding: 20px 16px; }
  .art-conclusion__icon { display: none; }

  /* CTA block */
  .art-cta { padding: 20px 16px; }
  .art-cta__btns { flex-direction: column; align-items: stretch; }
  .art-cta__btns .btn { text-align: center; }

  /* Related cases */
  .art-related .grid--3 { grid-template-columns: 1fr; }

  /* Prevent any element from breaking out of viewport */
  .prak-filters,
  .art-header,
  .art-body,
  .art-conclusion,
  .art-cta,
  .art-related { overflow-x: hidden; }
}
@media (max-width: 400px) {
  .art-meta__row { padding: 8px 12px; }
  .art-conclusion { padding: 16px 12px; }
  .art-cta { padding: 16px 12px; }
  .prak-card { padding: 16px; }
}

/* ================================================================
   ДОКУМЕНТЫ — раздел образцов процессуальных документов
   ================================================================ */

/* Каталог */
.docs-intro { margin-bottom: 40px; }
.docs-intro p { margin-bottom: 1rem; line-height: 1.8; color: var(--text-mid); max-width: 820px; }

.cat-section { margin-bottom: 48px; }
.cat-section h2 { font-size: 1.25rem; color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 10px; margin-bottom: 20px; }

.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }

.doc-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 20px;
  transition: box-shadow .2s, border-color .2s;
}
.doc-card:hover { box-shadow: 0 4px 18px rgba(13,27,53,.1); border-color: var(--gold); }
.doc-card a { text-decoration: none; color: var(--navy); font-weight: 600; font-size: .95rem; display: block; margin-bottom: 8px; line-height: 1.4; }
.doc-card a:hover { color: var(--gold-dark); }
.doc-card__meta { font-size: .78rem; color: var(--text-mid); }

/* Страница документа */
.doc-download-box {
  background: var(--grey-bg);
  border: 1px solid rgba(201,168,76,.35);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin: 32px 0;
}
.doc-download-box h2 { color: var(--navy); margin-bottom: 10px; font-size: 1.15rem; }
.doc-download-box p { color: var(--text-mid); margin-bottom: 20px; }

.related-docs { margin: 32px 0; }
.related-docs h2 { font-size: 1rem; color: var(--navy); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--grey-light); }
.related-docs ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.related-docs ul li a {
  display: block;
  background: var(--grey-bg);
  border: 1px solid var(--grey-light);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: .875rem;
  color: var(--navy);
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.related-docs ul li a:hover { background: rgba(201,168,76,.12); border-color: var(--gold); }

/* Краткая справка в сайдбаре — стекированный вид (label + value), т.к. ширина сайдбара 300px */
.sidebar-widget .info-table,
.sidebar-widget .info-table tbody,
.sidebar-widget .info-table tr,
.sidebar-widget .info-table th,
.sidebar-widget .info-table td { display: block; }

.sidebar-widget .info-table tr {
  padding: 10px 0;
  border-bottom: 1px solid var(--grey-light);
}
.sidebar-widget .info-table tr:last-child { border-bottom: none; }

.sidebar-widget .info-table th {
  width: auto;
  background: none;
  padding: 0 0 3px;
  border: none;
  font-size: .75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.sidebar-widget .info-table td {
  padding: 0;
  border: none;
  font-size: .88rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .doc-grid { grid-template-columns: 1fr; }
  .doc-download-box { padding: 24px 18px; }
}
