.nw-prefooter-cta,
.nw-prefooter-cta * {
  box-sizing: border-box;
}

.nw-prefooter-cta {
  --nw-prefooter-bg-1: #F5593D;
  --nw-prefooter-bg-2: #FF6549;
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 200px;
  overflow: hidden;
  padding: 34px 48px;
  border-radius: 24px;
  background: linear-gradient(110deg, var(--nw-prefooter-bg-1) 0%, var(--nw-prefooter-bg-2) 100%);
  box-shadow: 0 20px 44px rgba(27, 27, 27, 0.12);
  color: #FFFFFF;
}

.nw-prefooter-cta__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .7fr) minmax(240px, .7fr);
  align-items: center;
  gap: 24px;
  min-height: 100%;
}

.nw-prefooter-cta__text-block {
  max-width: 520px;
}

.nw-prefooter-cta__title {
  margin: 0;
  color: #FFFFFF;
  font-size: clamp(34px, 3.1vw, 58px);
  font-weight: 850;
  line-height: .96;
  letter-spacing: -.04em;
}

.nw-prefooter-cta__description {
  margin-top: 16px;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
}

.nw-prefooter-cta__button-wrap {
  display: flex;
  justify-content: center;
}

.nw-prefooter-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  min-height: 58px;
  max-width: 100%;
  padding: 18px 28px;
  border-radius: 14px;
  background: #1F2126;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.nw-prefooter-cta__button:hover {
  transform: translateY(-2px);
  color: #FFFFFF;
  background: #17191D;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.nw-prefooter-cta__phone-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding-left: 24px;
  border-left: 1px solid rgba(255,255,255,.26);
}

.nw-prefooter-cta__phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,.14);
  color: #FFFFFF;
  backdrop-filter: blur(4px);
}

.nw-prefooter-cta__phone-icon svg {
  width: 24px;
  height: 24px;
}

.nw-prefooter-cta__phone-meta {
  min-width: 0;
}

.nw-prefooter-cta__phone {
  display: inline-block;
  color: #FFFFFF;
  font-size: 19px;
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
}

.nw-prefooter-cta__phone:hover {
  color: #FFFFFF;
}

.nw-prefooter-cta__phone-caption {
  margin-top: 8px;
  color: rgba(255,255,255,.92);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.nw-prefooter-cta__shape {
  position: absolute;
  z-index: 1;
  display: block;
  pointer-events: none;
}

.nw-prefooter-cta__shape--one {
  top: -18px;
  right: 84px;
  width: 142px;
  height: 98px;
  background: rgba(255,255,255,.08);
  clip-path: polygon(0 100%, 60% 0, 100% 22%, 40% 100%);
  transform: rotate(-10deg);
}

.nw-prefooter-cta__shape--two {
  right: -32px;
  top: -12px;
  width: 168px;
  height: calc(100% + 24px);
  background: linear-gradient(180deg, rgba(255,255,255,.11) 0%, rgba(255,255,255,.05) 100%);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
}

@media (max-width: 1200px) {
  .nw-prefooter-cta__grid {
    grid-template-columns: minmax(0, 1fr) minmax(240px, .7fr) minmax(220px, .7fr);
    gap: 20px;
  }

  .nw-prefooter-cta__button {
    min-width: 270px;
  }

  .nw-prefooter-cta__phone {
    font-size: 17px;
  }
}

@media (max-width: 1024px) {
  .nw-prefooter-cta {
    padding: 30px 32px;
  }

  .nw-prefooter-cta__grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 20px;
  }

  .nw-prefooter-cta__button-wrap {
    justify-content: flex-start;
  }

  .nw-prefooter-cta__phone-wrap {
    padding-left: 0;
    border-left: 0;
  }

  .nw-prefooter-cta__shape--one {
    right: 24px;
    width: 104px;
    height: 74px;
  }

  .nw-prefooter-cta__shape--two {
    width: 128px;
  }
}

@media (max-width: 767px) {
  .nw-prefooter-cta {
    min-height: auto;
    padding: 24px 20px;
    border-radius: 20px;
  }

  .nw-prefooter-cta__title {
    font-size: 34px;
  }

  .nw-prefooter-cta__description {
    line-height: 1.4;
  }

  .nw-prefooter-cta__button {
    width: 100%;
    min-width: 0;
  }

  .nw-prefooter-cta__phone-wrap {
    gap: 14px;
  }

  .nw-prefooter-cta__phone-icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .nw-prefooter-cta__phone {
    font-size: 18px;
    white-space: normal;
  }

  .nw-prefooter-cta__phone-caption {
    margin-top: 6px;
    font-size: 14px;
  }
}
