/* KTE dark RFP consultation banner (services.html) */
.kte-rfp {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0b0d10;
}

.kte-rfp__plate {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 35% center;
}

.kte-rfp__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin-inline: auto;
  padding: 2rem 1.25rem 2.75rem;
}

.kte-rfp__content {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 620px;
  margin-inline: auto;
}

.kte-rfp__title {
  margin: 0;
  font-size: clamp(23px, 6vw, 44px);
  font-weight: 900;
  line-height: 1.55;
  color: #f4f6f8;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .55);
}

.kte-rfp__title::before {
  content: "";
  display: block;
  width: 66px;
  height: 3px;
  border-radius: 2px;
  background: #ef2b3d;
  margin-inline-end: auto;
  margin-bottom: 1rem;
}

.kte-rfp__title span {
  color: #ef2b3d;
}

.kte-rfp__lead {
  margin: 0;
  font-size: clamp(14px, 2.6vw, 17px);
  line-height: 2.1;
  color: #b8bfca;
  text-align: justify;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .6);
}

.kte-rfp__rule {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 520px;
  gap: 0;
}

.kte-rfp__rule span {
  height: 2px;
  flex: 1;
  background: linear-gradient(90deg, rgba(239, 43, 61, .65), rgba(255, 255, 255, .14));
}

.kte-rfp__rule span:last-child {
  background: linear-gradient(90deg, rgba(255, 255, 255, .14), rgba(239, 43, 61, .65));
}

.kte-rfp__rule i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef2b3d;
  box-shadow: 0 0 0 5px rgba(239, 43, 61, .18);
  flex: none;
}

.kte-rfp__btns {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}

.kte-rfp__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.7rem;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.kte-rfp__btn .material-symbols-outlined {
  font-size: 20px;
  line-height: 1;
}

.kte-rfp__btn--primary {
  color: #fff;
  background: linear-gradient(112deg, #f0384a 0%, #d31324 55%, #8f0d18 100%);
  box-shadow: 0 14px 30px rgba(211, 19, 36, .38);
}

.kte-rfp__btn--primary:hover,
.kte-rfp__btn--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(239, 43, 61, .5);
}

.kte-rfp__btn--ghost {
  color: #f1f3f5;
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.kte-rfp__btn--ghost:hover,
.kte-rfp__btn--ghost:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .14);
  border-color: rgba(239, 43, 61, .55);
}

@media (min-width: 1024px) {
  .kte-rfp__plate {
    position: relative;
    z-index: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
  }

  .kte-rfp__inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    max-width: none;
    padding: 0 clamp(1.5rem, 3.4vw, 3.5rem);
  }

  .kte-rfp__content {
    margin-inline-start: 0;
    margin-inline-end: auto;
    max-width: min(48vw, 900px);
    gap: 1.3rem;
  }

  .kte-rfp__title {
    font-size: clamp(30px, 2.9vw, 46px);
  }
}

@media (min-width: 1440px) {
  /* keep the banner under one screen: cap the plate height and let cover crop the excess */
  .kte-rfp__plate {
    height: min(56.25vw, 820px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .kte-rfp__btn {
    transition: none;
  }

  .kte-rfp__btn:hover,
  .kte-rfp__btn:focus-visible {
    transform: none;
  }
}
