/* ============================================================
   CITIZENS PAGE — «Для народа»
   Layout: emergency strip + hero + overview cards +
   7 sections with <details> accordions
   ============================================================ */

/* ===== EMERGENCY STRIP (sticky) ===== */

.cz-emergency {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--burgundy, #7A1E2E);
  padding: 10px 0;
}

.cz-emergency__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
  flex-wrap: wrap;
}

.cz-emergency__label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 247, 238, 0.7);
}

.cz-emergency__numbers {
  display: flex;
  gap: clamp(12px, 2vw, 24px);
}

.cz-emergency__num {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #FAF7EE;
  padding: 4px 12px;
  border: 1px solid rgba(250, 247, 238, 0.2);
  border-radius: 2px;
  transition: all 200ms ease;
  min-height: 44px;
}

.cz-emergency__num:hover {
  background: rgba(250, 247, 238, 0.1);
  border-color: rgba(250, 247, 238, 0.4);
}

.cz-emergency__num--primary {
  background: rgba(250, 247, 238, 0.12);
  border-color: rgba(250, 247, 238, 0.3);
}

.cz-emergency__num-value {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.cz-emergency__num-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(250, 247, 238, 0.6);
}

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

.cz-hero {
  background: var(--paper, #FAF7EE);
  padding: clamp(4rem, 10vh, 7rem) 0 clamp(3rem, 6vh, 4rem);
}

.cz-hero__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}

.cz-hero__eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burgundy, #7A1E2E);
  display: block;
  margin-bottom: 16px;
}

.cz-hero__title {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy, #1B3A5C);
  margin: 0 0 16px;
}

.cz-hero__lead {
  font-family: 'Literata', Georgia, serif;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--ink-soft, #3D4454);
  margin: 0;
}

/* ===== OVERVIEW CARDS ===== */

.cz-overview {
  background: var(--paper-deep, #F2EBD8);
  padding: clamp(3rem, 6vh, 5rem) 0;
}

.cz-overview__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}

.cz-overview__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1024px) {
  .cz-overview__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .cz-overview__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .cz-overview__grid { grid-template-columns: 1fr; }
}

.cz-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--paper, #FAF7EE);
  border-top: 3px solid var(--navy, #1B3A5C);
  text-decoration: none;
  color: inherit;
  transition: all 300ms ease;
  min-height: 120px;
}

.cz-card:hover {
  background: white;
  transform: translateY(-2px);
}

.cz-card--urgent {
  border-top-color: var(--burgundy, #7A1E2E);
}

.cz-card__icon {
  color: var(--navy, #1B3A5C);
}

.cz-card--urgent .cz-card__icon {
  color: var(--burgundy, #7A1E2E);
}

.cz-card__title {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.3;
  color: var(--navy, #1B3A5C);
  margin: 0;
}

.cz-card__hotline {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--burgundy, #7A1E2E);
  margin-top: auto;
}

/* ===== SECTIONS ===== */

.cz-section {
  background: var(--paper, #FAF7EE);
  padding: clamp(3rem, 6vh, 5rem) 0;
  border-top: 1px solid rgba(27, 58, 92, 0.08);
}

.cz-section__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}

.cz-section__header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
}

.cz-section__number {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted, #6B7280);
  letter-spacing: 0.06em;
}

.cz-section--urgent .cz-section__number {
  color: var(--burgundy, #7A1E2E);
}

.cz-section__title {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--navy, #1B3A5C);
  margin: 0;
}

/* ===== ACCORDION (<details>/<summary>) ===== */

.cz-accordion {
  border-top: 1px solid rgba(27, 58, 92, 0.1);
}

.cz-accordion:last-child {
  border-bottom: 1px solid rgba(27, 58, 92, 0.1);
}

.cz-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-family: 'Literata', Georgia, serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink, #1A1F2E);
  transition: color 200ms ease;
}

.cz-accordion__trigger:hover {
  color: var(--burgundy, #7A1E2E);
}

.cz-accordion__trigger::-webkit-details-marker { display: none; }
.cz-accordion__trigger::marker { display: none; content: ''; }

.cz-accordion__trigger::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--ink-muted, #6B7280);
  border-bottom: 1.5px solid var(--ink-muted, #6B7280);
  transform: rotate(45deg);
  transition: transform 300ms ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.cz-accordion[open] > .cz-accordion__trigger::after {
  transform: rotate(-135deg);
}

.cz-accordion__body {
  padding: 0 0 24px;
}

.cz-accordion__body p {
  font-family: 'Literata', Georgia, serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft, #3D4454);
  margin: 0 0 1em;
}

.cz-accordion__body p:last-child { margin-bottom: 0; }

/* ===== HOTLINES ===== */

.cz-hotlines {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.cz-hotline {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--paper-deep, #F2EBD8);
  border-left: 3px solid var(--burgundy, #7A1E2E);
}

.cz-hotline__number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--burgundy, #7A1E2E);
  text-decoration: none;
  min-width: 80px;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.cz-hotline__number:hover {
  color: var(--navy, #1B3A5C);
}

.cz-hotline__name {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink, #1A1F2E);
  display: block;
}

.cz-hotline__hours,
.cz-hotline__desc {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--ink-muted, #6B7280);
  display: block;
}

/* ===== LINKS ===== */

.cz-links {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cz-links a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 16px;
  background: var(--paper-deep, #F2EBD8);
  text-decoration: none;
  color: var(--navy, #1B3A5C);
  font-family: 'Literata', Georgia, serif;
  font-size: 14px;
  transition: background 200ms ease;
}

.cz-links a:hover {
  background: white;
}

.cz-links__domain {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--ink-muted, #6B7280);
  margin-left: auto;
  flex-shrink: 0;
}

/* ===== RESOURCES ===== */

.cz-resources {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cz-resource {
  padding: 20px;
  background: var(--paper-deep, #F2EBD8);
  border-left: 3px solid var(--gold, #B8860B);
}

.cz-resource__name {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy, #1B3A5C);
  display: block;
  margin-bottom: 4px;
}

.cz-resource__desc {
  font-family: 'Literata', Georgia, serif;
  font-size: 14px;
  color: var(--ink-soft, #3D4454);
  display: block;
  margin-bottom: 8px;
}

.cz-resource__link {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold, #B8860B);
  text-decoration: none;
}

.cz-resource__link:hover {
  text-decoration: underline;
}

/* ===== DISCLAIMER ===== */

.cz-disclaimer {
  background: var(--paper, #FAF7EE);
  padding: clamp(2rem, 4vh, 3rem) 0;
  border-top: 1px solid rgba(27, 58, 92, 0.08);
}

.cz-disclaimer__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}

.cz-disclaimer p {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--ink-muted, #6B7280);
  line-height: 1.6;
  margin: 0 0 8px;
}

.cz-disclaimer a {
  color: var(--burgundy, #7A1E2E);
  font-weight: 600;
  text-decoration: none;
}

.cz-disclaimer__date {
  font-style: italic;
  font-size: 12px;
}

/* ===== PRINT ===== */

@media print {
  .cz-emergency { position: static; }
  .cz-accordion[open] > .cz-accordion__body,
  .cz-accordion > .cz-accordion__body { display: block; }
  .cz-accordion__trigger::after { display: none; }
  .cz-card:hover { transform: none; }
}

/* ===== REDUCED MOTION ===== */

@media (prefers-reduced-motion: reduce) {
  .cz-card { transition: none; }
  .cz-accordion__trigger::after { transition: none; }
}

/* ============================================================
   VIDEO BLOCK (DV section)
   ============================================================ */
.cz-video { margin-bottom: 32px; }

.cz-video__trigger {
  position: relative;
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: none;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.cz-video__trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(1.02) contrast(1.06) saturate(0.86) sepia(0.06);
  transition: filter 400ms ease, transform 600ms ease;
}

.cz-video__trigger:hover img {
  filter: brightness(0.95) contrast(1.08) saturate(0.9);
  transform: scale(1.02);
}

.cz-video__play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(15, 36, 64, 0.35);
  transition: background 400ms ease;
  pointer-events: none;
}

.cz-video__trigger:hover .cz-video__play {
  background: rgba(15, 36, 64, 0.5);
}

.cz-video__play-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--burgundy, #7A1E2E);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 24px rgba(122, 30, 46, 0.4);
  transition: transform 400ms cubic-bezier(.2,.7,.2,1), box-shadow 400ms ease;
}

.cz-video__trigger:hover .cz-video__play-circle {
  transform: scale(1.1);
  box-shadow: 0 8px 40px rgba(122, 30, 46, 0.6);
}

.cz-video__play-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FAF7EE;
}

.cz-video__caption {
  display: block;
  margin-top: 12px;
  font-family: 'Literata', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: var(--ink-muted, #6B7280);
}
