.xr-emergency-page .site-header {
  position: relative;
}

.xr-emergency-page .site-header__inner {
  min-height: 72px;
}

.site-header__emergency-call {
  min-height: 44px;
  padding: 12px 18px;
}

.xr-emergency {
  background: #f6f4f9;
}

.xr-emergency-hero {
  background: #0b0c10;
  color: #fff;
  overflow: hidden;
  padding-block: clamp(58px, 7vw, 104px);
  position: relative;
}

.xr-emergency-hero::before {
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
  pointer-events: none;
  position: absolute;
}

.xr-emergency-hero__orb {
  background: radial-gradient(circle, rgba(112, 56, 213, .58), rgba(86, 35, 166, .16) 42%, transparent 72%);
  border-radius: 50%;
  height: 980px;
  left: -450px;
  position: absolute;
  top: -480px;
  width: 980px;
}

.xr-emergency-hero__grid {
  align-items: center;
  display: grid;
  gap: clamp(46px, 7vw, 96px);
  grid-template-columns: minmax(0, 1fr) minmax(470px, .82fr);
  position: relative;
  z-index: 1;
}

.xr-emergency-hero__content h1 {
  color: #fff;
  font-size: clamp(3.1rem, 6.1vw, 6.3rem);
  letter-spacing: -.06em;
  line-height: .95;
}

.xr-emergency-hero__content > p {
  color: #c9cbd3;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.7;
  max-width: 670px;
}

.xr-emergency-phone {
  align-items: center;
  color: #fff;
  display: inline-flex;
  gap: 14px;
  margin: 18px 0 24px;
  text-decoration: none;
}

.xr-emergency-phone:hover {
  color: #d6c9ff;
}

.xr-emergency-phone__icon {
  background: linear-gradient(135deg, #5623a6, #7c4dff);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 16px;
  box-shadow: 0 14px 35px rgba(86, 35, 166, .35);
  height: 58px;
  padding: 15px;
  width: 58px;
}

.xr-emergency-phone > span:last-child {
  display: flex;
  flex-direction: column;
}

.xr-emergency-phone small {
  color: #aeb0ba;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.xr-emergency-phone strong {
  font-size: 1.36rem;
}

.xr-emergency-hero__list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.xr-emergency-hero__list li {
  align-items: center;
  color: #bfc1ca;
  display: flex;
  font-size: .82rem;
  gap: 9px;
}

.xr-emergency-hero__list .xr-icon {
  color: #ae8dff;
  height: 18px;
  width: 18px;
}

.xr-emergency-hero__form {
  scroll-margin-top: 20px;
}

.xr-emergency-hero__form .xr-lead-card {
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
  padding: clamp(27px, 3.5vw, 44px);
}

.xr-emergency-hero__form .xr-lead-card__heading h2 {
  font-size: clamp(1.7rem, 2.7vw, 2.45rem);
}

.xr-emergency-hero__form .xr-field input,
.xr-emergency-hero__form .xr-field select,
.xr-emergency-hero__form .xr-field textarea {
  min-height: 48px;
}

.xr-emergency-trust {
  background: #fff;
  border-bottom: 1px solid #dedfe5;
}

.xr-emergency-trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.xr-emergency-trust__grid > div {
  align-items: center;
  border-right: 1px solid #dedfe5;
  display: flex;
  gap: 13px;
  min-height: 100px;
  padding: 20px clamp(16px, 3vw, 34px);
}

.xr-emergency-trust__grid > div:first-child {
  border-left: 1px solid #dedfe5;
}

.xr-emergency-trust__grid .xr-icon,
.xr-emergency-trust__x {
  align-items: center;
  background: #eee8fb;
  border-radius: 12px;
  color: #5623a6;
  display: flex;
  font-size: 1.25rem;
  font-weight: 850;
  height: 42px;
  justify-content: center;
  padding: 9px;
  width: 42px;
}

.xr-emergency-trust__grid > div > span:last-child {
  display: flex;
  flex-direction: column;
}

.xr-emergency-trust strong {
  color: #111;
  font-size: .86rem;
}

.xr-emergency-trust small {
  color: #626978;
  font-size: .69rem;
}

.xr-emergency-services {
  background: #f6f4f9;
}

.xr-emergency-service-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.xr-emergency-service-grid a {
  align-items: center;
  background: #fff;
  border: 1px solid #dedfe5;
  border-radius: 18px;
  color: #252a34;
  display: flex;
  flex-direction: column;
  gap: 13px;
  justify-content: center;
  min-height: 150px;
  padding: 20px 12px;
  text-align: center;
  text-decoration: none;
  transition: border-color 220ms ease, color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.xr-emergency-service-grid a:hover {
  border-color: #5623a6;
  box-shadow: 0 18px 38px rgba(37, 42, 52, .08);
  color: #5623a6;
  transform: translateY(-4px);
}

.xr-emergency-service-grid .xr-icon {
  color: #5623a6;
  height: 34px;
  width: 34px;
}

.xr-emergency-service-grid strong {
  font-size: .78rem;
  line-height: 1.3;
}

.xr-emergency-steps {
  background: #101116;
  color: #fff;
}

.xr-emergency-steps__grid {
  align-items: start;
  display: grid;
  gap: clamp(50px, 8vw, 120px);
  grid-template-columns: .9fr 1.1fr;
}

.xr-emergency-steps h2 {
  color: #fff;
}

.xr-emergency-steps ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.xr-emergency-steps li {
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: grid;
  gap: 22px;
  grid-template-columns: 48px 1fr;
  padding: 24px 0;
}

.xr-emergency-steps li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.xr-emergency-steps li > span {
  color: #a98aff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.xr-emergency-steps h3 {
  color: #fff;
  font-size: 1.22rem;
  margin-bottom: 7px;
}

.xr-emergency-steps li p {
  color: #adb0ba;
  font-size: .86rem;
  margin: 0;
}

.xr-faq-section {
  background: #fff;
}

.xr-emergency-final {
  background: linear-gradient(135deg, #5623a6, #35116f);
  color: #fff;
  padding-block: clamp(62px, 8vw, 100px);
  text-align: center;
}

.xr-emergency-final p {
  color: #d6c9f5;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.xr-emergency-final h2 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

.xr-emergency-final .xr-shell > div {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 30px;
}

.xr-emergency-page .site-footer {
  padding-top: 54px;
}

@media (max-width: 1060px) {
  .xr-emergency-hero__grid {
    gap: 42px;
    grid-template-columns: minmax(0, 1fr) minmax(430px, .92fr);
  }

  .xr-emergency-service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 880px) {
  .xr-emergency-hero__grid,
  .xr-emergency-steps__grid {
    grid-template-columns: 1fr;
  }

  .xr-emergency-hero__content {
    max-width: 760px;
  }

  .xr-emergency-hero__form {
    max-width: 680px;
  }
}

@media (max-width: 640px) {
  .xr-emergency-page .xr-alert-bar__credential {
    display: inline-flex;
  }

  .xr-emergency-page .xr-alert-bar__phone {
    display: none;
  }

  .site-header__emergency-call {
    font-size: .78rem;
    min-height: 42px;
    padding: 10px 14px;
  }

  .site-header__emergency-call .xr-icon {
    display: none;
  }

  .xr-emergency-hero {
    padding-block: 52px 64px;
  }

  .xr-emergency-hero__content h1 {
    font-size: clamp(2.8rem, 13.6vw, 4.45rem);
  }

  .xr-emergency-phone {
    margin-top: 8px;
  }

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

  .xr-emergency-trust__grid > div,
  .xr-emergency-trust__grid > div:first-child {
    border: 0;
    border-bottom: 1px solid #dedfe5;
    min-height: 82px;
    padding-inline: 4px;
  }

  .xr-emergency-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .xr-emergency-service-grid a {
    min-height: 132px;
  }
}

