.tm-servx-page {
  padding: 0 0 84px;
  overflow: hidden;
}

.tm-servx-page *,
.tm-servx-page *::before,
.tm-servx-page *::after {
  box-sizing: border-box;
}

.tm-servx-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.tm-servx-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #fff;
  margin: 0 0 24px;
  isolation: isolate;
}

.tm-servx-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.tm-servx-hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: .14;
  transform: scale(1.04);
}

.tm-servx-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(700px 380px at 85% 20%, rgba(30, 73, 199, .42), transparent 65%),
    radial-gradient(520px 320px at 8% 90%, rgba(255, 138, 30, .14), transparent 60%),
    linear-gradient(90deg, rgba(10, 22, 51, .97) 0%, rgba(10, 22, 51, .9) 48%, rgba(10, 22, 51, .82) 100%);
}

.tm-servx-hero__inner {
  position: relative;
  z-index: 2;
  padding: 82px 0 74px;
  max-width: 800px;
}

.tm-servx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tm-servx-eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: var(--tm-color-orange);
}

.tm-servx-hero .tm-servx-eyebrow {
  color: #dbe4ff;
}

.tm-servx-hero__title {
  margin: 0;
  font-size: clamp(2.2rem, 4.8vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.tm-servx-hero__subtitle {
  margin: 20px 0 0;
  max-width: 650px;
  font-size: 18px;
  line-height: 1.72;
  color: #c9d3e8;
}

.tm-servx-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tm-servx-hero__badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #dce4f5;
  font-size: 13.5px;
  font-weight: 600;
}


.tm-servx-breadcrumb {
  padding: 12px 0 22px;
}

.tm-servx-breadcrumb__list {
  margin: 0;
  background: transparent;
}

.tm-servx-breadcrumb__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
}


.tm-servx-breadcrumb__current {
  font-weight: 700;
}

.tm-servx-section {
  padding: 0 0 72px;
}

.tm-servx-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.tm-servx-section__intro {
  max-width: 760px;
}

.tm-servx-section__title {
  margin: 0;
  font-size: clamp(1.95rem, 3.2vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.tm-servx-section__subtitle {
  margin: 12px 0 0;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.7;
}

.tm-servx-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tm-servx-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--tm-color-border);
  border-radius: 18px;
  background: #fff;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}

.tm-servx-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--tm-color-blue-rgb), .55);
  box-shadow: 0 14px 36px rgba(30, 73, 199, .18), 0 4px 14px rgba(255, 138, 30, .12);
}

.tm-servx-card:focus-within {
  outline: 3px solid var(--tm-color-orange);
  outline-offset: 3px;
}

.tm-servx-card__media {
  position: relative;
  aspect-ratio: 8 / 4.6;
}

.tm-servx-card__cover {
  aspect-ratio: 8 / 4.6;
}

.tm-servx-card__cover-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tm-servx-card__cover--blue {
  background: linear-gradient(135deg, #1E49C7, #4A74E8);
}

.tm-servx-card__cover--orange {
  background: linear-gradient(135deg, #E8760A, #FFB25C);
}

.tm-servx-card__cover--green {
  background: linear-gradient(135deg, #0E9F6E, #3BC492);
}

.tm-servx-card__cover--violet {
  background: linear-gradient(135deg, #7C3AED, #A78BFA);
}

.tm-servx-card__icon {
  position: absolute;
  left: 16px;
  bottom: -22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 4px solid #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: var(--tm-color-navy);
  color: var(--tm-color-white);
  box-shadow: 0 8px 20px rgba(var(--tm-color-navy-rgb), .2);
}

.tm-servx-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 34px 18px 18px;
}

.tm-servx-card__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.18;
  font-weight: 800;
}

.tm-servx-card__desc {
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.68;
  min-height: 68px;
}


.tm-servx-card__price {
  margin-top: 16px;
  padding: 14px 15px;
  border-radius: 16px;
}

.tm-servx-card__price-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.tm-servx-card__price-value {
  display: block;
  margin-top: 5px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
}

.tm-servx-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tm-servx-card__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}

.tm-servx-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--tm-color-blue);
  color: var(--tm-color-white);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}

.tm-servx-card__cta::after {
  content: "";
  position: absolute;
  inset: 0;
}

.tm-servx-card__cta:hover {
  background: var(--tm-color-navy-light);
  color: var(--tm-color-white);
  transform: translateY(-1px);
}

.tm-servx-card__cta:focus-visible {
  outline: none;
}

.tm-servx-empty {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 34px 28px;
  border-radius: 24px;
}

.tm-servx-empty__icon {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 28px;
}

.tm-servx-empty__title {
  margin: 0;
  font-size: 28px;
}

.tm-servx-empty__text {
  margin: 8px 0 0;
  max-width: 540px;
  font-size: 15px;
  line-height: 1.7;
}

.tm-servx-reassurance {
  padding: 2px 0 74px;
}

.tm-servx-reassurance__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.tm-servx-reassurance__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--tm-color-border);
  border-radius: 16px;
  background: var(--tm-color-white);
  box-shadow: var(--tm-shadow-sm);
}

.tm-servx-reassurance__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  border: 1px solid rgba(var(--tm-color-navy-rgb), .14);
  background: var(--tm-color-blue-soft);
  color: var(--tm-color-navy);
}

.tm-servx-reassurance__item h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}

.tm-servx-reassurance__item p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.6;
}

.tm-servx-banner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
  padding: 56px;
  border: 1px solid rgba(var(--tm-color-blue-rgb), .35);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--tm-color-navy) 0%, var(--tm-color-navy-light) 62%, var(--tm-color-blue) 100%);
  color: #fff;
  box-shadow: var(--tm-shadow-lg);
}

.tm-servx-banner::before {
  content: "";
  position: absolute;
  right: 40px;
  bottom: -110px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 138, 30, .25);
}

.tm-servx-banner::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}

.tm-servx-banner__content,
.tm-servx-banner__actions {
  position: relative;
  z-index: 1;
}

.tm-servx-banner__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tm-color-orange);
}

.tm-servx-banner__title {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.tm-servx-banner__desc {
  margin: 12px 0 0;
  max-width: 520px;
  color: #d7e0f8;
  font-size: 16px;
  line-height: 1.7;
}

.tm-servx-banner__features {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 600;
}

.tm-servx-banner__features span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tm-servx-banner__features i {
  color: #ffb25c;
}

.tm-servx-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.tm-servx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 25px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.tm-servx-btn:hover {
  transform: translateY(-1px);
}

.tm-servx-btn--primary {
  background: #fff;
  color: var(--tm-color-navy);
}

.tm-servx-btn--primary:hover {
  background: var(--tm-color-orange);
  color: var(--tm-color-navy);
  box-shadow: 0 10px 24px rgba(255, 255, 255, .22);
}

.tm-servx-btn--outline {
  border: 1.5px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.05);
  color: #fff;
}

.tm-servx-btn--outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,.1);
  color: #fff;
}

.tm-servx-page a:focus-visible,
.tm-servx-page button:focus-visible {
  outline-offset: 3px;
  border-radius: 10px;
}

@media (max-width: 1200px) {
  .tm-servx-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .tm-servx-hero__inner {
    padding: 64px 0 60px;
  }

  .tm-servx-reassurance__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-servx-banner {
    grid-template-columns: 1fr;
    padding: 42px;
  }

  .tm-servx-banner__actions {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .tm-servx-shell {
    width: min(100% - 24px, 1200px);
  }

  .tm-servx-hero__inner {
    padding: 50px 0 48px;
  }

  .tm-servx-hero__subtitle {
    font-size: 16px;
  }

  .tm-servx-grid {
    grid-template-columns: 1fr;
  }

  .tm-servx-empty {
    flex-direction: column;
    text-align: center;
  }

  .tm-servx-reassurance__grid {
    grid-template-columns: 1fr;
  }

  .tm-servx-banner {
    padding: 34px 22px;
  }
}
