.emergency-hero {
  position: relative;
  min-height: calc(100dvh - 68px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 58px max(6%, calc(50% - 640px)) 64px;
  border-bottom: 1px solid rgba(239,68,68,0.18);
  background:
    radial-gradient(circle at 18% 22%, rgba(239,68,68,0.2) 0%, rgba(239,68,68,0) 48%),
    radial-gradient(circle at 82% 20%, rgba(248,113,113,0.14) 0%, rgba(248,113,113,0) 46%),
    linear-gradient(165deg, #080b12 0%, #130d14 52%, #090d17 100%);
}

.emergency-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(248,113,113,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248,113,113,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
}

.emergency-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.emergency-hero-mark {
  position: absolute;
  right: max(6%, calc(50% - 620px));
  top: 52%;
  transform: translateY(-50%);
  width: clamp(150px, 18vw, 240px);
  aspect-ratio: 1;
  z-index: 1;
  pointer-events: none;
  display: grid;
  place-items: center;
}

.emergency-hero-mark-ring {
  position: absolute;
  border-radius: 999px;
}

.emergency-hero-mark-ring--outer {
  inset: 0;
  border: 1px solid rgba(248,113,113,0.24);
  background:
    radial-gradient(circle at 35% 30%, rgba(252,165,165,0.18) 0%, rgba(252,165,165,0) 52%),
    linear-gradient(155deg, rgba(239,68,68,0.2), rgba(127,29,29,0.08));
  box-shadow:
    0 22px 42px rgba(127,29,29,0.26),
    inset 0 1px 0 rgba(254,226,226,0.24);
}

.emergency-hero-mark-ring--inner {
  inset: 16%;
  border: 1px solid rgba(252,165,165,0.35);
  background: linear-gradient(145deg, rgba(239,68,68,0.3), rgba(127,29,29,0.25));
  box-shadow: inset 0 0 0 1px rgba(8,11,18,0.45);
}

.emergency-hero-mark-core {
  width: 42%;
  aspect-ratio: 1;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(254,202,202,0.5);
  color: #fff;
  background: linear-gradient(145deg, rgba(239,68,68,0.9), rgba(153,27,27,0.86));
  box-shadow:
    0 0 0 8px rgba(239,68,68,0.16),
    0 12px 28px rgba(127,29,29,0.45),
    inset 0 1px 0 rgba(255,255,255,0.24);
}

.emergency-hero-mark-core .fa-icon {
  width: 44%;
  height: 44%;
}

.emergency-hero-mark-ping {
  position: absolute;
  inset: 6%;
  border-radius: 999px;
  border: 1px solid rgba(248,113,113,0.3);
  animation: emergencyMarkPulse 2.2s ease-out infinite;
}

@keyframes emergencyMarkPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.65;
  }
  75% {
    transform: scale(1.12);
    opacity: 0;
  }
  100% {
    transform: scale(1.12);
    opacity: 0;
  }
}

.emergency-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #fecaca;
  margin-bottom: 16px;
}

.emergency-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, #f87171, rgba(248,113,113,0.2));
}

.emergency-hero h1 {
  font-size: clamp(2.4rem, 8vw, 7rem);
  font-weight: 850;
  line-height: 0.9;
  letter-spacing: -0.045em;
  margin-bottom: 18px;
}

.emergency-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #fca5a5 10%, #f87171 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.emergency-sub {
  max-width: 620px;
  color: rgba(255, 237, 237, 0.82);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.emergency-primary-call {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding: 14px 28px 14px 20px;
  border-radius: 999px;
  border: 1px solid rgba(248,113,113,0.55);
  background: linear-gradient(145deg, rgba(239,68,68,0.32), rgba(127,29,29,0.5));
  box-shadow: 0 8px 28px rgba(127,29,29,0.36), inset 0 1px 0 rgba(254,226,226,0.22);
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
  width: fit-content;
}

.emergency-primary-call .fa-icon {
  width: 18px;
  height: 18px;
  color: rgba(254,226,226,0.9);
  flex-shrink: 0;
}

.emergency-primary-call:hover {
  transform: translateY(-2px);
  border-color: rgba(252,165,165,0.78);
  box-shadow: 0 12px 36px rgba(127,29,29,0.44), inset 0 1px 0 rgba(254,226,226,0.3);
}

.emergency-primary-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(254,226,226,0.9);
  white-space: nowrap;
}

.emergency-primary-sep {
  width: 1px;
  align-self: stretch;
  background: rgba(252,165,165,0.3);
  margin: 2px 0;
}

.emergency-primary-number {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 850;
  color: #ffffff;
  white-space: nowrap;
}

.emergency-hotline-points {
  display: grid;
  gap: 8px;
  max-width: 620px;
}

.emergency-hotline-points li {
  position: relative;
  padding-left: 20px;
  font-size: 0.84rem;
  color: rgba(254,226,226,0.8);
}

.emergency-hotline-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(145deg, #f87171, #fb7185);
  box-shadow: 0 0 0 4px rgba(248,113,113,0.14);
}

.emergency-signs,
.emergency-process {
  padding: 76px max(6%, calc(50% - 640px));
  border-bottom: 1px solid var(--border);
  background: var(--dark2);
}

.emergency-signs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.emergency-sign-card {
  position: relative;
  padding: 22px;
  border-radius: 14px;
  border: 1px solid rgba(239,68,68,0.2);
  background: linear-gradient(145deg, rgba(239,68,68,0.08), rgba(8,14,23,0.11));
}

.emergency-sign-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.emergency-sign-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(248,113,113,0.28);
  background: linear-gradient(145deg, rgba(239,68,68,0.16), rgba(127,29,29,0.2));
  color: #fecaca;
  box-shadow: inset 0 1px 0 rgba(254,226,226,0.18);
  flex-shrink: 0;
}

.emergency-sign-icon .fa-icon {
  width: 16px;
  height: 16px;
}

.emergency-sign-card h3 {
  font-size: 0.94rem;
  color: #fee2e2;
  margin-bottom: 0;
}

.emergency-sign-card p {
  font-size: 0.84rem;
  color: rgba(254,226,226,0.78);
  line-height: 1.6;
}

.emergency-steps {
  display: grid;
  gap: 10px;
}

.emergency-steps li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(239,68,68,0.18);
  background: linear-gradient(145deg, rgba(239,68,68,0.07), rgba(8,14,23,0.1));
}

.emergency-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(248,113,113,0.38);
  background: linear-gradient(145deg, rgba(239,68,68,0.18), rgba(127,29,29,0.12));
  color: #fca5a5;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.emergency-steps h3 {
  font-size: 0.9rem;
  color: rgba(255,237,237,0.94);
  margin-bottom: 4px;
}

.emergency-steps p {
  font-size: 0.82rem;
  color: rgba(255,237,237,0.68);
  line-height: 1.6;
}

.faq-urgent-note {
  margin: -2px 0 18px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(248,113,113,0.34);
  background: linear-gradient(145deg, rgba(239,68,68,0.16), rgba(127,29,29,0.2));
  color: rgba(255,237,237,0.9);
  font-size: 0.82rem;
  line-height: 1.5;
  font-weight: 600;
}

.faq-urgent-note a {
  color: #ffffff;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(252,165,165,0.7);
  text-underline-offset: 2px;
}

.emergency-bottom-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px max(6%, calc(50% - 640px));
  border-top: 1px solid rgba(248,113,113,0.2);
  border-bottom: 1px solid rgba(248,113,113,0.16);
  background: linear-gradient(145deg, rgba(127,29,29,0.34), rgba(8,14,23,0.95));
}

.emergency-bottom-cta p {
  font-size: 0.95rem;
  color: rgba(254,226,226,0.9);
  font-weight: 600;
}

.emergency-bottom-cta a {
  text-decoration: none;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(248,113,113,0.52);
  background: linear-gradient(145deg, rgba(239,68,68,0.38), rgba(127,29,29,0.48));
}

.emergency-bottom-cta a:hover {
  border-color: rgba(252,165,165,0.7);
}

@media (max-width: 900px) {
  .emergency-hero {
    min-height: auto;
    padding: 52px 5% 50px;
  }

  .emergency-hero-mark {
    right: 5%;
    width: clamp(120px, 26vw, 170px);
    top: 58px;
    transform: none;
    opacity: 0.5;
  }

  .emergency-signs,
  .emergency-process {
    padding: 56px 5%;
  }

  .emergency-signs-grid {
    grid-template-columns: 1fr;
  }

  .emergency-steps li {
    grid-template-columns: 1fr;
  }

  .emergency-bottom-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 5%;
  }

  .emergency-bottom-cta a {
    justify-content: center;
  }
}

/* ── EMERGENCY PAGE: GLOBAL TOKEN OVERRIDES ──────────── */

/* Section overline tags — red instead of blue */
.emergency-signs .sec-overline,
.emergency-process .sec-overline,
.emergency-faq .sec-overline {
  color: #f87171;
}

/* FAQ card — red-tinted instead of blue */
.emergency-faq .faq-col {
  background: linear-gradient(145deg, rgba(239,68,68,0.12), rgba(8,14,23,0.14));
  border-color: rgba(248,113,113,0.3);
  box-shadow: 0 16px 34px rgba(127,29,29,0.2);
}

.emergency-faq .faq-col::before {
  background: linear-gradient(90deg, transparent, rgba(248,113,113,0.28), transparent);
}

/* Expand/collapse icon — red tones */
.emergency-faq details[open] {
  background: linear-gradient(145deg, rgba(239,68,68,0.14), rgba(8,14,23,0.16));
  border-bottom-color: rgba(248,113,113,0.32);
}

.emergency-faq summary::after {
  color: #fca5a5;
  border-color: rgba(248,113,113,0.32);
  background: linear-gradient(145deg, rgba(239,68,68,0.14), rgba(8,14,23,0.08));
  box-shadow: inset 0 1px 0 rgba(254,226,226,0.16);
}

.emergency-faq summary:hover {
  background: rgba(239,68,68,0.08);
  color: rgba(255,237,237,0.9);
}

/* FAQ answer text — warm cream */
.emergency-faq .faq-answer {
  color: rgba(255,237,237,0.74);
}

@media (max-width: 560px) {
  .emergency-hero-mark {
    display: none;
  }

  .emergency-primary-call {
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
  }

  .emergency-primary-label {
    display: none;
  }

  .emergency-primary-sep {
    display: none;
  }
}
