/* KTE core-services section (index.html) — glass cards over the office plate */
.kte-svc {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #eef1f4;
}

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

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

.kte-svc__head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.25rem 1rem;
}

.kte-svc__head::before {
  content: "";
  position: absolute;
  inset: -10% -6%;
  background: radial-gradient(60% 70% at 50% 50%, rgba(255, 255, 255, .82), rgba(255, 255, 255, 0) 72%);
  filter: blur(6px);
  z-index: -1;
}

.kte-svc__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem 1.15rem;
  border-radius: 999px;
  background: rgba(254, 226, 226, .78);
  color: #b91c1c;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(185, 28, 28, .10);
}

.kte-svc__eyebrow i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dc2626;
  display: inline-block;
}

.kte-svc__title {
  margin: 0;
  font-size: clamp(22px, 5.4vw, 40px);
  font-weight: 900;
  line-height: 1.5;
  color: #16233a;
}

.kte-svc__title em {
  font-style: normal;
  color: #dc2626;
}

.kte-svc__subtitle {
  margin: 0;
  font-size: clamp(13px, 2.2vw, 16px);
  font-weight: 700;
  line-height: 1.9;
  color: #64748b;
}

.kte-svc__rule {
  display: flex;
  align-items: center;
  gap: 0;
  width: min(280px, 70%);
  margin-top: .25rem;
}

.kte-svc__rule span {
  height: 2px;
  flex: 1;
  background: linear-gradient(90deg, rgba(220, 38, 38, 0), rgba(220, 38, 38, .55));
}

.kte-svc__rule span:last-child {
  background: linear-gradient(90deg, rgba(220, 38, 38, .55), rgba(220, 38, 38, 0));
}

.kte-svc__rule i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, .16);
  flex: none;
}

.kte-svc__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.kte-svc__card {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: 1.5rem 1.35rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(18px) saturate(.7) brightness(1.03);
  backdrop-filter: blur(18px) saturate(.7) brightness(1.03);
  box-shadow: 0 16px 34px rgba(15, 23, 42, .09);
  color: inherit;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}

.kte-svc__card:hover,
.kte-svc__card:focus-visible {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .93);
  -webkit-backdrop-filter: blur(20px) saturate(.64) brightness(1.04);
  backdrop-filter: blur(20px) saturate(.64) brightness(1.04);
  border-color: rgba(220, 38, 38, .28);
  box-shadow: 0 28px 56px rgba(185, 28, 28, .17);
}

.kte-svc__icon {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(254, 226, 226, .85);
  color: #dc2626;
  align-self: flex-start;
  transition: transform .22s ease, background .22s ease;
}

.kte-svc__card:hover .kte-svc__icon {
  transform: scale(1.08);
  background: rgba(254, 215, 215, .95);
}

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

.kte-svc__card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.6;
  color: #16233a;
}

.kte-svc__card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 2;
  color: #5b6b82;
}

.kte-svc__more {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: .35rem;
  font-size: 13.5px;
  font-weight: 800;
  color: #dc2626;
}

.kte-svc__more i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(254, 226, 226, .9);
  transition: transform .22s ease, background .22s ease;
}

.kte-svc__more i .material-symbols-outlined {
  font-size: 17px;
  line-height: 1;
}

.kte-svc__card:hover .kte-svc__more i {
  transform: translateX(-4px);
  background: rgba(220, 38, 38, .14);
}

@media (min-width: 640px) {
  .kte-svc__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .kte-svc__plate {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    z-index: -1;
  }

  .kte-svc__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .kte-svc__card {
    padding: 1.5rem 1.3rem;
  }

  .kte-svc__inner {
    max-width: 1180px;
    width: auto;
    margin-inline: auto;
    padding: 3.25rem 1.5rem 3.75rem;
  }
}

@media (min-width: 1280px) {
  .kte-svc__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .kte-svc__card {
    padding: 1.65rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kte-svc__card,
  .kte-svc__icon,
  .kte-svc__more i {
    transition: none;
  }

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

  .kte-svc__card:hover .kte-svc__icon,
  .kte-svc__card:hover .kte-svc__more i {
    transform: none;
  }
}
