/* ═══════════════════════════════════════════════
   transparency.css — Ил тод байдал hub & spokes
   Spec: CKNM_TRANSPARENCY_PAGE_SPEC.md
   Brand: Navy #031F3E / Burgundy #3B0002 / Red #ED2427
   prefix: tr-*
   ═══════════════════════════════════════════════ */

.tr-body { background: #FAFAF7; }

.tr-section {
  padding: 4rem 0 3rem;
}
.tr-section--alt {
  background: #FFFFFF;
  border-top: 1px solid #E5E0D5;
  border-bottom: 1px solid #E5E0D5;
}

/* ─── KPI strip (Hub) ─── */
.tr-kpi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.tr-kpi-tile {
  background: #fff;
  border: 1px solid #E5E0D5;
  border-radius: 4px;
  padding: 1.5rem 1.5rem;
  text-align: left;
}
.tr-kpi-value {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.85rem;
  color: var(--v2-navy, #031F3E);
  margin: 0 0 0.3rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.tr-kpi-value small {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4A4A4A;
}
.tr-kpi-label {
  font-size: 0.8rem;
  color: #4A4A4A;
  margin: 0;
  letter-spacing: 0.01em;
}


/* ─── Hub: 8 spoke card grid ─── */
.tr-hub {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.tr-hub-card {
  background: #fff;
  border: 1px solid #E5E0D5;
  border-radius: 4px;
  padding: 1.75rem 1.5rem 1.6rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.tr-hub-card:hover {
  border-color: var(--v2-navy, #031F3E);
  transform: translateY(-2px);
}
.tr-hub-card-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  color: #ED2427;
  letter-spacing: 0.12em;
}
.tr-hub-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  color: #031F3E;
  margin: 0;
  line-height: 1.35;
}
.tr-hub-card p {
  font-size: 0.85rem;
  color: #4A4A4A;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.tr-hub-card-go {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ED2427;
  margin-top: 0.25rem;
}
.tr-hub-card-go i { transition: transform 0.2s ease; }
.tr-hub-card:hover .tr-hub-card-go i { transform: translateX(3px); }


/* ─── External CTA (Шилэн данс) ─── */
.tr-cta-external {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, #031F3E 0%, #1A3458 100%);
  color: #fff;
  border-radius: 4px;
  padding: 1.75rem 2rem;
  text-decoration: none;
  margin-top: 2rem;
  transition: transform 0.2s ease;
}
.tr-cta-external:hover { transform: translateY(-2px); }
.tr-cta-external-ico {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
}
.tr-cta-external h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.3rem;
}
.tr-cta-external p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}
.tr-cta-external-btn {
  background: #ED2427;
  color: #fff;
  padding: 0.85rem 1.5rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}


/* ─── Breadcrumb ─── */
.tr-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #4A4A4A;
  padding: 0.75rem 0 0;
}
.tr-crumbs a {
  color: #031F3E;
  text-decoration: none;
  font-weight: 500;
}
.tr-crumbs a:hover { color: #ED2427; }
.tr-crumbs i {
  font-size: 0.65rem;
  color: #E5E0D5;
  padding: 0 0.15rem;
  align-self: center;
}


/* ─── Spoke generic: card ─── */
.tr-card {
  background: #fff;
  border: 1px solid #E5E0D5;
  border-radius: 4px;
  padding: 1.75rem 2rem;
  margin-bottom: 1rem;
}
.tr-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #031F3E;
  margin: 0 0 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.tr-card h3 i {
  width: 32px;
  height: 32px;
  background: #ED2427;
  color: #fff;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.tr-card p {
  font-size: 0.95rem;
  color: #2C2419;
  line-height: 1.7;
  margin: 0 0 0.85rem;
}
.tr-card p:last-child { margin: 0; }
.tr-card p strong { color: #031F3E; }
.tr-card-mission {
  background: linear-gradient(135deg, #FAFAF7 0%, #fff 100%);
  border-left: 4px solid #ED2427;
  padding: 1.75rem 2rem;
}
.tr-card-mission p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: #031F3E;
  line-height: 1.55;
  margin: 0;
  font-style: italic;
}


/* ─── Accordion ─── */
.tr-accordion {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tr-accordion details {
  background: #fff;
  border: 1px solid #E5E0D5;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.tr-accordion summary {
  padding: 1.1rem 1.5rem;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  color: #031F3E;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.tr-accordion summary::-webkit-details-marker { display: none; }
.tr-accordion summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-left: auto;
  font-size: 0.78rem;
  color: #ED2427;
  transition: transform 0.2s ease;
}
.tr-accordion details[open] summary::after { transform: rotate(180deg); }
.tr-accordion-num {
  display: inline-flex;
  width: 28px;
  height: 28px;
  background: #FAFAF7;
  border: 1px solid #E5E0D5;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  color: #ED2427;
  flex-shrink: 0;
}
.tr-accordion details[open] .tr-accordion-num {
  background: #ED2427;
  color: #fff;
  border-color: #ED2427;
}
.tr-accordion-body {
  padding: 0 1.5rem 1.25rem;
  color: #2C2419;
  font-size: 0.92rem;
  line-height: 1.7;
}


/* ─── Table ─── */
.tr-table-wrap {
  overflow-x: auto;
  border: 1px solid #E5E0D5;
  border-radius: 4px;
  background: #fff;
}
.tr-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  font-size: 0.88rem;
}
.tr-table th,
.tr-table td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid #E5E0D5;
}
.tr-table thead th {
  background: #031F3E;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  border-bottom: none;
}
.tr-table tbody tr:last-child td { border-bottom: none; }
.tr-table tbody tr:hover { background: #FAFAF7; }
.tr-table td strong { color: #031F3E; font-weight: 600; }


/* ─── PDF/Download list ─── */
.tr-downloads {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.tr-download {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  background: #fff;
  border: 1px solid #E5E0D5;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.tr-download:hover {
  border-color: #ED2427;
  background: #FAFAF7;
}
.tr-download-ico {
  width: 44px;
  height: 52px;
  background: #FEEEEE;
  color: #ED2427;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.tr-download-body h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: #031F3E;
  margin: 0 0 0.2rem;
}
.tr-download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.75rem;
  color: #4A4A4A;
}
.tr-download-go {
  width: 36px;
  height: 36px;
  background: #FAFAF7;
  border: 1px solid #E5E0D5;
  border-radius: 4px;
  color: #031F3E;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.tr-download:hover .tr-download-go {
  background: #ED2427;
  color: #fff;
  border-color: #ED2427;
}


/* ─── Year tab switcher ─── */
.tr-year-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.tr-year-tab {
  background: #fff;
  border: 1px solid #E5E0D5;
  color: #031F3E;
  padding: 0.55rem 1.15rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.15s ease;
}
.tr-year-tab.is-active {
  background: #031F3E;
  color: #fff;
  border-color: #031F3E;
}


/* ─── Pillar/Priority card grid ─── */
.tr-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.tr-pillar {
  background: #fff;
  border: 1px solid #E5E0D5;
  border-top: 3px solid #ED2427;
  border-radius: 4px;
  padding: 1.5rem 1.5rem 1.4rem;
}
.tr-pillar-ico {
  width: 42px;
  height: 42px;
  background: #FEEEEE;
  color: #ED2427;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}
.tr-pillar h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #031F3E;
  margin: 0 0 0.4rem;
  line-height: 1.3;
}
.tr-pillar p {
  font-size: 0.85rem;
  color: #4A4A4A;
  line-height: 1.55;
  margin: 0;
}


/* ─── Strategy timeline (Short/Mid/Long) ─── */
.tr-timeline-strategy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.tr-ts-card {
  background: #fff;
  border: 1px solid #E5E0D5;
  border-radius: 4px;
  padding: 1.5rem 1.5rem;
  position: relative;
}
.tr-ts-card-tag {
  position: absolute;
  top: -10px;
  left: 1.5rem;
  background: #ED2427;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
}
.tr-ts-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #031F3E;
  margin: 0.5rem 0 0.5rem;
}
.tr-ts-card p {
  font-size: 0.85rem;
  color: #4A4A4A;
  line-height: 1.55;
  margin: 0;
}


/* ─── Action→Result causal chain ─── */
.tr-chain {
  display: grid;
  grid-template-columns: 1fr 36px 1fr 36px 1fr;
  gap: 0.5rem;
  align-items: center;
  background: #fff;
  border: 1px solid #E5E0D5;
  border-radius: 4px;
  padding: 1.5rem 1.5rem;
  margin-bottom: 1rem;
}
.tr-chain-step {
  text-align: center;
  padding: 0.5rem;
}
.tr-chain-step-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4A4A4A;
  margin-bottom: 0.4rem;
}
.tr-chain-step-text {
  font-size: 0.9rem;
  color: #031F3E;
  font-weight: 500;
  line-height: 1.4;
}
.tr-chain-arrow {
  color: #ED2427;
  text-align: center;
  font-size: 1.1rem;
}


/* ─── Org chart (simple visual) ─── */
.tr-org {
  background: #fff;
  border: 1px solid #E5E0D5;
  border-radius: 4px;
  padding: 2rem;
  overflow-x: auto;
}
.tr-org-level {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  position: relative;
}
.tr-org-level:last-child { margin-bottom: 0; }
.tr-org-level + .tr-org-level::before {
  content: '';
  position: absolute;
  top: -2rem;
  left: 50%;
  width: 1px;
  height: 1.5rem;
  background: #E5E0D5;
}
.tr-org-node {
  background: #031F3E;
  color: #fff;
  padding: 0.9rem 1.5rem;
  border-radius: 4px;
  text-align: center;
  min-width: 180px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
}
.tr-org-node--lead {
  background: #ED2427;
}
.tr-org-node--dept {
  background: #fff;
  color: #031F3E;
  border: 1px solid #031F3E;
  font-size: 0.82rem;
  padding: 0.7rem 1.1rem;
  min-width: 140px;
}
.tr-org-node small {
  display: block;
  font-weight: 400;
  font-size: 0.72rem;
  opacity: 0.8;
  margin-top: 0.2rem;
}


/* ─── Leadership bio ─── */
.tr-bios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.tr-bio {
  background: #fff;
  border: 1px solid #E5E0D5;
  border-radius: 4px;
  padding: 1.5rem;
  text-align: center;
}
.tr-bio-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #031F3E 0%, #3B0002 100%);
  color: rgba(255, 255, 255, 0.4);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
}
.tr-bio h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: #031F3E;
  margin: 0 0 0.3rem;
}
.tr-bio-role {
  font-size: 0.82rem;
  color: #4A4A4A;
  margin: 0;
  line-height: 1.4;
}


/* ─── Indicator metrics grid ─── */
.tr-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}
.tr-metric {
  background: #fff;
  border: 1px solid #E5E0D5;
  border-radius: 4px;
  padding: 1.25rem 1.4rem;
}
.tr-metric i {
  color: #ED2427;
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
}
.tr-metric-value {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #031F3E;
  margin: 0 0 0.25rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.tr-metric-value small {
  font-size: 0.78rem;
  color: #4A4A4A;
  font-weight: 600;
}
.tr-metric-label {
  font-size: 0.78rem;
  color: #4A4A4A;
  margin: 0;
  line-height: 1.4;
}
.tr-metric-trend {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 0.4rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.tr-metric-trend--up {
  background: rgba(45, 106, 79, 0.1);
  color: #2D6A4F;
}
.tr-metric-trend--down {
  background: rgba(183, 121, 31, 0.1);
  color: #B7791F;
}


/* ─── Responsive ─── */
@media (max-width: 900px) {
  .tr-timeline-strategy { grid-template-columns: 1fr; }
  .tr-chain { grid-template-columns: 1fr; }
  .tr-chain-arrow { transform: rotate(90deg); padding: 0.5rem 0; }
}
@media (max-width: 640px) {
  .tr-section { padding: 3rem 0; }
  .tr-cta-external { grid-template-columns: 1fr; text-align: center; padding: 1.5rem 1.25rem; }
  .tr-cta-external-ico { margin: 0 auto; }
  .tr-org-node { min-width: auto; width: 100%; }
}
