/* ==========================================================================
   Emergency dark band
   Figma section frame: 1920×853 at page top 9137, opacity 1
   Circle: 700×700 at page top 9137 / left 123 (section-relative top 0)
   ========================================================================== */

.emergency-banner {
  --emb-w: 1920px;
  --emb-h: 853px;
  --emb-canvas: 1920px;
  --emb-canvas-offset: calc((min(100vw, var(--emb-canvas)) - var(--emb-canvas)) / 2);
  --emb-yellow: #ffb81c;
  --emb-blue: #1c4ed8;
  --emb-page-top: 9137px;
  --emb-circle-w: 700px;
  --emb-circle-h: 700px;
  --emb-circle-page-top: 9137px;
  --emb-circle-page-left: 123px;
  --emb-circle-top: calc(var(--emb-circle-page-top) - var(--emb-page-top));
  --emb-title-w: 658px;
  --emb-title-h: 144px;
  --emb-title-page-top: 9287px;
  --emb-title-page-left: 1010px;
  --emb-title-top: calc(var(--emb-title-page-top) - var(--emb-page-top));
  --emb-title-left: max(16px, calc(var(--emb-canvas-offset) + var(--emb-title-page-left)));
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: var(--emb-h);
  min-height: var(--emb-h);
  overflow: hidden;
  opacity: 1;
  color: #fff;
}

/* Figma circle: 700×700 at page top 9137 / left 123, opacity 1 */
.emergency-banner__circle {
  position: absolute;
  top: var(--emb-circle-top);
  left: max(16px, calc(var(--emb-canvas-offset) + var(--emb-circle-page-left)));
  z-index: 1;
  box-sizing: border-box;
  width: var(--emb-circle-w);
  min-width: var(--emb-circle-w);
  max-width: var(--emb-circle-w);
  height: var(--emb-circle-h);
  min-height: var(--emb-circle-h);
  max-height: var(--emb-circle-h);
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  opacity: 1;
  transform: rotate(0deg);
  pointer-events: none;
}

.emergency-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.emergency-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}

.emergency-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(11, 27, 52, .08) 0%,
    rgba(11, 27, 52, .42) 42%,
    rgba(11, 27, 52, .78) 68%,
    rgba(11, 27, 52, .86) 100%
  );
}

.emergency-banner__inner {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  max-width: none;
  height: var(--emb-h);
  min-height: var(--emb-h);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.emergency-banner__content {
  width: min(100%, 640px);
  height: 100%;
  padding: 60px 0 60px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.emergency-banner__title {
  position: relative;
  top: auto;
  left: auto;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: var(--emb-title-w);
  height: auto;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  opacity: 1;
  transform: none;
  text-align: left;
  font-family: 'Gilroy-ExtraBoldItalic', var(--display);
  font-weight: 400;
  font-style: italic;
  font-synthesis: style;
  font-size: 54px;
  line-height: 72px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #fff;
}

.emergency-banner__title-line {
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 72px;
  white-space: nowrap;
  font-family: inherit;
  font-weight: inherit;
  font-style: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.emergency-banner__badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 16px 6px;
  background: #fab72a;
  color: #fff;
  font-family: inherit;
  font-weight: inherit;
  font-style: inherit;
  font-size: inherit;
  line-height: 1;
  letter-spacing: inherit;
  text-transform: inherit;
  vertical-align: baseline;
}

.emergency-banner__lead-row {
  margin: 0;
}

.emergency-banner__text {
  position: absolute;
  top: calc(var(--emb-title-top) + var(--emb-title-h));
  left: var(--emb-title-left);
  z-index: 4;
  box-sizing: border-box;
  width: min(100%, 670px);
  max-width: 670px;
  margin: 0;
  padding: 15px 0 0;
  text-align: left;
  font-family: 'Gilroy-Medium', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0;
  color: #fff;
}

.emergency-banner__pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.emergency-banner__pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  color: var(--navy);
  border-radius: 14px;
  font-family: 'Gilroy-SemiBold', var(--display);
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: 0;
  box-shadow: 0 2px 10px rgba(11, 27, 52, .1);
}

.emergency-banner__pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--emb-yellow);
  flex-shrink: 0;
}

.emergency-banner__pill-icon svg {
  width: 18px;
  height: 18px;
  color: var(--navy);
}

.emergency-banner__ico-24 {
  font-family: var(--display);
  font-size: .82rem;
  font-weight: 900;
  line-height: 1;
  color: var(--navy);
}

.emergency-banner__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.emergency-banner__btn {
  border-radius: 50px;
  padding: 14px 28px;
  font-family: 'Baloo Chettan', var(--display);
  font-weight: 400;
  font-size: 20px;
  line-height: 26px;
  letter-spacing: 0;
  box-shadow: 0 2px 12px rgba(11, 27, 52, .18);
}

.emergency-banner__btn .ic {
  width: 18px;
  height: 18px;
}

.emergency-banner__btn--call {
  background: var(--emb-yellow);
  color: var(--navy);
}

.emergency-banner__btn--call:hover {
  background: #e8a50f;
}

.emergency-banner__btn--call .ic {
  color: var(--navy);
}

.emergency-banner__btn--help {
  background: var(--emb-blue);
  color: #fff;
}

.emergency-banner__btn--help:hover {
  background: var(--blue-600);
}

.emergency-banner__btn--help .ic {
  color: #fff;
}

/* ------------------------------- Responsive ------------------------------- */

@media (min-width: 1025px) {
  .emergency-banner {
    background: #08162b;
  }

  .emergency-banner__circle {
    display: block;
    opacity: .16;
  }

  .emergency-banner__overlay {
    background: linear-gradient(
      90deg,
      rgba(7, 18, 35, .90) 0%,
      rgba(7, 18, 35, .82) 28%,
      rgba(7, 18, 35, .66) 55%,
      rgba(7, 18, 35, .86) 100%
    );
  }

  .emergency-banner__inner {
    position: relative;
    inset: auto;
    justify-content: flex-end;
    align-items: flex-start;
    width: 100%;
    max-width: none;
    height: var(--emb-h);
    min-height: var(--emb-h);
    margin: 0;
    padding: 34px clamp(28px, 5vw, 92px) 44px 32px;
  }

  .emergency-banner__content {
    width: min(100%, 720px);
    padding: 0;
    margin: 0;
  }

  .emergency-banner__stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .emergency-banner__title {
    position: static;
    width: auto;
    min-width: 0;
    max-width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    margin: 0;
    font-family: var(--display);
    font-weight: 700;
    font-style: normal;
    font-size: clamp(42px, 3.15vw, 54px);
    line-height: 1.08;
    letter-spacing: -.04em;
    text-transform: uppercase;
  }

  .emergency-banner__title-line {
    height: auto;
    white-space: normal;
    line-height: inherit;
  }

  .emergency-banner__title-line + .emergency-banner__title-line {
    margin-top: 6px;
  }

  .emergency-banner__badge {
    margin-left: 10px;
    padding: 2px 14px 5px;
    vertical-align: baseline;
  }

  .emergency-banner__text {
    position: static;
    width: 100%;
    max-width: 670px;
    margin: 16px 0 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.6;
  }

  .emergency-banner__pills {
    width: min(100%, 616px);
    margin: 16px 0 0;
    gap: 12px;
  }

  .emergency-banner__pill {
    min-height: 62px;
    padding: 14px 18px;
    border-radius: 14px;
    font-family: 'Gilroy-SemiBold', var(--display);
    font-weight: 400;
    font-size: clamp(14px, 1.1vw, 20px);
    line-height: 32px;
    letter-spacing: 0;
  }

  .emergency-banner__pill-label {
    line-height: 32px;
  }

  .emergency-banner__acts {
    margin-top: 18px;
    gap: 16px;
  }

  .emergency-banner__btn {
    min-height: 56px;
    padding: 14px 28px;
    font-family: 'Baloo Chettan', var(--display);
    font-weight: 400;
    font-size: clamp(14px, 1.1vw, 20px);
    line-height: 26px;
    letter-spacing: 0;
  }
}

@media (max-width: 1024px) {
  .emergency-banner {
    --emb-h: auto;
    height: auto;
    min-height: 0;
  }

  .emergency-banner__circle {
    top: 50%;
    left: 50%;
    width: min(560px, 92vw);
    min-width: 0;
    max-width: none;
    height: min(560px, 92vw);
    min-height: 0;
    max-height: none;
    transform: translate(-50%, -50%) rotate(0deg);
  }

  .emergency-banner__inner {
    position: relative;
    inset: auto;
    justify-content: center;
    height: auto;
    min-height: 0;
    padding: 48px 18px;
  }

  .emergency-banner__title {
    position: static;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    margin: 0 0 20px;
    transform: none;
    text-align: left;
  }

  .emergency-banner__title-line {
    height: auto;
    min-height: 72px;
    white-space: normal;
    padding-left: 0;
    text-align: left;
  }

  .emergency-banner__content {
    padding: 48px 24px;
    text-align: left;
    justify-content: center;
  }

  .emergency-banner__lead-row {
    text-align: left;
  }

  .emergency-banner__text {
    position: static;
    width: 100%;
    max-width: 100%;
    margin: 0 0 22px;
    padding-top: 15px;
    text-align: left;
  }

  .emergency-banner__pills {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .emergency-banner__acts {
    justify-content: center;
  }

  .emergency-banner__bg img {
    object-position: center center;
  }

  .emergency-banner__overlay {
    background: linear-gradient(
      180deg,
      rgba(11, 27, 52, .55) 0%,
      rgba(11, 27, 52, .82) 100%
    );
  }
}

@media (max-width: 768px) {
  .emergency-banner__inner {
    padding: 40px 16px;
    align-items: center;
    justify-content: center;
  }

  .emergency-banner__content {
    width: 100%;
    max-width: 100%;
    padding: 0;
    align-items: center;
    text-align: center;
  }

  .emergency-banner__title {
    font-size: clamp(26px, 7vw, 42px);
    line-height: 1.2;
    text-align: center;
    max-width: 100%;
  }

  .emergency-banner__title-line {
    text-align: center;
  }

  .emergency-banner__text {
    font-size: clamp(14px, 3.5vw, 17px);
    line-height: 1.55;
    text-align: center;
    max-width: 100%;
  }

  .emergency-banner__pills {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    justify-content: center;
  }

  .emergency-banner__acts {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .emergency-banner__btn {
    font-size: clamp(14px, 3.8vw, 18px);
    padding: 12px 22px;
    min-height: 48px;
  }
}

@media (max-width: 600px) {
  .emergency-banner__inner {
    padding: 36px 14px;
  }

  .emergency-banner__title {
    font-size: clamp(22px, 7vw, 36px);
    line-height: 1.25;
  }

  .emergency-banner__title-line {
    height: auto;
    min-height: 0;
    white-space: normal;
    line-height: 1.25;
  }

  .emergency-banner__pills {
    grid-template-columns: 1fr;
  }

  .emergency-banner__acts {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .emergency-banner__btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .emergency-banner__inner {
    padding: 28px 12px;
  }

  .emergency-banner__content {
    padding: 0;
  }

  .emergency-banner__title {
    font-size: clamp(20px, 6.5vw, 30px);
    line-height: 1.25;
  }

  .emergency-banner__badge {
    font-size: clamp(13px, 4vw, 18px);
    padding: 2px 10px 4px;
    margin-left: 6px;
  }

  .emergency-banner__text {
    font-size: clamp(13px, 3.5vw, 16px);
    margin-top: 12px;
  }

  .emergency-banner__pill {
    font-size: clamp(12px, 3.5vw, 15px);
    min-height: 48px;
    padding: 10px 14px;
  }

  .emergency-banner__pill-icon {
    width: 30px;
    height: 30px;
  }

  .emergency-banner__acts {
    max-width: 280px;
    gap: 10px;
  }

  .emergency-banner__btn {
    font-size: clamp(13px, 4vw, 16px);
    padding: 11px 18px;
  }
}
