/**
 * Trường Minh BPO theme styles
 * Source of truth: DESIGN.md
 */

:root {
  /* Typography — Inter */
  --font-family-primary: Inter, system-ui, sans-serif;
  --font-family-stack: var(--font-family-primary);

  /*
   * Type scale (desktop targets):
   * H1 52 · H2 40 · H3 32 · H4 26 · H5 20 · H6 18 · p 16
   * Tablet/mobile via clamp.
   */
  --fs-h1: clamp(2rem, 1.15rem + 3.6vw, 3.25rem); /* 32 → 52 */
  --fs-h2: clamp(1.75rem, 1.2rem + 2.4vw, 2.5rem); /* 28 → 40 */
  --fs-h3: clamp(1.5rem, 1.15rem + 1.6vw, 2rem); /* 24 → 32 */
  --fs-h4: clamp(1.25rem, 1.05rem + 1vw, 1.625rem); /* 20 → 26 */
  --fs-h5: clamp(1.125rem, 1.05rem + 0.45vw, 1.25rem); /* 18 → 20 */
  --fs-h6: clamp(1rem, 0.96rem + 0.3vw, 1.125rem); /* 16 → 18 */
  --fs-body: 1rem; /* 16 */
  --fs-body-sm: 0.875rem; /* 14 */
  --fs-eyebrow: 0.875rem; /* 14 */

  /* Legacy aliases → type scale */
  --font-size-xs: 12px;
  --font-size-sm: 12px;
  --font-size-md: 13px;
  --font-size-lg: 14px;
  --font-size-xl: 15px;
  --font-size-2xl: 16px;
  --font-size-3xl: 18px;
  --font-size-4xl: 20px;
  --font-size-base: var(--fs-body);
  --font-weight-base: 400;
  --font-line-height-base: 1.6;
  --lh-heading: 1.22;

  --fs-heading: var(--fs-h2);
  --fs-body-lg: var(--fs-h6);
  --fs-card-title: var(--fs-h5);
  --fs-stat-number: clamp(2.25rem, 4vw, 3.75rem);
  --fs-stat-label: var(--fs-h6);
  --color-text-muted: #5c6773;

  /* Brand */
  --color-brand: #0062a5;
  --color-brand-dark: #004e84;
  --color-brand-deeper: #003a62;
  --color-accent: #64af53;
  --color-accent-strong: #2a9e5c;
  --color-accent-teal: #038590;

  /* Color */
  --color-text-primary: #181c14;
  --color-text-secondary: #ffffff;
  --color-text-tertiary: var(--color-brand);
  --color-surface-muted: var(--color-accent);
  --color-surface-base: #000000;
  --color-surface-raised: #f8fafa;
  --color-surface-canvas: #ffffff;
  --color-border-subtle: #dbe3df;
  --tm-navy: var(--color-brand);
  --tm-green: var(--color-accent);

  /* Spacing */
  --space-1: 5px;
  --space-2: 7px;
  --space-3: 10px;
  --space-4: 14px;
  --space-5: 15px;
  --space-6: 20px;
  --space-7: 24px;
  --space-8: 25px;

  /* Radius / motion */
  --radius-xs: 5px;
  --radius-sm: 50px;
  --motion-duration-instant: 200ms;
  --motion-duration-fast: 350ms;
  --motion-duration-normal: 400ms;
  --motion-easing-standard: cubic-bezier(0.4, 0, 0.2, 1);

  --tm-container: 1180px;
  --section: max(1.5rem, calc((100vw - var(--tm-container)) / 2));
  --header-topbar: var(--color-brand);
  --header-zalo: var(--color-brand);
  --header-menu: var(--color-text-primary);
  --focus-ring: 2px solid var(--color-brand);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-family-stack);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-base);
  line-height: var(--font-line-height-base);
  color: var(--color-text-primary);
  background: var(--color-surface-canvas);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: inherit;
  font-weight: 700;
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
  color: inherit;
}

h1 {
  font-size: var(--fs-h1);
  font-weight: 800;
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

h4 {
  font-size: var(--fs-h4);
}

h5 {
  font-size: var(--fs-h5);
}

h6 {
  font-size: var(--fs-h6);
}

p {
  margin: 0;
  font-size: var(--fs-body);
  line-height: var(--font-line-height-base);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-text-tertiary);
  text-decoration: none;
  transition: color var(--motion-duration-instant) var(--motion-easing-standard);
}

a:hover {
  color: var(--color-surface-muted);
}

a:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

.tm-container {
  width: min(100% - var(--space-6), var(--tm-container));
  margin-inline: auto;
}

.tm-section {
  padding: calc(var(--space-8) * 3) 0;
}

.tm-section--raised {
  background: var(--color-surface-raised);
}

.tm-section__title {
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-4);
  color: var(--color-text-tertiary);
  font-weight: 700;
}

.tm-section__title strong {
  color: var(--color-surface-muted);
}

.tm-section__desc {
  color: var(--color-text-muted);
  margin: 0 0 var(--space-7);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
}

.tm-section__head {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  align-items: end;
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.tm-section__actions {
  margin-top: var(--space-7);
  text-align: center;
}

/* ——— Buttons ——— */
.tm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: var(--font-size-xl);
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color var(--motion-duration-instant) var(--motion-easing-standard),
    color var(--motion-duration-instant) var(--motion-easing-standard),
    border-color var(--motion-duration-instant) var(--motion-easing-standard),
    transform var(--motion-duration-instant) var(--motion-easing-standard),
    opacity var(--motion-duration-instant) var(--motion-easing-standard);
}

.tm-btn:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

.tm-btn:active {
  transform: scale(0.98);
}

.tm-btn:disabled,
.tm-btn[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}

.tm-btn--primary {
  background: var(--color-brand);
  color: var(--color-text-secondary);
}

.tm-btn--primary:hover {
  background: var(--color-brand-dark);
  color: var(--color-text-secondary);
}

.tm-btn--zalo {
  background: var(--header-zalo);
  color: var(--color-text-secondary);
  gap: 8px;
  padding: 10px 18px;
  white-space: nowrap;
  flex-shrink: 0;
}

.tm-btn--zalo:hover {
  background: var(--color-brand-dark);
  color: var(--color-text-secondary);
}

.tm-btn__zalo-icon {
  flex-shrink: 0;
}

.tm-btn--strong {
  background: var(--color-text-tertiary);
  color: var(--color-text-secondary);
}

.tm-btn--strong:hover {
  background: var(--color-brand-dark);
  color: var(--color-text-secondary);
}

.tm-btn--outline {
  border-color: var(--color-text-tertiary);
  color: var(--color-text-tertiary);
  background: transparent;
}

.tm-btn--outline:hover {
  background: var(--color-text-tertiary);
  color: var(--color-text-secondary);
}

.tm-btn--inverse {
  background: var(--color-surface-raised);
  color: var(--color-text-tertiary);
}

.tm-btn--inverse:hover {
  background: var(--color-surface-canvas);
  color: var(--color-surface-muted);
}

.tm-link {
  font-weight: 600;
  font-size: var(--font-size-xl);
}

/* ——— Header ——— */
.tm-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

/* Transparent Header template */
body.tm-transparent-header {
  --tm-header-offset: 7.25rem;
}

body.tm-transparent-header .tm-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
}

body.tm-transparent-header .tm-header__main {
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition:
    background var(--motion-duration-instant) var(--motion-easing-standard),
    border-color var(--motion-duration-instant) var(--motion-easing-standard),
    box-shadow var(--motion-duration-instant) var(--motion-easing-standard);
}

body.tm-transparent-header .tm-menu > li > a {
  color: #fff;
}

body.tm-transparent-header .tm-menu > li > a:hover,
body.tm-transparent-header .tm-menu > li.current-menu-item > a,
body.tm-transparent-header .tm-menu > li.current-menu-ancestor > a,
body.tm-transparent-header .tm-menu > li.mega-menu:hover > a,
body.tm-transparent-header .tm-menu > li.mega-menu:focus-within > a,
body.tm-transparent-header .tm-menu > .mega-menu.is-open > a {
  color: rgba(255, 255, 255, 0.82);
}

body.tm-transparent-header .tm-header__logo-text,
body.tm-transparent-header .tm-header__logo-tagline {
  color: #fff;
}

body.tm-transparent-header .tm-header__logo-text strong {
  color: #fff;
}

body.tm-transparent-header .tm-header__toggle {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

body.tm-transparent-header .tm-header__toggle-bar {
  background: #fff;
}

body.tm-transparent-header .tm-header.is-solid,
body.tm-transparent-header.tm-nav-open .tm-header,
body.tm-transparent-header.tm-mega-open .tm-header {
  position: fixed;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 40, 80, 0.08);
}

body.tm-transparent-header .tm-header.is-solid .tm-header__main,
body.tm-transparent-header.tm-nav-open .tm-header__main,
body.tm-transparent-header.tm-mega-open .tm-header__main {
  background: #fff;
  border-bottom-color: #ececec;
  box-shadow: none;
}

body.tm-transparent-header .tm-header.is-solid .tm-menu > li > a,
body.tm-transparent-header.tm-nav-open .tm-menu > li > a,
body.tm-transparent-header.tm-mega-open .tm-menu > li > a {
  color: var(--header-menu);
}

body.tm-transparent-header .tm-header.is-solid .tm-menu > li > a:hover,
body.tm-transparent-header .tm-header.is-solid .tm-menu > li.current-menu-item > a,
body.tm-transparent-header .tm-header.is-solid .tm-menu > li.current-menu-ancestor > a,
body.tm-transparent-header .tm-header.is-solid .tm-menu > li.mega-menu:hover > a,
body.tm-transparent-header .tm-header.is-solid .tm-menu > .mega-menu.is-open > a,
body.tm-transparent-header.tm-nav-open .tm-menu > li > a:hover,
body.tm-transparent-header.tm-mega-open .tm-menu > li > a:hover {
  color: var(--header-topbar);
}

body.tm-transparent-header .tm-header.is-solid .tm-header__logo-text,
body.tm-transparent-header .tm-header.is-solid .tm-header__logo-tagline,
body.tm-transparent-header.tm-nav-open .tm-header__logo-text,
body.tm-transparent-header.tm-nav-open .tm-header__logo-tagline,
body.tm-transparent-header.tm-mega-open .tm-header__logo-text,
body.tm-transparent-header.tm-mega-open .tm-header__logo-tagline {
  color: #333;
}

body.tm-transparent-header .tm-header.is-solid .tm-header__logo-text strong,
body.tm-transparent-header.tm-nav-open .tm-header__logo-text strong,
body.tm-transparent-header.tm-mega-open .tm-header__logo-text strong {
  color: var(--header-topbar);
}

body.tm-transparent-header .tm-header.is-solid .tm-header__toggle,
body.tm-transparent-header.tm-nav-open .tm-header__toggle,
body.tm-transparent-header.tm-mega-open .tm-header__toggle {
  background: #fff;
  border-color: #e5e5e5;
}

body.tm-transparent-header .tm-header.is-solid .tm-header__toggle-bar,
body.tm-transparent-header.tm-nav-open .tm-header__toggle-bar,
body.tm-transparent-header.tm-mega-open .tm-header__toggle-bar {
  background: var(--color-text-tertiary);
}

body.tm-transparent-header .tm-cskh-hero,
body.tm-transparent-header .tm-page-hero {
  border-radius: 0;
}

/* Hero content clears absolute transparent header (topbar + main). */
body.tm-transparent-header .tm-cskh-hero__inner {
  padding-top: calc(var(--tm-header-offset) + clamp(1.75rem, 3.5vw, 3.25rem));
}

@media (max-width: 900px) {
  body.tm-transparent-header {
    --tm-header-offset: 9.75rem;
  }

  body.tm-transparent-header .tm-cskh-hero__inner {
    padding-top: calc(var(--tm-header-offset) + 1.5rem);
  }
}

.tm-header__container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: var(--section);
  padding-right: var(--section);
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.tm-header__topbar {
  background: var(--header-topbar);
  color: #ffffff;
  font-size: 15px;
  line-height: 1.4;
  position: relative;
  z-index: 95;
}

.tm-header__topbar-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 36px;
}

.tm-header__topbar-start {
  justify-self: start;
  min-width: 0;
}

.tm-header__topbar-center {
  justify-self: center;
  min-width: 0;
}

.tm-header__topbar-end {
  justify-self: end;
  min-width: 0;
}

.tm-header__topbar-text {
  margin: 0;
  color: #ffffff;
  font-weight: 400;
  white-space: nowrap;
}

.tm-header__hotlines {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.tm-header__hotlines li {
  display: flex;
  align-items: center;
}

.tm-header__hotlines li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.55);
  margin: 0 14px;
}

.tm-header__hotlines a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
}

.tm-header__hotlines a:hover {
  color: #ffffff;
  opacity: 0.9;
}

.tm-header__phone-icon {
  display: block;
  flex-shrink: 0;
}

.tm-header__hotline-region {
  font-weight: 400;
}

.tm-header__hotline-phone {
  font-weight: 500;
}

.tm-header__lang {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  max-width: 100%;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
}

.tm-header__lang a,
.tm-header__lang span,
.tm-header__lang select {
  color: inherit;
}

.tm-header__lang select {
  max-width: 9.5rem;
  min-height: 1.7rem;
  padding: 0.15rem 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: inherit;
  font-size: 12px;
}

.tm-header__lang img {
  display: inline-block;
  vertical-align: middle;
}

.tm-header__main {
  background: #ffffff;
  border-bottom: 1px solid #ececec;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
  position: relative;
  z-index: 95;
}

.tm-header__main-inner {
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  flex-wrap: nowrap;
}

.tm-header__logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1.1;
  text-decoration: none;
  color: #333333;
}

.tm-header__logo:hover {
  color: #333333;
  opacity: 0.9;
}

.tm-header__logo-img {
  max-height: 48px;
  width: auto;
}

.tm-header__logo-text {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #333333;
}

.tm-header__logo-text strong {
  color: var(--header-topbar);
  font-weight: 800;
}

.tm-header__logo-tagline {
  margin-top: 2px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #888888;
}

.tm-header__nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.tm-header__toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #e5e5e5;
  border-radius: var(--radius-xs);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
}

.tm-header__toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-text-tertiary);
  transition:
    transform 220ms var(--motion-easing-standard),
    opacity 220ms var(--motion-easing-standard);
}

.tm-header.is-nav-open .tm-header__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.tm-header.is-nav-open .tm-header__toggle-bar:nth-child(2) {
  opacity: 0;
}

.tm-header.is-nav-open .tm-header__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.tm-header__toggle:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

.tm-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.tm-menu > li {
  position: relative;
}

.tm-menu > li.mega-menu {
  position: static;
}

.tm-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 24px;
  color: var(--header-menu);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
}

.tm-menu > li > a:hover,
.tm-menu > li.current-menu-item > a,
.tm-menu > li.current-menu-ancestor > a,
.tm-menu > li.mega-menu:hover > a,
.tm-menu > li.mega-menu:focus-within > a {
  color: var(--header-topbar);
}

.tm-menu > .menu-item-has-children > a::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.75;
}

.tm-menu > li:not(.mega-menu) > .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 20;
}

.tm-menu > li:not(.mega-menu):hover > .sub-menu,
.tm-menu > li:not(.mega-menu):focus-within > .sub-menu {
  display: block;
}

.tm-menu > li:not(.mega-menu) > .sub-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--header-menu);
  font-size: 14px;
  white-space: nowrap;
}

.tm-menu > li:not(.mega-menu) > .sub-menu a:hover {
  color: var(--header-topbar);
  background: #fafafa;
}

/* ——— Mega menu ——— */
.tm-mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  top: calc(100% - 2px);
  z-index: 90;
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-deeper) 100%);
  color: var(--color-text-secondary);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  overflow: visible;
  font-family: var(--font-family-stack);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    opacity 280ms var(--motion-easing-standard),
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 280ms var(--motion-easing-standard);
  will-change: opacity, transform;
}

/* Invisible hover bridge — tránh gap giữa <a> và panel */
.tm-mega-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -24px;
  height: 24px;
}

.tm-menu > .mega-menu:hover > .tm-mega-menu,
.tm-menu > .mega-menu:focus-within > .tm-mega-menu,
.tm-menu > .mega-menu.is-open > .tm-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.tm-menu > .mega-menu.is-open > a,
.tm-menu > .mega-menu:hover > a,
.tm-menu > .mega-menu:focus-within > a {
  color: var(--header-topbar);
  transition: color 200ms var(--motion-easing-standard);
}

.tm-mega-menu__inner {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr 0.95fr;
  gap: 28px;
  align-items: stretch;
  width: 100%;
  padding: 28px var(--section) 32px;
  overflow: hidden;
  border-radius: 0 0 16px 16px;
  box-sizing: border-box;
}

.tm-mega-menu__intro,
.tm-mega-menu__links,
.tm-mega-menu__card {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 300ms var(--motion-easing-standard),
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0ms;
}

.tm-menu > .mega-menu:hover > .tm-mega-menu .tm-mega-menu__intro,
.tm-menu > .mega-menu:focus-within > .tm-mega-menu .tm-mega-menu__intro,
.tm-menu > .mega-menu.is-open > .tm-mega-menu .tm-mega-menu__intro {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 60ms;
}

.tm-menu > .mega-menu:hover > .tm-mega-menu .tm-mega-menu__links,
.tm-menu > .mega-menu:focus-within > .tm-mega-menu .tm-mega-menu__links,
.tm-menu > .mega-menu.is-open > .tm-mega-menu .tm-mega-menu__links {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 110ms;
}

.tm-menu > .mega-menu:hover > .tm-mega-menu .tm-mega-menu__card,
.tm-menu > .mega-menu:focus-within > .tm-mega-menu .tm-mega-menu__card,
.tm-menu > .mega-menu.is-open > .tm-mega-menu .tm-mega-menu__card {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 160ms;
}

/* Overlay tối phần dưới mega menu */
.tm-mega-backdrop {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 300ms var(--motion-easing-standard),
    visibility 300ms var(--motion-easing-standard);
}

body.tm-mega-open .tm-mega-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.tm-mega-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .tm-mega-menu,
  .tm-mega-menu__intro,
  .tm-mega-menu__links,
  .tm-mega-menu__card,
  .tm-mega-backdrop {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    transform: none !important;
  }
}

.tm-mega-menu__intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-right: 8px;
}

.tm-mega-menu__title {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
}

.tm-mega-menu__desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  line-height: 1.6;
}

.tm-mega-menu__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
}

.tm-mega-menu__more:hover {
  color: var(--color-text-secondary);
  opacity: 0.9;
}

.tm-mega-menu__links {
  list-style: none;
  margin: 0;
  padding: 0 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.tm-mega-menu__item + .tm-mega-menu__item {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.tm-mega-menu__item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 12px;
  color: var(--color-text-secondary);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.tm-mega-menu__item a:hover {
  color: var(--color-text-secondary);
  opacity: 0.88;
}

.tm-mega-menu__chevron {
  font-size: 18px;
  line-height: 1;
  opacity: 0.9;
}

.tm-mega-menu__card {
  position: relative;
  min-height: 220px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.18);
}

.tm-mega-menu__card-img,
.tm-mega-menu__card-placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.tm-mega-menu__card-placeholder {
  background:
    linear-gradient(160deg, rgba(0, 98, 165, 0.35), rgba(0, 0, 0, 0.25)),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.08) 8px,
      transparent 8px,
      transparent 16px
    );
}

.tm-mega-menu__card-label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: var(--color-text-secondary);
  font-size: 15px;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

/* ——— Hero ——— */
.tm-hero {
  position: relative;
  background: var(--color-surface-canvas);
  color: var(--color-text-primary);
  min-height: 0;
  display: block;
  padding-top: calc(var(--space-8) * 2);
  padding-bottom: calc(var(--space-8) * 2.5);
  overflow: hidden;
}

.tm-hero__head {
  width: 100%;
  padding-left: var(--section);
  padding-right: var(--section);
  box-sizing: border-box;
  margin-bottom: var(--space-7);
}

.tm-hero__content {
  width: 100%;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tm-hero__eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 var(--space-3);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  color: var(--color-text-primary);
  opacity: 0.85;
}

.tm-hero__heading {
  font-size: var(--fs-heading);
  line-height: 1.2;
  margin: 0;
  color: var(--color-text-primary);
  font-weight: 800;
}

.tm-hero__heading strong {
  color: var(--color-surface-muted);
  display: inline;
}

.tm-hero__desc {
  margin: var(--space-4) 0 0;
  color: var(--color-text-primary);
  font-size: var(--fs-body);
  line-height: 1.55;
  opacity: 0.78;
}

.tm-hero__cta {
  margin-top: var(--space-5);
}

.tm-hero__cta .tm-btn {
  background: var(--color-surface-muted);
  color: var(--color-text-secondary);
}

.tm-hero__carousel {
  width: 100%;
  position: relative;
}

.tm-hero__viewport {
  width: 100%;
  overflow: hidden;
  background: var(--color-surface-raised);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.tm-hero__viewport:focus-visible {
  outline: var(--focus-ring);
  outline-offset: -3px;
}

.tm-hero__viewport.is-dragging {
  cursor: grabbing;
}

.tm-hero__track {
  display: flex;
  width: 100%;
  will-change: transform;
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tm-hero__track.is-dragging {
  transition: none;
}

.tm-hero__slide {
  margin: 0;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
}

.tm-hero__banner {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

.tm-hero__dots {
  position: absolute;
  left: 50%;
  bottom: var(--space-4);
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  z-index: 2;
  margin: 0;
}

.tm-hero__dot {
  width: 28px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition:
    background-color 220ms var(--motion-easing-standard),
    transform 220ms var(--motion-easing-standard),
    width 220ms var(--motion-easing-standard);
}

.tm-hero__dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.tm-hero__dot.is-active {
  width: 40px;
  background: var(--color-surface-muted);
}

.tm-hero__dot:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
}

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


/* ——— About Intro ——— */
.tm-about {
  color: var(--color-text-secondary);
  background: linear-gradient(155deg, var(--color-accent) 0%, var(--color-accent-strong) 36%, var(--color-accent-teal) 68%, var(--color-brand) 100%);
  padding-top: calc(var(--space-8) * 3);
  padding-bottom: calc(var(--space-8) * 3);
}

.tm-about__wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: var(--section);
  padding-right: var(--section);
  box-sizing: border-box;
}

.tm-about__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(var(--space-6), 4vw, 4rem);
  align-items: start;
}

.tm-about__eyebrow {
  margin: 0 0 20px;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  opacity: 0.92;
}

.tm-about__title {
  margin: 0;
  font-size: var(--fs-heading);
  line-height: 1.2;
  font-weight: 800;
  color: var(--color-text-secondary);
}

.tm-about__points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.tm-about__points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-2);
  margin: 0;
  font-size: var(--fs-body-lg);
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.tm-about__point-num {
  font-weight: 700;
  opacity: 0.95;
}

.tm-about__point-text {
  opacity: 0.94;
}

.tm-about__stats {
  list-style: none;
  margin: calc(var(--space-8) * 2) 0 0;
  padding: 0 0 60px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.tm-about__stat {
  margin: 0;
}

.tm-about__stat-number {
  display: block;
  font-size: var(--fs-stat-number);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2);
}

.tm-about__stat-label {
  display: block;
  font-size: var(--fs-stat-label);
  line-height: 1.4;
  color: var(--color-text-secondary);
  opacity: 0.92;
}

.tm-about__diffs {
  margin-top: calc(var(--space-8) * 2);
}

.tm-about__diffs-title {
  margin: 0 0 40px;
  text-align: center;
  font-size: var(--fs-heading);
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

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

.tm-about__diff-card {
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-xs);
  padding: 30px 40px;
  background: rgba(0, 0, 0, 0.16);
}

.tm-about__diff-head {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.tm-about__diff-num {
  width: 3.8125rem;
  height: 3.8125rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(0deg 0% 100% / 25%);
  border-radius: 50%;
  border: 1px solid #ffc8c8;
  color: #fff;
  text-align: center;
  font-size: var(--fs-card-title);
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
}

.tm-about__diff-card-title {
  margin: 0;
  font-size: var(--fs-card-title);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text-secondary);
}

.tm-about__diff-desc {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--color-text-secondary);
  opacity: 0.94;
}

@media (max-width: 900px) {
  .tm-about__top {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .tm-about__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: var(--space-8);
  }

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

/* ——— Layout grids ——— */
.tm-faq__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-8);
  align-items: start;
}

.tm-differentials__grid,
.tm-events__grid,
.tm-knowledge__grid,
.tm-logos__track {
  display: grid;
  gap: var(--space-4);
}

.tm-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: var(--space-7) 0 0;
}

.tm-stats__item {
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xs);
  padding: var(--space-4);
}

.tm-stats__number {
  display: block;
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--color-surface-muted);
  line-height: 1.2;
}

.tm-stats__label {
  color: var(--color-text-primary);
  font-size: var(--font-size-sm);
  opacity: 0.8;
}

.tm-differentials__grid,
.tm-events__grid,
.tm-knowledge__grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.tm-testimonials__grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}


/* ——— Impressive Numbers ——— */
.tm-impressive {
  background: radial-gradient(53.87% 53.87% at 50% 28.94%, #fafafa 0%, #fdf1ee 51%, #fff 99.5%);
}

.tm-impressive__wrap {
  width: 100%;
  padding-left: var(--section);
  padding-right: var(--section);
  box-sizing: border-box;
}

.tm-impressive__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(var(--space-7), 4vw, 3.5rem);
  align-items: start;
}

.tm-impressive__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tm-impressive__title {
  margin: 0 0 var(--space-4);
}

.tm-impressive__desc {
  margin: 0;
}

.tm-impressive__illustration {
  margin-top: var(--space-7);
  width: 100%;
}

.tm-impressive__side-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 420px;
}

.tm-impressive__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  align-items: start;
}

.tm-impressive__card {
  border-radius: 1.25rem;
  border: 1px solid #dedede;
  background: linear-gradient(0deg, #fff 0%, #fff5f5 100%);
  padding: 0.69rem 0.69rem 2.7rem;
  box-shadow: 0 8px 28px rgba(0, 98, 165, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tm-impressive__card:nth-child(2) {
  margin-top: 6.44rem;
}

.tm-impressive__card:nth-child(2n + 1):not(:first-child) {
  margin-top: -6.44rem;
}

.tm-impressive__media {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
}

.tm-impressive__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.tm-impressive__card-title {
  margin: 0 0 var(--space-3);
  color: var(--color-surface-muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.3;
  font-size: var(--fs-card-title);
}

.tm-impressive__card-text {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  opacity: 1;
  padding: 0 30px;
}

@media (max-width: 900px) {
  .tm-impressive__inner {
    grid-template-columns: 1fr;
  }

  .tm-impressive__card:nth-child(2n),
  .tm-impressive__card:nth-child(2n + 1):not(:first-child) {
    margin-top: 0;
  }

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


/* ——— Testimonials ——— */
.tm-testimonials {
  position: relative;
  color: var(--color-text-secondary);
  background-color: var(--color-text-tertiary);
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(100, 175, 83, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 20%, rgba(3, 133, 144, 0.18), transparent 50%),
    linear-gradient(145deg, var(--color-brand) 0%, var(--color-brand-dark) 55%, var(--color-brand-deeper) 100%);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.tm-testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 58, 98, 0.35), rgba(0, 58, 98, 0.55));
  pointer-events: none;
}

.tm-testimonials__wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-left: var(--section);
  padding-right: var(--section);
  box-sizing: border-box;
}

.tm-testimonials__header {
  text-align: center;
  margin: 0 auto var(--space-8);
}

.tm-testimonials__title {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-3);
}

.tm-testimonials__title strong {
  color: var(--color-surface-muted);
}

.tm-testimonials__subtitle {
  color: var(--color-text-secondary);
  opacity: 0.88;
  margin: 0 auto;
}

.tm-testimonials__carousel {
  position: relative;
}

.tm-testimonials__viewport {
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.tm-testimonials__viewport.is-dragging {
  cursor: grabbing;
}

.tm-testimonials__track {
  display: flex;
  gap: var(--space-5);
  will-change: transform;
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tm-testimonials__track.is-dragging {
  transition: none;
}

.tm-testimonial-card {
  flex: 0 0 calc((100% - (var(--space-5) * 2)) / 3);
  min-width: 0;
  margin: 0;
  padding: 30px 40px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(8, 28, 48, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.tm-testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-4);
}

.tm-testimonial-card__star {
  color: rgba(255, 255, 255, 0.25);
  display: inline-flex;
}

.tm-testimonial-card__star.is-on {
  color: #f5c518;
}

.tm-testimonial-card__quote {
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.6;
  flex: 1 1 auto;
  font-size: var(--fs-body);
}

.tm-testimonial-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: 44px;
}

.tm-testimonial-card__person {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  min-width: 0;
}

.tm-testimonial-card__name {
  color: var(--color-text-secondary);
  font-weight: 700;
  line-height: 1.3;
  font-size: var(--fs-card-title);
}

.tm-testimonial-card__role {
  display: inline-flex;
  max-width: 100%;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-text-secondary);
  font-size: var(--fs-eyebrow);
  line-height: 1.3;
}

.tm-testimonial-card__mark {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.85);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.5rem;
  line-height: 0.7;
  font-weight: 700;
}

.tm-testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-7);
}

.tm-testimonials__nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.tm-testimonials__nav:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
}

.tm-testimonials__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.tm-testimonials__nav:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
}

.tm-testimonials__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tm-testimonials__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition:
    width 220ms var(--motion-easing-standard),
    background-color 220ms var(--motion-easing-standard);
}

.tm-testimonials__dot.is-active {
  width: 28px;
  background: var(--color-surface-muted);
}

.tm-testimonials__dot:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .tm-testimonial-card {
    flex-basis: calc((100% - var(--space-5)) / 2);
  }
}

@media (max-width: 900px) {
  .tm-testimonial-card {
    flex-basis: 100%;
  }

  .tm-testimonials__wrap {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

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

/* ——— Cards ——— */
.tm-diff-card,
.tm-quote,
.tm-event-card,
.tm-knowledge__card {
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xs);
  padding: var(--space-5);
  transition:
    border-color var(--motion-duration-fast) var(--motion-easing-standard),
    transform var(--motion-duration-fast) var(--motion-easing-standard);
}

.tm-diff-card:hover,
.tm-event-card:hover,
.tm-knowledge__card:hover {
  border-color: var(--color-surface-muted);
  transform: translateY(-2px);
}

.tm-diff-card__num {
  font-weight: 700;
  color: var(--color-surface-muted);
  font-size: var(--font-size-3xl);
}

.tm-diff-card__title,
.tm-event-card h3,
.tm-knowledge__card h3 {
  color: var(--color-text-tertiary);
  margin: var(--space-3) 0;
  font-size: var(--font-size-3xl);
  line-height: 1.3;
}

.tm-price-card.is-featured {
  background: var(--color-text-tertiary);
  color: var(--color-text-secondary);
  border-color: transparent;
  transform: translateY(calc(var(--space-1) * -1));
}

.tm-price-card.is-featured .tm-price-card__name,
.tm-price-card.is-featured .tm-price-card__note,
.tm-price-card.is-featured .tm-price-card__features {
  color: var(--color-text-secondary);
}

.tm-price-card.is-featured .tm-price-card__price {
  color: var(--color-surface-muted);
}

.tm-price-card.is-featured .tm-btn {
  background: var(--color-surface-muted);
  color: var(--color-text-secondary);
}

.tm-price-card__name {
  margin: 0 0 var(--space-2);
  font-size: var(--font-size-3xl);
  color: var(--color-text-tertiary);
}

.tm-price-card__price {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--color-surface-muted);
  margin: 0 0 var(--space-2);
}

.tm-price-card__note {
  margin: 0 0 var(--space-4);
  font-size: var(--font-size-md);
  opacity: 0.85;
}

.tm-price-card__features {
  margin-bottom: var(--space-5);
}

.tm-price-card__features li {
  margin-bottom: var(--space-2);
}




.tm-quote__text {
  margin: 0;
  font-size: var(--font-size-2xl);
  line-height: 1.5;
  color: var(--color-text-primary);
}

.tm-quote__footer {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  margin-top: var(--space-4);
}

.tm-quote__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.tm-quote__footer strong {
  display: block;
  color: var(--color-text-tertiary);
  font-size: var(--font-size-xl);
}

.tm-quote__footer span {
  display: block;
  color: var(--color-text-primary);
  opacity: 0.7;
  font-size: var(--font-size-sm);
}

/* ——— Services ——— */
.tm-services {
  background: var(--color-surface-canvas);
}

.tm-services__wrap {
  width: 100%;
  padding-left: var(--section);
  padding-right: var(--section);
  box-sizing: border-box;
}

.tm-services__title {
  margin: 0 0 clamp(var(--space-7), 3vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  max-width: none;
}

.tm-services__title-text,
.tm-services__title-hl {
  display: inline;
}

.tm-services__title-hl {
  color: var(--color-surface-muted);
  font-weight: 800;
}

.tm-services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(var(--space-4), 2vw, 1.5rem);
  align-items: stretch;
}

.tm-service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  margin: 0;
  padding: 1.75rem 1.35rem 1.5rem;
  border: none;
  border-radius: 1.25rem;
  background: var(--color-surface-raised);
  box-shadow: none;
  transition:
    transform var(--motion-duration-fast) var(--motion-easing-standard),
    box-shadow var(--motion-duration-fast) var(--motion-easing-standard);
}

.tm-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 98, 165, 0.08);
}

.tm-service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 0 var(--space-5);
}

.tm-service-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tm-service-card__title {
  margin: 0 0 var(--space-3);
  color: var(--color-text-primary);
  font-size: var(--fs-h5);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  transition: color var(--motion-duration-fast) var(--motion-easing-standard);
}

.tm-service-card__desc {
  margin: 0 0 var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  opacity: 1;
}

.tm-service-card__swap {
  position: relative;
  display: grid;
  width: 100%;
  flex: 1 1 auto;
  align-content: start;
}

.tm-service-card__features,
.tm-service-card__media {
  grid-area: 1 / 1;
  width: 100%;
  transition:
    opacity var(--motion-duration-fast) var(--motion-easing-standard),
    visibility var(--motion-duration-fast) var(--motion-easing-standard);
}

.tm-service-card__features {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  opacity: 1;
  visibility: visible;
}

.tm-service-card__features li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: start;
  margin: 0;
  color: var(--color-text-primary);
  font-size: var(--fs-body);
  line-height: 1.45;
}

.tm-service-card__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: var(--color-surface-muted);
  color: #fff;
  flex-shrink: 0;
}

.tm-service-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.tm-service-card__hover-img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 12.5rem;
  object-fit: cover;
  border-radius: 0.85rem;
}

.tm-service-card.has-hover-media:hover .tm-service-card__title,
.tm-service-card.has-hover-media:focus-within .tm-service-card__title {
  color: var(--color-surface-muted);
}

.tm-service-card.has-hover-media:hover .tm-service-card__features,
.tm-service-card.has-hover-media:focus-within .tm-service-card__features {
  opacity: 0;
  visibility: hidden;
}

.tm-service-card.has-hover-media:hover .tm-service-card__media,
.tm-service-card.has-hover-media:focus-within .tm-service-card__media {
  opacity: 1;
  visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
  .tm-service-card__features,
  .tm-service-card__media,
  .tm-service-card__title {
    transition: none;
  }
}

.tm-service-card__footer {
  width: 100%;
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border-subtle);
  display: flex;
  justify-content: center;
}

.tm-service-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.6rem;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid var(--color-surface-muted);
  background: #fff;
  color: var(--color-surface-muted);
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background-color var(--motion-duration-instant) var(--motion-easing-standard),
    color var(--motion-duration-instant) var(--motion-easing-standard),
    border-color var(--motion-duration-instant) var(--motion-easing-standard),
    transform var(--motion-duration-instant) var(--motion-easing-standard);
}

.tm-service-card__cta:hover {
  background: var(--color-surface-muted);
  border-color: var(--color-surface-muted);
  color: #fff;
  transform: translateY(-1px);
}

.tm-service-card__cta:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

.tm-service-card__cta-icon {
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .tm-services__wrap {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

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

@media (max-width: 640px) {
  .tm-services__wrap {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .tm-services__title {
    margin-bottom: 1.35rem;
  }

  .tm-services__title-text,
  .tm-services__title-hl {
    display: inline;
  }

  .tm-services__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tm-service-card {
    padding: 1.35rem 1.15rem 1.25rem;
    border-radius: 1rem;
  }

  .tm-service-card__icon {
    width: 4.5rem;
    height: 4.5rem;
  }

  .tm-service-card__cta {
    width: 100%;
  }
}

@media (hover: none) {
  .tm-service-card.has-hover-media:hover .tm-service-card__features,
  .tm-service-card.has-hover-media:focus-within .tm-service-card__features {
    opacity: 1;
    visibility: visible;
  }

  .tm-service-card.has-hover-media:hover .tm-service-card__media,
  .tm-service-card.has-hover-media:focus-within .tm-service-card__media {
    opacity: 0;
    visibility: hidden;
  }

  .tm-service-card.has-hover-media:hover .tm-service-card__title,
  .tm-service-card.has-hover-media:focus-within .tm-service-card__title {
    color: var(--color-text-primary);
  }
}

/* ——— Process ——— */
.tm-process {
  --process-rail: 3.5rem;
  --process-rail-gap: 1rem;
  --process-phase-gap: clamp(2.25rem, 4vw, 3.25rem);
  --process-line: var(--color-surface-muted);
  background: var(--color-surface-canvas);
}

.tm-process__wrap {
  width: 100%;
  padding-left: var(--section);
  padding-right: var(--section);
  box-sizing: border-box;
}

.tm-process__title {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 auto clamp(var(--space-7), 3.5vw, 2.75rem);
  color: var(--color-surface-muted);
}

.tm-process__phases {
  display: flex;
  flex-direction: column;
  gap: var(--process-phase-gap);
}

.tm-process__inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(var(--space-7), 4vw, 3.5rem);
  align-items: start;
}

.tm-process__content {
  position: relative;
}

/* Continuous timeline rail */
.tm-process__content::before {
  content: "";
  position: absolute;
  left: calc(var(--process-rail) / 2);
  top: calc(var(--process-rail) / 2);
  bottom: 0.2rem;
  width: 2px;
  background: var(--process-line);
  transform: translateX(-50%);
  pointer-events: none;
}

.tm-process__phase:not(:last-child) .tm-process__content::before {
  bottom: calc(var(--process-phase-gap) * -1);
}

.tm-process__heading {
  display: grid;
  grid-template-columns: var(--process-rail) minmax(0, 1fr);
  column-gap: var(--process-rail-gap);
  align-items: center;
  margin: 0 0 1.5rem;
  color: var(--color-text-primary);
  font-size: var(--fs-h5);
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.tm-process__heading-mark {
  position: relative;
  z-index: 1;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--process-line);
  box-shadow: 0 0 0 5px #fff;
}

.tm-process__heading-mark::before,
.tm-process__heading-mark::after {
  content: none;
}

.tm-process__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tm-process__step {
  display: grid;
  grid-template-columns: var(--process-rail) minmax(0, 1fr);
  column-gap: var(--process-rail-gap);
  align-items: start;
  position: relative;
}

.tm-process__step:not(:last-child)::before {
  content: none;
}

.tm-process__step-num {
  position: relative;
  z-index: 1;
  width: var(--process-rail);
  height: var(--process-rail);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--process-line);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  box-shadow: 0 0 0 5px #fff;
}

.tm-process__step-body {
  min-width: 0;
  padding-top: 0.4rem;
}

.tm-process__step-title {
  margin: 0 0 0.3rem;
  color: var(--color-text-primary);
  font-size: var(--fs-h5);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.tm-process__step-desc {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
}

.tm-process__media {
  position: sticky;
  top: 6.5rem;
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--color-surface-raised);
}

.tm-process__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (max-width: 1100px) {
  .tm-process__wrap {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .tm-process__inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 900px) {
  .tm-process {
    --process-rail: 2.75rem;
    --process-rail-gap: 0.75rem;
    --process-phase-gap: 2rem;
  }

  .tm-process__wrap {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .tm-process__title {
    margin-bottom: 1.5rem;
  }

  .tm-process__inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .tm-process__media {
    position: static;
    order: -1;
    max-width: 28rem;
    margin-inline: auto;
    width: 100%;
  }

  .tm-process__img {
    aspect-ratio: 16 / 10;
  }

  .tm-process__heading {
    margin-bottom: 1.1rem;
  }

  .tm-process__step-num {
    font-size: 1.15rem;
  }

  .tm-process__phase:not(:last-child) .tm-process__content::before {
    bottom: 0.2rem;
  }
}

@media (max-width: 480px) {
  .tm-process {
    --process-rail: 2.35rem;
    --process-rail-gap: 0.65rem;
  }

  .tm-process__step-num {
    font-size: 1rem;
    box-shadow: 0 0 0 4px #fff;
  }

  .tm-process__heading-mark {
    box-shadow: 0 0 0 4px #fff;
  }
}

/* ——— Lead form ——— */
.tm-lead {
  background: transparent;
  padding-top: calc(var(--space-8) * 2);
  padding-bottom: calc(var(--space-8) * 2);
}

.tm-lead__wrap {
  width: 100%;
  padding-left: var(--section);
  padding-right: var(--section);
  box-sizing: border-box;
}

.tm-lead__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: 1.35rem;
  min-height: 28rem;
  color: #fff;
  background: linear-gradient(105deg, var(--color-brand-deeper) 0%, var(--color-brand) 32%, var(--color-accent-teal) 58%, var(--color-accent-strong) 80%, var(--color-accent) 100%);
}

.tm-lead__panel.has-aside {
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.9fr);
}

.tm-lead__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--tm-lead-bg-image, none);
  background-size: cover;
  background-position: center right;
  opacity: 0.22;
  pointer-events: none;
}

.tm-lead__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 82% 55%, rgba(255, 255, 255, 0.14), transparent 60%),
    repeating-radial-gradient(
      ellipse at 70% 40%,
      transparent 0,
      transparent 18px,
      rgba(255, 255, 255, 0.04) 18px,
      rgba(255, 255, 255, 0.04) 19px
    );
  pointer-events: none;
}

.tm-lead__main,
.tm-lead__aside {
  position: relative;
  z-index: 1;
}

.tm-lead__main {
  padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.5rem, 3vw, 2.5rem) clamp(1.75rem, 3.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tm-lead__title {
  margin: 0 0 clamp(1.35rem, 2.8vw, 2rem);
  color: #fff;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.28;
  text-transform: uppercase;
  letter-spacing: 0.015em;
}

.tm-lead__form {
  background: transparent;
  border: 0;
  padding: 0;
  color: #fff;
  max-width: 40rem;
}

.tm-lead__hint {
  margin: 0;
  font-size: var(--fs-body);
  opacity: 0.85;
}

.tm-lead__aside {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 100%;
  padding: 1rem 0.5rem 0;
  pointer-events: none;
}

.tm-lead__media {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.tm-lead__img {
  display: block;
  width: 100%;
  max-width: 22rem;
  height: auto;
  max-height: 26rem;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.22));
}

.tm-lead__badge {
  position: absolute;
  left: 0.35rem;
  bottom: 22%;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  margin: 0;
  padding: 0.75rem 0.95rem;
  border-radius: 0.7rem;
  background: #fff;
  color: var(--color-text-primary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
  min-width: 8.5rem;
}

.tm-lead__badge strong {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.05;
  color: var(--color-surface-muted);
}

.tm-lead__badge span {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  color: #4b5563;
}

/* CF7 — 2 cột tường minh qua .tm-cf7__row / .tm-cf7__col */
.tm-lead .wpcf7,
.tm-lead .wpcf7-form {
  display: block;
  margin: 0;
}

.tm-cf7 {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.tm-cf7__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.75rem;
  row-gap: 0;
  align-items: end;
}

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

.tm-cf7__col {
  min-width: 0;
}

.tm-cf7__actions {
  margin-top: 0.35rem;
}

.tm-lead .wpcf7-form > p,
.tm-cf7 p,
.tm-cf7__col > p,
.tm-cf7__row > p,
.tm-cf7__actions > p {
  margin: 0;
  min-width: 0;
}

.tm-lead .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.tm-lead .wpcf7-form input[type="text"],
.tm-lead .wpcf7-form input[type="email"],
.tm-lead .wpcf7-form input[type="tel"],
.tm-lead .wpcf7-form input[type="url"],
.tm-lead .wpcf7-form input[type="number"],
.tm-lead .wpcf7-form select,
.tm-lead .wpcf7-form textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 2.6rem;
  padding: 0.55rem 0 0.7rem;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 0;
  background: transparent !important;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.4;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
}

.tm-lead .wpcf7-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.05rem center !important;
  background-size: 0.7rem auto !important;
  padding-right: 1.2rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.85);
}

.tm-lead .wpcf7-form select option {
  color: var(--color-text-primary);
  background: #fff;
}

.tm-lead .wpcf7-form textarea {
  min-height: 2.6rem;
  resize: vertical;
  max-height: 7rem;
}

.tm-lead .wpcf7-form input::placeholder,
.tm-lead .wpcf7-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.78);
  opacity: 1;
  font-weight: 400;
}

.tm-lead .wpcf7-form input:focus,
.tm-lead .wpcf7-form select:focus,
.tm-lead .wpcf7-form textarea:focus,
.tm-lead .wpcf7-form input:focus-visible,
.tm-lead .wpcf7-form select:focus-visible,
.tm-lead .wpcf7-form textarea:focus-visible {
  outline: none;
  border-bottom-color: #fff;
}

.tm-lead .wpcf7-form input.wpcf7-submit,
.tm-lead .tm-cf7__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--color-surface-muted);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition:
    background-color var(--motion-duration-instant) var(--motion-easing-standard),
    transform var(--motion-duration-instant) var(--motion-easing-standard);
}

.tm-lead .wpcf7-form input.wpcf7-submit:hover,
.tm-lead .tm-cf7__submit:hover {
  background: var(--color-accent-strong);
  transform: translateY(-1px);
}

.tm-lead .wpcf7-form input.wpcf7-submit:focus-visible,
.tm-lead .tm-cf7__submit:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.tm-lead .wpcf7-not-valid-tip {
  color: #ffe0e0;
  font-size: 0.75rem;
  margin-top: 0.3rem;
}

.tm-lead .wpcf7-response-output {
  margin: 0.75rem 0 0;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

@media (max-width: 1100px) {
  .tm-lead__wrap {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 900px) {
  .tm-lead {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
  }

  .tm-lead__wrap {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .tm-lead__panel,
  .tm-lead__panel.has-aside {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 1.15rem;
    overflow: hidden;
  }

  .tm-lead__main {
    padding: 1.5rem 1.15rem 1.35rem;
    order: 1;
    min-width: 0;
  }

  .tm-cf7__row {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 1.1rem;
  }

  .tm-cf7 {
    gap: 1.1rem;
  }

  .tm-lead .wpcf7-form input.wpcf7-submit,
  .tm-lead .tm-cf7__submit {
    width: 100%;
  }

  .tm-lead__aside {
    order: 0;
    min-height: 12rem;
    padding: 1rem 1rem 0;
  }

  .tm-lead__img {
    max-height: 14rem;
    max-width: min(14rem, 70%);
  }

  .tm-lead__badge {
    left: 1rem;
    bottom: 1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .tm-lead__main {
    padding: 1.25rem 1rem 1.15rem;
  }

  .tm-lead .wpcf7-form input[type="text"],
  .tm-lead .wpcf7-form input[type="email"],
  .tm-lead .wpcf7-form input[type="tel"],
  .tm-lead .wpcf7-form input[type="url"],
  .tm-lead .wpcf7-form input[type="number"],
  .tm-lead .wpcf7-form select,
  .tm-lead .wpcf7-form textarea {
    font-size: 1rem; /* avoid iOS zoom */
  }
}

/* ——— FAQ ——— */
.tm-faq__item {
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xs);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-3);
  background: var(--color-surface-raised);
}

.tm-faq__item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--color-text-tertiary);
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: var(--font-size-2xl);
  list-style: none;
}

.tm-faq__item summary::-webkit-details-marker {
  display: none;
}

.tm-faq__item summary:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

.tm-faq__answer {
  padding-top: var(--space-3);
  font-size: var(--font-size-xl);
  line-height: 1.55;
  color: var(--color-text-primary);
}

/* ——— Team / offices / knowledge ——— */
.tm-team {
  background: var(--color-surface-canvas, #fff);
}

.tm-team__wrap {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding-left: var(--section);
  padding-right: var(--section);
  box-sizing: border-box;
}

.tm-team__grid {
  --team-gap: clamp(0.75rem, 1.6vw, 1.15rem);
  --team-radius: 0.85rem;
  --team-row-h: clamp(12.5rem, 18vw, 15.5rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, var(--team-row-h));
  gap: var(--team-gap);
  align-items: stretch;
  width: 100%;
}

.tm-team__cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 0;
  min-height: 0;
  height: 100%;
  text-align: center;
}

.tm-team__cell--title {
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding: 0.25rem 0.75rem 0.25rem 0;
}

.tm-team__title {
  margin: 0;
  font-size: var(--fs-heading);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.2;
}

.tm-team__title-text {
  display: block;
  color: var(--color-text-primary);
  font-weight: 700;
}

.tm-team__title-hl {
  display: block;
  color: var(--color-surface-muted, #64af53);
  font-weight: 800;
}

.tm-team__cell--stat {
  padding: 0.75rem;
}

.tm-team__stat-num {
  margin: 0;
  font-size: clamp(2.5rem, 4.8vw, 3.75rem);
  font-weight: 800;
  line-height: 0.95;
  color: var(--color-surface-muted, #64af53);
  letter-spacing: -0.03em;
}

.tm-team__stat-plus {
  margin-left: 0.05em;
}

.tm-team__stat-label {
  margin: 0.5rem 0 0;
  font-size: var(--fs-body, 1rem);
  font-weight: 500;
  color: var(--color-text-primary);
  line-height: 1.35;
}

.tm-team__cell--quote {
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding: 0.35rem 0.65rem;
}

.tm-team__quote-mark {
  display: block;
  margin: 0 0 0.25rem;
  color: var(--color-surface-muted, #64af53);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 0.7;
}

.tm-team__quote {
  margin: 0;
  font-size: clamp(0.9rem, 1.15vw, 1rem);
  line-height: 1.55;
  color: var(--color-text-primary);
}

.tm-team__quote p {
  margin: 0;
}

.tm-team__quote strong {
  color: var(--color-surface-muted, #64af53);
  font-weight: 700;
}

.tm-team__cell--media {
  overflow: hidden;
}

.tm-team__figure {
  margin: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--team-radius);
  overflow: hidden;
  background: #eef2f0;
}

.tm-team__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tm-team__cell--media:hover .tm-team__img {
  transform: scale(1.04);
}

@media (max-width: 900px) {
  .tm-team__wrap {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .tm-team__grid {
    --team-row-h: auto;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 1rem;
  }

  .tm-team__cell--title {
    align-items: center;
    text-align: center;
    padding: 0 0 0.25rem;
  }

  .tm-team__cell--quote {
    text-align: center;
    align-items: center;
    padding: 0.5rem 0.25rem;
  }

  .tm-team__cell--media,
  .tm-team__figure {
    min-height: 13rem;
    height: 13rem;
  }

  .tm-team__cell--stat {
    padding: 0.5rem 0;
  }
}

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

  .tm-team__cell--media:hover .tm-team__img {
    transform: none;
  }
}

/* ——— Offices map ——— */
.tm-offices {
  background: #FFFEF9;
}

.tm-offices__wrap {
  width: 100%;
  padding-left: var(--section);
  padding-right: var(--section);
  box-sizing: border-box;
}

.tm-offices__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.tm-offices__title {
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.tm-offices__title-text {
  display: block;
  color: var(--color-text-primary);
}

.tm-offices__title-hl {
  display: block;
  color: var(--color-surface-muted);
  font-weight: 800;
}

.tm-offices__cards {
  --office-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --office-dur: 360ms;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
  gap: 0.75rem;
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
  align-items: stretch;
}

.tm-office-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: flex-start;
  margin: 0;
  padding: 1rem 1rem 1rem 1.1rem;
  min-height: 0;
  border: 1px solid #e8ecef;
  border-radius: 0.85rem;
  background: #fff;
  color: var(--color-text-primary);
  text-align: left;
  font: inherit;
  overflow: hidden;
  isolation: isolate;
  transform: translate3d(0, 0, 0);
  transition:
    border-color var(--office-dur) var(--office-ease),
    background-color var(--office-dur) var(--office-ease),
    transform var(--office-dur) var(--office-ease),
    box-shadow var(--office-dur) var(--office-ease);
}

.tm-office-card__accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-surface-muted, #64af53);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform var(--office-dur) var(--office-ease);
}

.tm-office-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-top: 0.1rem;
  color: #2f3a45;
  flex-shrink: 0;
  transition: color var(--office-dur) var(--office-ease);
}

.tm-office-card__svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tm-office-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tm-office-card__body {
  min-width: 0;
}

.tm-office-card__label {
  margin: 0 0 0.4rem;
  font-size: var(--fs-h5);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
  transition: color var(--office-dur) var(--office-ease);
}

.tm-office-card__address {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--color-text-muted);
  font-weight: 400;
}

.tm-office-card__link {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-surface-muted, #64af53);
  text-decoration: none;
}

.tm-office-card__link:hover {
  text-decoration: underline;
}

.tm-office-card:hover,
.tm-office-card:focus-visible,
.tm-office-card.is-open {
  border-color: rgba(100, 175, 83, 0.45);
  background: #f5faf3;
  box-shadow: 0 10px 24px rgba(0, 98, 165, 0.06);
  transform: translate3d(0, -2px, 0);
  outline: none;
}

.tm-office-card:hover .tm-office-card__accent,
.tm-office-card:focus-visible .tm-office-card__accent,
.tm-office-card.is-open .tm-office-card__accent {
  transform: scaleY(1);
}

.tm-office-card:hover .tm-office-card__icon,
.tm-office-card:focus-visible .tm-office-card__icon,
.tm-office-card.is-open .tm-office-card__icon {
  color: var(--color-surface-muted, #64af53);
}

.tm-office-card:hover .tm-office-card__label,
.tm-office-card:focus-visible .tm-office-card__label,
.tm-office-card.is-open .tm-office-card__label {
  color: var(--color-text-tertiary);
}

@media (prefers-reduced-motion: reduce) {
  .tm-office-card,
  .tm-office-card__accent,
  .tm-office-card__icon,
  .tm-office-card__label {
    transition: none !important;
  }

  .tm-office-card:hover,
  .tm-office-card:focus-visible,
  .tm-office-card.is-open {
    transform: none;
  }
}

.tm-offices__desc-wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: end;
}

.tm-offices__desc {
  margin: 0;
  max-width: none;
  color: var(--color-text-primary);
  font-size: var(--fs-body);
  line-height: 1.65;
  opacity: 1;
}

.tm-offices__desc p {
  margin: 0;
}

.tm-offices__desc strong {
  color: var(--color-surface-muted);
  font-weight: 700;
}

.tm-offices__quote {
  color: var(--color-surface-muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 0.7;
  opacity: 0.9;
}

.tm-offices__media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tm-offices__map-frame {
  position: relative;
  width: min(100%, 28rem);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: visible;
}

.tm-offices__map {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  user-select: none;
}

.tm-offices__map-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 40% 40% 45% 45%;
  background: linear-gradient(0deg, var(--color-accent), var(--color-accent-strong));
  opacity: 0.55;
  clip-path: polygon(48% 2%, 62% 8%, 70% 18%, 68% 32%, 74% 42%, 70% 54%, 62% 62%, 58% 74%, 52% 88%, 46% 96%, 40% 88%, 36% 74%, 30% 62%, 24% 52%, 28% 40%, 26% 28%, 34% 16%, 42% 8%);
}

@media (max-width: 1100px) {
  .tm-offices__wrap {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .tm-offices__inner {
    gap: 1.5rem;
  }
}

@media (max-width: 900px) {
  .tm-offices__wrap {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .tm-offices__inner {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .tm-offices__media {
    order: -1;
  }

  .tm-offices__map-frame {
    width: min(100%, 22rem);
    margin-inline: auto;
  }

  .tm-offices__cards {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .tm-offices__title {
    margin-bottom: 1.15rem;
  }

  .tm-offices__desc-wrap {
    gap: 0.5rem;
  }

  .tm-offices__quote {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }
}

@media (max-width: 480px) {
  .tm-offices__map-frame {
    width: 100%;
  }

  .tm-office-card {
    padding: 0.9rem 0.85rem 0.9rem 1rem;
  }
}

.tm-press__logos {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  list-style: none;
  padding: 0;
  align-items: center;
}

.tm-event-card__cat {
  margin: 0 0 var(--space-2);
  color: var(--color-surface-muted);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tm-knowledge__card a {
  color: inherit;
  display: grid;
  gap: var(--space-3);
}

.tm-knowledge__card h3 {
  margin: 0;
}

.tm-knowledge__card span {
  font-size: var(--font-size-sm);
  opacity: 0.7;
}

.tm-knowledge__thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-xs);
}

/* ——— Footer ——— */
.tm-footer {
  background: #f2f3f2;
  color: #2f3a45;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 0;
}

.tm-footer__wrap {
  width: 100%;
  padding-left: var(--section);
  padding-right: var(--section);
  box-sizing: border-box;
}

.tm-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  padding-bottom: clamp(1.75rem, 3vw, 2.25rem);
}

.tm-footer__top.has-link-cols {
  grid-template-columns: minmax(0, 1.35fr) repeat(var(--tm-footer-link-cols, 1), minmax(0, 1fr));
}

.tm-footer__col {
  min-width: 0;
}

.tm-footer__logo {
  margin-bottom: 0.85rem;
}

.tm-footer__logo-img,
.tm-footer__logo img {
  display: block;
  max-width: 11rem;
  height: auto;
}

.tm-footer__tagline {
  margin: 0 0 0.75rem;
  font-weight: 700;
  font-size: var(--fs-body-lg, 1.125rem);
  line-height: 1.45;
  text-transform: uppercase;
  color: #181c14;
}

.tm-footer__desc {
  margin: 0 0 1.15rem;
  font-size: var(--fs-body, 1rem);
  line-height: 1.6;
  color: #5b6470;
}

.tm-footer__hotlines {
  margin-top: 0.25rem;
}

.tm-footer__hotline-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.5rem;
  font-size: var(--fs-body, 1rem);
  font-weight: 700;
  color: #181c14;
}

.tm-footer__hotline-icon {
  display: inline-flex;
  color: var(--color-surface-muted, #64af53);
}

.tm-footer__hotline-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.tm-footer__hotline-line {
  margin: 0 0 0.25rem;
  font-size: var(--fs-body, 1rem);
  line-height: 1.55;
  color: #5b6470;
}

.tm-footer__hotline-line a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.tm-footer__hotline-line a:hover {
  color: var(--color-surface-muted, #64af53);
}

.tm-footer__col-title {
  margin: 0 0 0.95rem;
  font-size: var(--fs-body, 1rem);
  font-weight: 700;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #181c14;
  overflow-wrap: break-word;
  hyphens: auto;
}

.tm-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tm-footer__links li {
  margin: 0 0 0.55rem;
  font-size: var(--fs-body, 1rem);
  line-height: 1.5;
}

.tm-footer__links a {
  color: #5b6470;
  text-decoration: none;
}

.tm-footer__links a:hover {
  color: var(--color-surface-muted, #64af53);
}

.tm-footer__offices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) 0;
  border-top: 1px solid #dde3df;
}

.tm-footer__office {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.6rem;
  align-items: start;
}

.tm-footer__office-pin {
  display: inline-flex;
  margin-top: 0.2rem;
  color: var(--color-surface-muted, #64af53);
}

.tm-footer__office-pin svg {
  width: 1.15rem;
  height: 1.15rem;
}

.tm-footer__office-label {
  margin: 0 0 0.25rem;
  font-size: var(--fs-body, 1rem);
  font-weight: 700;
  color: #181c14;
}

.tm-footer__office-label a {
  color: inherit;
  text-decoration: none;
}

.tm-footer__office-label a:hover {
  color: var(--color-surface-muted, #64af53);
}

.tm-footer__office-address {
  margin: 0;
  font-size: var(--fs-body, 1rem);
  line-height: 1.55;
  color: #5b6470;
}

.tm-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  padding: 1.1rem 0 1.35rem;
  border-top: 1px solid #dde3df;
}

.tm-footer__copy {
  margin: 0;
  font-size: var(--fs-body, 1rem);
  color: #6b7280;
}

.tm-footer__social-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
}

.tm-footer__social-label {
  font-size: var(--fs-body, 1rem);
  color: #5b6470;
}

.tm-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tm-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--color-surface-muted, #64af53);
  color: #fff;
  text-decoration: none;
  transition: transform 220ms ease, background-color 220ms ease;
}

.tm-footer__social:hover {
  background: var(--color-brand);
  transform: translateY(-2px);
}

.tm-footer__social-svg {
  display: block;
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

@media (max-width: 1100px) {
  .tm-footer__top,
  .tm-footer__top.has-link-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .tm-footer__wrap {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .tm-footer__top,
  .tm-footer__top.has-link-cols {
    grid-template-columns: 1fr;
  }

  .tm-footer__brand {
    grid-column: auto;
  }

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

  .tm-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .tm-footer__col + .tm-footer__col {
    margin-top: 0.15rem;
    padding-top: 1.15rem;
    border-top: 1px solid #dde3df;
  }

  .tm-footer__col-title {
    margin-bottom: 0.75rem;
  }
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .tm-faq__inner {
    grid-template-columns: 1fr;
  }

  .tm-header__container,
  .tm-hero__head,
  .tm-about__wrap,
  .tm-impressive__wrap,
  .tm-team__wrap,
  .tm-services__wrap,
  .tm-process__wrap,
  .tm-lead__wrap,
  .tm-offices__wrap,
  .tm-footer__wrap {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .tm-header__topbar-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    min-height: 0;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .tm-header__topbar-start,
  .tm-header__topbar-center,
  .tm-header__topbar-end {
    justify-self: stretch;
    width: 100%;
  }

  .tm-header__topbar-end {
    display: flex;
    justify-content: flex-end;
  }

  .tm-header__topbar-text {
    white-space: normal;
    font-size: 13px;
    line-height: 1.35;
  }

  .tm-header__hotlines {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }

  .tm-header__hotlines li + li::before {
    margin: 0 10px;
  }

  .tm-header__hotlines a {
    font-size: 13px;
  }

  .tm-header__main {
    position: relative;
  }

  .tm-header__main-inner {
    flex-wrap: nowrap;
    min-height: 64px;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 10px;
  }

  .tm-header__logo {
    min-width: 0;
    flex: 1 1 auto;
  }

  .tm-header__logo-img {
    max-height: 40px;
    max-width: min(180px, 48vw);
    object-fit: contain;
  }

  .tm-header__toggle {
    display: inline-flex;
    order: 3;
  }

  .tm-btn--zalo {
    order: 2;
    padding: 9px 12px;
  }

  .tm-btn__zalo-label {
    display: none;
  }

  .tm-header__nav {
    display: none;
    order: 4;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    flex: none;
    justify-content: stretch;
    background: #fff;
    border-bottom: 1px solid #ececec;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    max-height: min(75vh, 560px);
    overflow-y: auto;
    padding: 8px 0 12px;
    z-index: 96;
  }

  .tm-header.is-nav-open .tm-header__nav {
    display: block;
  }

  .tm-menu {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding: 0 1.25rem;
  }

  .tm-menu > li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

  .tm-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 0;
  }

  /* Submenu thường: accordion trên mobile */
  .tm-menu > li:not(.mega-menu) > .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 10px 12px;
    min-width: 0;
    background: transparent;
  }

  .tm-menu > li:not(.mega-menu).is-open > .sub-menu,
  .tm-menu > li:not(.mega-menu):focus-within > .sub-menu {
    display: block;
  }

  .tm-menu > li:not(.mega-menu):hover > .sub-menu {
    display: none;
  }

  .tm-menu > li:not(.mega-menu).is-open:hover > .sub-menu,
  .tm-menu > li:not(.mega-menu):focus-within:hover > .sub-menu {
    display: block;
  }

  /* Mega: ẩn panel đầy đủ, chỉ hiện list link con dạng submenu */
  .tm-mega-menu {
    position: static !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    display: none !important;
    box-shadow: none !important;
    border: 0 !important;
    background: transparent !important;
    margin: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }

  .tm-menu > .mega-menu.is-open > .tm-mega-menu {
    display: block !important;
  }

  .tm-mega-menu::before,
  .tm-mega-menu__intro,
  .tm-mega-menu__card,
  .tm-mega-menu__card-img,
  .tm-mega-menu__card-placeholder {
    display: none !important;
  }

  .tm-mega-menu__inner {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    padding: 0 0 10px 12px !important;
  }

  .tm-mega-menu__links {
    display: block !important;
    border: 0 !important;
    padding: 0 !important;
    list-style: none;
    margin: 0;
  }

  .tm-mega-menu__item a {
    display: block;
    padding: 10px 0;
    color: var(--color-text-primary);
    text-decoration: none;
  }

  .tm-mega-menu__item a:hover {
    color: var(--color-surface-muted);
  }

  .tm-mega-menu__chevron {
    display: none;
  }

  body.tm-nav-open {
    overflow: hidden;
  }

  body.tm-nav-open .tm-mega-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .tm-section {
    padding: calc(var(--space-8) * 2) 0;
  }

  .tm-price-card.is-featured {
    transform: none;
  }
}

/* ——— Floating CTA + Back to top ——— */
.tm-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.25rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  pointer-events: none;
}

.tm-float__stack,
.tm-float__top {
  pointer-events: auto;
}

.tm-float__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.tm-float__btn {
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-muted);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 98, 165, 0.22);
  transition:
    transform var(--motion-duration-instant) var(--motion-easing-standard),
    background-color var(--motion-duration-instant) var(--motion-easing-standard);
}

.tm-float__btn:hover {
  transform: translateY(-2px) scale(1.04);
  background: var(--color-accent-strong);
  color: #fff;
}

.tm-float__btn:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
}

.tm-float__label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}

.tm-float__icon {
  display: block;
}

.tm-float__btn--phone {
  isolation: isolate;
}

.tm-float__pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--color-surface-muted);
  opacity: 0;
  animation: tm-float-pulse 2.1s ease-out infinite;
  pointer-events: none;
  z-index: -1;
}

.tm-float__pulse--delay {
  animation-delay: 0.7s;
}

@keyframes tm-float-pulse {
  0% {
    transform: scale(0.82);
    opacity: 0.75;
  }
  70% {
    transform: scale(1.28);
    opacity: 0;
  }
  100% {
    transform: scale(1.28);
    opacity: 0;
  }
}

.tm-float__top {
  width: 2.5rem;
  height: 2.5rem;
  margin-top: 0.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-surface-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 200ms var(--motion-easing-standard),
    visibility 200ms var(--motion-easing-standard),
    transform 200ms var(--motion-easing-standard);
}

.tm-float__top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tm-float__top:hover {
  color: var(--color-accent-strong);
}

.tm-float__top:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .tm-float {
    right: 0.75rem;
    bottom: 0.9rem;
  }

  .tm-float__btn {
    width: 3.15rem;
    height: 3.15rem;
  }
}

/* —— Blog / singular / search / 404 —— */
.tm-archive__grid,
.tm-singular__grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

@media (min-width: 992px) {
  .tm-archive__grid,
  .tm-singular__grid {
    grid-template-columns: minmax(0, 1fr) 18rem;
  }
}

.tm-singular__narrow {
  max-width: 48rem;
  margin-inline: auto;
}

.tm-archive__header {
  margin-bottom: 1.5rem;
}

.tm-archive__list {
  display: grid;
  gap: 1.5rem;
}

.tm-post-card {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
  .tm-post-card {
    grid-template-columns: 14rem minmax(0, 1fr);
    align-items: start;
  }
}

.tm-post-card__thumb {
  display: block;
  overflow: hidden;
  border-radius: 0.75rem;
}

.tm-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.tm-post-card__title {
  margin: 0 0 0.35rem;
  font-size: var(--fs-card-title, 1.15rem);
  line-height: 1.35;
}

.tm-post-card__title a {
  color: inherit;
  text-decoration: none;
}

.tm-post-card__title a:hover {
  color: var(--tm-green, #64af53);
}

.tm-post-card__meta,
.tm-entry__meta {
  margin: 0;
  color: var(--tm-muted, #5b6b7a);
  font-size: 0.9rem;
}

.tm-post-card__excerpt {
  margin: 0.65rem 0;
  color: var(--tm-body, #334155);
}

.tm-post-card__more a {
  color: var(--tm-navy, #0062a5);
  font-weight: 600;
  text-decoration: none;
}

.tm-post-card__more a:hover {
  color: var(--tm-green, #64af53);
}

.tm-entry__header {
  margin-bottom: 1.25rem;
}

.tm-entry__thumb {
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: 0.75rem;
}

.tm-entry__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.tm-content > *:first-child {
  margin-top: 0;
}

.tm-content > *:last-child {
  margin-bottom: 0;
}

.tm-content img {
  max-width: 100%;
  height: auto;
}

.tm-sidebar {
  display: grid;
  gap: 1.25rem;
}

.tm-widget {
  padding: 1rem 0;
}

.tm-widget__title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--tm-navy, #0062a5);
}

.tm-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}

.tm-search-form__field {
  flex: 1 1 12rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid #d0d7de;
  border-radius: 999px;
  font: inherit;
}

.tm-search-form__submit {
  border-radius: 999px;
}

.tm-404__inner {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.tm-404__code {
  margin: 0;
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  line-height: 1;
  color: var(--tm-green, #64af53);
  opacity: 0.35;
}

.tm-404__actions {
  margin-top: 1.25rem;
}

.tm-comments {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.tm-comments__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.tm-comments__list .children {
  list-style: none;
  margin: 1rem 0 0 1.25rem;
  padding: 0;
}

.tm-nav-label {
  display: block;
  font-size: 0.8rem;
  color: var(--tm-muted, #5b6b7a);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ——— Scroll / load reveal ——— */
.tm-reveal {
  opacity: 0;
  transform: translate3d(0, 1.75rem, 0);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.tm-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.tm-reveal--fade {
  transform: none;
}

.tm-reveal--left {
  transform: translate3d(-1.5rem, 0, 0);
}

.tm-reveal--right {
  transform: translate3d(1.5rem, 0, 0);
}

.tm-reveal--left.is-visible,
.tm-reveal--right.is-visible,
.tm-reveal--fade.is-visible {
  transform: translate3d(0, 0, 0);
}

.tm-reveal-stagger > .tm-reveal-item {
  opacity: 0;
  transform: translate3d(0, 1.25rem, 0);
  transition:
    opacity 640ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.tm-reveal-stagger.is-visible > .tm-reveal-item,
.tm-reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.tm-reveal-stagger.is-visible > .tm-reveal-item:nth-child(1) { transition-delay: 40ms; }
.tm-reveal-stagger.is-visible > .tm-reveal-item:nth-child(2) { transition-delay: 110ms; }
.tm-reveal-stagger.is-visible > .tm-reveal-item:nth-child(3) { transition-delay: 180ms; }
.tm-reveal-stagger.is-visible > .tm-reveal-item:nth-child(4) { transition-delay: 250ms; }
.tm-reveal-stagger.is-visible > .tm-reveal-item:nth-child(5) { transition-delay: 320ms; }
.tm-reveal-stagger.is-visible > .tm-reveal-item:nth-child(6) { transition-delay: 390ms; }
.tm-reveal-stagger.is-visible > .tm-reveal-item:nth-child(7) { transition-delay: 460ms; }
.tm-reveal-stagger.is-visible > .tm-reveal-item:nth-child(8) { transition-delay: 530ms; }
.tm-reveal-stagger.is-visible > .tm-reveal-item:nth-child(9) { transition-delay: 600ms; }
.tm-reveal-stagger.is-visible > .tm-reveal-item:nth-child(10) { transition-delay: 670ms; }
.tm-reveal-stagger.is-visible > .tm-reveal-item:nth-child(11) { transition-delay: 740ms; }
.tm-reveal-stagger.is-visible > .tm-reveal-item:nth-child(12) { transition-delay: 810ms; }

.tm-about-partners__grid.tm-reveal-stagger.is-visible > .tm-about-partners__card {
  transition-delay: calc(40ms + (var(--tm-logo-i, 0) * 55ms));
}

.tm-about-stats__grid.tm-reveal-stagger.is-visible > .tm-about-stats__card {
  transition-delay: calc(40ms + (var(--tm-stats-i, 0) * 70ms));
}

.tm-about-purpose__stats.tm-reveal-stagger.is-visible > .tm-about-purpose__stat,
.tm-about-purpose__values.tm-reveal-stagger.is-visible > .tm-about-purpose__value {
  transition-delay: calc(40ms + (var(--tm-purpose-i, 0) * 70ms));
}

.tm-header.tm-reveal-header {
  opacity: 0;
  transform: translate3d(0, -0.6rem, 0);
  transition:
    opacity 560ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tm-header.tm-reveal-header.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .tm-reveal,
  .tm-reveal-stagger > .tm-reveal-item,
  .tm-header.tm-reveal-header {
    transition-duration: 280ms;
  }
}

/* ——— CSKH / Telesales ——— */
.tm-cskh {
  background: var(--color-surface-canvas);
}

.tm-cskh-hero {
  background: #111316;
  color: var(--color-text-secondary);
  border-radius: 0 0 2.5rem 2.5rem;
  overflow: hidden;
}

.tm-cskh-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(3rem, 6vw, 5.5rem) var(--section) clamp(3.5rem, 7vw, 6rem);
  max-width: none;
  box-sizing: border-box;
}

.tm-cskh-hero__eyebrow {
  margin: 0 0 var(--space-4);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.tm-cskh-hero__heading {
  margin: 0;
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
}

.tm-cskh-hero__desc {
  margin: var(--space-6) 0 0;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.tm-cskh-hero__cta-wrap {
  margin-top: var(--space-7);
}

.tm-cskh-hero__cta-wrap .tm-cskh-hero__cta,
.tm-cskh-hero__cta {
  margin-top: 0;
  min-height: 3.15rem;
  padding: 0.85rem 1.5rem;
  border-radius: 0.7rem;
  font-size: 1rem;
  background: var(--color-brand);
}

.tm-cskh-hero__cta:hover {
  background: var(--color-brand-dark);
}

.tm-cskh-hero__cta::after {
  content: " →";
  font-weight: 500;
}

.tm-cskh-hero__visual {
  position: relative;
  min-height: 18rem;
}

.tm-cskh-hero__dots {
  position: absolute;
  inset: -8% -6% -12% -18%;
  width: auto;
  height: auto;
  color: rgba(255, 255, 255, 0.38);
  pointer-events: none;
  z-index: 0;
}

.tm-cskh-hero__frame {
  position: relative;
  z-index: 1;
  width: min(100%, 34rem);
  margin-left: auto;
}

.tm-cskh-hero__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1.75rem;
}

.tm-cskh-hero__badge {
  position: absolute;
  top: 1.15rem;
  right: -0.55rem;
  z-index: 2;
  padding: 0.4rem 0.7rem;
  border-radius: 0.35rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.tm-cskh-hero__cx {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 2;
  width: 3.35rem;
  height: 3.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--color-brand);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border-radius: 0.7rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.tm-cskh-intro {
  background: var(--color-surface-canvas);
}

.tm-cskh-intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 6.5rem);
  align-items: start;
  padding: clamp(3.5rem, 7vw, 6.25rem) var(--section);
  box-sizing: border-box;
}

.tm-cskh-intro__label {
  margin: 0 0 var(--space-4);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  color: #8a939c;
}

.tm-cskh-intro__title,
.tm-cskh-item__title,
.tm-cskh-stats__title,
.tm-cskh-faq__title,
.tm-cskh-reviews__title,
.tm-cskh-partners__title,
.tm-cskh-contact__title {
  font-size: var(--fs-heading);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.tm-cskh-intro__title {
  margin: 0;
  color: var(--color-text-primary);
}

.tm-cskh-intro__accent {
  display: block;
  color: var(--color-accent);
}

.tm-cskh-intro__body {
  padding-top: 1.75rem;
}

.tm-cskh-intro__body p {
  margin: 0 0 1.15rem;
  font-size: var(--fs-body);
  line-height: 1.75;
  color: #3d444c;
}

.tm-cskh-intro__body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .tm-cskh-hero {
    border-radius: 0 0 1.5rem 1.5rem;
  }

  .tm-cskh-hero__inner,
  .tm-cskh-intro__inner {
    grid-template-columns: 1fr;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .tm-cskh-hero__frame {
    width: 100%;
    margin: 0;
  }

  .tm-cskh-hero__badge {
    right: 0.75rem;
  }

  .tm-cskh-intro__body {
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .tm-cskh-hero__inner {
    gap: 2rem;
    padding-top: 2.5rem;
    padding-bottom: 2.75rem;
  }

  .tm-cskh-hero__heading {
    font-size: 2rem;
  }

  .tm-cskh-intro__inner {
    padding-top: 2.75rem;
    padding-bottom: 3rem;
  }
}

/* ——— CSKH items (zigzag) ——— */
.tm-cskh-items {
  background: #f3f5f7;
}

.tm-cskh-items__inner {
  display: grid;
  gap: clamp(3.5rem, 7vw, 6.5rem);
  padding: clamp(3rem, 6vw, 5.5rem) var(--section);
  box-sizing: border-box;
}

.tm-cskh-item {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.tm-cskh-item.is-reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.tm-cskh-item.is-reverse .tm-cskh-item__copy {
  order: 2;
}

.tm-cskh-item.is-reverse .tm-cskh-item__media {
  order: 1;
}

.tm-cskh-item__title {
  margin: 0;
  color: var(--color-brand);
}

.tm-cskh-item__desc {
  margin: var(--space-4) 0 0;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: #4a525a;
}

.tm-cskh-item__list {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.tm-cskh-item__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--fs-body);
  line-height: 1.55;
  color: #2f363d;
}

.tm-cskh-item__check {
  flex-shrink: 0;
  width: 1.45rem;
  height: 1.45rem;
  margin-top: 0.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
}

.tm-cskh-item__media {
  min-width: 0;
}

.tm-cskh-item__card {
  position: relative;
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.15rem;
  box-shadow: 0 18px 40px rgba(0, 98, 165, 0.08);
}

.tm-cskh-item__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1.1rem;
}

.tm-cskh-item__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3.4rem;
  height: 3.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(100, 175, 83, 0.35);
  z-index: 2;
}

.tm-cskh-item--debt .tm-cskh-item__icon,
.tm-cskh-item--tech .tm-cskh-item__icon {
  background: var(--color-brand);
  box-shadow: 0 10px 24px rgba(0, 98, 165, 0.28);
}

.tm-cskh-item__badge {
  position: absolute;
  right: 1.7rem;
  bottom: 1.7rem;
  z-index: 2;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(47, 54, 61, 0.82);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tm-cskh-item.is-reverse .tm-cskh-item__badge {
  right: auto;
  left: 1.7rem;
}

@media (max-width: 960px) {
  .tm-cskh-items__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .tm-cskh-item,
  .tm-cskh-item.is-reverse {
    grid-template-columns: 1fr;
  }

  .tm-cskh-item.is-reverse .tm-cskh-item__copy,
  .tm-cskh-item.is-reverse .tm-cskh-item__media {
    order: unset;
  }

  .tm-cskh-item__media {
    order: -1;
  }
}

/* ——— CSKH stats ——— */
.tm-cskh-stats {
  background:
    radial-gradient(ellipse 70% 90% at 12% 20%, rgba(255, 255, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 70% at 88% 80%, rgba(3, 133, 144, 0.28), transparent 50%),
    linear-gradient(135deg, var(--color-brand-deeper) 0%, var(--color-brand) 48%, var(--color-brand-dark) 100%);
  color: #fff;
}

.tm-cskh-stats__inner {
  padding: clamp(3.75rem, 7vw, 6rem) var(--section);
  box-sizing: border-box;
  text-align: center;
}

.tm-cskh-stats__title {
  margin: 0 auto 3rem;
  color: #fff;
}

.tm-cskh-stats__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.tm-cskh-stat {
  position: relative;
  padding: 0.5rem 1.75rem;
}

.tm-cskh-stat + .tm-cskh-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.tm-cskh-stat__num {
  margin: 0;
  font-size: clamp(3rem, 6vw, 4.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  color: #fff;
}

.tm-cskh-stat__label {
  margin: 1rem auto 0;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

/* ——— CSKH benefits ——— */
.tm-cskh-benefits {
  background: #fff;
  border-top: 0;
}

.tm-cskh-benefits__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: clamp(3rem, 6vw, 5rem) var(--section);
  box-sizing: border-box;
}

.tm-cskh-benefit {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.35rem 2rem;
  text-align: left;
}

.tm-cskh-benefit + .tm-cskh-benefit::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: #e6edf3;
}

.tm-cskh-benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  margin: 0 0 0.35rem;
  border-radius: 0;
  background: transparent;
  color: var(--color-brand);
}

.tm-cskh-benefit__svg {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  stroke-width: 1.6;
}

.tm-cskh-benefit__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-text-primary);
}

.tm-cskh-benefit__text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #5b646c;
}

@media (max-width: 1100px) {
  .tm-cskh-benefits__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 0;
  }

  .tm-cskh-benefit:nth-child(2n + 1)::before {
    display: none;
  }

  .tm-cskh-benefit:nth-child(-n + 2) {
    padding-bottom: 0.5rem;
  }
}

@media (max-width: 960px) {
  .tm-cskh-stats__inner,
  .tm-cskh-benefits__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .tm-cskh-stats__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .tm-cskh-stat + .tm-cskh-stat::before {
    left: 20%;
    right: 20%;
    top: auto;
    bottom: auto;
    width: auto;
    height: 1px;
    transform: translateY(-0.9rem);
  }

  .tm-cskh-stat {
    padding: 0.25rem 0;
  }

  .tm-cskh-benefits__inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .tm-cskh-benefit {
    padding: 0;
  }

  .tm-cskh-benefit + .tm-cskh-benefit::before {
    display: none;
  }
}

/* ——— CSKH FAQ ——— */
.tm-cskh-faq {
  background: var(--color-surface-canvas);
}

.tm-cskh-faq__inner {
  padding: clamp(3.25rem, 6vw, 5.75rem) var(--section);
  box-sizing: border-box;
}

.tm-cskh-faq__head {
  margin-bottom: 2.25rem;
}

.tm-cskh-faq__label {
  margin: 0 0 0.7rem;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a939c;
}

.tm-cskh-faq__title {
  margin: 0;
  color: var(--color-text-primary);
}

.tm-cskh-faq__item {
  border-bottom: 1px solid #eceff2;
}

.tm-cskh-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text-primary);
}

.tm-cskh-faq__question::-webkit-details-marker {
  display: none;
}

.tm-cskh-faq__question::marker {
  content: "";
}

.tm-cskh-faq__question:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 4px;
}

.tm-cskh-faq__q {
  flex: 1 1 auto;
}

.tm-cskh-faq__icon {
  flex-shrink: 0;
  color: var(--color-brand);
  display: inline-flex;
}

.tm-cskh-faq__minus {
  display: none;
}

.tm-cskh-faq__item[open] .tm-cskh-faq__plus {
  display: none;
}

.tm-cskh-faq__item[open] .tm-cskh-faq__minus {
  display: block;
}

.tm-cskh-faq__answer {
  padding: 0 3rem 1.5rem 0;
  font-size: var(--fs-body);
  line-height: 1.75;
  color: #4a525a;
}

.tm-cskh-faq__answer > *:first-child {
  margin-top: 0;
}

.tm-cskh-faq__answer > *:last-child {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .tm-cskh-faq__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .tm-cskh-faq__answer {
    padding-right: 0;
  }
}

/* ——— CSKH reviews ——— */
.tm-cskh-reviews {
  position: relative;
  background:
    radial-gradient(ellipse 50% 40% at 8% 12%, rgba(0, 98, 165, 0.07), transparent 60%),
    radial-gradient(ellipse 45% 38% at 92% 88%, rgba(3, 133, 144, 0.08), transparent 58%),
    var(--color-surface-canvas);
  overflow: hidden;
}

.tm-cskh-reviews__inner {
  padding: clamp(3.25rem, 6vw, 5.5rem) var(--section);
  box-sizing: border-box;
}

.tm-cskh-reviews__head {
  text-align: center;
  margin: 0 auto 2.5rem;
}

.tm-cskh-reviews__title {
  margin: 0;
  color: var(--color-brand);
}

.tm-cskh-reviews__subtitle {
  margin: 0.9rem 0 0;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: #5b646c;
}

.tm-cskh-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.tm-cskh-review {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  min-height: 100%;
  padding: 2.15rem 2rem 1.85rem;
  border-radius: 1rem;
  background: #f0f5fa;
  box-shadow: 0 12px 32px rgba(0, 98, 165, 0.08);
}

.tm-cskh-review__mark {
  display: inline-flex;
  color: var(--color-brand);
  line-height: 0;
}

.tm-cskh-review__mark svg {
  width: 2.5rem;
  height: 2.5rem;
}

.tm-cskh-review__quote {
  margin: 0;
  flex: 1 1 auto;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #2c333a;
}

.tm-cskh-review__author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.5rem;
}

.tm-cskh-review__avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.tm-cskh-review__avatar--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-brand);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.tm-cskh-review__meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.tm-cskh-review__name {
  font-size: 1.02rem;
  font-weight: 800;
  color: #1e242a;
}

.tm-cskh-review__role {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--color-brand);
}

.tm-cskh-impact {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 1.6rem 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  border: 1px solid #e4e8ec;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.tm-cskh-impact__value {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-brand);
}

.tm-cskh-impact__label {
  margin: 0.4rem 0 0;
  font-size: 0.92rem;
  color: #5b646c;
}

@media (max-width: 960px) {
  .tm-cskh-reviews__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

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

  .tm-cskh-impact {
    grid-template-columns: 1fr 1fr;
    padding: 1.25rem 0.75rem;
  }
}

/* ——— CSKH partners ——— */
.tm-cskh-partners {
  background: linear-gradient(180deg, #f5f9fc 0%, #eef4f9 55%, #f7fafc 100%);
}

.tm-cskh-partners__inner {
  padding: clamp(3.5rem, 7vw, 6rem) var(--section);
  box-sizing: border-box;
  max-width: none;
}

.tm-cskh-partners__title {
  margin: 0 auto 2rem;
  text-align: center;
  color: var(--color-brand);
}

.tm-cskh-partners__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 0.85rem;
  margin: 0 auto 3rem;
}

.tm-cskh-partners__tag {
  appearance: none;
  border: 1px solid #d5e2ec;
  margin: 0;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: #fff;
  color: #3d4750;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background var(--motion-duration-instant) var(--motion-easing-standard),
    color var(--motion-duration-instant) var(--motion-easing-standard),
    border-color var(--motion-duration-instant) var(--motion-easing-standard),
    box-shadow var(--motion-duration-instant) var(--motion-easing-standard);
  box-shadow: 0 2px 8px rgba(0, 70, 120, 0.04);
}

.tm-cskh-partners__tag:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
  box-shadow: 0 4px 14px rgba(0, 98, 165, 0.1);
}

.tm-cskh-partners__tag.is-active {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 98, 165, 0.22);
}

.tm-cskh-partners__tag:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

.tm-cskh-partners__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2rem;
}

.tm-cskh-partner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 12.5rem;
  min-height: 7rem;
  padding: 1.35rem 1.5rem;
  background: #fff;
  border: 1px solid #e2ebf2;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 50, 90, 0.04);
  transition:
    border-color var(--motion-duration-instant) var(--motion-easing-standard),
    box-shadow var(--motion-duration-instant) var(--motion-easing-standard),
    transform var(--motion-duration-instant) var(--motion-easing-standard);
}

.tm-cskh-partner:hover {
  border-color: #c5d8e8;
  box-shadow: 0 12px 28px rgba(0, 70, 120, 0.08);
  transform: translateY(-2px);
}

.tm-cskh-partner.is-hidden {
  display: none;
}

.tm-cskh-partner__logo {
  display: block;
  max-width: 100%;
  max-height: 4.25rem;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.88;
  transition:
    filter var(--motion-duration-instant) var(--motion-easing-standard),
    opacity var(--motion-duration-instant) var(--motion-easing-standard);
}

.tm-cskh-partner:hover .tm-cskh-partner__logo {
  filter: none;
  opacity: 1;
}

.tm-cskh-partner__placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.8rem;
  color: #6b7785;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
}

@media (max-width: 960px) {
  .tm-cskh-partners__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .tm-cskh-partners__tags {
    gap: 0.55rem 0.6rem;
  }

  .tm-cskh-partner {
    flex: 0 1 calc(50% - 0.75rem);
    min-height: 6rem;
    padding: 1.1rem 1.15rem;
  }
}

@media (max-width: 640px) {
  .tm-cskh-partners__tag {
    padding: 0.45rem 0.9rem;
    font-size: 0.84rem;
  }

  .tm-cskh-partner {
    flex: 0 1 100%;
  }
}

/* ——— CSKH contact ——— */
.tm-cskh-contact {
  background: linear-gradient(180deg, #f3f7fb 0%, #eef4f9 100%);
}

.tm-cskh-contact__inner {
  padding: clamp(3.5rem, 7vw, 6rem) var(--section);
  box-sizing: border-box;
  max-width: none;
}

.tm-cskh-contact__header {
  text-align: center;
  margin: 0 auto 2.75rem;
}

.tm-cskh-contact__title {
  margin: 0;
  color: var(--color-brand);
}

.tm-cskh-contact__subtitle {
  margin: 0.9rem 0 0;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: #5b646c;
}

.tm-cskh-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 3.5vw, 3rem);
  align-items: start;
}

.tm-cskh-contact__cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.tm-cskh-contact-card {
  display: flex;
  gap: 1.15rem;
  align-items: center;
  min-height: 6.25rem;
  padding: 1.5rem 1.4rem;
  background: #fff;
  border: 1px solid #dde7ef;
  border-radius: 1rem;
  box-shadow: 0 10px 28px rgba(0, 50, 90, 0.05);
}

.tm-cskh-contact-card__icon {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  background: rgba(0, 98, 165, 0.08);
  color: var(--color-brand);
}

.tm-cskh-contact-card__svg {
  width: 1.85rem;
  height: 1.85rem;
}

.tm-cskh-contact-card__body {
  min-width: 0;
}

.tm-cskh-contact-card__label {
  margin: 0 0 0.3rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #7a8690;
}

.tm-cskh-contact-card__value {
  margin: 0;
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-text-primary);
  text-decoration: none;
  word-break: break-word;
}

a.tm-cskh-contact-card__value:hover {
  color: var(--color-brand);
}

.tm-cskh-contact-card__note {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: #7a8690;
}

.tm-cskh-contact__why {
  margin-top: 2rem;
}

.tm-cskh-contact__why-title,
.tm-cskh-contact__form-title {
  margin: 0 0 1rem;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--color-brand);
}

.tm-cskh-contact__why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.tm-cskh-contact__why-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: var(--fs-body);
  line-height: 1.55;
  color: #3d444c;
}

.tm-cskh-contact__why-check {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
}

.tm-cskh-contact__why-svg {
  width: 1.15rem;
  height: 1.15rem;
  stroke-width: 2.5;
}

.tm-cskh-contact__form-card {
  background: #fff;
  border: 1px solid #e4ebf1;
  border-radius: 1rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: 0 14px 36px rgba(0, 50, 90, 0.06);
}

.tm-cskh-contact__hint {
  margin: 0;
  font-size: var(--fs-body);
  color: #5b646c;
  line-height: 1.6;
}

.tm-cskh-contact .wpcf7,
.tm-cskh-contact .wpcf7-form {
  display: block;
  margin: 0;
}

.tm-cskh-cf7 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tm-cskh-cf7__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.tm-cskh-cf7__row--full {
  grid-template-columns: 1fr;
}

.tm-cskh-cf7__col {
  min-width: 0;
}

.tm-cskh-cf7__label {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-brand);
}

.tm-cskh-cf7 p,
.tm-cskh-cf7__col > p,
.tm-cskh-cf7__row > p,
.tm-cskh-cf7__actions > p {
  margin: 0;
}

.tm-cskh-contact .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.tm-cskh-contact .wpcf7-form input[type="text"],
.tm-cskh-contact .wpcf7-form input[type="email"],
.tm-cskh-contact .wpcf7-form input[type="tel"],
.tm-cskh-contact .wpcf7-form select,
.tm-cskh-contact .wpcf7-form textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 3rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid #d7e0e8;
  border-radius: 0.65rem;
  background: #fff !important;
  color: var(--color-text-primary);
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.4;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
}

.tm-cskh-contact .wpcf7-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7785' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.9rem center !important;
  background-size: 0.7rem auto !important;
  padding-right: 2.2rem;
  cursor: pointer;
  color: #5b646c;
}

.tm-cskh-contact .wpcf7-form select option {
  color: var(--color-text-primary);
}

.tm-cskh-contact .wpcf7-form input::placeholder,
.tm-cskh-contact .wpcf7-form textarea::placeholder {
  color: #8a939c;
  opacity: 1;
}

.tm-cskh-contact .wpcf7-form input:focus,
.tm-cskh-contact .wpcf7-form select:focus,
.tm-cskh-contact .wpcf7-form textarea:focus,
.tm-cskh-contact .wpcf7-form input:focus-visible,
.tm-cskh-contact .wpcf7-form select:focus-visible,
.tm-cskh-contact .wpcf7-form textarea:focus-visible {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(0, 98, 165, 0.12) !important;
}

.tm-cskh-cf7__actions {
  margin-top: 0.35rem;
}

.tm-cskh-contact .wpcf7-form input.wpcf7-submit,
.tm-cskh-contact .tm-cskh-cf7__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.1rem;
  padding: 0.75rem 1.25rem;
  border: 0;
  border-radius: 0.65rem;
  background: var(--color-brand);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--motion-duration-instant) var(--motion-easing-standard);
}

.tm-cskh-contact .wpcf7-form input.wpcf7-submit:hover,
.tm-cskh-contact .tm-cskh-cf7__submit:hover {
  background: var(--color-brand-dark);
}

.tm-cskh-contact .wpcf7-not-valid-tip,
.tm-cskh-contact .wpcf7-response-output {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
}

@media (max-width: 960px) {
  .tm-cskh-contact__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

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

@media (max-width: 640px) {
  .tm-cskh-contact__cards,
  .tm-cskh-cf7__row {
    grid-template-columns: 1fr;
  }
}

/* ——— Page hero (Contact / inner) ——— */
.tm-page-hero {
  position: relative;
  min-height: clamp(14rem, 32vw, 20rem);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.tm-page-hero.is-gradient {
  background-image:
    radial-gradient(ellipse 70% 80% at 15% 20%, rgba(255, 255, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 70% at 90% 85%, rgba(3, 133, 144, 0.35), transparent 50%),
    linear-gradient(135deg, var(--color-brand-deeper) 0%, var(--color-brand) 48%, var(--color-brand-dark) 100%);
}

.tm-page-hero.has-image {
  background-color: var(--color-brand-deeper);
  background-image: var(--tm-page-hero-bg);
}

.tm-page-hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tm-page-hero.has-image .tm-page-hero__overlay {
  background: linear-gradient(120deg, rgba(0, 58, 98, 0.82) 0%, rgba(0, 98, 165, 0.72) 55%, rgba(0, 58, 98, 0.78) 100%);
}

.tm-page-hero.is-gradient .tm-page-hero__overlay {
  background: transparent;
}

.tm-page-hero__inner {
  position: relative;
  z-index: 1;
  padding: clamp(3.5rem, 3vw, 5.5rem) 50px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.tm-page-hero__title {
  margin: 0;
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
}

.tm-page-hero__desc {
  margin: 0.85rem auto 0;
  font-size: var(--fs-h5);
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

/* ——— Contact form panel ——— */
.tm-contact-panel {
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
  background: #f4f7fa;
}

.tm-contact-panel .tm-contact-panel__inner,
.tm-contact-panel__inner {
  width: min(100% - var(--space-6), var(--tm-container));
  margin-inline: auto;
  padding: 0;
  box-sizing: border-box;
}

.tm-contact-panel__header {
  text-align: center;
  margin: 0 auto 1.25rem;
}

.tm-contact-panel__title {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
  color: var(--color-brand-dark);
}

.tm-contact-panel__subtitle {
  margin: 0.4rem 0 0;
  font-size: var(--fs-h5);
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.tm-contact-panel__grid {
  display: grid;
  grid-template-columns: minmax(12.5rem, 0.78fr) minmax(0, 1.22fr);
  gap: 1rem;
  align-items: stretch;
}

.tm-contact-panel__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  margin: 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 15% 85%, rgba(100, 175, 83, 0.22), transparent 55%),
    radial-gradient(ellipse 55% 45% at 90% 12%, rgba(255, 255, 255, 0.16), transparent 50%),
    linear-gradient(155deg, #1a6fb0 0%, var(--color-brand) 42%, var(--color-brand-deeper) 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0, 70, 120, 0.16);
  isolation: isolate;
}

.tm-contact-panel__card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tm-contact-panel__card-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(160deg, rgba(0, 98, 165, 0.72) 0%, rgba(0, 58, 98, 0.88) 100%),
    radial-gradient(ellipse 80% 55% at 20% 90%, rgba(100, 175, 83, 0.18), transparent 55%);
}

.tm-contact-panel__card:not(.has-image) .tm-contact-panel__card-shade {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 35%),
    radial-gradient(ellipse 70% 50% at 15% 85%, rgba(100, 175, 83, 0.2), transparent 55%);
}

.tm-contact-panel__card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  padding: 1.35rem 1.15rem 1.45rem;
}

.tm-contact-panel__card-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.tm-contact-panel__card-ring,
.tm-contact-panel__card-ring--2 {
  display: none;
}

.tm-contact-panel__card-svg {
  width: 1.1rem;
  height: 1.1rem;
  position: relative;
  z-index: 1;
}

.tm-contact-panel__card-title {
  margin: 0;
  font-size: var(--fs-h6);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}

.tm-contact-panel__hotlines {
  list-style: none;
  margin: 0.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  width: 100%;
  max-width: 14rem;
}

.tm-contact-panel__hotlines li {
  margin: 0;
}

.tm-contact-panel__pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: background var(--motion-duration-instant) var(--motion-easing-standard);
}

a.tm-contact-panel__pill:hover {
  background: rgba(255, 255, 255, 0.26);
  color: #fff;
}

.tm-contact-panel__form {
  min-width: 0;
  padding: 1rem 1.2rem 1.1rem;
  border: 1px solid #e4ebf1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 38, 58, 0.04);
}

.tm-contact-panel__hint {
  margin: 0;
  padding: 0.85rem;
  border: 1px dashed #c5d3de;
  border-radius: 0.75rem;
  background: #f8fafc;
  color: #5b646c;
  font-size: var(--fs-body);
  line-height: 1.55;
}

.tm-contact-panel .wpcf7,
.tm-contact-panel .wpcf7-form {
  margin: 0;
}

.tm-contact-cf7 {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.tm-contact-cf7__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1rem;
}

.tm-contact-cf7__row--full {
  grid-template-columns: 1fr;
}

.tm-contact-cf7__col {
  min-width: 0;
}

.tm-contact-cf7 p,
.tm-contact-cf7__col > p,
.tm-contact-cf7__row > p,
.tm-contact-cf7__actions > p {
  margin: 0;
}

.tm-contact-panel .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.tm-contact-panel .wpcf7-form input[type="text"],
.tm-contact-panel .wpcf7-form input[type="email"],
.tm-contact-panel .wpcf7-form input[type="tel"],
.tm-contact-panel .wpcf7-form input[type="url"],
.tm-contact-panel .wpcf7-form select,
.tm-contact-panel .wpcf7-form textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 2.05rem;
  padding: 0.25rem 0 0.35rem;
  border: 0;
  border-bottom: 1px solid #d5dee6;
  border-radius: 0;
  background: transparent !important;
  color: var(--color-text-primary);
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.35;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
}

.tm-contact-panel .wpcf7-form textarea {
  min-height: 2.4rem;
  max-height: 5.5rem;
  resize: vertical;
}

.tm-contact-panel .wpcf7-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7785' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.1rem center !important;
  background-size: 0.7rem auto !important;
  padding-right: 1.4rem;
  cursor: pointer;
  color: #6b7785;
}

.tm-contact-panel .wpcf7-form select option {
  color: var(--color-text-primary);
}

.tm-contact-panel .wpcf7-form input::placeholder,
.tm-contact-panel .wpcf7-form textarea::placeholder {
  color: #8a939c;
  opacity: 1;
}

.tm-contact-panel .wpcf7-form input:focus,
.tm-contact-panel .wpcf7-form select:focus,
.tm-contact-panel .wpcf7-form textarea:focus {
  outline: none;
  border-bottom-color: var(--color-brand);
  box-shadow: none !important;
}

.tm-contact-cf7__actions {
  margin-top: 0.15rem;
  text-align: center;
}

.tm-contact-panel .wpcf7-form input.wpcf7-submit,
.tm-contact-panel .tm-contact-cf7__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  min-width: 8.5rem;
  padding: 0.45rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--color-brand);
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--motion-duration-instant) var(--motion-easing-standard);
}

.tm-contact-panel .wpcf7-form input.wpcf7-submit:hover,
.tm-contact-panel .tm-contact-cf7__submit:hover {
  background: var(--color-brand-dark);
}

/* ——— Contact channels ——— */
.tm-contact-channels {
  background: linear-gradient(180deg, #eef4f9 0%, #f7fafc 100%);
}

.tm-contact-channels__inner {
  padding: clamp(3.25rem, 6.5vw, 5.25rem) var(--section);
  box-sizing: border-box;
}

.tm-contact-channels__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.tm-contact-channel {
  margin: 0;
  min-width: 0;
}

.tm-contact-channel__card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  padding: 1.85rem 1.25rem 1.75rem;
  background: #fff;
  border: 1px solid rgba(0, 98, 165, 0.1);
  border-radius: 1.15rem;
  box-shadow: 0 10px 28px rgba(0, 50, 90, 0.04);
  transition:
    transform var(--motion-duration-instant) var(--motion-easing-standard),
    border-color var(--motion-duration-instant) var(--motion-easing-standard),
    box-shadow var(--motion-duration-instant) var(--motion-easing-standard);
}

.tm-contact-channel__card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 98, 165, 0.28);
  box-shadow: 0 18px 36px rgba(0, 70, 120, 0.1);
}

.tm-contact-channel__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.9rem;
  background: linear-gradient(145deg, rgba(0, 98, 165, 0.12) 0%, rgba(0, 98, 165, 0.04) 100%);
  color: var(--color-brand);
  margin-bottom: 0.15rem;
}

.tm-contact-channel__glow {
  position: absolute;
  inset: -4px;
  border-radius: 1.05rem;
  border: 1px solid rgba(0, 98, 165, 0.12);
  opacity: 0;
  transition: opacity var(--motion-duration-instant) var(--motion-easing-standard);
  pointer-events: none;
}

.tm-contact-channel__card:hover .tm-contact-channel__glow {
  opacity: 1;
}

.tm-contact-channel--accent .tm-contact-channel__icon {
  background: linear-gradient(145deg, rgba(100, 175, 83, 0.18) 0%, rgba(100, 175, 83, 0.05) 100%);
  color: var(--color-accent-strong);
}

.tm-contact-channel--accent .tm-contact-channel__glow {
  border-color: rgba(100, 175, 83, 0.28);
}

.tm-contact-channel--teal .tm-contact-channel__icon {
  background: linear-gradient(145deg, rgba(3, 133, 144, 0.16) 0%, rgba(3, 133, 144, 0.05) 100%);
  color: var(--color-accent-teal);
}

.tm-contact-channel--teal .tm-contact-channel__glow {
  border-color: rgba(3, 133, 144, 0.28);
}

.tm-contact-channel--neutral .tm-contact-channel__icon {
  background: linear-gradient(145deg, #eef2f5 0%, #f8fafb 100%);
  color: #3d4750;
}

.tm-contact-channel--neutral .tm-contact-channel__glow {
  border-color: rgba(80, 95, 110, 0.2);
}

.tm-contact-channel__svg {
  width: 1.35rem;
  height: 1.35rem;
  position: relative;
  z-index: 1;
}

.tm-contact-channel__title {
  margin: 0;
  font-size: var(--fs-h5);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--color-text-primary);
}

.tm-contact-channel__text {
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--color-text-muted);
}

.tm-contact-channel__text p {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--color-text-muted);
}

.tm-contact-channel__text p + p {
  margin-top: 0.2rem;
}

.tm-contact-channel__text a {
  color: var(--color-brand);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    color var(--motion-duration-instant) var(--motion-easing-standard),
    border-color var(--motion-duration-instant) var(--motion-easing-standard);
}

.tm-contact-channel__text a:hover {
  color: var(--color-brand-dark);
  border-bottom-color: currentColor;
}

/* ——— Office locations ——— */
.tm-office-locations {
  background: #fff;
}

.tm-office-locations__inner {
  padding: clamp(3rem, 6vw, 5rem) var(--section);
  box-sizing: border-box;
}

.tm-office-locations__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.tm-office-location {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tm-office-location__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.tm-office-location__pin {
  display: inline-flex;
  color: var(--color-brand);
  flex-shrink: 0;
}

.tm-office-location__pin-svg {
  width: 1.45rem;
  height: 1.45rem;
}

.tm-office-location__title {
  margin: 0;
  font-size: var(--fs-h5);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-brand);
}

.tm-office-location__address {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--color-text-muted);
}

.tm-office-location__map {
  position: relative;
  margin-top: 0.35rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #e2ebf2;
  background: #eef3f7;
  aspect-ratio: 4 / 3;
}

.tm-office-location__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.tm-office-location__map-link {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-brand);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 40, 80, 0.12);
}

.tm-office-location__map-link:hover {
  color: var(--color-brand-dark);
}

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

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

@media (max-width: 960px) {
  .tm-contact-channels__inner,
  .tm-office-locations__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

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

  .tm-contact-panel__card {
    padding: 1.35rem 1.2rem 1.45rem;
  }
}

@media (max-width: 640px) {
  .tm-contact-cf7__row,
  .tm-contact-channels__grid {
    grid-template-columns: 1fr;
  }
}

/* ——— About welcome ——— */
.tm-about-welcome {
  background: #fff;
}

.tm-about-welcome__inner {
  padding: clamp(2.25rem, 5vw, 5.5rem) var(--section) clamp(1.75rem, 4vw, 3.5rem);
  box-sizing: border-box;
  margin: 0 auto;
  text-align: center;
  max-width: 100%;
}

.tm-about-welcome__title {
  margin: 0 auto;
  font-size: clamp(1.375rem, 0.95rem + 2.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--color-brand);
  overflow-wrap: break-word;
  hyphens: auto;
}

.tm-about-welcome__subtitle {
  margin: 0.85rem auto 0;
  font-size: clamp(0.9375rem, 0.88rem + 0.35vw, 1.25rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--color-text-muted);
}

/* ——— About company profile ——— */
.tm-about-profile {
  position: relative;
  background: #fff;
  overflow: visible;
  margin-top: clamp(0px, 4vw, 125px);
}

.tm-about-profile__grid {
  position: relative;
  margin-bottom: clamp(2.5rem, 6vw, 100px);
}

.tm-about-profile__left {
  min-width: 0;
  z-index: 1;
}

.tm-about-profile__band {
  background: #eceff2;
  padding: clamp(1.75rem, 4.5vw, 3.25rem) var(--section);
  box-sizing: border-box;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.tm-about-profile__company {
  margin: 0;
  width: 100%;
  font-size: clamp(1.25rem, 0.95rem + 1.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  overflow-wrap: break-word;
}

.tm-about-profile__content {
  padding: clamp(1.75rem, 4vw, 3rem) var(--section) clamp(2.5rem, 7vw, 5.5rem);
  box-sizing: border-box;
}

.tm-about-profile__copy {
  width: 100%;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--color-text-muted);
}

.tm-about-profile__copy p {
  margin: 0 0 1.15rem;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--color-text-muted);
}

.tm-about-profile__copy p:last-child {
  margin-bottom: 0;
}

.tm-about-profile__facts {
  list-style: disc;
  margin: 1.5rem 0 0;
  padding: 0 0 0 1.15rem;
  display: grid;
  gap: 0.55rem;
}

.tm-about-profile__facts li {
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--color-text-muted);
}

.tm-about-profile__fact-label {
  font-weight: 700;
  color: var(--color-text-primary);
}

.tm-about-profile__fact-label::after {
  content: ": ";
}

.tm-about-profile__fact-value {
  color: var(--color-text-muted);
}

.tm-about-profile.has-map {
  --tm-about-map-w: clamp(22rem, 40vw, 38rem);
}

.tm-about-profile.has-map .tm-about-profile__band,
.tm-about-profile.has-map .tm-about-profile__content {
  padding-right: calc(var(--section) + var(--tm-about-map-w) + 0.75rem);
}

.tm-about-profile.has-map .tm-about-profile__company,
.tm-about-profile.has-map .tm-about-profile__copy {
  width: 100%;
}

.tm-about-profile.has-map .tm-about-profile__map-col {
  position: absolute;
  top: 0;
  right: var(--section);
  bottom: 0;
  z-index: 2;
  width: var(--tm-about-map-w);
  display: flex;
  align-items: stretch;
  justify-content: center;
  box-sizing: border-box;
  pointer-events: none;
}

.tm-about-profile__map-col {
  position: relative;
}

.tm-about-profile__map {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.tm-about-profile__map-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center right;
  opacity: 1;
  filter: grayscale(1) contrast(0.92);
}

.tm-about-profile__map-placeholder {
  width: 70%;
  height: 90%;
  background: linear-gradient(160deg, #e8eef3 0%, #d9e3eb 100%);
}

.tm-about-profile__pins {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tm-about-profile__pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  transform: translate(-40%, -90%);
  white-space: nowrap;
}

.tm-about-profile__pin-mark {
  display: inline-flex;
  color: var(--color-brand);
  flex-shrink: 0;
}

.tm-about-profile__pin-svg {
  width: 1.15rem;
  height: 1.15rem;
  stroke-width: 2.2;
}

.tm-about-profile__pin.is-primary .tm-about-profile__pin-svg {
  width: 1.55rem;
  height: 1.55rem;
}

.tm-about-profile__pin-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: 0.01em;
}

@media (max-width: 1100px) {
  .tm-about-profile.has-map {
    --tm-about-map-w: clamp(18rem, 38vw, 30rem);
  }
}

@media (max-width: 960px) {
  .tm-about-welcome__inner {
    padding-top: 2rem;
    padding-bottom: 1.5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .tm-about-welcome__title {
    font-size: clamp(1.25rem, 5.2vw, 1.75rem);
  }

  .tm-about-welcome__subtitle {
    margin-top: 0.75rem;
    font-size: 0.9375rem;
  }

  .tm-about-profile {
    margin-top: 0;
  }

  .tm-about-profile__grid {
    margin-bottom: 2rem;
  }

  .tm-about-profile__band,
  .tm-about-profile__content {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .tm-about-profile.has-map .tm-about-profile__band,
  .tm-about-profile.has-map .tm-about-profile__content {
    padding-right: 1.25rem;
  }

  .tm-about-profile__band {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .tm-about-profile__company {
    width: 100%;
    font-size: clamp(1.2rem, 4.8vw, 1.5rem);
  }

  .tm-about-profile__content {
    padding-top: 1.5rem;
    padding-bottom: 2.25rem;
  }

  .tm-about-profile.has-map .tm-about-profile__left {
    padding-right: 0;
  }

  .tm-about-profile.has-map .tm-about-profile__map-col {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    padding: 0 1.25rem 2.25rem;
    pointer-events: auto;
  }

  .tm-about-profile__map {
    height: auto;
    max-width: 16rem;
    margin: 0 auto;
    overflow: visible;
  }

  .tm-about-profile__map-img {
    width: 100%;
    height: auto;
    max-height: none;
  }

  .tm-about-profile__pin-label {
    font-size: 0.7rem;
  }
}

@media (max-width: 600px) {
  .tm-about-welcome__inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .tm-about-profile__band,
  .tm-about-profile__content,
  .tm-about-profile.has-map .tm-about-profile__map-col {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ——— About capability stats ——— */
.tm-about-stats {
  position: relative;
  padding: clamp(3rem, 6vw, 4.75rem) 0;
  background:
    radial-gradient(ellipse 55% 70% at 50% 40%, #fff 0%, #f2f4f6 72%, #eceff2 100%);
  overflow: hidden;
}

.tm-about-stats__header {
  margin: 0 auto 2.25rem;
  text-align: center;
}

.tm-about-stats__heading {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.tm-about-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tm-about-stats__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 11.5rem;
  padding: 1.35rem 1.25rem 1.3rem;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 38, 58, 0.06);
}

.tm-about-stats__icon {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
}

.tm-about-stats__svg {
  width: 1.1rem;
  height: 1.1rem;
}

.tm-about-stats__value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.28rem;
  margin: 0;
  padding-right: 2.75rem;
  line-height: 1;
}

.tm-about-stats__number {
  font-size: clamp(2.1rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
}

.tm-about-stats__suffix {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 800;
  color: var(--color-brand);
}

.tm-about-stats__unit {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.tm-about-stats__label {
  margin: 0.7rem 0 0;
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text-muted);
}

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

@media (max-width: 560px) {
  .tm-about-stats__grid {
    grid-template-columns: 1fr;
    max-width: 22rem;
    margin-inline: auto;
  }

  .tm-about-stats__card {
    min-height: 10rem;
  }
}

/* ——— About mission · values · vision ——— */
.tm-about-purpose {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0;
  background:
    radial-gradient(ellipse 40% 45% at 0% 12%, rgba(0, 98, 165, 0.05), transparent 60%),
    radial-gradient(ellipse 36% 40% at 100% 88%, rgba(0, 98, 165, 0.04), transparent 58%),
    #fff;
  overflow: hidden;
}

.tm-about-purpose__block {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}

.tm-about-purpose__block + .tm-about-purpose__block {
  margin-top: clamp(2.75rem, 5.5vw, 4.25rem);
  padding-top: clamp(2.75rem, 5.5vw, 4.25rem);
  border-top: 1px solid #e8eef3;
}

.tm-about-purpose__block--mission,
.tm-about-purpose__block--vision {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}

.tm-about-purpose__block--vision {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}

.tm-about-purpose__block--values {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.tm-about-purpose__heading {
  margin: 0 0 0.85rem;
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
  color: var(--color-brand-dark);
}

.tm-about-purpose__text {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--color-text-muted);
}

.tm-about-purpose__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.45rem 0 0;
  padding: 0;
  list-style: none;
}

.tm-about-purpose__stat {
  padding: 1rem 1.05rem;
  border: 1px solid #e4ebf1;
  border-radius: 12px;
  background: #fff;
}

.tm-about-purpose__stat-num {
  display: block;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-brand);
}

.tm-about-purpose__stat-label {
  display: block;
  margin-top: 0.3rem;
  font-size: var(--fs-body-sm);
  line-height: 1.45;
  color: var(--color-text-muted);
}

.tm-about-purpose__media {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #e8eef4;
  aspect-ratio: 16 / 11;
}

.tm-about-purpose__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tm-about-purpose__values {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tm-about-purpose__value {
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  gap: 0.85rem;
  padding: 1rem 0;
}

.tm-about-purpose__value:last-child {
  padding-bottom: 0;
}

.tm-about-purpose__value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 8px;
  background: rgba(0, 98, 165, 0.1);
  color: var(--color-brand);
}

.tm-about-purpose__value-svg {
  width: 1.15rem;
  height: 1.15rem;
}

.tm-about-purpose__value-body {
  display: grid;
  grid-template-columns: minmax(7rem, 9.5rem) minmax(0, 1fr);
  gap: 0.75rem 1rem;
  align-items: start;
  min-width: 0;
}

.tm-about-purpose__value-title {
  font-size: var(--fs-h5);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
}

.tm-about-purpose__value-text {
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  .tm-about-purpose__block--mission,
  .tm-about-purpose__block--values,
  .tm-about-purpose__block--vision {
    grid-template-columns: 1fr;
  }

  .tm-about-purpose__block--vision .tm-about-purpose__media {
    order: -1;
  }

  .tm-about-purpose__value-body {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

@media (max-width: 560px) {
  .tm-about-purpose__stats {
    grid-template-columns: 1fr;
  }
}

/* ——— About partners & clients ——— */
.tm-about-partners {
  position: relative;
  padding: clamp(3rem, 6vw, 4.75rem) 0;
  background: var(--color-brand);
  overflow: hidden;
  color: #fff;
}

.tm-about-partners__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.08) 42% 43%, transparent 43%),
    linear-gradient(155deg, transparent 0 58%, rgba(255, 255, 255, 0.06) 58% 59%, transparent 59%),
    radial-gradient(ellipse 50% 60% at 8% 20%, rgba(255, 255, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 45% 55% at 92% 85%, rgba(0, 0, 0, 0.12), transparent 60%);
}

.tm-about-partners .tm-container {
  position: relative;
  z-index: 1;
}

.tm-about-partners__header {
  margin: 0 0 2rem;
  text-align: center;
}

.tm-about-partners__heading {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
  color: #fff;
}

.tm-about-partners__group + .tm-about-partners__group {
  margin-top: 2.25rem;
}

.tm-about-partners__label {
  margin: 0 0 1.1rem;
  text-align: center;
  font-size: var(--fs-h5);
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.tm-about-partners__grid {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tm-about-partners__grid--partners {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 52rem;
  margin-inline: auto;
}

.tm-about-partners__grid--clients {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.tm-about-partners__card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.75rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 40, 70, 0.12);
}

.tm-about-partners__grid--partners .tm-about-partners__card {
  min-height: 5.5rem;
  padding: 1rem 1.15rem;
}

.tm-about-partners__logo {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 2.75rem;
  height: auto;
  object-fit: contain;
}

.tm-about-partners__grid--partners .tm-about-partners__logo {
  max-height: 3.1rem;
}

@media (max-width: 1100px) {
  .tm-about-partners__grid--clients {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

  .tm-about-partners__grid--clients {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

/* ——— News listing (home.php) ——— */
.tm-news {
  background: #fff;
}

.tm-news-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, #eef1f4 0%, #f6f7f9 22%, #fff 50%, #f6f7f9 78%, #eef1f4 100%);
}

.tm-news-hero::before,
.tm-news-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tm-news-hero::before {
  background:
    radial-gradient(ellipse 42% 58% at 22% 48%, rgba(255, 255, 255, 0.95) 0%, transparent 68%),
    radial-gradient(ellipse 38% 52% at 68% 36%, rgba(255, 255, 255, 0.82) 0%, transparent 70%),
    radial-gradient(ellipse 28% 40% at 88% 72%, rgba(255, 255, 255, 0.7) 0%, transparent 65%),
    radial-gradient(ellipse 24% 36% at 8% 80%, rgba(255, 255, 255, 0.55) 0%, transparent 70%);
}

.tm-news-hero::after {
  opacity: 0.42;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 360' fill='none'%3E%3Cg stroke='%239aa8b5' stroke-width='1.15' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M-20 88h176l46 46h214'/%3E%3Cpath d='M36 208h148l34-34h188l38 38h128'/%3E%3Cpath d='M118 304h236l48-48h168'/%3E%3Cpath d='M428 36v72l34 34v84'/%3E%3Cpath d='M616 78h164l42 42h184l34-34h214'/%3E%3Cpath d='M698 218h142l58 58h276'/%3E%3Cpath d='M858 304h196l38-38h188'/%3E%3Cpath d='M1084 28v92l-30 30v74'/%3E%3Cpath d='M1218 158h158l38 38h148'/%3E%3Cpath d='M248 118c92-48 178 18 278-12 108-32 188 38 308 6'/%3E%3Cpath d='M776 258c118-68 236-18 356-78 68-32 148 8 236-22'/%3E%3Cpath d='M972 116c78 38 138-18 216 22'/%3E%3Cpath d='M80 160h90l24 24'/%3E%3Cpath d='M1320 70h90l28 28v48'/%3E%3C/g%3E%3Cg fill='%239aa8b5'%3E%3Ccircle cx='156' cy='88' r='2.7'/%3E%3Ccircle cx='202' cy='134' r='2.2'/%3E%3Ccircle cx='416' cy='134' r='2.7'/%3E%3Ccircle cx='184' cy='208' r='2.2'/%3E%3Ccircle cx='218' cy='174' r='2'/%3E%3Ccircle cx='406' cy='174' r='2.2'/%3E%3Ccircle cx='444' cy='212' r='2.5'/%3E%3Ccircle cx='354' cy='304' r='2.2'/%3E%3Ccircle cx='402' cy='256' r='2'/%3E%3Ccircle cx='428' cy='36' r='2.5'/%3E%3Ccircle cx='428' cy='108' r='2'/%3E%3Ccircle cx='462' cy='142' r='2.4'/%3E%3Ccircle cx='780' cy='78' r='2.5'/%3E%3Ccircle cx='822' cy='120' r='2.2'/%3E%3Ccircle cx='1006' cy='120' r='2.6'/%3E%3Ccircle cx='1040' cy='86' r='2'/%3E%3Ccircle cx='1254' cy='86' r='2.4'/%3E%3Ccircle cx='840' cy='218' r='2.2'/%3E%3Ccircle cx='898' cy='276' r='2.6'/%3E%3Ccircle cx='1174' cy='276' r='2.2'/%3E%3Ccircle cx='1054' cy='304' r='2'/%3E%3Ccircle cx='1092' cy='266' r='2.4'/%3E%3Ccircle cx='1280' cy='266' r='2.2'/%3E%3Ccircle cx='1084' cy='28' r='2.5'/%3E%3Ccircle cx='1084' cy='120' r='2'/%3E%3Ccircle cx='1054' cy='150' r='2.2'/%3E%3Ccircle cx='1376' cy='158' r='2.4'/%3E%3Ccircle cx='1414' cy='196' r='2'/%3E%3Ccircle cx='1410' cy='70' r='2.2'/%3E%3Ccircle cx='1438' cy='98' r='2'/%3E%3Ccircle cx='170' cy='160' r='2'/%3E%3Ccircle cx='194' cy='184' r='2.2'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.tm-news-hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - var(--space-6), var(--tm-container));
  margin: 0 auto;
  padding: clamp(3.5rem, 7.5vw, 5.25rem) 0 clamp(3.25rem, 6.5vw, 4.75rem);
  text-align: left;
}

.tm-news-hero__title {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--color-text-primary);
}

.tm-news-hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid #e3e8ed;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  flex-shrink: 0;
}

.tm-news-hero__icon {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--color-brand);
  flex-shrink: 0;
  stroke-width: 1.85;
}

.tm-news-hero__subtitle {
  margin: 0.95rem 0 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: #6b7785;
}

.tm-news-highlights {
  padding: 0.25rem 0 0;
}

.tm-news-highlights__inner {
  width: min(100% - var(--space-6), var(--tm-container));
  margin: 0 auto;
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: clamp(2.25rem, 4.5vw, 3.25rem);
}

@media (min-width: 860px) {
  .tm-news-highlights__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .tm-news-hl:only-child {
    max-width: 50%;
  }
}

.tm-news-hl {
  position: relative;
  min-width: 0;
  padding: 1.65rem 1.5rem 1.5rem;
  border-radius: 0.35rem;
  background:
    radial-gradient(ellipse 85% 70% at 0% 0%, color-mix(in srgb, var(--color-brand) 13%, transparent), transparent 64%),
    #fff;
}

.tm-news-hl__badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.28rem 0.7rem;
  border-radius: 0.28rem;
  background: var(--color-brand);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.tm-news-hl__title {
  margin: 0 0 0.7rem;
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  font-weight: 800;
  line-height: 1.38;
}

.tm-news-hl__title a {
  color: var(--color-text-primary);
  text-decoration: none;
}

.tm-news-hl__title a:hover {
  color: var(--color-brand);
}

.tm-news-hl__excerpt {
  margin: 0 0 1.15rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #6b7785;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tm-news-hl__foot,
.tm-news-item__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1.25rem;
}

.tm-news-hl__foot {
  font-size: 0.9rem;
  color: #8a95a1;
}

.tm-news-more {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-brand);
  text-decoration: none;
  white-space: nowrap;
}

.tm-news-more:hover {
  color: var(--color-brand-dark);
}

.tm-news-more__icon {
  width: 0.95rem;
  height: 0.95rem;
}

.tm-news-list {
  padding: 0 0 clamp(2.5rem, 5vw, 3.5rem);
}

.tm-news-list__inner {
  width: min(100% - var(--space-6), var(--tm-container));
  margin: 0 auto;
  padding-top: clamp(1.75rem, 3.5vw, 2.5rem);
  border-top: 1px solid #eceff2;
}

.tm-news-list__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.85rem;
}

.tm-news-list__title {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-text-primary);
}

.tm-news-search {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  flex: 1 1 17rem;
  max-width: 26.5rem;
  margin-left: auto;
}

.tm-news-search__field-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.tm-news-search__icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  width: 1.05rem;
  height: 1.05rem;
  transform: translateY(-50%);
  color: #9aa4ae;
  pointer-events: none;
}

.tm-news-search__field {
  width: 100%;
  min-height: 2.65rem;
  padding: 0.5rem 0.95rem 0.5rem 2.35rem;
  border: 1px solid #e2e8ee;
  border-radius: 0.55rem;
  background: #fff;
  font: inherit;
  color: var(--color-text-primary);
}

.tm-news-search__field:focus {
  outline: var(--focus-ring);
  outline-offset: 2px;
  border-color: var(--color-brand);
}

.tm-news-search__submit {
  flex: 0 0 auto;
  border-radius: 0.55rem;
  min-height: 2.65rem;
  padding-inline: 1.2rem;
  font-size: 0.92rem;
}

.tm-news-list__items {
  display: grid;
  gap: 0;
}

.tm-news-item {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: minmax(0, 1fr);
  padding: 1.65rem 0;
  border-bottom: 1px solid #eceff2;
}

.tm-news-item:first-child {
  padding-top: 0.35rem;
}

.tm-news-item:last-child {
  border-bottom: 0;
}

@media (min-width: 720px) {
  .tm-news-item {
    grid-template-columns: 15.75rem minmax(0, 1fr);
    align-items: stretch;
    gap: 1.65rem;
  }
}

.tm-news-item__thumb {
  display: block;
  overflow: hidden;
  border-radius: 0.85rem;
  background: #eef2f5;
  box-shadow: 0 10px 28px rgba(24, 28, 20, 0.08);
}

.tm-news-item__thumb img,
.tm-news-item__ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.tm-news-item__ph {
  display: block;
  min-height: 9.5rem;
  background: linear-gradient(145deg, #e6eef4 0%, #d5e3ee 100%);
}

.tm-news-item__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0.15rem 0 0.1rem;
}

.tm-news-item__title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.05rem, 1.55vw, 1.22rem);
  font-weight: 800;
  line-height: 1.4;
}

.tm-news-item__title a {
  color: var(--color-text-primary);
  text-decoration: none;
}

.tm-news-item__title a:hover {
  color: var(--color-brand);
}

.tm-news-item__excerpt {
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #6b7785;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tm-news-item__foot {
  margin-top: auto;
  font-size: 0.88rem;
  color: #8a95a1;
}

.tm-news-item__meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.tm-news-item__stat {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.tm-news-item__stat-icon {
  width: 0.95rem;
  height: 0.95rem;
}

.tm-news .navigation.pagination,
.tm-jobs .navigation.pagination {
  margin-top: 2.35rem;
}

.tm-news .nav-links,
.tm-jobs .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.2rem;
  align-items: center;
  justify-content: center;
}

.tm-news .page-numbers,
.tm-jobs .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  min-height: 2.35rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  color: #9aa4ae;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  background: transparent;
}

.tm-news a.page-numbers:hover,
.tm-jobs a.page-numbers:hover {
  color: var(--color-brand);
}

.tm-news .page-numbers.current,
.tm-jobs .page-numbers.current {
  color: var(--color-brand);
  font-weight: 800;
  background: transparent;
}

.tm-news .prev.page-numbers,
.tm-news .next.page-numbers,
.tm-jobs .prev.page-numbers,
.tm-jobs .next.page-numbers {
  border: 1px solid #e5e9ee;
  color: #6b7785;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0;
}

.tm-news .prev.page-numbers:hover,
.tm-news .next.page-numbers:hover,
.tm-jobs .prev.page-numbers:hover,
.tm-jobs .next.page-numbers:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
  background: #fff;
}

.tm-news-pager__icon {
  width: 1.05rem;
  height: 1.05rem;
}

.tm-news .page-numbers.dots,
.tm-jobs .page-numbers.dots {
  min-width: 1.25rem;
  pointer-events: none;
}

.tm-news-empty {
  margin: 0;
  padding: 1.25rem 0 2rem;
  color: #5c6773;
  line-height: 1.6;
}

.tm-news-cta {
  padding: 0 0 clamp(3.5rem, 7vw, 5rem);
}

.tm-news-cta__inner {
  width: min(100% - var(--space-6), var(--tm-container));
  margin: 0 auto;
}

.tm-news-cta__panel {
  position: relative;
  overflow: hidden;
  min-height: 16.5rem;
  border-radius: 1.35rem;
  display: flex;
  align-items: center;
  background: linear-gradient(105deg, var(--color-brand-deeper) 0%, var(--color-brand) 42%, var(--color-accent-teal) 100%);
}

.tm-news-cta__panel.has-image {
  background-color: var(--color-brand-deeper);
  background-image:
    linear-gradient(90deg, rgba(0, 36, 62, 0.78) 0%, rgba(0, 62, 105, 0.42) 48%, rgba(0, 62, 105, 0.12) 100%),
    var(--tm-news-cta-image);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.tm-news-cta__copy {
  position: relative;
  z-index: 1;
  padding: clamp(1.85rem, 4vw, 2.85rem) clamp(1.6rem, 4vw, 3rem);
}

.tm-news-cta__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: #fff;
}

.tm-news-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.7rem;
  padding: 0.45rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 0.55rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  background: rgba(0, 24, 42, 0.28);
}

.tm-news-cta__btn:hover {
  background: rgba(0, 24, 42, 0.45);
  color: #fff;
  border-color: #fff;
}

.tm-news-cta__btn-icon {
  width: 1.05rem;
  height: 1.05rem;
}

@media (max-width: 719px) {
  .tm-news-search {
    max-width: none;
    width: 100%;
    margin-left: 0;
  }

  .tm-news-hl {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .tm-news-cta__panel.has-image {
    background-position: center;
    background-image:
      linear-gradient(180deg, rgba(0, 36, 62, 0.72) 0%, rgba(0, 36, 62, 0.55) 100%),
      var(--tm-news-cta-image);
  }
}

/* ——— Single post ——— */
.tm-single {
  background: #fff;
  padding: 1.25rem 0 0;
}

.tm-single__inner {
  width: min(100% - var(--space-6), var(--tm-container));
  margin: 0 auto;
}

.tm-crumb {
  margin: 0 0 1.75rem;
}

.tm-crumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: #9aa4ae;
}

.tm-crumb__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.tm-crumb__item + .tm-crumb__item::before {
  content: ">";
  margin-right: 0.15rem;
  color: #c5ced6;
  font-weight: 500;
}

.tm-crumb__item a {
  color: #9aa4ae;
  text-decoration: none;
}

.tm-crumb__item a:hover {
  color: var(--color-brand);
}

.tm-crumb__item.is-accent a,
.tm-crumb__item.is-accent span {
  color: var(--color-brand);
  font-weight: 600;
}

.tm-single__header {
  max-width: 46rem;
  margin: 0 0 1.35rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #eceff2;
}

.tm-single__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.025em;
  color: var(--color-text-primary);
}

.tm-single__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.75rem;
  font-size: 0.9rem;
  color: #8a95a1;
}

.tm-single__meta-sep {
  width: 1px;
  height: 0.9rem;
  background: #dbe3ea;
}

.tm-single__share {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.tm-single__share:hover,
.tm-single__share:focus-visible {
  color: var(--color-brand);
}

.tm-single__share.is-copied {
  color: var(--color-accent-strong);
}

.tm-single__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

@media (min-width: 960px) {
  .tm-single.has-sidebar .tm-single__grid {
    grid-template-columns: minmax(0, 1fr) 17.5rem;
  }

  .tm-related {
    position: sticky;
    top: 7.5rem;
  }
}

.tm-single__article {
  min-width: 0;
}

.tm-single__content {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #3d444c;
}

.tm-single__content > p:first-of-type {
  font-size: 1.12rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.7;
  color: var(--color-text-primary);
}

.tm-single__content p {
  margin: 0 0 1.15rem;
}

.tm-single__content h2,
.tm-single__content h3 {
  margin: 1.75rem 0 0.75rem;
  color: var(--color-text-primary);
  font-weight: 800;
  line-height: 1.35;
}

.tm-single__content h2 {
  font-size: 1.35rem;
}

.tm-single__content h3 {
  font-size: 1.15rem;
}

.tm-single__content a {
  color: var(--color-brand);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.tm-single__content img,
.tm-single__content .wp-block-image img {
  border-radius: 0.35rem;
  margin: 1.35rem 0;
}

.tm-single__content figure {
  margin: 1.35rem 0;
}

.tm-single__content ul,
.tm-single__content ol {
  margin: 0 0 1.15rem;
  padding-left: 1.25rem;
}

.tm-related__title {
  margin: 0 0 1.15rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-text-primary);
}

.tm-related__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.tm-related__item {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.tm-related__thumb {
  display: block;
  overflow: hidden;
  border-radius: 0.4rem;
  background: #eef2f5;
}

.tm-related__thumb img,
.tm-related__ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.tm-related__ph {
  display: block;
  min-height: 5.5rem;
  background: linear-gradient(145deg, #e6eef4 0%, #d5e3ee 100%);
}

.tm-related__item-title {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tm-related__item-title a {
  color: var(--color-text-primary);
  text-decoration: none;
}

.tm-related__item-title a:hover {
  color: var(--color-brand);
}

.tm-related__item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.82rem;
  color: #8a95a1;
}

.tm-related__go {
  display: inline-flex;
  color: var(--color-brand);
}

.tm-related__go:hover {
  color: var(--color-brand-dark);
}

.tm-related__go-icon {
  width: 0.95rem;
  height: 0.95rem;
}

.tm-single-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin: 0.35rem 0 2.25rem;
  padding-top: 1.35rem;
  border-top: 1px solid #eceff2;
}

.tm-single-bar__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tm-single-bar__tag {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.2rem 0.85rem;
  border-radius: 999px;
  background: #eef1f4;
  color: #5c6773;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.tm-single-bar__tag:hover {
  background: #e4e9ee;
  color: var(--color-brand);
}

.tm-single-bar__share {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.tm-single-bar__share-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.tm-single-bar__share-list {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tm-single-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 0;
  border-radius: 0.45rem;
  background: #1a1d18;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
}

.tm-single-bar__btn:hover,
.tm-single-bar__btn:focus-visible {
  background: var(--color-brand);
  color: #fff;
}

.tm-single-bar__btn.is-copied {
  background: var(--color-accent-strong);
}

.tm-single-bar__icon {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
  flex-shrink: 0;
}

.tm-single .tm-news-cta {
  padding-bottom: clamp(3.5rem, 7vw, 5rem);
}

.tm-single .tm-news-cta__inner {
  width: 100%;
}

/* ——— Jobs / tuyển dụng ——— */
.tm-jobs {
  background: #fff;
}

.tm-jobs-list {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
}

.tm-jobs-list__inner {
  width: min(100% - var(--space-6), var(--tm-container));
  margin: 0 auto;
}

.tm-jobs-list__head {
  margin-bottom: 0.35rem;
}

.tm-jobs-list__title {
  margin: 0 0 1.15rem;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 800;
  color: var(--color-text-primary);
}

.tm-jobs-filters {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)) auto;
  gap: 0.55rem;
  align-items: stretch;
  margin-bottom: 1.5rem;
}

.tm-jobs-filters__search,
.tm-jobs-filters__select {
  min-height: 2.75rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid #e2e8ee;
  border-radius: 0.55rem;
  background: #fff;
  font: inherit;
  color: var(--color-text-primary);
}

.tm-jobs-filters__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239aa4ae' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  padding-right: 2rem;
}

.tm-jobs-filters__search:focus,
.tm-jobs-filters__select:focus {
  outline: var(--focus-ring);
  outline-offset: 2px;
  border-color: var(--color-brand);
}

.tm-jobs-filters__submit {
  border-radius: 0.55rem;
  min-height: 2.75rem;
  padding-inline: 1.2rem;
  white-space: nowrap;
}

.tm-jobs-list__items {
  display: grid;
  gap: 0;
}

.tm-job {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.45rem 0;
  border-bottom: 1px solid #eceff2;
}

.tm-job:first-child {
  border-top: 1px solid #eceff2;
}

.tm-job__main {
  min-width: 0;
  flex: 1 1 16rem;
}

.tm-job__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin-bottom: 0.55rem;
}

.tm-job__title {
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 800;
  line-height: 1.35;
}

.tm-job__title a {
  color: var(--color-text-primary);
  text-decoration: none;
}

.tm-job__title a:hover {
  color: var(--color-brand);
}

.tm-job__status {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.12rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.tm-job__status.is-expired {
  background: #eef1f4;
  color: #6b7785;
}

.tm-job__status.is-open {
  background: color-mix(in srgb, var(--color-brand) 12%, #fff);
  color: var(--color-brand);
}

.tm-job__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: #6b7785;
}

.tm-job__meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.tm-job__meta-icon {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--color-brand);
  flex-shrink: 0;
}

.tm-job__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 2.45rem;
  padding: 0.4rem 1.05rem;
  border: 1px solid var(--color-brand);
  border-radius: 0.5rem;
  color: var(--color-brand);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  background: #fff;
  flex: 0 0 auto;
}

.tm-job__btn:hover {
  background: var(--color-brand);
  color: #fff;
}

.tm-job__btn-icon {
  width: 0.95rem;
  height: 0.95rem;
}

.tm-jobs-empty {
  margin: 0;
  padding: 1.5rem 0 2rem;
  color: #5c6773;
}

.tm-jobs-why {
  padding: 0 0 clamp(3.5rem, 7vw, 5.5rem);
}

.tm-jobs-why__inner {
  width: min(100% - var(--space-6), var(--tm-container));
  margin: 0 auto;
}

.tm-jobs-why__head {
  text-align: center;
  margin: 0 auto 2rem;
}

.tm-jobs-why__eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand);
}

.tm-jobs-why__title {
  margin: 0 0 0.7rem;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-text-primary);
}

.tm-jobs-why__desc {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #6b7785;
}

.tm-jobs-why__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tm-jobs-why__card {
  background: #f4f6f8;
  border-radius: 0.9rem;
  padding: 1.35rem 2rem 1.5rem;
}

.tm-jobs-why__icon {
  width: 1.85rem;
  height: 1.85rem;
  color: var(--color-brand);
  margin-bottom: 0.85rem;
}

.tm-jobs-why__card-title {
  margin: 0 0 0.55rem;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--color-text-primary);
}

.tm-jobs-why__card-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #5c6773;
}

.tm-job-apply {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin: 2rem 0 0;
}

.tm-single--job {
  padding-top: 0;
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  background: #f3f5f7;
}

.tm-job-page {
  padding-top: clamp(1.15rem, 2.5vw, 1.6rem);
}

.tm-single--job .tm-crumb {
  margin: 0 0 1.15rem;
}

.tm-single--job .tm-single__grid {
  align-items: start;
}

@media (min-width: 960px) {
  .tm-single--job.has-sidebar .tm-single__grid {
    grid-template-columns: minmax(0, 1fr) minmax(17.5rem, 22rem);
    gap: 1.35rem;
  }

  .tm-job-aside {
    position: sticky;
    top: 7.5rem;
  }
}

.tm-job-main,
.tm-job-card {
  background: #fff;
  border: 1px solid #e8edf1;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16, 38, 58, 0.04);
}

.tm-job-main {
  min-width: 0;
  padding: 1.5rem 1.5rem 1.65rem;
}

.tm-job-main__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tm-job-main__title {
  margin: 0;
  font-size: clamp(1.5rem, 1.15rem + 1.8vw, 2.5rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.tm-job-main__salary-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 1rem;
}

.tm-job-main__salary {
  margin: 0;
  font-size: clamp(1.15rem, 1rem + 0.55vw, 1.4rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-accent-strong);
}

.tm-job-main__market {
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
  color: #7a8794;
  text-decoration: none;
}

.tm-job-main__market:hover {
  color: var(--color-brand);
}

.tm-job-main__facts {
  list-style: none;
  margin: 0;
  padding: 0.85rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  border-top: 1px solid #eef2f5;
}

.tm-job-main__fact {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
}

.tm-job-main__fact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  background: rgba(100, 175, 83, 0.12);
  color: var(--color-accent-strong);
  flex-shrink: 0;
}

.tm-job-main__fact-svg {
  width: 1.05rem;
  height: 1.05rem;
}

.tm-job-main__fact-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.tm-job-main__fact-label {
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
  color: #7a8794;
}

.tm-job-main__fact-value {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text-primary);
}

.tm-job-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.tm-job-actions--header {
  margin-top: 0;
}

.tm-job-main__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin-top: 0.25rem;
}

.tm-job-main__toolbar .tm-job-actions {
  flex: 0 1 66.666%;
  width: 66.666%;
  max-width: 66.666%;
  min-width: 0;
}

.tm-job-main__toolbar .tm-job-actions__apply {
  width: 100%;
  flex: 1 1 auto;
}

.tm-job-main__toolbar .tm-single-bar__share {
  margin-left: auto;
}

.tm-job-main .tm-single-bar__btn {
  background: #64af53;
}

.tm-job-main .tm-single-bar__btn:hover,
.tm-job-main .tm-single-bar__btn:focus-visible {
  background: #569a47;
  color: #fff;
}

.tm-job-main .tm-single-bar__btn.is-copied {
  background: #4d8b3f;
}

.tm-job-actions__apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex: 0 0 auto;
  width: fit-content;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border: 0;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(42, 158, 92, 0.22);
  transition:
    background var(--motion-duration-instant) var(--motion-easing-standard),
    transform var(--motion-duration-instant) var(--motion-easing-standard);
}

.tm-job-actions__apply:hover,
.tm-job-actions__apply:focus-visible {
  background: var(--color-accent-strong);
  color: #fff;
  transform: translateY(-1px);
  outline: none;
}

.tm-job-actions__save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  width: fit-content;
  min-height: 3rem;
  padding: 0.65rem 1.15rem;
  border: 1.5px solid var(--color-accent);
  border-radius: 999px;
  background: #fff;
  color: var(--color-accent-strong);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  transition:
    background var(--motion-duration-instant) var(--motion-easing-standard),
    color var(--motion-duration-instant) var(--motion-easing-standard),
    border-color var(--motion-duration-instant) var(--motion-easing-standard);
}

.tm-job-actions__save:hover,
.tm-job-actions__save:focus-visible {
  background: rgba(100, 175, 83, 0.08);
  outline: none;
}

.tm-job-actions__save.is-saved {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.tm-job-actions__icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.tm-job-actions__save .tm-job-actions__icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
}

.tm-job-actions__save.is-saved .tm-job-actions__icon {
  fill: currentColor;
  stroke: currentColor;
}

.tm-job-main__body {
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid #eef2f5;
}

.tm-job-main__footer {
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid #eef2f5;
}

.tm-job-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.2rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border-radius: 10px;
}

.tm-job-apply-btn__icon {
  width: 1.15rem;
  height: 1.15rem;
}

.tm-job-apply-closed {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #8a5a1a;
}

@media (max-width: 720px) {
  .tm-job-main__facts {
    grid-template-columns: 1fr;
  }

  .tm-job-main__toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .tm-job-main__toolbar .tm-job-actions {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
  }

  .tm-job-main__toolbar .tm-single-bar__share {
    margin-left: 0;
    justify-content: flex-start;
  }

  .tm-job-actions__apply,
  .tm-job-actions__save {
    flex: 1 1 100%;
    width: 100%;
  }
}

.tm-job-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tm-job-card {
  padding: 1.2rem 1.2rem 1.25rem;
}

.tm-job-card__title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.05rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text-primary);
}

.tm-job-card__title::before {
  content: "";
  width: 4px;
  height: 1.05em;
  border-radius: 99px;
  background: var(--color-brand);
}

.tm-job-company__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.05rem;
}

.tm-job-company__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3.15rem;
  height: 3.15rem;
  overflow: hidden;
  border-radius: 50%;
  background: #eef4f9;
  border: 1px solid #e4ebf1;
}

.tm-job-company__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tm-job-company__name {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--color-brand);
}

.tm-job-company__list {
  margin: 0;
}

.tm-job-company__row {
  display: grid;
  grid-template-columns: minmax(6.5rem, 7.5rem) minmax(0, 1fr);
  gap: 0.65rem 0.75rem;
  padding: 0.7rem 0;
  border-top: 1px solid #eef2f5;
}

.tm-job-company__row dt {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--color-text-primary);
}

.tm-job-company__icon {
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.1rem;
  color: #8a99a6;
}

.tm-job-company__row dd {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: #5c6773;
}

.tm-job-facts__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tm-job-facts__item {
  display: flex;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-top: 1px solid #eef2f5;
}

.tm-job-facts__item:first-child {
  padding-top: 0;
  border-top: 0;
}

.tm-job-facts__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
}

.tm-job-facts__svg {
  width: 1.05rem;
  height: 1.05rem;
}

.tm-job-facts__label {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--color-text-primary);
}

.tm-job-facts__value {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #5c6773;
}

.tm-job-region__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tm-job-region__item {
  padding: 0.75rem 0;
  border-top: 1px solid #eef2f5;
}

.tm-job-region__item:first-child {
  padding-top: 0;
  border-top: 0;
}

.tm-job-region__link {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-brand);
  text-decoration: none;
}

.tm-job-region__link:hover {
  text-decoration: underline;
}

.tm-job-region__loc {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin-top: 0.28rem;
  font-size: 0.8rem;
  color: #6b7784;
}

.tm-job-region__pin {
  width: 0.85rem;
  height: 0.85rem;
}

.tm-single--job .tm-single__content > p:first-of-type {
  font-size: inherit;
  font-weight: inherit;
  font-style: normal;
  line-height: inherit;
  color: inherit;
}

.tm-single--job .tm-single__content h2 {
  margin: 1.85rem 0 0.85rem;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tm-single--job .tm-single__content h2:first-child {
  margin-top: 0;
}

.tm-single--job .tm-single__content h3 {
  margin: 1.15rem 0 0.55rem;
  font-size: 1rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
}

.tm-single--job .tm-single__content ul,
.tm-single--job .tm-single__content ol {
  padding-left: 1.15rem;
}

.tm-single--job .tm-single__content li {
  margin: 0 0 0.45rem;
}

.tm-job-perks__list {
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.tm-job-perks__item {
  border-bottom: 1px solid #eef2f5;
}

.tm-job-perks__item:last-child {
  border-bottom: 0;
}

.tm-job-perks__summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  margin: 0;
  padding: 0.85rem 0;
  cursor: pointer;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--color-text-primary);
}

.tm-job-perks__summary::-webkit-details-marker {
  display: none;
}

.tm-job-perks__summary::marker {
  content: "";
  display: none;
}

.tm-job-perks__summary:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

.tm-job-perks__chevron {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--color-brand);
  flex-shrink: 0;
  margin-top: 0.15rem;
  transition: transform 0.2s ease;
}

.tm-job-perks__item[open] .tm-job-perks__chevron {
  transform: rotate(180deg);
}

.tm-job-perks__body {
  padding: 0 1.5rem 0.95rem 0;
}

.tm-job-perks__body p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.7;
  color: #5c6773;
}

.tm-job-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.tm-job-modal[hidden] {
  display: none;
}

.tm-job-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(12, 22, 32, 0.55);
}

.tm-job-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(44rem, 100%);
  max-height: min(92vh, 860px);
  overflow: auto;
  padding: 1.6rem 1.6rem 1.55rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.tm-job-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #8a939c;
  cursor: pointer;
}

.tm-job-modal__close:hover,
.tm-job-modal__close:focus-visible {
  background: #f3f5f7;
  color: var(--color-text-primary);
  outline: none;
}

.tm-job-modal__close-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.tm-job-modal__title {
  margin: 0 2.5rem 1.35rem 0;
  font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.tm-job-modal__hint {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #5c6773;
}

.tm-job-cf7 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tm-job-cf7 .wpcf7-form > p,
.tm-job-cf7 p {
  margin: 0;
}

.tm-job-cf7 .wpcf7-form-control-wrap {
  display: block;
  width: fit-content;
}

.tm-job-cf7__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem 1.1rem;
}

.tm-job-cf7__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.tm-job-cf7__field--full {
  width: 100%;
}

.tm-job-cf7__label {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text-primary);
}

.tm-job-cf7__req {
  color: #e11d48;
  font-weight: 700;
}

.tm-job-cf7 input[type="text"],
.tm-job-cf7 input[type="email"],
.tm-job-cf7 input[type="tel"],
.tm-job-cf7 input[type="url"],
.tm-job-cf7 textarea,
.tm-job-cf7 select {
  width: 100%;
  box-sizing: border-box;
  min-height: 2.85rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid #d7dee5;
  border-radius: 10px;
  background: #fff;
  color: var(--color-text-primary);
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.4;
  transition:
    border-color var(--motion-duration-instant) var(--motion-easing-standard),
    box-shadow var(--motion-duration-instant) var(--motion-easing-standard);
}

.tm-job-cf7 input::placeholder,
.tm-job-cf7 textarea::placeholder {
  color: #9aa3ad;
}

.tm-job-cf7 input:focus,
.tm-job-cf7 textarea:focus,
.tm-job-cf7 select:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(0, 98, 165, 0.12);
}

.tm-job-cf7__drop {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 10.5rem;
  padding: 1.35rem 1.25rem;
  border: 1.5px dashed #c9d3dc;
  border-radius: 12px;
  background: #f7f9fb;
  cursor: pointer;
  transition:
    border-color var(--motion-duration-instant) var(--motion-easing-standard),
    background var(--motion-duration-instant) var(--motion-easing-standard);
}

.tm-job-cf7__drop.is-dragover,
.tm-job-cf7__drop:hover {
  border-color: var(--color-brand);
  background: #f0f7fc;
}

.tm-job-cf7__drop.has-file {
  border-style: solid;
  border-color: var(--color-brand);
  background: #f3f9fd;
}

.tm-job-cf7__drop-ui {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  pointer-events: none;
  max-width: 28rem;
}

.tm-job-cf7__drop-icon {
  display: inline-flex;
  color: var(--color-brand);
  margin-bottom: 0.15rem;
}

.tm-job-cf7__drop-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #4a5560;
}

.tm-job-cf7__browse {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-brand);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  pointer-events: auto;
}

.tm-job-cf7__drop-meta {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #8a939c;
}

.tm-job-cf7__drop-file {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-brand-dark);
}

.tm-job-cf7__drop .wpcf7-form-control-wrap,
.tm-job-cf7__drop input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.tm-job-cf7__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #4a5560;
}

.tm-job-cf7__consent .wpcf7-acceptance,
.tm-job-cf7__consent .wpcf7-list-item {
  margin: 0;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.tm-job-cf7__consent .wpcf7-list-item-label {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #4a5560;
}

.tm-job-cf7__consent input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.15rem 0 0;
  flex-shrink: 0;
  accent-color: var(--color-brand);
}

.tm-job-cf7__actions {
  display: flex;
  justify-content: center;
  padding-top: 0.25rem;
}

.tm-job-cf7__submit,
.tm-job-cf7 input.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  min-width: min(100%, 16rem);
  padding: 0.75rem 1.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--color-brand);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 98, 165, 0.22);
  transition:
    background var(--motion-duration-instant) var(--motion-easing-standard),
    transform var(--motion-duration-instant) var(--motion-easing-standard);
}

.tm-job-cf7__submit:hover,
.tm-job-cf7 input.wpcf7-submit:hover {
  background: var(--color-brand-dark);
  color: #fff;
  transform: translateY(-1px);
}

.tm-job-cf7 .wpcf7-not-valid-tip {
  margin-top: 0.3rem;
  font-size: 0.8rem;
}

.tm-job-cf7 .wpcf7-response-output {
  margin: 0.5rem 0 0;
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

body.tm-job-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .tm-job-modal__dialog {
    padding: 1.25rem 1.1rem 1.2rem;
  }

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

  .tm-job-cf7__submit,
  .tm-job-cf7 input.wpcf7-submit {
    width: 100%;
  }
}

/* ——— Request CF7 (rounded backup form) ——— */
.tm-request-cf7 {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-sizing: border-box;
  background: #fff;
  color: var(--color-text-primary);
}

.tm-request-cf7 .wpcf7-form > p,
.tm-request-cf7 p {
  margin: 0;
}

.tm-request-cf7 .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.tm-request-cf7__title {
  margin: 0 0 0.35rem;
  text-align: center;
  font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--color-brand);
}

.tm-request-cf7__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.tm-request-cf7__row--full {
  grid-template-columns: 1fr;
}

.tm-request-cf7__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.tm-request-cf7__label {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: #2f3a45;
}

.tm-request-cf7__req {
  color: #d64545;
  font-weight: 700;
}

.tm-request-cf7 input[type="text"],
.tm-request-cf7 input[type="email"],
.tm-request-cf7 input[type="tel"],
.tm-request-cf7 input[type="url"],
.tm-request-cf7 textarea,
.tm-request-cf7 select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 2.85rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid #d5dde5;
  border-radius: 999px;
  background: #fff !important;
  color: var(--color-text-primary);
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.4;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
  transition:
    border-color var(--motion-duration-instant) var(--motion-easing-standard),
    box-shadow var(--motion-duration-instant) var(--motion-easing-standard);
}

.tm-request-cf7 textarea {
  min-height: 7.5rem;
  border-radius: 1.35rem;
  resize: vertical;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.tm-request-cf7 select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235c6773' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 0.7rem auto !important;
  padding-right: 2.25rem;
  cursor: pointer;
}

.tm-request-cf7 input::placeholder,
.tm-request-cf7 textarea::placeholder {
  color: #9aa3ad;
  opacity: 1;
}

.tm-request-cf7 input:focus,
.tm-request-cf7 textarea:focus,
.tm-request-cf7 select:focus,
.tm-request-cf7 input:focus-visible,
.tm-request-cf7 textarea:focus-visible,
.tm-request-cf7 select:focus-visible {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(0, 98, 165, 0.12) !important;
}

.tm-request-cf7__phone {
  display: grid;
  grid-template-columns: minmax(6.5rem, 7.75rem) minmax(0, 1fr);
  gap: 0.55rem;
  align-items: stretch;
}

.tm-request-cf7__phone .wpcf7-form-control-wrap {
  min-width: 0;
}

.tm-request-cf7__phone select,
.tm-request-cf7__country {
  padding-left: 0.85rem;
  padding-right: 1.85rem;
  background-position: right 0.7rem center !important;
}

.tm-request-cf7__services {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.25rem;
}

.tm-request-cf7__services-title {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
  color: #2f3a45;
}

.tm-request-cf7__services .wpcf7-checkbox,
.tm-request-cf7__services .wpcf7-list-item {
  display: block;
  margin: 0 0 0.55rem;
}

.tm-request-cf7__services .wpcf7-list-item:last-child {
  margin-bottom: 0;
}

.tm-request-cf7__services .wpcf7-list-item label {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #3d444c;
  cursor: pointer;
}

.tm-request-cf7__services input[type="checkbox"],
.tm-request-cf7__consent input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.15rem 0 0;
  flex-shrink: 0;
  accent-color: var(--color-brand);
  cursor: pointer;
}

.tm-request-cf7__privacy {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 0.35rem;
}

.tm-request-cf7__privacy-intro,
.tm-request-cf7__disclaimer {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #5c6773;
}

.tm-request-cf7__consent {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #3d444c;
}

.tm-request-cf7__consent .wpcf7-acceptance,
.tm-request-cf7__consent .wpcf7-list-item {
  display: block;
  margin: 0;
}

.tm-request-cf7__consent .wpcf7-list-item label {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.55rem;
  cursor: pointer;
}

.tm-request-cf7__link {
  color: var(--color-brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tm-request-cf7__link:hover {
  color: var(--color-brand-dark);
}

.tm-request-cf7__actions {
  padding-top: 0.25rem;
}

.tm-request-cf7__submit,
.tm-request-cf7 input.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--color-brand);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 98, 165, 0.22);
  transition:
    background-color var(--motion-duration-instant) var(--motion-easing-standard),
    transform var(--motion-duration-instant) var(--motion-easing-standard);
}

.tm-request-cf7__submit:hover,
.tm-request-cf7 input.wpcf7-submit:hover {
  background: var(--color-brand-dark);
  transform: translateY(-1px);
}

.tm-request-cf7__submit:focus-visible,
.tm-request-cf7 input.wpcf7-submit:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
}

.tm-request-cf7 .wpcf7-not-valid-tip {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #d64545;
}

.tm-request-cf7 .wpcf7-response-output {
  margin: 0.35rem 0 0;
  padding: 0.7rem 0.85rem;
  border-radius: 0.85rem;
  font-size: 0.9rem;
}

@media (max-width: 700px) {
  .tm-request-cf7 {
    padding-left: 0;
    padding-right: 0;
  }

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

  .tm-request-cf7__phone {
    grid-template-columns: minmax(6.25rem, 7.25rem) minmax(0, 1fr);
  }

  .tm-request-cf7__submit,
  .tm-request-cf7 input.wpcf7-submit {
    width: 100%;
  }
}

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

@media (max-width: 900px) {
  .tm-jobs-filters {
    grid-template-columns: 1fr 1fr;
  }

  .tm-jobs-filters__submit {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .tm-jobs-filters {
    grid-template-columns: 1fr;
  }

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

  .tm-job__btn {
    width: 100%;
  }
}

/* ——— Labor service hero ——— */
.tm-labor-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  min-height: clamp(26rem, 52vw, 70vh);
  background: var(--color-brand);
  overflow: hidden;
}

.tm-labor-hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.75rem, 4vw, 3.25rem) 0 clamp(2rem, 4vw, 3.5rem) var(--section);
  padding-right: clamp(1.25rem, 3vw, 2.5rem);
  color: #fff;
}

.tm-labor-hero__crumb {
  margin: 0 0 1.15rem;
}

.tm-labor-hero__crumb .tm-crumb__list,
.tm-labor-hero__crumb .tm-crumb__item a,
.tm-labor-hero__crumb .tm-crumb__item span {
  color: rgba(255, 255, 255, 0.78);
}

.tm-labor-hero__crumb .tm-crumb__item + .tm-crumb__item::before {
  color: rgba(255, 255, 255, 0.45);
}

.tm-labor-hero__crumb .tm-crumb__item a:hover {
  color: #fff;
}

.tm-labor-hero__crumb .tm-crumb__item.is-current span {
  color: #fff;
  font-weight: 600;
}

.tm-labor-hero__heading {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}

.tm-labor-hero__desc {
  margin: 0 0 1.35rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.tm-labor-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.tm-labor-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem 0.4rem 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}

.tm-labor-hero__pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.tm-labor-hero__icon {
  width: 0.92rem;
  height: 0.92rem;
}

.tm-labor-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.tm-labor-hero__btn {
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-size: 0.92rem;
}

.tm-labor-hero__btn--primary {
  background: #fff;
  color: var(--color-brand);
  border-color: #fff;
}

.tm-labor-hero__btn--primary:hover {
  background: #f3f7fb;
  color: var(--color-brand-dark);
}

.tm-labor-hero__btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}

.tm-labor-hero__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.tm-labor-hero__media {
  position: relative;
  min-height: 100%;
}

.tm-labor-hero__media::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 -1px;
  width: 22%;
  background: var(--color-brand);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
}

.tm-labor-hero__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tm-labor-hero__media.is-empty {
  background:
    linear-gradient(160deg, rgba(0, 0, 0, 0.12), transparent 55%),
    var(--color-brand-dark);
}

@media (max-width: 900px) {
  .tm-labor-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .tm-labor-hero__copy {
    padding: 1.75rem var(--section) 2rem;
  }

  .tm-labor-hero__media {
    min-height: 14rem;
    order: -1;
  }

  .tm-labor-hero__media::before {
    width: 100%;
    height: 18%;
    inset: auto 0 0 0;
    clip-path: polygon(0 100%, 0 0, 100% 100%);
  }
}

/* ——— Labor intro ——— */
.tm-labor-intro {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0;
  background:
    radial-gradient(ellipse 70% 60% at 8% 20%, rgba(0, 98, 165, 0.06), transparent 55%),
    #fff;
  overflow: hidden;
}

.tm-labor-intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(2rem, 4.5vw, 4.25rem);
  align-items: center;
}

.tm-labor-intro__visual {
  position: relative;
  padding: 0.35rem 1.65rem 1.85rem 0.15rem;
}

.tm-labor-intro__glow {
  position: absolute;
  z-index: 0;
  inset: 12% -5% -10% 18%;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(0, 98, 165, 0.16), rgba(0, 98, 165, 0.04));
  transform: rotate(4deg);
}

.tm-labor-intro__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #e8eef4;
  aspect-ratio: 4 / 3;
  box-shadow: 0 18px 48px rgba(16, 38, 58, 0.12);
}

.tm-labor-intro__figure--empty {
  background:
    linear-gradient(145deg, #cfe0ee 0%, #eef4f8 48%, #d5e3ee 100%);
}

.tm-labor-intro__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tm-labor-intro__stat {
  position: absolute;
  right: 0;
  bottom: 0.15rem;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: min(15.5rem, 58%);
  padding: 0.95rem 1.05rem 1.05rem;
  border: 1px solid rgba(0, 98, 165, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 36px rgba(16, 38, 58, 0.14);
  backdrop-filter: blur(8px);
}

.tm-labor-intro__stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 12px;
  background: rgba(0, 98, 165, 0.1);
  color: var(--color-brand);
}

.tm-labor-intro__stat-svg {
  width: 1.25rem;
  height: 1.25rem;
}

.tm-labor-intro__stat-copy {
  min-width: 0;
}

.tm-labor-intro__stat-number {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-brand);
}

.tm-labor-intro__stat-label {
  margin: 0.28rem 0 0;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
  color: #5c6773;
}

.tm-labor-intro__copy {
  min-width: 0;
}

.tm-labor-intro__heading {
  margin: 0 0 1.25rem;
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.025em;
  color: var(--color-text-primary);
}

.tm-labor-intro__heading::after {
  content: "";
  display: block;
  width: 3.75rem;
  height: 4px;
  margin-top: 0.9rem;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--color-brand), rgba(0, 98, 165, 0.25));
}

.tm-labor-intro__highlight {
  position: relative;
  margin: 0 0 1.35rem;
  padding: 1.15rem 1.25rem 1.15rem 1.35rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #eaf4fb 0%, #f4f9fc 100%);
  box-shadow: inset 4px 0 0 var(--color-brand);
}

.tm-labor-intro__highlight p {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.75;
  color: #24303a;
}

.tm-labor-intro__highlight strong {
  font-weight: 700;
  color: var(--color-brand);
}

.tm-labor-intro__body {
  color: #4a5560;
}

.tm-labor-intro__body p {
  margin: 0 0 1rem;
  font-size: 0.97rem;
  line-height: 1.8;
}

.tm-labor-intro__body p:last-child {
  margin-bottom: 0;
}

.tm-labor-intro__cta-wrap {
  margin-top: 1.65rem;
}

.tm-labor-intro__cta {
  border-radius: 999px;
  min-height: 48px;
  padding: 0.78rem 1.55rem;
  box-shadow: 0 8px 20px rgba(0, 98, 165, 0.22);
}

.tm-labor-intro__cta:hover {
  box-shadow: 0 10px 24px rgba(0, 98, 165, 0.28);
}

@media (max-width: 900px) {
  .tm-labor-intro__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tm-labor-intro__visual {
    padding: 0 0.9rem 1.5rem 0;
    max-width: 36rem;
  }

  .tm-labor-intro__figure {
    aspect-ratio: 16 / 10;
  }

  .tm-labor-intro__stat {
    width: min(14.5rem, 70%);
  }
}

/* ——— Labor benefits ——— */
.tm-labor-benefits {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 98, 165, 0.07), transparent 58%),
    #f3f7fb;
  overflow: hidden;
}

.tm-labor-benefits__header {
  margin: 0 auto 2.35rem;
  text-align: center;
}

.tm-labor-benefits__heading {
  margin: 0 0 0.8rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.025em;
  color: var(--color-text-primary);
}

.tm-labor-benefits__heading::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 4px;
  margin: 0.85rem auto 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--color-brand), rgba(0, 98, 165, 0.2));
}

.tm-labor-benefits__subtitle {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: #5c6773;
}

.tm-labor-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.tm-labor-benefits__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.55rem 1.45rem 1.6rem;
  border: 1px solid rgba(0, 98, 165, 0.06);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 38, 58, 0.05);
  transition:
    transform var(--motion-duration-instant) var(--motion-easing-standard),
    box-shadow var(--motion-duration-instant) var(--motion-easing-standard),
    border-color var(--motion-duration-instant) var(--motion-easing-standard);
}

.tm-labor-benefits__card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 98, 165, 0.16);
  box-shadow: 0 16px 36px rgba(16, 38, 58, 0.1);
}

.tm-labor-benefits__card.is-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 1.25rem;
  align-items: start;
  padding: 1.7rem 1.75rem 1.75rem;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, var(--color-brand), rgba(0, 98, 165, 0.15)) border-box;
  border: 1px solid transparent;
  border-top: 4px solid var(--color-brand);
  box-shadow: 0 14px 36px rgba(0, 98, 165, 0.08);
}

.tm-labor-benefits__card.is-featured .tm-labor-benefits__icon {
  width: 3.15rem;
  height: 3.15rem;
  margin-bottom: 0;
  border-radius: 14px;
}

.tm-labor-benefits__card.is-featured .tm-labor-benefits__svg {
  width: 1.45rem;
  height: 1.45rem;
}

.tm-labor-benefits__card.is-featured .tm-labor-benefits__title {
  font-size: 1.2rem;
}

.tm-labor-benefits__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.95rem;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(0, 98, 165, 0.14), rgba(0, 98, 165, 0.07));
  color: var(--color-brand);
}

.tm-labor-benefits__svg {
  width: 1.3rem;
  height: 1.3rem;
}

.tm-labor-benefits__title {
  margin: 0 0 0.5rem;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text-primary);
}

.tm-labor-benefits__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: #5c6773;
}

@media (max-width: 900px) {
  .tm-labor-benefits__grid {
    grid-template-columns: 1fr;
  }

  .tm-labor-benefits__card.is-featured {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .tm-labor-benefits__card.is-featured .tm-labor-benefits__icon {
    margin-bottom: 0.85rem;
  }
}

/* ——— Labor why choose us ——— */
.tm-labor-why {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0;
  background:
    radial-gradient(ellipse 55% 70% at 92% 18%, rgba(0, 98, 165, 0.05), transparent 58%),
    #fff;
  overflow: hidden;
}

.tm-labor-why__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  grid-template-areas:
    "visual header"
    "visual list";
  column-gap: clamp(2rem, 4.5vw, 4rem);
  row-gap: 1.15rem;
  align-items: start;
}

.tm-labor-why__visual {
  position: relative;
  grid-area: visual;
  align-self: stretch;
  padding: 0.35rem 0.35rem 0.35rem 0;
}

.tm-labor-why__glow {
  position: absolute;
  z-index: 0;
  inset: 10% 8% -8% -6%;
  border-radius: 28px;
  background: linear-gradient(200deg, rgba(0, 98, 165, 0.16), rgba(0, 98, 165, 0.04));
  transform: rotate(-3.5deg);
}

.tm-labor-why__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  height: 100%;
  min-height: 32rem;
  overflow: hidden;
  border-radius: 20px;
  background: #e8eef4;
  box-shadow: 0 20px 48px rgba(16, 38, 58, 0.12);
}

.tm-labor-why__figure--empty {
  background:
    linear-gradient(160deg, #cfe0ee 0%, #eef4f8 50%, #d5e3ee 100%);
}

.tm-labor-why__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tm-labor-why__shade {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(0, 62, 105, 0.28));
  pointer-events: none;
}

.tm-labor-why__header {
  grid-area: header;
  padding-bottom: 0.25rem;
}

.tm-labor-why__heading {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--color-text-primary);
}

.tm-labor-why__heading::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 4px;
  margin-top: 0.85rem;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--color-brand), rgba(0, 98, 165, 0.2));
}

.tm-labor-why__intro {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: #5c6773;
}

.tm-labor-why__list {
  position: relative;
  grid-area: list;
  margin: 0;
  padding: 0.15rem 0 0;
  list-style: none;
}

.tm-labor-why__item {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 0.85rem;
  padding: 1.05rem 0 1.1rem;
  border-bottom: 1px solid #e8eef3;
  transition: background-color var(--motion-duration-instant) var(--motion-easing-standard);
}

.tm-labor-why__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.tm-labor-why__item.is-first .tm-labor-why__title {
  color: var(--color-brand-dark);
}

.tm-labor-why__item:hover .tm-labor-why__title {
  color: var(--color-brand);
}

.tm-labor-why__num {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #c5d9ea;
}

.tm-labor-why__title {
  margin: 0 0 0.28rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text-primary);
}

.tm-labor-why__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: #5c6773;
}

@media (max-width: 900px) {
  .tm-labor-why__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "visual"
      "list";
    gap: 1.5rem;
  }

  .tm-labor-why__visual {
    padding: 0 0.75rem 0.5rem 0;
    max-width: 36rem;
  }

  .tm-labor-why__figure {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

/* ——— Labor process ——— */
.tm-labor-process {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(0, 98, 165, 0.08), transparent 60%),
    #f4f8fb;
  overflow: hidden;
}

.tm-labor-process__header {
  margin: 0 auto 2.75rem;
  text-align: center;
}

.tm-labor-process__eyebrow {
  display: inline-block;
  margin: 0 0 0.9rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(0, 98, 165, 0.1);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand);
}

.tm-labor-process__heading {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.025em;
  color: var(--color-text-primary);
}

.tm-labor-process__heading::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 4px;
  margin: 0.95rem auto 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--color-brand), rgba(0, 98, 165, 0.2));
}

.tm-labor-process__steps {
  --tm-process-count: 5;
  display: grid;
  grid-template-columns: repeat(var(--tm-process-count), minmax(0, 1fr));
  gap: 1.35rem 1.1rem;
  margin: 0;
  padding: 0.35rem 0 0;
  list-style: none;
  position: relative;
}

.tm-labor-process__steps::before {
  content: "";
  position: absolute;
  top: 1.7rem;
  left: calc(100% / var(--tm-process-count) / 2);
  right: calc(100% / var(--tm-process-count) / 2);
  height: 3px;
  background: linear-gradient(90deg, rgba(0, 98, 165, 0.25), var(--color-brand), rgba(0, 98, 165, 0.25));
  pointer-events: none;
}

.tm-labor-process__step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 0.15rem;
}

.tm-labor-process__marker {
  --tm-marker: 3.4rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--tm-marker);
  height: var(--tm-marker);
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #1a7ab8 0%, var(--color-brand) 55%, var(--color-brand-dark) 100%);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
  box-shadow:
    0 0 0 6px #f4f8fb,
    0 0 0 8px rgba(0, 98, 165, 0.18),
    0 10px 22px rgba(0, 98, 165, 0.28);
  animation: tm-labor-marker-in 0.55s var(--motion-easing-standard) both;
  transition:
    transform var(--motion-duration-instant) var(--motion-easing-standard),
    box-shadow var(--motion-duration-instant) var(--motion-easing-standard);
}

.tm-labor-process__marker::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(0, 98, 165, 0.28);
  animation: tm-labor-marker-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

.tm-labor-process__step:nth-child(1) .tm-labor-process__marker { animation-delay: 0.05s; }
.tm-labor-process__step:nth-child(2) .tm-labor-process__marker { animation-delay: 0.14s; }
.tm-labor-process__step:nth-child(3) .tm-labor-process__marker { animation-delay: 0.23s; }
.tm-labor-process__step:nth-child(4) .tm-labor-process__marker { animation-delay: 0.32s; }
.tm-labor-process__step:nth-child(5) .tm-labor-process__marker { animation-delay: 0.41s; }
.tm-labor-process__step:nth-child(6) .tm-labor-process__marker { animation-delay: 0.5s; }

.tm-labor-process__step:nth-child(1) .tm-labor-process__marker::after { animation-delay: 0s; }
.tm-labor-process__step:nth-child(2) .tm-labor-process__marker::after { animation-delay: 0.35s; }
.tm-labor-process__step:nth-child(3) .tm-labor-process__marker::after { animation-delay: 0.7s; }
.tm-labor-process__step:nth-child(4) .tm-labor-process__marker::after { animation-delay: 1.05s; }
.tm-labor-process__step:nth-child(5) .tm-labor-process__marker::after { animation-delay: 1.4s; }
.tm-labor-process__step:nth-child(6) .tm-labor-process__marker::after { animation-delay: 1.75s; }

.tm-labor-process__step:hover .tm-labor-process__marker {
  transform: scale(1.1);
  box-shadow:
    0 0 0 7px #f4f8fb,
    0 0 0 10px rgba(0, 98, 165, 0.22),
    0 14px 28px rgba(0, 98, 165, 0.35);
}

@keyframes tm-labor-marker-in {
  from {
    opacity: 0;
    transform: scale(0.55);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes tm-labor-marker-pulse {
  0% {
    opacity: 0.7;
    transform: scale(0.92);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tm-labor-process__marker,
  .tm-labor-process__marker::after {
    animation: none;
  }
}

.tm-labor-process__title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text-primary);
}

.tm-labor-process__step:hover .tm-labor-process__title {
  color: var(--color-brand);
}

.tm-labor-process__text {
  margin: 0 auto;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #5c6773;
}

.tm-labor-process__body {
  padding: 0 0.35rem;
}

@media (max-width: 900px) {
  .tm-labor-process__steps {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 0.35rem;
  }

  .tm-labor-process__steps::before {
    top: 1.7rem;
    bottom: 1.7rem;
    left: calc(0.35rem + 1.7rem);
    right: auto;
    width: 3px;
    height: auto;
  }

  .tm-labor-process__step {
    display: grid;
    grid-template-columns: 3.4rem minmax(0, 1fr);
    column-gap: 1rem;
    align-items: start;
    text-align: left;
    padding: 0 0 1.35rem;
  }

  .tm-labor-process__step:last-child {
    padding-bottom: 0;
  }

  .tm-labor-process__marker {
    margin: 0;
    grid-row: 1 / span 2;
  }

  .tm-labor-process__body {
    padding: 0.15rem 0 0;
  }

  .tm-labor-process__text {
    margin: 0;
  }
}

/* ——— Labor licenses ——— */
.tm-labor-licenses {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: #fff;
}

.tm-labor-licenses__header {
  margin: 0 auto 2.65rem;
  text-align: center;
}

.tm-labor-licenses__eyebrow {
  display: inline-block;
  margin: 0 0 0.9rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(0, 98, 165, 0.1);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand);
}

.tm-labor-licenses__heading {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.025em;
  color: var(--color-text-primary);
}

.tm-labor-licenses__heading::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 4px;
  margin: 0.95rem auto 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--color-brand), rgba(0, 98, 165, 0.2));
}

.tm-labor-licenses__desc {
  margin: 1rem 0 0;
  font-size: 0.98rem;
  line-height: 1.75;
  color: #5c6773;
}

.tm-labor-licenses__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tm-labor-licenses__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.tm-labor-licenses__doc {
  display: block;
  width: 100%;
  max-width: 13.5rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: none;
  cursor: default;
}

.tm-labor-licenses__doc.is-zoomable,
a.tm-labor-licenses__doc {
  cursor: pointer;
}

.tm-labor-licenses__doc.is-zoomable:focus-visible,
a.tm-labor-licenses__doc:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 4px;
}

.tm-labor-licenses__frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px 4px 6px 6px;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 12px 28px rgba(16, 38, 58, 0.1);
  transition:
    transform var(--motion-duration-instant) var(--motion-easing-standard),
    box-shadow var(--motion-duration-instant) var(--motion-easing-standard);
}

.tm-labor-licenses__frame::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  height: 5px;
  background: linear-gradient(90deg, var(--color-brand), #3d8ec4);
  pointer-events: none;
}

.tm-labor-licenses__frame.is-empty {
  background: #f7fafc;
}

.tm-labor-licenses__frame.is-empty::after {
  content: "";
  position: absolute;
  inset: 1.85rem 1.35rem 1.35rem;
  border: 1px dashed #c5d4e0;
  border-radius: 2px;
  pointer-events: none;
}

.tm-labor-licenses__doc.is-zoomable:hover .tm-labor-licenses__frame,
.tm-labor-licenses__doc.is-zoomable:focus-visible .tm-labor-licenses__frame,
a.tm-labor-licenses__doc:hover .tm-labor-licenses__frame {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(0, 98, 165, 0.16);
}

.tm-labor-licenses__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--motion-duration-fast) var(--motion-easing-standard);
}

.tm-labor-licenses__doc.is-zoomable:hover .tm-labor-licenses__img {
  transform: scale(1.035);
}

.tm-labor-licenses__peek {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(0, 62, 105, 0.48);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.tm-labor-licenses__peek-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.tm-labor-licenses__doc.is-zoomable:hover .tm-labor-licenses__peek,
.tm-labor-licenses__doc.is-zoomable:focus-visible .tm-labor-licenses__peek {
  opacity: 1;
}

@media (hover: none) {
  .tm-labor-licenses__doc.is-zoomable .tm-labor-licenses__peek {
    opacity: 1;
    background: linear-gradient(180deg, transparent 42%, rgba(0, 62, 105, 0.72));
    justify-content: flex-end;
    padding-bottom: 1rem;
  }
}

.tm-labor-licenses__item:hover .tm-labor-licenses__caption,
.tm-labor-licenses__item:focus-within .tm-labor-licenses__caption {
  color: var(--color-brand);
}

.tm-labor-licenses__caption {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text-primary);
  transition: color var(--motion-duration-instant) var(--motion-easing-standard);
}

.tm-labor-licenses__file {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-brand);
  text-decoration: none;
}

.tm-labor-licenses__file:hover {
  text-decoration: underline;
}

.tm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.tm-lightbox[hidden] {
  display: none;
}

.tm-lightbox__scrim {
  position: absolute;
  inset: 0;
  background: rgba(12, 22, 32, 0.62);
}

.tm-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  width: min(920px, 100%);
  max-height: min(90vh, 880px);
  padding: 2.4rem 1.1rem 1.25rem;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
}

.tm-lightbox__figure {
  margin: 0;
  min-width: 0;
  text-align: center;
}

.tm-lightbox__img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(72vh, 720px);
  margin: 0 auto;
  object-fit: contain;
}

.tm-lightbox__caption {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.tm-lightbox__close,
.tm-lightbox__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: #f3f4f5;
  color: #1d2327;
  cursor: pointer;
}

.tm-lightbox__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
}

.tm-lightbox__nav {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  flex-shrink: 0;
}

.tm-lightbox__close:hover,
.tm-lightbox__nav:hover,
.tm-lightbox__close:focus-visible,
.tm-lightbox__nav:focus-visible {
  background: #e8f2fa;
  color: var(--color-brand);
  outline: none;
}

.tm-lightbox.is-single .tm-lightbox__nav {
  visibility: hidden;
}

.tm-lightbox__icon {
  width: 1.15rem;
  height: 1.15rem;
}

body.tm-lightbox-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .tm-lightbox__dialog {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "figure figure"
      "prev next";
    padding: 2.6rem 0.85rem 0.95rem;
  }

  .tm-lightbox__figure {
    grid-area: figure;
  }

  .tm-lightbox__nav--prev {
    grid-area: prev;
    justify-self: start;
  }

  .tm-lightbox__nav--next {
    grid-area: next;
    justify-self: end;
  }
}

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

@media (max-width: 600px) {
  .tm-labor-licenses__grid {
    grid-template-columns: 1fr;
    max-width: 20rem;
    margin-inline: auto;
  }
}

/* ——— Labor win–win ——— */
.tm-labor-win {
  position: relative;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, #f3f8fc 0%, #eef5fa 48%, #f7fafc 100%);
}

.tm-labor-win__blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tm-labor-win__blobs::before,
.tm-labor-win__blobs::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.tm-labor-win__blobs::before {
  width: min(28rem, 70vw);
  height: min(28rem, 70vw);
  left: -12%;
  top: 18%;
  background: radial-gradient(circle, rgba(0, 98, 165, 0.16) 0%, rgba(0, 98, 165, 0.04) 55%, transparent 70%);
}

.tm-labor-win__blobs::after {
  width: min(26rem, 64vw);
  height: min(26rem, 64vw);
  right: -10%;
  bottom: 4%;
  background: radial-gradient(circle, rgba(0, 98, 165, 0.14) 0%, rgba(0, 98, 165, 0.03) 55%, transparent 70%);
}

.tm-labor-win .tm-container {
  position: relative;
  z-index: 1;
}

.tm-labor-win__header {
  margin: 0 auto 2.75rem;
  text-align: center;
}

.tm-labor-win__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.7rem;
  margin: 0 0 1.15rem;
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
}

.tm-labor-win__prefix {
  display: inline-block;
}

.tm-labor-win__wins {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.4rem;
}

.tm-labor-win__win {
  display: inline-flex;
  align-items: center;
  padding: 0.12em 0.48em 0.16em;
  border-radius: 10px;
  background: rgba(0, 98, 165, 0.1);
  color: var(--color-brand);
  letter-spacing: 0.02em;
}

.tm-labor-win__dash {
  font-weight: 700;
  color: rgba(0, 98, 165, 0.35);
}

.tm-labor-win__trio {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 1.15rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7a88;
}

.tm-labor-win__trio li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.tm-labor-win__trio li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-brand);
  box-shadow: 0 0 0 4px rgba(0, 98, 165, 0.12);
}

.tm-labor-win__switch {
  display: inline-flex;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 10px 28px rgba(16, 38, 58, 0.06);
}

.tm-labor-win__tab {
  margin: 0;
  min-width: 9.5rem;
  padding: 0.72rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  color: #5c6773;
  cursor: pointer;
  transition:
    background var(--motion-duration-instant) var(--motion-easing-standard),
    color var(--motion-duration-instant) var(--motion-easing-standard),
    box-shadow var(--motion-duration-instant) var(--motion-easing-standard);
}

.tm-labor-win__tab[aria-selected="true"] {
  background: var(--color-brand);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 98, 165, 0.28);
}

.tm-labor-win__tab:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
}

.tm-labor-win__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 5vw, 4.25rem);
  align-items: center;
  animation: tm-labor-win-in 0.38s var(--motion-easing-standard);
}

.tm-labor-win__panel[hidden] {
  display: none;
}

@keyframes tm-labor-win-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.tm-labor-win__kicker {
  margin: 0 0 0.95rem;
  font-size: clamp(1.35rem, 2.3vw, 1.7rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.025em;
  color: var(--color-text-primary);
}

.tm-labor-win__kicker::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 4px;
  margin-top: 0.85rem;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--color-brand), rgba(0, 98, 165, 0.15));
}

.tm-labor-win__intro {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.85;
  color: #53606c;
}

.tm-labor-win__voice {
  position: relative;
  margin: 0;
  padding: 0.35rem 0 0.15rem 0.15rem;
}

.tm-labor-win__quote {
  position: relative;
  margin: 0;
  padding: 0 0 0 0.15rem;
}

.tm-labor-win__mark {
  display: block;
  margin: 0 0 0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.25rem;
  font-weight: 700;
  line-height: 0.55;
  color: rgba(0, 98, 165, 0.22);
}

.tm-labor-win__quote p {
  margin: 0;
  font-size: 1.08rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.8;
  color: #24313c;
}

.tm-labor-win__who {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-top: 1.45rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(0, 98, 165, 0.12);
}

.tm-labor-win__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3.15rem;
  height: 3.15rem;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(160deg, #1a7ab8, var(--color-brand));
  box-shadow: 0 0 0 4px rgba(0, 98, 165, 0.12);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
}

.tm-labor-win__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tm-labor-win__meta {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
}

.tm-labor-win__name {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--color-text-primary);
}

.tm-labor-win__role {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #6b7784;
}

@media (max-width: 800px) {
  .tm-labor-win__panel {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: start;
  }

  .tm-labor-win__tab {
    min-width: 0;
    padding: 0.68rem 1.05rem;
  }

  .tm-labor-win__mark {
    font-size: 3.4rem;
  }
}

/* ——— Recruit service hero ——— */
.tm-recruit-hero {
  position: relative;
  padding: clamp(2.75rem, 5.5vw, 4.25rem) 0 0;
  background: #f7f9fb;
  overflow: hidden;
}

.tm-recruit-hero__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 55% at 12% 18%, rgba(0, 98, 165, 0.07), transparent 62%),
    radial-gradient(ellipse 42% 48% at 88% 30%, rgba(0, 98, 165, 0.05), transparent 60%);
}

.tm-recruit-hero .tm-container {
  position: relative;
  z-index: 1;
}

.tm-recruit-hero__main {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  padding-bottom: clamp(2.25rem, 4.5vw, 3.25rem);
}

.tm-recruit-hero__eyebrow {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(0, 98, 165, 0.1);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand);
}

.tm-recruit-hero__heading {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--color-brand-dark);
}

.tm-recruit-hero__lead {
  margin: 0 0 0.85rem;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--color-brand-dark);
}

.tm-recruit-hero__desc {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.75;
  color: #5c6773;
}

.tm-recruit-hero__actions {
  margin-top: 1.55rem;
}

.tm-recruit-hero__cta {
  display: inline-flex;
  min-height: 48px;
  padding: 0.78rem 1.55rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 98, 165, 0.24);
}

.tm-recruit-hero__cta:hover {
  box-shadow: 0 12px 28px rgba(0, 98, 165, 0.3);
}

.tm-recruit-hero__visual {
  position: relative;
  min-height: 18rem;
}

.tm-recruit-hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.tm-recruit-hero__orb--a {
  width: min(18rem, 70%);
  height: min(18rem, 70%);
  top: 6%;
  right: 4%;
  background: radial-gradient(circle, rgba(0, 98, 165, 0.14), transparent 68%);
}

.tm-recruit-hero__orb--b {
  width: min(14rem, 55%);
  height: min(14rem, 55%);
  left: 2%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(0, 98, 165, 0.1), transparent 70%);
}

.tm-recruit-hero__media {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #e8eef4;
  aspect-ratio: 5 / 4;
  box-shadow: 0 22px 48px rgba(16, 38, 58, 0.12);
}

.tm-recruit-hero__media.is-empty {
  background: linear-gradient(145deg, #cfe0ee 0%, #eef4f8 48%, #d5e3ee 100%);
}

.tm-recruit-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tm-recruit-hero__logos {
  position: relative;
  z-index: 1;
  padding: 1.55rem 0;
  background: #fff;
  border-top: 1px solid rgba(0, 98, 165, 0.06);
}

.tm-recruit-hero__marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.tm-recruit-hero__logo-track {
  display: flex;
  width: max-content;
  align-items: center;
  will-change: transform;
  backface-visibility: hidden;
}

.tm-recruit-hero__logo-list {
  display: flex;
  flex-shrink: 0;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0 3.25rem;
  margin: 0;
  padding: 0 1.625rem;
  list-style: none;
}

.tm-recruit-hero__logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 3.75rem;
}

.tm-recruit-hero__logo {
  display: block;
  width: auto;
  max-width: 11rem;
  max-height: 3.5rem;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.72);
  transition:
    filter var(--motion-duration-instant) var(--motion-easing-standard),
    opacity var(--motion-duration-instant) var(--motion-easing-standard);
}

.tm-recruit-hero__logo-item:hover .tm-recruit-hero__logo {
  filter: grayscale(0) opacity(1);
}

@media (max-width: 900px) {
  .tm-recruit-hero__main {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .tm-recruit-hero__media {
    max-width: 28rem;
    margin-inline: auto;
  }

  .tm-recruit-hero__logo-list {
    gap: 0 2.5rem;
    padding: 0 1.25rem;
  }

  .tm-recruit-hero__logo {
    max-width: 9.5rem;
    max-height: 3rem;
  }

  .tm-recruit-hero__logo-item {
    min-height: 3.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tm-recruit-hero__marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }
}


/* ——— Type system sync (semantic roles) ———
 * H1 = page hero
 * H2 = section title
 * H3 = rare large subsection only
 * H5 = card / step / item title
 * H5 muted / H6 = subtitle
 * body 16 = description / paragraph
 */
.tm-hero__heading,
.tm-cskh-hero__heading,
.tm-labor-hero__heading,
.tm-recruit-hero__heading,
.tm-page-hero__title,
.tm-about-welcome__title,
.tm-news-hero__title,
.tm-single__title,
.tm-entry__title,
.tm-payroll-hero__heading {
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
}

.tm-section__title,
.tm-about__title,
.tm-impressive__title,
.tm-testimonials__title,
.tm-services__title,
.tm-process__title,
.tm-lead__title,
.tm-team__title,
.tm-offices__title,
.tm-cskh-intro__title,
.tm-cskh-stats__title,
.tm-cskh-faq__title,
.tm-cskh-reviews__title,
.tm-cskh-partners__title,
.tm-cskh-contact__title,
.tm-contact-panel__title,
.tm-about-stats__heading,
.tm-about-partners__heading,
.tm-about-profile__company,
.tm-news-cta__title,
.tm-related__title,
.tm-jobs-list__title,
.tm-jobs-why__title,
.tm-job-perks__title,
.tm-labor-intro__heading,
.tm-labor-benefits__heading,
.tm-labor-why__heading,
.tm-labor-process__heading,
.tm-labor-licenses__heading,
.tm-labor-win__heading,
.tm-news-hl__title,
.tm-news-list__title,
.tm-recruit-challenges__heading,
.tm-recruit-values__heading,
.tm-recruit-offerings__heading,
.tm-recruit-diff__heading,
.tm-recruit-solutions__heading,
.tm-about__diffs-title,
.tm-payroll-services__intro-heading,
.tm-payroll-services__heading,
.tm-payroll-why__heading,
.tm-payroll-stats__heading,
.tm-payroll-faq__heading {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
}

/* About subsections (mission / values / vision) */
.tm-about-purpose__heading {
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
  color: var(--color-brand-dark);
}

/* Card / step / item titles — H5 (~20px), not H3 */
.tm-service-card__title,
.tm-process__heading,
.tm-process__step-title,
.tm-diff-card__title,
.tm-impressive__card-title,
.tm-cskh-item__title,
.tm-cskh-benefit__title,
.tm-contact-channel__title,
.tm-office-location__title,
.tm-office-card__label,
.tm-cskh-contact__why-title,
.tm-cskh-contact__form-title,
.tm-jobs-why__card-title,
.tm-job__title,
.tm-job-card__title,
.tm-job-company__name,
.tm-job-modal__title,
.tm-labor-benefits__title,
.tm-labor-why__title,
.tm-labor-process__title,
.tm-news-item__title,
.tm-post-card__title,
.tm-about-partners__label,
.tm-about__diff-card-title,
.tm-widget__title,
.tm-recruit-challenges__title,
.tm-recruit-values__title,
.tm-recruit-offerings__title,
.tm-mega-menu__title,
.tm-about-purpose__value-title,
.tm-payroll-services__title,
.tm-payroll-why__title,
.tm-payroll-why__banner-heading {
  font-size: var(--fs-h5);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.tm-office-location__title {
  font-size: var(--fs-h5);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-brand);
}

.tm-recruit-diff__title {
  font-size: var(--fs-h5);
  font-weight: 700;
  line-height: 1.3;
}

.tm-contact-panel__card-title {
  font-size: var(--fs-h6);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

/* Hero lead */
.tm-hero__lead,
.tm-cskh-hero__lead,
.tm-labor-hero__lead,
.tm-recruit-hero__lead,
.tm-page-hero__lead,
.tm-about-welcome__lead {
  font-size: var(--fs-h5);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

/* Section subtitles */
.tm-section__desc,
.tm-testimonials__subtitle,
.tm-cskh-reviews__subtitle,
.tm-cskh-contact__subtitle,
.tm-contact-panel__subtitle,
.tm-about-welcome__subtitle,
.tm-news-hero__subtitle,
.tm-labor-benefits__subtitle,
.tm-impressive__desc,
.tm-jobs-why__desc,
.tm-labor-licenses__desc,
.tm-page-hero__desc,
.tm-offices__desc,
.tm-offices__desc p,
.tm-recruit-values__subtitle,
.tm-recruit-offerings__subtitle,
.tm-recruit-diff__subtitle,
.tm-recruit-solutions__subtitle {
  font-size: var(--fs-h5);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--color-text-muted);
}

.tm-page-hero__desc,
.tm-testimonials__subtitle {
  color: rgba(255, 255, 255, 0.9);
}

/* Body / description copy */
.tm-recruit-hero__desc,
.tm-labor-hero__desc,
.tm-cskh-hero__desc,
.tm-hero__desc,
.tm-payroll-hero__desc,
.tm-office-card__address,
.tm-office-location__address,
.tm-contact-channel__text,
.tm-contact-channel__text p,
.tm-process__step-desc,
.tm-service-card__desc,
.tm-impressive__card-text,
.tm-about__diff-desc,
.tm-about__point-text,
.tm-recruit-challenges__text,
.tm-recruit-offerings__text,
.tm-recruit-solutions__text,
.tm-recruit-values__text,
.entry-content p,
.tm-prose p,
.tm-single__content p {
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
}

.tm-office-card__address,
.tm-office-location__address,
.tm-contact-channel__text,
.tm-contact-channel__text p,
.tm-process__step-desc,
.tm-service-card__desc,
.tm-impressive__card-text,
.tm-recruit-challenges__text,
.tm-recruit-offerings__text,
.tm-recruit-solutions__text,
.tm-recruit-values__text,
.tm-section__desc,
.tm-impressive__desc {
  color: var(--color-text-muted);
}

/* Light text on dark / gradient sections */
.tm-testimonials__subtitle,
.tm-about__point-text,
.tm-about__points li,
.tm-about__diff-desc,
.tm-payroll-hero__desc {
  color: rgba(255, 255, 255, 0.92);
}

.tm-about-partners__heading,
.tm-about-partners__label {
  color: #fff;
}

.tm-about-welcome__subtitle,
.tm-about-profile__copy,
.tm-about-profile__copy p,
.tm-about-profile__facts li,
.tm-about-profile__fact-value,
.tm-about-stats__label,
.tm-about-purpose__text,
.tm-about-purpose__value-text,
.tm-about-purpose__stat-label {
  color: var(--color-text-muted);
}

.entry-content h1,
.tm-prose h1,
.tm-single__content h1 {
  font-size: var(--fs-h1);
}

.entry-content h2,
.tm-prose h2,
.tm-single__content h2 {
  font-size: var(--fs-h2);
}

.entry-content h3,
.tm-prose h3,
.tm-single__content h3 {
  font-size: var(--fs-h3);
}

.entry-content h4,
.tm-prose h4,
.tm-single__content h4 {
  font-size: var(--fs-h4);
}

.entry-content h5,
.tm-prose h5,
.tm-single__content h5 {
  font-size: var(--fs-h5);
}

.entry-content h6,
.tm-prose h6,
.tm-single__content h6 {
  font-size: var(--fs-h6);
}

/* Keep card/title variants on the same scale (higher specificity) */
.tm-labor-benefits__card.is-featured .tm-labor-benefits__title {
  font-size: var(--fs-h3);
}

.tm-labor-why__item.is-first .tm-labor-why__title {
  font-size: var(--fs-h5);
  color: var(--color-brand-dark);
}

.tm-labor-why__item:hover .tm-labor-why__title {
  color: var(--color-brand);
}

.tm-services__title-text,
.tm-services__title-hl,
.tm-team__title-text,
.tm-team__title-hl,
.tm-offices__title-text,
.tm-offices__title-hl {
  font-size: inherit;
}

/* ——— Recruit challenges ——— */
.tm-recruit-challenges {
  padding: clamp(2.75rem, 5vw, 4.5rem) 0;
  background: #fff;
}

.tm-recruit-challenges__header {
  margin: 0 auto clamp(1.75rem, 3.5vw, 2.75rem);
  text-align: center;
}

.tm-recruit-challenges__heading {
  margin: 0;
  color: var(--color-brand-dark);
  text-wrap: balance;
}

.tm-recruit-challenges__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tm-recruit-challenges__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  min-height: 100%;
  margin: 0;
  padding: 1.55rem 1.45rem 1.65rem;
  border-radius: 14px;
  background: #f4f7fa;
  transition:
    transform var(--motion-duration-fast) var(--motion-easing-standard),
    box-shadow var(--motion-duration-fast) var(--motion-easing-standard);
}

.tm-recruit-challenges__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(16, 38, 58, 0.08);
}

.tm-recruit-challenges__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e11d2e;
}

.tm-recruit-challenges__svg {
  width: 1.55rem;
  height: 1.55rem;
}

.tm-recruit-challenges__title {
  margin: 0;
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.tm-recruit-challenges__text {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: #5c6773;
}

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

@media (max-width: 600px) {
  .tm-recruit-challenges__grid {
    grid-template-columns: 1fr;
  }

  .tm-recruit-challenges__card {
    padding: 1.35rem 1.25rem 1.45rem;
  }
}

.tm-recruit-challenges__heading {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
}

/* ——— Recruit values grid ——— */
.tm-recruit-values {
  padding: clamp(2.75rem, 5vw, 4.5rem) 0;
  background: #fff;
}

.tm-recruit-values__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
}

.tm-recruit-values__heading {
  margin: 0;
  color: var(--color-brand-dark);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
}

.tm-recruit-values__subtitle {
  margin: 0;
  text-align: right;
  color: var(--color-brand-dark);
  font-size: var(--fs-h5);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.tm-recruit-values__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tm-recruit-values__card {
  margin: 0;
  perspective: 1200px;
}

.tm-recruit-values__flip {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 19.5rem;
  border-radius: 14px;
  transform-style: preserve-3d;
  outline: none;
  transition: transform 0.55s var(--motion-easing-standard);
}

.tm-recruit-values__card.is-flippable .tm-recruit-values__flip:hover,
.tm-recruit-values__card.is-flippable .tm-recruit-values__flip:focus-visible {
  transform: rotateY(180deg);
}

.tm-recruit-values__card.is-flippable .tm-recruit-values__flip:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 98, 165, 0.35);
}

.tm-recruit-values__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 1.25rem 1.45rem;
  border-radius: 14px;
  background: #eef3fb;
  text-align: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.tm-recruit-values__face--front {
  justify-content: flex-end;
}

.tm-recruit-values__face--back {
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(165deg, #e8f0fa 0%, #eef3fb 55%, #e3ebf6 100%);
  transform: rotateY(180deg);
}

.tm-recruit-values__media {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  width: 100%;
  max-width: 11.5rem;
  margin: 0;
  min-height: 0;
}

.tm-recruit-values__media.is-empty {
  border-radius: 12px;
  background: linear-gradient(145deg, #d7e4f4 0%, #eef3fb 55%, #dce7f5 100%);
  aspect-ratio: 1 / 1;
  width: min(100%, 11.5rem);
}

.tm-recruit-values__img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 11.5rem;
  object-fit: contain;
  object-position: center;
}

.tm-recruit-values__title {
  margin: 0;
  flex-shrink: 0;
  font-size: var(--fs-h5);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-brand-dark);
}

.tm-recruit-values__text {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: #5c6773;
}

@media (prefers-reduced-motion: reduce) {
  .tm-recruit-values__flip {
    transition: none;
  }

  .tm-recruit-values__card.is-flippable .tm-recruit-values__flip:hover,
  .tm-recruit-values__card.is-flippable .tm-recruit-values__flip:focus-visible {
    transform: none;
  }

  .tm-recruit-values__card.is-flippable .tm-recruit-values__face--front {
    opacity: 1;
  }

  .tm-recruit-values__card.is-flippable .tm-recruit-values__face--back {
    position: static;
    transform: none;
    margin-top: 0.75rem;
    min-height: 0;
    padding: 0 0.25rem;
    background: transparent;
  }

  .tm-recruit-values__card.is-flippable .tm-recruit-values__flip {
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.25rem 1.45rem;
    background: #eef3fb;
    border-radius: 14px;
  }

  .tm-recruit-values__card.is-flippable .tm-recruit-values__face--front {
    position: static;
    padding: 0;
    background: transparent;
  }
}

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

  .tm-recruit-values__subtitle {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .tm-recruit-values__grid {
    grid-template-columns: 1fr;
  }

  .tm-recruit-values__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .tm-recruit-values__flip {
    min-height: 18rem;
  }
}

/* ——— Recruit offerings ——— */
.tm-recruit-offerings {
  position: relative;
  padding: clamp(2.75rem, 5vw, 4.5rem) 0;
  background: #fff;
  overflow: hidden;
}

.tm-recruit-offerings__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 55% at 0% 45%, rgba(0, 98, 165, 0.07), transparent 62%),
    radial-gradient(ellipse 42% 55% at 100% 55%, rgba(0, 98, 165, 0.06), transparent 62%);
}

.tm-recruit-offerings .tm-container {
  position: relative;
  z-index: 1;
}

.tm-recruit-offerings__header {
  margin: 0 auto clamp(1.75rem, 3.5vw, 2.75rem);
  text-align: center;
}

.tm-recruit-offerings__heading {
  margin: 0 0 0.55rem;
  color: var(--color-brand-dark);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.tm-recruit-offerings__subtitle {
  margin: 0;
  color: #5c6773;
  font-size: var(--fs-h5);
  font-weight: 500;
  line-height: 1.45;
}

.tm-recruit-offerings__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tm-recruit-offerings__card {
  display: flex;
  align-items: flex-start;
  gap: 1rem 1.15rem;
  min-height: 100%;
  margin: 0;
  padding: 1.45rem 1.4rem 1.55rem;
  border-radius: 14px;
  background: #f0f4fa;
  transition:
    transform var(--motion-duration-fast) var(--motion-easing-standard),
    box-shadow var(--motion-duration-fast) var(--motion-easing-standard);
}

.tm-recruit-offerings__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(16, 38, 58, 0.08);
}

.tm-recruit-offerings__icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 12px;
  background: rgba(0, 98, 165, 0.1);
  color: var(--color-brand-dark);
}

.tm-recruit-offerings__svg {
  width: 1.45rem;
  height: 1.45rem;
}

.tm-recruit-offerings__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.tm-recruit-offerings__title {
  margin: 0;
  font-size: var(--fs-h5);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-brand-dark);
}

.tm-recruit-offerings__text {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: #5c6773;
}

@media (max-width: 720px) {
  .tm-recruit-offerings__grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Recruit differentiators (photo bento) ——— */
.tm-recruit-diff {
  padding: clamp(2.75rem, 5vw, 4.5rem) 0;
  background: #fff;
}

.tm-recruit-diff__header {
  margin: 0 auto clamp(1.75rem, 3.5vw, 2.75rem);
  text-align: center;
}

.tm-recruit-diff__heading {
  margin: 0 0 0.55rem;
  color: var(--color-brand-dark);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.tm-recruit-diff__subtitle {
  margin: 0;
  color: #5c6773;
  font-size: var(--fs-h5);
  font-weight: 500;
  line-height: 1.45;
}

.tm-recruit-diff__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.05rem 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tm-recruit-diff__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  grid-column: span 2;
  min-height: 17.5rem;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #0f2f4a;
  isolation: isolate;
}

.tm-recruit-diff__card.is-wide {
  grid-column: span 3;
  min-height: 18.5rem;
}

.tm-recruit-diff__card.is-empty {
  background: linear-gradient(155deg, #1a4a72 0%, #0f2f4a 55%, #0a2236 100%);
}

.tm-recruit-diff__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s var(--motion-easing-standard);
}

.tm-recruit-diff__card:hover .tm-recruit-diff__bg {
  transform: scale(1.04);
}

.tm-recruit-diff__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 62, 110, 0.18) 0%,
    rgba(0, 62, 110, 0.42) 42%,
    rgba(0, 48, 84, 0.92) 100%
  );
}

.tm-recruit-diff__badge {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 999px;
  background: #fff;
  color: var(--color-brand);
  box-shadow: 0 6px 16px rgba(8, 24, 40, 0.18);
}

.tm-recruit-diff__svg {
  width: 1.2rem;
  height: 1.2rem;
}

.tm-recruit-diff__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.35rem 1.3rem 1.4rem;
}

.tm-recruit-diff__title {
  margin: 0;
  font-size: var(--fs-h5);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #fff;
}

.tm-recruit-diff__text {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

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

  .tm-recruit-diff__card,
  .tm-recruit-diff__card.is-wide {
    grid-column: span 1;
    min-height: 16.5rem;
  }
}

@media (max-width: 600px) {
  .tm-recruit-diff__grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Recruit solutions (audience cards) ——— */
.tm-recruit-solutions {
  padding: clamp(2.75rem, 5vw, 4.5rem) 0;
  background: #fff;
}

.tm-recruit-solutions .tm-container {
  width: min(100% - var(--space-6), calc(var(--tm-container) * 0.76));
}

.tm-recruit-solutions__header {
  margin: 0 auto clamp(1.75rem, 3.5vw, 2.75rem);
  text-align: center;
}

.tm-recruit-solutions__heading {
  margin: 0;
  color: var(--color-brand-dark);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.tm-recruit-solutions__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.05rem 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tm-recruit-solutions__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  grid-column: span 2;
  min-height: 100%;
  margin: 0;
  padding: 1.35rem 1.3rem 1.45rem;
  border: 1px solid #e6ebf0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 38, 58, 0.05);
  transition:
    transform var(--motion-duration-fast) var(--motion-easing-standard),
    box-shadow var(--motion-duration-fast) var(--motion-easing-standard);
}

.tm-recruit-solutions__card.is-wide {
  grid-column: span 3;
}

.tm-recruit-solutions__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(16, 38, 58, 0.09);
}

.tm-recruit-solutions__pill {
  display: inline-flex;
  margin: 0;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: var(--fs-h6);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-brand-dark);
  background: #d7e8f6;
}

.tm-recruit-solutions__card.is-accent-blue .tm-recruit-solutions__pill {
  background: #d7e8f6;
  color: #0b4f7a;
}

.tm-recruit-solutions__card.is-accent-green .tm-recruit-solutions__pill {
  background: #dff3e4;
  color: #1f6b3a;
}

.tm-recruit-solutions__card.is-accent-pink .tm-recruit-solutions__pill {
  background: #f8e0e8;
  color: #8a2f4e;
}

.tm-recruit-solutions__card.is-accent-cyan .tm-recruit-solutions__pill {
  background: #d7f1f4;
  color: #0d6a73;
}

.tm-recruit-solutions__card.is-accent-purple .tm-recruit-solutions__pill {
  background: #e8e0f5;
  color: #5a3d8a;
}

.tm-recruit-solutions__text {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: #5c6773;
}

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

  .tm-recruit-solutions__card,
  .tm-recruit-solutions__card.is-wide {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  .tm-recruit-solutions__grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Payroll service: diagonal hero ——— */

/* Keyframes */
@keyframes tm-payroll-panel-in {
  from { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
  to   { clip-path: polygon(0 0, 61% 0, 47% 100%, 0 100%); }
}

@keyframes tm-payroll-stripe-in {
  from { opacity: 0; transform: skewX(-14deg) translateX(-3.5rem); }
  to   { opacity: 0.85; transform: skewX(-14deg) translateX(0); }
}

@keyframes tm-payroll-photo-in {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes tm-payroll-text-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes tm-payroll-person-in {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tm-payroll-hero {
  --tm-payroll-panel: var(--color-brand);
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--color-brand-deeper);
}

.tm-payroll-hero__stage {
  position: relative;
  min-height: clamp(28rem, 58vw, 36rem);
  isolation: isolate;
}

.tm-payroll-hero__panel {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 70% at 12% 90%, rgba(255, 255, 255, 0.1), transparent 55%),
    linear-gradient(155deg, #0b6ab0 0%, var(--color-brand) 45%, var(--color-brand-deeper) 100%);
  clip-path: polygon(0 0, 61% 0, 47% 100%, 0 100%);
  animation: tm-payroll-panel-in 0.75s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.tm-payroll-hero__panel::after {
  content: "";
  position: absolute;
  top: -8%;
  bottom: -8%;
  left: 52.5%;
  width: 2.4rem;
  background: linear-gradient(180deg, #9ec9e8 0%, #7eb4db 100%);
  opacity: 0.85;
  transform: skewX(-14deg);
  pointer-events: none;
  animation: tm-payroll-stripe-in 0.55s cubic-bezier(0.4, 0, 0.2, 1) 0.65s both;
}

.tm-payroll-hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #cfdce8;
  background-image: var(--tm-payroll-hero-bg, none);
  background-size: cover;
  background-position: 70% center;
  clip-path: polygon(59% 0, 100% 0, 100% 100%, 45% 100%);
  animation: tm-payroll-photo-in 0.85s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.tm-payroll-hero:not(.has-bg) .tm-payroll-hero__photo {
  background-image:
    radial-gradient(ellipse 55% 45% at 72% 35%, rgba(255, 255, 255, 0.4), transparent 65%),
    linear-gradient(145deg, #bccfde 0%, #e7eef4 48%, #a8bdcf 100%);
}

.tm-payroll-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  min-height: clamp(28rem, 58vw, 36rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  box-sizing: border-box;
}

.tm-payroll-hero__copy {
  padding-right: clamp(0.5rem, 2vw, 1.5rem);
}

.tm-payroll-hero__heading {
  margin: 0;
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
  animation: tm-payroll-text-in 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.35s both;
}

.tm-payroll-hero__desc {
  margin: 1.05rem 0 0;
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  animation: tm-payroll-text-in 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

.tm-payroll-hero__actions {
  margin-top: 1.55rem;
  animation: tm-payroll-text-in 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.65s both;
}

.tm-payroll-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: 0;
  background: #fff;
  color: #c2410c;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 40, 80, 0.18);
  transition:
    background var(--motion-duration-instant) var(--motion-easing-standard),
    color var(--motion-duration-instant) var(--motion-easing-standard),
    transform var(--motion-duration-instant) var(--motion-easing-standard);
}

.tm-payroll-hero__cta:hover,
.tm-payroll-hero__cta:focus-visible {
  background: #fff7ed;
  color: #9a3412;
  transform: translateY(-1px);
}

.tm-payroll-hero__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: end;
  height: 100%;
  min-height: clamp(22rem, 48vw, 34rem);
  pointer-events: none;
}

.tm-payroll-hero__person {
  margin: 0;
  width: min(100%, 29rem);
  line-height: 0;
}

.tm-payroll-hero__person-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(34rem, 80vh);
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 16px 26px rgba(0, 40, 80, 0.2));
  animation: tm-payroll-person-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

@media (prefers-reduced-motion: reduce) {
  .tm-payroll-hero__panel,
  .tm-payroll-hero__panel::after,
  .tm-payroll-hero__photo,
  .tm-payroll-hero__heading,
  .tm-payroll-hero__desc,
  .tm-payroll-hero__actions,
  .tm-payroll-hero__person-img {
    animation: none;
  }
}

@media (max-width: 960px) {
  .tm-payroll-hero {
    background:
      radial-gradient(ellipse 55% 70% at 12% 90%, rgba(255, 255, 255, 0.1), transparent 55%),
      linear-gradient(155deg, #0b6ab0 0%, var(--color-brand) 45%, var(--color-brand-deeper) 100%);
  }

  .tm-payroll-hero__stage {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .tm-payroll-hero__panel {
    display: none;
  }

  .tm-payroll-hero__photo {
    position: relative;
    inset: auto;
    z-index: 0;
    flex: 0 0 auto;
    min-height: clamp(12rem, 40vw, 17rem);
    clip-path: none;
    background-position: center;
  }

  .tm-payroll-hero__inner {
    display: flex;
    flex-direction: column;
    min-height: 0;
    gap: 0.35rem;
    padding-block: 2.25rem 0;
  }

  .tm-payroll-hero__copy {
    padding-right: 0;
  }

  .tm-payroll-hero__visual {
    min-height: 0;
    justify-content: center;
  }

  .tm-payroll-hero__person {
    width: min(100%, 18.5rem);
    margin-inline: auto;
  }

  .tm-payroll-hero__person-img {
    max-height: 20rem;
  }
}

@media (max-width: 600px) {
  .tm-payroll-hero__cta {
    width: 100%;
  }
}

/* ——— Payroll services (pain + cards) ——— */
.tm-payroll-services {
  padding: clamp(3rem, 6vw, 4.75rem) 0;
  background: #f5f7f9;
}

.tm-payroll-services__intro {
  margin: 0 auto 3rem;
  text-align: center;
}

.tm-payroll-services__intro-heading {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  text-wrap: balance;
}

.tm-payroll-services__intro-text {
  margin: 1rem auto 0;
}

.tm-payroll-services__intro-text p {
  margin: 0;
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.tm-payroll-services__intro-text p + p {
  margin-top: 0.85rem;
}

.tm-payroll-services__block {
  max-width: 72rem;
  margin: 0 auto;
}

.tm-payroll-services__heading {
  margin: 0 0 1.75rem;
  text-align: center;
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  text-wrap: balance;
}

.tm-payroll-services__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  align-items: stretch;
}

.tm-payroll-services__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 38, 58, 0.07);
  transition:
    transform var(--motion-duration-fast) var(--motion-easing-standard),
    box-shadow var(--motion-duration-fast) var(--motion-easing-standard);
}

.tm-payroll-services__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(16, 38, 58, 0.11);
}

.tm-payroll-services__media {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8eef3;
}

.tm-payroll-services__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tm-payroll-services__body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
  padding: 1.25rem 1.35rem 1.45rem;
}

.tm-payroll-services__title {
  margin: 0;
  text-align: center;
  font-size: var(--fs-h5);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
}

.tm-payroll-services__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.tm-payroll-services__list li {
  position: relative;
  padding-left: 1rem;
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--color-text-muted);
}

.tm-payroll-services__list li::before {
  content: "–";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-brand);
  font-weight: 700;
}

@media (max-width: 960px) {
  .tm-payroll-services__grid {
    grid-template-columns: 1fr;
    max-width: 26rem;
    margin-inline: auto;
  }

  .tm-payroll-services__intro {
    margin-bottom: 2.25rem;
  }
}

@media (min-width: 641px) and (max-width: 960px) {
  .tm-payroll-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .tm-payroll-services__card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 26rem;
    justify-self: center;
    width: 100%;
  }
}

/* ——— Payroll why-choose + CTA banner ——— */
.tm-payroll-why {
  --tm-payroll-accent: #e85d04;
  --tm-payroll-accent-strong: #c2410c;
  padding: clamp(3rem, 6vw, 4.75rem) 0;
  background: #f5f7f9;
}

.tm-payroll-why__heading {
  margin: 0 auto 1.85rem;
  text-align: center;
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  text-wrap: balance;
}

.tm-payroll-why__grid {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}

.tm-payroll-why__card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
  padding: 1.35rem 1.3rem 1.4rem;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(16, 38, 58, 0.06);
  transition:
    transform var(--motion-duration-fast) var(--motion-easing-standard),
    box-shadow var(--motion-duration-fast) var(--motion-easing-standard);
}

.tm-payroll-why__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(16, 38, 58, 0.1);
}

.tm-payroll-why__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  margin-bottom: 0.15rem;
  border-radius: 999px;
  background: var(--tm-payroll-accent);
  color: #fff;
  flex-shrink: 0;
}

.tm-payroll-why__svg {
  width: 0.95rem;
  height: 0.95rem;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tm-payroll-why__title {
  margin: 0;
  font-size: var(--fs-h5);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
}

.tm-payroll-why__text {
  margin: 0;
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.tm-payroll-why__banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem 2rem;
  margin-top: 0.35rem;
  padding: 1.55rem 1.75rem;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(ellipse 50% 80% at 95% 20%, rgba(255, 255, 255, 0.14), transparent 55%),
    linear-gradient(105deg, var(--color-brand-deeper) 0%, var(--color-brand) 48%, #1a7ec0 100%);
  box-shadow: 0 14px 32px rgba(0, 70, 120, 0.18);
}

.tm-payroll-why__banner-copy {
  min-width: 0;
}

.tm-payroll-why__badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.7rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 40, 80, 0.35);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}

.tm-payroll-why__banner-heading {
  margin: 0;
  font-size: clamp(1.15rem, 0.9rem + 1vw, 1.45rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: #fff;
}

.tm-payroll-why__banner-text {
  margin: 0.55rem 0 0;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.tm-payroll-why__banner-action {
  flex-shrink: 0;
}

.tm-payroll-why__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.45rem;
  border-radius: 999px;
  background: var(--tm-payroll-accent);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(194, 65, 12, 0.28);
  transition:
    background var(--motion-duration-instant) var(--motion-easing-standard),
    transform var(--motion-duration-instant) var(--motion-easing-standard);
}

.tm-payroll-why__cta:hover,
.tm-payroll-why__cta:focus-visible {
  background: var(--tm-payroll-accent-strong);
  color: #fff;
  transform: translateY(-1px);
}

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

  .tm-payroll-why__banner {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    padding: 1.35rem 1.35rem 1.4rem;
  }

  .tm-payroll-why__banner-action {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .tm-payroll-why__grid {
    grid-template-columns: 1fr;
  }

  .tm-payroll-why__cta {
    width: 100%;
  }

  .tm-payroll-why__banner-action {
    width: 100%;
  }
}

/* ——— Payroll stats banner ——— */
.tm-payroll-stats {
  padding: clamp(1.5rem, 4vw, 2.75rem) 0 clamp(2rem, 4vw, 3rem);
  background: #f5f7f9;
}

.tm-payroll-stats__panel {
  padding: clamp(2rem, 4.5vw, 3rem) clamp(1.25rem, 3vw, 2.25rem);
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(ellipse 55% 70% at 10% 0%, rgba(255, 255, 255, 0.12), transparent 50%),
    linear-gradient(145deg, var(--color-brand-deeper) 0%, var(--color-brand) 55%, #0a6fb8 100%);
  box-shadow: 0 18px 40px rgba(0, 70, 120, 0.18);
}

.tm-payroll-stats__head {
  margin: 0 auto 1.75rem;
  text-align: center;
}

.tm-payroll-stats__heading {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}

.tm-payroll-stats__text {
  margin: 0.85rem 0 0;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.tm-payroll-stats__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.tm-payroll-stats__card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
  padding: 1rem 0.85rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  text-align: center;
  backdrop-filter: blur(2px);
}

.tm-payroll-stats__value {
  margin: 0;
  font-size: clamp(1.55rem, 1.1rem + 1.4vw, 2.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}

.tm-payroll-stats__label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 1100px) {
  .tm-payroll-stats__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

@media (max-width: 420px) {
  .tm-payroll-stats__grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Payroll FAQ ——— */
.tm-payroll-faq {
  padding: clamp(2.75rem, 5.5vw, 4.25rem) 0;
  background: #fff;
}

.tm-payroll-faq__heading {
  margin: 0 auto 1.75rem;
  text-align: center;
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  text-wrap: balance;
}

.tm-payroll-faq__list {
  margin: 0 auto;
  border-top: 1px solid #e6ebf0;
}

.tm-payroll-faq__item {
  border-bottom: 1px solid #e6ebf0;
}

.tm-payroll-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: 1.2rem 0.15rem;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1rem, 0.92rem + 0.4vw, 1.12rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-text-primary);
}

.tm-payroll-faq__question::-webkit-details-marker {
  display: none;
}

.tm-payroll-faq__question::marker {
  content: "";
}

.tm-payroll-faq__question:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 4px;
}

.tm-payroll-faq__q {
  flex: 1 1 auto;
}

.tm-payroll-faq__icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--color-brand);
}

.tm-payroll-faq__chevron {
  width: 1.15rem;
  height: 1.15rem;
  transition: transform var(--motion-duration-fast) var(--motion-easing-standard);
}

.tm-payroll-faq__item[open] .tm-payroll-faq__chevron {
  transform: rotate(180deg);
}

.tm-payroll-faq__answer {
  padding: 0 0 1.25rem;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--color-text-muted);
}

.tm-payroll-faq__answer > *:first-child {
  margin-top: 0;
}

.tm-payroll-faq__answer > *:last-child {
  margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  .tm-payroll-faq__chevron {
    transition: none;
  }
}

/* Job / labor desktop refinements (win over type-sync) */
@media (min-width: 1024px) {
  .tm-job-main__title,
  #tm-job-heading {
    font-size: 2.5rem;
  }

  .tm-related__item-title {
    font-size: 1rem;
  }

  .tm-job-actions__apply,
  .tm-job-actions__save {
    flex: 0 0 auto;
    width: fit-content;
  }

  .tm-job-main__toolbar .tm-job-actions__apply {
    width: 100%;
    flex: 1 1 auto;
  }

  .tm-labor-why__title {
    font-size: var(--fs-h5);
    color: var(--color-text-primary);
  }

  .tm-labor-why__item.is-first .tm-labor-why__title {
    font-size: var(--fs-h5);
    color: var(--color-brand-dark);
  }

  .tm-labor-why__item:hover .tm-labor-why__title {
    color: var(--color-brand);
  }
}




