/* ─── CHAPTER HERO HEADER ─── */
.chapter-header {
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 100px;
}
.chapter-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(168,212,245,0.08), transparent 80%);
  z-index: 0;
}
.chapter-header-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}
.chapter-number {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 5rem;
  font-weight: 800;
  color: rgba(168,212,245,0.1);
  line-height: 1;
  margin-bottom: 1rem;
}
.chapter-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.chapter-intro {
  font-size: 1.1rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* ─── CONTENT SECTIONS ─── */
.chapter-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 3rem;
}
.content-block {
  margin-bottom: 8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.content-block.reverse {
  direction: rtl;
}
.content-block.reverse > * {
  direction: ltr;
}
.content-block.full {
  grid-template-columns: 1fr;
  gap: 3rem;
}

.content-text {
  flex: 1;
}
.content-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
}

.block-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ice-dim);
  margin-bottom: 1rem;
}
.block-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.block-body {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.block-list {
  list-style: none;
  margin-top: 1.5rem;
}
.block-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dim);
}
.block-list li::before {
  content: '→';
  color: var(--ice);
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── CARDS GRID ─── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  margin-top: 3rem;
  background: rgba(168,212,245,0.06);
}
.info-card {
  position: relative;
  background: var(--bg);
  padding: 2.5rem;
  overflow: hidden;
  transition: background 0.4s;
  border: 1px solid rgba(168,212,245,0.08);
}
.info-card:hover {
  background: var(--bg2);
}
.card-icon-small {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-icon-small svg {
  width: 100%;
  height: 100%;
}
.card-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 0.8rem;
  opacity: 0.8;
}
.card-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}
.card-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ─── FLOW DIAGRAM ─── */
.flow-container {
  margin: 4rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.flow-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.flow-number {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(168,212,245,0.12);
  flex-shrink: 0;
  width: 60px;
}
.flow-content {
  flex: 1;
  padding-top: 0.3rem;
}
.flow-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.flow-desc {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ─── DANGER SCALE ─── */
.danger-scale {
  background: var(--bg2);
  border-top: 1px solid rgba(168,212,245,0.06);
  border-bottom: 1px solid rgba(168,212,245,0.06);
  padding: 2rem 3rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.scale-item {
  padding: 1.5rem 1rem;
  text-align: center;
  transition: transform 0.2s;
}
.scale-item:hover {
  transform: translateY(-4px);
}
.scale-item .num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
}
.scale-item .label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.2rem;
  opacity: 0.7;
}
.scale-item .desc {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.5rem;
  line-height: 1.4;
}
.si-1 { background: linear-gradient(180deg, rgba(42,180,100,0.15), transparent); }
.si-1 .num { color: #42c984; }
.si-2 { background: linear-gradient(180deg, rgba(160,210,60,0.15), transparent); }
.si-2 .num { color: #a0d23c; }
.si-3 { background: linear-gradient(180deg, rgba(245,200,40,0.15), transparent); }
.si-3 .num { color: var(--yellow); }
.si-4 { background: linear-gradient(180deg, rgba(232,140,40,0.15), transparent); }
.si-4 .num { color: #e88c28; }
.si-5 { background: linear-gradient(180deg, rgba(232,64,64,0.15), transparent); }
.si-5 .num { color: var(--red); }

/* ─── CHECKLIST ─── */
.checklist {
  background: rgba(20,28,50,0.4);
  border: 1px solid rgba(168,212,245,0.1);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
}
.checklist-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.check-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  align-items: flex-start;
}
.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.check-icon.done {
  background: var(--ice);
}
.check-icon.done::after {
  content: '✓';
  color: var(--bg);
  font-weight: 700;
  font-size: 0.9rem;
}
.check-text {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.6;
  padding-top: 0.2rem;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 3rem;
  margin-top: 8rem;
}
.breadcrumb a {
  color: var(--ice);
  text-decoration: none;
  transition: opacity 0.2s;
}
.breadcrumb a:hover { opacity: 0.8; }

/* ─── NAVIGATION FOOTER ─── */
.chapter-nav {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
  padding: 3rem;
  background: var(--bg2);
  border-top: 1px solid rgba(168,212,245,0.06);
  margin-top: 8rem;
  flex-wrap: wrap;
}
.nav-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ice);
  text-decoration: none;
  transition: gap 0.2s;
}
.nav-btn:hover { gap: 1.2rem; }
.nav-center {
  flex: 1;
  text-align: center;
}
.nav-center p {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.8rem;
}
.chapter-progress {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}
.progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(168,212,245,0.15);
  transition: background 0.3s;
}
.progress-dot.active {
  background: var(--ice);
}

/* ─── MOBILE RESPONSIVE ─── */
@media (max-width: 768px) {
  .content-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .content-block.reverse {
    direction: ltr;
  }
  .chapter-content {
    padding: 3rem 1.5rem;
  }
  .danger-scale {
    grid-template-columns: repeat(2, 1fr);
  }
  .chapter-nav {
    flex-direction: column;
  }
  .nav-btn {
    width: 100%;
    justify-content: center;
  }
  .content-visual {
    min-height: 250px;
  }
}
