/* ─────────────────────────────────────────────────────────────────────────
   Противодействие коррупции — page-specific styles
   Базовые переменные, хедер, футер и mobile-menu определены в home/styles.css
───────────────────────────────────────────────────────────────────────── */

/* ──────────────────────────────────────────────────────────────────────
   BREADCRUMB
────────────────────────────────────────────────────────────────────── */
.page-crumb-wrap {
  padding-top: 20px;
  padding-left: var(--px);
  padding-right: var(--px);
  padding-bottom: 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: var(--text-muted);
}
.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}
.breadcrumb-current { color: var(--text-light); }

/* ──────────────────────────────────────────────────────────────────────
   PAGE HERO
────────────────────────────────────────────────────────────────────── */
.ac-page-hero {
  padding: 32px var(--px) 48px;
}
.ac-page-title {
  font-family: 'Play', Arial, sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.15;
}

/* ──────────────────────────────────────────────────────────────────────
   ACCORDION SECTIONS
────────────────────────────────────────────────────────────────────── */
.ac-sections {
  padding: 0 var(--px) 64px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ac-section {
  border-top: 1px solid rgba(255,255,255,0.12);
}
.ac-section:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }

/* Header row */
.ac-section-header {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 32px 0;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  list-style: none;
}
.ac-section-header::-webkit-details-marker { display: none; }

.ac-section-num {
  font-family: 'Play', Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  min-width: 32px;
}

.ac-section-title {
  font-family: 'Play', Arial, sans-serif;
  font-size: clamp(18px, 2vw, 36px);
  font-weight: 400;
  color: var(--text-light);
  flex: 1;
  line-height: 1.22;
  letter-spacing: -0.025em;
}
.ac-section[open] .ac-section-title { color: #fff; }

.ac-toggle-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s;
}
.ac-section[open] .ac-toggle-icon {
  transform: rotate(45deg);
  color: var(--text-light);
}

/* Body */
.ac-section-body {
  padding-bottom: 32px;
}

/* ──────────────────────────────────────────────────────────────────────
   DOCUMENT CARDS — link style (секции 01, 02)
────────────────────────────────────────────────────────────────────── */
.doc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.doc-link-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: linear-gradient(90deg, rgba(1,22,43,1) 0%, rgba(54,66,84,1) 100%);
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  transition: filter 0.2s;
}
.doc-link-card:hover { filter: brightness(1.15); }

.doc-link-title {
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  color: #fff;
  flex: 1;
}

.doc-link-arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ──────────────────────────────────────────────────────────────────────
   DOCUMENT CARDS — download style (секция 03)
────────────────────────────────────────────────────────────────────── */
.doc-download-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.doc-download-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  background: linear-gradient(90deg, rgba(3,23,44,1) 0%, rgba(54,66,84,1) 100%);
  border-radius: 8px;
  transition: filter 0.2s;
}
.doc-download-card:hover { filter: brightness(1.15); }

.doc-download-title {
  font-family: Arial, sans-serif;
  font-size: 18px;
  line-height: 1.44;
  color: #fff;
  flex: 1;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  border: 1px solid #56718F;
  border-radius: 5px;
  padding: 12px 24px;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
  align-self: flex-start;
  white-space: nowrap;
}
.btn-download:hover { border-color: var(--accent); background: rgba(255,131,104,0.08); }

/* ──────────────────────────────────────────────────────────────────────
   SUB-ACCORDION — вложенные года (секция 04)
────────────────────────────────────────────────────────────────────── */
.ac-sub-section {
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ac-sub-section:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ac-sub-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  list-style: none;
}
.ac-sub-header::-webkit-details-marker { display: none; }

.ac-sub-num {
  font-family: 'Play', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  min-width: 28px;
}

.ac-sub-year {
  font-family: 'Play', Arial, sans-serif;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 400;
  color: var(--text-light);
  flex: 1;
}
.ac-sub-section[open] .ac-sub-year { color: #fff; }

.ac-sub-toggle {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s;
}
.ac-sub-section[open] .ac-sub-toggle {
  transform: rotate(45deg);
  color: var(--text-light);
}

.ac-sub-body {
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ac-sub-note {
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-light);
  max-width: 820px;
}
.ac-sub-note a { color: var(--accent); text-decoration: underline; }

/* ──────────────────────────────────────────────────────────────────────
   CONTACT BLOCK
────────────────────────────────────────────────────────────────────── */
.ac-contacts-section {
  padding: 48px var(--px);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.ac-contacts-title {
  font-family: Arial, sans-serif;
  font-size: clamp(16px, 1.8vw, 22px);
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.3;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.contact-card {
  padding: 20px 24px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-card--person  { background: linear-gradient(90deg, rgba(4,24,45,1) 0%, rgba(53,65,83,1) 100%); }
.contact-card--address { background: linear-gradient(90deg, rgba(4,24,45,1) 0%, rgba(52,64,82,1) 100%); }

.contact-card-name {
  font-family: 'Play', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 1.3;
}
.contact-card-value {
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
  word-break: break-word;
}
.contact-card-value:hover { text-decoration: underline; }
.contact-card-label {
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: var(--text-muted);
}

/* ──────────────────────────────────────────────────────────────────────
   FEEDBACK FORM
────────────────────────────────────────────────────────────────────── */
.ac-form-section {
  padding: 48px var(--px) 80px;
  background: #1C202D;
  border-radius: 16px;
  margin: 0 var(--px) 64px;
}

.ac-form-title {
  font-family: 'Play', Arial, sans-serif;
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 400;
  color: #fff;
  margin-bottom: 8px;
}
.ac-form-hint {
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.5;
  max-width: 680px;
}

.report-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.report-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.report-form-full {
  margin-bottom: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #fff;
}
.form-field label .req { color: var(--accent); }

.form-field input,
.form-field textarea {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 5px;
  padding: 10px 14px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  resize: vertical;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-muted); }
.form-field input:focus,
.form-field textarea:focus { border-color: var(--accent); }
.form-field .errorlist {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--accent-red);
}

/* Privacy checkbox */
.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.4;
}
.form-privacy input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--accent);
  margin-top: 2px;
  cursor: pointer;
}
.form-privacy a { color: var(--accent); text-decoration: underline; }
.form-privacy-error {
  font-size: 12px;
  color: var(--accent-red);
  margin-top: -16px;
  margin-bottom: 12px;
}

/* Submit button */
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 5px;
  padding: 12px 32px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-submit:hover { border-color: var(--accent); background: rgba(255,131,104,0.08); }

/* Success message */
.form-success {
  padding: 16px 20px;
  background: rgba(255,131,104,0.1);
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  margin-bottom: 24px;
}

/* ──────────────────────────────────────────────────────────────────────
   RESPONSIVE — TABLET
────────────────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .doc-download-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1100px) {
  .doc-download-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .report-form-grid { grid-template-columns: 1fr 1fr; }
}

/* ──────────────────────────────────────────────────────────────────────
   RESPONSIVE — MOBILE (≤768px)
────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .ac-page-hero { padding: 24px var(--px) 32px; }

  .ac-section-header { gap: 16px; padding: 20px 0; }
  .ac-section-num { font-size: 13px; min-width: 22px; }
  .ac-section-title { font-size: 15px; }

  .doc-download-grid { grid-template-columns: 1fr; }
  .contact-cards-grid { grid-template-columns: 1fr; }

  .report-form-grid { grid-template-columns: 1fr; }
  .report-form-row { grid-template-columns: 1fr; }

  .ac-form-section {
    border-radius: 0;
    margin: 0 0 40px;
    padding: 32px var(--px) 48px;
  }
}
