/* The crisis page intentionally swaps to a calmer, more contrasted palette
   so it feels distinct and trustworthy in a moment of need. */
body.crisis-page {
  background: linear-gradient(180deg, #dde8ec 0%, #c7d6dc 100%);
  color: #1f3a44;
}
body.crisis-page .site-header {
  background: rgba(221, 232, 236, 0.85);
  border-bottom-color: rgba(74, 107, 120, 0.15);
}
body.crisis-page .brand { color: #1f3a44; }
body.crisis-page .brand__mark { background: #1f3a44; color: #dde8ec; }
body.crisis-page .brand small { color: #4a6b78; }
body.crisis-page .nav a { color: #1f3a44; }
body.crisis-page .nav a:hover { background: rgba(74, 107, 120, 0.12); }
body.crisis-page .nav .nav-crisis {
  background: #1f3a44;
  color: #dde8ec;
  border-color: transparent;
}

.crisis-hero {
  padding: 64px 0 32px;
  position: relative;
  overflow: hidden;
}
.crisis-hero__wave {
  position: absolute;
  inset: auto 0 0 0;
  height: 80px;
  color: #1f3a44;
  opacity: 0.1;
  z-index: 0;
}
.crisis-hero__motif {
  position: absolute;
  top: -50px; left: -40px;
  width: 240px;
  color: #4a6b78;
  opacity: 0.08;
  pointer-events: none;
}
.crisis-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.crisis-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  color: #1f3a44;
  line-height: 1.25;
  margin-bottom: 16px;
}
.crisis-hero h1 em {
  font-style: normal;
  color: #c4584d;
}
.crisis-hero p {
  font-size: 1.2rem;
  color: #34555f;
  line-height: 1.9;
}

/* Immediate-help banner */
.imm-banner {
  background: white;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(31, 58, 68, 0.12);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin: 32px 0;
  border: 1px solid rgba(74, 107, 120, 0.18);
}
.imm-banner__icon {
  width: 72px; height: 72px;
  background: #c4584d;
  color: white;
  border-radius: 24px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.imm-banner__row {
  display: flex;
  align-items: center;
  gap: 20px;
}
.imm-banner h2 { color: #1f3a44; font-size: 1.5rem; margin-bottom: 4px; }
.imm-banner p { color: #34555f; font-size: 1rem; line-height: 1.7; }
.imm-banner__btns { display: flex; gap: 12px; flex-shrink: 0; }
.imm-banner__btn-primary {
  background: #c4584d;
  color: white;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  text-decoration: none;
}
.imm-banner__btn-primary:hover { background: #a83a30; }
.imm-banner__btn-ghost {
  background: rgba(31, 58, 68, 0.08);
  color: #1f3a44;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid rgba(74, 107, 120, 0.2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.imm-banner__btn-ghost:hover { background: rgba(31, 58, 68, 0.14); }
@media (max-width: 760px) {
  .imm-banner { grid-template-columns: 1fr; padding: 24px; }
  .imm-banner__row { flex-direction: column; align-items: flex-start; gap: 14px; text-align: right; }
  .imm-banner__btns { flex-direction: column; width: 100%; }
  .imm-banner__btn-primary, .imm-banner__btn-ghost { justify-content: center; }
}

/* Hotlines by country */
.countries {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 760px) { .countries { grid-template-columns: 1fr; } }

.country-card {
  background: white;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(74, 107, 120, 0.18);
  position: relative;
  overflow: hidden;
  transition: all 0.2s;
}
.country-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(31, 58, 68, 0.12); }

.country-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px dashed rgba(74, 107, 120, 0.2);
}
.country-card__flag {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  background: #f0f4f5;
}
.country-card__name { font-weight: 700; font-size: 1.2rem; color: #1f3a44; }
.country-card__cities { color: #4a6b78; font-size: 0.85rem; margin-top: 2px; }

.hotline {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(74, 107, 120, 0.12);
}
.hotline:last-child { border-bottom: none; padding-bottom: 0; }

.hotline__name { font-weight: 600; color: #1f3a44; font-size: 0.96rem; }
.hotline__desc { color: #4a6b78; font-size: 0.85rem; margin-top: 2px; line-height: 1.6; }
.hotline__num {
  font-weight: 800;
  font-size: 1.05rem;
  color: #c4584d;
  background: rgba(196, 88, 77, 0.08);
  padding: 8px 14px;
  border-radius: 12px;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
  direction: ltr;
}
.hotline__num:hover { background: rgba(196, 88, 77, 0.18); }
.hotline__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.hotline__tag {
  background: rgba(74, 107, 120, 0.1);
  color: #34555f;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
}
.hotline__tag--text { background: rgba(126, 168, 134, 0.18); color: #2e6b40; }
.hotline__tag--24 { background: rgba(196, 88, 77, 0.14); color: #8a2a22; }
.hotline__tag--fa { background: rgba(127, 168, 201, 0.18); color: #2c4f6b; }

/* Coping strip */
.coping {
  background: white;
  border-radius: 24px;
  padding: 36px;
  margin: 40px 0;
  border: 1px solid rgba(74, 107, 120, 0.18);
}
.coping h2 { color: #1f3a44; margin-bottom: 12px; font-size: 1.6rem; }
.coping p { color: #34555f; margin-bottom: 24px; }
.coping-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .coping-grid { grid-template-columns: repeat(2, 1fr); } }

.coping-step {
  background: #f0f5f6;
  padding: 18px;
  border-radius: 16px;
  text-align: center;
}
.coping-step__num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #1f3a44;
  color: white;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  font-weight: 700;
  font-size: 0.9rem;
}
.coping-step__t { font-weight: 600; color: #1f3a44; margin-bottom: 4px; }
.coping-step__d { color: #4a6b78; font-size: 0.88rem; line-height: 1.7; }

/* Floating chat CTA */
.floating-chat {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: #1f3a44;
  color: white;
  padding: 14px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  box-shadow: 0 12px 36px rgba(31, 58, 68, 0.3);
  text-decoration: none;
  transition: all 0.2s;
  z-index: 40;
  font-family: inherit;
  font-size: 0.95rem;
}
.floating-chat:hover { transform: translateY(-2px); background: #2a4d59; }
.floating-chat__pulse {
  width: 10px; height: 10px;
  background: #4ea76b;
  border-radius: 50%;
  animation: pulse2 2s ease-in-out infinite;
}
@keyframes pulse2 {
  0%, 100% { box-shadow: 0 0 0 0 rgba(78, 167, 107, 0.6); }
  50% { box-shadow: 0 0 0 8px transparent; }
}
